Serving private HTML in an iframe

When SolidOS is served on an origin different from the pod it is accessing (for example the SolidOS Webapp or Data-Kitchen,  panes that use Iframes for HTML (dokeli, human-readable) will require a second login even if the user is already logged in as owner of the data.  The images below show that that dokeli pane won't show the private HTML but the source pane will.  The main page login applies to the location of SolidOS, while the iframe origin is that of the imported page.
With the source pane, I believe we can solve this issue by doing an authenticated GET on the HTML, and then displaying it in an iframe using the srcDoc attribute rather than the src attribute.  Using srcDoc means that the HTML is coming from the same origin as SolidOS so it should work even when SolidOS is on a different server.  I am not sure if this solution would apply to dokeli.

An additional issue related to this is that since dokeli is the default pane for HTML,  this confusing screen is what will be shown first.

A possible security issue - the HTML would inherit SolidOS permissions.

The simplest solution is to make the source pane the default pane for HTML.   We could also make the human-readable pane the default if we changed it so that it used an authenticated fetch + srcDoc + a sanitizing operation to deal with security concerns.

In general more readable views like formatted text should take precedence over raw views like plain text. I guess we treat all HTML files the same whether dokieli or not.  Is that part of the problem?

@timbl - it's the iframe that is the problem, not specifically dokeli - it impacts all HTML incuding in the human-readable pane too.  Agree, we should prefer the most readable format first.  One solution is to use srcDoc with a sanitized version of the HTML in the human readable pane and make it the default pane for HTML.  That way, users would see the HTML page (minus javascript and web components)  as the default view and if they want to edit, they can use either dokeli or the source pane.

I'm not sure I quite understand the difference between the dokieli and source panes. While unauthenticated, when I input https://jeff-zucker.solidcommunity.net/private/hidden.html into Viewing field, I see the dokieli pane opening up (because it is set to default?) but the server returns a 401 with payload containing the SolidOS Web App HTML (which has JS etc.) and what I see is same as the screenshots you've shared. For the source pane, I get a 401 too and it looks like this:

Correct me if I'm misunderstood you but are you saying that while one may be authenticated from https://solidos.github.io/mashlib/dist/browse.html and can view https://jeff-zucker.solidcommunity.net/private/hidden.html with the source pane, it doesn't load up in dokieli pane?
I couldn't reproduce this as I've created https://csarven.solidcommunity.net/hidden.html and gave Read permissions to only myself. I was able to view it both dokieli and source panes. When I'm not authenticated, I get a 401 in both.

Regarding srcdoc, dokieli also uses that here for certain data that's to be rendered inside the pre element. The contents are sanitized, in the case of pre it escapes but for loading a whole document, it would need to be more aggressive like with DOMPurify or similar libraries. They will however by default disable script and many other things so if any scripting is of interest, need to thread carefully. That aside, srcdoc should be fine for raw HTML but I'm not sure if I quite see that addressing the main problem of this issue - or at least I don't understand it. Like I said, dokieli and source panes seem to work for me when authenticated while it is not readable to anyone else.
But yes the contents in which that resource originates from is already fetched. So, it is not doing dynamic rendering (on page load) like with src.

Happy to discuss / share more notes on this elsewhere.. we are / will be going through all sorts of security stuff in dokieli soon / this year.

Aside: this seems like a bug ?

@csarven wrote

I've created https://csarven.solidcommunity.net/hidden.html and gave Read permissions to only myself. I was able to view it both dokieli and source panes. When I'm not authenticated, I get a 401 in both.

Can you confirm that when accessed from the github webapp, you were able to see both the dokeli and source panes without logging in a second time in the dokeli pane?

And that you used the webapp login button to login, not the dokeli one?

Right, I only used the login from the top-level app at https://solidos.github.io/mashlib/dist/browse.html (nothing form the panes).
But right now I can't even reproduce anything.. it shows me as signed in but getting 401 on the hidden. I've cleared cache/local storage everything and tried.. still no go. Also in private mode. I'm getting the bug / screenshot that I shared at the bottom of my comment above.


Create Sprite for Plague Doctor Mask

Please see CONTRIBUTING.md first.

I'd like to contribute, I just made a pull request.


Meson: init at 0.60.2

Motivation for this change
I found a new Wayland window manager that requires an updated Meson.
But I am a bit afraid of removing the old Meson release. We never know how many bugs and mass rebuilds an innocent new release can generate.
Therefore, I created a new Meson in parallel with the older one.
Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Any case, as I have suggested, it will be a matter of "remove old Meson", possibly in a future staging merge.

I've marked #144779 as closing this PR.  If that's incorrect feel free to remove the "Closes" line from that PR's body.

I feel this partially closes https://github.com/NixOS/nixpkgs/pull/144779 instead. That being said, I will merge this first.

I wish you'd just merged the other PR — there was nothing more to do, and you asked if anybody objected to it being merged, and nobody said anything.  Now merging the other one is even harder because there's a big mess of merge conflicts.

The other PR was more confusing: more than 20 files changed.
On the other hand, this PR enables other updates more easily.

The other PR was more confusing: more than 20 files changed.
On the other hand, this PR enables other updates more easily.


particle glow bug

Directx shown: https://youtu.be/PZrZyB1PI5g uses https://github.com/GarageGames/Torque3D/pull/863 for debug viewing. Thoughts @lukaspj?

That is sooo odd...

If you've got the time, could you check that they are added here:
https://github.com/GarageGames/Torque3D/blob/30a8401d1461564a283810daacf78b5f6043a8d5/Engine/source/renderInstance/renderGlowMgr.cpp#L132-L136
And rendered here: https://github.com/GarageGames/Torque3D/blob/30a8401d1461564a283810daacf78b5f6043a8d5/Engine/source/renderInstance/renderGlowMgr.cpp#L184-L208
?

Both trigger in debug mode, yes.


PCC: check facts on loaded and stored values, infer facts where needed, and add a basic vmctx/memory example.

This PR incorporates a few more steps in PCC's development:

We now check that the fact, if any, provided for a field in a memory type supports (subsumes) the claimed fact on the result of a load from that field. Likewise, we check that the fact on any value stored to a field supports the field's fact.
We check that facts are preserved across control-flow edges by validating that branch arguments' facts subsume blockparams' facts.
For integer-typed values, when no other fact is present and one is needed during validation, we infer a minimal fact based on the type's full range.

With all of these together, we can validate a simple "mock vmctx" example that looks a lot like what static memory accesses in Wasmtime do:
test compile
set enable_pcc=true
target aarch64

;; Equivalent to a Wasm `i64.load` from a static memory.
function %f0(i64, i32) -> i64 {
    ;; mock vmctx struct:
    mt0 = struct 8 { 0: i64 readonly ! mem(mt1, 0) }
    ;; mock static memory: 4GiB range, plus 2GiB guard
    mt1 = memory 0x1_8000_0000

block0(v0 ! mem(mt0, 0): i64, v1: i32):
    ;; Compute the address: base + offset. Guard region (2GiB) is
    ;; sufficient for an 8-byte I64 load.
    v2 ! mem(mt1, 0) = load.i64 checked v0+0    ;; base pointer
    v3 ! max(64, 0xffff_ffff) = uextend.i64 v1  ;; offset
    v4 ! mem(mt1, 0xffff_ffff) = iadd.i64 v2, v3
    v5 = load.i64 checked v4
    return v5
}

In theory, once we propagate facts during aegraph rewriting (we don't currently; opts are off in all tests), this should be enough for end-to-end checking of static memories by emitting the right facts in cranelift-wasm. Those two steps (opts, then Wasm frontend) are next!
Co-authored-by: Nick Fitzgerald<EMAIL_ADDRESS>

The test failures exposed two issues surfaced by the new "default facts" (e.g., width-8 value is always <= 255), so I had to add a bit more reasoning. @fitzgen mind taking a look at the last commit?

Ah -- automerge was still on and this went in with your r+, @fitzgen; still happy to take feedback on the approach in the last commit if you have any!


Problem adding access_token

What happened?
I'm using the command:
python main.py -c UDEMY_URL -b tokken.txt
to add my token, and I've this problem.

I have already re-login to my Udemy account, I have tried with several tokens and I get the same error.
They are purchased courses, I don't have a personal account or subscription.
The same thing happens to me with all purchased courses.
Please Help!!
Expected Result
.
Branch
master/main
What operating systems are you seeing the problem on?
Windows
Relevant log output
No response
Other information
No response

tokken.txt is not a valid bearer token. nowhere in the README does it say that -b loads a text file...


Add missing context when building toolchain image

Fixes a typo
Signed-off-by: Ettore Di Giacinto<EMAIL_ADDRESS>

@mudler what are the consequences of missing the context? Were the builds ok? were they failing?

Also, do we need to port this to arm64 as well?

@mudler what are the consequences of missing the context? Were the builds ok? were they failing?

https://github.com/rancher-sandbox/cOS-toolkit/runs/3651116104?check_suite_focus=true
We got 100% failure :sweat_smile:
For arm64 should be fine as well, this step is automatically generated in the workflows, we have just to enable it


Develop a new LSTM NN to predict new trajectory point

This LSTM NN must be able to predict a new point on a generated trajectory (with possibly an high score). This predicition is then confronted with the new real alerts of the next night. According to the prediction and real alert distance, the trajectory confidence score can be enhance or degrade.

We prefered to developp an ephemerid based prediction association with the orbital parameter estimation


Disable OP_RESERVED

Disables OP_RESERVED.

No other unit tests use this thing?

Yes, that's how useless it is.


export  from '*.vue' doesn't refer to source file when using script setup

export { default as Hello } from './HelloWorld.vue'
Go to the definition doesn't work here.

Thanks for the report!


Automatically create PlayerBody

Ok Malcolm,
This is just some extra code that ensures the player body node is automatically created when you add a movement function to the scene tree.
I'm also in favor of starting to remove the export variables for origin and camera and having the movement functions query the player body for this information. The more the code can infer from adding nodes in a place that provides context, the cleaner the setup, the less the user has to worry about.

Nice changes - especially the recursive search up for the ARVROrigin. I was looking for a way to be more flexible in the tree location - for example if the developer decided to put some movement providers (the ones not bound to a specific controller) under the PlayerBody rather than under the ARVROrigin.

Its a hard one, what is easier when you want to move a function like direct movement from one hand to the other, reparent or update a property, versus the declarative nature of such a node always being the child of the node it works in conjunction with.
Godot generally favors that over properties as the scene tree immediately communicates what is going on.


Replace tab-autocomplete untrained model error with warning

Description
Untrained autocomplete model was shown as error.
Disabling extension notifications didn't prevent this.
Changing it to warning (showToast("warning", ...))
Checklist

[x] The base branch of this PR is dev, rather than main
[x] The relevant docs, if any, have been updated or created

See issue 2437

@sestinj updated
Could also remove the warning popup and only show it in config, with the reasoning that it's a duplicate message and seems to be the kind of message that would make people disable continue notifications anyways.

Yeah that's a good call

toast removed


Improved code in 'Modules'

Use ProgrammerCalculator.digits.length in place of 16 (in class ProgrammerCalculator).

thanks!


Can no longer get credentials to connect to CodeArtifact?

Describe the bug
With the latest version of AWS Toolkit Amazon Q, it looks like Visual Studio is no longer able to automatically obtain credentials for CodeArtifact (with the designated AWS profile). The Windows Credential Manager pop-up will actually appear asking for password for the CodeArtifact user.
Even re-creating the NuGet source for https://domain-accountid.d.codeartifact.ap-southeast-1.amazonaws.com/nuget/repo/v3/index.json does not get Visual Studio to get new credentials for authentication session with CodeArtifact. Deleting the Credential Manager user does not help.
Severity	Code	Description	Project	File	Line	Suppression State
Error (active)	NU1301	Unable to load the service index for source https://domain-accountid.d.codeartifact.ap-southeast-1.amazonaws.com/nuget/repo/v3/index.json.	Project	C:\projects\Project.csproj	1
To Reproduce

Select credentials for AWS Explorer.
Copy NuGet Source Endpoint for the relevant CodeArtifact repo.
Create and select new NuGet source with URL.
Get solution to restore/update packages with NuGet.

Expected behavior
Visual Studio can seamlessly connect to CodeArtifact as NuGet source and download/update packages. Used to be able to in the past.
Screenshots
Toolkit Logs
Where to find?
Development System (please complete the following information):

Windows Version: Windows 11 23H2 22631.3737
Visual Studio Version: 17.10.3
AWS Toolkit for Visual Studio Version: <IP_ADDRESS>

Additional context

Current workaround is to manually execute aws codeartifact login .

Hi @icelava , can you please share the toolkit log from a session where you have this problem? I suspect this is related to the issues we have been seeing in version 1.54.* around extension initialization.

Like this one?
log_2024-07-09_16-21-04_34468.txt

Yes thank you. I'm guessing you are seeing a message along the lines of "Some functionality may not work during this IDE session." in the Toolkit's Output pane (titled "Amazon Web Services"). The CodeArtifact credentials provider is one of the extension's components that Visual Studio is having problems finding. This problem relates to the underlying issues in #441, which we're still looking to understand more about.
Could you please share a list of all other Visual Studio extensions you have installed (if any)?
A couple of things you can try:

try running "Repair" from the Visual Studio Installer, and then reboot your system afterwards.
yesterday a new version of Visual Studio was released (17.10.4). Please try updating to the latest version, and then reboot your system.

Please let us know whether or not you are able to connect to CodeArtifact after running through these steps.

What I have are

Live Share 2022 1.0.5933.0
Microsoft Library Manager <IP_ADDRESS>796
Python - Profiling 17.0.0
SQL Server Data Tools - Sql Editor 1.4

I don't see how updating Visual Studio will solve the problem since they don't include the implementation for AWS Toolkit or CodeArtifact credentials helper. And sure enough after updating to 17.10.4 the problem still persists.

We are still trying to understand why Visual Studio is failing to load some components of the AWS Toolkit. At this time, we don't know if this is a problem in Visual Studio, or in the extension. That is why we ask to update Visual Studio.
Something that is worth trying is to have Visual Studio rebuild its cache of MEF components. To do this, you need to close all instances of Visual Studio, remove the cache folder, and then re-launch Visual Studio. Visual Studio will then rebuild its component cache.
The cache folder is located at %localappdata%\Microsoft\VisualStudio\XXX\ComponentModelCache where "XXX" is specific to your instance, and would start with "17.0". Alternatively, there is an extension called Clear MEF Component Cache which helps do this for you.

Greetings. Having a similar issue with my Visual Studio 2022 copy. Ever since upgrading the latest AWS Toolkit (v<IP_ADDRESS>) my CodeArtifact credentials have ceased to work. Keeps prompting me for credentials every time. We are using IAM Roles to authenticate. I tried configuring the tool with the credentials using the "Get Started" wizard, but to no avail. Prompts me every time I load a solution in Visual Studio.

Hi, we have released a new version of the Toolkit (<IP_ADDRESS>) that intends to minimize the extension's component-loading problems to Amazon Q instead of all of the extension's features. Please install this latest version and share whether or not you are able to access CodeArtifact using the Toolkit.

This fixed it for me. Thank you.

Thanks for letting us know @fendric , glad to hear it.
@icelava I'll wait to hear from you before closing this issue

After installing <IP_ADDRESS> Visual Studio can launch and check for Nuget package updates without me having to manually log into CodeArtifact. Thanks.

Thanks for confirming!

Hi @baughj , thanks for letting us know that you still have problems. We are now going to consolidate similar issues on an issue representing the core problem.
Can you please have a look at https://github.com/aws/aws-toolkit-visual-studio/issues/452, and if your system is still in a bad state, please follow through the "help us out" section to help us collect more data about the problem.
If you are getting the "Some Toolkit components could not be initialized. Some functionality may not work during this IDE session." message, please comment on that issue going forward. Otherwise, please file a new issue, but try going through the guidance in 452.

Looks like the auto-credentials function is unstable. Some times it works transparently, some times it cannot connect.

error NU1301: Unable to load the service index for source https://domain-accountid.d.codeartifact.ap-southeast-1.amazonaws.com/nuget/repo/v3/index.json.

AWS Toolkit: <IP_ADDRESS>
Visual Studio: 17.11.2
I reinstalled Visual Studio, AWS Toolkit Extension and also cleared the cache and then finally it worked for me.
Before I had with the same versions the problem.

My Visual Studio is now running ver <IP_ADDRESS> and seems to be authenticating fine.
However it still seems to be remembering account profiles that I no longer have in my credentials file.
2024-09-12 16:47:47,623 [35] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 18
2024-09-12 16:47:47,624 [35] ERROR Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - The following credentials could not be loaded:
account1: Profile account1 is not using role-based, session-based, process-based, or basic credentials
account2: Profile account2 is not using role-based, session-based, process-based, or basic credentials


Escape apostrophes and special characters

I'm trying to ouput a PHP array of strings from a checkbox prompt and the apostrophes always get escaped.
I have the following in prompt.js :
  {
    type: 'checkbox',
    name: 'supports',
    message: 'Post type supports ?',
    choices: [ 'title', 'editor', 'thumbnail' ],
    default: [ 'title' ],
    filter: (supports) => supports.map((support) => `'${ support }'`),
  },

Which gives the following output when I use <%=supports%>
array( 'title','editor' )

How can I get this instead
array( 'title','editor' )

Found the solution in the EJS documentation here:
<%- Outputs the unescaped value into the template
So using <%-supports%> with the filter described in the original issue works as expected.


Allow broadcast/multicast traffic to UDP sockets

The path for broadcast seemed prepared, therefore adding multicast into it seemed logical.

@m-labs-homu r+

:pushpin: Commit 7a26517 has been approved by whitequark

:hourglass: Testing commit 7a26517b1fac950482f410d8810da078b6d7fc0c with merge 2d2b90fd0469c8de4c3469aca11b763874891b71...

:sunny: Test successful - status-travis
Approved by: whitequark
Pushing 2d2b90fd0469c8de4c3469aca11b763874891b71 to master...


skiplist: Memory leak in SkipList

Run the following command on crossbeam-skiplist:
RUSTFLAGS='-Z sanitizer=address' \
cargo test --release --target x86_64-unknown-linux-gnu --test base

AddressSanitizer reports memory leak:

output
+ RUSTFLAGS='-Z sanitizer=address'
+ cargo test --release --target x86_64-unknown-linux-gnu --test base
   Compiling autocfg v1.0.1
   Compiling libc v0.2.81
   Compiling getrandom v0.1.15
   Compiling cfg-if v0.1.10
   Compiling lazy_static v1.4.0
   Compiling cfg-if v1.0.0
   Compiling ppv-lite86 v0.2.10
   Compiling scopeguard v1.1.0
   Compiling memoffset v0.6.1
   Compiling crossbeam-utils v0.8.1 (/home/runner/work/crossbeam/crossbeam/crossbeam-utils)
   Compiling rand_core v0.5.1
   Compiling crossbeam-epoch v0.9.1 (/home/runner/work/crossbeam/crossbeam/crossbeam-epoch)
   Compiling rand_chacha v0.2.2
   Compiling crossbeam-skiplist v0.0.0 (/home/runner/work/crossbeam/crossbeam/crossbeam-skiplist)
   Compiling rand v0.7.3
    Finished release [optimized] target(s) in 14.27s
     Running /home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd

running 20 tests
test clear ... ok
test drops ... ok
test entry ... ok
test entry_remove ... ok
test entry_reposition ... ok
test front_and_back ... ok
test get ... ok
test get_next_prev ... ok
test get_or_insert ... ok
test insert ... ok
test insert_and_remove ... ok
test into_iter ... ok
test is_empty ... ok
test iter ... ok
test iter_range ... ok
test len ... ok
test lower_bound ... ok
test new ... ok
test remove ... ok
test upper_bound ... ok

test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

=================================================================
==4419==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 120 byte(s) in 5 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2cde29  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xc2e29)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 104 byte(s) in 4 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2d3dbb  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xc8dbb)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 56 byte(s) in 2 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2da652  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xcf652)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 48 byte(s) in 2 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2cab5b  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xbfb5b)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2bf896  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xb4896)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2da749  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xcf749)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2bf6a5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xb46a5)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2d5451  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xca451)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2d541b  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xca41b)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2dbda9  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xd0da9)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2bf4b4  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xb44b4)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2be4b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xb34b5)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2da7c5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xcf7c5)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2be4e9  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xb34e9)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2be501  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xb3501)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Direct leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2d115a  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xc615a)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Indirect leak of 128 byte(s) in 5 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2cab5b  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xbfb5b)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Indirect leak of 56 byte(s) in 2 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2cde29  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xc2e29)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Indirect leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2d546c  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xca46c)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Indirect leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2bfa87  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xb4a87)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Indirect leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2be519  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xb3519)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

