Use typechecks library for checking argument types

I'm receiving this error while trying to install this project:
File "/home/raony/.virtualenvs/genes/local/lib/python2.7/site-packages/pyensembl/database.py", line 24, in
from .type_checks import require_integer, require_string
ImportError: No module named type_checks

Hey @raonyguimaraes, not sure if your comment got deleted but your problem was due to us not having the latest pyensembl on PyPI. If you try upgrading it should work now, thanks for letting me know there was an issue.


new lesson: Binary Search

⭐ Request Type
Add in-depth documentation for binary-search algorithm here
💻 Location
This lesson is present under the
Section: 5
Lesson: B
Location Order: 5B
File-Name: binarysearch.md
❌ Additional Info
You can take the help of other markdown files in the /lesson directory
This lesson must consist of at least the following topic:

introduction to the binary search algorithm
code for binary search
examples based on binary search
complexity analysis(in brief)

Hi, I would like to work on this issue.
can you suggest to me ways to get started?

@Buddhad sure you can start working on this issue, just make sure to read the contribution guideline once and you'll be good to go.
you can take help from other markdown files, present in the /lesson directory, and in the same syntax write some java content for the binarysearch.md

I'm glad to work on this issue.
Thanks for the help.

I would like to work on this issue.

@paltannistha absolutely you can, just once read our contribution guideline you'll get some idea how you get started.

@Utkarsh1504 okay thank you.

Hii, i would like to work on this issue. Please assign it to me. I will add kunal Kushwaha's notes too.

@rushikeshadhav I'll raise more issues, you can work on that, thank you!

Hey! Can I get this issue?

@AlphaVS-76 If the assigned person is not working (PR should be created within one week from the assigned day), I'll assign this to you. Till then you can work on other issues, Thank you!

@Utkarsh1504 can u please tell me the deadline to create the PR? Is it 6th October, 2021?

@paltannistha take your time, there is a lot of time, In case if you want some more time, I will extend, so don't worry.

@Utkarsh1504 okay thanks a lot.

I would like to improve it. please assign me @Utkarsh1504

Hey can i take i see there are no addition for so long i can complete it in two days .If no one is working right now on this issue.

@r4gesingh47 yes you can.


Changed to take advantage of the Maybe monad.

Simplify the operations that lift into DynQuantity by capitalizing on the Monad instance for Maybe.
Counter-proposal to #117.

This is more clever, but IMO more difficult to read/understand. And building on the Maybe monad won't benefit users since the internals are not exported. I narcissistically prefer my version as being more direct and to the point. :)

That's probably fair. At least it was a good exercise in thinking this way around, which is legitimately useful in other scenarios. You could now or later export the newtype constructor if there was a reasonable scenario for people needing to extend it, but I can't think of any off hand.
We should add an atan2 implementation though, the question is whether we should do the entire RealFloat class (breaking dimensional abstraction) or not.


Unbanned event

I noticed there's no unbanned event in the library. It doesn't look like Twitch IRC even provides that, but I wanted to check if it's possible just in case I'm missing something.

Well, there is unban information available in the library, but not through the conventional TwitchClient. What you need to do is use the PubSub client and then listen on the moderator actions topic. To do this requires a moderator's oauth token, but once listening, you an event will be raised for every timeout/tempban, ban, and unban.

Is that undocumented? I don't see it in the docs.

Gotcha, that makes sense. Awesome, I'll use that then. Thank you!
Side note: I'm happy to help write documentation if you need it.

I've been using doxygen to do it because I'm lazy.
Or wait, maybe you're referring to the topic being undocumented. What I meant by that was that Twitch hasn't documented the topic because they don't officially support it.

Oh, no, I meant the library docs, just didn't want to open a new issue for a quick mention of that. I see there are broken links and whatnot on the site.

On the doxygen docs there's broken links? Hmm, there shouldn't be.

Yeah, none of the "click here for more info" links work.

For a complete list of TwitchPubSub functionality, click here

I think this should be able to be resolved via doxygen generator, but idk. I'm still pretty new to it and it's fairly complex. If I can't figure it out, I'd be interested in taking you up on your offer, lol.


Triggering twice without refresh doesn't work

I have a subscribe/unsubscribe link that looks a little like this:
<%= link_to 'Subscribe', subscribe_deck_path(@deck), class: "subscribe_action subscribe<EMAIL_ADDRESS>? '' : 'active'}", remote: true %>
<%= link_to 'Unsubscribe', unsubscribe_deck_path(@deck), method: :delete, data: { confirm: "Are you sure?" }, class: "subscribe_action unsubscribe<EMAIL_ADDRESS>? 'active' : ''}", remote: true %>

Switching the display state of the links based on subscription status.
If I Unsubscribe once, I get the correct modal.
If I then subscribe and unsubscribe again without refreshing the page, I get the browser dialog. It's as if the event is being attached with jQuery's one() function..
I'm also using https://github.com/jschr/bootstrap-modal if that's a conflict.

I've been able to reproduce this in a rails app that doesn't use bootstrap modal. On confirm, it doesn't continue to the link provided in the href as well.

  Visible to Workgroup

any update?

Hi @kntmrkm, thanks for the heads up. I will try to give this a spin in the coming days.

#modal-content is cleared after model is dismissed, therefore there is nothing to display.

Thanks everyone involved in tracking this down. Please try the latest v1.2.0 and let me know if it works for you :-)

Moreover, please see http://jsfiddle.net/zpu4u6mh/ for an example using Rails remote links. Please let me know if there are still scenarios breaking the code expectations.


Logs of different security protocols can be adjusted when creating real-time tables.

When the security protocol of kafka is SASL_PLAINTEXT, if I use SASL_SSL to create a realtime table, the log of fetch topic timeout will appear instead of the log of incorrect security protocol.

cc @xiangfu0 @zhtaoxiang


[sdl2-image] Fix usage

Missing find_dependency in sdl2-image's cmake configure file.
Fixes #14789.

@smoked-herring  Can you please test this PR?
Thanks.

The PR fixes the issue, thanks!

Thanks @JackBoosY


Moved player list to TAB menu

Job's are now have width: 100%
Player list from q moved to tab menu
By clicking on player in list you copy id

I will hold off on this for now as it shows less than the current player list and so far feels like a change for the sake of change.
You dont have to close your PR and you can keep working on it until its a more solid foundation for us to move to.
Clicking on the players on the list is a great idea and its definitely something that we need. Though it may not be obvious to the end-user unless they already know that can be done. Perhaps some kind of a feedback once it has been copied or a dedicated separate button "Copy Steam ID" so it's more obvious.
Either way its a great start, but I dont personally believe its ready to be merged. Others may feel differently and can merge it.

Instead of this we should swap the tab menu and player list keybinds.
tab menu from [TAB] to [Q] ( with toggle )
Player list from [Q] to [TAB]
This will make more sense for a lot of peoples I think.


Treat warnings/analyzer warnings as build failure - customization

Allow users to specify whether warnings and analyzer warnings should fail the build or not. I see both sides having valid usecases, so we need to add a way to customize this.

[ ] add a simple mapping to the syncer config to customize how to treat warnings and analyzer warnings
[ ] add a way to change this in the UI

this would be super useful! 👍


[FEATURE] Create SearchExtension interface

