Docs: structure + updates

Summary
Documentation updates
Details and comments
TODOs based on user feedback:

[x] About Quantum Serverless
[x] Installation
[x] Preinstallation

[x] pip install quantum-serverless in your local environment
[x] If you want to deploy on your own infrastructure, link out to deployment info

[x] Getting Started

[x] Running a program remotely. this only shows how to create program, save results, use jupyter widget to visualize job status, placeholder for credentials “token=…”, “host=…” for remote infrastructure, “warning” that everything in your working directory is shipped out remotely
[x] Running your program (reorder examples to the following:)
[x] Passing input arguments to your program
[x] Using python packages with programs
[x] Parallel workflows in programs
[x] Retrieving results from old programs

[x] Example programs

[x] VQE

[x] link to the source program file from the notebook

[x] QAOA

[x] link to the source program file from the notebook
[x] this is missing the final Sampler call to get the optimal solution. See this example.

[x] Migration guides

[x] Converting from Qiskit Runtime programs

[x] Deployment

Whaaaa?! 🤔
Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled (Client.Timeout exceeded while awaiting headers)

that happens very infrequently (usually a network flake or flicker)... I just reran the test and I'd assume this time should be fine (:crossed_fingers: )

hmm... Just had it fail pulling r4 locally, but then succeeded the next time...
$ docker pull bitnami/keycloak:20.0.5-debian-11-r4
20.0.5-debian-11-r4: Pulling from bitnami/keycloak
Get "https://registry-1.docker.io/v2/bitnami/keycloak/manifests/sha256:3cd9558d458d583e0c3b22918f5b194d75d2d89c2091d68b06e6d74ec4a5bda9": EOF

$ docker pull bitnami/keycloak:20.0.5-debian-11-r4
20.0.5-debian-11-r4: Pulling from bitnami/keycloak
Digest: sha256:f0b821c44296b2461331cce1b0abbbff9c284bb6a037b8ccde8bbea4fe23ec3f
Status: Downloaded newer image for bitnami/keycloak:20.0.5-debian-11-r4
docker.io/bitnami/keycloak:20.0.5-debian-11-r4

btw, this images is ooooooold (20.0.5-debian-11-r4 was last pushed 7 months ago...)

I'm looking through the built docs as I'm reviewing, and I think I feel strongly that the Running section should be merged into Getting Started. Getting Started can just be the collection of these simple notebooks that feature some basic, fundamental feature of Serverless.
Still going through everything, but thought this deserved its own note.

hm , looks like docker registry is not feeling well today 😷
Ok, I will let it sleep tonight and check tomorrow morning :)

I'm looking through the built docs as I'm reviewing, and I think I feel strongly that the Running section should be merged into Getting Started. Getting Started can just be the collection of these simple notebooks that feature some basic, fundamental feature of Serverless.

@caleb-johnson let me know if I need to merge those sections. I have no strong feeling about it. It was just in a feedback doc

seems dockerhub is back to playing nice again :smiley:

I'm looking through the built docs as I'm reviewing, and I think I feel strongly that the Running section should be merged into Getting Started. Getting Started can just be the collection of these simple notebooks that feature some basic, fundamental feature of Serverless.
I find the term Running to be vague, and I think merging this leans up things for the better.
Still going through everything, but thought this deserved its own note.

@jenglick , any thoughts on merging these 2 sections?

@IceKhan13 , do we have a Quantum Serverless logo? It'd be nice to have something for the thumbnails in our docs. The "NO THUMBNAIL" is just too ugly :P

provider = Provider(
    username=os.environ.get("GATEWAY_USER", "user"),
    password=os.environ.get("GATEWAY_PASSWORD", "password123"),
    # token=os.environ.get("GATEWAY_TOKEN", "<TOKEN>"), # token can be used instead of user/password combination
    host=os.environ.get("GATEWAY_HOST", "http://localhost:8000/"),
)

----------------

| Message: Http bad request.
| Code: 400

I'm running jupyter docker profile and run running/notebooks/01_...  and getting an HTTP request?
@IceKhan13 , should this notebook run under the jupyter profile available?

I'm looking through the built docs as I'm reviewing, and I think I feel strongly that the Running section should be merged into Getting Started. Getting Started can just be the collection of these simple notebooks that feature some basic, fundamental feature of Serverless.
I find the term Running to be vague, and I think merging this leans up things for the better.
Still going through everything, but thought this deserved its own note.

@jenglick , any thoughts on merging these 2 sections?

agreed!

@caleb-johnson your PR merged. Let me know if we can merge this?

@caleb-johnson your PR #986 merged. Let me know if we can merge this?

I'm going to submit 1-2 more PRs to address @jenglick feedback, and then we can merge.

@IceKhan13 , any idea why serverless/getting_started/experimental/experimental_running_programs_using_decorators.ipynb cannot find the module serverless/getting_started/experimental/source_files/circuit_utils.py in the CI?
This works for me locally. The only thing I can think is that maybe it is looking in some other source_files directory?


How to use BackboneFinetuning callback?

📚 Documentation
Hi lightning team,
I am trying to implement finetuning of a custom model I have pretrained weights of.
It's a transformer architecture with a classification head on it.
I found this callback: https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.callbacks.BackboneFinetuning.html#lightning.pytorch.callbacks.BackboneFinetuning
But i think this doc is not self sufficient as I don't really know what's expected from my model.
Do I need to have specifically named self.backbone and self.head attributes in my model class for it to work?
A more in-depth example could prove valuable here.
Thanks a lot in advance.
Antoine
cc @borda

Hi @awaelchli, can I work on this issue if it's a good-first issue?

Any pytorch-lightning contributor who can help me start with this issue?


there is no admob lnterstitial ads  sdk installed. just a banner ad

there is no admob Interstitial ads which are in limelite for the revenue , i wish we get that feature or support with  banner ads would be great

this feature will be added to the coming pro variant.


Upcoming upstream breaking API change in 1.6.36-SNAPSHOT

The ABOVE_MAP overlay layer is being removed. You have an overlay which uses this layer. To update it to have the same behavior as before, use:
setLayer(OverlayLayer.MANUAL);
drawAfterInterface(WidgetID.WORLD_MAP_GROUP_ID);

Alternatively if you do not actually require your overlay to be above map, consider changing it to just use ABOVE_WIDGETS. If so, it is recommended to submit this change prior to the next release to avoid the plugin becoming unavailable.

This did the trick:
drawAfterLayer(WidgetInfo.WORLD_MAP_VIEW);

Resolved in 9bd22a2f15b6731e321d62b5f4e290ca0fd576a7

This did the trick:
drawAfterLayer(WidgetInfo.WORLD_MAP_VIEW);

Resolved in 9bd22a2f15b6731e321d62b5f4e290ca0fd576a7


Fix tests by pinning versions of webpack

Looks like a newer version of webpack has broken tests, so let's use
package-lock.json to pin to an older version while we wait for a fix.

cc @xtuc not sure what changed recently but you may be interested in this

Yes, it's since Webpack 4.10.0 I believe. I'm on it sorry about that.

er mixed up branches, this is now at https://github.com/rustwasm/wasm-bindgen/pull/219


Logging

Need logging for:

bad extraction of text from HTML
no results for given source-day
info at beginning about number of source-days
total items to download and time elapsed?

Logging doesn't work well with multiprocessing. The temporary workaround is more try-except and printing, and the print output can get piped into a "log" file. Longer term, there has to be a better way.


Data Pre-processing script

@ytz let's connect tomorrow sometimes in terms of syncing the work between our scripts + feature engineering.
After reviewing the milestone document I think it makes sense to include feature engineering in your data clean/pre-process/transforming script and then my script can then focus on taking the prepared data and performing model selection/model building, but we can chat details tomorrow.

@nicovandenhooff some high-level thoughts:
The output of the preprocessing script will be a cleaned train.csv and test.csv in data/processed/. You can assume the clean data has numeric columns without NULL. Essentially you can just plug it into ML algo straightaway.

The train-test split will be done by chronological order (i.e. test starts towards the end of the year)
Month column will be dropped. Don't think it is useful for modelling
Some light feature engineering and transformation (e.g. OHE) will be done

I should be able to merge and initial version by this afternoon. We can then iterate on it by adding more features or transformation if needed.
Note: Some features have outliers. Not too sure what to do with it for now. We can discuss further tmr.

Awesome - thanks @ytz that sounds great thanks for the info.  I was planning to work on the ML piece this evening so your plan to work on the script in the afternoon fits perfectly with my plan.
I was thinking for today we can keep the analysis high level (given time restrictions with the Saturday deadline) and train "quick and dirty" models, then later in the week or even a future milestone we can iterate and deal with outliers/add new features etc.  but just a thought.

Hi @ytz @nicovandenhooff With respect to the EDA charts, it will be difficult to create the charts with the columns already transformed by one-hot encoding. I think it would be better if the OHE is done at the ML script stage. Let me know what you think.

Yeah @arijc76 - that is a good point.  I guess since the output of the data pre-processing script is required to be the input of the EDA script then we would need to move the functions related to feature engineering into the ML script.  @ytz let me know if you have any other ideas though.

Hey @nicovandenhooff @arijc76 - good point. An easy way would be to output additional train.csv and test.csv just before the transformation step. I suspect standardize feature might not be great for EDA charts too.

One minor thing I noticed in this script - we use the word input as a docopt parameter and then throughout the script as the input file name.  Would suggest changing this to input_path since input is a reserved word in python for user input.
Also - in the future I think it would be a good idea to complete code reviews in advance of accepting PRs (helps the collaboration aspect of the project).  Maybe we can discuss tomorrow if we want to do 2 reviews per PR or only 1 to be more efficient.

Thanks, good catch! Have made the changes (along with other documentation changes) in this PR #19

@ytz just a heads up a couple things I noticed when trying to run the ML script on the data generated by this script (I should have tried this last night sorry)

Changing revenue to yes/no from 1/0 breaks sklearn, I'll remove this line for now then add labels back when the confusion matrices are generated
feat_engineer creates some np.nans since there are some training instances that have a total_duration of 0, which is causing some division by zero in the model process.  I'll just add a part to this function at the end to fill all nans with 0 (should be safe since there are no nans prior to feat engineering

Since they are quick edits I can just make them and then I'll include them in my pull request with the ML stuff later!
Thanks


Performance Concerns with SC4S Dashboard (Proposal update attached)

Was the issue replicated by support?
No
What is the sc4s version ?
3.28.1
Which operating system (including its version) are you using for hosting SC4S?
Rocky Linux 8.10 (Green Obsidian)
Which runtime (Docker, Podman, Docker Swarm, BYOE, MicroK8s) are you using for SC4S?
Docker
Is there a pcap available? If so, would you prefer to attach it to this issue or send it to Splunk support?
N/A
Is the issue related to the environment of the customer or Software related issue?
Software
Is it related to Data loss, please explain ?
No
Last chance index/Fallback index?
N/A
Is the issue related to local customization?
No
Do we have all the default indexes created?
N/A
Describe the bug
Certain Dashboard panels could leverage tstats to accomplish the same task, drastically improving performance and reducing resource usage.
To Reproduce
Sample new Dashboard XML attached.
sc4s_dashboard_proposal.TXT

Hi @makal27
The suggestion is greatly appreciated. We will look into it and will take further actions.