Indirect leak of 24 byte(s) in 1 object(s) allocated from:
    #0 0x5636fa29a7ed  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x8f7ed)
    #1 0x5636fa3042b5  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xf92b5)
    #2 0x5636fa2be4d1  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0xb34d1)
    #3 0x5636fa338ad2  (/home/runner/work/crossbeam/crossbeam/target/x86_64-unknown-linux-gnu/release/deps/base-83127d336c549fdd+0x12dad2)

SUMMARY: AddressSanitizer: 936 byte(s) leaked in 36 allocation(s).
error: test failed, to rerun pass '--test base'

Found in #591 (https://github.com/crossbeam-rs/crossbeam/runs/1524623353?check_suite_focus=true)

This seems to be related to base::RefEntry not implementing Drop (https://github.com/crossbeam-rs/crossbeam/pull/337).
Also, this only happens with SkipList, and SkipMap and SkipSet don't seem to have this problem. (https://github.com/crossbeam-rs/crossbeam/pull/674)

FYI: Entry for SkipMap and SkipSet implements Drop, which in turn calls release_with_pin so these two types don't suffer from memory leak.
I don't necessarily think this is a bug as the doc comment on RefEntry explicitly states about this behavior, just that it is easier to shoot yourself in the foot than a typical Rust API. Of course not great, but a necessary evil when dealing with lock-free stuff IMHO.
Concerning the 0.1 release, is it feasible to make SkipList private as it is prone to misuse? Personally, it feels unnecessary to expose SkipList when we already have SkipMap and SkipSet.


feat: improve templating

What :computer:

improve templating

Why :hand:

Reason why first thing was added to PR
Reason why second thing was added to PR
Reason why third thing was added to PR

Evidence :camera:
Include screenshots, screen recordings, or console output here demonstrating that your changes work as intended

Notes :memo:

Any notes/thoughts that the reviewers should know prior to reviewing the code?

@0xWizar thanks for this PR. It would be great if you fill the description properly matching the implemented changes.

@0xWizar thanks for this PR. It would be great if you fill the description properly matching the implemented changes.


enhancement: a more straightforward method to get boundary by using geocode

As there is no GeoJson of Tanjong Pagar and it takes too long to simulate it for singapore, I think it is more straightforward to get boundary box from osmnx function, geocode_to_gdf.
I adapt the code from add_polygon_boundary function.
for example, m2 is the basemap of singapore.
from osmnx import geocoder
from ipyleaflet import GeoData

#Querying a boundary from geocode
gdf = geocoder.geocode_to_gdf("Tanglin, Singapore")

#Assigning boundary to the basemap
m2.polygon_bounds = gdf
polygon_style = {'style': {'color': 'black', 'fillColor': '#3366cc', 'opacity':0.05, 'weight':1.9, 'dashArray':'2', 'fillOpacity':0.6},
                                         'hover_style': {'fillColor': 'red' , 'fillOpacity': 0.2}}
layer_name = 'Site'
geo_data = GeoData(geo_dataframe = gdf,
                style=polygon_style['style'],
                hover_style=polygon_style['hover_style'],
                name = layer_name)
m2.add_layer(geo_data)

Notes: I use tanglin as opposed to Tanjong Pagar because in OpenStreetMap there are no boundary that represents it, it is mixed with central district and it takes too long to run central district boundary. I used tanglin because Tanglin suburb boundary is defined in the OSM.
It worked fine while using it in basic-functionality notebook.

Thank you for exploring. That looks like a nice way to combine functionality with OSMnx. Alternatively, for future reference, you can use this sample boundary that I prepared and hosted on Figshare: https://figshare.com/ndownloader/files/42515773.

#7 referencing issue and closing this issue since they are similar.


Center the navbar widgets

Having them on the edges made sense when Twitter filled the whole page, but this extension removes those boxes on the side of the feed, so there's no longer any good reason to keep the navbar widgets at the edges. Thoughts?
Before

After

What about loading indicator that shows up on the center of navbar? 🤔 Beside that I am neutral 😅 Btw. if you shrink your browser the elements of navbar are centering so styles already exists, it is only matter of applying them to wider media query.

@Miklet The loading indicator could just be moved somewhere else.
The change itself is very simple:
.global-nav .container {
	max-width: 820px !important;
}

It makes sense to center the navbar widgets. Would the spinner at the left of Home widget make sense?
I'd like to start taking up some issues, starting with this small one. I've only worked a year as a junior front end dev after which I quit, and it's after a long time that I'm touching anything code-y to make a comeback to learn things and eventually get a job, I'd really appreciate if I could do this right with some help.
@sindresorhus

@gdad-s-river Give it a go! Fork it and make a pull-request and we'll happily review it and point you in the right direction!


rmd-22906 Add mitigation get and update info task

@tonytvo please review.

@tonytvo PTAL, I added the extra tests you talked about.

@tonytvo PTAL, I added the failure tests.


List Vaults

I'm just wondering if there's a way to list/discover available Vaults?
My use case is I'm writing a Raycast extension and looking to use this API to get a list of Vaults, select one and allow the user to search/open/add.
Thanks for the great extension, it looks really useful!

Actually, thinking about it, Obsidian's plugins run per-vault so this would make sense!
Never mind.


CMP - later this year ?

Hi ! And thanks for this great library :)
I saw this on your brief :
User Message Platform (UMP)
Later this year, Google will require all publishers serving ads to EEA and UK users to use a Google-certified Consent Management Platform (CMP)
Currently we just support Google's consent management solution.
=> does it mean I'll have to update my app later this year with a CMP because currently you don't support it ? Just to be sure I understand it well. I would prefer to immediately comply with Apple and Google requirements if it's possible.
Thanks in advance,
Thomas