Is your feature request related to a problem?
Extension points (see #315) will be (optionally) implemented on Extensions. Eventually these points may need to be communicated to OpenSearch to be registered in the appropriate service or module.
Allowing extensions to inherit from appropriate interfaces depending on their type will match the current Plugin implementation.
What solution would you like?
Add a new interface SearchExtension with default implementations for extension points matching SearchPlugin.java.

Hi @minalsha, Can you assign this issue to me ?
Thanks and regards
Varun

Hi @dbwiddis,
I read through the design concepts and understood most of the things. I have couple of questions to clear.

What exactly are extension points ? So far what I have observed whatever has been defined in Extension Interface are mentioned as extension points and some of them don't have to be registered with open search main node and some of them are. So are extension points are just some properties of extension ?

We have one plugin interface as well many other different types of plugin Interfaces as well, so each interfaces have extension points required for that kind of plugins to work right ? ( like EnginePlugin has getEngineFactory which is needed for providing engine factory for a given index, which is not needed for other Plugins )

So currently we are migrating from plugins to extension, as a part of this we need to create Extension Interface corresponding to Plugin Interface and other equivalent Extension interface corresponding to Plugin Interfaces. So we just need to have the same implementation as  Extension here than Plugins right ?

Thanks and regards
Varun

Hey @varuntumbe great questions.

Extension points are methods on plugin interfaces that allow plugins to implement custom behavior.  Most of these are optional, as there are default (usually empty list) return values for them.  A (nearly?) complete list of those points is in #315.

Note that we are changing the model from plugins (which run in the same JVM) to extensions (which can run on a different machine entirely) but we want to provide existing plugins the same or similar ability.
For now we just want to implement the default behavior.  There's a long ongoing effort (see #315) to convert all of them over time.

That's correct.  For example, plugins that need to handle REST requests implement the ActionPlugin interface.  During startup, the getRestHandlers() method on that interface is queried for all plugins that implement ActcionPlugin and registers those handlers with the RestController.  (See ActionModule lines 901-913.)

This may be a bad example because right now that method is implemented on the Extension interface but we will move it to the ActionExtension interface as part of #320.

That's correct.  These tasks are almost a copy-paste exercise from the plugin interface to extension interface (one reason they are good first issues!)
There are currently no test classes for the plugin implementations, and it seems reasonable not to have them; or maybe just have a single test class that tests all the extension interfaces (and verifies the empty list returns.)

Thanks @dbwiddis  for the detailed answers.
I will open a PR for this tonight.
Thanks and regards
Varun

"During startup, the getRestHandlers() method on that interface is queried for all plugins that implement ActcionPlugin and registers those handlers with the RestController"
To handle the above scenario we need to implement #319 to so that open search will have list of extensions and their implemented interfaces correct ?
Thanks and regards
Varun

"During startup, the getRestHandlers() method on that interface is queried for all plugins that implement ActcionPlugin and registers those handlers with the RestController"
To handle the above scenario we need to implement #319 to so that open search will have list of extensions and their implemented interfaces correct ?

Not quite: in this particular case we have a dedicated transport action that does the registration on initialization, completely bypassing the ActionPlugin iteration.  For most "initialization" events we don't need to know the implementation.
However there may be future cases where we use the logic of #319, when OpenSearch needs to communicate something to all initialized extensions, in which case it will be useful to filter the list and avoid unnecessary network traffic.

Got it, got it. Thanks @dbwiddis
Thanks and regards
Varun


next: unexpected non-nested multiple popovers can be open at once

Describe the bug
https://github.com/user-attachments/assets/2fcaad53-283e-4dbb-92fa-979e77cccfb0
I know exactly why this is happening. Because we supported nested popovers, dialogs, etc., that can each be portable to the body and essentially act as siblings, we close things in the order they are open if one is opened before another is closed.
We can solve this specific issue, but it breaks the nested use cases which is quite annoying. This is going to be trickier than I initially thought.
Will need to think on this one for a bit.
Core Issue

We need to determine if an "interact outside event" occurred outside of the nested tree, rather than just occurring at all.

Reproduction
https://next.shadcn-svelte.com/docs/examples/task
Logs
No response
System Info
System:
    OS: macOS 15.0
    CPU: (12) arm64 Apple M2 Max
    Memory: 138.03 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.15.1 - ~/.nvm/versions/node/v20.15.1/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v20.15.1/bin/npm
    pnpm: 9.6.0 - ~/Library/pnpm/pnpm
    bun: 1.0.25 - ~/.bun/bin/bun
  Browsers:
    Edge: 130.0.2849.46
    Safari: 18.0
  npmPackages:
    svelte: 5.0.0-next.260 => 5.0.0-next.260

Severity
annoyance

FIxed in latest @next release


Return value on intel_x32

First of all, this is a really cool project!
It looks like for architecture intel_x32 return value of shellcode is incorrect, for me it was always 0x4. For aarch64 and intel_x64 it works well.
shellcode function:
int main(){
    return 0xDEAD;
}

For loader I use a slightly modified shellcodeloader.c:
...
printf("Jumping to shellcode, address = %p \n", start_address);
void* retval = ((void* (*)(int argc, char **argv, char **envp)) start_address)(argc, argv, envp);
printf("retval %p\n", retval);
goto cleanups;
...

Is this behavior correct?

Thank you for reporting, this issue isn't the correct behavior and I fixed it in version 2.2.3 for x32 arch, this bug still exists in the mips architecture and I'll fix it in feature versions 😄

Great! I also have a suggestion regarding shellcode information. Is it possible to pass the following information to main as additional two parameters: the starting address of the shellcode and its size? At the moment, I can pass this information in 1 and 2 arguments in the main function:
long long value = ((int (*)(int argc, char **argv, char **envp)) start_address)(start_address, buff_size, envp);
But it would be great if the miniloader calculated these values itself. What do you think?

I've fixed the issue with the return value for all supported architectures.
About getting more information about the shellcode in its entry point, it is possible to pass a struct containing this  information.
But there's a feature called dynamic shellcodes, you can read more about it here: https://github.com/jonatanSh/elf_to_shellcode/blob/master/docs/dynamic.md
This feature add support for calling functions declared inside the loader, therefore getting the relocatable table containing information such as shellcode size.
It is currently only supported for mips and intel x64, but in future versions will be supported in all arches.
For example on how to use this feature you can take a look at the tests:
https://github.com/jonatanSh/elf_to_shellcode/blob/master/tests/elf_features.c


Update df-py for DF29

To find the amount of rewards to be distributed in week x, use https://github.com/oceanprotocol/vw-cli/blob/main/contracts/VestingWalletHalving.sol#L150
At the end of the week, use one of the following:

Function described above.
Balance of multisig.
Balance of multisig week end - Balance of multisig week start.

Review (tokens sent to vw) => https://github.com/oceanprotocol/vw-cli/issues/11

Additional Considerations
df-py is going to see the current week reward to be zero, and it won't be able to report it correctly. We need to review and get an e2e architecture.

get balance at beginning of week, and at end-of-week, and calculate
df-sql is running df-py continuously to generate all this data (estimated rewards)
but that dfpy instance is going to see only 100 tokens
so everyone in df-web is going to have an APY of 0%
maybe we can use the approixmate function in the vesting contract, to get the estimated amounts for the end-of-week
alex, if we want to ship this soon, let's change the script in GHA, and then we can rearchitect everything


Add a quiet configuration option

Just to keep the bot a little more quiet in certain environments, such as IRC.

Thanks, 1.0.7 of the node module released: https://www.npmjs.com/package/hubot-sentimental


Docs say converters only run on initialization, but they also affect attribute setting

As @Tinche himself remarked here. It doesn't seem to be fixed since then, so I created this issue so this isn't forgotten.
example (from the discussion thread linked above):
>>> from attrs import define, field
>>> @define
... class C:
...     x: int = field(converter=int)
...
>>> c = C("10")
>>> c
C(x=10)
>>> c.x = "20"
>>> c
C(x=20)

Wrong docs in questions here:

Please note that converters only run on initialization.

It has been fixed, but we haven’t published a new version since then, so the stable docs still contain the error.
It’s fixed in latest: https://www.attrs.org/en/latest/examples.html#conversion


User cannot request admin approval after feature is enabled

Hi,
I've enabled admin request workflow to the tenant, so users should be able to request admin consent to app.
After user is calling admin consent by openening https://login.microsoftonline.com/{tenantId}/adminconsent?client_id={application_id}&redirect_uri={redirect_uri}, where  application_is is the id of the enterprise application in my tenant, the user still can see the consent without a request from, like:
"{APPLICATION} needs permission to access resources in your organization that only an admin can grant. Please ask an admin to grant permission to this app before you can use it."
Do I need to perform some additional steps to see the admin consent request form?

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

ID: f6e93be2-bad4-bae7-91bc-d4122dad86fd
Version Independent ID: caf48884-743b-8f83-58a0-a92c3940fbba
Content: Configure the admin consent workflow - Azure Active Directory
Content Source: articles/active-directory/manage-apps/configure-admin-consent-workflow.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @msmimart
Microsoft Alias: mimart

@vbatr
Thanks for your feedback! We will investigate and update as appropriate.

Hi @vbatr,
Without getting a closer look at your environment it will be hard for me to know what could be causing this error.
Are they able to get into the application or are they blocked?
Feel free to reach out to me at<EMAIL_ADDRESS>and I can open a free support case for you. Once we have a resolution from the support case we can open this thread. I've seen a number of people reporting this error and would like to get to the bottom of whether it is an underlying product issue.
I am also reaching out to the product team to confirm if this is a known issue.

Never mind. Got a response from someone on my team. The reason why you are not getting the admin consent request form is because you are explicitly going to the adminconsent endpoint (https://login.microsoftonline.com/{tenantId}/adminconsent?). This endpoint is for admins only, not for users. Users get the consent request form when they are trying to access a resource and try to use a permission that admin has not consented for. For example, in below request Directory.ReadWrite.All permission is needed and if admin has not consented for that permission already, user will get consent request form.
https://login.microsoftonline.com/amansi.onmicrosoft.com/oauth2/v2.0/authorize?client_id=18e984d7-b4f3-4818-a5ef-5b9a396f2d18&response_type=code&redirect_uri=https://jwt.ms/&state=1234&response_mode=query&scope=https://graph.microsoft.com/Directory.ReadWrite.All

Hope this helps! If you have further questions feel free to reach out on Q&A.


Kernel nystroem approximation update with list of landmarks.

Hello everyone! Here is the code we would like to push to scikit-learn. The change we've added is that it's now possible to pass a list of landmarks to kernel_approximation.py. Any suggestions to improve the code/documentation/tests are welcome.

So, since I have a feeling that I have errors going on somewhere already in the main, I will close this PR and fork and start a new one. I'll move your comments carefully :).


Add a JSON extractor

It can be useful to accept JSON in request.
Here is a minimal implementation using serde_json_core
use serde_json_core::de::Error as JsonError;

pub struct JsonRejection(JsonError);

impl IntoResponse for JsonRejection {
    async fn write_to<W: picoserve::response::ResponseWriter>(
        self,
        response_writer: W,
    ) -> Result<picoserve::ResponseSent, W::Error> {
        (
            picoserve::response::status::BAD_REQUEST,
            format_args!("Request Body is not valid JSON: {}", self.0),
        )
            .write_to(response_writer)
            .await
    }
}

pub struct Json<T: serde::de::DeserializeOwned>(pub T);

impl<State, T: serde::de::DeserializeOwned> FromRequest<State> for Json<T> {
    type Rejection = JsonRejection;

    async fn from_request(
        _state: &State,
        request: &Request<'_>,
    ) -> Result<Json<T>, JsonRejection> {
        serde_json_core::from_slice(request.body)
            .map(|(v, _)| Self(v))
            .map_err(JsonRejection)
    }
}

Looks good! I'm waiting on https://github.com/rust-embedded-community/serde-json-core/pull/79 at the moment, but once it's merged, I'm planning on supporting parsing JSON bodies

please have a look: https://github.com/sammhicks/picoserve/pull/33/files


[FancyZones] Improve code quality (part 1)

Summary of the Pull Request
1st part of FZ refactoring. I decided to split it into several PRs, otherwise, it'd be hard to review.
Here just moved some util functions to the utils files, so they don't get in the way.

PR Checklist

[x] Closes: #23027
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[x] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Is this ready for review?

/azp run


GraphQL Handler with Resolvers Composition Transform doesn't work

Hey,
i am trying to use my graphql endpoint together with a Resolvers Composition Transform but the composer seems to be ignored/not executed.
While trying to debug this i found that it works fine for openapi endpoints, but i can't get it working for graphql.
I made an example here:
https://github.com/svenf1105/graphql-mesh-broken-example
https://codesandbox.io/s/quirky-cherry-25wxt
My goal is to modify the header of the requests which are send to my graphql endpoint from the mesh. This seems to be the best approach that i could find in the docs, but if there is a better one please let me know.
Thanks for your help!

@svenf1105 , we modify the headers sent out from the mesh to the 3rd party graphql endpoint by using a customFetch function which is executed for every outgoing query.  It works decently. Our headers are not dependent on context or session.

Available in latest versions! Could you check if it is working?

@angelsvirkov would you be willing to put that up on a gist so we can see how you leveraged that?

@angelsvirkov would you be willing to put that up on a gist so we can see how you leveraged that?

@angelsvirkov would you be willing to put that up on a gist so we can see how you leveraged that?

@shellscape , here is the gist example for customFetch . I hope that it helps you :)

@angelsvirkov would you be willing to put that up on a gist so we can see how you leveraged that?

@shellscape , here is the gist example for customFetch . I hope that it helps you :)