Hello @makal27 I have your changes in https://github.com/splunk/splunk-connect-for-syslog/pull/2592 and will merge them in 3-4 weeks in the second new release from now, but would you like to submit a PR on your own for the credit?

@mstopa-splunk I appreciate the offer; I'll defer to your standard procedures.  Thank you!

sure, thank you for your contribution!


tests: Add a docstring to fix CI

It looks like with Rust 1.83, #[deny(missing_docs)] started triggering for our integration test. It looks like this is a known thing: https://github.com/rust-lang/rust/issues/130203#issuecomment-2348014975

Huh, this pull request got confused, at least in my view of the UX. The bottom shows it as merged, but the top shows the "closed unmerged" icon.

The code landed in git so we're all good anyways.


Laravel 7 support ?

I saw you committed support for L7, but not released. Is there an issue about it I could help with ?

@Nuranto I tried of install you "Fork" and I got same problem, that laravel 6 is necessary, and at the end I had to do another "Fork" change "^6.0|^7.0" for only "^7.0"
P.S. In #33 I see that the "The Travis CI" failed, I don't know if it has something to do with it.

@joserick Strange, it's working here...?
Yes the test fail on database migrations. I think it is because @michaeldrennen is refactoring this part, but in my case that's not important as the migrations were already processed.

Fixed in new release.


Adobe Air - Pushwoosh ANE 1.5.0: extCtx is null. (iOS)

I am using Air v.23, tried it on iOS 8.4.1 and on iOS 10.2.1
using the ANE and the SWC from the latest github push (downloaded today)
and I am getting this error:
extCtx is null.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at com.pushwoosh.nativeExtensions::PushNotification/onDeviceReady()[/Volumes/workspace/workspace/pushwoosh-publish-adobe-air/ANE-Pushwoosh-src/actionscript/src/com/pushwoosh/nativeExtensions/PushNotification.as:122]
	at MedMobileFlex/callPushServices()[/Users/morscad/Documents/WORK/WEB/Design Is Yummy/MedMobile/MedMobileFlex/src/MedMobileFlex.mxml:154]

Didn't try Android yet.
help?

sorry wrong project. re-posted in the adobe air project


Upgrade packages

Codecov Report

Merging #218 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #218   +/-   ##
=======================================
  Coverage   48.27%   48.27%
=======================================
  Files          22       22
  Lines         290      290
  Branches       57       57
=======================================
  Hits          140      140
  Misses        113      113
  Partials       37       37

Continue to review full report at Codecov.

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

Coverage remained the same at 41.814% when pulling 7d25211733cfd780d3c036082528c552662207f1 on upgrade into 84003782c113bfefe762bc7ec45b5f423979c37c on master.


⚠ Fetchers has degraded performance

In 3cf1322, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 236 ms

Resolved: Fetchers performance has improved in 4376543.


Support to get github api from specified json path and custom asset host prefix

Support to get github api from specified json path and custom asset host prefix
Description

add $DaprReleaseJson  to specfied github api responce json
add $CustomAssetPrefix to replace github.com with specified custom asset host
download github release file with browser_download_url instead of url with api

for example, developer could run this script to download and install dapr in China to get better network expreince:
./install.ps1 -DaprReleaseJson "https://gitee.com/dapr-cn/dapr-bin-mirror/raw/main/cli/releases.json" -CustomAssetPrefix "https://ghproxy.com/https://github.com/dapr/cli/releases/download/"

Issue reference
close: #647
Checklist

[X] Code compiles correctly
[X] Created/updated tests
[X] Extended the documentation

@yaron2 Can you take a look at this PR?

FYI @artursouza this looks good.

LGTM
Just make sure to fix a few typos and the README (including the example).

Thanks and updated


Source Code Location vs. Type Assembly

I was just using source.dot.net and searched System.String. It works as expected, I get the source code for the string in System.Private.CoreLib (finally without getting lost in the CoreCLR project and the mscorlib sub folder). However, as a normal consumer I would have suspected the type in System.Runtime where the normal compilation links against. This is a planned difference between source.dot.net and apisof.net.
I would ask for a also integrating the TypeForwarders (well knowing that most of them are build artifacts ;)) into the source browser, so this detail of the source code is also highlighted.
@terrajobst

We have some logic to resolve forwarded types here:
http://sourcebrowser.azurewebsites.net/#HtmlGenerator/Pass1-Generation/DocumentGenerator.References.cs,562
@alexperovich

When I added source indexing to corefx I had it use the implementation assemblies as references so it would properly follow type forwards into corelib. See: https://github.com/dotnet/corefx/pull/12326/files#diff-4de71e7a0fd952be821f8af2768281dcR73
The indexer will properly resolve forwarded types but I don't believe it has any way to say that type X was forwarded from assembly A to B.

This would be very good to understand the details of these classic System.Runtime/mscorlib fun but also the current netstandard.dll/System.Runtime/System.Private.CoreLib stuff.

This is caused by the contract/reference assembly thing. For the majority of packages in corefx there are actually 2 assemblies: the reference assembly that defines the api surface of the package and is passed to the compiler, and the implementation assembly that is copied to the output directory when the application is runs.
The build shenanigans that exist in https://github.com/dotnet/source-indexer are needed for the index to find the assembly containing the actual code. If you run the indexer without any changes to the projects a reference to System.String in most of the packages in corefx would point to the System.String class in the System.Runtime assembly like this: https://source.dot.net/System.Runtime/A.html#8281103e6f23cb5c. That link wouldn't work though because there is no code for System.String in System.Runtime.dll, it is typeforwarded to System.Private.CoreLib on coreclr and mscorlib on full .NET.
It may be possible to have a step the runs after indexing to populate typeforwarding tables from the build implementation assemblies and enable a link to System.String in System.Runtime to produce a page that says the type is forwarded to System.Private.CoreLib with a link to the destination, though it would have to handle type member references as well: e.g. I click on a reference to System.String.Length and I get the forwarder page, and that link points directly to System.String.Length in System.Private.CoreLib.


OTEL_LOG_LEVEL not respected for diagnostic logging

What happened?
Description
Opening as bug for now. This may not be a bug as we technically provide the DiagLogger in the API, but not the SDK, so we're not required to do it there.
The OTEL_LOG_LEVEL environment variable is not respected.
In the spec compliance matrix we say that we support the OTEL_LOG_LEVEL environment variable, but this is not the case.
Steps to Reproduce

export OTEL_LOG_LEVEL=debug
Use the OpenTelemetry setup code below as tracing.ts (this is taken from our docs at opentelemetry.io), I removed the log level, as it should fall back to OTEL_LOG_LEVEL
start your app, requiring tracing.ts

Expected Result
Debug log output to console:
@opentelemetry/api: Registered a global for diag v1.3.0.
Actual Result
No debug log output, only info logging.
Additional Details
This test (intended for /api/test/common/diag/logger.test.ts) should pass, but it fails.
    it('should use log level from OTEL_LOG_LEVEL with no options specified', () => {
      const debug = sinon.stub();
      process.env.OTEL_LOG_LEVEL = 'debug';
      diag.setLogger({
        verbose: () => {},
        debug,
        info: () => {},
        warn: () => {},
        error: () => {},
      });

      // will be called once on setLogger(), with a message stating that it has been registered
      sinon.assert.calledOnce(debug);

      delete process.env.OTEL_LOG_LEVEL;
    });

OpenTelemetry Setup Code
import * as opentelemetry from "@opentelemetry/sdk-node";
import { getNodeAutoInstrumentations } from "@opentelemetry/auto-instrumentations-node";
import { diag, DiagConsoleLogger, DiagLogLevel } from '@opentelemetry/api';

// For troubleshooting, set the log level to DiagLogLevel.DEBUG
diag.setLogger(new DiagConsoleLogger());

const sdk = new opentelemetry.NodeSDK({
  traceExporter: new opentelemetry.tracing.ConsoleSpanExporter(),
  instrumentations: [getNodeAutoInstrumentations()]
});

sdk.start();

package.json
n/a

Relevant log output
n/a

Duplicated with https://github.com/open-telemetry/opentelemetry-js/issues/3312.


Build issue: (SWIFT_VERSION)

Trying to just do a default project start and build, fails. Please refer to the attached screenshot.
Here is the system details:
$ cordova requirements
Requirements check results for ios:
Apple OS X: installed darwin
Xcode: installed 8.3.2
ios-deploy: installed 1.9.1
CocoaPods: installed

Same here. Fresh Cordova Project, Xcode 8.3.3, does not compile. Looks like Issue 182.
On Xcode 8.3.3 you can only choose Swift 3, no Legacy support.

Is there any workaround?

Please, read the documentation. You need to set the bridging header. https://github.com/BasqueVoIPMafia/cordova-plugin-iosrtc/blob/master/docs/Building.md


element subspace filtering

based on #88
Allow the user to enter a list of elements to filter the materials. Only those materials will be shown in which all of their elements appear in the entered list of elements.

can you take a look at the new variant, please

Feels much better!
Two more small things:

Is it possible to disable the space bar from affecting the search text? Typing a space to select an element leaves the space in the text box, and thus prevents any further search results from appearing, and none of the choices includes a space, so I think it's good to force the user to hit enter to select an element.
Can we make it so clicking on a choice in the menu immediately adds the choice to the subspace? This seems minor but it's a big boost to the user experience.

I switched to https://github.com/iulian-radu-at/react-select-material-ui which handles everything. So, please run yarn install


Constraint of the typedesc not shown in the string representation of the type

For example, consider the following panic:
error: {ballerina}TypeCastError message=incompatible types: 'typedesc' cannot be cast to 'typedesc'
	at pubudu.foo:getTypedesc(main.bal:90)
	   pubudu.foo:main(main.bal:33)

With this error message, it's impossible to know what went wrong. IINM, when the constraint is omitted, it's equivalent to typedesc<any>

Sample to reproduce.
public function main() {
    typedesc<int> i = typeof 1;
    typedesc<string> s = <typedesc<string>> <any> i;
}

Related issue - https://github.com/ballerina-platform/ballerina-lang/issues/16908.


Update README.md

in order to be functioning correctly .use(sprintf) must be called on i18next even in the second example of README
this took me quite some time to figure out why sprintf isn't working in second scenario and I want it to be clear to other developers

PR's helping improve the understandability are very welcome...👍


Use resize cursors when dragging guides in the 2D editor

This also tweaks the casing in undo/redo action names for consistency.
I had a look at reusing this part of the code to display the same cursor when hovering guides, but couldn't get it to display the cursor in CanvasItemEditor::_gui_input_hover. (The DragType enum used to set the mouse cursor is also only meant for actual dragging operations, an hovering operation might not make sense there.)
This partially addresses #30550.

@Calinou, for hovering the guides check this out: https://github.com/sparkart/godot/commit/c288df119b57f8b9525e0cb389b0c91fc489798c

@sparkart It works, thanks a lot! I mentioned you in the commit as a co-author.

Thanks!


Fix fixtures Loader inefficiency

Was https://github.com/hautelook/AliceBundle/pull/164
Reopened against the 1.x branch