We already support that.

That's great :) So it is already inside this plugin or you recomand me a CMP to install ?
Thanks in advance,
Thomas

It is on the plugin.

Great thanks a lot !


Enable scale codec in fetch

Motivation

Part of #3271
Changes
enabled scale codec in fetch module
DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

bors try

bors merge


Support for Phi-2 model

I'd be interested in helping contribute this but would need some guidance. right now, it doesn't seem like other convert.py scripts will work out of the box
Microsoft has released the weights in .safetensors format on huggingface: https://huggingface.co/microsoft/phi-2/tree/main
would be great to be able to run this with MLX!

Done!

PR for anyone interested: https://github.com/ml-explore/mlx-examples/pull/97
thanks for adding so quickly! looking forward to trying this


RuntimeError: numel: integer multiplication overflow

Hi, thanks for sharing your work.
I followed the recommended environment setup instructions and ran into the following error while trying to run the demo. I am using python 3.9 (if that plays a role here). Looking forward to any suggestions to fix the error. Thanks.
RuntimeError: numel: integer multiplication overflow

The complete traceback for your reference:
Traceback (most recent call last):
  File "/home/jj/OpenSeeD/demo/demo_panoseg.py", line 107, in <module>
    main()
  File "/home/jj/OpenSeeD/demo/demo_panoseg.py", line 86, in main
    outputs = model.forward(batch_inputs)
  File "/home/jj/OpenSeeD/openseed/BaseModel.py", line 19, in forward
    outputs = self.model(*inputs, **kwargs)
  File "/home/jj/anaconda3/envs/openseed/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/jj/OpenSeeD/openseed/architectures/openseed_model.py", line 299, in forward
    processed_results = self.forward_seg(batched_inputs, task=inference_task)
  File "/home/jj/OpenSeeD/openseed/architectures/openseed_model.py", line 434, in forward_seg
    instance_r = retry_if_cuda_oom(self.instance_inference)(mask_cls_result, mask_pred_result, mask_box_result)
  File "/home/jj/anaconda3/envs/openseed/lib/python3.9/site-packages/detectron2/utils/memory.py", line 70, in wrapped
    return func(*args, **kwargs)
  File "/home/jj/OpenSeeD/openseed/architectures/openseed_model.py", line 558, in instance_inference
    print(scores, keep)
  File "/home/jj/anaconda3/envs/openseed/lib/python3.9/site-packages/torch/_tensor.py", line 427, in __repr__
    return torch._tensor_str._str(self, tensor_contents=tensor_contents)
  File "/home/jj/anaconda3/envs/openseed/lib/python3.9/site-packages/torch/_tensor_str.py", line 637, in _str
    return _str_intern(self, tensor_contents=tensor_contents)
  File "/home/jj/anaconda3/envs/openseed/lib/python3.9/site-packages/torch/_tensor_str.py", line 568, in _str_intern
    tensor_str = _tensor_str(self, indent)
  File "/home/jj/anaconda3/envs/openseed/lib/python3.9/site-packages/torch/_tensor_str.py", line 328, in _tensor_str
    formatter = _Formatter(get_summarized_data(self) if summarize else self)
  File "/home/jj/anaconda3/envs/openseed/lib/python3.9/site-packages/torch/_tensor_str.py", line 115, in __init__
    nonzero_finite_vals = torch.masked_select(
RuntimeError: numel: integer multiplication overflow

Hi,
Have you solved this problem? I also ran into a similar problem:
anaconda3/envs/seg/lib/python3.9/site-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3190.)   return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined] self.task_switch  {'coco': True, 'o365': False} anaconda3/envs/seg/lib/python3.9/site-packages/torchvision/transforms/transforms.py:329: UserWarning: Argument 'interpolation' of type int is deprecated since 0.13 and will be removed in 0.15. Please use InterpolationMode enum.   warnings.warn( ../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [0,0,0], thread: [96,0,0] Assertion index >= -sizes[i] && index < sizes[i] && "index out of bounds"failed. ../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [0,0,0], thread: [97,0,0] Assertionindex >= -sizes[i] && index < sizes[i] && "index out of bounds"failed. ../aten/src/ATen/native/cuda/IndexKernel.cu:92: operator(): block: [0,0,0], thread: [98,0,0] Assertionindex >= -sizes[i] && index < sizes[i] && "index out of bounds" failed. Traceback (most recent call last):   File "/mnt/d/ubuntu2004/OpenSeeD/demo/demo_panoseg.py", line 107, in <module>     main()   File "/mnt/d/ubuntu2004/OpenSeeD/demo/demo_panoseg.py", line 86, in main     outputs = model.forward(batch_inputs)   File "/mnt/d/ubuntu2004/OpenSeeD/openseed/BaseModel.py", line 19, in forward     outputs = self.model(*inputs, **kwargs)   File "anaconda3/envs/seg/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1194, in _call_impl     return forward_call(*input, **kwargs)   File "/mnt/d/ubuntu2004/OpenSeeD/openseed/architectures/openseed_model.py", line 299, in forward     processed_results = self.forward_seg(batched_inputs, task=inference_task)   File "/mnt/d/ubuntu2004/OpenSeeD/openseed/architectures/openseed_model.py", line 434, in forward_seg     instance_r = retry_if_cuda_oom(self.instance_inference)(mask_cls_result, mask_pred_result, mask_box_result)   File "/home/hyy/anaconda3/envs/seg/lib/python3.9/site-packages/detectron2/utils/memory.py", line 70, in wrapped     return func(*args, **kwargs)   File "/mnt/d/ubuntu2004/OpenSeeD/openseed/architectures/openseed_model.py", line 558, in instance_inference     scores_per_image = scores_per_image[keep] RuntimeError: numel: integer multiplication overflow
‘ python demo/demo_panoseg.py evaluate --conf_files configs/openseed/openseed_swint_lang.yaml  --image_path images/street.jpg --overrides WEIGHT ckpt/model_state_dict_swint_51.2ap.pt’
torch=1.13.1+cu116
torchvision=0.14.1+cu116
detectron2=0.6
ubuntu=20.04
Thanks.

It's about the "background", see https://github.com/IDEA-Research/OpenSeeD/issues/11.

@praeclarumjj3 @YuyanHuang Sorry for the late reply, we have fixed the bug.


pull request for e2e test at 12/06/2016 18:56:02

:white_check_mark: Validation status: passed
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.


[DC-2846] Update the RT notebook determining a participant's age

According to the ticket, the RT notebook, which determines a participant's age, is flawed:

The age threshold is hard coded to 89. A more flexible solution would be to parameterize this and default to using 89 with papermill parameters.
The day we run the CDR is unimportant. We need to determine the age at the cutoff date. CURRENT_DATE should be parameterized to a value that represents the CDR cutoff date.

This PR addresses these issues.

This notebook must have been created some time ago.  YAPF did not like its formatting whatsoever.


Customization of dev panel

Hello again. I`m successfully replace all blue colors to green except tabs in dev panel. Is it possible to replace blue accent to green in this tabs?

Also I found a strange white line in this panel. When I rename userChrome.css and userContent.css this line is disappearing.
This line block my console tab, I`m not able to write javascript code inside console.
I use latest version of shadowfox-updater and this is my ShadowFox settings

Hi @Crandel,
The tab line is controlled by --tab-line-selected-color, which now defaults to --accent-2.
It looks like the following lines from your userChrome_customization.css are causing the problem:
https://github.com/Crandel/home/blob/5e9f75b8b2f0b68081f7ccd4b9c5b71bb06380e1/.mozilla/firefox/chrome/ShadowFox_customization/userChrome_customization.css#L31-L34

I`m not able to find --tab-line-selected-color variable in my userChrome.css. How to enable it?
About white line. I fix mistake and changed color from white to dark, but text also became dark so I`m able to see the text only if I select it. Is it possible to override color exactly for console textarea?
Because my modifications let me change textarea colors in all websites I use and I want to keep them.

--tab-line-selecected-color was added in the latest commit (5fe368c), so you might have to update if you haven't done so already.  It should default to --green-80 for you now.
You can target the textarea for the console using textarea.jsterm-input-node.  That being said, removing those lines from userChrome_customization.css shouldn't have any effect on your customizations on websites - generally speaking, userContent alters webpages (about: pages, regular web addresses etc.), while userChrome alters browser components

Thank you very much for a really quick fix. Everything works great right now.

No problem, glad it works!
I noticed some other areas where ShadowFox doesn't switch the default blue, so I've opened up #200.  Feel free to add comments there for any elements you notice/would like to be able to change.


match()->first()

Example: (list of people, some with ages)
Clark, Brian 23, Olivia, Jane 24, Marcin 26

New API:

Returns a group from the first match or throws exception
pattern('[a-z]+(?: (?<age>\d+))?')->match($s)->group('age')->first();

Throw GroupNotMatchedException if subject matched, but group wasn't.

Returns a group from the first match or returns a control object
pattern('[a-z]+(?: (?<age>\d+))?')->match($s)->group('default')->forFirst()->orElse();

Also throws SubjectNotMatchedException if subject wasn't matched.

What should return types be?
pattern()->match()->firstOr($default)
pattern()->match()->group($g)->firstOr($default)

firstOr(?string $d) allow to pass only string or null
firstOr($d) allow to pass any type

forAll() and forOnly(int) would be a nice ideapattern('p')->match($s)->group('default')->forFirst()->orElse();
pattern('p')->match($s)->group('default')->forAll()->orElse();
pattern('p')->match($s)->group('default')->forOnly(int)->orElse();

But that would have to NEVER throw SubjectNotMatchedException. Also, what's a usecase??

Right now, the only way to conrol both match and group is
pattern('xd')->match($subject)
  ->forFirst(function (Match $match) {
    $match->group('age')->orElse()
    $match->group('age')->orReturn()
    $match->group('age')->orThrow()
  })
  ->orDefault('Nothing');


Visualize the feature maps ofLGA

How do you visualize the feature maps of different heads of LGA? Can you provide the code? Many thanks.

Hi, we visualized the feature map using seaborn.heatmap.


feat(note): :sparkles: add isEnharmonicWith method

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
860

Relevant Lines:
860

💛  - Coveralls


Support SageMaker warm pools in SageMaker back-end launchers, and upd…

…ate sagemaker version
Issue #, if available:
Description of changes:
Allows to use SageMaker warm pools as an option in launcher benchmarks/nursery/launch_sagemaker.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I'll sort out the problems of new jobs started too early in order to get assigned to warm pools, in the next PR


Publishing to Github Pages

I was attempting to publish to github pages following your docs and was receiving the error:  ReferenceError: path is not defined for the code below:
const opts = { cwd: path.resolve(__dirname, './build'), stdio: ['ignore', 'inherit', 'inherit'] };
Is path something I'm supposed to set within this file or could it be something else?
Thank you for taking the time to help!

^  Same error.
seems like you forgot to add something / removed by accident
did you figure out how to fix it? @Jdtanacredi

I think it must be:
const opts = { cwd: path.resolve(__dirname, './public'), stdio: ['ignore', 'inherit', 'inherit'] };

(push the contents of the /public folder to GitHub Pages, that's the folder containing the compiled output in the latest version of RSB)

Just have replaced ./build with ./public in GitHub Pages recipes [15e7787]

@Jdtanacredi @ferologics does this fix the issue?

It worked yesterday, then got stuck on a firebase issue (specific to me) and now it doesn't work :/

@koistya full error message -
master@masters-MacBook-Pro ~/F/website> node run publish
Starting 'publish'...
ReferenceError: path is not defined
    at tasks.set (/Users/master/Fero/website/run.js:116:23)
    at Promise.resolve.then (/Users/master/Fero/website/run.js:31:54)
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Module.runMain (module.js:577:11)
    at run (bootstrap_node.js:352:7)
    at startup (bootstrap_node.js:144:9)
    at bootstrap_node.js:467:3

Same Error~~

lol

@koistya it seems that the javascript doesn't get referenced properly.
https://lifeiscontent.github.io/OpenPoGoUI/
the JS isn't pointing to the correct path.

@lifeiscontent  I'm have the same problem?
https://USER.github.io/dist/main.47fc5621649d57c92a92.js
May be missing project name for gh-pages.

@ubatin here's my fix https://github.com/kriasoft/react-static-boilerplate/pull/131

@lifeiscontent your patch isn't push to gh-pages. But only build like original.
Here is my log with your patch
Starting 'publish'...
Starting 'clean'...
Finished 'clean' after 25ms
Starting 'build'...
Starting 'clean'...
Finished 'clean' after 3ms
Starting 'bundle'...
Time: 17626ms
                       Asset     Size  Chunks             Chunk Names
   0.961903d8d1fe3dc84d04.js  4.41 kB       0  [emitted]
main.47fc5621649d57c92a92.js   504 kB       1  [emitted]  main
Finished 'bundle' after 17764ms
Starting 'html'...
Finished 'html' after 5ms
Starting 'sitemap'...
Finished 'sitemap' after 2ms
Finished 'build' after 17774ms

Reopening this old thread. I think that the docs are out of sync with the changes made to the build system.
Editing run.js per the docs yields this after running node run publish:
node run publish
module.js:472
    throw err;
    ^

Error: Cannot find module '/Users/danyim/Developer/artgorithms/run'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:420:7)
    at startup (bootstrap_node.js:139:9)
    at bootstrap_node.js:535:3


Remove doc/doxygen/design_guide.dox as old docs remains

In the doc/doxygen, there are two files:

design_guide.dox
tutorial.dox

@stefanseefeld
Why they have been kept after migration to the new docs in reStructuredText?
Shall we remove it?

Could be an oversight. Yes, I think at this point doxygen should only cover the API reference guide. Everything else comes directly from sphinx.

I compared content of the dox vs rst versions of both files and they are equivalent.
I'm going to delete the .dox ones.


Absolutely positioned elements within parent containers render incorrectly

When hcSticky() is applied to absolutely positioned elements, the layout breaks.
Refer to below example:
http://jsfiddle.net/kleptomac/ju5esLh8/
The sidebar on the right is pushed out of the window when hcSticky() is applied. Commenting out the JS renders the sidebar in the correct position.
Expected behavior:
The default layout should not break when hcSticky() is applied to an element.

Obsolete. New major version available.


Can not get mobile browser packet or H5 app packet

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'   SEE TITLE
Type '....'   ./ecapture tls
See error   NONE
upload the log file  NONE

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Linux Server/Android (please complete the following information):

Device: [e.g. Pixel 4]  Pixel 6
Env: [run ecapture -v to get the eCapture version, or run the make env command for complete information]
OS: [e.g. Ubuntu 21.04]
Arch: [e.g. uname -a]
Kernel Version: [e.g. 5.10]
Version: [e.g. arm64:0.7.7-20240303-bfb4a8c:5.15.0-113-generic]

Additional context
Add any other context about the problem here.

Please describe your problem carefully

Low quality question, no response within 3 days, close it


Update weave testdata

Why is the data regeneration necessary?

Why is the data regeneration necessary?

The testvectors changed in the current version of the weave repository (somewhere between 0.16.0 and 0.19.0). This PR uses the data that matches our weave version: https://github.com/iov-one/weave/tree/v0.19.0/spec/testvectors
This update is part of an attempt to understand why the transactions signed by the Kissnet faucet are rejected by the blockchain at the moment. It looks like none of the tested encodings changed, so this does not help with the faucet issue. However, it makes sense to have the data in bnsd.json match the data we got from weave.


Issues with server to microtik router connectivity

There were two issues with microtik router and tp-link routers. Microtik router to server cable was spoiled for some reason and there is a network switch in the floor which was damaged.

There were no issues with the UTP cable. The software team never raised this issue. The networking team also never reported any ping issues. But the cable was changed regardless.


Add a wiki: Jurassic Park

Link to origin wiki: https://antifandom.com/jurassicpark/wiki/InGen
Link to destination (independent) wiki: https://www.jurassic-pedia.com/ingen-sf/
I was watching Cinema therapy's DUNE episode and i googled what was on Alan's shirt and this popped up.
It claims to be an unofficial encyclopedia, and while i doubt its 1:1 with fandom, IMO an encyclopedia is just a wiki by a more sophisticated name, what else would it be if not that?
As you can see from the example article linked above about ingen, its close enough i'd say and i'd very much be surprised if the jurassic pedia wasnt hosted by passionate fan members themselves.

Just wanted to note, this hasn't fallen off my radar. There are just several things to consider and review, including that Jurassic-Pedia is not exactly a wiki, and reviewing whether it's possible to support the site through Indie Wiki Buddy (fairly consistent article paths, search endpoint, etc.).

As far as I can tell, this Wordpress site is not publicly editable. According to the FAQ

What can I do if I have either noticed an error, want to expand a particular area that isn’t properly covered by you that I happen to know, or even revise one of your articles if it is missing critical information that was overlooked?
There are a variety of ways to get involved with us. Ideally, the best place is to register on our message board with a proposal so we can review it and discuss it. Oftentimes times if the proposal is something we definitely can use or even feel that we need we will update the relevant articles whenever we can on the next rotation in our staff. Every proposal given, even from regular contributors who have access is always properly verified for accuracy, authenticity, and suitability. If one is looking to get involved with the site after submission and review of their proposal it very well can lead to a contributor status being granted in lieu of having to go through the application process and having to apply with a writing sample. This isn’t always a “guaranteed in” though, but loyalty shown is loyalty earned and we will always reward people for demonstrating such initiative and even welcome it.

I believe this fails the first criterion for inclusion

The wiki should be editable by the public (that's what makes a wiki a wiki!)


We are not detecting sub segments if they are being used within the main segment

Version where bug was found:
e.g "5.1.0"
Describe the bug
We are not detecting sub segments if they are being used within the main segment which might be used in an experiment.
To Reproduce
Steps to reproduce the behavior:

Create an experiment with include or exclude segment which has a subsegment.
Check the segments tab on the left menu and we can see the subsegment with status as Unused instead of Used.

Expected behavior
Subsegment that belong to an used segment, should also be shown used as segment status.
Screenshots
Chicago Public School Dist 299 is used as subsegment inside Exclude From Research, but shown as unused as shown below:

Please find the sample segment and subsegment for recreating the bug.
segments_prod_CL.zip

QA: @zackcl

This seems to work only up to 2 levels. If the 'grandparent' segment has a 'parent' segment, which in turn has a 'child' segment, including the 'grandparent' in an experiment doesn't update the 'child' segment's status to 'Used'.

This seems to work only up to 2 levels. If the 'grandparent' segment has a 'parent' segment, which in turn has a 'child' segment, including the 'grandparent' in an experiment doesn't update the 'child' segment's status to 'Used'.

@Yagnik56 Can you please check this?

@Yagnik56 You don't need to check this. We decided to only support up to 2 levels for now and include this in our documentation.


Random ship amount after mission

This happens sometime, but when you return from battle (or other mission), it returns random fleet instead of original one.

Scary bug, i got this yesterday on my new instance, too.


Define final SparkFun Arduino class name pattern

Current thoughts are:
SparkFun_[Upper_Camel_Snake_For_Product_Name]

If we're following Microsoft for our style conventions then it should be first letter capital camel case.
Ex: SparkfunAs7331ArdI2c or SfeAs7331ArdI2c
Note this is different than what I'm currently doing in that UV sensor library.

FWIW I've personally started leaning more towards snake case in general. I think it's overall more readable, and then you don't have to do funky things with back to back acronyms. I don't have any strong opinions on how to capitalize, but having_underscores_between_words mimics natural writing more than crammingABunchOfWordsTogether.
Also, I would vote for an "SFE" prefix instead of "SparkFun".

Focusing on Arduino:
From what I see in Arduino Library Land, Library Names seem to follow {Company/Org name}{Library Functionally Name}, but it's also all over the map. And the include file for the library follows the library name.  So from a Library Naming standard, we use the above suggestion:  SparkFun[Library Specific Name] ...  Same for the header.   TBH I don't like it - too long and too  beginner focused - but it's Arduino and that seems to be the style.
For Library Class Names, the Arduino Library class name seems to be the same has the include file, which is the same as the library name/folder. While Arduino (as far as I can find) doesn't explicitly call this pattern out, they imply it in this document by referencing a library that does it.  https://docs.arduino.cc/learn/contributions/arduino-library-style-guide
I suggest we do this for our Arduino Libraries (folder, main header/impl and main overall class):
SparkFun_*[UpperCamelForProduct]
It's basically what's in place now.
Anything beyond that, we just use the sfeTk pattern. (lower camel).

When you submit a library to the Arduino library registry you will get warnings about those sorts of things from the github actions linter. See here: https://github.com/arduino/library-registry/pull/3744


Modifies Upgrading.MD for opening/closing Grape

Describes in more detail known impacts of the upgrade to 1.2.0 including what to do when opening / closing Grape::API

I'm nitpicking on text. Feel free to update/merge.

@dblock no worries. That's why I created a PR rather than just merge. I'll upgrade the text and merge


Enable php templating inside script tag

In jsbeautifier templating is turned on by default in HTML and turned off by default in JavaScript.
PHP templating inside javascript script tags needs to be enabled explicitly.
Fixes #46
Fixes #37
Fixes #31

Your the man, thanks for all your work on jsbeautifier @bitwiseman


Fast-RTPS 1.9.0 no longer builds with libasio-dev from Ubuntu 18.04

The changes in 1.9.0 appear to have increased the required version of ASIO beyond what is available upstream in Ubuntu 18.04. Were the changes intentional and are they necessary? ROS 2 currently uses ASIO from upstream Ubuntu in order to avoid conflicts between different vendored versions of ASIO so we would prefer to keep building Fast-RTPS with upstream.
Example build failures: https://ci.ros2.org/job/ci_linux/7573/console

#616 should fix it.

This should have been solved by #616
I have just done the following:
sudo apt install libasio-dev
# reports: libasio-dev is already the newest version (1:1.10.8-1).

mkdir src
wget https://raw.githubusercontent.com/ros2/ros2/foonathan-memory-vendor/ros2.repos
vcs import src < ros2.repos
colcon build --packages-up-to fastrtps --event-handlers console_cohesion+ console_package_list+ --cmake-args -DINSTALL_EXAMPLES=OFF -DSECURITY=ON

And build has been successful

Thanks for the quick fix! Is it possible to add CI coverage for using dependencies from upstream when they're available in order to catch issues like this before release?


Some questions in dagnn.AffineGridGenerator and dagnn.BilinearSampler

First of all, thanks a lot for your great source code.
But I have a question in "resnet52_market_stn_alignment.m" file. dagnn.AffineGridGenerator and dagnn.BilinearSampler correspond to the function name of pytorch .
I serarch in pytorch documentation but nothing found. would you tell me something about it.Thinks

Hi @Mr-zhu0912
I haven't the experience of SPT in pytorch. So you may check the pytorch tutorial. I think it could help you.
https://pytorch.org/tutorials/intermediate/spatial_transformer_tutorial.html
I think the function names are changed to affine_grid and grid_sample modules.
Note that we need the latest version of PyTorch that contains affine_grid and grid_sample modules.

@layumi
ok . i get it and will query it.  And there is a problem of the same type here in the "resnet52_market_stn_alignment.m" file.
What does it mean about "resnet52_market_stn_res_fine()" in line one"function net = resnet52_market_stn_res_fine()".
In all files,I did not find "resnet52_market_stn_res_fine()" definition.
Is it an API that can be called directly?
Thinks

In Matlab, this line means that we define a function called resnet52_market_stn_res_fine(), and it will return net.


ethtool: 6.1 -> 6.7

Description of changes
This commit updates ethtool to version 6.7
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

ethtool

Things done

Built on platform(s)

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

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

[x] Fits CONTRIBUTING.md.

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

Hello @bjornfor, would you mind taking a look at this PR when you have the chance? Thanks!

Thanks for reviewing @bjornfor. Do you mean close this PR and open a new one against the staging branch of nixpkgs?

@bjornfor, something went wrong here, this doesn;t look good. I followed the instructions in Rebasing between branches. I think I better close this PR before it gets worse. I hope it didn't ping all the people listed here. Sorry if it did!

@bjornfor, any idea what went wrong with the latest commit using rebase --onto? Have you seen this happen before?
I'm new here, so I'd like to understand to be able to continue contributing, otherwise it feels discouraging.
Thanks!

@mrgiles: I'm sorry but I don't do that operation a lot myself, so I don't know what went wrong.
I think it's just a micro optimization; one might just as well create a new PR.
Since a lot of people get pinged in this thread now, I think its best to continue in your next PR (ping me) or ask in https://discourse.nixos.org/ about the process/docs.


Send Confirmation Email

Send a confirmation email when a user registers.

This is to difficult for now (and not necessary).


update mapping for cognitiveSpeech

OPS Build status updates of commit a5fd79d:
:clock10: Incremental building: average incremental building time is 178 min(s) 39 sec(s)

OPS Build status updates of commit a5fd79d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

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.


 Number of images in meta_df: 1. Exiting.

this warning is not appearing anymore in the latest runs of shrec data. Closing this issue now, we can reopen it if it is seen again on a particular dataset.


No diary entry shortly after midnight

Avoid duplicates

[x ] Bug is not mentioned in the FAQ
[x ] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[x ] Bug is not already reported in another issue

Technical details

Device name: Samsung Galaxy A5 2017
Android version: 8
App version: 1.15.2

Describe the bug

When opening the diary shortly after midnight, there is no entry for today. See screenshot.

At about 1:10, there still was no entry.
At about 7:00, the entry appeared.
Steps to reproduce the issue

Open the diary shortly after midnight.
Expected behaviour

Show the diary entry foe today at 0:01.
Possible Fix

Additional context

Maybe it's because of the time change at end of March.

@DerVogel2020
What happens if you
a) close the app
b) switch to the main screen and go back to the contact diary?
Is there still no entry?