Consider prompting for confirmation on ecto.load mix task

Just something for discussion. The ecto.dump mix task prompts the user for confirmation under specific circumstances. Presumably as a safeguard against inadvertently dropping the production database. The ecto.load mix task is potentially equally destructive. By default the structure.sql generated by ecto.dump contains instructions to delete then create each table, effectively deleting all data if accidentally run against a populated database. Should ecto.load also prompt the user for confirmation?
I'm using ecto.dump and ecto.load on a project as a way to setup a legacy database in dev and test environments. I'm hesitant to commit structure.sql though for fear of it being executed in production. I guess another approach would be to edit structure.sql making it non-destructive and having it skip tables that already exist. I'd have to remember to make the edits again if I ever run ecto.dump again though.
Really appreciate any thoughts or suggestions.

This is a valid concern. Contributions welcome!

@brucepom :+1: can you please send a PR that does the same as ecto.drop? Thank you!

Thanks guys, I will send a PR for this...


Double close() requests with vpp backplane

Expected Behavior
Single close request for each removed alpine-nsc client
Current Behavior
Double close requests for each removed alpine-nsc client
Failure Information (for bugs)
If the NSCs are scaled in double close requests are registered where the first succeeds and the second fails (since the close() is already finished)
Steps to Reproduce
helm install nsm (with vpp backplane)
helm install icmp-responder
kubectl scale deployment alpine-nsc --replicas=1 -n default
kubectl logs icmp-responder-nse- | grep -i -C 5 "connection prefixes network"
Context

Kubernetes Version:
etc.

Failure Logs
log.txt

@johan-lj  Hello,
I tried to reproduce the problem. My steps are:
1. make helm-install-nsm
2. make helm-install-icmp-responder
3. kubectl scale deployment alpine-nsc --replicas=1 -n nsm-system

Run for each NSE
4. kubectl logs icmp-responder-nse- | grep -i -C 5 "connection prefixes network"

Actual: No errors.
My questions are:

Did I reproduce the problem correctly?
Can you attach full logs. (You need simply reproduce the problem on your side and run
STORE_POD_LOGS_IN_FILES=true sh scripts/logs_snapshot.sh

The procedure looks fine to me. I'll reproduce with full logs, maybe it has been fixed recently.
Could you try it with only a single NSE/icmp-responder?

Reproduced with the latest master today, confirmed it's not there anymore :)
Will close the ticket
Br,
Johan


PMM-1035 Fix toast slice fetching with offset

https://perconadev.atlassian.net/browse/PG-1035
PG strings regression tests failed on section when it checks how substirng func works for toasted bytea data: https://github.com/postgres/postgres/blob/master/src/test/regress/sql/strings.sql#L575-L606
It seems that reason for that was that start_offset was calculated improperly. Looks like PG_TDE_DECRYPT_DATA should get start_offset alligned by chunk size, but when we copy data to result we can and should apply sliceoffcet.

@dAdAbird Thanks for an explanation!


Gallery lags after vicious swiping

Hey all.
First off I really appreciate the effort you've put into this thing. The UI looks pretty clean and the library does function well.
One thing I did notice is when you start swiping fast, it's like the gallery can't keep up and then just stalls. It's unable to swipe anymore and I can't press on a thumb to take me to another picture.
I saw some discussion on migrating to react-native-reanimated to solve some gesture issues. Perhaps that would solve this?
I tested the same swiping on another library react-native-swiper-flatlist and theirs doesn't stall. Maybe you could look into what they did for inspiration?

@lundjrl did you found any solution?

@JcbPrn which one?

yeah, which one?

I ended up using react-native-snap-carousel

I combined react-native-awesome-gallery with react native modal. Presumably this issue is not gonna be fixed


unifiStable: 5.10.17 -> 5.10.19

Motivation for this change
Update to latest stable version.
Things done

[x] 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

[ ] 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"
[x] 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)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

/cc @erictapen as new maintainer

Hey @bachp, I'm not using unifi anymore and I don't know when it will it be the case again. Therefore I can't test your PR. Would you be interested in taking the maintainership?
also, @GrahamcOfBorg build unifiStable

Ofborg doesn't build it due to its unfree license. Anyway, LGTM.

I have it running and have observed no issues so far.
@erictapen I'm currently evaulating if running unifi via nixos is the way to go. So far it look stable. If I decide to go that route I will submit a PR replacing you as maintainer.

unfree package, build checked locally

@bacp I'm also running UniFi on NixOS, so you can also append me to maintainers.


v5.0

This PR brings Swift 5.0 support, Linux support, and many other improvements.
Refer to the CHANGELOG for further details.

          4 Messages

:book:
Thank you for submitting a pull request to SwifterSwift. The team will review your submission as soon as possible.

:book:
iOS: Executed 534 tests, with 0 failures (0 unexpected) in 10.757 (12.678) seconds

:book:
tvOS: Executed 500 tests, with 0 failures (0 unexpected) in 1.884 (2.366) seconds

:book:
macOS: Executed 364 tests, with 0 failures (0 unexpected) in 0.778 (1.084) seconds

  Generated by :no_entry_sign: Danger


implement candidate compromise proposal for websockets

Text and binary frames are accepted
Text frames are sent by default
Binary frames are sent to clients who negotiate binary.ircv3.net
Non-UTF8 data is not accepted (enabling websockets still enables UTFONLY)

Actually, this also works with the original proposal that had "consensus" (subprotocols, no interoperable baseline). So I'm just going to merge it.

Specifically, this implements 20089b17d7151 on https://github.com/ircv3/ircv3-specifications/pull/342


fix smart graph creation

SmartGraphs needs a "smartGraphAttribute" to be defined.
Additionally, this needs to be set inside the options object {options: {smartGraphAttribute: <attribute>}}.
Same for numberOfShards.

Another comment: replicationFactor and writeConcern also can be defined within the options.
Will cover that one in another PR or create a ticket :)

Another one: Also support for disjoint smart graphs can be added :)

Thanks for the contribution @hkernbach!


migrate from i2ml pr 829

 Fix typos noted by Viktor

Typos noted by Viktor that I don't think we should change will be commented below

I don't think we should correct this, we are using the command defined in latex-math as Indicator function.

Sign is the command available in latex-math. I don't think we should change it.

I don't think we should correct this, we are using the command defined in latex-math as Indicator function.

in that case I agree :+1:


Refactor error handling with OpenAIError class

Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
Improve error management by replacing the existing error handling with the OpenAIError class, ensuring better clarity and consistency in error reporting. Additionally, address an issue related to setting required actions on ThreadRunOutput.
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

API change check
APIView has identified API level changes in this PR and created following API reviews.
@azure/ai-projects


otk: add support for -Wall

otk: add support for -w all
Tiny commit to allow to shortcut warning passing by allowing to
do a -w all style that just enables all warnings.

otk: rename -w -> -W for warning control
Both gcc and python use -W to enable warnings so let's just follow
the same pattern.

Sorry, had to re-push, silly linter error


Help with formatting md frontmatter?

Hi,
I am trying to make some changes to the formatting of the text in the md files. For example, I would like to add some line breaks to the product blurbs. I am not that familiar with how all of this works, but I looked at the yaml docs and thought that I could do something like this:
text: |
We sell green and roasted coffee beans that are sourced directly from
independent farmers and farm cooperatives.
    We’re proud to offer a variety of coffee beans grown with great care for the environment and local communities.

    Check our post or contact us directly for current
    availability.