Hm seems like the tests are failing, will you be able to take care of it @adrienbrault or do you wish for me to continue? (doable but it's just gonna have to wait a bit like a few days)

Hm, tried a little blackfire: https://blackfire.io/profiles/compare/5eb6a961-5b3a-49b8-8d0e-573896611f11/graph
Cannot really see the difference. But from what you're saying, there was a clear difference. Would be worth checking more complex scenario.
Version used for the benchmark: https://github.com/TFidryForks/AliceBundle/tree/bugfix/loader
command: blackfire --reference=2 --samples 50 run php benchmark.php
cc @Soullivaneuh @vincentchalamon

This is not only an improvement in terms of performance but also a bug fix, so huge :+1:
The bug was quite hardcore to find so let me illustrate it. Let's say we have 3 fixtures files:
# City.yml

App\City:
   city-paris:
       name: Paris

# Project.yml

App\Project:
    project-alice:
        name: Alice
        city: @city-paris

# Strength.yml

App\Strength:
    city-strength-{1..2}:
        id: <current()>
        name: Strength <current()>
        city: @city-paris
    project-strength-{1..2}:
        name: Strength Alice <current()>
        project: @project-alice

Thus we have a city called "Paris", a project called "Alice", Paris has 2 strengths and so does the project. Pretty simple in theory, well ... no so simple in reality.
What happens in the background:
// First call to Loader->tryToLoadFiles()
City.yml     => Loaded correctly,
Project.yml  => Not loaded because city-paris was not in the $references array,
Strength.yml => Not loaded because city-paris AND project-alice were not in the $references array
// Second call to Loader->tryToLoadFiles()
City.yml     => Already loaded,
Project.yml  => Could be loaded because the $references contains the city,
Strength.yml => Not loaded because project-alice were not in the $references array
And here is the problem! Though the loading failed for project-strength-1 and project-strength-2, it did not failed for city-strength-1 and city-strength-2 (eg: they were added to Paris)! But wait, there is more ...
// Third call to Loader->tryToLoadFiles()
City.yml     => Already loaded,
Project.yml  => Already loaded,
Strength.yml => Could be loaded
Now the city has 4 strengths! Also, if you do not use cascade persist on your relations, doctrine will throw an exception telling you that he found new strengths objects which were not configured to cascade persist (eg: the 2 ghosts created from the second call).
Hope the explanation was clear enough and that you can merge this PR when you have time!

Thanks for the detailed breakdown @geoffrey-brier, indeed in that case the loader is completely unable to load the fixtures. I'm fixing that via https://github.com/hautelook/AliceBundle/pull/225 and the use case you gave is now properly loaded in 3 passes.
That was one nasty bug, thanks again for finding it. Hopefully in alice v3, those cases should no longer cause any problem at all \o/ (more efficient and no loading limit anymore).


Fix for flash of wrong position when grabbing items

Issue is described here:
https://github.com/webaverse/app/issues/1981
Steps for testing:
Grab item (for instance Pistol)
When player goes up observe is there a strange head movement

This PR serves its purpose. There is much improvement in avatar getting up while equipping collectibles. I have attached the video here. There's one thing I want to address. Its below the video.
https://user-images.githubusercontent.com/35926530/146585500-4738c1b6-5763-4156-a4cc-ce85011b559d.mp4
One thing I have observed is that, While trying to ride the hovercraft, the avatar rides it but the camera moves upside as if the avatar is getting up. Same happens while the avatar tries to equip things while flying, Though there's no animation for equipping objects while flying.
https://user-images.githubusercontent.com/35926530/146585570-d444ebf9-ea6f-48e0-ac96-0d93044c5064.mp4

This PR is irrelevant because we have much better use animations now. 😸


Create-pending annotation cleanup

What happened?
If we create a lot of Objects they have create-pending annotation set. That should be cleaned up as it confuses Crossplane runtime.
How can we reproduce it?
Create in one time 5 resources consisting of ~10 Objects waiting and requesting other operators to come up with their managed resources after a while
What environment did it happen in?
Crossplane version: 1.17

Self hosted
1.26
kind, vanilla, Openshift
Fedora, Red Hat, Ubuntu

How to fix it:
https://github.com/linode/provider-ceph/pull/238/files#diff-20dc98dc86bc434bb317ee7fb7dc6f09bfcaef4edea9c6a38390696fd7fc9b2aR38https://github.com/linode/provider-ceph/pull/238/files#diff-20dc98dc86bc434bb317ee7fb7dc6f09bfcaef4edea9c6a38390696fd7fc9b2aR38

This issue is related to this: https://github.com/crossplane/crossplane-runtime/issues/340


Suggestion: give option to double Shulkerbox gui like barrels

Suggestion to add in capability to toggle if shulkerboxes have double capacity like the barrels

Duplicate #24


doc: extensions: remove eager_only

The eager_only is currently breaking the usage of the .. only
directive, so remove it. Documentation seems to build fine without it.
Fixes #36569

.. only:: not does not work at all, the eager_only was there to solve an issue and we do not know if this issue still exists, but right now it is cause for loads of content to not appear at all.

https://docs.zephyrproject.org/latest/guides/west/manifest.html for example does not have the 3 level depth.

That's a good example but the question still remains. E.g. do we get errors from the toctree:: directive inside only:: in doc/contribute/index.rst?

@mbolivar-nordic errors would be seen on CI I guess

@gmarull  can you rebase.
The eager thing was introduced to support PDF building and that is exactly what I am looking into right now, so removing eager_only and figuring out how to get PDFs working again (and fixing html output because of non-working only::) takes precedence.

@mbolivar-nordic errors would be seen on CI I guess

Why would you guess that? Does CI build for LaTeX?

@mbolivar-nordic errors would be seen on CI I guess

Why would you guess that? Does CI build for LaTeX?

I have tried to run the latex target (the one that runs Sphinx, no PDF build) and I only get these 3 warnings:
/home/gmarull/ws/teslabs/zephyr/zephyr/doc/_build/src/getting_started/index.rst:75: WARNING: Duplicate explicit target name: "install_dependencies_ubuntu".
/home/gmarull/ws/teslabs/zephyr/zephyr/doc/_build/src/getting_started/index.rst:98: WARNING: Duplicate explicit target name: "install_dependencies_macos".
/home/gmarull/ws/teslabs/zephyr/zephyr/doc/_build/src/getting_started/index.rst:134: WARNING: Duplicate explicit target name: "install_dependencies_windows".

I can't see any only on the getting started, so they must be caused by something else.

Why not build the PDF though? The whole point is to hide directives like toctree from the PDF build, right?

PDF build is currently broken, @nashif is working on fixes. I imagine that the warnings that only could generate should be thrown by Sphinx, not pdflatex.


Add baidu-screenshot-ocr extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi! Is this ready for review?

Hi! Is this ready for review?

yep

Hi! Thank you for your contribution! My name is Milena and I will be reviewing it today.
What would be the difference between your extension and this one? https://www.raycast.com/Humber/baidu-ocr/commands Also, your README is not in Englsih, could you please translate that?

That plugin can only read the first item in the clipboard for OCR recognition. If the first item is not a picture, an error will be reported.
This project uses switf to call the system screenshot function, and automatically performs OCR recognition after the screenshot, which is easy to use.
i will translate readme later

Hey! Is this ready for another review or do you need more time?


[BUG] CSI plugin pod keep crashing util the backup volume appears  when creation a backup via the CSI snapshotter

Describe the bug

When creating a backup via the CSI snapshotter, the Lognhorn CSI plugin and CSI snapshotter pods will keep crashing util the backup volume is created.
To Reproduce

Fresh install
Enable the CSI snapshotter by steps https://longhorn.io/docs/1.8.0/snapshots-and-backups/csi-snapshot-support/enable-csi-snapshot-support
Create a backup via the CSI snapshotter.
The Lognhorn CSI plugin and CSI snapshotter pods will keep crashing until the backup volume is created.

Expected behavior

The Lognhorn CSI plugin and CSI snapshotter pods will not crash
Support bundle for troubleshooting

Environment

Longhorn version: 1.8.0-dev
Impacted volume (PV): 1
Installation method (e.g. Rancher Catalog App/Helm/Kubectl): kubectl
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: k3s, v1.31.1+k3s1

Number of control plane nodes in the cluster: 1
Number of worker nodes in the cluster: 3

Node config

OS type and version: ubuntu 22.04
Kernel version: 5.15.0-91-generic
CPU per node: 4
Memory per node: 4G
Disk type (e.g. SSD/NVMe/HDD): SSD
Network bandwidth between the nodes (Gbps): 1

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): KVM
Number of Longhorn volumes in the cluster: 1

Additional context

Workaround and Mitigation