@DerVogel2020
It looks like the calendar is working on UTC time not local time (CEST = UTC+2 currently).
I enabled flight mode, disabled automatic date and time, then set the clock to tomorrow (Tuesday April 6, 2021)
00:10 then
01:10 then
02:10
It was only when I got to 2 AM that the calendar entry for Tuesday appeared. I tried Force Stopping the app each time to make sure it was not a refresh issue.
Afterwards I set the clock back again to 01:10 and the Tuesday entry disappeared.
Great catch!

@DerVogel2020
What happens if you
a) close the app
b) switch to the main screen and go back to the contact diary?
Is there still no entry?

Tried both after manually changing date and time.
The entry didn't appear.

@DerVogel2020
It looks like the calendar is working on UTC time not local time (CEST = UTC+2 currently).
I enabled flight mode, disabled automatic date and time, then set the clock to tomorrow (Tuesday April 6, 2021)
00:10 then
01:10 then
02:10
It was only when I got to 2 AM that the calendar entry for Tuesday appeared. I tried Force Stopping the app each time to make sure it was not a refresh issue.
Afterwards I set the clock back again to 01:10 and the Tuesday entry disappeared.
Great catch!

Just set the date and time to 2am and the entry appeared.
So is it a feature to change from UTC to local time or a bug?