However, it appears to have no affect on how it is displayed when I go to the page.
Any suggestions?

@Paddy888 Sorry for the late reply. The root of the problem is that all your text is getting rendered into one single

, i'm referring to this piece.
For a quick solution you can just split the text by newlines and generate a

 for each sentence. If you want to have better support for this, you can change the scheme in .yaml file to be a markdown instead of text and that way you could have more freedom on ho you manipulate the text. But because the blurbs is in a nested, dynamic field i'm not 100% sure that it's gonna work.

@Paddy888 Sorry for the late reply. The root of the problem is that all your text is getting rendered into one single

, i'm referring to this piece.
For a quick solution you can just split the text by newlines and generate a

 for each sentence. If you want to have better support for this, you can change the scheme in .yaml file to be a markdown instead of text and that way you could have more freedom on ho you manipulate the text. But there are some caveats with this solution see Documentation here. On other solution is to make each newline a new text item in the text collection, there's an example for that in the yaml file linked above.

Hi, I tried to change the scheme in .yaml.file to be a markdown instead of text but it doesn't work. I tried also to make each newline a new text item in the text collection but in this case the text that I put in the new text item it doesn't even appear. Any suggestions? Thanks


Thumb not visible after exposing via LayoutAnimation API on Android

Strange one this - I've found that the thumb is not visible after exposing any sliders (in a View) via the LayoutAnimation API - on Android only. Not sure about the Animated API. Workaround is to avoid animating on Android, but that's not ideal, so could do with a fix.

I'm also having this problem - couldn't think what it was to do with (starting on the screen with the slider worked, but navigating to it didn't) so thanks for pointing that out

In my case I removed "valueVisibleStyle" from style object of View of customThumb and it worked. Briefly I changed this part:
 <Animated.View
                    onLayout={this._measureThumb}
                    renderToHardwareTextureAndroid={true}
                    style={[
                        {
                            backgroundColor: thumbTintColor
                        }, customThumb ? {
                            position: 'absolute',
                            backgroundColor: 'transparent',
                        } : mainStyles.thumb, thumbStyle,
                        {
                            transform: [
                                { translateX: thumbLeft },
                                { translateY: 0 }
                            ],
                            remove this line -> // ...valueVisibleStyle
                        }
                    ]}
                >
                   {customThumb}
            </Animated.View>


Remove static Action type

Remove generics from the action type, as it's not only bad for asserting every action you create, it's bad for binary size (every Entry * 2 for monomorphization)

For now the design would switch to a mix between DynamicAction and the current type, where data can be passed as needed and then specialized methods can be used to request the appropriate action (run_create_table, etc)
the run prefix may also be removed.


For demos, run them on testnet only and use an implicit wallet

For demos

run them on testnet only
use an implicit wallet (with TFT) demos_wallet (make sure it exists or created in package.py of marketplace)
don't show payment step at all for demos.
limit the life of the demo instance to max 3 hours

check https://github.com/threefoldtech/js-sdk/blob/development/jumpscale/packages/polls/package.py

Commit : 14a13cb32d6c9ab9e6f3a5fbaf2776763cbf8210

verified by creating a wiki and no payments appear
as https://github.com/threefoldtech/js-sdk/blob/development/docs/wiki/tutorials/add_funds_to_wallet.md

SDK version

(js-sdk-NQNSzBV5-py3.8) root@tfwallet-prod:/opt/js-sdk# git log -1
commit 24e1b953b5b2d1dc80c320840c47200ea7f5cb4d (HEAD -> development, origin/development, origin/HEAD)
Author: xmonader<EMAIL_ADDRESS>Date:   Thu Sep 10 10:52:39 2020 +0200

    changed message of pool chatflow (#1081)


improved docs

Note to Hacktoberfest 🎃 participants:
While we appreciate the enthusiasm, we are experiencing a high volume
of drive-by pull requests (one-line changes, README tweaks, etc.).
Please remember that hundreds of people are subscribed to this repo and
will receive notifications for these PRs.
Spam submissions will be closed and won't count towards your Hacktoberfest goals.
Please search for issues tagged
good first issue
or hacktoberfest
to find things to work on.
You can also search all of GitHub.

kinds of annoying that bot is being sending me emails

should not being spamming your helpers with emailng


Get Document object from the Response of fetch API

We can get Document object using XMLHttpRequest by setting responseType='document'.
But we can't get Document object from the Response object of fetch API.
Is there any plan to support this?

Closing this as it was answered in https://github.com/whatwg/fetch/issues/16


Disable request timeout if grpc-timeout is omitted while useClientTimeoutHeader is enabled.

Motivation:
gRPC specification says:

If Timeout is omitted a server should assume an infinite timeout.
Client implementations are free to send a default minimum timeout
based on their deployment requirements.

Armeria gRPC implementation does not follow the specification and uses the server's timeout as is.
Modifications:

Clear a request timeout if no grpc-timeout header is set when useClientTimeoutHeader enabled

Result:
Armeria gRPC service no longer schedules a timeout if grpc-timeout header is omitted when GrpcServiceBuilder.userClientTimeoutHeader() is enabled.

Discord discussion: https://discord.com/channels/1087271586832318494/1141734404310437898/1143453834933440512

Please fix the test. 😉
GrpcClientTimeoutTest > serverTimeout() FAILED
    java.lang.NullPointerException: Cannot invoke "io.grpc.StatusRuntimeException.getStatus()" because "exception" is null
        at com.linecorp.armeria.client.grpc.GrpcClientTimeoutTest.serverTimeout(GrpcClientTimeoutTest.java:129)

@ikhoon Gentle ping. 😊

Sorry for the late I had some internal tasks to urgently finish. Now, I am able to return to Armeria issues. 😉

Is this ready? 😉

Yes, PTAL. 🙇♂

@ikhoon 👍 👍 👍


Android 5.0 support

Sol and Andromeda (mostly) already can support it - I want to revisit this again to see if this is feasible on last time.

I'm not going to be adding support for Android 5.0 as it is down to just 1% market share and several features would need to be disabled / reworked to support it.


Add move checking

Codecov Report

Merging #8 (e7b2ae9) into trunk (e6f381f) will increase coverage by 0.37%.
The diff coverage is 96.87%.

@@            Coverage Diff             @@
##            trunk       #8      +/-   ##
==========================================
+ Coverage   90.96%   91.34%   +0.37%
==========================================
  Files          36       36
  Lines         321      335      +14
==========================================
+ Hits          292      306      +14
  Misses         29       29

Flag
Coverage Δ

unittests
91.34% <96.87%> (+0.37%)
:arrow_up:

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

Impacted Files
Coverage Δ

core/include/type/type_checker.hpp
100.00% <ø> (ø)

core/src/ast/error.cpp
100.00% <ø> (ø)

core/src/ast/object_type.cpp
100.00% <ø> (ø)

core/src/ast/u64.cpp
100.00% <ø> (ø)

core/src/type/type_checker.cpp
73.80% <91.66%> (ø)

core/src/ast/type_definition.cpp
100.00% <100.00%> (ø)

core/src/ast/value_definition.cpp
100.00% <100.00%> (ø)

core/src/ast/variable.cpp
100.00% <100.00%> (ø)

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 e6f381f...e7b2ae9. Read the comment docs.


Suggestion: NPC tagged monster

I have a suggestion that would be very useful for ironmen. Let's say you are at brutal black dragons and see someone attack one of the black dragons, it would then be marked orange i.e or a customable color until it is dead or has respawned. It happens too often that NPC is tagged and you dont get loot because someone auto-retalite or leaves mid kill. To highlight these NPC's would be beneficial
If you want to take it a step further, you could calculate time it needs to regen the HP to full so the tag goes away. If this feature is inline with Jagex third party boundaries, it would be extremely useful for ironmen.
Too many times has the message "As an Iron Man, you don't get loot if other players helped you kill the monster" been displayed

Sadly this is not fully possible to solve as the client doesn't know any information about a NPC's health until you start attacking it OR you're in range when the npc was attacked. For example, you were returning from the bank and go downstairs, there's no way to know which brutal black dragons were tagged and which were not.

That's true unfortunately. However if you are within range of the NPC and see its health go down when someone else attacks it, would it not be possible to highlight it in this case?

Like i mentioned, yes, that would be the only possible case. The thing is it can become a confusing behavior for anyone that is not aware of this limitation, i think this would be fine for a hub plugin and not a core.

I think we could add this to the existing NPC Indicators plugin. We have a similar type of feature in "Show only own loot" in the Ground Items plugin after all.

That would very much appreciated!


S3 bucket versioning req update

We do bucket versioning request even if user didn't ask for versioning at all, wasting ports in case there are hundreds of buckets and objects. Easy way to run out of ports: item-output-path='data/${rnd.nextInt(256)}/${rnd.nextInt(256)}'

relates to https://mongoose-issues.atlassian.net/browse/S3-10

Please, add changelog info


Graph processing for new claims in Fever Task

Can you provide your script for graph processing or some references to reproduce it? I think I can utilize top 5 sentence retrieval from KGAT, but I think there's another step of graph construction after that.
I wanted to run it for some new claim examples.

Thanks for your interest, currently we plan to only release the final graph but not the whole graph processing code.

Okay, thanks for the reply.
I was trying to implement it, I can't figure out how do you get the labels for each evidence in the graph input files that you provided. May I ask for some explanation over that?
Thanks

We directly use the sentence retrieval results (including each evidence label) from this repo, you might need to check that.


Fixed double rendering of Content-type meta-tag

ActiveAdmin renders Content-type meta tag twice, you can see it here: http://demo.activeadmin.info/
So I fixed it, I just removed insertion of additional meta tag from ActiveAdmin::Views::Pages::Base#build_active_admin_head
Also I think this is a good idea to register built-in active_admin/print.css stylesheet in active_admin.rb initializer.
I moved it out from ActiveAdmin::Views::Pages::Base#build_active_admin_head method.
All tests passed.

I like it. Thanks

@tanraya Why is moving the registration of the print stylesheet to the active_admin initializer a good idea?
I'm concerned that people upgrading to the latest active admin will just loose this stylesheet by default.


refactor: improve a bit

close https://github.com/ben1009/init-conf/issues/10, https://github.com/ben1009/init-conf/issues/9


[SPARK-44961][PYTHON][CONNECT][TESTS] Make PySpark (pyspark-connect module) tests passing without any dependency

What changes were proposed in this pull request?
This PR proposes to fix the tests to properly run or skip when there aren't optional dependencies installed.
Why are the changes needed?
Currently, it fails as below:
./python/run-tests --python-executables=python3 --modules=pyspark-connect
...
2c5289024a/python3__pyspark.sql.connect.window__nvbbzy7q.log)
Finished test(python3): pyspark.sql.connect.session (0s)
Traceback (most recent call last):
  File "/Users/hyukjin.kwon/workspace/forked/spark/python/pyspark/sql/pandas/utils.py", line 27, in require_minimum_pandas_version
    import pandas
ModuleNotFoundError: No module named 'pandas'

PySpark tests should pass without optional dependencies.
Does this PR introduce any user-facing change?
No, test-only.
How was this patch tested?
Manually ran as described above.
Was this patch authored or co-authored using generative AI tooling?
No.

I verified manually. Thank you, @HyukjinKwon and @zhengruifeng .
Merged to master according to the affected version of JIRA.


update oscserverstarter

This PR doesn't make sense as we already have a starter (in osc-runtime). Let me update the documentation (I'm on it) and you will see.