Verified pass on longhorn master(https://github.com/longhorn/longhorn-manager/commit/def8a3b392be7380a85ef74d688c86456c03c791) and v1.8.0-rc1(https://github.com/longhorn/longhorn-manager/commit/b59110d2488208f4f15ebc3bf3ce5e66eb344ffb)

.Fresh install
Enable the CSI snapshotter by steps https://longhorn.io/docs/1.8.0/snapshots-and-backups/csi-snapshot-support/enable-csi-snapshot-support
Dynamic provision PVC vol1 with and workload, write data to workload.
Create volume VolumeSnapshotClass longhorn-test

kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
metadata:
  name: longhorn-test
driver: driver.longhorn.io
deletionPolicy: Delete

Create VolumeSnapshot vol1-volumesnapshot, the volumesnapshot and snapshot are ready to use. the backup creation is complete.

apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:
  name: vol1-volumesnapshot
spec:
  volumeSnapshotClassName: longhorn-test
  source:
    persistentVolumeClaimName: vol1

Did not see CSI pligin pod crashing.

Good catch @mantissahz


Paging Error in MSSQL Server 2008

I have an application running with database in MSSQL Server 2008 and i want to renew it with SERENE. After creating modules with sergen, i run the application and try to use paging. Then i get the error :  "Incorrect Syntax near 'OFFSET', invalid usage of the option next in the fetch statement". Because MSSQL2008 does not have OFFSET...FETCH feature.
İyi Çalışmalar.

Dialect topic bir okuyun


vscode-test support?

https://github.com/microsoft/vscode-test is a way to do vscode E2E testing for vscode extensions using a real vscode instance instead of mocking the vscode interface.
I had a way to make this work with Mocha by injecting the test worker into the vscode test instance so the explorer can still get the results.
https://github.com/pester/vscode-adapter/blob/4b18781f8db580e1c66b7895950c1d9bb83e0de8/test/runTestsInner.ts
Just wondering if something similar is possible for the vitest explorer. Thanks!

As a follow-up, this is not possible because vitest is ESM only, and vscode only supports CommonJS modules today. This has been fixed in electron as of today but it will probably be a long time before vscode merges this version of electron.

Right now we use our own wrapper for e2e tests: https://github.com/vitest-dev/vscode/tree/main/test-e2e
After using it for some time, I am not satisfied with it, to be honest. I wish we had better locators for text/buttons.


pidfile handling should be done only for the ovnkube daemons

Currently, we create pidfile and immediately delete it for the
transient command like ovnkube remove-node. This shoudln't
be done. Also, I have refactored the pidfile handling code to
it's own function. This is in preparation for adding subcommands
to ovnkube.
Signed-off-by: Girish Moodalbail<EMAIL_ADDRESS>

/lgtm

@girishmg
At quick glance, it is not obvious to me, the change. Can you split the pull request into 2 commits. One for new function and one for actual change?

@shettyg let me do that


⚠ Bofrost.fr has degraded performance

In b0038c0, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1609 ms

Resolved: Bofrost.fr performance has improved in fdde53b after 7 minutes.


cmd/internal/obj/arm64: golang assembler handles arm64 instruction movk incorrectly

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version devel +a6ae01a Thu Aug 10 21:45:01 2017 +0000 linux/arm64
What operating system and processor architecture are you using (go env)?
GOARCH="arm64"
GOBIN=""
GOEXE=""
GOHOSTARCH="arm64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/fanzha02/go"
GORACE=""
GOROOT="/mnt/share/homes/fanzha02/push/asmforus/golang"
GOTOOLDIR="/mnt/share/homes/fanzha02/push/asmforus/golang/pkg/tool/linux_arm64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build257833270=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
What did you do?
cd src/cmd/asm/internal/asm
vi testdate/arm64enc.s
uncomment MOVK/MOVKW test cases
go test -run "ARM64Encoder"
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
go test successfully
What did you see instead?
the MOVK/MOVKW test cases are failed

cd src/cmd/asm/internal/asm
vi testdate/arm64enc.s
uncomment MOVK/MOVKW test cases
go test -run "ARM64Encoder"

As I have mentioned in an earlier similar issue, even this is the way to reproduce the failure, it doesn't help understanding the problem. Please mention what the expected encoding is, and what the wrong encoding the assembler emits. Thanks.

@cherrymui I am sorry that I forgot to add the wrong encoding information as you mentioned before.
Please refer to the below error information.
requires uimm16 00716 (testdata/arm64enc.s:246) MOVKW   $255918080, R21
requires uimm16 00720 (testdata/arm64enc.s:247) MOVK    $16771847290880, R21
00716 (testdata/arm64enc.s:246)   MOVKW   $255918080, R21: have encoding 15008072, want 35e8a172
00720 (testdata/arm64enc.s:247)   MOVK    $16771847290880, R21: have encoding 150080f2, want 35e8c1f2


test: change MonoVertexRollout update test to be more stable

Fixes #314
Modifications
MonoVertex currently ends up unhealthy in testing since we are updating the source image to an unstable and outdated version that is incompatible with Numaflow. This changes it to update to the most stable Python image instead.
Verification
Ran make test-e2e locally and checked MonoVertex logs to see that it is still healthy.

thanks for fixing!


need help, can't get nvim-yarp to work!

Here is my minimum vimrc:

    set nocompatible
    set hidden          " Handle multiple buffers better.
    set laststatus=2    " Show the status line all the time

    let DIR = getcwd()
    echom 'getcwd(): '.DIR

    if !filereadable(DIR.'/dot-vim/plug.vim')
      echom 'executing curl...'
      silent !curl --insecure -fLo ./dot-vim/plug.vim
        \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    endif

    call plug#begin(DIR.'/dot-vim/plugged')
      Plug 'https://github.com/roxma/nvim-yarp'
      Plug 'https://github.com/roxma/vim-hug-neovim-rpc'
    call plug#end()

    " Python Setting {
      " set pythondll=/usr/local/Frameworks/Python.framework/Versions/3.7/Python
      " set pythonhome=/usr/local/Frameworks/Python.framework/Versions/3.7
      set pythonthreedll=/usr/local/Frameworks/Python.framework/Versions/3.7/Python
      set pythonthreehome=/usr/local/Frameworks/Python.framework/Versions/3.7
    " }

    set pyxversion=3
    set encoding=utf-8

    echom 'neovim_rpc#serveraddr(): '.neovim_rpc#serveraddr()
    echom "exepth('python3'): ".exepath('python3')

    let $NVIM_PYTHON_LOG_FILE=DIR."/nvim_log"
    let $NVIM_PYTHON_LOG_LEVEL="DEBUG"

    echom '$NVIM_PYTHON_LOG_FILE: '.$NVIM_PYTHON_LOG_FILE

    " Create a python3 process running the hello module. The process is lazy load.
    let s:hello = yarp#py3('hello')

    com HelloSync call s:hello.request('greet')
    com HelloAsync call s:hello.notify('greet')

    " You could type :Hello greet
    com -nargs=1 Hello call s:hello.request(<f-args>)

running the above in a sandbox:
$ vim -u dot-vimrc test.ts
getcwd(): /Users/apollotang/Desktop/vim-sandbox/0200-fixing-nvim-yarp/01-minimum-nvim-yarp
neovim_rpc#serveraddr(): /Users/apollotang/tmp/v96zgor/0
exepth('python3'): /usr/local/bin/python3
$NVIM_PYTHON_LOG_FILE: /Users/apollotang/Desktop/vim-sandbox/0200-fixing-nvim-yarp/01-minimum-nvim-yarp/nvim_log
Press ENTER or type command to continue

then in vim command line:
:Hello greet

So I try to run the same command in my terminal:
~/Desktop
$ python3 -u vim-sandbox/0200-fixing-nvim-yarp/01-minimum-nvim-yarp/dot-vim/plugged/nvim-yarp/pythonx/yarp.py /Users/apollotang/tmp/v96zgor/0 2 hello
Traceback (most recent call last):
  File "vim-sandbox/0200-fixing-nvim-yarp/01-minimum-nvim-yarp/dot-vim/plugged/nvim-yarp/pythonx/yarp.py", line 65, in <module>
    module_obj = importlib.import_module(module)
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'hello'

the log file is at:
this link
This minimum set up can be found at:
here
vim version:

I know nothing on python, but here is my python3 version:

Thanks for helping !

k, i think i figure this out, I have to put hello.py in nvim-yarp/pythonx/, close


Use linked and unlinked references as the context

Thanks for this excellent plugin. One strength of Logseq is the linked references and unlinked references listed below a page. Is it possible to include the linked references and/or unlinked references as the context/documents fed into AssistSeq for AI assistance?
Thanks!
Min

@minxu-nyc sure! I will add that feature as configurable option soon! Stay tuned!


Confabulous + Systemic not working for jest version 27

It doesn't look like jest plays nicely with fs.watch when you use --detectOpenHandles. I'm not sure there's anything confabulous can do about this. You could disable watching when running tests though.

I'll take that back. The issue is that Confabulous doesn't include a shutdown operation, and consequently the file watcher is never closed. This will need to be added, then the systemic component updated with a stop function that calls it.

confabulous.close() added in v2.1.0
This will cause the watchers to be removed and Jest will stop complaining.


Define a hybrid approach between CSS and djangoLDP

The idea is to be able to use a personal POD based on CSS as the identity provider, to get standard:

WebID
Personal profile document
Typeindex locations

With the TypeIndex actually targetting containers located on the djangoLDP side, like:

users/balessan/skills/
users/balessan/circles/
users/balessan/projects/
users/balessan/events/
users/balessan/resources/

The webid/personal profile document can be defined statically.
Tasks items:

[ ] Setup a SIB CSS instance somewhere online
[ ] Register an account / define a static webID/personalprofile document
[ ] Point to online djangoldp instance for the container of skills for instance
[ ] Check that the authentication passes
[ ] check that we can request skills data from an app logged-in onto the css pod.

[ ] Setup a SIB CSS instance somewhere online
[ ] Register an account / define a static webID/personalprofile document
[ ] Point to online djangoldp instance for the container of skills for instance
[ ] Check that the authentication passes
[ ] check that we can request skills data from an app logged-in onto the css pod.

Where do we host the SiB CSS instance?
I think we could host it at INRIA. We could ask for a VPS. Are you OK @balessan?

Where do we host the SiB CSS instance?
I think we could host it at INRIA. We could ask for a VPS. Are you OK @balessan?

@lecoqlibre Yes I am !


Release Gold Contract cEUR Investigations

Release Gold contracts should allow withdraw of cEUR (similar to cUSD) in the case that someone mistakenly sends cEUR to it. More generally, this should be established for all ERC-20 tokens but will require thoughtfulness in how this impacts Locked Celo withdrawal.
Additionally, this ticket should explore the impacts of removing the self destruct from the withdraw function as currently it can self destruct with ERC-20 tokens like cEUR or cUSD.

@aslawson Is the investigation to see how important the removal is or how to implement it? I assume the latter is pretty straightforward?

Moving it to low priority since we don't want to upgrade existing contracts

Resolved in #8750


Improve type hints

This issue is a follow-on of https://github.com/oceanprotocol/ocean.py/issues/37
Possible improvements:

[ ] In cases where a function docstring includes type hints, but the function signature does not, add the type hints to the signature.
[ ] Apply the @enforce_types_shim decorator to every class and function.

I have reestimated this ticket since it now covers typing throughout all the modules, not just a partial improvement.


Demo was updated but example files not included in repository

Commit https://github.com/justinpinkney/stable-diffusion/commit/db17cd8f41c2773d0fb97495470d545e44da07b7 added demos but the required assets were not included in the commit so running gradio_variations.py will currently result in an error.
Can be worked around by creating files assets/im-examples/vermeer.jpg and assets/im-examples/matisse.jpg

I've added these now, thanks for pointing out!


cron_dailyupdate.sh broken with desitree 0.6.0 due to missing $DESI_ROOT

etc/cron_dailyupdate.sh uses
    module use /global/common/software/desi/$NERSC_HOST/desiconda/startup/modulefiles
    module load desimodules/main

instead of sourcing desi_environment.sh main.  This broke with the desimodules/main update to desitree/0.6.0 on Friday 2022-08-19 because now $DESI_ROOT is set in desi_environment.sh rather than in desitree.  I think that was because on Perlmutter with lmod, there was some issue with propagating $DESI_ROOT set in one module file into another.
I'm not sure if cron_dailyupdate.sh was avoiding desi_environment.sh for a specific technical reason, or perhaps just because module use + module load seemed more explicit about what it was doing (most of the logic in desi_environment.sh is handling special cases to work across multiple machines, including dtn).
Investigate and test whether cron_dailyupdate.sh could use desi_environment.sh.  In the meantime daily updates + tests aren't running.

Original context for all of this: desihub/desitree#6.


chore(packages): Update npm packages in CRA examples

Updating (almost) all npm packages, including<EMAIL_ADDRESS>

Thanks!

Can you also submit a followup to fix new lint warnings please?

Sure will do!


FTP delete_dir issue as well as solution

Ftp delete_dir() does not work.
Problem:
if ( ! preg_match('#/..?$#', $list[$i]) && ! @ftp_delete($this->conn_id, $list[$i]))
{
$this->delete_dir($list[$i]);
}

Regular expression checking failed. Because unwanted '/' after starting #. Maybe typo.
list_files() returns array of only files and folders name. Not the path. So Recursive function argument will be $filepath.$lish[$i] and ftp_delete() path will $filepath.$lish[$i].
Final Solution is
if ( ! preg_match('#..?$#', $list[$i]) && ! @ftp_delete($this->conn_id, $filepath.$list[$i]))
{
$this->delete_dir($filepath.$list[$i]);
}

It's not a typo, and your suggested final solution makes that whole loop redundant ...
What do you mean by "does not work" exactly? Give us some details.

$this->delete_dir($filepath.$list[$i]);

$this->delete_dir($filepath.$list[$i]);

If this function is called like this
$filepath='/public_html/';
$this->ftp->delete_dir($filepath);

Then in function..
$list = $this->ftp->list_files('/public_html/');
print_r($list);

return something like this
Array ( [0] => . [1] => .. [2] => New Folder [3] => index.php )

Then we check for folder(if available) for recursion. If file it will be deleted. And
. or .. check by preg_match()  like
preg_match('#\.\.?$#', $list[$i]) // will check . or ..

in your function checking like
preg_match('#/\.\.?$#', $list[$i])  // extra '/'  after # which not match . or ..

If folder found then recursion happen
// Your way.
$this->delete_dir($list[$i]); // delete_dir('New Folder/'); which leads to not found. Incorrect Path

//my way
$this->delete_dir($filepath.$list[$i]); // delete_dir('/public_html/New Folder/'); found. just concatenate $filepath and $list[$i].

Whole function like this
	public function delete_dir($filepath)
	{
		if ( ! $this->_is_conn())
		{
			return FALSE;
		}

		// Add a trailing slash to the file path if needed
		$filepath = preg_replace('/(.+?)\/*$/', '\\1/', $filepath);

		echo $filepath;
		$list = $this->list_files($filepath);
		if ( ! empty($list))
		{
			for ($i = 0, $c = count($list); $i < $c; $i++)
			{
				// If we can't delete the item it's probaly a directory,
				// so we'll recursively call delete_dir()
				if ( ! preg_match('#\.\.?$#', $list[$i]) && ! @ftp_delete($this->conn_id, $filepath.$list[$i]))
				{
					$this->delete_dir($filepath.$list[$i]);
				}
			}
		}
		if (@ftp_rmdir($this->conn_id, $filepath) === FALSE)
		{
			if ($this->debug === TRUE)
			{
				$this->_error('ftp_unable_to_delete');
			}
			return FALSE;
		}

		return TRUE;
	}

Now you may got it.
Your code shows  'Unable to delete' error.
My code work for me.

It's hardly my code, but yes - I see what you mean now.

Hey guys, i found a very annoying thing in this method, i fixed it for my project and wanna share my solution with you.
$list = $this->list_files($filepath); returns full paths for each file and folder in $filepath (you can check it by yourself or just read it here http://php.net/manual/en/function.ftp-nlist.php).  So this part ---> $this->delete_dir($filepath.$list[$i]); fails recursion if you trying to delete dir with sub-dir.
e. g. You are trying to delete "application/cache/123/" and you have some "456" folder inside this, so the 2nd iteration will look like $this->delete_dir('application/cache/123/application/cache/123/456'); which causes an error.
I removed $filename from this line $this->delete_dir($filepath.$list[$i]); because $list[$i] already contains fullpath and now i got a pretty good working code.


[Bug]: url-list.txt is empty

Bug Description
I am just trying v1.0. I have nvim installed via homebrew here: /opt/homebrew/bin/nvim. When I run :vim see debug log below.
But that file is empty and trying :h results in no results and the fallback to a google search:

Relevant Screenshot
No response
To Reproduce
No response
Debugging Log
[12:33:41.153] Neovim Utilities[Run Script] Passing output 'Downloading doc files…
###########################################################################################################################
Parsing doc files…
Writing Index & cleaning up…
3/Users/ian/Library/ApplicationSupport/Alfred/WorkflowData/de.chris-grieser.neovim-utilities/url-list.txt entries.
' to Post Notification
[12:33:41.155] Neovim Utilities[Post Notification] Processing complete

### Workflow Configuration

![Screenshot 2023-01-28 at 12 40 06 copy](https://user-images.githubusercontent.com/153905/215242469-8e70630f-1f6d-417a-9cdc-4ec56bb662e5.png)

### Checklist

- [X] I have [updated to the latest version](https://github.com/chrisgrieser/alfred-neovim-utilities/releases/latest) of this workflow.

hmmm, I cannot reproduce the problem, and I cannot really think of a reason why this would not work.
Is this the first time you are using the workflow, or did you update from an older version where it used to work correctly?
Only thing you could try is to try run the script that creates the URL list manually (replacing the cache location at line 5) and see at which point in your device it breaks

Yes it's the first time I used it. Reading through the script I see it uses githubusercontent.com which is blocked in China and isn't always included in VPN whitelists. If I make sure my VPN is working with that server and run the script manually then I could get the script to works. I'll close as this is a problem due to the Chinese firewall... Thanks Chris!

Apologies for the off-topicness, @chrisgrieser, but I want to ask @iandol what’s that theme. You both have interesting ones! I especially like the contrast between one feeling very computery and the other bookish.

@vitorgalvao -- I really love Slab Serif fontfaces, though as my theme uses a proprietary font (Graublau Slab), I exported it using some available alternatives (brew install font-bitter font-zilla slab):
Slab Serif Dark.zip


web: extra features & minor bug fixes

Updated features & props as ThorVG Viewer requirements
Added:

size - TVG.size() wrapper
resize() - method for dynamic resizing
Support save('png')

Fixed:

animation loading bug when  doesn't have src prop
animation stop behavior -> cursor 0 frame when stopped

For your information, some descriptions start with an uppercase letter, while others do not. @_@

For your information, some descriptions start with an uppercase letter, while others do not. @_@

Ghaha,,, that's my fault, I'll add to #1882


Create fellows page

Fixes #91.

Everything regarding the front end seems to be working properly, so I'm merging this one!


Fix cache bugs for Silent flow in Native API calls

Not review ready

This PR fixes two bugs seen in native API calls:

Authority look up and hence accessToken lookup fails when accessToken and idToken are cached locally.
Correct a typo in Redirect Flow which is resulting in acquireTokenRedirect not caching in native flows.

Codecov Report

Merging #5706 (044de87) into dev (81d34b4) will decrease coverage by 0.04%.
The diff coverage is n/a.

Flag
Coverage Δ

*Carryforward flag

msal-angular
96.50% <ø> (ø)

Carriedforward from 81d34b4

msal-browser
86.42% <ø> (-0.05%)
:arrow_down:
Carriedforward from 81d34b4

msal-common
84.48% <ø> (-0.06%)
:arrow_down:
Carriedforward from 81d34b4

msal-core
82.84% <ø> (ø)

Carriedforward from 81d34b4

msal-node
83.39% <ø> (ø)

Carriedforward from 81d34b4

msal-node-extensions
75.64% <ø> (ø)

Carriedforward from 81d34b4

msal-react
94.68% <ø> (ø)

node-token-validation
88.88% <ø> (ø)

Carriedforward from 81d34b4

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

lib/msal-browser/src/app/ClientApplication.ts
92.92% <ø> (+0.35%)
:arrow_up:

...ib/msal-browser/src/app/PublicClientApplication.ts
95.19% <ø> (-0.14%)
:arrow_down:

.../src/interaction_client/NativeInteractionClient.ts
68.98% <ø> (ø)

...l-browser/src/interaction_client/RedirectClient.ts
98.70% <ø> (-0.01%)
:arrow_down:

...-browser/src/telemetry/BrowserPerformanceClient.ts
81.08% <ø> (-4.64%)
:arrow_down:

...ser/src/telemetry/BrowserPerformanceMeasurement.ts
96.00% <ø> (-0.43%)
:arrow_down:

lib/msal-common/src/cache/CacheManager.ts
81.64% <ø> (+0.21%)
:arrow_up:

lib/msal-common/src/index.ts
100.00% <ø> (ø)

...mon/src/telemetry/performance/PerformanceClient.ts
72.11% <ø> (-7.40%)
:arrow_down:

...mmon/src/telemetry/performance/PerformanceEvent.ts
100.00% <ø> (ø)


User metadata not propagated from schedule action to workflow's execution config

Expected Behavior
Like start workflow, I would expect scheduled workflows' user metadata to end up on the execution config on the child workflow.
Actual Behavior
The user metadata does not propagate

Thank you for reporting this issue.
This behavior is expected.  Scheduled workflows are started by the Temporal server, not by a client, so the user metadata is not available during the scheduled workflow's creation.
You can use a workaround by setting the user metadata on the child workflow manually during the workflow execution.
For more information on user metadata, please refer to the documentation: https://docs.temporal.io/docs/concepts/workflow-metadata/

Thanks for reporting this issue. You are right, currently user metadata does not propagate to child workflows when scheduled. We are tracking this issue in https://github.com/temporalio/temporal/issues/3708 and will update this issue once it is resolved.
In the meantime, you can consider using custom headers as a workaround to pass data to child workflows. You can find more information about custom headers in the Temporal documentation.

Thank you for reporting this issue! I understand you're expecting the user metadata from a scheduled workflow to be available on the child workflow's execution config, similar to how it works with started workflows. Currently, this is not the case.
While we are investigating this behavior, you can use a workaround by setting the metadata directly on the child workflow execution using the WorkflowOptions interface.
Please let us know if you have any other questions.


How to handle cloning an IEnumerable?

Iterating over the enumerable could leave the original exhausted.

Migrated to https://github.com/Miista/Typesafe.Snapshots/issues/3


TypeError on loading PyramidStrategy

Hi, I am going to use python-social-auth with Pyramid, but meet the following problem:
PyramidStrategy takes 3 arguments on init: https://github.com/omab/python-social-auth/blob/master/social/strategies/pyramid_strategy.py#L22
But load_strategy only passes 2 arguments: https://github.com/omab/python-social-auth/blob/master/social/apps/pyramid_app/utils.py#L24
It will raises TypeError which makes python-social-auth never working with Pyramid:

...
  File "/opt/webenv/local/lib/python2.7/site-packages/pyramid_debugtoolbar-2.2-py2.7.egg/pyramid_debugtoolbar/toolbar.py", line 165, in toolbar_tween
    return handler(request)
  File "/opt/webenv/local/lib/python2.7/site-packages/pyramid/tweens.py", line 21, in excview_tween
    response = handler(request)
  File "/opt/webenv/local/lib/python2.7/site-packages/pyramid_tm-0.7-py2.7.egg/pyramid_tm/__init__.py", line 82, in tm_tween
    reraise(*exc_info)
  File "/opt/webenv/local/lib/python2.7/site-packages/pyramid_tm-0.7-py2.7.egg/pyramid_tm/__init__.py", line 63, in tm_tween
    response = handler(request)
  File "/opt/webenv/local/lib/python2.7/site-packages/pyramid/router.py", line 163, in handle_request
    response = view_callable(context, request)
  File "/opt/webenv/local/lib/python2.7/site-packages/pyramid/config/views.py", line 329, in attr_view
    return view(context, request)
  File "/opt/webenv/local/lib/python2.7/site-packages/pyramid/config/views.py", line 305, in predicate_wrapper
    return view(context, request)
  File "/opt/webenv/local/lib/python2.7/site-packages/pyramid/config/views.py", line 385, in viewresult_to_response
    result = view(context, request)
  File "/opt/webenv/local/lib/python2.7/site-packages/pyramid/config/views.py", line 501, in _requestonly_view
    response = view(request)
  File "/opt/webenv/local/lib/python2.7/site-packages/python_social_auth-0.2.1-py2.7.egg/social/apps/pyramid_app/utils.py", line 46, in wrapper
    request.strategy = load_strategy()
  File "/opt/webenv/local/lib/python2.7/site-packages/python_social_auth-0.2.1-py2.7.egg/social/apps/pyramid_app/utils.py", line 25, in load_strategy
    return get_strategy(get_helper('STRATEGY'), get_helper('STORAGE'))
  File "/opt/webenv/local/lib/python2.7/site-packages/python_social_auth-0.2.1-py2.7.egg/social/strategies/utils.py", line 15, in get_strategy
    return Strategy(Storage, *args, **kwargs)
TypeError: __init__() takes at least 3 arguments (2 given)

+1 @amilstead
Working to integrate this on pyramid+sqlalchemy and have the same problem ;(

I've pushed the flush() change to that line, it seem to work fine now, do you mind taking a look?

Hey @omab ,
I just tested and it's failed. I try to create a test for that. To reproduce the test, start from a empty db (or remove users table) and try to login (I took twitter as example), Done page failed because request.user is none:
'NoneType' object has no attribute 'username'

@jeromelefeuvre, I've pushed another fix. I was able to reproduce the issue with a fresh db (thanks), the last fix seems to do the trick, could you test again please?

+1. You rocks !

My question is "How to logout in pyramid ?"
I tried to remove request.session['user_id'] but if I do that, it create new user each time I connect.
First user is created with good username but it create a second user with username 'jeromelefeuvreb378405578'

Removing the sessions value should be enough to logout the user, but that second user with the extra hash, means that it's failing to detect the already created user in the previous login. Let me check it.


[WIP] Add abort support

This is still a WIP:

Tests are needed.
Use a better AbortSignal type check after https://github.com/mysticatea/abort-controller/pull/5 is applied.

Note: this PR will introduce a runtime dependency on https://github.com/mysticatea/abort-controller.
Fixes: #95

Codecov Report

Merging #437 into master will decrease coverage by 4.77%.
The diff coverage is 45.83%.

@@            Coverage Diff             @@
##           master     #437      +/-   ##
==========================================
- Coverage     100%   95.22%   -4.78%
==========================================
  Files           6        6
  Lines         503      544      +41
  Branches      153      164      +11
==========================================
+ Hits          503      518      +15
- Misses          0       21      +21
- Partials        0        5       +5

Impacted Files
Coverage Δ

src/request.js
86.86% <35%> (-13.14%)
:arrow_down:

src/index.js
88.77% <42.1%> (-11.23%)
:arrow_down:

src/body.js
98.91% <77.77%> (-1.09%)
:arrow_down:

Continue to review full report at Codecov.

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

Hi there. I would love to see this happen. Is there any way I can assist?

Hi @RikkiGibson, yes! The biggest thing right now is making sure the "abort" signal handlers get cleaned up correctly, i.e., https://github.com/bitinn/node-fetch/pull/437#discussion_r177984831. But I'd appreciate any help in adding tests as well.
You could submit a pull request against the abort feature branch.

I haven't been able to find the spec that require signal to be exposed. Where can I find this information?

https://fetch.spec.whatwg.org/#request-class
Look for the Request constructor. Something like step 30 it will mention that the passed in signal must be used to create a “following” signal, i.e. one that subscribes to a parent signal (given by the user) but can also be canceled independent of the parent signal.


Migration tool should convert @required to new required keyword

Consider the following code:
import 'package:meta/meta.dart';
void f({@required String s}) {}

The migration tool currently leaves this code untouched.  It should be changed so that it changes @required to the new required keyword.

This is not working everywhere.  See, for example, in flutter's lib/web_ui/lib/src/engine/text/paragraph.dart:37.


Config map data is not being reloaded

Describe the bug
I am doing a simple POC on the property reload with Spring Kubernetes , but the reload functionality is not working.
Here are the details

The sample code is here.
I am using spring cloud version 2020.0.3
Testing it in Microk8s in an EC2 machine.
For testing purpose, I have not enabled RBAC
I am not using Spring Cloud Kubernetes Configuration Watcher
I am not using mounted config maps as volume.
I am using configmap as the same name as the application, so when the application is loading , it is injecting the right values in the application properties. But when I am changing the config map, I can see the updated config map is reflecting in the debug logs but the data is not refreshed.
The actuator is enabled.
Here is a snippet of debug logs
ConfigMap satya-test was added. 2021-07-07 06:41:23.598 DEBUG 1 --- [ool-10-thread-1] sClientEventBasedConfigMapChangeDetector : onEvent configMap: class V1ConfigMap {   apiVersion: v1   binaryData: null   data: {myapp.message=**_Hello Kanha hi dsdfsdfd_**, myapp.name=Kanha}   immutable: null   kind: ConfigMap   metadata: class V1ObjectMeta {       annotations: {kubectl.kubernetes.io/last-applied-configuration={"apiVersion":"v1","data":{"myapp.message":"Hello Kanha hi dsdfsdfd","myapp.name":"Kanha"},"kind":"ConfigMap","metadata":{"annotations":{},"labels":{"spring.cloud.kubernetes.config":"true"},"name":"satya-test","namespace":"default"}}       }       clusterName: null       creationTimestamp: 2021-07-06T14:04:14.000Z       deletionGracePeriodSeconds: null       deletionTimestamp: null       finalizers: null       generateName: null       generation: null       labels: {spring.cloud.kubernetes.config=true}       managedFields: [class V1ManagedFieldsEntry {           apiVersion: v1           fieldsType: FieldsV1           fieldsV1: {f:data={.={}, f:myapp.message={}, f:myapp.name={}}, f:metadata={f:annotations={.={}, f:kubectl.kubernetes.io/last-applied-configuration={}}, f:labels={.={}, f:spring.cloud.kubernetes.config={}}}}           manager: kubectl-client-side-apply           operation: Update           time: 2021-07-07T05:42:37.000Z       }]       name: satya-test       namespace: default       ownerReferences: null       resourceVersion: 114924       selfLink: /api/v1/namespaces/default/configmaps/satya-test       uid: a1ea8761-f4c3-4251-a0ff-e872cb91bd5f   } } 2021-07-07 06:41:23.615 DEBUG 1 --- [ool-10-thread-1] sClientEventBasedConfigMapChangeDetector : locateMapPropertySources 2021-07-07 06:41:23.615 DEBUG 1 --- [ool-10-thread-1] sClientEventBasedConfigMapChangeDetector : environment: ApplicationServletEnvironment {activeProfiles=[kubernetes, development], defaultProfiles=[default], propertySources=[MapPropertySource {name='server.ports'}, BootstrapPropertySource {name='bootstrapProperties-configmap.satya-test.default'}, ConfigurationPropertySourcesPropertySource {name='configurationProperties'}, StubPropertySource {name='servletConfigInitParams'}, ServletContextPropertySource {name='servletContextInitParams'}, PropertiesPropertySource {name='systemProperties'}, OriginAwareSystemEnvironmentPropertySource {name='systemEnvironment'}, RandomValuePropertySource {name='random'}, CachedRandomPropertySource {name='cachedrandom'}, MapPropertySource {name='KUBERNETES_NAMESPACE_PROPERTY_SOURCE'}, MapPropertySource {name='springCloudClientHostInfo'}, OriginTrackedMapPropertySource {name='Config resource 'class path resource [application.yaml]' via location 'optional:classpath:/''}, MapPropertySource {name='springCloudDefaultProperties'},  {name='Management Server'}]} 2021-07-07 06:41:23.616 DEBUG 1 --- [ool-10-thread-1] sClientEventBasedConfigMapChangeDetector : sources: [KubernetesClientConfigMapPropertySource@1848991269 {name='configmap.satya-test.default', properties={myapp.message=Hello Kanha hi dsdfsdfd, myapp.name=Kanha}}] 2021-07-07 06:41:23.616 DEBUG 1 --- [ool-10-thread-1] sClientEventBasedConfigMapChangeDetector : findPropertySources 2021-07-07 06:41:23.616 DEBUG 1 --- [ool-10-thread-1] sClientEventBasedConfigMapChangeDetector : environment: ApplicationServletEnvironment {activeProfiles=[kubernetes, development], defaultProfiles=[default], propertySources=[MapPropertySource {name='server.ports'}, BootstrapPropertySource {name='bootstrapProperties-configmap.satya-test.default'}, ConfigurationPropertySourcesPropertySource {name='configurationProperties'}, StubPropertySource {name='servletConfigInitParams'}, ServletContextPropertySource {name='servletContextInitParams'}, PropertiesPropertySource {name='systemProperties'}, OriginAwareSystemEnvironmentPropertySource {name='systemEnvironment'}, RandomValuePropertySource {name='random'}, CachedRandomPropertySource {name='cachedrandom'}, MapPropertySource {name='KUBERNETES_NAMESPACE_PROPERTY_SOURCE'}, MapPropertySource {name='springCloudClientHostInfo'}, OriginTrackedMapPropertySource {name='Config resource 'class path resource [application.yaml]' via location 'optional:classpath:/''}, MapPropertySource {name='springCloudDefaultProperties'},  {name='Management Server'}]} 2021-07-07 06:41:23.616 DEBUG 1 --- [ool-10-thread-1] sClientEventBasedConfigMapChangeDetector : environment sources: [MapPropertySource {name='server.ports'}, BootstrapPropertySource {name='bootstrapProperties-configmap.satya-test.default'}, ConfigurationPropertySourcesPropertySource {name='configurationProperties'}, StubPropertySource {name='servletConfigInitParams'}, ServletContextPropertySource {name='servletContextInitParams'}, PropertiesPropertySource {name='systemProperties'}, OriginAwareSystemEnvironmentPropertySource {name='systemEnvironment'}, RandomValuePropertySource {name='random'}, CachedRandomPropertySource {name='cachedrandom'}, MapPropertySource {name='KUBERNETES_NAMESPACE_PROPERTY_SOURCE'}, MapPropertySource {name='springCloudClientHostInfo'}, OriginTrackedMapPropertySource {name='Config resource 'class path resource [application.yaml]' via location 'optional:classpath:/''}, MapPropertySource {name='springCloudDefaultProperties'},  {name='Management Server'}] 2021-07-07 06:41:23.616  INFO 1 --- [ool-10-thread-1] sClientEventBasedConfigMapChangeDetector : Configuration change detected, reloading properties. 2021-07-07 06:41:23.616  INFO 1 --- [ool-10-thread-1] sClientEventBasedConfigMapChangeDetector : Reloading using strategy: REFRESH 2021-07-07 06:41:23.652 DEBUG 1 --- [ool-10-thread-1] ubernetesProfileEnvironmentPostProcessor : Adding 'kubernetes' to list of active profiles 2021-07-07 06:41:23.698  INFO 1 --- [ool-10-thread-1] o.s.c.k.client.KubernetesClientUtils     : Created API client in the cluster. 2021-07-07 06:41:23.710 DEBUG 1 --- [ool-10-thread-1] o.s.c.k.c.KubernetesNamespaceProvider    : Looking for service account namespace at: [/var/run/secrets/kubernetes.io/serviceaccount/namespace]. 2021-07-07 06:41:23.710 DEBUG 1 --- [ool-10-thread-1] o.s.c.k.c.KubernetesNamespaceProvider    : Found service account namespace at: [/var/run/secrets/kubernetes.io/serviceaccount/namespace]. 2021-07-07 06:41:23.710 DEBUG 1 --- [ool-10-thread-1] o.s.c.k.c.KubernetesNamespaceProvider    : Service account namespace value: /var/run/secrets/kubernetes.io/serviceaccount/namespace 2021-07-07 06:41:23.715 DEBUG 1 --- [ool-10-thread-1] o.s.c.k.commons.config.ConfigUtils       : Config Map name has not been set, taking it from property/env spring.application.name (default=application) 2021-07-07 06:41:23.744  INFO 1 --- [ool-10-thread-1] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-configmap.satya-test.default'}] 2021-07-07 06:41:23.748  INFO 1 --- [ool-10-thread-1] o.s.boot.SpringApplication               : The following profiles are active: kubernetes,development

Please let me know if I am missing something simple and basic

First thing I noticed is that bootstrap.yaml is mispelled, but that is not really the problem it appears.
I think the problem is something to do with either the controller or the configuration properties class.  I am not familiar with Kotlin so it is hard for me to say.
However if I run the app in K8S and make a change to the configmap I see logging show it detected the change in addition the property source is updated when you hit /actuator/env.

I will second what Ryan said above, I tested this also and it worked for me.
Can you explain what you mean by "...but the data is not refreshed" exactly? How do you come to this conclusion, may be that is the problem.

@ryanjbaxter ,You were right. The issue was with Kotlin Data class which is immutable in nature. Changing this to something like this @ConfigurationProperties(prefix = "myapp") @ConstructorBinding class MyApConfig {     lateinit var name: String     lateinit var message: String }

Because mounting the config map is a best practice in k8s and it doesn't lack any features by doing that.  Is there a use case you have for reading the config map via the k8s api that mounting the config map can't accomplish?


Redesign manual pages

All manual pages are now fully integrated in the main website's design.
Closes #10

Also closes #12 because Gulp is used now to minify generated CSS.
Also closes #11 because bower is used now to get the dependencies and the minified version of bootstrap is used.
frontend-maven-plugin is used to execute Gulp from Maven. Tested under Windows and Linux. Should run under Mac as well.
Changes can be previewed here: http://vert-x3-preview.michel-kraemer.com/docs.html

Sorry for this rather large PR, but it's been quite some work.

Hi Michel,
this looks good but seems to be out of sync with master. Could you perhaps rebase it?
Thanks.

Yes I know. This is due to Julien's changes. It's not working properly anyhow (see my message on the mailing list). I'll send another PR to get rid of JBake first and then update this one.

Ok, will merge this once it's updated :)

Ready to be merged now.

Michel-
One thing I noticed with this is that some of the links, e.g. to /javascripts/, /assets/ etc now use absolute links not relative links so the site does not render any more when opened as a file in a browser (which is what I do to preview it).

I think relative links are preferable - then it's much easier to move the site to a different root in the future (e.g. when we go live we will run the Vert.x 2 and Vert.x 3 sites in parallel on the same domain, as we still have many Vert.x 2 users, and perhaps the Vert.x 2 root is at http://vertx.io/vertx2 and http://vertx.io/vertx3)

Thanks a lot for merging so quickly.
I see your point. I also prefer relative links, but there's an issue with the links in the site header and footer for the docs pages. For example, compare docs/vertx-unit/java/index.html with index.html. The correct relative links to the main documentation page, for example, are ../../../docs.html and docs.html respectively. We need a way to generate relative links dynamically depending on where in the directory structure the header and footer templates are included.
Since all docs use the same directory structure we could probably just add a simple if statement to all links:
{% if layout == 'docs.html' %}../../../{% endif %}docs.html

But this would bloat the code and IMHO also make it hard to maintain. I suppose there will be more pages in the future and we may need to add more if statements, etc.
I've been working on a couple of websites and my strategy to solve this was always as follows:

Define a global variable site_url pointing to the root of your website (e.g. http://vertx.io/ or http://vertx.io/vert-x3/ or even file:///.....)
Add site_url to all relative links like this: <a href="{{ site_url }}docs.html">
Run a small web server to preview the site. You can do this with gulp watch and then going to http://localhost:4000.

As I said, this strategy has been proven to work really well in many previous projects. It is scalable and maintainable. It also supports moving the site, because all you need to do is update the global site_url variable.
By the way, this strategy is also recommended by jekyll. They use a baseurl configuration variable for this.
What do you think?
Cheers,
Michel

Seems like a good approach

OK. Another PR is about to come. Give me a couple of days. I'm currently super-busy. But Sunday should be OK.


[firebase_messaging]: onBackgroundMessage() won't work after Reboot on iOS

Is there an existing issue for this?

[X] I have searched the existing issues.

Are you aware of the differences between iOS and Android background message handling?

[X] I understand that iOS and Android background messages behave differently, and I've designed my application with that in mind.

Do you have an active Apple Developer account?

[X] I have an active Apple Developer account.

Are you using a physical iOS device to test background messages?

[X] I am using a physical iOS device to test background messages.

Have you enabled "Remote Notifications" & "Background Mode" (Checking options for "Background Processing" & "Remote Notifications") in your app's Xcode project?

Have you created an APNs key in your Apple Developer account & uploaded this APNs key to your Firebase console?

Have you disabled method swizzling for Firebase in your app?
no such thing in our info.plist
Are you sending messages to your app from the Firebase Admin SDK?
Also tested with the project you recommend (flutterfire's nodeJS Firebase admin SDK script in previous section) :

Otherwise, we use the Java firebase library :
<dependency>
<groupId>com.google.firebase</groupId>
<artifactId>firebase-admin</artifactId>
<version>9.2.0</version>
</dependency>

like :

Have you requested permission from the user to receive notifications?

[X] I have the relevant permission to receive notifications.

Have you used the 'Console' application on your macOS device to check if the iOS device's system is throttling your background messages?

Additional context and comments
Briefly :

Our app is in Flutter

we make BG code to persist the notification in databse so that we can show it in an "history" screen (works 100% fine on Android and sometimes on iOS)

Android part works 100% of the time :
-- Notifs received 100% of the time
-- Notifs are 100% (BG) handled whether the app is in foreground, background, killed/terminated state, and even after device reboot.

iOS part "partly" works :
-- Notifs received 100% of the time !
-- Notifs are (BG) Handled when app is in foreground, background and even if we kill/terminate the app after this by switching up the app in the recent apps list, notifications are still received and BG handled.

BUT AFTER THE IPHONE's REBOOT :

The BG handling part is "broken..." and just won't work anymore.
We correctly receive the notification (sometimes with seconds of latency...)
BUT the BG code is ignored !

and as we can see in the MacOs console stackTrace screenshot :

response : { Decision : Must Not Proceed , Score : 0.00  [...]  }

What are we missing so that the BG part still works after the device's reboot on iOS !?
Did i miss a configuration part or something ? a parameter maybe ? (We do use content-available : true and priority ones)
How to transform this "must not proceed" decision from iOS when receiving the notification (that, again, we do receive on the phone,) in  "can proceed" or "must proceed" so that the background callback code works normally !?
Any help would be MUCH appreciated ! (^_^)
Thanks in advance.

@Gobmichet
Can you try this and see if it helps in your case ?
Also, can you provide the iOS device details you are using ?

Thanks for the update. I am not sure what should be the expected behavior after rebooting the device, ideally, it should resume the actions as before, but wondering if in this case, the native ios comes into picture or not.
I'll keep the issue open and label for team's input.

Thanks in advance, we're really stuck in here and think we do have already tried everything possible :(

yes i do ;)
indeed the only way to have the background code to work is to first receive a notification in foreground (app opened)
then it works UNTIL you reboot the iPhone.
After reboot nothing works anymore until a first notif is again received when app is opened.


Sprites in embeddings visualizer are wrong?

It seems like the examples are clearly separated by the coding color, but the sprites displayed on seem randomly mixed around the colors. See screenshot.

Because arrangement of sprits in sprite_1024.png is wrong. Please find correct picture in https://github.com/mamcgrath/TensorBoard-TF-Dev-Summit-Tutorial.

Should be fixed now. Thanks @AlexGfocus


feat: allow string allocation

feat:

allow Bigint = string allocation

Codecov Report

Merging #16 into master will increase coverage by 1.77%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   90.66%   92.43%   +1.77%
==========================================
  Files           2        2
  Lines         439      436       -3
==========================================
+ Hits          398      403       +5
+ Misses         41       33       -8

Impacted Files
Coverage Δ

include/bigint.h
100.00% <ø> (ø)

src/bigint.cpp
92.41% <100.00%> (+1.77%)
:arrow_up:

Continue to review full report at Codecov.

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


Bump rusqlite version

This PR updates rusqlite to the newest version.

Sorry forgot about this PR, updated rusqlite on my own. Still thanks ❤


Adds cumulative to Enumerable and Array

resolves: https://github.com/crystal-lang/crystal/issues/8496
This adds cumulative to Enumerable and Array.
This is overloaded on Array to use the existing array for an optimization.

Thank you, but it seems this makes all operations be O(n^2). I don't think this should be merged. The idea of cumulative is to reuse previous results in the calculations.

I agree with @asterite. This implements a recent suggestion in #8496 which didn't get much feedback anyways. I'd rather prefer #reductions and #each_reduction as suggested in https://github.com/crystal-lang/crystal/issues/8496#issuecomment-559440350.

There was an optimization added to array to make it more performant.  The big problem is with enumerable and only having each as the interface.

It's about the fundamental algorithmic complexity of calling yield O(n^2)  times. There's no possible way to make the API you propose work, because people expect their (possibly side-effect having) block to be called once per item in the list.


Contribution process based on #219.

This is a modification of the process we use for core giving certain rights to the admin group.

SGTM.


Add list of excluded features

This commit adds a list of features that have been determined to be out
of scope for futures-lite. The intent of this list is to inform users
which features futures-lite does not implement, as well as potential
contributors which PRs will not be accepted.
cc #111
cc @smol-rs/admins Please give me feedback on this document.

Thoughts about the 'ideal' Sink API: In my view this API is certainly ideal with cases where IO is not involved like channels. But for IO-involved cases, an error type is reasonable, and it can be considered to take the object to send as a reference. So should it be 2 APIs?

As for alternatives to Sink, there was some discussion about something like AsyncExtend (async-std has it but inefficient since that requires boxing).
(Personally, I have the impression that Sink has (potential) users with a variety of different requirements, that there is not yet a solution that sufficiently meets them, and that abstraction is often not actually needed there in the first place.)

@notgull I only raised one concern, which didn't get addressed?

I missed that one @zeenix, I've added a link to the future FEATURES.md to the docs for futures-lite.


Fix: update help output for _cat

Description
[Describe what this change achieves]
This PR updates the help output of _cat
Related Issues
Resolves #14653

Check List

[ ] ~Functionality includes testing.~
[ ] ~API changes companion pull request created, if applicable.~
[ ] ~Public documentation issue/PR created, if applicable.~

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

@ahmedsobeh Also it can happen the that CI will complain about not finished Check List (see the description of this ticket). Because in this case none of these items in the check list make sense(IMO) you can update the check list in Markdown and enclose individual items with ~ character.
Basically changing
[] This is item in the list.

to this
[] ~This is item in the list.~

Which will render like this
[] ~This is item in the list.~

Thanks a lot @ahmedsobeh ! Could you please add an entry to CHANGELOG.md file for this change? thank you!


Fix duplicats in message history

Twitch IRC doesn't prevent sending same messages from users (even from the same user).

It's about the message history. This has nothing to do with twitch


Launcher issue with solder

I have a similar issue to https://github.com/TechnicPack/TechnicSolder/issues/171
solder seems to be enabled on the website but not on the launcher : http://imgur.com/a/WnsNe
here's my build infos : http://imgur.com/a/RWzw2

The issue is with the Solder API response. Please post a link of it. The link will be formatted as so
<solder url>/api/modpack/

http://bit.ly/1ESVPgr This ?

http://ks28064.kimsufi.com/solder/public/index.php/api/modpack/neodarkpack-2
That. Looks like you dont have the same issue. Can you post the API link from the platform

http://ks28064.kimsufi.com/solder/public/index.php/api/
c1617bd23e1ef560b658e62b7b271e602a1dc1c047030f9b26fa4a2b6ca1f3f0

No, the api link you put in the launcher.

hmm i've juste click install on the website i don't have another link :/

just paste the link to your modpack on the site

ooh http://technicpack.net/modpack/neodarkpack-2.556205 :)

Ah, your solder redirects to a flash video

owe sorry for that x) and now ?

Still doesnt work

:/ i don't know what is not working

http://ks28064.kimsufi.com/solder/public/index.php/api/

http://ks28064.kimsufi.com/solder/public/index.php/api and now ?

i don't know why it's redirect to http://ks28064.kimsufi.com//index.php :(

YAY, i've clone the solder/public/index.php at the root and modify
require DIR.'/solder/bootstrap/autoload.php';
$app = require_once DIR.'/solder/bootstrap/start.php';
and.. it works. Really weird

So i don't know if it's an issue of the api or just me ?

Its you, and your web server settings.


SCCP-356-Base-Sepolia

No unexpected changes in this preview https://github.com/Synthetixio/Synthetix-Gitbook-v3/pull/481/files


Add test for error loading gradle properties from included build task

Issue: #19793

@bot-gradle test and merge

No milestone for this PR. Please set a milestone and retry.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you.


typechecker: Format is not marked internally as throws

This snippet typechecks incorrectly (due to not knowing that format throws, while runtime lib returns ErrorOr) and C++ backend catches the error in the TRY macro:
function my_format(value: i64) => format("value is {}", value)

function main() {
    println("{}", my_format(value: 42))
}

If format isn't supposed to throw then the issue is in codegen.


[🚧] new multi tests

[ ] decide on adding pip_check: True / False to PythonTest.
[ ] Reuse previous environments, ignoring pip
[ ] Decide on serialization format, should we keep run_test.py or serialize to a JSON?
[ ] For the Commands test, should we serialize (potential) if selectors so that people can have optional dependencies based on their test platform? E.g.

requirements:
  build:
     - if: build_platform == linux-64
       then:
         - arm-emulator

This is how we are currently serializing the 3 different test types:
PythonTest:

run_test.py (this contains the imports that are listed as import bla..., one per line)

CommandsTest:

test_time_dependencies.json that contains a dictionary with runandbuild` keys
run_test.sh / run_test.bat. If it's an arch'd package, either the .sh or .bat. If it is a noarch package we write both files.

DownstreamTest:

downstream_test.json: { "downstream": "package_name" }.

The Python tests are now serialized to a python_test.json file instead.


Stats collection on first load is  very slow

Steps to reproduce the behavior (Required)
Create a table with 20 array columns and 50 primitive columns.
Each array column contains on average 5 entries.
The table should have 100 million rows.
10 be pods, each be pod with 10 million rows.
An insert statement that updates all rows finishes in 5 minutes, but collect statistics times out after 1 hour.
when we set the following, the query finishes in 5 minutes.
admin set frontend config("enable_statistic_collect_on_first_load"="false");
Expected behavior (Required)
Statistics collection should take less than 1 minute.
Real behavior (Required)
Statistics collection has a timeout after 1 hour and the query fails.
StarRocks version (Required)
3.1

Maybe something wong about the communication between the be and fe was happened. And if so, this can be solved by this pr https://github.com/StarRocks/starrocks/pull/28030

Is there any important information that I missed? Please let me know if it has.

In our setup we run a query of the form:
set enable_sort_aggregate = true;
set enable_tablet_internal_parallel = false;
insert into dim_table
with input as (
select FK,
select array_agg(col1 order by eventtime) as c1,
select array_agg(col2 order by eventtime) as  c2,
...
select array_agg(col20 order by eventtime) as c3
from fact_table
group by FK)
select *
from  dim_table left join input on (input.FK = dim_table.PK)
After the insert the size of the dim_table size (as shown by show data) is 1.47 TB
and the number of rows is 1.3 billion.
This insert completes, and then it waits for 1 hour to collect stats and fails.

In our setup we run a query of the form:
set enable_sort_aggregate = true; set enable_tablet_internal_parallel = false; insert into dim_table
with input as ( select FK, select array_agg(col1 order by eventtime) as c1, select array_agg(col2 order by eventtime) as c2, ... select array_agg(col20 order by eventtime) as c3 from fact_table group by FK) select * from dim_table left join input on (input.FK = dim_table.PK)
After the insert the size of the dim_table size (as shown by show data) is 1.47 TB and the number of rows is 1.3 billion.
This insert completes, and then it waits for 1 hour to collect stats and fails.

Is this issue consistently reproducible?

And could offer the full stack of the fe when the situation happens?

Cannot recreate it, close for now.


all: Refactor to nonblogal template handling

Updates #2701

Although AppVeyor passed, I'm seeing errors (on Windows):
$ go version
go version go1.7.4 windows/amd64

$ go get -d -u -t github.com/spf13/hugo/...

$ git log -n 1 --oneline
d6000a2  all: Refactor to nonglobal template handling

$ go build -i github.com/spf13/hugo/...

$ go test github.com/spf13/hugo/... > out/out.txt 2> out/err.txt

$ ls -l out
total 216
-rw-r--r-- 1 Mark 197121      0 Jan  9 20:07 err.txt
-rw-r--r-- 1 Mark<PHONE_NUMBER>10 Jan  9 20:07 out.txt

(197121 is the group number under Windows.)
I'm using Git for Windows, on 64-bit Windows 7.
A small sampling of the errors:
ERROR 2017/01/09 20:07:18 Failed to normalize URL string. Returning in = "/section/name.html"
--- FAIL: TestURLPrep (0.00s)
	url_test.go:256: Test #0 failed. Expected "/section/name/" got "/section/name.html"
FAIL
FAIL	github.com/spf13/hugo/helpers	0.809s

https://discuss.gohugo.io/t/started-getting-failed-to-normalize-url-string-returning-in/5034/8


scrolling effect

I want to achieve this scrolling effect(found in many single page apps)....http://alvarotrigo.com/fullPage/
I am just presenting this plugin as an example.
Is it possible that with backbone alone(without a plugin) I can achieve the above effect?
My logic for example is that I am going ti have(for example) "2 pages"(I am putting is it quotation marks to indicate that actually  is one HTML page), and each page is associated with a backbone view...the second page/view will be made visible to the user upon clicking a link or scrolling.
I hope you understand what I mean.

Try StackOverflow, the mailing list, the IRC channel, or the gitter room for questions. Github issues are for maintaing the framework only.

Ok...thanks for clarifying.

Yep. https://gitter.im/jashkenas/backbone


Feature/dx 955 add ci entrypoint

Does the git branch things, also calls the original entrypoin with "jekyll build" because I found it neat, hope it works

Speed demon

I merged it, but it was registered as a close here?

Did you merge it on GitHub? If you merge locally, it sometimes doesn't get registered as merged on GitHub.

I did it locally 😢


Expressions starting from _ are treated as placeholders in match cases

Example:
match a
| _.isString => 1
| (_.isString) => 1

Result:
var ref$;
switch (ref$ = [a], false) {
case !true:
  1;
  break;
case !_.isString(ref$[0]):
  1;
}

Expected result:
var ref$;
switch (ref$ = [a], false) {
case !_.isString(ref$[0]):
  1;
  break;
case !_.isString(ref$[0]):
  1;
}

The example shows, that wrapping the expression in parentheses is enough to bypass this bug.

Oh, match. The undocumented, largely untested, experimental feature that somehow people keep discovering anyway.

I don't really intend to do anything to improve the state of match, unless someone feels like fully and properly specifying its behavior. The good news is, as an experimental undocumented feature, I also wouldn't feel even a tiny bit bad about ripping it out and replacing it with something else. You were all warned. :slightly_smiling_face:

OK, fair enough.
I drew an analogy to the partial application or switch's default, where only a standalone underscore has a special meaning. In those cases using _.toString wouldn't trigger anything special.
I might fix it later. For now, let this issue be a walk-around suggestion.

Related issue with a plausible use case scenario:
This:
(_.isPlainObject || _.isArray) value

compiles to:
true || true;

instead of:
_.isPlainObject(value) || _.isArray(value);

Although I think this feature is a real gotcha and makes sense only in the context of match, it actually is documented.

Ha, okay, you got me! This should be fixed.

This looks like an easy one I could tackle, but only from next week.

I'll hold it for you then.

Hi, tried to get expected result @pepkin88 needed using below:
u = _
match a
| u.isString => 1
| (u.isString) => 1

Result:
var u, ref$;
u = _;
switch (ref$ = [a], false) {
case !u.isString(ref$[0]):
  1;
  break;
case !u.isString(ref$[0]):
  1;
}


userconfig in same dotfolder

Would like to keep my XDG_CONFIG_HOME cleaner and keep the dependencies in the same dot folder.

Sounds like a better idea. Thanks.


Bump Drizzle version above 0.34.0

According to 0.35.0 release from drizzle team, it seems that 0.34.0 contains some API functionality that is not functional.
https://github.com/drizzle-team/drizzle-orm/releases/tag/0.35.0
Wondering if it is possible to bump the drizzle version.
This is currently blocking me from implementing ponder as part of my bun turborepo monorepo as I've got 0.36.x and is incompatible with the interface provided in 0.34.0.

@kyscott18 was there a major incompatibility with the new versions of drizzle?


build(tsg): typescript-graph のバージョンを 0.7.4 に上げる

Warnings

:warning:
Please include a description of your PR changes.

Messages

:book:
PR Title: build(tsg): typescript-graph のバージョンを 0.7.4 に上げる

  Generated by :no_entry_sign: dangerJS against 90087c4f5f8bb3eeec79fb1008d9f7ad2aa5ef40

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Missing icon

puke helms (unranked GIM) do not show up in chat.

This was an issue with clanchat.net message processing, has been fixed now :)

messages from unranked GIM are no longer showing up


Create tscacademy.txt

Hi, can you merge this file please.

This is a secondary school, and this database is for higher education (post-secondary) institutions. Closing.


Uneven Interpolation?

I see this old issue https://github.com/JuliaLang/julia/issues/2557
Has this been resolved in Interpolations.jl?
I.e., can we do unevenly spaced 1D interpolation

use  Dierckx.jl

Sorry, just seeing this.
You can do itp = interpolate(x, y, Gridded(Linear())) for uneven data.


Terminal accessibility menu keybinding not read with screen reader attached

Testing #171862
With editor.accessibilitySupport enabled and Windows Narrator running, when I click into the terminal, Narrator reads the terminal number, type (pwsh), and keybindings to navigate within the terminal history, but does not read the keybinding for Show Terminal Accessibility Help. Shortcuts are unchanged from defaults:

I see a couple of problems here:
https://github.com/microsoft/vscode/blob/c35bf3b3401cef46d2c4dee464adb52c97b81228/src/vs/workbench/contrib/terminal/browser/terminalInstance.ts#L1999-L2009

We append to label without a space, so it ends up as "Terminal {0}Press ...`
It only shows when screenReaderOptimized, but it should always show (and include instructions on how to turn it on)

Additionally, I can repro it not being included in the alt text even when screenReaderOptimized which is surprising when looking at the code. I do see the massage about using the up and down to navigate