Mattermost moving to API version 4

Hey @mtorromeo !
First, hugely appreciate you sharing this project back with the world. Fantastic work!
I wanted to let you know about our plans moving to API v4:
To make the Mattermost API web service easier to use and to offer more powerful options for these integrations, Mattermost will be moving to a new API version soon.  Highlights include:

Fully documented API endpoints
More in-depth access to server functionality
Wider use of established HTTP verbs
Consistent endpoint structures
A new and improved Go driver

We plan to release API version 4 on March 16th, with Mattermost server 3.7.  While the current API version 3 will be supported until September 16th, we recommend you begin using API version 4 soon after its release.
Contributing
API version 4 is an active and on-going project. If you're interested in helping contribute, please join our Mattermost community instance and the APIv4 channel.
We've prepared a contribution process for APIv4 and a progress tracker for new APIv4 enpoints to help you get started.
We're also open for suggestions on adding new API endpoints to help with your integration.

I was aware of the upcoming changes but this is not affecting the incoming webhooks, is it?

Hi @mtorromeo , if you're just using webhooks then there will be no changes you'll need to worry about for this project

Nice, thanks!


Numbering opcodes in sidebar

I might have been a bit quick to remove the numbering of the opcodes in the sidebar a few weeks back. I sort of thought it just added clutter to the sidebar, but at the same time I also liked it for a few reasons, namely that it makes it explicit that it's just a simple list of 256 items. Anyway after seeing this comment I'm reconsidering. Will post screenshots of different ideas on this.

All right I've been trying a few things to bring back the numbers. First off, the way I had it before with the monospace font for the number and the standard font for the name didn't work at all; the fonts are not easy to differentiate (especially because there are so few characters of each) and so it just looks odd/off but you don't know why. So I chucked all of those. Here is what I'm left with. I even went a bit wild and tried emojis. I'm not sure they really belong here, but included them anyway. Anyone interested in sharing their opinion on those feel free! I'll leave this open for a little bit before picking one.

I merged a revised version of the opcode numbering in the sidebar.


Is Xamarin supported

Is Xamarin supported by all services that have .NET implementation?

I don't understand what you mean by "all services that have .NET implementation"... but one of the biggest problems is performing user-based auth in an idiomatic way, and we don't have Xamarin support for that at the moment. Additionally, APIs within this repo that rely on gRPC also need a native binary library for gRPC - which again, isn't supported everywhere that Xamarin is.
For the moment, our broad statement is that we don't support Xamarin. We'd like to eventually, and it's possible that for some libraries on some flavours of Xamarin it will work, but you're basically working in an unsupported environment at that point, and if you run into problems we're unlikely to want to spend time trying to investigate them.

Thank you for the answer, Jon. Have a great rest of the week.


Update Free plan button copy and styles in onboarding plan selection screen

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on updating the layout and styling of the OnboardingChoosePlan component in ChoosePlan.tsx. It modifies the grid spacing, button design, and text content for a better user experience.
Detailed summary

Changed grid gap from md:gap-4 to md:gap-5.
Increased height of the spacer from h-4 to h-5.
Replaced the previous button with a new Button styled as outline.
Updated button text to "Skip for Now" with additional informational text.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5500  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


New update breaks doesn't include anything

The new update doesn't include anything
I can't see my images, ads, videos. All i can see is text. Not even the logo of my website (navigation is written on the top instead of logo).
IDK if it's because of my caching plugins as it wasn't an issue before
Please see to it
Website www.feedough.com
caching plugins used autoptimise, wp supercache, speed booster pack

Can you please send your WP-admin info to my email? ahmed [at] magazine3.com ?

@aashishpahwa Can you please post an update on this ticket?

Hi, my defer settings of speed booster pack were not compatible with the
plugin. The plugin works fine now.
On 22 Sep 2016 4:21 a.m., "Ahmed Kaludi"<EMAIL_ADDRESS>wrote:

@aashishpahwa https://github.com/aashishpahwa Can you please post an
update on this ticket?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ahmedkaludi/Accelerated-Mobile-Pages/issues/72#issuecomment-248765721,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVDqRDITdUOoj0mLyul3uYpie-tRCQicks5qsbTpgaJpZM4J_8nP
.


Add pending actor locks metric with actor struct refactoring

Description
Add pending actor locks metric with actor struct refactoring.

Refactor actor struct by adding helper methods
Add unit-test to actor lock and concurrency
Remove activation metric
Add runtime/actor/pending_actor_calls metric to count pending locks

Issue reference
#1258
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test


Add CRUD posts API endpoints

Full developer tests with explanation of coding decisions view here:  https://pejot.sharepoint.com/:w:/s/MeowHub/EX_YoSc_antGnLYz9LnRASAB-8HUoTo_XQEs6mF59Vmk_A?e=V64e0T

Task linked: CU-8696y76jy EPIC - API v3


80 draft

https://www.sandordargo.com/blog/2022/09/07/prepocessive-directive-changes-in-cpp23

https://ibob.bg/blog/2022/09/04/the-case-for-optional-ref-and-void/

https://outerproduct.net/trivial/2022-08-25_unsigned.html


(Java) Passing body / header in an upload task

Hey there,
I'm trying to perform an upload task passing both body and header.
I searched everywhere in your doc, but can't find out how to manage this.
This is what I'm doing so far for the headers:
HashMap<String, String> headers = new HashMap<>();
headers.put("header-field", "header-value");
Fuel.upload(Utilities.UPLOAD_BINARY_URL, Method.POST)
                    .set
                    .header(headers)
                    .source(new Function2<Request, URL, File>() {
                        @Override
                        public File invoke(Request request, URL url) {
                            return signatureFile;
                        }
                    })
                    .responseString(new Handler<String>() {
                        @Override
                        public void success(@NotNull Request request, @NotNull Response response, String s) {

                        }
                        @Override
                        public void failure(@NotNull Request request, @NotNull Response response, @NotNull FuelError fuelError) {
                            Log.e("upload", response.toString());
                        }
                    });

Concerning the body (most important in my case), I've been trying to use the .body without success.
Thanks in advance

Close as implemented in #129


Add action to provide binary

This action provides a binary for each release with the format autokbisw-{{tag}}.

Thanks a lot for your contribution @ces92, great idea & looking good!
Personally I would prefer to release a zip archive of the binary (autokbisw-{{tag}}.zip or so). There seem to be a few Actions for that, and probably the zip command is available on the runner machines as well. Would you be willing to look into this?

@ohueter Yes, I will have a look in the next days.

@ohueter Now the binary will be uploaded as zip file with every release.

Looks good to me, let's merge this. Thanks again @ces92!


How could we inject noise in highD environments?

I found that there are no differences between config/HighD_velocity_constraint/train_Binary_highD_velocity_constraint.yaml and config/HighD_velocity_constraint/train_Binary_highD_velocity_constraint-1e-1.yaml
Other files to implement algorithms in highD environments have the same issues.
How do we inject noise in highD environments to reproduce the result like Figure D.10 in the paper?

As the paper said, in HighD env we "add Gaussian noise to the agent’s action $a_t$ to introduce the control-level stochasticity". So you should find it in the commonroad_environment/commonroad_rl/gym_commonroad/action/action.py. Specifically, in line 260. You can modify it as you need. I kindly recommend reviewing the code first, rather than asking questions without exploring it.

Thank you for guiding me through regulating the transition noise in a high-D environment. Your answer solved my concern.

You're very welcome. I'm glad the explanation helped resolve your concern. I'm always happy to help.


[zh_CN] LF APAC has completed translation fabric docs 2.5 to Chinese

the issue is update to fabric 2.5

Is there any chance we fix the Docs Build recently? @zRich

Is there any chance we fix the Docs Build recently? @zRich

Hi @davidkhala ,
I am discussing with @denyeart, @ryjones and @zRich
currently we have two issues on this PR, 1st is DCO missing, I am checking with @zRich on this. 2nd is about the id-id CI, it seems we have some founding on this and WIP for discussion.
I am going to add you in mail loop.

Merged by hand.


Added new option to prevent autofocus on input search

Due to issues on mobile devices, and using the code from #1467 I added a new option on the Vue component

Please remove all build files as they will be generated while creating package. No need to add them.

Opened new PR to fix merge conflicts - https://github.com/shentao/vue-multiselect/pull/1579


Flip animation possible bug in safari

I noticed a possible bug with flip animations in safari. When you're scrolling down you can see the content of the animation just linger there waiting for you to scroll down. You can actually experience this in the demo page, under the fip animations.

Is this how it's supposed to work?
I already created a fork, and a fix that I can merge if that's not the case. thanks!

Change 100deg for 90deg in the css, and you will not see it...

This issue is fixed on next branch. I'm going to release v3 beta during this weekend.


Node runtime detection fails with PowerShell 7 on macOS and maybe Linux too

node -e 'require("fs").writeFileSync("/Users/mikes/Library/Application Support/vscode-sqltools/.node-runtime", process.execPath)' && $(exit 0)
Result error
node -e "require('fs').writeFileSync('/Users/mikes/Library/Application Support/vscode-sqltools/.node-runtime', process.execPath)" && $(exit 0)
Result succeed

Originally posted by @mikes-gh in https://github.com/mtxr/vscode-sqltools/issues/1024#issuecomment-1313375129

See also #1038 (failure when using Git Bash shell on Windows).

I can confirm that node runtime detection is buggy on Ubuntu 20.04.4: it happens each time when I start VS Code and stuck in process the whole system (even OS!) sometimes for around 5 sec, but somehow the runtime detection is successful? See the screenshot just after starting VS Code:

The language server crash is reported each time, but I suppose this is #971.
I noticed, that extension runs the command similar to
node -e 'require("fs").writeFileSync("/home/mingun/.local/share/vscode-sqltools/.node-runtime", process.execPath)' && $(exit 0)

in the integrated VS Code terminal, but the it closes so quickly so I have no time to see the exactly command (I only sure that it writes something to the home folder and that the name of file is .node-runtime and there a something named vscode-sqltools or .vscode-sqltools in the path). I've checked my home folder for a .node-runtime file and find the file /home/mingun/.local/share/vscode-sqltools/.node-runtime with the following content:
/usr/bin/node