@DerVogel2020

So is it a feature to change from UTC to local time or a bug?

The Google API uses UTC times, but I would expect the user UI to translate into local time. I think it is a bug, but we'll have to wait for dev feedback to see what they say.

I agree this shouldn't happen, I would also classify it as bug. I'll let you know when we fix it :)
Thanks,
Luka

@DerVogel2020 the bug will be fixed with https://github.com/corona-warn-app/cwa-app-android/pull/2835

Version 2.1 has been released today, can this be closed?

I didn't receive the update yet, but will check afterwards.

@Ein-Tim

Version 2.1 has been released today, can this be closed?

Please factor in that Android users may have to wait 48 hours until being offered a new release. I also don't have the new release yet and I like to be able to verify any fixes that I have been involved in using the released version (instead of a version built by myself with Android Studio). So please be a little patient before asking if Android issues can be closed - maybe asking after one week following a release if there is no movement in an issue would be a good rule of thumb.

@MikeMcC399
Okay, I'll try to be more patient here (:
Thank you for your feedback 👍

@DerVogel2020
Now that I managed to access the new 2.1 release from Google Play Store I went through the repro steps from https://github.com/corona-warn-app/cwa-app-android/issues/2740#issuecomment-813443209.
I enabled flight mode, disabled automatic date and time, then set the clock to tomorrow (Tuesday May 4, 2021) with time 00:10.
The calendar entry for Tuesday appeared with the clock set to 00:10. As far as I can see, the issue is fixed.
You might like to check this for yourself. Great that you spotted this issue and reported it!