By the way, see #65 for tracking.

I updated README.md to show how to launch the runtime (using minho.json as runtime conf).


Error while downloading symbols in VS code in NAV Developer preview November update

Hi all,
I am getting an error on downloading symbols in VS code November update. It is asking me to login. I am entering 'admin' as username and my password. But an error comes up and the symbols aren't downloaded. Kindly suggest a solution. The error screenshot is attached below. Thanks.

If you look at your error you can kinda tell that you didn’t fill in your instance correctly.
Https://..cloudapp.azure.com is not going to be a valid address.

Hi,
Can you please give me details on where do we need to put our instance name? I have not manually entered it anywhere. I just installed VS code from the start page and opened the Hello World program which is already existing. But when I publish it I get this error.

Look in the launch.json file.

If you look at the wiki page (https://github.com/Microsoft/AL/wiki/Frequently-Asked-Questions) it should give you all the details you need.
In there you will find a getting started link to how to get started (https://docs.microsoft.com/en-us/dynamics-nav/developer/devenv-get-started)
Let me know if you have any more questions.

John Collins has actually said everything important. You will probably not have configured launch.json correctly. It should look like this
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "al",
            "request": "launch",
            "name": "Your own server",
            "server": "https://example.westeurope.cloudapp.azure.com",
            "serverInstance": "nav",
            "authentication": "UserPassword",
            "startupObjectId": 22
        }
    ]
}

I have a small question here on this one as well: Installed fine the navpreview Azure Image. Docker running, VSCode can also connect to the Docker Image after applying the provided setup from the landing page to the lunch.json. Now my question here is. If I run a second Docker Image - what is the connecting Server ?! it can't be the original one. so I have to use somehow the docket Container name (if so i can not get the Symbols due to several errors). So the VM must have a setup that allows the Traffic to go through it and points to a dedicated docker image. Where is that?! Or: how do I get VSCode to connect to an alternative Docker Image [Docker Container done via New-CSideDevContainer -accept_eula -doNotExportObjectsToText -containerName MyNewContainer]?
If I try "server": "https://MyNewContainer", i get:
Error: An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
The handshake failed due to an unexpected packet format.

If I try the IP I get:
 [2017-11-22 11:58:36.07] Sending request to http://<IP_ADDRESS>:7049/NAV/dev/packages?publisher=Microsoft&appName=Application&versionText=<IP_ADDRESS>
[2017-11-22 11:58:36.09] Sending request to http://<IP_ADDRESS>:7049/NAV/dev/packages?publisher=Microsoft&appName=System&versionText=<IP_ADDRESS>
[2017-11-22 11:58:36.09] The request for path /NAV/dev/packages?publisher=Microsoft&appName=Application&versionText=<IP_ADDRESS> failed with code Unauthorized. Reason: Unauthorized
[2017-11-22 11:58:36.10] The request for path /NAV/dev/packages?publisher=Microsoft&appName=System&versionText=<IP_ADDRESS> failed with code Unauthorized. Reason: Unauthorized

and it keeps me asking user and pswd again and again.
Some help would be nice :)

I am not sure why you would want to run 2 containers for extensions v2 development in the same azure VM, but if you want to do that, yoiu need to:

open endpoints on the Azure VM for VSCode and WebClient (f.ex. 7149 and 444)
open the ports in the firewall
create the container with navuserpassword authentication (-e auth NavUserPassword), ports published on the new ports (-p 7149:7049 -p 444:443), tell the container which webclientport is the public (-e publicWebClientPort=444).

What you did above was to create a container inside the VM which is not accessible to the world. You can probably access it from VSCOde inside the container. Use Docker Logs containername to get the logs, where the dev. server url can be found - but it is probably just http (default when using windows auth).

Hi all,
My issue has been solved. I had to change my server key  in launch.json file which has to contain my vmname and azureregion. After doing this change, the symbols were downloaded successfully with admin as username. Thank you all.


Where tf do you get the VM to run this thing?

See title

RUN RAM, not RUN ROM
Bc my OS is RUN RAM and Im to retarded to make one so, yeah. Thanks!

@Verlio-H give this guy an answer

Yeah

URCL-OS does not require a vm to run, it can run in urcx found at https://bramotte.github.io/urcl-explorer/, the RUN RAM header is from back when DW only existed in RUN RAM systems, if you need to find a VM for one of your projects, I recommend you check the #urcl-vm channel in the discord and scroll up a ways and there are some github links.

Ok thnx


Strange number of processed characters in BWTIncConstructFromPacked

Karel's comment: It might, e.g., happen that when prophyle_assembler is killed in middle of the computation, the resuting fasta become incomplete, but Make thinks that they are complete (when it is restarted). We should use and test .complete files (like it is done in prophyle download).
...
[prophyle] 2017-04-20 23:36:22 [3/5] CONSTRUCTING BWT+OCC
[prophyle] 2017-04-20 23:36:22 Generating packed FASTA file
[prophyle] 2017-04-20 23:36:22 Running: /home/simone/prophyle/lib/python3.5/site-packages/prophyle/prophyle_index/bwa/bwa fa2pac bacteria_idx/index.fa bacteria_idx/index.fa
[main] Version: 0.7.15-r1142-dirty
[main] CMD: /home/simone/prophyle/lib/python3.5/site-packages/prophyle/prophyle_index/bwa/bwa fa2pac bacteria_idx/index.fa bacteria_idx/index.fa
[main] Real time: 101.049 sec; CPU: 68.040 sec
[prophyle] 2017-04-20 23:38:03 Finished: /home/simone/prophyle/lib/python3.5/site-packages/prophyle/prophyle_index/bwa/bwa fa2pac bacteria_idx/index.fa bacteria_idx/index.fa
[prophyle] 2017-04-20 23:38:03 Generating BWT
[prophyle] 2017-04-20 23:38:03 Running: /home/simone/prophyle/lib/python3.5/site-packages/prophyle/prophyle_index/bwa/bwa pac2bwtgen bacteria_idx/index.fa.pac bacteria_idx/inde
x.fa.bwt
[BWTIncCreate] textLength=16069624426, availableWord=1142717752
[BWTIncConstructFromPacked] 10 iterations done. 99999994 characters processed.
[BWTIncConstructFromPacked] 20 iterations done. 199999994 characters processed.
[BWTIncConstructFromPacked] 30 iterations done. 299999994 characters processed.
[BWTIncConstructFromPacked] 40 iterations done. 399999994 characters processed.
[BWTIncConstructFromPacked] 50 iterations done. 499999994 characters processed.
[BWTIncConstructFromPacked] 60 iterations done. 599999994 characters processed.
[BWTIncConstructFromPacked] 70 iterations done. 699999994 characters processed.
[BWTIncConstructFromPacked] 80 iterations done. 799999994 characters processed.
[BWTIncConstructFromPacked] 90 iterations done. 899999994 characters processed.
[BWTIncConstructFromPacked] 100 iterations done. 999999994 characters processed.
...

Note that it might be related to #124

Karel, I obtain exactly the same numbers on every (linux) machine I am trying to launch prophyle on. Do you get different values? @salikhov-kamil could you check too?

@simonepignotti  Simone, are you still experiencing this problem?

@karel-brinda yes, and you? I talked about it with @salikhov-kamil and we rapidly examined BWA's code. At a first look it seems to be a normal behaviour. I will close this issue.