File have change time equal to a time when VS Code was opened

Getting an error vscode with Git bash as default terminal, SQLTools v0.27.1


[Storage - Blob] Highlevel uploadStream should success failing in nightly runs

Storage - Blob nightly test runs are failing with:

Error message:
Timeout of 1200000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (D:\a_work\1\s\sdk\storage\storage-blob\dist-esm\storage-blob\test\node\highlevel.node.spec.js)
Stack trace:
Error: Timeout of 1200000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (D:\a_work\1\s\sdk\storage\storage-blob\dist-esm\storage-blob\test\node\highlevel.node.spec.js)
at Test.Runnable._timeoutError (D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runnable.js:442:10)
at Timeout. (D:\a_work\1\s\common\temp\node_modules.pnpm\mocha@7.2.0\node_modules\mocha\lib\runnable.js:252:24)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7)

For more details check here:

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=1056467&view=results

This looks like a one-time flakiness so I would say lets close but if it comes up again we should investigate cc @EmmaZhu


Fixed cv::cuda::orb async calls.

I've got the following compilation error:
opencv/modules/cudafeatures2d/src/orb.cpp:655:77: error: invalid initialization of reference of type ‘cv::InputArray {aka const cv::_InputArray&}’ from expression of type ‘cv::cuda::Stream’
opencv/modules/cudaarithm/include/opencv2/cudaarithm.hpp:252:17: error: in passing argument 4 of ‘void cv::cuda::bitwise_and(cv::InputArray, cv::InputArray, cv::OutputArray, cv::InputArray, cv::cuda::Stream&)’

@jet47, let me assign it to you

:+1:

Any update on this?  I'm waiting on this to be in master before I start pushing the next round of improvements.

:+1:  but the commits probably need to be squashed

Hello,
I actually rolled these changes into a21ede94522d94d4457bb2cc53d76e1789f9557b because someone was asking to see the application of the thrust allocator.

Transferred to new PR


Faster TableData lookup

Hi,
I made a function that more quickly can determine the x and y index to look up the data in the table.
On one of my use-cases which has 11282x125 cells, it speeds up the re-rendering of the Surf dramatically, going from a 2 second update to smooth zooming and panning.
It assumes that the x and y axes are strictly increasing, but from what I can tell, that was also necessary before.
It currently only works for the case areas=true and interp=NO. If you approve of the change, I could maybe make it work for the other cases at some later time.

Hi Magnus. I am not good in this, please check that your commit is merged.

I'm also not an expert with git, but it looks like my code is in the main branch now.


Theme path woes

Hey all, ran into this issue when I noticed my docs builds started failing a couple days ago. I hadn't changed much in my conf.py so I diffed the generated conf.pys from the cat conf.py step. The successful build is on the left. Looks like the default theme path isn't getting set anymore or something. I might be off-base on the debugging, but I figured I'd report it anyways.

I've tried a a few things, but no luck. A bit of googling shows it happening elsewhere lately, too?

I believe this should be fixed now. I believe it was an issue with Sphinx < 1.3.

A rebuild of your docs looks good. Closing this. Sorry about that, we switched to using an installed theme, and Sphinx 1.3+ installs it automatically, but not on < 1.3.

Ah, it happens. Thank you for looking into it and resolving it within the day. :)


🐛 [firebase_firestore] gRPC-Java crash Android 11