Works as expected.

@DerVogel2020 @MikeMcC399 Thanks!

Corona-Warn-App Open Source Team


What's the weight initialization method?

What's the weight initialization method?

The word embedding is initialized with Glove. The conv weights are initialized with pytorch default initialization method.


Create gh-pages HTML and Distribution site

Should allow users to use:
net inst statastan, from("https://stan-dev.github.io/statastan")

To install directly from Github.

@robertgrant do you want travis turned on? It looks like travis-ci changed their defaults.
There are a few reasonable options:

Have travis not run if it's missing a .travis.yml
Have travis not run
Include the .travis.yml file that @wbuchanan has added.

I think if we go to option 1 or 2, we should revert a699d35.

@syclik Do you know if the build would pass with a blank configuration file?  I tried to create the config file just to get it through the CI build but if it would pass with a blank config file that might be the best long term solution (since I'm assuming they won't be supporting Stata).  There is a Stata user who has done some work with Travis CI before (@bquistorff) who might be able to provide some suggestions that are more Stata specific.

There's a setting in Travis to not build when the configuration file is missing.
I have no idea why that's not the default for new repos.
Anyway, I think we should just do that and enable Travis only if there's a config file. We should just remove the config file from this pull request. Sound ok?

On Feb 22, 2016, at 4:48 PM, William Buchanan<EMAIL_ADDRESS>wrote:
@syclik Do you know if the build would pass with a blank configuration file? I tried to create the config file just to get it through the CI build but if it would pass with a blank config file that might be the best long term solution (since I'm assuming they won't be supporting Stata). There is a Stata user who has done some work with Travis CI before (@bquistorff) who might be able to provide some suggestions that are more Stata specific.
—
Reply to this email directly or view it on GitHub.