happen that when prophyle_assembler is killed in middle of the computation, the resuting fasta become incomplete

Btw. this should not happen any more as I use the empty .complete files to check whether the computation has been finished or not.


Issue with IsNull applied to the entire table (All Ids) when using IsNull in the Id column

Version Info
Spring-boot & JPA : 3.0.6
Hibarnate : 6.2.7.Final
blazePersistence : 1.6.9
Database : Mariadb 10.4
JDK : JAVA SE 17
Description
Entity
It is a table without a primary key in the actual DB, so I'm using fake IdClass.
@Entity
@IdClass(OriginLogIntegrityFakeKey.class)
public class OriginLogIntegrity {
    @Id
    private ZonedDateTime recvTime;
    @Id
    private String eqpIp;
    ...
    @Id
    private Integer curFileSize;
    @Id
    private String curMd5;
    @Id
    private String curMd5Dt;
    @Id
    private String clientSvcId;
}

query
It is a clause where the problem arises.
.where(
  originLogIntegrity.recvTime.goe(startTime),
  originLogIntegrity.recvTime.lt(endTime),
  originLogIntegrity.curMd5.isNotNull(),
  originLogIntegrity.curMd5.isNotEmpty()
)

Expected behavior
where
  o1_0.recv_time>=?
  and o1_0.recv_time<?
  and o1_0.cur_md5 is not null
  and character_length(o1_0.cur_md5)!=0

Actual behavior
where
  o1_0.recv_time>=?
  and o1_0.recv_time<?
  and o1_0.client_svc_id is not null
  and o1_0.cur_file_size is not null
  and o1_0.cur_md5 is not null
  and o1_0.cur_md5_dt is not null
  and o1_0.eqp_ip is not null
  and o1_0.file_name is not null
  and o1_0.file_path is not null
  and o1_0.org_file_size is not null
  and o1_0.org_md5 is not null
  and o1_0.org_md5_dt is not null
  and o1_0.recv_time is not null
  and o1_0.src_path_name is not null
  and character_length(o1_0.cur_md5)!=0

Suspected code
JoinManager's 3167 line
private boolean isSingleValuedAssociationId(Type<?> type, Expression idExpression) {
        AttributeHolder maybeSingularAssociationIdJoinResult = JpaUtils.getAttributeForJoining(metamodel, type, idExpression, null);

        Attribute<?, ?> maybeSingularAssociationId = maybeSingularAssociationIdJoinResult.getAttribute();
        if (!(maybeSingularAssociationId instanceof SingularAttribute<?, ?>)) {
            return false;
        }

        if (!((SingularAttribute<?, ?>) maybeSingularAssociationId).isId()) {
            return false;
        }

        return true;
    }

Temporary solution
.where(
  originLogIntegrity.recvTime.goe(startTime),
  originLogIntegrity.recvTime.lt(endTime),
  originLogIntegrity.curMd5.nullif(Expressions.nullExpression()).isNotNull(),
  originLogIntegrity.curMd5.isNotEmpty()
)

where
  o1_0.recv_time>=?
  and o1_0.recv_time<?
  and nullif(o1_0.cur_md5,null) is not null
  and character_length(o1_0.cur_md5)!=0

Thanks for the report and problem analysis. I'd very much appreciate if you could provide a PR with a test and fix.

I do believe that when using composite keys with Hibernate, none of the Id columns are allowed to be nullable. Or was this requirement dropped in later versions of Hibernate?

@beikov
Unfortunately, I don't know the internal logic exactly.
I just found the cause by just taking a brut force debug..
If there's a situation it's absolutely necessary for all IDs to be 'ISNULL',
It would be fine if it could be adjusted with an option value such as IMPLICIT_GROUP_BY_FROM_SELECT.
@jwgmeligmeyling
Yeah, In a typical situation, all IDs will be not null, so this issue may not be a big problem in general.
However, it is not intuitive for users to have different results from the query that the user intended.
And in my case,
The project I'm applying JPA and Blaze persistence is an old project.
so there are tables that don't have an ID and It's a situation where I can't add an ID here arbitrarily.
The CTE proposal is interesting.
I'm still in my elementary phase, so I've only used CTE in select sentences.
I don't know how to change the row of DB with cte yet, but I'll study it. Thank you.

I do believe that when using composite keys with Hibernate, none of the Id columns are allowed to be nullable. Or was this requirement dropped in later versions of Hibernate?

This is correct, though it is not "enforced" in any way. Materializing an entity with a null id column value will make the entity null as a whole.

Unfortunately, I don't know the internal logic exactly.

No worries, it will take some time though until I can look into this topic. Luckily, you have a workaround ;)

The CTE proposal is interesting.

The CTE approach is a good way to deal with this sort of situation. I guess @jwgmeligmeyling means you should add a @Id @Formula("row_number() over ()") Long rowNumber to that entity?


Detection of openblas on both Linux and  MS Windows (as libopenblas.dll)