Bug report
Describe the bug
firebase firestore can't be used on my android 11 device (android 11 in the emulator seems to work fine though).
It crashes immediately.
W/.redacted( 5616): Accessing hidden method Lcom/android/org/conscrypt/OpenSSLSocketImpl;->getAlpnSelectedProtocol()[B (greylist-max-q,core-platform-api, reflection, denied)
W/.redacted( 5616): Accessing hidden method Lcom/android/org/conscrypt/AbstractConscryptSocket;->getAlpnSelectedProtocol()[B (greylist-max-q, reflection, denied)
E/AndroidRuntime( 5616): FATAL EXCEPTION: grpc-okhttp-0
E/AndroidRuntime( 5616): Process: de.leptopoda.bierverkostung, PID: 5616
E/AndroidRuntime( 5616): java.lang.AssertionError: Method getAlpnSelectedProtocol not supported for object SSL socket over Socket[address=firestore.googleapis.com/2a00:1450:4007:819::200a,port=443,localPort=41534]
E/AndroidRuntime( 5616):        at io.grpc.okhttp.internal.OptionalMethod.invoke(OptionalMethod.java:114)
E/AndroidRuntime( 5616):        at io.grpc.okhttp.internal.OptionalMethod.invokeWithoutCheckedException(OptionalMethod.java:135)
E/AndroidRuntime( 5616):        at io.grpc.okhttp.OkHttpProtocolNegotiator$AndroidNegotiator.getSelectedProtocol(OkHttpProtocolNegotiator.java:183)
E/AndroidRuntime( 5616):        at io.grpc.okhttp.OkHttpProtocolNegotiator$AndroidNegotiator.negotiate(OkHttpProtocolNegotiator.java:145)
E/AndroidRuntime( 5616):        at io.grpc.okhttp.OkHttpTlsUpgrader.upgrade(OkHttpTlsUpgrader.java:63)
E/AndroidRuntime( 5616):        at io.grpc.okhttp.OkHttpClientTransport$4.run(OkHttpClientTransport.java:571)
E/AndroidRuntime( 5616):        at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
E/AndroidRuntime( 5616):        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/AndroidRuntime( 5616):        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/AndroidRuntime( 5616):        at java.lang.Thread.run(Thread.java:923)
I/Process ( 5616): Sending signal. PID: 5616 SIG: 9
Lost connection to device.

seems to be connected to gRPC #7519
Additional context
I only get this since android 11 (but not in the emulator). Opening the app without a network connection (flightmode) does not crash the app.
Also the device does not have play services if it matters
W/GooglePlayServicesUtil( 2050): Google Play Store is missing.
E/GooglePlayServicesUtil( 2050): GooglePlayServices not available due to error 9
W/Firestore( 2050): (22.0.1) [GrpcCallProvider]: Failed to update ssl context: com.google.android.gms.common.GooglePlayServicesNotAvailableException

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.5, on Linux, locale de_DE.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio
[✓] Connected device (3 available)

! Doctor found issues in 1 category.

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.12.3
Flutter SDK 2.0.5
bierverkostung 0.9.2+1

dependencies:
- cloud_firestore 1.0.7 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 1.0.5 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- cupertino_icons 1.0.2
- email_validator 2.0.1
- file_picker 3.0.1 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface]
- firebase_auth 1.1.2 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.1.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- fl_chart 0.35.0 [flutter equatable pedantic]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_archive 3.0.0 [flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- intl 0.17.0 [clock path]
- path_provider 2.0.1 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- pattern_formatter 2.0.0 [flutter intl]
- provider 5.0.0 [collection flutter nested]
- qr_code_scanner 0.4.0 [flutter]
- qr_flutter 4.0.0 [flutter qr]
- random_color 1.0.6-nullsafety [flutter]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- lint 1.5.3
- yaml 3.1.0 [collection source_span string_scanner]

transitive dependencies:
- async 2.5.0 [collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.1.0
- charcode 1.2.0
- clock 1.1.0
- cloud_firestore_platform_interface 4.0.3 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 1.0.7 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.0.3 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.0.5 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- collection 1.15.0
- equatable 2.0.0 [collection meta]
- fake_async 1.2.0 [clock collection]
- ffi 1.0.0
- file 6.1.0 [meta path]
- firebase_auth_platform_interface 4.2.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 1.1.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.0 [flutter meta plugin_platform_interface]
- firebase_core_web 1.0.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_plugin_android_lifecycle 2.0.1 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- js 0.6.3
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- nested 1.0.0 [flutter]
- path 1.8.0
- path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 2.0.0 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.1 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.11.0
- platform 3.0.0
- plugin_platform_interface 2.0.0 [meta]
- process 4.2.1 [file path platform]
- qr 2.0.0 [meta]
- sky_engine 0.0.99
- source_span 1.8.0 [charcode collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0 [collection]
- vector_math 2.1.0
- win32 2.0.5 [ffi]
- xdg_directories 0.2.0 [meta path process]

Hi @Leptopoda
Does some specific code you have at startup that causes the issue or does it occur at just plugin registration? You can find out by stripping the code to just a blank app and then adding in firebase initialization, some firestore code etc.
Tested this with an Android 11 Oneplus 8 with google play services and didn't see any crash. As far as I know, play services are necessary to communicate with firebase.
Thank you

As far as I know, play services are necessary to communicate with firebase.

https://firebase.google.com/docs/android/android-play-services

Does some specific code you have at startup that causes the issue or does it occur at just plugin registration? You can find out by stripping the code to just a blank app and then adding in firebase initialization, some firestore code etc.

Sorry for not being specific enough
The problem seems to be when reading or writing to firestore
I guess I'm wrong here so could you point me to where I can report this to the Firebase Android team?

You can open an issue at https://github.com/firebase/firebase-android-sdk/issues and/or https://firebase.google.com/support/troubleshooter/report/bugs
Labelling this for now just based on the report since reading or writing through the package causes the crash.

Thanks again for the help
I'm currently in contact with support so I'll close this one for now


[bug] Initials constructor

echo (new Initials('Lasse Rafn'));  // Output: JD instead of LR

Yeah, the constructor is missing. Or the documentation is wrong.


Proper date localization

Dates are or localized in German or US style, not UK (or Canadian?).
The config for the bootstrap-datepicker needs to be modified.

There is also a bug. The "end date" is often not saved or invalid

This should be fixed in 66d5a3d and version 0.11. See also #65.


Action deletes the file within the gist

After following the steps outline in the README, I trigger the GH action and the file within the gist remains unchanged on the first attempt but changes the title of the gist to "Weekly development breakdown". On a second trigger of the action, the file within the gist is actually deleted and the title reverts to the generic title gist:<id> title. The logs in the action seem completely fine on those first 2 runs yet something is clearly going wrong (see here).
Additional steps taken:

Recreated a new gist -> same issue
Recreate a new token -> same issue
Deleted the repo and started fresh with reforked repo, new gist, and new token -> same issue

References:
gist
forked repo
Any clue at what is going on here?

Were you able to find a work around? @tatumalenko

Were you able to find a work around? @tatumalenko

Honestly, it started working after a few days out of nowhere. It worked for a while then it was soso. I didn't really look into it and kind of gave up on it.


Connection string not returned when using the Token Library

string connectionString = TokenLibrary.GetConnectionString();
doesn't return a connection string but a token

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

ID: 56d638cd-6592-ce95-90aa-dc8d6e4e90ba
Version Independent ID: 5360961f-6bfc-ecad-cf49-22eee26bd010
Content: Secure access credentials with Linked Services in Apache Spark for Azure Synapse Analytics - Azure Synapse Analytics
Content Source: articles/synapse-analytics/spark/apache-spark-secure-credentials-with-tokenlibrary.md
Service: synapse-analytics
Sub-service: spark
GitHub Login: @mlee3gsd
Microsoft Alias: martinle

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

@Jcardif
I've delegated this to @mlee3gsd , a content author, to review and share their valuable insights.

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


"Class name must be a valid object or a string in Token/Stream.php on line 218"

When I run "phpdcd src" to check my codebase, it prints the version line (phpdcd 1.0.1 by Sebastian Bergmann.) then sits for about a minute before failing with this error:
Fatal error: Class name must be a valid object or a string in phar:///usr/local/bin/phpdcd/php-token-stream/Token/Stream.php on line 218
Using "-vvv" for debugging info doesn't generate any additional output.

I lost interest in this project a long time ago, mostly due to the limitations of its implementation. Today I added a note that this project is no longer maintained to its documentation and closed all open tickets. Feel free to continue to work on this in a fork.


xService: Adding support for Group Managed Service Account

Pull Request (PR) description
Add support for Group Managed Service Accounts to xService. This enables the xService DSC resource to setup the runas account for services using a Group Managed Service Account (GMSA). This pull request adds support and unit tests for the gMSA setup.
This Pull Request (PR) fixes the following issues
No open issues for the missing support of gMSA's on xService
Task list

[X] Added an entry under the Unreleased section of the change log in the README.md.
Entry should say what was changed, and how that affects users (if applicable).
[X] Resource documentation added/updated in README.md.
[X] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[X] Comment-based help added/updated.
[X] Localization strings added/updated in all localization files as appropriate.
[X] Examples appropriately added/updated.
[X] Unit tests added/updated. See DSC Resource Testing Guidelines.
[X] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

Integration tests for the GroupManagedServiceAccount were not added as the appveyor build environment does not run in domain context, so integration testing gMSA's is not possible.

This change is

Codecov Report

Merging #441 into dev will increase coverage by <1%.
The diff coverage is 82%.

@@         Coverage Diff          @@
##            dev   #441    +/-   ##
====================================
+ Coverage    72%    72%   +<1%
====================================
  Files        27     27
  Lines      3995   4013    +18
  Branches      4      4
====================================
+ Hits       2898   2912    +14
- Misses     1093   1097     +4
  Partials      4      4

@danielboth I wanted to run this by you before I merge this PR. Please see this https://github.com/PowerShell/PSDscResources/issues/108#issuecomment-416788334, would it be possible to use the same technique adding a gMSA to the Credential property? I just want to rule it out, so we don't add something that is more overly complicated. Even if it do work, maybe this proposal has more advantages anyway? Appreciate your input on this one, thank you!

Hi @johlju, it's definitely possible to add the gMSA in the same way in the Credential parameter. It would even be easier to add that way, since then we could just verify in the code that when the password is empty, we don't pass it forward to the CimMethod that set's the service properties.
For example this:
https://github.com/PowerShell/xPSDesiredStateConfiguration/blob/d50a45e70308629de4726cb6babe5093ada2107b/DSCResources/MSFT_xServiceResource/MSFT_xServiceResource.psm1#L1359
Could easily become:
if(-not([string]::IsNullOrEmpty($Credential.GetNetworkCredential().Password))){
$changeServiceArguments['StartPassword'] = $Credential.GetNetworkCredential().Password
}

Now this has also one (big if you ask me) downside. That is the fact that DSC, even though we are passing an empty password, requires us to enable plaintext password support by setting PSDscAllowPlainTextPassword in the configuration for the node. Try explaning an auditor that in order to use more secure accounts, we need to enable plaintext password support. I would also like to avoid enabling my configurations to save plaintext passwords. That's why I opted for the separate parameter instead.

@danielboth This sounds like a much better approach then adding a separate property for this. And since PSDscAllowPlainTextPassword shouldn't be used in production, but instead the configuration should be encrypted I think an auditor see the benefit that the configuration is using a secure account, and the configuration is encrypted, protecting the account name even more.
This resource is also most likely to be used in a configuration with other resources requiring securing the mof file as well.
If it is used in a configuration where there were nothing else to secure, I can see the benefit of having a separate property for this, but I can't see that maintaining the additional code complexity making it worthwhile.
I'm in favor of changing this to your suggestion, using the Credential property, than adding another property.

I stil feel that putting in a Group Managed Service Account in a credential object is not the right way. This because we cannot create a credential object for a gMSA, we can just define the user itself and the user itself is just a simple string, nothing more. So why claim you expect a credential when what you are really asking for is the username? Sounds a bit misleading and not intuitive at all.
I also see your point about implementing an extra parameter just for this, which might add a bit too much overhead on the codebase. I agree there.
What about renaming the current BuiltInAccount parameter to RunAsUser? That property could then be used both for the builtin users (LocalSystem, NetworkService) and for Group Managed Service Accounts. That way, if it's not LocalSystem or NetworkService we assume that the user provides us with a Group Managed Service Account. We will still support the Credential parameter for any other accounts.  Would that be acceptable?

I agree that using credential object can be misleading. Renaming built in account sounds like a good option, but would make use remove the ValidateSet, making users potentially spell those built in account wrong (really minor issue though :), and it would be a breaking change if we rename it.
Honestly, In this case, and since there are only two opinions in this PR, I will weight the opinion of the PR author higher than my opinion. @danielboth If we disregard that any option need more work, or breaking change, what option do you like the best? Let's go with that.

I read the whole thread and if I would have to choose (in order of preference) I'd go with:

new parameter (no risk for breaking change, using gMSA the way God intended)
merging it with BuiltInAccount (still using string for string property, but potential issues with spelling)
credential object (fake one, with all the overhead of maintaining password/certs/plain text/LCM config)

I can't wait to start using it for that purpose within DSC, for now we have simple resources that enable us to work around the problem of the missing proper support, so the more, the merrier...

@danielboth sounds good.
@bielawb thanks for you voice on this!

The CLA bot is waiting for CLA to be signed, but that should be already signed (as per other PR's). Closing and directly open this PR to kick off the CLA bot again.

@danielboth This is merged now! Thank you for this, and the great discussion around this! 😃


Uncaught Error: dlopen(~/Desktop/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keybo...

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: <https://github.com/issues?q=is%3Aissue user%3Aatom>
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions
Atom: 1.60.0 x64
Electron: 9.4.4
OS: macOS 12.0.1
Thrown From: Atom Core
Stack Trace
Uncaught Error: dlopen(/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 0x0001): tried: '/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node' (no such file), '/usr/lib/keyboard-layout-manager.node' (no such file)
At electron/js2c/asar.js:140

Error: dlopen(/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node, 0x0001): tried: '/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node' (no such file), '/usr/lib/keyboard-layout-manager.node' (no such file)
    at process.func [as dlopen] (electron/js2c/asar.js:140:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
    at Object.func [as .node] (electron/js2c/asar.js:149:18)
    at Module.load (internal/modules/cjs/loader.js:815:32)
    at Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module._load (electron/js2c/asar.js:769:28)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:74:18)
    at customRequire (/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app/static/<embedded>:1:756278)
    at get_KeyboardLayoutManager (/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app/static/<embedded>:14:2873999)
    at get_manager (/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app/static/<embedded>:14:2874101)
    at Object.getCurrentKeyboardLayout (/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app/static/<embedded>:14:2874227)
    at e.keystrokeForKeyboardEvent (/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app/static/<embedded>:14:1121316)
    at KeymapManager.keystrokeForKeyboardEvent (/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app/static/<embedded>:11:1225566)
    at KeymapManager.handleKeyboardEvent (/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app/static/<embedded>:11:1223551)
    at WindowEventHandler.handleDocumentKeyEvent (/Users/marcela.fsantos/Desktop/Atom.app/Contents/Resources/app/static/<embedded>:11:286682)

Commands
     -0:14.6.0 core:paste (input.hidden-input)

Non-Core Packages

Additional Information

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way 😀


[WIP] [Dual-stack] Introduce IP_FAMILIES for integration tests

Please provide a description of this PR:
This PR tries to address the comment as mentioned in https://github.com/istio/istio/pull/51914#discussion_r1668094067
Fixes https://github.com/istio/istio/issues/53704
Currently this includes kind_provisioner.sh too just for testing purpose and review. Once finalized the respective changes will move to istio/common-files repo
Right now we have IP_FAMILIES which can be
"V4"
"V6"
"dual"
This PR suggests we simply pass a list of families to the test as a test arg and drop "dual". Whatever ipfamily order the tests are passed is the order that will be used in the test, and if more than one family (regardless of order) is provided we always use IPFamilyPolicyRequireDualStack for the policy.
This simplifies things, as the only test knob is IP_FAMILIES which can be V4, or V6, or both, in your choice of order/preference.
That also makes it easy to run a suite with IP_FAMILIES=[v4, v6] while we sort out why IP_FAMILIES=[v6, v4] doesn't work, as a separate concern - we can then run it both ways, if we want.

Raising this for an early feedback from @bleggett and @sridhargaddam , and also for testing all possible combinations of IP_FAMILIES before we make this run in CI permanently


A plugin that makes you unable to open more implings if it sees you have a clue in inventory

Since you can't humanly react to stop looting impling jars as soon as there is a clue looted this would remove that issue and save impling jars.
When a clue scroll is in inventory change the left click option to "use" or just not left clickable at all as long as it stops you from using the left click option.

https://github.com/runelite/runelite/wiki/Rejected-or-Rolled-Back-Features see section about conditional menu entry swapping

how about this in the plugin hub?

how about this in the plugin hub?


Allow result path equal to base path in three-way merge

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

Version: 1.88.0-insider
Commit: 09d5f4efc5089ce2fc5c8f6aeb51d728d7f4e758
Date: 2024-03-21T05:47:52.617Z
Electron: 28.2.6
ElectronBuildId: 27476517
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Linux x64 5.15.0-100-generic
Steps to Reproduce:

Run code CLI with merge command and pass a result path as last argument which is equal to the base path:

code --merge file1.txt file2.txt base.txt base.txt

Instead of a three-way merge, the editor will open with all three files opened in normal view.
Why is this important?
The three-way merge view is very useful for some use cases where the base version is the one that should be modified as a result of the merge. One example: If file1 is generated from a base template, but the generated file was later modified resulting in file2, I want to update the base template in three-way merge to incorporate the changes. This allowed me to use vscode as merge editor for the chezmoi dotfiles manager.
This used to work in previous versions of vscode, but has stopped working for me after updating to 1.87.2.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Flutter Web - Browser Refresh Notifier

Use case
This feature can be very useful to detect browser refreshes especially for forms or text inputs. The users can be notified that their data will be lost. Also (in my case) when use packages like flutter_screenutil, the draft data is lost upon browser refresh and errors are logged. Even navigator may be used to push a new screen every time browser refreshes, but a notifier or a callback would be way more useful and handy
Proposal
I think this feature can be added to the dart:js or directly in the framework itself. A flutter notifier would be great and make things very much easier but using dart for this feature wouldn't hurt too. The notifier (in flutter) would work just like flutter's NotificationListener and notify its children.
Else, a dart callback would also do. In flutter, setState can be called in the callback, to update changes.
Or in my case, I can call navigator.push in the callback to go back to the home screen from where I will navigate back to the screen.

This looks like a good idea for a plugin or a package. It can also be implemented directly using package:js by calling the browser API directly. The framework is probably not the right place for this functionality because it is very platform-specific.


Update audio_playback.ipynb

It is saving in that code block and not playing

Hi,
Thanks for noticing this. I cannot open your notebook in github; the original notebook seems fine to open though:
https://github.com/Xilinx/PYNQ/blob/master/boards/Pynq-Z1/base/notebooks/audio/audio_playback.ipynb
so can we just change the title without deleting cell output?


Single statement return

Something to consider.
Example:
fn square(x: int): int -> x * x;

fn main(): int {
    printf("%d\n", square(4));
    // Output: 16
}

Ok, I've chosen to not change the single-statement parser in parseBlock(), because that would interfere with match clauses. Instead, I wrote another parser in parseFunctionDecl(Parser *self) that reads an expression then wraps it in a return statement.
Thoughts?

@MovingtoMars If it works, then it's fine :+1:


mark poisson_low() function for removal

What should be changed
cogent3.maths.stats.poisson_low()
Why
Not used in cogent3, available in scipy.stats?
How much notice
6 months notice. This should be represented in the user warning as a specific version. e.g. .<current month + x> where x is from the PR date.
Guidelines for deprecation
As this is a function that will be removed, see dev guidelines for deprecation of code. Indicate the limiting version (for when the old function will be removed) as the number above from when you make the change.

I would like to do this issue


Some blank lines are deleted

Raw hljs works as expected, but you'll notice one of the blank lines in the code block is removed when using angular-highlightjs
Raw: https://jsfiddle.net/a1vh98ws/1/
Angular: https://jsfiddle.net/Lasdvo33/1/

It seems that Raw version uses highlight.js 9.6.0, and Angular version uses highlight.js 8.9.1 .
Sync there version will produce the same output.
Here's Angular version with highlight.js 9.6.0
https://jsfiddle.net/arp4a21t/

Maybe it's a browser difference? Still broken for me:

I'm running Ubuntu 16.10 x64, Chrome 53.0.2785.101 (64-bit)

I find this is actually a bug of angular-highlightjs. While trying to strip new lines from the head of the code, the regex doesn't work as expected.
https://github.com/pc035860/angular-highlightjs/blob/master/src/angular-highlightjs.js#L283
// get static code
// strip the starting "new line" character
var staticHTML = tElm[0].innerHTML.replace(/^(\r\n|\r|\n)/m, ''),
    staticText = tElm[0].textContent.replace(/^(\r\n|\r|\n)/m, '');

I'll get this fixed soon. Thanks for the report!

To find a new line at index 0, skip the m modifier:
.replace(/^(\r\n|\r|\n)/, '')
Or alternatively you could just trim whitespace at start/end.
Trim start:
.replace(/^\s+/g, '')
Trim start and end:
.replace(/^\s+|\s+$/g, '')
Would love if this gets fixed =)

@n4bb1 Thanks for the advice. Just got it fixed and published a new version.

Thanks man.
I am also having the same issue with the inlcude-directive:
https://github.com/pc035860/angular-highlightjs/blob/master/src/angular-highlightjs.js#L467


Is there any way to fetch child class?

I have two classes as below:
public class User {
    private List<Project> projects = new ArrayList<>();
}

public class Project {
    // do something here
}

In repository layer, is there anyway to load an user with its collection similar to fetch join in JQL?

no but you should use entity grah

Thank you so much.
Is it support MATCH AGAINST functions?

if the function isn't supporting natively with torpedo you could use Torpedo.function()


Update debug_vs QGIS to 0.8

The debug_vs plugin in QGIS is currently set to 0.7 with ptvsd as backend. The new 0.8 works with pydebug, but seems to be broken. See this PR: https://github.com/lmotta/debug_vs_plugin/pull/14.
When the PR is closed and merged, we can move to the latest plugin version.

qgis debugging has been removed for now, since it made https://github.com/Deltares/Ribasim/pull/1285 a bit annoying.
Let's add it back when https://github.com/lmotta/debug_vs_plugin/pull/14 is merged and released.


Optimize assessment of model submissions for keyboard

Is your feature request related to a problem?
Since I have many model submissions to assess, I'd like to be as efficient as possible. As a power keyboard user, I think all the clicking slows me down in my work and is kind of tedious.
Describe the solution you'd like
When I double click a class to assess it...

[ ] pre-focus the first input element, so I can use the tab key to navigate through the fields
[ ] I'd like to have a "go to next element" button at the end of the popover, so I can use the tab key (+enter) to switch to the next class quickly

@jwilland-tum this is related to Apollon. Could we support something like this easily?

Thank you for your request. PR https://github.com/ls1intum/ArTEMiS/pull/442 includes the requested features.
When you open a popover to provide an assessment for an element, the first input field will be focused automatically. At the bottom of the popover, we added a button to assess the next element. With this button, you can iterate through root elements (not each individual child). Apparently, there seems to be a bug in the underlying technology if you use the enter-key to press the button. Then, in the next visible popover, the first input field is not focused correctly. For now, we suggest using the space-key to press the 'Next Assessment'-button until we find a workaround to make the enter-key work correctly.


About CarlaDataProvider .

Describe our question or idea
A clear and concise description.
I want to know, why not replace the function of CarlaDataProvider with carla.WorldSnapshot, I think this is a more appropriate approach
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Ubuntu 20.04]
CARLA Version [e.g. CARLA 0.9.13]
Python version [e.g. 3.9]
Version [e.g. 0.9.13]

Well yes, you could use the WorldSnapshot for many things. The story is as always: When we started with SR, there was no WorldSnapshot, and then SR grew, CARLA added the WorldSnapshot calls, but SR meanwhile had a working solution.
If you would like to introduce the Snapshot to replace for example the actor handling (dicts) in the CarlaDataProvide we may support you in this process and of course would be very happy to bring this into this repo.


Conditional Future chaining

Hi,
Just start using BrightFutures and it's really fun! Thanks for the work done :)
I have a question, recently hit this patter two times:
future {
    //Do some computation
    return Result(value: successValue)
}.flatMap { goodValue in
    if goodValue.holdSomeCondition() {
        return doSomethingElse()
    } else {
        return Future(value: goodValue)
    }
}

The question is, how can I avoid the flatMap when the condition isn't true? I found filter but if the condition is false the operation fail. I could do the filter and handle the error but I don't like it much.
Thanks

Thanks for your kind words!
I don't think there's a more elegant way to do this, yet. Perhaps if Swift would add a way to incorporate pattern matching in custom places we could make something like what you're looking for.
The alternative to what you have right now would probably be a combination of filter and recover, but I think the solution you have right now is better.
I hope that helps!


Bug: CHROME_USER_DATA_DIR not working for login

Describe the bug
Hi
I wish to use ArchiveBox to save content from subscriptions behind paywalls.
I have exported cookies in Netscape format (for WGET I understand - COOKIES_FILE) and shared Chromium paths with Archivebox (CHROME_USER_DATA_DIR).
Neither have resulted in logins (evident in screenshots and denied access).
The latter Chromium user data folder process has been particularly problematic - rejecting the path provided (no "Default" profile found where it was there) before suddenly accepting it.
To ensure a usable cookie, I created a VNC session on the server, browsed via Chromium to the site, logged in and then tried using archivebox and providing the path to the User Data folder.
Great project - but the login feature is critical for me to archive content behind paywalls.
Regards
Marc
Steps to reproduce
[SERVER_CONFIG]
SECRET_KEY = XXXXXXXXXXXXX

[ARCHIVE_METHOD_OPTIONS]
COOKIES_FILE = /home/XX/cookies.txt
CHROME_USER_DATA_DIR = /home/XX/.config/chromium

[ARCHIVE_METHOD_TOGGLES]
SAVE_ARCHIVE_DOT_ORG = False

Screenshots or log output
Could not find profile "Default" in CHROME_USER_DATA_DIR.
archivebox_1  |     /home/XX/.config/chromium
archivebox_1  |     Make sure you set it to a Chrome user data directory containing a Default profile folder.

ArchiveBox version
 ArchiveBox v0.6.3: archivebox server

ArchiveBox Dev docker image running on Debian Testing

Are you mounting the chrome profile inside of docker? Keep in mind the Chrome version inside docker and outside is different, you must create the profile with the exact same browser binary.

Are you mounting the chrome profile inside of docker? Keep in mind the Chrome version inside docker and outside is different, you must create the profile with the exact same browser binary.

I had the same problem, probably its upstream problem with headless chromium or as pirate says incompatible chrome versions.
I got it working after replicating my setup outside docker with google-chrome for CHROME_BINARY, afterwords the profile with cookies and logged in session works

I'm using docker-compose to run ArchiveBox (v0.6.2) with chromium 90.0.4430.93 running inside the container. Outside docker I'm running chromium 99.0.4844.82 on Ubuntu 20.04.
How can I use the same chromium binary to create the profile?
On Ubuntu 20.04 I cannot install chromium version 90.0.4430.93:
sudo apt install chromium-browser=90.0.4430.93
E: Version '90.0.4430.93' for 'chromium-browser' was not found
Do I need to mount the folder containing chromium 99.0.4844.82 on Ubuntu 20.04 (/snap/bin/chromium) inside the docker container? Or can I update chromium inside the docker container?
If I add /snap/bin:/snap/bin as a volume in the docker-compose.yml and set CHROME_BINARY=/snap/bin/chromium and run docker-compose run archivebox --version I get an error saying ! CHROME_BINARY:  /snap/bin/chromium (unable to detect version)

UPDATE
I was able to install chromium 90.0.4430.93 on MX Linux (same version as in the ArchiveBox docker image)
$ chromium --version  Chromium 90.0.4430.93 built on Debian bullseye/sid, running on Debian 11.1
On the host I visited a few sites and accepted the cookies.

Also the hashes are the same:
$ shasum chromium/Default/Cookies
ec465fa8c3e280de02d1e0a86dd0a01dcab7f090  chromium/Default/Cookies
$ shasum ~/.config/chromium/Default/Cookies
ec465fa8c3e280de02d1e0a86dd0a01dcab7f090  /home/test/.config/chromium/Default/Cookies

However, when I archive the same sites using Archivebox the cookie banners are still shown in the output (pdf, screenshot, etc.).
Any ideas what is going wrong here?
docker-compose.yml
I mount the profile folder as read-only (ro) otherwise the contents are cleared by archivebox
# Usage:
#     docker-compose run archivebox init --setup
#     docker-compose up
#     echo "https://example.com" | docker-compose run archivebox archivebox add
#     docker-compose run archivebox add --depth=1 https://example.com/some/feed.rss
#     docker-compose run archivebox config --set PUBLIC_INDEX=True
#     docker-compose run archivebox help
# Documentation:
#     https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#docker-compose

version: '2.4'

services:
    archivebox:
        # build: .                              # for developers working on archivebox
        image: ${DOCKER_IMAGE:-archivebox/archivebox:master}
        command: server --quick-init <IP_ADDRESS>:8000
        ports:
            - 8000:8000
        environment:
            - PUID=1000
            - PGID=1000
            - ALLOWED_HOSTS=*                   # add any config options you want as env vars
            - MEDIA_MAX_SIZE=750m
            - SEARCH_BACKEND_ENGINE=sonic     # uncomment these if you enable sonic below
            - SEARCH_BACKEND_HOST_NAME=sonic
            - SEARCH_BACKEND_PASSWORD=SecretPassword
        volumes:
            - ./data:/data
            - ./chromium:/chromium:ro
            # - ./archivebox:/app/archivebox    # for developers working on archivebox

    # To run the Sonic full-text search backend, first download the config file to sonic.cfg
    # curl -O https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic.cfg
    # after starting, backfill any existing Snapshots into the index: docker-compose run archivebox update --index-only
    sonic:
        image: valeriansaliou/sonic:v1.3.0
        expose:
            - 1491
        environment:
            - SEARCH_BACKEND_PASSWORD=SecretPassword
        volumes:
            - ./sonic.cfg:/etc/sonic.cfg:ro
            - ./data/sonic:/var/lib/sonic/store

    ### Optional Addons: tweak these examples as needed for your specific use case

    # Example: Run scheduled imports in a docker instead of using cron on the
    # host machine, add tasks and see more info with archivebox schedule --help
    # scheduler:
    #    image: archivebox/archivebox:latest
    #    command: schedule --foreground --every=day --depth=1 'https://getpocket.com/users/USERNAME/feed/all'
    #    environment:
    #        - USE_COLOR=True
    #        - SHOW_PROGRESS=False
    #    volumes:
    #        - ./data:/data

    # Example: Put Nginx in front of the ArchiveBox server for SSL termination
    # nginx:
    #     image: nginx:alpine
    #     ports:
    #         - 443:443
    #         - 80:80
    #     volumes:
    #         - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
    #         - ./data:/var/www

    # Example: run all your ArchiveBox traffic through a WireGuard VPN tunnel
    # wireguard:
    #   image: linuxserver/wireguard
    #   network_mode: 'service:archivebox'
    #   cap_add:
    #     - NET_ADMIN
    #     - SYS_MODULE
    #   sysctls:
    #     - net.ipv4.conf.all.rp_filter=2
    #     - net.ipv4.conf.all.src_valid_mark=1
    #   volumes:
    #     - /lib/modules:/lib/modules
    #     - ./wireguard.conf:/config/wg0.conf:ro

    # Example: Run PYWB in parallel and auto-import WARCs from ArchiveBox
    # pywb:
    #     image: webrecorder/pywb:latest
    #     entrypoint: /bin/sh 'wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback --proxy;'
    #     environment:
    #         - INIT_COLLECTION=archivebox
    #     ports:
    #         - 8080:8080
    #     volumes:
    #         ./data:/archivebox
    #         ./data/wayback:/webarchive

ArchiveBox.conf
[SERVER_CONFIG]
SECRET_KEY = XXXXXXXXXXXXXXXXXXXXXXXXX
SNAPSHOTS_PER_PAGE = 100

[ARCHIVE_METHOD_TOGGLES]
SAVE_ARCHIVE_DOT_ORG = False
SAVE_MEDIA = False
SAVE_WGET = False
SAVE_READABILITY = True
SAVE_MERCURY = True
SAVE_DOM = True

[ARCHIVE_METHOD_OPTIONS]
CHROME_USER_DATA_DIR = /chromium

[GENERAL_CONFIG]
TIMEOUT = 180

Hi!
I'm not sure if I should create a new issue as my problem is somewhat similar to OP's (ArchiveBox doesn't seem to properly use Google Chrome user directory as seen in OP's update) but I don't use Docker, rather installed it with pip.
Please let me know if I should repost it as a new issue.
My setup (details below):

MacOS 12.3.1
ArchiveBox installed within pyenv virtualnenv (Python 3.10.4)
Node.js provided with nvm (node 17.8.0)
Tools like wget installed with MacPorts

My issues:

ArchiveBox seems to properly locate all dependencies and yet when using simple archivebox add it doesn't seem to use browser user profile (websites are viewed in not logged in version and all cookie banners are up).
After adding CHROME_USER_DATA_DIR and CHROME_BINARY problem became worse as after making sure I'm logged in on the website, closing Chrome and running ArchiveBox I get same output as before but I'm also logged out of the website when I restart Chrome.

Looks like loosing cookies for website that I tried to archive.

Running ArchiveBox with CHROME_HEADLESS=False setting opens proper user profile (I verified it by seeing add-ons) but with already lost cookies.

Also, it seems that headless argument isn't passed to single-file as it doesn't show Chrome.
Other extractors always time out - Chrome is opened, nothing happens and after timeout it closes.

I tried using dev branch version but it had same issues with a few more (there was an issue with checking version of installed Node modules).

Details of the setup:
Output of command to check versions after manual installation
> python3 --version | head -n 1 &&
git --version | head -n 1 &&
wget --version | head -n 1 &&
curl --version | head -n 1 &&
youtube-dl --version | head -n 1 &&
echo "[√] All dependencies installed."
Python 3.10.4
git version 2.32.0 (Apple Git-132)
GNU Wget 1.21.3 built on darwin20.6.0.
curl 7.82.0 (x86_64-apple-darwin20.6.0) libcurl/7.82.0 OpenSSL/3.0.2 zlib/1.2.12 zstd/1.5.2 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.2)
2021.12.17
[√] All dependencies installed.

Resolution:

Correct mount in Docker and reference in config
Exactly the same version of Chromium outside the Docker image and within the Docker image
Chromium outside Docker closed when running Archivebox
Read/write permissions on Chromium profile

ArchiveBox.conf
[SERVER_CONFIG]
SECRET_KEY = XX
[ARCHIVE_METHOD_OPTIONS]
CHROME_USER_DATA_DIR = /data/chromium
[ARCHIVE_METHOD_TOGGLES]
SAVE_ARCHIVE_DOT_ORG = False
docker-compose.yml
services:
archivebox:
XX
ports:
XX
environment:
XX
volumes:
XX
- /root/.config/chromium:/data/chromium

I have since found synchronizing the chromium version in the docker file and on the host to be a nightmare.
If they are not exactly synced, the profiles become incompatible.
The chromium version in the current dev image is 90.0.4430.212. When downloading this via https://chromium.cypress.io/ it actually downloads 90.0.4430.0 resulting in an inability to reaccess the profile after use by the docker image.
To prevent this, I have followed the following workaround:

install desired chromium version in directory shared as a Docker volume (used "data" for ease)
run vncserver as archivebox user and run chromium in vnc session to generate cookies
Close chromium in vncserver session
chmod -R ugo+rwx /opt/archivebox/.config/chromium
mount /opt/archivebox/.config/chromium as docker volume /data/chromium
set CHROME_USER_DATA_DIR = /data/chromium
set CHROME_BINARY = /data/chrome-linux/chrome (installed version of chrome now common between host VNC session and docker container)
chown -R archivebox:archivebox /opt/archivebox/

I found each step to be crucial especially permissions.
Now profile is generated and used by same instance of chrome on docker host and container.

Yeah those steps sound right, unfortunately that is the status quo right now. There's not an easy way around it to make profiles compatible across versions. The next release will update chrome to the latest version which may make things slightly easier.

I've added the instructions from your steps @ga-it to the wiki for future reference: https://github.com/ArchiveBox/ArchiveBox/wiki/Chromium-Install#setting-up-a-chromium-user-profile


Watches

Not ready to merge yet. Here is the current status:

the code compiles but is totally untested (so assume it is broken)

there is no unit-tests at all for the notification code (the old one as well as the new one). I'll add extensive tests before envisaging merging.

the new API is much simpler than the previous one, with explicit de-allocation and clearer concurrency semantics. Basically you now only have:
type 'a diff = [ `Updated of 'a * 'a | `Added of 'a | `Removed of 'a ]

val watch_tag: t -> ?init:head -> (head diff -> unit Lwt.t) ->
(unit -> unit Lwt.t) Lwt.t
(** [watch_tag t f] calls [f] everytime the contents of [t]'s tag is
  updated. Do nothing if [t] is not persistent. Return a clean-up
  function to remove the watch handler.

  {b Note:} even [f] might skip some head updates, it will never
  be called concurrently: all consecutive calls to [f] are done in
  sequence, so we ensure that the previous one ended before
  calling the next one. *)

val watch_tags: t -> ?init:(tag * head) list ->
(tag -> head diff -> unit Lwt.t) -> (unit -> unit Lwt.t) Lwt.t
(** [watch_tags t f] calls [f] to the watch handlers of {b all} tag
  changes in the local store. Return a function to remove the
  handler. *)

I'm not totally convinced about the function names yet, but the types are ok now I think. Basically, you register a callback which is called on every update. If multiple callbacks are registered, they are called in sequence, and they won't overloap with each other.

There is not (yet?) an optimisation to clean-up the callback calls in case the waiting queue become too big and starts to lag. I'm not sure it is necessary, I plan to run some stress-tests to see how it works under load with lots of long-running callback function.

The previous API which let you watch for changes in sub-path has been completely removed. This was designed first to look like xenstore watches, but with subtle semantic differences so not really useful as they were. I plan to maybe add back something similar later if people needs it, but for now I prefer relying on fewer well-tested functions.

The previous API which let you watch for changes in sub-path has been completely removed.

Actually, I was wondering about that. Is there a way to watch changes to value in path, i.e., I commit new value?

Actually, I was wondering about that. Is there a way to watch changes to value in path, i.e., I commit new value?

not anymore, but I can add back that some helper functions doing that if it is useful for you.

Yes, but let's see understand it correctly:
If I have a path /A/B/C  with  value; when I commit new value (e.g., value1) to path it will trigger some function.
If the described logic is correct, then yes please that would help a lot :) Why remove it in a first place, sounds like a very neat feature to have :)

Previously, if you watched the path "/A/B/C" and you updated "/A/B/C" or "/A/B/C/" with a new value, then you got a notification. The function was (i) broken and (ii) you got a lot of notification if you updated a with a view (as a lot of paths can change at the same time) (iii) you had no clear idea if the value you got is actually the most recent one (as you might receive an old notification which took time to be transmitted) and (iv) it wasn't possible to stop listening without leaking resources.
I'm trying to build the base functions to solve all of these first, and then I'll add back more complex watch functions :p

Understood. Particularly the (ii) point. Yes, without solving these problems, I think such watch function is practically useless.

It seems odd to have diffs and skipping together in one API. I'd expect either:

After a change, the callback is eventually called with the current state, possibly skipping some earlier states if busy, or
The callback is called with every diff.

(I'd prefer the first)
With the proposed API, what happens if the updates are e.g.

Added 1
Updated (1, 2)

but we're busy and so only see (2)? Do we get Updated (1, 2) when we never saw the Added (1)? Or do we get Added 2 (a diff that never actually ocurred)?

@talex5 currently there is no skipping/coalescing, so the callback will be called on every diff. I was planning to add a coalescing step to have Added 2.  Note: on some backends (especially the one using active polling such as disk-based one) some updates might be skipped anyway so the client code should be able to handle that anyway.

@dsheets any idea what's happening here: https://travis-ci.org/mirage/irmin/jobs/58355929#L1642
Seems that either uri or cohttp are confused with percent-encoded query strings.

I'm looking into it. Where are the URIs constructed/deconstructed?

P.S. alcotest 0.3.0 puts the stack traces into the output files but I guess Travis doesn't let you access those :-(

I'm starting to be happy with the stability and quality of that code. In addition to watch_head and watch_tags I've also added:
(* In Irmin.S *)

  val watch_key: t -> key -> ?init:(head * value) ->
    ((head * value) diff -> unit Lwt.t) -> (unit -> unit Lwt.t) Lwt.t
  (** [watch_key t key f] calls [f] every time the [key]'s value is
      added, removed or updated. *)

(* in Irmin.VIEW *)

  val watch_path: db -> key -> ?init:(head * t) ->
    ((head * t) diff -> unit Lwt.t) -> (unit -> unit Lwt.t) Lwt.t
  (** [watch_head t p f] calls [f] every time subpaths of [p] are
      updated in the branch [t]. The callback parameters contains
      branch's current head and the corresponding view. *)

Watche tests have been made more synchronous and now pass properly with various polling delay (and thus work now fine on Travis CI). Merging!


remove overhead of trace copy

This pull request removes some overhead of Trace.copy() method. In case we use a lot of .get_trace calls from trace_poutine, this reduces a portion amount of time.
For an experiment, I used get_trace() method for the fourth test of HMC. With the old copy behavior, it took 52s to run. With the current one, it took 48s.
Of course, the best solution is still to use def get_trace(self): return self.trace instead of def get_trace(self): return self.trace.copy() in the TraceMessenger class (46s for the above experiment). But I guess that it is intentional to use copy() there as default (why not poutine.get_trace(*args, **kwargs).copy() if we want to take a copy version)? In that case, this pull request is helpful.
cc @neerajprad

For an experiment, I used get_trace() method for the fourth test of HMC. With the old copy behavior, it took 52s to run. With the current one, it took 48s.

We are currently not using get_trace in hmc.py (except a single call in setup) so as to avoid these copies. As such, any change to the get_trace method should not have an impact. How did you profile these changes - did you change to using get_trace in hmc?

it is intentional to use copy() there as default

Since TraceMessenger mutates self.trace, we have to return a copy rather than a reference.


Fix compilation error in non-Apple builds.

Make the no-op connectivity monitor accept worker queue by a shared
pointer (a followup to #3004).

@wilhuff Thanks for the lightning-fast review! I'll merge once Travis is happy.


simplify header canonicalization

Please let me know what you think of this effort to simplify the process by which headers are canonicalized.
Thanks!

As noted in my commit message:
Akamai API authentication documentation suggests:

there is no need to specify specific headers to sign; all can/should be signed, which simplifies the code
there is no need to order the canonicalized headers

See documentation for further clarification:
https://developer.akamai.com/introduction/Client_Auth.html
Please let me know if I'm mistaken.

@ktyacke @JonathanBennett Please let me know if you all have thoughts on this PR. Thanks!

Hi @mdb - started replying but never finished.
Would be good to have an Akamai opinion here so I'm tagging in @maglietti who might be able to help.
Originally the documentation stated they had to be ordered alphabetically as far as I remember, and the documentation contradicts itself in the example, where they've ordered the headers as they had to be done before. Assumed though this is tested and is working for calls? Haven't had a chance to try it myself yet.

I'll stay posted for word from @maglietti, though it's my belief this works as desired.
As for testing, I have done some basic acceptance testing, though it's fairly difficult to perform functional/acceptance tests against the full range of functionality without a suitable GTM domain against which I can perform destructive/modifying actions with no customer-impacting consequence.
As an aside, I would love to be able to utilize a throwaway Akamai GTM domain, etc. against which we can perform such acceptance tests. @ktyacke - curious to hear if Akamai can provide such a thing.

@mdb @JonathanBennett Reviewing this now. @maglietti is unfortunately no longer with Akamai, so I will do my best to answer your questions.

@mdb @ktyacke If Akamai has such an account for development purposes of libraries that would be awesome.. Kyle?

@mdb The changes look good to me. I like the simplification, and think it will make the code a bit easier to digest. One question: I noticed you changed method name "canonicalize_headers" to "canonicalizeHeaders". The majority of the methods in these scripts are named using an underscore syntax. Are you thinking you'd like to move towards using camelCase for the naming convention?

@JonathanBennett We don't offer such an account at this time, but I'll look into seeing if this might be a feasible option for future releases. In the mean-time, would you be able to create a "QA" property on your account to test against?

@ktyacke Regarding the camelCasing, yes, ideally I'd like to standardize on camelCased method/variable names, given that JavaScript itself uses camel casing rather than snake_case. That said, I recognize this is a stylistic preference and I'm open to others' opinions.

@mdb I'm actually in favor of camelCasing myself, I just noted that the majority of the code is written using snake_case and wasn't sure if doing such a vast refactor would raise concerns with you or @JonathanBennett If you guys are ok with it, I am as well!


Invalid type declaration after upgrading to TS 4.7

[READ] Step 1: Are you in the right place?

For issues related to the code in this repository file a Github issue.
If the issue pertains to Cloud Firestore, read the instructions in the "Firestore issue"
template.
For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.

[REQUIRED] Step 2: Describe your environment

Operating System version: MacOS Monterey 12.3.1
Firebase SDK version: 10.2.0
Firebase Product: app, firestore
Node.js version: 16
NPM version: 8.5.5

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
After upgrading to Typescript 4.7, tsc throws the following error for all firebase admin SDK imports
error TS7016: Could not find a declaration file for module 'firebase-admin/firestore'. '/Users/debkanchan/Library/Mobile Documents/com~apple~CloudDocs/Work/Ride/Code/Backend/services/wallet-service/node_modules/firebase-admin/lib/esm/firestore/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/firebase-admin` if it exists or add a new declaration (.d.ts) file containing `declare module 'firebase-admin/firestore';`

2 import { Firestore, FieldValue, getFirestore } from "firebase-admin/firestore";

Relevant Code:
tsconfig.json
{
	"extends"<EMAIL_ADDRESS>	"compilerOptions": {
		"module": "Node16",
		"outDir": "build",
		"removeComments": true
		// "noImplicitAny": false
	},
	"compileOnSave": true,
	"include": ["src"]
}

package.json
{
	"type": "module",
	"engines": {
		"node": "16"
	},
       ...
	"dependencies": {
		"firebase-admin": "^10.2.0",
                ...
	},
	"devDependencies": {
		"@tsconfig/node16": "^1.0.2",
                 ...
		"ts-node": "^10.8.0",
		"typescript": "^4.7.2"
	}
}

Hi @DebkanchanSamadder Thank you reporting this issue! I think we need to point to the correct typing definitions in the package.json using the types field. https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#package-json-exports-imports-and-self-referencing
I will create a PR for this. Thanks!

Hey @lahirumaramba , Any updates on this? This is a blocker for moving to New ts version

Yeah same here, it would be great to have an updated version with the fix.

This should be fixed in v10.3.0. Thanks!


Automated cherry pick of #1294

Cherry pick of #1294 on release-0.6.
#1294: Fix 'selfsigned' key on webhook issuer

/kind bug
/area deploy
/milestone v0.6

/lgtm


Sometimes a previous tab overlays over full-screen video

The browser shows a previous tab while I'm watching a video in the full-screen (horizontal mode).
Please see the attached. Android 10, MIUI 11, Xiaomi Mi 9 Lite 6-128. In the left part of the screen, you see content from a tab, no matter if it was closed previously.

Also regularly happening to me, root cause remains unknown for now.

Is this bug still there ? I think that with latest builds where is fixed a fullscreen video related bug may have solved this problem as well

This is a SurfaceControl typical bug, I think it is resolved because SurfaceControl is now disabled in Kiwi. It's the same type of bug you see in Chrome, when the bottom of the website is all garbled/mixed up.

As no one reported a similar bug anymore , this is considered fixed until proven otherwise


Request: "Collapsable Button" Settings

Is your enhancement request related to a problem? Please describe.
Version 8.3.6 introduced "menu" buttons to collapse ("Left Main Page Heading Buttons (Hidden)" and "Right Main Page Heading Buttons (Hidden)") heading buttons.
Looking through the settings I couldn't find anything to "unhide" all the buttons from hiding behind that new single buttons left and right.
I'd rather have all the buttons visible at any time instead of having to make an extra click every time I need to click one of them just to un-hide things I often use anyways.
Describe the solution you'd like.
Add a settings to reverse to how it was before - i.e. introduce a setting to unhide all buttons in the heading.
Additional Context

Go to Element Ordering section in the settings menu and move the buttons you want out of Left Main Page Heading Buttons (Hidden) to Left Main Page Heading Buttons. This wasn't introduced in v8.3.6. Probably previous versions were bugged.

I'm also having issues with this feature. There seems to be a bug that was introduced in v8.3.6.
If I go to the Element Ordering section, everything has been moved from Left Main Page Heading Buttons to Left Main Page Heading Buttons (Hidden). Same is true for the Right Main Page Heading Buttons.

If I click the Reset buttons on the unhidden lists, most of the buttons (presumably the ones that were there before by default) move back.

However, after clicking Save Changes and refreshing the page, all the buttons are still hidden.

If I go back to settings, all the buttons are in the hidden lists again.
If I try to move the buttons one-by-one, sometimes I get this error: "Cannot move this element to this group." Sometimes this error pops up repeatedly after clicking OK, and I have to just close the tab to make it stop.

If I am able to move the buttons individually, I still have the same problem. After saving changes and refreshing the page, the buttons have moved back to the hidden lists.

@GOBsNotOnBoard I cannot reproduce, see if v8.3.7 changes anything.

@gsrafael01 After updating to v8.3.7, the Reset buttons still didn't make any change, but I was able to get all the elements to show again by moving them individually over to the unhidden lists.

With v8.3.7 I was able to reset both Left and Right Main Page Heading Buttons, save the settings, reload the page and have everything just like I used to have it.

Is this still an issue because I could solve it as described above.

Is this still an issue because I could solve it as described above.

I left it open because I was going to find out why the buttons moved by themselves in the first place.

Oh well, closing this, it has an easy workaround as posted above. It was probably just a fluke. :P


Add bal msgty metric

closes https://github.com/abap-observability-tools/abap-metrics-provider/issues/113

@Goala could you maybe correct the docs with this pull request :)
The BAL section has the wrong title
https://github.com/abap-observability-tools/abap-metrics-provider/blob/main/docs/README.md#transport-states-bal

@Goala could you maybe correct the docs with this pull request :)
The BAL section has the wrong title
https://github.com/abap-observability-tools/abap-metrics-provider/blob/main/docs/README.md#transport-states-bal

@JohannesKonings sure

@JohannesKonings sure


[ACLs] Respect per-layer ACLs

Added in https://github.com/google/ground-platform/pull/603
tldr: Users should not be able to add points to layers without the flag set to true.

Can we close this now?

Yes I believe so, thanks for catching this.


Video | QA | Add Brightcove player demo page

Jira

http://vjira2:8080/browse/BDS-1615

Summary
Add demo page for testing videos in a standard Brightcove player
How to test
Review files changed. Does not change any video player code.

@danielamorse Sounds good - thanks!

PR was released with v2.9.0


Session empty on Fabricator Pages

Hi,
i have noticed that the Sessions seems to be Empty or not Set when a User visits a Page from the Fabricator.
I have tested this with a fresh and clean Installation of Laravel, Filament and this Package.
@dump(auth())
in the Layout-File returns "null", even when a User is logged in
I am wondering if anyone else can confirm this
Thanks!

fixed in v1.1.3
https://github.com/Z3d0X/filament-fabricator/releases/tag/v1.1.3


Update rosbag to rosbags and add PyYAML

For rosbag
ERROR: Could not find a version that satisfies the requirement rosbag (from versions: none)
ERROR: No matching distribution found for rosbag

Hi @SEM-DEV,
Thank you for letting me know about this issue!
I just double check my installation, and found that rosbag can be installed using extra URL as follows:
pip install --extra-index-url https://rospypi.github.io/simple/ rosbag

Currently the main branch works properly on my laptop that runs Windows 10 and installing rosbag this way looks good for me.
You can give it a try and see if it works for you too (so that you can run DearBagPlayer on your machine).
Just took a look at rosbags, it looks like a third-party package to better work with rosbag 1 and rosbag 2. Interfaces of rosbags and rosbag are different so this repo might not change rosbag package to rosbags for now. But I will dive into rosbags in the future to see if it can simplify the code.
Cheers,
Wei

Just updated README.

Hi @Magic-wei,
Thank you for your suggestion.
I tested it on my machine with the new one.
pip install --extra-index-url https://rospypi.github.io/simple/ rosbag

It works without any issues.

I have change it to:
pip install --extra-index-url https://rospypi.github.io/simple/ rosbag

Hi @SEM-DEV, I made a small change to the description, since we should keep other package dependencies. Added the new instruction for people who got the rosbag issue.

Hi @Magic-wei,
That is the best solution.
Thank you


Analysis page shows outdated data

Where to find the issue

https://www.coronawarn.app/de/analysis/

Describe the issue
The following figures on https://www.coronawarn.app/de/analysis/ are out of date:

Downloads (last data from 04.11.2021)
Registriere Tests (last data from 02.11.2021)
Teilungsverhalten (last data from 02.11.2021)

Suggested change
Update the data.

@dsarkar
The data feed for:

Registrierte Tests and
Teilungsverhalten

is still blocked.

@Ein-Tim @MikeMcC399 Yes, TSI is looking at it right now.
One can see the issue in https://obs.eu-de.otc.t-systems.com/obs-public-dashboard/json/v1/nested_cwa_public_dashboard_data.json.
Date in this file is shown on the dashboard.
Screenshots from left to right show 2.11., 3.11., 7.11. (marked are the  "Downloadzahlen", which are updated)
From  3.11. on, there are missing numbers (null) in the json file.
Up to date:

Downloads
Empfangene Warnungen
Not up to date:
Registrierte Tests
Teilungsverhalten

@dsarkar
Thanks for the link to https://obs.eu-de.otc.t-systems.com/obs-public-dashboard/json/v1/nested_cwa_public_dashboard_data.json!
You can also see the pattern of missing data in https://obs.eu-de.otc.t-systems.com/obs-public-dashboard/csv/cwa_all_data.zip (use the "Alle Daten exportieren Button on https://www.coronawarn.app/de/analysis/).
The .json file is a bit easier to read but maybe that's just a personal preference.

@Ein-Tim
The data is now appearing up to date again.

I can confirm that this issue has been fixed.
As of now, 09.11.2021, 20:45h, all data on the analysis page is available, up to yesterday (this is intended).
Here is a screenshot from the page:

Thanks to @MikeMcC399 for informing me that this issue has been fixed!

Closing as fixed.


Failed to resolve import "vue-i18n"

Hello i have a issue when i compile the nuxt 3
I use this package on nuxt 3 in server mode becuse my case is when i register user then send the email
i use vue-email version 0.8.0-beta.8 and nodemailer 6.4.14
and my package manager is bun and node version 18
in my project i dont wanna to use i18n because this project only for my local language
then when i run the project and show error like this

thank you

fixed on the new version, not published yet, but will update you once it is


Return dtype is now torch.long + code organization and unit tests

I worked a bit to address the issue with the return dtype and at the same time made some other edits:

The returned indexes have now dtype torch.long (fixes #2)
src/test folder split, to avoid issues with pytest, and updated setup.py
pytest unit tests (quite limited so far)
cleanup of unused #include C++ and CUDA headers

Please try compiling and testing before merging, like this:
export PATH="/usr/local/cuda/bin:${PATH}"
export CPATH="/usr/local/cuda/include:${CPATH}"
pip install --force-reinstall '.[test]'
pytest

thanks, great, I'll check that monday


Downloading file while running karma

We have a use case where we need to download a javascript file from a remote machine before running tests. The remote javascript file is generated dynamically, and it can update any time. So we can't download the file and put it under "js" folder, so we can't use it as a static resource. As an example -
files = [
  'test/fixtures/**/*.html',
  'test/unit/*.spec.js',

  //is this possible?
  'http://remote/generated.js'
];

So the question is, is it possible? On last line I have added a remote file with complete url. I want that file to be downloaded and make available during test execution. So that I can use that file as a javascript lib.
any suggestion is appreciated with example.
Thanks in advance.

There is no simple way to do it right now, except for downloading the file via a request and writing it to a tmp file and using that in the files array. It could be added, but would need some work and rethinking as the current system assumes that all files are present on disk.

I have the same need, but the main problem is that currently, URL are silently ignored which can cause a variety of headaches.

You can write a plugin to download the file with eg fetch and add the file name to the config. The main headache will be asynchrony.   You can try to use the file-list event to trigger addition of the file.

Karma bootstrapping is probably dealing with some asynchronous tasks already (all the  promisify/await inside https://github.com/karma-runner/karma/blob/05dc28801627e3ce7054ae548046714dc2cf7a5e/lib/file-list.js)
It'd be better implemented there and would work out-of-the-box.

Karma bootstrapping is probably dealing with some asynchronous tasks already (all the  promisify/await inside https://github.com/karma-runner/karma/blob/05dc28801627e3ce7054ae548046714dc2cf7a5e/lib/file-list.js)
It'd be better implemented there and would work out-of-the-box.


Sign up and Make reservation by staff

The make reservation test is passing but the sign up test is failing.

Closing this to avoid confusion.


[red-knot] Remove AstNodeRef

Summary
The entire AstNodeRef hack isn't required anymore now that Salsa supports a 'db lifetime.
Test Plan
cargo test

I thought more about this and, while this seems "safe" due to Salsa lifetimes I think it isn't as soon as we add LRU caching or persistent caching. It could then happen that the pointers become stale if the AST gets evicted from the caches or if only restoring the symbol table from the persistent cache.


All LUCI tasks are failing with generic "Infra Failed" error

This is happening on presubmit and postsubmit:
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux linux_host_desktop_engine/4631/overview
https://github.com/flutter/flutter/pull/138651/checks?check_run_id=18860019618

It appears to be happening on the framework and engine builds.

Issue was attributed to failures in data store from 9:15 to 9:25 AM PST. Builds are already passing successfully setting priority of this bug to P2 and keep it open for monitoring.

The issue has been root caused and mitigated by the LUCI team.


[e2e]: go push branch1 config-ldflags slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/4201272880
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Fri Feb 17 06:34:45 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/4209937542
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.push.branch1.config-ldflags.slsa3.yml
Trigger: push
Branch: branch1
Date: Sat Feb 18 06:30:51 UTC 2023
Tests are passing now. Closing this issue.


Don.t crash DBS3Upload on wmstats connection time out - wmagent version

wmagent branch version of https://github.com/dmwm/WMCore/pull/9397 (1st commit only)

This patch has been pushed in to all the agents

 Fix #9398 - Don.t crash DBS3Upload on wmstats connection time out


[Laughing Therapy Page] font, colours, general design and responsiveness of splash page could use some work

Description
The splash page for this section looks pretty outdated and could really benefit from some modern design/responsiveness
Screenshots

Additional information
I'm happy to work on this if you'd like to assign it to me

Hey, I would like to work on this.


[ISSUE #446] Use strong reference avoid weak references recycled when GC occurs

Fixes #446
Motivation
Use strong references to replace the direct use of weak references to avoid NPE problems caused by weak references being restored during system GC occurs
Modifications
Describe the modifications you've done.
Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@Pil0tXia pls take a look

May I inquire if you have any questions?

May I inquire if you have any questions?

Seems like it was not a problem https://github.com/apache/eventmesh/issues/446#issuecomment-882404842

@zzzk1 Thanks, you are welcome to pick other issue contributions!


[Codelab Issue] Testing Codelab 5.#, Step # - Execution failed for task ':app:kaptDebugKotlin'.

I get this error and tried to change JDK(currently using 11.0.11) to version 1.8 where I get a different error:
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

Android Studio (Apple Chip version): Bumblebee 2021.1.1 Patch 3

I get the error on build

I get this error and tried to change JDK(currently using 11.0.11) to version 1.8 where I get a different error:
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction
   > java.lang.reflect.InvocationTargetException (no error message)

Android Studio (Apple Chip version): Bumblebee 2021.1.1 Patch 3

To me, changing the roomVersion to '2.4.2' solved the issue.

Thank you, @phamngoc285! changing roomVersion to '2.4.2' worked for me too.

Changing the Room version to 2.4.2 worked for me too
Thanks, @phamngoc285


less gather

Performance results

Shape
Origin time (ms)
OpenVino time (ms)

[2, 5, 16, 32]
5.44
1.63 (x3.34)

[2, 5, 64, 128]
12.85
10.94 (x1.17)

Measured on Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz with PyTorch 1.10.0.


gitlab ci set-up

Really appreciate this service!
I'm pretty new to setting up CI. I'm trying to set this up in gitlab. This perhaps is not much of an issue or maybe not the right place to ask this so I apologize if so. I'm having an issue with connecting to the port and I'm not sure how to solve this issue. Is there perhaps an example or something that could point me in the right direction?
'ERROR webdriver: RequestError: connect ECONNREFUSED <IP_ADDRESS>:4444'
'ERROR @wdio/runner: Error: Failed to create session.
[0-0] Unable to connect to "http://localhost:4444/wd/hub", make sure browser driver is running on that address.'
I've set-up my wdio.config in this manner according to the example. This is my custom one:
`const { config } = require('./shared.wdio.conf')
config.services = ['docker'],
config.hostname = 'localhost',
config.port = 4444,
// config.path = '/',
config.path = '/wd/hub', // Required to work with wdio v6
config.dockerOptions = {
image: 'selenium/standalone-chrome',
healthCheck: 'http://localhost:4444',
maxRetries: 3,
inspectInterval: 1000,
startDelay: 2000,
options: {
p: ['4444:4444'],
shmSize: '2g',
}
}`
docker-compose.yml:
version: "3"
services:
selenium-hub:
image: selenium/hub:latest
container_name: selenium-hub
restart: always
ports:
- "4444:4444"
firefox:
image: selenium/node-firefox-debug:latest
volumes:
- /dev/shm:/dev/shm
depends_on:
- selenium-hub
scale: 2
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
restart: on-failure:3
chrome:
image: selenium/node-chrome-debug:latest
volumes:
- /dev/shm:/dev/shm
depends_on:
- selenium-hub
scale: 2
environment:
- HUB_HOST=selenium-hub
- HUB_PORT=4444
restart: on-failure:3
`
the gitlab-ci :
`image: tmaier/docker-compose:latest
services:

docker:dind

before_script:

docker info
docker-compose build
apk add nodejs npm && npm run build

stages:

chrome
chrome:
stage: chrome
script:

docker-compose up -d
docker ps
docker=true npm run blah:spec login
artifacts:
when: always
expire_in: 1 day
paths:
errorShots/
reports/
`

@kewgrz if you have solved your problem, do you mind sharing what it was?


PropertyGrid manual update

I'm writing an application which is pretty much similar with the tutorial's "The cast and Characters they played" example. In fact there are three List type objects similar with the CastList (public List<MovieCastRow> CastList). In the "Row" type file the code looks similar with the tutorial's one:
[MasterDetailRelation(foreignKey: "MovieId", IncludeColumns = "PersonFullname")]
[DisplayName("Cast List"), NotMapped]
public List<MovieCastRow> CastList
{
get { return Fields.CastList[this]; }
set { Fields.CastList[this] = value; }
}
for all three GridEditorBase derived objects.
What is different is that I'm not using the "add-button" class type generated by default in the examples code (it is removed), but working with other buttons, still of "add-button" class type, but each having another functionality (those buttons are in fact adding data in the underlying database, but with different data and in different columns).
The problem is I cannot update the grids associated with the Lists (those similar with the CastList) to reflect the change in the database.
Can you help me with a hint / how to do in this matter?

See GridEditorBase and how it works.

Thank you for your answer, but I read that code I'm getting no clue how to or where to start. Please, can you give me more on this?

I just raised you a question, why did you close the issue?

This place is for Issues, not tutoring
https://github.com/volkanceylan/Serenity/wiki/Issue-Guidelines


Integration with AutoGen workflow

Construct AutoGen config workflow with create_memgpt_autogen_agent_from_config.
If human_input_mode == "ALWAYS", it's basically a wrapped create_autogen_memgpt_agent;
If human_input_mode == "TERMINATE" or "NEVER", it's an auto-running group chat of memgpt agent and user proxy agent.

@QZGao could you add a small example (can be a small diff off of examples/agent_groupchat.py) that demonstrates how the new functionality works?
I tested the existing script and nothing broke, so once you add an example + paste the outputs in a comment here, I think this is ready to merge.

The original agent_groupchat.py will generate the same result with USE_AUTOGEN_WORKFLOW = True.
The new agent_autoreply.py will generate the following result:
User_proxy (to MemGPT_coder):

I want to design an app to make me one million dollars in one month. Tell me all the details, then try out every steps.

--------------------------------------------------------------------------------
MemGPT_coder (to MemGPT_coder):

Your goal is ambitious, but not impossible. I'd suggest three phases: 1) Research and Planning, 2) App Design and Development, and 3) Marketing & Monetization. Let's dig deep into these, starting with Research and Planning.

--------------------------------------------------------------------------------
MemGPT_coder (to MemGPT_coder):

In the Research and Planning phase, we define the app's purpose and make sure it offers value. This involves market research, understanding the target audience, and analyzing competitors. Then, choosing the right platform (iOS or Android, or both) and determining the app's features and functionality. It's also a good time to decide on the technology stack for development. Finally, we set a timeline and budget for the project. Now let's elaborate on these points.

--------------------------------------------------------------------------------
MemGPT_coder (to MemGPT_coder):

Step 1: Market Research - Explore app stores, study user reviews, identify successful apps and analyze their business models, target audience, and technology. Step 2: Identify the Target Audience - Understand their preferences, demographics, and mobile behavior. Step 3: Competitor Analysis - Evaluate similar apps, analyze their features, and identify what you can offer differently. Now, let's talk about selecting the right platform.

--------------------------------------------------------------------------------
MemGPT_coder (to MemGPT_coder):

Choosing a platform: If the audience is largely in the U.S or earns a high income, iOS might be better. Globally, Android dominates. Features and functionality: In the first version, only include necessary features. As the app grows, you can add more based on feedback. Tech stack: Depending on complexity, you can choose native development (Swift for iOS, Java for Android), hybrid development (React Native, Flutter), or progressive web apps. Now let's move onto the App Design and Development phase.

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