@syclik Totally fine with me.  I just removed the fake config file and pushed the change to my repository.  Let me know if there's anything you need me to do.

Thanks. I don't need anything else on my end.
@robertgrant action is to you.


feat(style): Add Noto font family

Issue #625
Add Noto Sans and Noto Sans Mono fonts

Could not make tests fail locally and I don't know what's wrong, adding back woff file.


erorr on windows

[ ] I have checked the documentation and related resources and couldn't resolve my bug.
i ran following code of ragas on windows 10
Ragas version: 0.1.4
Python version: 3.9
Code to Reproduce
``
from datasets import Dataset
import os
from ragas import evaluate
from ragas.metrics import faithfulness, answer_correctness
os.environ["OPENAI_API_KEY"] = "your-openai-key"
data_samples = {
'question': ['When was the first super bowl?', 'Who won the most super bowls?'],
'answer': ['The first superbowl was held on Jan 15, 1967', 'The most super bowls have been won by The New England Patriots'],
'contexts' : [['The First AFL–NFL World Championship Game was an American football game played on January 15, 1967, at the Los Angeles Memorial Coliseum in Los Angeles,'],
['The Green Bay Packers...Green Bay, Wisconsin.','The Packers compete...Football Conference']],
'ground_truth': ['The first superbowl was held on January 15, 1967', 'The New England Patriots have won the Super Bowl a record six times']
}
dataset = Dataset.from_dict(data_samples)
score = evaluate(dataset,metrics=[faithfulness,answer_correctness])
score.to_pandas()
``
Error trace
RunTime error: event loop is closed.

`class Runner(threading.Thread):
def init(
self,
jobs: t.List[t.Tuple[t.Coroutine, str]],
desc: str,
keep_progress_bar: bool = True,
raise_exceptions: bool = True,
run_config: t.Optional[RunConfig] = None,
):
super().init()
self.jobs = jobs
self.desc = desc
self.keep_progress_bar = keep_progress_bar
self.raise_exceptions = raise_exceptions
self.run_config = run_config or RunConfig()
    # create task
    #self.loop = asyncio.new_event_loop()
    self.loop = asyncio.get_event_loop()
    self.futures = as_completed(
        loop=self.loop,
        coros=[coro for coro, _ in self.jobs],
        max_workers=self.run_config.max_workers,
    )`

modify the loop then it works, but get NaN

Facing the same issue

facing the same issue

Facing the same issue

I encountered the same problem in the following environment:
Operating system: win 11
python version: 3.8
ragas version: 0.1.8
When I changed the python version to 3.10, the problem was solved.


[CMake] Link with librt only when platform toolchain has it

Not all POSIX platforms have rt as a separate library. QNX has rt as part of libc (same as pthreads).
Add condition to check if the library can be found and link with it only in positive scenario.
A solution for: https://github.com/grpc/grpc/issues/34254

@yashykt thanks for the hint!
Done and pushed.
P.S.: sorry for late feedback.

@yashykt anything else is required from my side?

@yashykt @eugeneo hello folks.
Is there anything else I can do to merge this PR into main branch?
Looks like it's left without attention and I want to make sure you have everything from my side what you need.
I didn't mean to push, but what's the approximate time to merge this type of changes?
And what are the chances for it to appear in the release in the nearest future?

@yashykt can you please take a look?

Sorry for the delay, taking a look

Thanks for the PR!


Allow restoring from a local archives

This PR adds the following:

A rake task that allows you to download all events archive files from S3 to a server
A rake task to use those files locally
A documentation page explaining all this