Hi,
concerning the current openblas support we have:
https://github.com/scisoft/autocmake/blob/master/modules/math_libs.cmake#L115
we are missing the Windows OpenBLAS support, which is described here: https://github.com/xianyi/OpenBLAS/issues/461#issuecomment-74715665
According to this thread it would be good to incorporate  OpenBLASConfig.cmake commands into math_libs.cmake to enable linking against "libopenblas.dll".
For example, passing (and linking)  of openblas library  works for DIRAC on MS Windows (https://gitlab.com/dirac/dirac/blob/master/maintenance/cdash/cdash.WinS12-Miro.bat#L67, see also https://gitlab.com/dirac/dirac/blob/master/cmake/math/MathLibs.cmake#L80 ).
Windows OpenBLAS version (libopenblas.dll) is needed for the new fc_openblas test I am currently working on.

Well, in to be more precise,  we are missing the OpenBLASConfig.cmake (either standalone, or as part of FindBLAS.cmake, see also  https://github.com/xianyi/OpenBLAS/issues/461 ) to detect OpenBLAS on both Linux and Windows operating systems.
Currently, we have the fc_blas test (https://github.com/scisoft/autocmake/tree/master/test/fc_blas) with 'pure' BLAS detection and linking on Linux only.
With the OpenBLASConfig.cmake working, we could have the previously wanted fc_openblas test, designed for both Linux and Windows.
So I suggest to keep this issue open until the OpenBLAS detection in CMake get officially established. Comments please ?

Sounds good.

Hi,
I am trying to add the OpenBLAS search into "math_libs.cmake" and extend the ${MATH_LIB_SEARCH_ORDER} to "MKL;ESSL;OPENBLAS;ATLAS;ACML;SYSTEM_NATIVE"
Any help how to do that  ? I would try it with  new project with the CI service of https://github.com/miroi/mathlibs-tester/blob/master/circle.yml .

Ah, what works on my machine is :
python setup.py --fc=gfortran  --cmake-options="-DMATH_LIB_SEARCH_ORDER=OPENBLAS" --lapack=off  build_openblas_gfortran_nolapack

However, it's more difficult to convince travis-ci for proper OPENBLAS linking.

It turns out that on travis-ci there is some conflict between SYSTEM_NATIVE libs and openblas libs... Maybe I should try ATLAS and openblas into travis-ci tests.

Well, the fc_openblas test is passing on my linux cluster (with fixed test.py), but on travis-ci it crashing due to missing BLAS library. This is Ubuntu-Linaro.
My Linux cluster:
test/test.py::test_cxx_custom PASSED
test/test.py::test_extra_cmake_options PASSED
test/test.py::test_cxx PASSED
test/test.py::test_fc PASSED
test/test.py::test_fc_git_info PASSED
test/test.py::test_fc_int64 PASSED
test/test.py::test_fc_mpi PASSED
test/test.py::test_fc_omp PASSED
test/test.py::test_fc_blas PASSED
test/test.py::test_fc_openblas PASSED
test/test.py::test_fc_lapack PASSED

Well, circleci is - after setting PATH vriable pointing to OpenBLAS library files - process correctly, see https://circleci.com/gh/miroi/autocmake/24 .
However, travis-ci - despite arranged PATH - showing failures: https://travis-ci.org/miroi/autocmake

Aaaah,  I see - I had to modify math_libs.cmake : https://github.com/miroi/autocmake/blob/fc_blas_openblas/modules/math_libs.cmake#L117
Will as for PR.

Excellent! Is this problem now solved? Can it be closed?

Wait, please, I have to apply first for PR of working openblas test; and, later, adapt it for Windows system.

Well, for now I can not get the OpenBLAS detection on MS Windows. Also I have to check thoroughly the OpenBLAS detection on Linux.
PS: For inspiration :  http://www.nektar.info/browser/cmake/FindOpenBlas.cmake

Hi again,
in addition to the PR #82 , I see that OpenBLAS contains also (most part) of LAPACK  - see https://github.com/xianyi/OpenBLAS/issues/203#issuecomment-15296123 .
Therefore later (after accepting PR #82), I will adapt the fc_lapack test for MS Windows by using the famous OpenBLAS. For that, I will have to modify slightly the corresponding math_libs.cmake macro.
Comments please ?

Closed due accepted PR #82 and PR #88.


Python and Bower requirement files

It might be easier to use requirements.txt and bower.json files for installing dependencies via pip and bower. You can then do all dependencies as follows with $ pip install -r requirements.txt and $ bower install (instead of several pip installs and bower installs). This should make installation (and documentation) a bit easier.

Hi there,
I see you're from the e-science centre? Nice to meet you. You're changes are of course good; much more efficient. I'll merge them. Thanks

Hi @jblom , yes I started working on the project last week. Nice to meet you too. I'm sure it will be nice to collaborate in this project.


Y24-494 - As a TL I would like to understand which samples have had metadata updated in SequenceScape between 1/07/2024 and 29/11/2024 and are in a study with data released to the EGA so that we can ensure the data released is correct.

Description
As a TL I would like to understand which samples have had metadata updated in SequenceScape between 1/07/2024 and 29/11/2024 and are in a study with data released to the EGA so that we can ensure the data released is correct.
Acceptance Criteria

[ ] If possible discover the number of samples that had metadata updated in the period above and in studies released to the EGA
[ ] If possible discover the sample IDs that had metadata updated in the period above and in studies released to the EGA
[ ] Create a new story to correct data in the EGA (by say re-running the update?) for identified samples or alternatively all EGA samples created in this period.

Who the primary contacts are for this work
PSD
Additional context or information
Timebox to at most 3 days.
The EBI had a bug that prevented metadata being updated from SequenceScape propagating to the EGA database. This has now been fixed.
Unfortunately the asynchronous update task in SequenceScape fails silently without informing the user of any issue.
This task is to look through the logs and databases in SequenceScape to see if we can determine which samples have been impacted to help the users impacted.

The only scenario we need to be concerned with is the update of one sample's metadata via the SequenceScape page.
This is apparently very seldom if ever used.
Mostly faculty request bulk updates that are performed by Neil and/or Quan via support requests.
So we can narrow down this story to identify usage of the update button on SequenceScape in the time period given.


CPP: Autoformat the Critical queries directory

Continues the work stated by @jbj in https://github.com/Semmle/ql/pull/1239
The commands for this in Windows are slightly different:
build -j4 target/jars/qlformat.bat

find ql/cpp/ql/src/Critical -name "*.ql*" -print0 | xargs -0 target/jars/qlformat.bat --input

Most of the changes look like an improvement to me.  I've reverted quite a few bits though, particularly where I feel information has been lost or where a or (b and c) has been changed to the more ambiguously reading a or b and c (the former used to be our policy, we seems to have lost sight of it but regardless I struggle in good conscience commit a change I know will lead to a higher rate of errors).

The feeling on Slack is that the and-or thing is clear if line breaks give the or visual precedence, so I've gone back to what the autoformatter did with those things.  I'm not sure I'm fully on board with this, but it's at least been justified now.

Fixed merge conflict.

From the test failure:
15:20:25  [2019-04-23 14:20:25] [WARN] Unused predicate terminationProblem (/mnt/resource/jenkins/workspace/Language-Tests/CPP/ql/cpp/ql/src/Critical/OverflowCalculated.ql:32,11-29)
15:20:25  [2019-04-23 14:20:25] [ERROR] Failing due to warnings (Compiler Generated)
15:20:25  [2019-04-23 14:20:25] [ 11.8%] Found errors in ql/cpp/ql/src/Critical/OverflowCalculated.ql

Yep, that was a bad merge, the predicate had been deleted elsewhere.  Fixed.


DRAFT: Eye account creat

…tion page
What
Describe what does this pull request propose to add or change?
Why
Why is this pull request necessary for the project?
How
How does this pull request implement the functionality?
Covers
Please include the issue numbers related to this pull request, eg. #8

#Issue Number

Checklist

[ ] Are the issues being addressed linked to this PR?
[ ] Do all commit messages start with the issue number?
[ ] Are all code changes sufficiently tested?
[ ] Are there screenshots for UI changes?

Screenshots
Desktop view
Mobile view

Looks good so far 👍


fix: readme.md suggestions

Here are some suggestions to improve README.md based on what I encountered running the bridge.

@ilaydacansinkoc Signing a DCO is a best practice in such public OS repos. Have a look at this: https://github.com/apps/dco


feature: ubuntu20 dev image

fixed tzdata, because curl https://ipapi.co/timezone return None in some cases

fixed tzdata, because curl https://ipapi.co/timezone return None in some cases


Fix scaling issue of bounding box

Overview
This PR addresses two related issues:

The bounding box script does not allow proper scaling when the its target is set to a child of the GameObject the script is attached to. This issue is resolved by making sure target.transform instead of transform is used when initializing scale constraint. A test is added to help verify the fix.
The existing test utility seems to work (tests pass), but the way it is working is unintended. The change of bounding box's scale in InstantiateSceneAndDefaultBbox() happens after the instantiation of bounding box and the assignment of its target, which causes scale constraint never getting the correct "initial scale" information. The location of scale change is now moved so that scale constraint now gets the correct value. Also, the "initial scale" information is now updated after switching the target of bounding box.

Changes

Fixes: #8458.

/azp run

/azp run

would you mind adding this test case to bounds control @MaxWang-MS ? just to make sure we're covering it there as well.

/azp run


Deleted code after update

I'd been using VSCode for a while when I noticed it had become sluggish (seemed like GC pauses every few seconds, VSCode was showing high CPU usage in task manager). I decided to restart the editor to see if it would fix the problem.
I saved, and then hit close. The editor closed normally without displaying any kind of dialog, and then an "update" dialog flashed up briefly with a progress bar. I re-opened the editor, and it showed me the "what's new" page. I switched back to the file I was editing and it was completely empty. I checked the file on disk, and that too was showing zero bytes. I checked the recycle bin, and there were no recent items added.
I use version control for my projects, but in this case it was a new file, and I'd written several hundred new lines of code since last commit. I don't expect my editor to truncate files already saved to disk with no warning!

VSCode Version: 1.28.2 (after update)
OS Version: Windows 10

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

Visual Studio did not stop responding, it simply became sluggish: I was still able to save the file, and the operation appeared to complete successfully. I did not change any settings around saving files during the event or before - it is using default settings.
Note: I am not unhappy about it losing unsaved changes: that would be more acceptable. I am unhappy about it completely truncating the file, which had been saved many times before. It shows that there is a bug in either the update, or the saving process, as it appears to be non-atomic, such that an error during saving can result in the pre-existing file being lost.

Try to reinstall Visual Studio code or reinstall Windows with reset if it is work.

@Dob6458 thanks for your helpful advice... Somehow I doubt reinstalling windows is going to restore the lost file.

@Diggsey You're welcome :)

@bpasero User had his files truncated.

Hi @Diggsey,
For example, If you want to save automatically your files, copy this code in settings.json.
  "files.autoSave": "afterDelay"

@Diggsey if the file was not dirty, I recently pushed a fix where there was a chance that we first truncate the file and then writing the contents failed for some reason. We now retry to write the contents into the file after a short timeout.
If the file was dirty and the save failed for some other reason, it would have been restored after the next startup. So my guess would be that the file was not dirty.
I assume you cannot reproduce this anymore?

That sounds likely. Is that fix included in my current version? (1.28.2)

@Diggsey no, only in our insiders version (1.29) which should be released to stable next week.

Happy to close this when the fix is released.

Oke, lets close it and you report back if it ever happens again with our stable 1.29 next week,


Write a DSG-checker script

Reported by ansley b manke on 30 Jul 2016 00:40 UTC
DSG files have a handful of essential things for use in ERDDAP. Mostly these are in the definition of the different DSG file types, but there are more as well
Write a Ferret script to act as a file checker

cf_role attribute on an ID variable
ID variable is on the instance axis (the prof, traj, tseries axis)
Other metadata variables are on the instance axis
RowSize variable on the instance axis with a sample_dimension attribute that points to the obs axis
global featureType attribute
longitude, latitude, time, depth variables are lower-case

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2461

Comment by ansley.b.manke on 7 Nov 2016 18:53 UTC
In addition, check that:

For LAS, the ID variable must be a string

For ERDDAP, the time variable must have units of seconds since 1-jan-1970

For ERDDAP, the longitudes are expected to be in -180:180

FeatureType attribute and he cf_role and attributes must match, e.g. FeatureType = profile, cf_role = profile_id.

Comment by ansley.b.manke on 7 Nov 2016 20:02 UTC
This is done. The script dsg_checker.jnl is added to the Ferret distribution, and  installed on dunkel and stout.  A couple of examles:
an output from ERDDAP, set of profiles:
yes? go dsg_checker A6A667A19C2CDB975983D96244816401_netcdf.nc

--------- Analyzing A6A667A19C2CDB975983D96244816401_netcdf.nc

--------- FeatureType is Profile.

--------- cf_role attribute found on variable id.

--------- cf_role attribute profile_id matches feature type Profile.

--------- ID variable, id, is of type string.

--------- sample_dimension attribute found, obs.

--------- Longitude variable found ... longitude with units degrees_east, longitude range -147.08  to  -140.95

--------- Latitude variable found ... latitude with units degrees_north, latitude range 69.84  to  71.15

--------- Time variable time with units of seconds since 1970-01-01T00:00:00Z.

---------   A6A667A19C2CDB975983D96244816401_netcdf.nc passed.

A file from Saildrone, that has the cf_role attribute identifying the ID variable, on a numeric variable:
yes? go dsg_checker.jnl  Saildrone_example.nc

--------- Analyzing Saildrone_example.nc

--------- FeatureType is trajectory.

--------- cf_role attribute found on variable trajectory.

--------- cf_role attribute trajectory_id matches feature type trajectory.

**ERROR ** The ID variable: trajectory, must be of type string. Its type is FLOAT.

**NOTE  ** sample_dimension attribute not found. This is acceptable for a file containing a single feature.

--------- Latitude variable found ... lat with units degrees_north, lat range 53.8435  to  53.9454

--------- Longitude variable found ... lon with units degrees_east, lon range -166.58  to  -166.548

--------- Time variable time with units of seconds since 1970-01-01T00:00:00Z.

---------   File Saildrone_example.nc 1 errors detected.


OS - Chat - Images taken in HEIC with the device are not displayed on chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.81-1
Reproducible in staging?: y
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: applause internal team
Slack conversation:
Action Performed:
Pre-requisite: go to iPhone Settings > Camera > Formats, select "High Efficiency" and take a photo with the camera app.

Go to any chat.
Tap on the "+" menu and select "Add attachment".
Select "Choose from gallery" and send the photo that was taken with the device.
Verify that after "Uploading attachment..." message, a loading spinner appears.
Verify the photo is not displayed on the chat.

Expected Result:
The images should be displayed on chat after being sent.
Actual Result:
The images are not displayed on chat after being sent.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/38435837/d9b30913-8fd9-45d4-8114-bb29943fd93b

View all open jobs on GitHub

@thienlnam FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to  #vip-vsb

I can upload .heic files on web - so this seems to be isolated to native client. This looks slightly suspicious https://github.com/Expensify/App/pull/42739

Confirmed that the revert of that PR in https://github.com/Expensify/App/pull/43447 fixes the iOS heic upload issue

PR is getting CPed - should be good now


Remove wget calls from openjdk-tests scripts

We currently use both curl and wget. To reduce the number of dependencies we have, we will shift to use only curl (since wget is not available on some platforms).
Search all build.xml files and support scripts to replace wget with curl calls.

Except for external folder, the only place left is in perf folder
https://github.com/AdoptOpenJDK/openjdk-tests/blob/2dfd08c5687e7d85db49717e9bf249394c02ea3c/perf/liberty/scripts/bin/database_utils.sh#L49
https://github.com/AdoptOpenJDK/openjdk-tests/blob/2dfd08c5687e7d85db49717e9bf249394c02ea3c/perf/liberty/scripts/bin/database_utils.sh#L63

The wget in TKG repo also needs to be removed:
https://github.com/AdoptOpenJDK/TKG/blob/899b2e59dc3389b3bef505d4bbee493b01c3eef2/scripts/getDependencies.pl#L237

@llxia here are all the remaining occurrences of wget in openjdk-tests as requested:
(note this is excluding docker files that download wget while downloading dependant executable files)
https://github.com/AdoptOpenJDK/openjdk-tests/blob/87e8885ed0428b4f4a2e4acd6acb1255180650c9/perf/liberty/scripts/bin/database_utils.sh#L45
https://github.com/AdoptOpenJDK/openjdk-tests/blob/87e8885ed0428b4f4a2e4acd6acb1255180650c9/perf/liberty/scripts/bin/database_utils.sh#L59
https://github.com/AdoptOpenJDK/openjdk-tests/blob/87e8885ed0428b4f4a2e4acd6acb1255180650c9/buildenv/jenkins/getDependency#L38
https://github.com/AdoptOpenJDK/openjdk-tests/blob/87e8885ed0428b4f4a2e4acd6acb1255180650c9/perf/liberty/scripts/resource/client_scripts/reset.sh#L52
https://github.com/AdoptOpenJDK/openjdk-tests/blob/87e8885ed0428b4f4a2e4acd6acb1255180650c9/perf/liberty/scripts/resource/client_scripts/configure.sh#L63
https://github.com/AdoptOpenJDK/openjdk-tests/blob/87e8885ed0428b4f4a2e4acd6acb1255180650c9/perf/liberty/scripts/resource/client_scripts/configure.sh#L90

Only 3 places where wget is still used:

in action.yml (on github action runners where its installed)
in external tests run via Docker (where wget is installed)
in perf/liberty shell scripts (in database_utils.sh, reset.sh, configure.sh scripts)

This is likely as far as we are going to get with this one, closing.  If someone has the will to complete the rest, then it can be re-opened.


feat: adding SASjs server support to mp_streamfile.sas

:tada: This PR is included in version 4.10.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Deadlinks Repair

What changed? Why?
I changed a few links in the docs that were leading to a dead-end.
Notes to reviewers
How has it been tested?

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/2

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
1

Sum
2


Make label for ilastik executable system specific

Closes: #54

this could potentially also address #57 :)

@emilmelnikov mentioned that using the old imagej1 api to query for OS should probably be avoided.

I would use it because:

There is no alternative in imagej2 API
There is no deprecation annotation
Personally I doubt that it will ever be deprecated

There is no alternative in imagej2 API

There is no deprecation annotation

Personally I doubt that it will ever be deprecated

compelling argument :) @emilmelnikov ?

I looked up the implementation of IJ.isOSX() and it just checks a system property. So we could just replace it with:
bool isMac = System.getProperty("os.name").toLowerCase().startsWith("mac");

I looked up the implementation of IJ.isOSX() and it just checks a system property. So we could just replace it with:
bool isMac = System.getProperty("os.name").toLowerCase().startsWith("mac");

I mean why would we implement it ourselves if it's already implemented for us? :)

I mean why would we implement it ourselves if it's already implemented for us? :)

I don't have a strong opinion about this, but I wouldn't using ImageJ 1 for such a trivial thing.

At least it's going to be easy to replace if they every get rid of IJ :)


Incomplete documentation for server-rendering

Problem description
This page of documentation is missing... something in the code snippet example given:
Link to minimal working code that reproduces the issue
// etc...
  userAgent: req.headers['user-agent'],
// etc...

In the code snippet, there is no req defined.  I'm trying to figure out how to implement this in a server rendering scenario, and this documentation doesn't work.  What should be used here?
Versions

Material-UI: ^0.18.0
React: 15.5.4
Browser: any

Maybe you could take advantage of the documentation of the next branch. We focus on bug fixes for the master branch, it's in a low maintenance mode. I'm closing the issue. Still, feel free to submit a PR to improve it 👍 .


Dockerfile for redis with ghostunnel

Dockerfile for redis with ghostunnel. Serves as an example for how to secure services that do not natively support SSL/TLS by fronting them with ghostunnel.

:+1:


Feature request: option to use firefox profiler as an alternative perfetto.dev

https://profiler.firefox.com/ is a neat alternative to perfetto to interactively explore recorded profile traces.
It can load local trace files in the browser as perfetto (or speedscope) with a similar interactive UI.
I assume that this could also serve as a better workaround for the RPC Framing Error observed when using perfetto to load viztracer files on firefox. See: #139, #237 and #317.
Furthermore, it has a button to share URLs to tracefiles online (e.g. in github issues) without the reader having to download and reload a json tracefile manually. Here is an example of such a shared link (with a Python program trace generated by samply, see below):

https://share.firefox.dev/43KFFDO

profiler.firefox.com is notably used by the samply profiler if you want to give it a quick try on an arbitrary local program execution (with native calls). Note that as of now, samply is not Python-source aware but this can still serve as an example on how to do profiler.firefox.com integration for viztracer.

First of all, thanks for the recommendation. I'm actually aware of the tool before I even started developing viztracer :)
The fundamental issue here is - viztracer is a tracer that can be used for profiling, it's not a profiler. I've written an article talking about this.
Firefox profiler is not designed to show trace data - you can try to load a trace file from viztracer and see your self. They claim to support Chrome trace format, but it's not showing anything. No stack relation, no process by process view (so that you know the relations between processes/threads).
Same thing with speedscope, it's designed for showing profiling data, and you can easily crash it with a 100M file, which perfetto handles easily.
Actually, perfetto is the only tool I know that fits viztracer's purpuse - to show details of every single function call on a timeline with support for multi-thread and multi-process(not show them in different tabs, that's not helpful).
All the other visualization tools on the market basically only focus at functions that take the most of time - which is fine because that's what a profiler normally does, but viztracer needs more, compared to the full-time profiling tools like py-spy.
Yes, you can crash perfetto on firefox with a large trace file, but you can easily crash other tools with a trace file that's 10x smaller - you can try to load a ~100M file generated by viztracer on firefox profiler and check the result.
Let me know if you have more questions :)

Alright then, thanks for the explanation. It would be great if perfetto had a button to easily share reports though.
Anyway, closing this.

That would require plenty of free disk space from Google :)


WvW key verification add ons?

Is it possible to audit or output a list of who's on what world? ie. ' Nickname - World ' listing to a private channel or DM.
We run a server for a main world/link with now over 1000 people, and while we offer several ways to verify, things slip through, probably not on the ball with people server hopping.
Even if it automatically sets a named world role when that user's API updates or refreshes by a command will help.

Were it automatic, it would be need to be a separate script on another server to avoid rate limits (like $bt) as it would need to crawl all accounts for world information (since that information can change, I'm not storing it right now)
More easier way would be via a command, or automatically after using $account. What do you say about those options? Or have any other ideas

on $account would make sense, but then I guess it won't update if they move servers without doing $account again? I guess that's where the command would come in
After a few days of thinking about it, there doesn't seem to be much what will work without either a ping/return signal from API or user updating their stuff. Again most users struggled to put their key in the first place.

I mean, I could make it into a separate script. Another server shouldn't be a problem. Accounts would refresh every few hours if I crawl them.

$worldsync is now a thing