We are currently using these tasks to 1) download the archive files to our own machine, 2) restoring a subset of events to use in content-tagger.
Trello: https://trello.com/c/HYg8SgMU

Closing this, going to try a larger refactor.


Detect f1_keywods clashing

This is a reminder for me to write a tool that detects f1_keywords clashing, such as the one mentioned in https://github.com/dotnet/roslyn/issues/46988
It's okay if anyone wants to do that before I get to it.

This is a cool idea @Youssef1313

add @rloutlaw and @kexugit for known.

@OsmondJiang I can't see any build warnings despite the existence of duplicate f1_keywords.

@OsmondJiang I can't see any build warnings despite the existence of duplicate f1_keywords.

Yes, it's not enabled for f1_keywords, you need contact with PM @meganbradley if you want to enable this feature.

Yes, it's not enabled for f1_keywords, you need contact with PM @meganbradley if you want to enable this feature.

cc: @BillWagner

Here are some clashings in the C# area:
@
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\compiler-options\response-file-compiler-option.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\tokens\verbatim.md
default
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\keywords\default.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\default.md
default_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\keywords\default.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\default.md
is_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\keywords\is.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\type-testing-and-cast.md
+_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\addition-operator.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\arithmetic-operators.md
-_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\arithmetic-operators.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\subtraction-operator.md
&_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\bitwise-and-shift-operators.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\boolean-logical-operators.md
^_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\bitwise-and-shift-operators.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\boolean-logical-operators.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\member-access-operators.md
|_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\bitwise-and-shift-operators.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\boolean-logical-operators.md
!_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\boolean-logical-operators.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\null-forgiving.md
()_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\member-access-operators.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\type-testing-and-cast.md

@Youssef1313 I have talked your requirement with our PM, I believe she will contract with you soon, but don't hesitate to directly find her :)

@Youssef1313 Do those .md files have single or multiple F1 keywords?

@kexugit They can have one or more.
But the issue is the same F1 keyword existing in two files. For example !_CSharpKeyword, it appears in boolean-logical-operators.md and null-forgiving.md. This requires a Roslyn fix in addition to the docs fix.
On the other hand, the duplication of +_CSharpKeyword will probably not require Roslyn fix. Only docs fix to remove it from one of the articles.
+_CSharpKeyword
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\addition-operator.md
        C:\Users\Youssef1313\Desktop\docs\docs\csharp\language-reference\operators\arithmetic-operators.md

@Youssef1313 I'm working with @meganbradley to see if we can add a Docs validation for duplicated f1 keywords.

Created feature: https://ceapex.visualstudio.com/Engineering/_workitems/edit/293211


Broken link

Issue in ./help/using/offers/data-collection/create-dataset.md
The link at the end of this sentence is broken and doesn't take the user to a page detailing ranking strategy.
"This dataset can now be selected to collect event data when creating a ranking strategy."

Thanks for your feedback. The page will soon be updated.
Internal reference > DOCAC-8999

The issue is now resolved


shortcut to move left/right on opened projects

How can we move left/right when we have multiple projects opened?
Example: I want to move to the package.json in project "Quant01" on the left (without touching the trackpad!)

Anybody can help on this? :(

That project tab thingie is not something this package is handling. If it's a native atom thing you could perhaps ask in https://discuss.atom.io/


Prepare for 2.0

This PR prepares the element for Polymer 2.0 by replacing content elements with slot.
It also removes the dependency on iron-icons and av-icons and packages it's own copies of the needed material icons instead.

Thank you for the pull request. I am quite busy at work right now with a tight deadline soon. I will check your PR out and test it as soon as I have time.

Thanks. Take a look at safari support and see about the :not(:-webkit-fullscreen) selector, I'm not sure if I properly converted it


Socketcluster 16.x stopped working due to underlying library update

Crossposting here for visibility to whomever, like me, is still using socketcluster 16 and noticed that your containers on k8s stopped working properly all of a sudden SocketCluster/ag-simple-broker#2

I added some extra info on the issue in ag-simple-broker repo in case anyone else encounters this problem.


Add --ci flag, circle ci integration

The new --ci flag enables CI integration mode for build/test/e2e commands. It sets progress logging to false and for test/e2e also uses chrome with --no-sandbox flags, required when running chrome in CI like Travis or Circle CI.

Do you think it is a good idea to add the chrome headless flag too?

I thought about it, but it needs chrome 60 on Windows and that's not out yet so adding it would break some platforms. Some CI providers also only have older versions of Chrome by default.
When it's out I'd like to add a --headless flag to test/e2e and have -ci also toggle it. That way it can be disabled via --ci --no-headless.

Blocked for discussion.

I would like to mention that headless is quite convenient for local testing too because it doesn't open a redundant window. What's more, a selenium grid is often used for continuous integration, long before Chrome headless born.

I'm against this. Disabling sandbox is up to the user's configuration, as local testing and CI testing is a lot different. We should not patch the Karma configuration on the fly, too.
By the way, I know Chrome is popular, but it isn't the only browser. I feel this is too subjective. ChromeHeadless exists in karma-chrome-launcher, so it could make sense to add it to the default blueprint, as an alternative.

@ishitatsuyuki headless is a separate discussion that still requires --no-sandbox configuration AFAIK.
Removed the --ci flag that was included in this PR, instead added some documentation on how users can configure their projects for travis/circleci in https://github.com/angular/angular-cli/pull/6947.

Closing temporarily while I run some tests on circleci in my fork.


Socket selection radius

Have only tested on macOS, but it seems like sockets are a bit shy and reluctant to be selected. I think ideally they should take priority over everything else, unless the cursor is directly over another ui element.
Video:
https://github.com/mitchmindtree/egui_graph/assets/10366310/f9e795b4-10d2-4747-9a2f-81524c06ba73

I have also noticed the exact behaviour shown in the video. Agree it would be nice if they were a bit more greedy in taking ownership over selection.


Add support for ACME_CHALLENGE_DIR environment variable

Add support for an ACME_CHALLENGE_DIR environment variable. If the variable is set and -manual=true is given, automatically place the generated challenge file in $ACME_CHALLENGE_DIR/.well-known/acme-challenge.
This is helpful when batch-processing the retrieval of certificates.

Signed it.

Thanks for this. Quite useful. I would make it an additional command line arg first and then add ACME_CHALLENGE_DIR as an alternative way of defining flags.
Otherwise, we start mixing env vars and flags, and it'll become harder to use the tool.

Thanks for the feedback!
I'm open for both, environment or cmd flag, I just used an env because the other directory ACME_CONFIG was also set via the environment.

Right, there's indeed ACME_CONFIG but it's an alternative to -c cmd line flag.
We could replace -s host:port flag with -l <host:port|local_dir>, trying to avoid too many flags. wdyt?

First thought is, that parsing host:port is not that easy, as theoretically it's possible to have a filename containing the : character. This might not even that unlikely, if someone uses /var/www/example.com:81 as a root dir for a service on port 81. We could use file:/// as an indicator, but it feels not very intuitive.
What about renaming/ using the -manual flag to accept a path argument, and use interactive mode if the path is empty or true. We could also consider removing the interactive mode completely. Is there a scenario where it is useful when it's possible to specify the path using a flag?

Is there a scenario where it is useful when it's possible to specify the path using a flag?

Well, yeah. for instance, https://getmdl.io is served from a GCS bucket and that's how I get it working with Let's Encrypt cert - placing a temporary token file into gs://my-bucket/.well-known/..., which is then accessible to the CA as getmdl.io/.well-known/... to verify domain ownership.
I can see many other options, e.g. AWS S3 or another kind of storage not accessible directly via file system calls.
Agree on mixing host:port with a local dir is bad, but hesitant on reusing -manual as it feels the opposite to me: manual means the program is handing over control to a human.
Note that -s host:port could also be used for resolving TLS-SNI challenges in the future, not only HTTP-01.
Maybe then another flag would work? Say, -http01-dir=path/to/root to indicate this is used only for a specific challenge, which will also mean -s and -http01-dir are mutually exclusive.

It seems to me that a new (mutually exclusive) flag indeed seems like the most straightforward idea. -http01-dir sounds good to me.

Forgot to add, having -http01-dir arg will also allow future implementations for non-fs storages:
# GCS bucket
-http01-dir=gs://bucket
# AWS S3
-http01-dir=s3://bucket
# ssh/scp
-http01-dir=ssh://user@host:path/to/root


frescobaldi: 3.1.3 -> 3.2

Description of changes
https://github.com/frescobaldi/frescobaldi/blob/v3.2/ChangeLog
Things done
• Updated frescobaldi
• Added new qpageview dependency

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@camillemndn please review if this works for you :)