Update ibm_catalog.json with data_management tag

Description
See https://github.com/terraform-ibm-modules/terraform-ibm-icd-elasticsearch/issues/128#issuecomment-2027293269
Release required?

[ ] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

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

GitHub release
v1.9.3

Your semantic-release bot :package::rocket:


moar: init at 1.10.0

Description of changes
Add moar, a nice pager to use without configuration.

Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

2 packages blacklisted:

nixos-install-tools
tests.nixos-functions.nixos-test

1 package built:

moar

Thank you!


⚠ Bofrost.es has degraded performance

In b1c5899, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1795 ms

Resolved: Bofrost.es performance has improved in 8c8dcc8 after 53 minutes.


Add v24.1.2 Cloud release notes

Fixes REL-985

@taroface these notes are scheduled to publish sometime tomorrow (2024-07-02) as a cloud first release


Error while running tutorial

Problem encountered on https://dotnet.microsoft.com/learn/aspnet/hello-world-tutorial/modify
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
Hi running into error while trying the tutorial on Windows 10. I copied the code directly from tutorial and pasted and I get the following error when trying to run.  This is my first dive into learning code so any help will be appreciated.
@page
@model IndexModel
@{
ViewData["Title"] = "Home page";
}

Hello, world!
The time on the server is @DateTime.Now

watch : Started
Building...
  Fix the build errors and run again.

Can you make sure you edited the Index.cshtml file and not the Index.cshtml.cs file? Sometimes, Windows will hide the file extension.
So in the example below the Index.cshtml file is the first one and not the second.

Let me know if that helps.

That was exactly the issue.  Thanks!  It works now.

Thanks for confirming. I’ll add something to the tutorial to make that more clear.


Travelling Salesman[GSSOC'23]

Title and Issue number
Travelling Salesman #4669
Close #4669
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

@MohitGupta121 @TusharKesarwani @pranjay-poddar Please review my PR under GSSOC'23.


docs: update installation instructions

Remove the instruction to run python -m ipykernel install --user from the
installation instructions, since this interferes with kernel detection in other
virtual/conda environments.
Instead, add a FAQ/troubleshooting section, explaining the situations in which
running this command may be necessary.

further down we have some instructions for people using conda from China that still have the same instructions

Ah, my bad, I should've done a global search for further occurrences of ipykernel. Fixed now.
Regarding pywin32: I still see issues with that package quite regularly, and in my case the problem always seems to fix itself by running:
python %CONDA_ENV%\Scripts\pywin32_postinstall.py -install

From my understanding so far, pywin32 needs some DLLs in specific places, and this install command doesn't always seem to run correctly during a conda/pip install, for whatever reason. Running it again explicitly typically solves it. (See AutoFAT issue AUTO-679 for more background, if you're curious.)

further down we have some instructions for people using conda from China that still have the same instructions

Ah, my bad, I should've done a global search for further occurrences of ipykernel. Fixed now.
Regarding pywin32: I still see issues with that package quite regularly, and in my case the problem always seems to fix itself by running:
python %CONDA_ENV%\Scripts\pywin32_postinstall.py -install

From my understanding so far, pywin32 needs some DLLs in specific places, and this install command doesn't always seem to run correctly during a conda/pip install, for whatever reason. Running it again explicitly typically solves it. (See AutoFAT issue AUTO-679 for more background, if you're curious.)

Thanks!
Yeah, I think it came up via support once. Back then I could reproduce it with a VM (installing anaconda, then installing pip in a new environment and then installing pylake and firing up the notebook), but now that procedure seems to work correctly.
Still, it makes me think it that it should sooner be relegated to a specific FAQ question if we want to mention it rather than be a default installation instruction for this particular installation type. Perhaps a separate question in the FAQ would make sense. Perhaps something along the line of:
I'm trying to use pylake in a Jupyter notebook and I encounter ImportError: DLL load failed while importing win32api: The specified procedure could not be found.
Do you know whether that post install trick always works? I've only ever tried force re-installing it explicitly with the last package manager used in that environment, and it always seems to have solved it (I assume it called that post_install python file as part of the installation procedure).

Still, it makes me think it that it should sooner be relegated to a specific FAQ question if we want to mention it rather than be a default installation instruction for this particular installation type.

I agree on that one!

Perhaps a separate question in the FAQ would make sense. Perhaps something along the line of: I'm trying to use pylake in a Jupyter notebook and I encounter ImportError: DLL load failed while importing win32api: The specified procedure could not be found.

Yes, that's a good idea. I've pushsed a commit with an entry for this.

Do you know whether that post install trick always works?

I can't guarantee it, but I've only ever seen cases in which it worked to resolve the exception you mentioned above. To the extent where I made it part of the AutoFAT installation package for development environments, just to get it over with :)

Still, it makes me think it that it should sooner be relegated to a specific FAQ question if we want to mention it rather than be a default installation instruction for this particular installation type.

I agree on that one!

Perhaps a separate question in the FAQ would make sense. Perhaps something along the line of: I'm trying to use pylake in a Jupyter notebook and I encounter ImportError: DLL load failed while importing win32api: The specified procedure could not be found.

Yes, that's a good idea. I've pushsed a commit with an entry for this.

Looks good.

Do you know whether that post install trick always works?

I can't guarantee it, but I've only ever seen cases in which it worked to resolve the exception you mentioned above. To the extent where I made it part of the AutoFAT installation package for development environments, just to get it over with :)

Given that I am unable to reproduce the original issue on my setup and that you've already been testing this fix as part of AutoFAT, I agree that this is the best way to have this in the FAQ for now at least.


menuconfig: Add jump-to for to choices, menus, and comments

Update menuconfig (and Kconfiglib, just to sync) to upstream revision
5cfe06b6bc09d to add this commit:
menuconfig: Add jump-to for choices, menus, and comments

For choices, search the name and the prompt. This is the same as for
symbols, except names are optional (and rare) for choices.

For menus and comments, search the prompt (title text).

When jumping to a non-empty choice or menu, jump into it instead of
jumping to its menu node. If show-all mode is off and there are
visible items in the choice/menu, then jump to the first visible
node. Otherwise, enable show-all and jump to the first node.

Previously, only symbols could be jumped to.
Various other small fixes/improvements are included too:

The "no range constraints" text was dropped from the input dialog
when settings int/hex symbols without an active 'range'. It might be
more confusing than helpful.

A crash when pressing Ctrl-F (the view-help shortcut) with no matches
in the jump-to dialog was fixed

Some gnome-terminal shoddiness was worked around to remove minor
jumpiness when reducing the height of the terminal

Codecov Report

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

@@            Coverage Diff             @@
##           master   #10562      +/-   ##
==========================================
+ Coverage   53.18%   53.34%   +0.15%
==========================================
  Files         210      210
  Lines       25825    25825
  Branches     5686     5686
==========================================
+ Hits        13735    13776      +41
+ Misses       9781     9734      -47
- Partials     2309     2315       +6

Impacted Files
Coverage Δ

lib/posix/pthread_sched.c
41.66% <0%> (-20.84%)
:arrow_down:

lib/posix/pthread_mutex.c
77.77% <0%> (+1.38%)
:arrow_up:

lib/posix/pthread.c
80.36% <0%> (+12.32%)
:arrow_up:

lib/posix/pthread_cond.c
83.33% <0%> (+20.83%)
:arrow_up:

include/posix/posix_sched.h
100% <0%> (+100%)
:arrow_up:

lib/posix/pthread_barrier.c
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

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

@nashif ping


2.9.0 crash with sortedResultsUsingKeyPath

Goals
Upgraded to 2.9.0 so that he can run the 2.8.3 version of the code. No changes were made to any code
Expected Results
Normal execution
Actual Results
carsh
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFConstantString containsString:]: unrecognized selector sent to instance 0x8fdd90'

Steps to Reproduce
Code Sample
    RLMResults<OddityChannel *> *results =  [[[OddityChannel allObjectsInRealm:realm] objectsWhere:@"is_children = false"] sortedResultsUsingKeyPath:@"orderindex" ascending:true];

Version of Realm and Tooling
Realm framework version: 2.9.0
Realm Object Server version:   Not in use
Xcode version: Version 8.3.3 (8E3004b)
iOS/OSX version:  7.1.2
Dependency manager + version: Cocoapods  1.3.0.rc.1

Can you provide us with a stacktrace please?

I think the issue here is that -[NSString containsString:] is new in iOS 8, while this app is running on iOS 7.

I don't know how to express it. Hello, this is myexample. Running on a ios7 device must crash.

Please note that iOS 7 will not be supported for much longer. Our upcoming 3.0 release will drop support for it going forwards.


fix: api gateway rpc handler redundant response

这个 PR 实现什么功能/修复什么问题:
修正：apigateway rpc会执行冗余的响应逻辑
是否需要 backport 到之前的 release 分支:

release/2.13
release/3.0
release/3.1

/cc @zexi
/area apigateway

Codecov Report

Merging #5026 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #5026      +/-   ##
=========================================
- Coverage    6.76%   6.76%   -0.01%
=========================================
  Files         544     544
  Lines       95131   95131
=========================================
- Hits         6433    6431       -2
- Misses      88160   88161       +1
- Partials      538     539       +1

Flag
Coverage Δ

#aFlag
6.76% <ø> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/appsrv/response.go
66.15% <0%> (-3.08%)
:arrow_down:

Continue to review full report at Codecov.

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


Show buffers nicely within attachments

Coverage increased (+0.02%) to 96.533% when pulling c3c56b3580a052b2082d6272bdd46bc7b0de028a on feature-buffers into 2d7620ad0f6b97d81fb41017b62ef6201393b183 on master.


KMS: Make samples consistent with all languages.

In particular:

Define keyRingId and cryptoKeyId consistently with the API.
Use locationId as an argument.
Use the language "ciphertext" and "plaintext" to refer to encrypted and unencrypted data, respectively.

I opted to keep file I/O in the Command runner to keep the API
clean, especially when being rendered on
https://cloud.google.com/kms/docs/encrypt-decrypt.
Tracking bug: http://b/64758639

@White0ut  I merged, but things didn't pass -- care to fix?  (tests don't run on forks :( )
[INFO] Building kms-samples 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kms-samples ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default) @ kms-samples ---
[INFO] argLine set to -javaagent:/home/circleci/.m2/repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/circleci/project/kms/target/jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ kms-samples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/circleci/project/kms/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ kms-samples ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /home/circleci/project/kms/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ kms-samples ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/circleci/project/kms/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ kms-samples ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/circleci/project/kms/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.20:test (default-test) @ kms-samples ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.7.9:report (report) @ kms-samples ---
[INFO] Skipping JaCoCo execution due to missing execution data file.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ kms-samples ---
[INFO] Building jar: /home/circleci/project/kms/target/kms-samples-1.0.0.jar
[INFO]
[INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @ kms-samples ---
[INFO] Failsafe report directory: /home/circleci/project/kms/target/failsafe-reports
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.example.SnippetsIT
[ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 17.287 s <<< FAILURE! - in com.example.SnippetsIT
[ERROR] encryptDecrypt_encryptsAndDecrypts(com.example.SnippetsIT)  Time elapsed: 0.714 s  <<< ERROR!
com.google.api.client.googleapis.json.GoogleJsonResponseException:
404 Not Found
{
  "code" : 404,
  "errors" : [ {
    "domain" : "global",
    "message" : "Location 'test-snippets-key-ring' not found.",
    "reason" : "notFound"
  } ],
  "message" : "Location 'test-snippets-key-ring' not found.",
  "status" : "NOT_FOUND"
}
	at com.example.SnippetsIT.encryptDecrypt_encryptsAndDecrypts(SnippetsIT.java:269)

[INFO] Running com.example.QuickstartIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.47 s - in com.example.QuickstartIT
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   SnippetsIT.encryptDecrypt_encryptsAndDecrypts:269 » GoogleJsonResponse 404 Not...
[INFO]
[ERROR] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0

Or let me know what I should do to fix your IT tests.

I looked on the project, and I have a global keyring w/ that name.

re: google-cloud-java, do these snippets still belong there? If so I can migrate this code over there, lmk.
re: failing tests. I forgot to update the encrypt in that call. It's calling encrypt(project, location, keyring, cryptokey, plaintext) with (project, keyring, cryptokey, keyversion, plaintext). 😞  Fix incoming!

Still fails :(

It's ok to keep them here since they are published.  I like them over there so that if something changes it breaks their world, before they publish, when we get the update it's been a while.


Feat: Design New Feedback and Contact Form

Describe the feature
This present forms not looks good.
I will give them more attractive look.
Also Use JS for assure that messages sent that give better experience to user.
Add ScreenShots

I will create better UI than this.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I will add level after u make pr @zalabhavy

@Kalivarapubindusree Ok no problem !


Make entry-approval flow case-insensitive

Right now, entries only go live on the site if the first character in the Approval field is 'x'. Sometimes moderators enter 'X'. Let's make it case-insensitive :)!

https://github.com/findthemasks/findthemasks/pull/395/files#diff-1e53ef2f51bd446c876676ba83d7c888R208-R210 addresses this (but isn't merged yet)

I believe that this is fixed.


Update samanage-provisioning-tutorial.md

I am the Information Developer (technical writer) for the SolarWinds Service Desk (previously known as Samanage).  We have been receiving many inquiries from customers regarding this tutorial therefore have updated the content.
Please update as Samanage has been purchased by SolarWinds and the content is no longer up-to-date.  All relevant changes have been made.

@ravitmorales : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@zchia - Hi, would you review the proposed update to your article? Thanks.

The issue that's addressed in the PR appears to be addressed in master. We'll close the PR. If there are outstanding issues or questions, please add a comment or create a new pull request. Thanks.


feat(exposition): add vary directives

Codecov Report
Attention: 186 lines in your changes are missing coverage. Please review.

Comparison is base (c7afc3e) 57.12% compared to head (028aeaa) 56.44%.
 Consider uploading reports for the commit 2a08428 to get more accurate results

Files
Patch %
Lines

...tensions/exposition/source/directives/cors/CORS.ts
0.00%
57 Missing :warning:

extensions/exposition/source/Interception.ts
0.00%
24 Missing :warning:

extensions/exposition/source/Gateway.ts
0.00%
19 Missing :warning:

...nsions/exposition/source/directives/auth/Family.ts
0.00%
14 Missing :warning:

extensions/exposition/source/Factory.ts
0.00%
6 Missing :warning:

...sions/realtime/components/streams/source/create.ts
0.00%
6 Missing :warning:

libraries/http/source/Agent.ts
0.00%
6 Missing :warning:

extensions/exposition/source/directives/index.ts
0.00%
5 Missing :warning:

extensions/exposition/source/Directive.ts
69.23%
4 Missing :warning:

...tensions/exposition/source/directives/dev/Throw.ts
0.00%
4 Missing :warning:

... and 22 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #489      +/-   ##
==========================================
- Coverage   57.12%   56.44%   -0.68%
==========================================
  Files         304      308       +4
  Lines       10049    10161     +112
  Branches     1241     1241
==========================================
- Hits         5740     5735       -5
- Misses       4309     4426     +117

Flag
Coverage Δ

unit
56.44% <10.57%> (-0.68%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Can't change icon color(Vue 3 Vite)

Hi!
While using unplugin-icons with Vue 3 and Vite with composition API Script Setup, I can't change the color.
I can change the size with no problem though.
Here is the code:
     <carbon-checkmark-outline
        class="toast-icon"
        style="font-size: 2rem; color: red"
      />

Vite config:
      IconsResolver({
          prefix: false,
          enabledCollections: ["carbon"],
        })

We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.

@antfu Thanks for the reply,
No need for reproduction. I didn't do any changes. I am using the code from the documentation.
Is it possible to change the color with Vue 3 and Vite currently?

https://github.com/antfu/unplugin-icons/tree/main/examples

@onurusluca and any other who might run into this issue
Some of the svg icons have hardcoded values, like stroke, so they are not easily overridden. Try an icon from another family.

@antfu When there are width and height attributes in svg itself, the size cannot be modified by font-size, how should I do it?

@antfu When there are width and height attributes in svg itself, the size cannot be modified by font-size, how should I do it?

I suggest you take a look at your SVG, it may already be set up inside

I suggest you take a look at your SVG, it may already be set up inside

Yes, I understood it wrong.


Improve error message for crippled .crates.toml

In case .crates.toml can't be parsed for some reason, the user is left wondering where to look. The problem is exasperated by the fact that .cargo.toml is a hidden file. Improve the error message during install/uninstall/list and point to the path of .crates.toml. A error message might now look like

error: failed to parse crate metadata at /home/foobar/.cargo/.crates.toml
Caused by:
invalid TOML found for metadata
Caused by:
...

A unit-test for a crippled .cargo.toml had been missing before, added that.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+
Thanks!

:pushpin: Commit 844d997 has been approved by alexcrichton

:hourglass: Testing commit 844d997f1becdde66632bc8acea6886c78fe5818 with merge a92b7c801ec62ef489f55542eaa908c366bfc8c7...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing a92b7c801ec62ef489f55542eaa908c366bfc8c7 to master...


🐛 [firebase_app_check] Too many unverified requests

Too many unverified requests in Storage while Realtime Database and Cloud Firestore are normal?
I'm using Resize Images as a plugin, is that why?
It can't be unreasonable this high even if I use it

@cnkygmr

I'm using Resize Images as a plugin, is that why?

If you remove this, do you still get same behavior ?
Have you also enforced app check verification already per the documentation ?

@darshankawar
I can't remove it in an app currently running live.
This is firebase own plugin so that's why I asked.

@darshankawar
How can I see where these queries are coming from?

How can I see where these requests are coming from?

I am not completely sure about it. Is this for Android or iOS ? Can you take a look at this issue and see if it helps in your case ?

@darshankawar
There are 2 sides, both ios and android.
It occurred to me that after the photos are uploaded, I save their urls in the database and have it taken like that. Could this be the reason?

Can't tell for sure. If you can try to access those urls locally and see if it makes any difference to the requests.

I have not seen such issues / use case yet, but a concrete steps to replicate and code sample will be useful to analyze further and to make this issue actionable.

taskSnapshot.ref.getDownloadURL().then((downloadUrl) {
   //Here I am registering the url to the database
 });

CachedNetworkImage(
    imageUrl: images),

I save to the database as above and display it.

https://firebase.google.com/docs/app-check/flutter/custom-resource#send_app_check_tokens_with_backend_requests
I'm also wondering if we should use appcheck tokens like this in urls?

Considering the fact that you are seeing many unverified requests, you may probably try using the appcheck token for the request in urls and see if it helps in your case.

My main question here is that under normal conditions, when the url is fired from an application with appcheck token, shouldn't this request be valid?
After all, it has a standard.
Does it have to be valid or not?

I am unable to conclude anything from the discussion and details provided, so keeping this issue open and labeling for team's attention.

I am unable to conclude anything from the discussion and details provided, so keeping this issue open and labeling for team's attention.

I didn't understand what to do

Does anyone know? Is appcheck unverifed when I take a file with the url given by the download url?

@cnkygmr - are you still experiencing this issue?

@russellwheatley I solved it by sending headers appCheckToken to CachedNetworkImage.


Hide dropDownMenu when tapping outside its bounds

Hello, is it possible to hide menu when a user taps outside its bounds? If not, could you give me a hint to which view should I add a tapGestureRecognizer?
Thanks in advance

Hi, I needed this as well, so I implemented it in PR #22. If you still need it, you can find it in https://github.com/justindhill/BTNavigationDropdownMenu/tree/tap-background-to-dismiss

Thanks, this should be pulled into the main branch.  Now I'm only missing a way to dismiss the menu on back navigation... The other issue's solution did not work for me.

Glad it helped you!

Thanks, needed this as wel :+1:

@olbartek @TheBogueRat @SjoerdPerfors: Merged PR of @justindhill in release 0.2. Thanks!


Current update fails

I tried to update to the current version, but it failed. So I uninstalled it and then tried to reinstall from scratch and it also fails.

Which version of Obsidian are you using?
Are there any console errors when you try to install or update the plugin?

this seems to have been related to the github outage yday, and seems to work now

Great!


Autorefresh build env page

Upon building of a new env, the build icon is spinning forever, even after the env is actually built and available:

A manual refresh of the page updates correctly the icon:

Maybe we could autorefresh the webpage every 5 seconds or so.

The page can already be refreshed manually (F5 or Ctrl-R) to get the new status.
I'm a bit hesitant about the auto-refresh (especially if it refreshes the whole page), as it is often disruptive.

Agree! An alternative solution is proposed in issue #75

The page can already be refreshed manually (F5 or Ctrl-R)

I usually do not refresh manually a web page after having submitted a form to avoid re-submission ;-)
But it is perfectly fine if one tells me I'm allowed to


Investigate if the address into BZZaar can not be pre-filled

Originally posted by @agazso in https://github.com/ethersphere/bee-status/pull/31#discussion_r604891706

This function has been removed and other onboarding mechanisms are being worked on.


Event- Kids Life Camp

No information when you click on the link

Yep! This is just because in Contentful, there is no description for this event...


update the kiali install instructions - no need to git clone src repo

looking here:
https://github.com/redhat-developer-demos/istio-tutorial/blob/master/documentation/modules/advanced/pages/kiali.adoc#how-to-install-kiali
the Kiali install instructions are a bit heavy. There is no need to ask the user to git clone the kiali source repository. See https://www.kiali.io/gettingstarted/#_install_kiali for the true install instructions. In short:
bash <(curl -L http://git.io/getLatestKiali)
should be what you need. If you want to get the jaeger and grafana URLs it would be:
export JAEGER_URL="http://tracing-istio-system.$(minishift ip).nip.io"
export GRAFANA_URL="http://grafana-istio-system.$(minishift ip).nip.io"
bash <(curl -L http://git.io/getLatestKiali)

Summary of Kiali install options:
https://www.kiali.io/documentation/installation/

Kiali is installed as part of Istio 1.1 - So no installation is needed anymore.
Fixed at https://github.com/redhat-developer-demos/istio-tutorial/commit/01e9e5e1aa094161fa1ad09595cf4d36b30073d6


Dependency cocoapods-patch incompatible with newest version of cocoapods

Issue
We depend on cocoapods-patch which requires cocoapods ~> 1.11.0 (that is, some version 1.11.x, no higher or lower) where the latest version is 1.12.1 and therefore incompatible (issues sometimes arise when both versions of the gem are installed at the same time, and cocoapods-patch naturally will not work without cocoapods ~> 1.11.0).
We use cocoapods-patch to patch the dependency iOS-GPX-Framework which has not been updated since Nov 2016 (last release Dec 2014).
Workarounds
The current workaround is just to force cocoapods to be version 1.11.x (latest is 1.12.1) and if necessary, uninstall all other versions. However, this is probably not a good long-term solution.
An alternate workaround is described in a pull request https://github.com/doublesymmetry/cocoapods-patch/pull/26 which provides an update for cocoapods-patch, though it has not been merged (the project may have been abandoned; no changes have been made since Dec 2021).
Possible Long-Term Solution
It's probably best to get a newer version of iOS-GPX-Framework. These are two different Swift ports of the original:
https://swiftpackageindex.com/isklikas/iOS-GPX-Framework
https://swiftpackageindex.com/vincentneo/CoreGPX
If one of these works, we will be able to replace the old iOS-GPX-Framework and eliminate cocoapods-patch, which will then allow us to use more recent versions of cocoapods

As an additional note on the proposed long-term solution, both of these GPX replacements would probably allow for cocoapods to be completely removed, which would simplify dependencies to just using the Swift Package Manager.
The only two dependencies imported using cocoapods are iOS-GPX-Framework and TBXML, where TBXML appears to only be used as a dependency for iOS-GPX-Framework. It is also not required for the replacements, since they both use the XMLParser included with Foundation

transferred from https://github.com/soundscapeforeveryone/soundscape/issues/11

What are the implications of doing this for a longer term cross-platform strategy where we have Soundscape on both iOS and Android?

All of this (CocoaPods, cocoapods-patch, iOS-GPX-Framework) is very iPhone-specific, so not much relevance to any future Android port.
Also, IIRC, iOS-GPX-Framework is just for testing (loading a GPX file to replay a recorded route in the simulator), so we could technically drop all of this without breaking the app itself.
But to the extent this is still a useful testing feature, I'm all for updating iOS-GPX-Framework and dropping CocoaPods entirely.

Correcting my above comment -- the iOS-GPX_Framework appears to also be a critical part of using routes from the authoring tool. So, not safe to just rip out, but it seems like there are friendlier replacements like CoreGPX that @2kai2kai2 is already incorporating.


Design document for QIR-based resource tracer

Work in progress, but early feedback is very much welcomed and appreciated.

Would it be possible to update the QIR spec prior to merging this PR?


Fix Terraform Warnings

This doesn't have big priority, but we should fix it a certain point, to avoid errors in the next Terraform versions.
Warnings:

  * template_file.master_bootstrap: using template_file as a resource is deprecated; consider using the data source instead
  * template_file.node_bootstrap: using template_file as a resource is deprecated; consider using the data source instead
  * template_file.edge_bootstrap: using template_file as a resource is deprecated; consider using the data source instead

No errors found. Continuing with 3 warning(s).

 Fix Terraform Warnings

Fixed in #160


Error code 401 (Unauthorized) when setting up zrok with OpenZiti (self-host setup)

Hello, I am trying to self-host Zrok on my domain. For context, it currently has a website and HTTPS/SSL certificates already on it for the main domain. It is also a .dev domain - which means HSTS is required. I successfully finished the OpenZiti express installation and took note of the password. Before I continued with the Zrok setup, I ran ziti edge list identities just like the tutorial did. However, I got an error, which I'll just paste here:
error: error listing https://zrok.mywebsite.dev:8441/edge/management/v1/identities in Ziti Edge Controller. Status code: 401 Unauthorized, Server returned: {
    "error": {
        "code": "UNAUTHORIZED",
        "message": "The request could not be completed. The session is not authorized or the credentials are invalid",
        "requestId": "12345678"
    },
    "meta": {
        "apiEnrollmentVersion": "0.0.1",
        "apiVersion": "0.0.1"
    }
}

Note: I censored my domain and Request ID just in case...
Now, I believe this issue may be caused because of the supposed lack of HTTPS on the domain/port it is trying to reach. I currently have my DNS records to point all wildcard subdomains and *.zrok subdomains to the main IP. My existing SSL certs do not apply as they only cover the main domain and port 443. But the express install looked like it auto-generated some SSL certificates...I'm not exactly sure. All I know is that HTTP is not supported on my .dev domain, and I'm getting error 401 when running ziti edge list identities. My assumption about the issue may not be correct.
Also I apologize in advance if this issue should be in the OpenZiti repository, I assumed it may have part to do with Zrok but I may be completely wrong.

Have you tried running ziti edge login before ziti edge list identities?

Have you tried running ziti edge login before ziti edge list identities?

Well, the video I was following along with didn't seem to run that command. However I did run it just now, and it threw the same error. I know it was correct, I uninstalled everything and tried from scratch three times since then to make sure it's not human error.
When I try to access the endpoint, either zrok.mydomain.dev, zrok.mydomain.dev:8441, or anything other than the main thing, it fails since anything other than HTTPS is strictly prohibited (I guess this was why I was having issues with SSL certs and accessing my website back when I was setting it up a year ago 😅 I just now realized that). Maybe I'll edit the Apache web server configs and renew my certs to reach out to the zrok. subdomain?
I mean I thought the OpenZiti Express Install should've installed its own SSL certificates based on the logs I was seeing, but I guess not 🤷♂. I'll also probably have to find out how to make my certificates apply to *.zrok. "sub-subdomains", I guess.
Am I looking in the wrong place at all, is Zrok/OpenZiti supposed to have its own virtual host I should be looking at to see what's going on with the certificates? Again, feel free to correct me if I lack any knowledge of how things should be working, this area is not something I'm particularly well-versed in.

Getting the PKI infrastructure dialed in correctly for OpenZiti can be a little bit of a fiddly thing. Once it's configured correctly, you'll be golden. You might consider reaching out on the Discourse forum for help there.
https://openziti.discourse.group/new-topic?category=Support/General Questions

Fiddly indeed! I uploaded a video walkthrough and made another condensed set of notes for setting all the things up on my personal github here:
https://github.com/dovholuknf/openziti-scripts/blob/main/notes/zrok-self-hosted-step-by-step.txt
And a narrated video here:
https://youtu.be/IbsqNiQPyDk

Fiddly indeed! I uploaded a video walkthrough and made another condensed set of notes for setting all the things up on my personal github here:
https://github.com/dovholuknf/openziti-scripts/blob/main/notes/zrok-self-hosted-step-by-step.txt
And a narrated video here:
https://youtu.be/IbsqNiQPyDk

Ah, thank you so much! I'll see if those notes help with my installation.

Any updates here?


can you support go-rod?

can you support go-rod?
https://github.com/go-rod/rod

Took a look at the library, should work right out the box using the same url used in the readme:
So something like:
package main

import (
    "github.com/go-rod/rod"
)

func main() {
    u := "ws://<IP_ADDRESS>:3000/" // localhost instead of <IP_ADDRESS> if running with docker
    rod.New().ControlURL(u).MustConnect().MustPage("https://example.com")
}


nan.h:189:78: error: no matching function for call to ‘v8::Signature::New(v8::Isolate*, v8::Handlev8::FunctionTemplate&, int&, v8::Handle<v8::Funct ionTemplate>*&)’

I'm trying to build https://github.com/jsbin/jsbin/ but I am getting a build failure iiuc with your dependency:
http://ix.io/mxx
Not sure why that build failure isn't in: http://s.natalian.org/2015-11-29/npm-debug.log
Any ideas? Thank you!

The latest version no longer uses a binary addon. So make sure you have the latest version installed.
Arnout Kazemier

On Nov 29, 2015, at 4:57 PM, Kai Hendry<EMAIL_ADDRESS>wrote:
I'm trying to build https://github.com/jsbin/jsbin/ but I am getting a build failure iiuc with your dependency:
http://ix.io/mxx
Not sure why that build failure isn't in: http://s.natalian.org/2015-11-29/npm-debug.log
Any ideas? Thank you!
—
Reply to this email directly or view it on GitHub.

@kaihendry Are you able to solve this? I am facing the same issue.

I'm also facing this issue.

On reading this page I switched to version 0.10.27 using nvm and it installs fine now.


[SPIR-V] Descriptor aliasing is considered a warning when it shouldn't be

SPIR-V allows descriptor aliasing, and there are good use cases for it, but slang treats this as a warning:
[vk::binding(2, 3)] StructuredBuffer<float> buffer0;
[vk::binding(2, 3)] StructuredBuffer<float> buffer1;
[vk::binding(2, 3)] RWStructuredBuffer<float> result;

uniform float offset;
uniform float3 offset2;

[shader("compute")]
[numthreads(1,1,1)]
void computeMain(uint3 threadId : SV_DispatchThreadID)
{
    uint index = threadId.x;
    result[index] = buffer0[index] + buffer1[index];
}

[shader("vertex")]
float4 vertMain(uint vid : SV_InstanceID) : SV_Position
{
	int a = 50;
	outer:
	for (int i = 0; i < (vid & 15); i++)
	{
		inner:
		for (int j = 0; j < (vid & 0xaa); j++)
		{
			if (vid == 20)
			{
				a = 80;
				break outer;
			}
		}
	}
	return float(vid).xxxx + offset + offset2.xyzz + float(a);
}

/tmp/test.slang(2): warning 39001: explicit binding for parameter 'buffer1' overlaps with parameter 'buffer0'
[vk::binding(2, 3)] StructuredBuffer<float> buffer1;
                                            ^~~~~~~
/tmp/test.slang(1): note: see declaration of 'buffer0'
[vk::binding(2, 3)] StructuredBuffer<float> buffer0;
                                            ^~~~~~~
/tmp/test.slang(3): warning 39001: explicit binding for parameter 'result' overlaps with parameter 'buffer0'
[vk::binding(2, 3)] RWStructuredBuffer<float> result;
                                              ^~~~~~
/tmp/test.slang(1): note: see declaration of 'buffer0'
[vk::binding(2, 3)] StructuredBuffer<float> buffer0;
                                            ^~~~~~~
/tmp/test.slang(2): warning 39001: explicit binding for parameter 'buffer1' overlaps with parameter 'buffer0'
[vk::binding(2, 3)] StructuredBuffer<float> buffer1;
                                            ^~~~~~~
/tmp/test.slang(1): note: see declaration of 'buffer0'
[vk::binding(2, 3)] StructuredBuffer<float> buffer0;
                                            ^~~~~~~
/tmp/test.slang(3): warning 39001: explicit binding for parameter 'result' overlaps with parameter 'buffer0'
[vk::binding(2, 3)] RWStructuredBuffer<float> result;
                                              ^~~~~~
/tmp/test.slang(1): note: see declaration of 'buffer0'
[vk::binding(2, 3)] StructuredBuffer<float> buffer0;

This is known behavior and the warning is added for users that relies on it. The warning can always be disabled with -warnings-disable 39001.

Is there a way to specify command line arguments like this one in the c++ library api for slang?
I would like to suppress this warning.


graphics: Strange rendering with Radeon RX 580

Version: https://github.com/OpenDiablo2/OpenDiablo2/commit/dba17fc5fe1e2510336c0601c330a5ea32bfcf5b
This is not produced with Ebiten 1.10.
GPU: RX 580 sapphire

Confirmed that this happens with examples/flappy

by Troispoils

Note that this worked before introducing glMapBuffer.

We might need to avoid glMapBuffer due to portability, maybe? On the other hand, glTexSubImage2d should be called once for multiple rectangle regions, or the performance would be poor.
My current idea is:

If the number of the region is 1, call glTexSubImage2d.
If not:

Create one big byte slice that includes the rectangle regions
Create a temporary texture (if needed)
Call glTexSubImage2d on the temporary texture with the big byte slice
Render the temporary texture to the target.

Radeon R4 Graphics (Bungbungame Photon2) didn't cause this issue.

https://www.reddit.com/r/blender/comments/e0iv5q/blender_suddenly_looks_like_this_looks_kinda_cool/ is similar to the previous report:

Does not occur with Go1.12.5 / Go1.13.4 windows/amd64 on an AMD Vega 64.

Thanks! I think this means that not all external AMD GPUs caused this issue.

@auyer What is the SHA1 hash of Ebiten?

Meh, I could not reproduce this with MacBook Pro 2018 and an eGPU (Radeon RX 580)

Thanks! I think this means that not all external AMD GPUs caused this issue.

The GPU I used is dedicated, but not external.

@auyer What is the SHA1 hash of Ebiten?

f6390abad74f0cbff79fcb73efa7306d2c89e63e
I can re-test with a different commit if you want.

Thanks!

I can re-test with a different commit if you want.

That commit is fine (this should include the reported problem). Thanks.

Now I replaced glMapBuffer / glUnmapBuffer with glBufferSubData, then this should not be problematic more.


Filter datapoints by timestamp - Timestamp Filter - Issue #279

Description

Resolves #279

Verification

[ ]

Resources

Note:

plz double check the db name under src/website/tests/simulation/simulation.py (maybe needs to be changed)?

Fixes:

We want to filter AISShips

Add another document for AISShips with varying lat/lng points (just increment everything by 0.1)

When filtering into the future, we should see nothing on the map.


Consider reducing the log level of successfully renewed lease to DEBUG

On some of our less-busy controllers 90+% of the log output is from this. I think in most cases normal operation should be silent and deviations should be called out in logs, so it would make sense to reduce the severity of this to DEBUG. What do you think?

Absolutely, would you mind creating a pull-request? I'll release asap afterwards.
BTW, are any of your controllers open-source and we could link to them from this project?

Absolutely, would you mind creating a pull-request? I'll release asap afterwards.

Created #36. I left the other similar log messages at INFO ("successfully acquired lease", "lease is held by X and has not expired") on the basis that they are much lower frequency and indicate state changes rather than just steady state so are more useful.

BTW, are any of your controllers open-source and we could link to them from this project?

Not yet, but at least a couple are planned to be open-sourced, and when they are I'll let you know!


Support for sql stored procedure table typed parameters

Hello
I have a small request as I did not find anything similar in documentation (or did I overlook sth?).
Env

Python: 3.6 x64
pyodbc: 4.0.23
OS: Windows 10
DB: Sql Server 2016 - Compatibility lvl 130
driver: ODBC Driver 13 for SQL Server

Observed behavior:
One to insert many rows to DB's table must use executemany with fast_executemany option and this is quite error prone as does some data converting and includes many round trips to SQL.
Expected behavior:
I would like to use Sql table types as stored procedure parameters in which case whole data set could be potentially passed from Pyton to Sql with one round trip.
Example:
Pyton:
dbAdapter = pyodbc.connect(connectionString).cursor()
dbAdapter.execute("EXEC [dbo].[StoredProcedureName] ?", listOfData)

Sql:
CREATE TYPE [dbo].[StoredProcedureNameParameterType] AS TABLE (
	[C_SomeColumn] [int] NOT NULL,
	[C_SomeColumn2] [nvarchar](max) NOT NULL
);
GO

CREATE PROCEDURE [dbo].[StoredProcedureName]
	@TBL_OfInsertedData [dbo].[StoredProcedureNameParameterType]  READONLY
AS
BEGIN
	BEGIN TRANSACTION
		INSERT INTO [dbo].[TBL_ExistingSqlTaqble] ([C_SomeColumn], [C_SomeColumn2])
		SELECT TBL_OfInsertedData.[C_SomeColumn], TBL_OfInsertedData.[C_SomeColumn2]
		FROM @TBL_OfInsertedData AS TBL_OfInsertedData
	COMMIT TRANSACTION
END
GO

Note:
This can already be done in C# and other languages, so I think there should be an option to code this (Or is it already possible)? This potentially can close all issues regarding executemany with Sql Server. Can similar techniques be used on other DBs engines?

Since this is a duplicate, I'll close this one and #290 should be followed for updates.  Thanks.


CPU steal?

Hi,
Does this tool show CPU steal? The screenshots don't show it, and that's what I'd like to monitor with monit in addition to CPU usage.

I don't believe so, but I haven't used Monit in a long time. If Monit now provides this info then feel free to open a PR to add it to the dashboard!


Lifecycle Diagram inconsistencies

The current lifecycle diagram is a bit inconsistent in a few places:

The first if's "no" branch enters the second if through one of its exits (its "no"-exit). Instead it should join the main path and enter the second if as one common path.
The second if's "no" exit is already occupied so the actual "yes/no" branch happens below the node. Instead the "no" branch should exit to the right.
The third if's "no" branch enters "ready" from the side while it should merge with the main path and enter from the top as one common path.
Independently from the if blocks I think the ready and destroyed events should fire before the "Ready" and "Destroyed" states are reached. Right now the fire while the states are reached.

I would have posted a PR but there are no sources for the diagram available so I will just post a crude ASCII art of what I mean. Currently it looks like:
                  [new Vue()]
                       |
                 [Observe Data]
                       |
                  [Init Events]
                       |
          (created)----|
                       |
                    <has el?>----NO---.
                       |              |
                   YES |              | vm.$mount(el)
                       |              |
                <has template?> <<----´
                       |
  (before compile) --- |
                       |
           .-----------|------------.
      YES  |                        |  NO
  [Compile and replace]    [Compile in-place]
           |                        |
           `-----------|------------´
                       |
    (compiled) ------- |
                       |
                <in document?>----NO----.
                       |                |
                   YES |                |  inserted into document
                       |                |
       (ready) ----- {READY}  ----------´
                       |
                  vm.$destroy()
                       |
  (beforeDestroy) ---- |
                       |
                  [tear down]
                       |
  (destroyed) --- {DESTROYED}

when I think it should look like
                    [new Vue()]
                         |
                   [Observe Data]
                         |
                    [Init Events]
                         |
           (created) --- |
                         |
                      <has el?> ---- NO ---.
                         |                 |
                     YES |                 | vm.$mount(el)
                         |                 |
                         | <<--------------´
                         |
    (before compile) --- |
                         |
                  <has template?> ---- NO -----.
                         |                     |
                     YES |                     |
                         |                     |
               [Compile and replace]    [Compile in-place]
                         |                     |
                         | <<------------------´
                         |
      (compiled) ------- |
                         |
                  <in document?> ---- NO ----.
                         |                   |
                     YES |                   |  inserted into document
                         |                   |
                         | <<----------------´
         (ready) ------- |
                         |
                      {READY}
                         |
                    vm.$destroy()
                         |
    (beforeDestroy) ---- |
                         |
                    [tear down]
                         |
     (destroyed) ------- |
                         |
                    {DESTROYED}

The has el and in document no branches are not actions: they are just waiting for some conditions to be met (may never be met) before it can move on to the next action.
The has template check is different: both yes and no proceeds to different actions. I think it's worth having different diagrams for them because the semantics are indeed different.

I see what you mean and that difference is depicted by having a green box vs not having one. If you look closely you will notice that will not be changed by what I mean.
The way some of the boxes are currently used however breaks all convention.


FR models versioning behavior.

From ApiView: https://apiview.dev/Assemblies/Review/cf2c57b3d4c44ef08c2e8284f7441a2d?diffRevisionId=7b88eaab713441088064a69b39977518

A decision needs to happen before the arch board meeting for JS/Java

What is the back compat story story here? Should a custom model have a version and can only  run RecognizeCustomForms with that same version?
A way we could enforce this for now is make ServiceVersion required for now, and eventually we could add another constructor where the parameter is optional

From our discussion with the service:

In general we aim for backwards compatibility (relative to the endpoint) but do not support forwards compatibility (e.g. if you train a model on 2.1 endpoint and try to analyze using 2.0 endpoint you will get a 400 Bad Request).

Forwards compatibility affects mostly the "list models" APIs, so we are working with the service team to clarify this usage.
We don't consider this as a blocking for our P5 release so closing the issue


Added male and female titles for the en_ZA locale

The new titles are for Revenant (Rev.) and Honourable (Hon.)
Remove unused use import for Faker\Provider\DateTime

Thanks!


DO NOT MERGE Diff master and generated client

Just to pin a diff for discussion.

After offline discussion, we decided to move forward by setting all new parameters' defaults to None.
Looking at the diff, the following parameters have non-None defaults, all of which already have default values in the hard-coded client unless noted otherwise:
approachoffset
closegripper
debuglevel
deletetarget
densowavearmgroup
departoffsetdir
destdepartoffsetdir
execute                                <-- documentation says it should be 1 even if it's not a param.
fireandforget
freeinc
movetodestination
startline                               <-- I think 0 is a reasonable default.
stepping
timeout
unit                                       <-- default is `mm` which is the system default
unitMass                             <-- default is `kg` which is the system default

Merged :tada:


[WIP] Misc. constants updates

This adjusts constants adjusted in the game's constants.js file, and adds a few new ones added.
Our constants file is still out-of-date in the sense that it's missing items, but with this (and #164) all constants present should have correct values.
WIP because I haven't updated the event types.

Since there's some bits of code that both this and the power creep updates need to touch, I'm going to abandon the idea of separating them and merge the two PRs. Closing in favor of #164.


Please invite me to the community

Name
cixtor
Additional Context

Where did you meet Infraform Community?

I found it while searching for interesting open-source projects to collaborate on.

What do you like about this community?

The initiative to bring developers together to collaborate on different projects sounds wonderful.

Why do you want to join?

I have been an active member of the open-source community on GitHub and other platforms, and it is always a joy to find like-minded people willing to share knowledge and experiences. I would love to join thir GitHub organization to help many more developers become excellent open-source maintainers.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for the development solutions and enhance creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn development, DevOps, tech, and contribute together and with us 👉💜👈


Support for abstract / polymorphic classes

According to the kotlinx serialization docs it should be possible to register the subtypes of an abstract class as part of the serializerModule. However, it doesn't seem to work:
@file:UseContextualSerialization
...
    val module = SerializersModule {
        polymorphic(SkillsCoachEvent::class) {
            subclass(AccountSettingsEvent::class)
        }
    }
    val schema = Avro(configuration = AvroConfiguration(SnakeCaseNamingStrategy), serializersModule = module).schema(Event.serializer())

...

@Serializable
data class Event(
    val eventId: UUID,
    val createdAt: DateTime,
    val aggregateId: UUID,
    val sequence: Int,
    val aggregateType: String,
    val eventType: String,
    val metadata: ManagerLabMetadata,
    @Polymorphic @Contextual val body: SkillsCoachEvent
)

...

@Serializable
@Polymorphic
abstract class SkillsCoachEvent : DomainEvent

As you can see, I also naively tried adding both @Polymorphic and @Contextual and @file:UseContextualSerialization clutching at straws that they'D offer the hints necessary for Avro4K to treat this as SerialKind.CONTEXTUAL instead of SerialKind.OPEN, to no available. I suspect that Avro4K might need to introduce a new SerialKind.POLYMORPHIC or something like that, to match what's in kotlinx serialization.
Exception in thread "main" kotlinx.serialization.SerializationException: Unsupported type kotlinx.serialization.Polymorphic<SkillsCoachEvent> of OPEN
	at com.github.avrokotlin.avro4k.schema.SchemaForKt.schemaFor(SchemaFor.kt:206)
	at com.github.avrokotlin.avro4k.schema.SchemaForKt.schemaFor(SchemaFor.kt:187)
	at com.github.avrokotlin.avro4k.schema.ClassSchemaFor.buildField(ClassSchemaFor.kt:78)
	at com.github.avrokotlin.avro4k.schema.ClassSchemaFor.dataClassSchema(ClassSchemaFor.kt:63)
	at com.github.avrokotlin.avro4k.schema.ClassSchemaFor.schema(ClassSchemaFor.kt:43)
	at com.github.avrokotlin.avro4k.Avro.schema(Avro.kt:264)
	at com.github.avrokotlin.avro4k.Avro.schema(Avro.kt:269)
	at events.AvroSchemaGeneratorKt.main(AvroSchemaGenerator.kt:37)

Thanks @thake that's a fair call. I'm not sure if I'll be able to absorb getting up to speed in avro4ks internals and then doing this PR while dealing with our internal deadlines, but I will definitely try :).
In the meantime, our workaround is probably to just use properly sealed classes, which causes some other significant compromises but gives us a path forward.

I've taken a stab at making a PR for this: https://github.com/avro-kotlin/avro4k/pull/109

Implemented with #110


Plugin Does Not Works On CircleCI

serverless-python-requirements Plugin Does not works on CircleCI
Fail Log is Here: https://circleci.com/gh/philographer/crawl-google/35
No module named pip
My CircleCI Docker Image is here: circleci/python:2.7-jessie-node-browser
Error Log
#!/bin/bash -eo pipefail
sls deploy
Serverless: Installing requirements of requirements.txt in .serverless...

  Error --------------------------------------------------

  /usr/bin/python2.7: No module named pip

     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Forums:        forum.serverless.com
     Chat:          gitter.im/serverless/serverless

  Your Environment Information -----------------------------
     OS:                     linux
     Node Version:           8.11.1
     Serverless Version:     1.26.1

Exited with code 1

.circleci/config.yml
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
  build:
    docker:
      # specify the version you desire here
      - image: yoohoogun114/python-node-serverless

      # Specify service dependencies here if necessary
      # CircleCI maintains a library of pre-built images
      # documented at https://circleci.com/docs/2.0/circleci-images/
      # - image: circleci/mongo:3.4.4

    working_directory: ~/repo

    steps:
      - checkout

      - run:
          working_directory: ~/repo/crawl-core
          name: install dependencies
          command: sudo pip install -r requirements.txt

      # run Python tests!
      - run:
          working_directory: ~/repo/crawl-core
          name: run tests
          command: python crawl/test_crawl.py

    # run Install
      - run:
          working_directory: ~/repo/crawl-core
          name: sls plugin install
          command: sls plugin install -n serverless-python-requirements

      - run:
          working_directory: ~/repo/crawl-core
          name: sls deploy
          command: sls deploy

serverless.yml
service: crawl-google-core

frameworkVersion: ">=1.1.0 <2.0.0"

provider:
  name: aws
  region: ap-northeast-2
  runtime: python2.7
  environment:
    SERVICE_NAME: crawl-google
    DYNAMODB_TABLE: ${self:provider.environment.SERVICE_NAME}-${opt:stage, self:provider.stage}
    STAGE: ${opt:stage, self:provider.stage}
    BUCKET_NAME: ${self:provider.environment.SERVICE_NAME}-${opt:stage, self:provider.stage}
    REGION: ${self:provider.region}
  iamRoleStatements:
    - Effect: Allow
      Action:
        - dynamodb:Query
        - dynamodb:Scan
        - dynamodb:GetItem
        - dynamodb:PutItem
        - dynamodb:UpdateItem
        - dynamodb:DeleteItem
      Resource: "arn:aws:dynamodb:${opt:region, self:provider.region}:*:table/${self:provider.environment.DYNAMODB_TABLE}"
    - Effect: Allow
      Action:
        - s3:PutObject
      Resource: "arn:aws:s3:::${self:provider.environment.SERVICE_NAME}/*"

functions:
  crawl:
    handler: crawl/crawl.crawl
    timeout: 300

plugins:
  - serverless-python-requirements
custom:
  pythonRequirements:
    dockerizePip: 'non-linux'

resources:
  Resources:
    S3BucketCrawlMondrian:
          Type: AWS::S3::Bucket
          DeletionPolicy: Delete
          Properties:
            BucketName: ${self:provider.environment.BUCKET_NAME}

Well Note now i'm using
plugins:
  - serverless-python-requirements
custom:
  pythonRequirements:
    dockerizePip: 'non-linux'

Why /usr/bin/python2.7: No module named pip Error?
If I Try pip --version then it could print version
$ pip --version
pip 9.0.3 from /usr/local/lib/python3.6/site-packages (python 3.6)

It seems that your image's default python&pip are version 3.6, thus why python2.7 doesn't have pip. This plugin uses python2.7 -m pip (or whatever your runtime or pythonBin is set to) to ensure the correct version of python is used to install your dependencies.
To fix it, you need to also install pip for python2.7 in your docker image. IE, add this to your Dockerfile:
RUN apt install python-pip

@dschep Thanks. Your Solution Works !!!


Added Crude oil forecasting

Added Crude oil forecasting
closes #939

@invigorzz313 please merge this

@pavitraag good work, but your readme.md file doesn't match with .ipynb files' code ,you have written

Data fetch from api (no such code found )
You are using file.upload() - not used in code
In your readme.md file you have written Model selection - doesn't found any comparision between different Models.

Also add in your readme.md file that why have you used these different visualization plots and what's the impact of these plots in code.

@Niketkumardheeryan @invigorzz313 done with changes


Integrate Outlook's code organization convention

Just a minor update: We actually changed the use of struct for constants to use enum. Reason being that with struct, you can do something like foo = Constants(), which doesn't make sense. With an enum, that isn't allowed.


Support Fixes

Fixed:

Brightness data type changed at some point, so I've changed it.
Defaulting to DMA Channel 5 it not very good idea, since on RPi 3 it causes file system corruption issue. I've changed default channel to 10, since for now it's considered safe.

Hi Adrian,
The problem is that you are using jgarff/rpi_ws281x provided inside of  the vendor folder. The library provided directs at the commit  which is 3 years old. My fixes updated the bindings to for them to work with a newer version of the library. Thats why changes made by me do not work for you.
Try to use the latest version of jgarff/rpi_ws281x and then hopefully everything should work fine.
Good Luck!


Migration to Direct Lake Notebook Script for SSL Issue with error on line 42

Dear Michael,
We got to 94% migrate.  When we get to line 42 we got errors....Labs Refresh semantic model.....please please help us.

Thanks so much for your patience and amazing assistance so far.  Once we get through this we will use it on the rest of our semantic model migration.

Can you try running the refresh_semantic_model function again and see if you get an error? Also, you can run this code to see what the error was for a given refresh request id. I will be adding a function for this in the upcoming release but for now this should do the trick to let you know what the issue is.
import sempy.fabric as fabric
new_dataset_name = '' # fill this in
new_dataset_workspace_name = '' # fill this in
workspace_id = fabric.resolve_workspace_id(new_dataset_workspace_name)
dataset_id = fabric.resolve_item_id(
        item_name=new_dataset_name, workspace=workspace_id, type="SemanticModel"
    )
    client = fabric.PowerBIRestClient()
    response = client.get(
        f"/v1.0/myorg/groups/{workspace_id}/datasets/{dataset_id}/refreshes"
    )
response.json()

Dear Michael,
Thank you so much for being so helpful, patience and spending your time with us.  We are truly appreciated it so much.  We are getting deep into sempy and discover more and more.   We ran your code and found out that there are several issues some are from us and one issue is with SQL Endpoint when we tried to refresh the tables and the model. So we report to MS Product Team (see below my SR description).
Anyway, thank so much for this.
One day, if you are ever in Vietnam, we would love to take you to lunch to express our thanks.
Trang

On 22 Oct 2024, at 18:54, m-kovalsky @.***> wrote:
Can you try running the refresh_semantic_model function again and see if you get an error? Also, you can run this code to see what the error was for a given refresh request id. I will be adding a function for this in the upcoming release but for now this should do the trick to let you know what the issue is.
import sempy.fabric as fabric
new_dataset_name = '' # fill this in
new_dataset_workspace_name = '' # fill this in
workspace_id = fabric.resolve_workspace_id(new_dataset_workspace_name)
dataset_id = fabric.resolve_item_id(
item_name=new_dataset_name, workspace=workspace_id, type="SemanticModel"
)
client = fabric.PowerBIRestClient()
response = client.get(
f"/v1.0/myorg/groups/{workspace_id}/datasets/{dataset_id}/refreshes"
)
response.json()
—
Reply to this email directly, view it on GitHub https://github.com/m-kovalsky/Fabric/issues/6#issuecomment-2429075280, or unsubscribe https://github.com/notifications/unsubscribe-auth/BLXVOF6FLFI5GMINT4P467LZ4Y4GVAVCNFSM6AAAAABPTQMWW2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRZGA3TKMRYGA.
You are receiving this because you authored the thread.


Allow for Fuzzy Matching of Task Identification for Bot Commands

Allow for fuzzier matching to determine what task is the target of a bot command like /complete.
To implement this, consider modifying the IDs of the tasks to be UUIDs and and let the name be a sort of "short description" of the task. Then utilize some level of fuzzy matching so that the following scenario works:
User: /create Call My Doctor Tomorrow
Bot: Task "Call My Doctor Tomorrow" created
User: /complete call doctor
Bot: "Call My Doctor Tomorrow" completed

Found an issue with matching as the "id" of the task is not the name, but the url slug used for the task (e.g. api/1001/tasks/takemeds the "takemeds" is the id to match) and this is not included in the entity.
Need to start returning this ID in the entity payload when pulled from the function. Feels like yet another reason that this is is evolving past being fine with just durable entities as the backing store.


How to use view created in swift inside an objective-c++ file?

I am trying to use react-native's new architecture and I have enabled fabric for the same. I am able to use a view created in objective-c++ inside my typescript code. But I want to use a view created in swift with UIKit in my objective-c++ file
The documentation on react-native's website is still for the old architecture of using bridge so it does not directly apply in my case. There are pretty significant changes in the new architecture.
Below is the working code for objective-c++ file
 #import <Foundation/Foundation.h>
 #import "RNThubView.h"
#import <react/renderer/components/RNThubViewSpec/ComponentDescriptors.h>
#import <react/renderer/components/RNThubViewSpec/EventEmitters.h>
#import <react/renderer/components/RNThubViewSpec/Props.h>
#import <react/renderer/components/RNThubViewSpec/RCTComponentViewHelpers.h>

#import "RCTFabric/React-RCTFabric-umbrella.h"

using namespace facebook::react;

@interface RNThubView () <RCTThubViewViewProtocol>

@end

@implementation RNThubView {
  UIView *_view;
  UILabel *_label;
}

+ (ComponentDescriptorProvider)componentDescriptorProvider
{
  return concreteComponentDescriptorProvider<ThubViewComponentDescriptor>();
}

- (instancetype)initWithFrame:(CGRect)frame
{
  if (self = [super initWithFrame:frame]) {
    static const auto defaultProps = std::make_shared<const ThubViewProps>();

    _props = defaultProps;

    _rnThubView = [[RNThubView alloc] init];
    _view = [[UIView alloc] init];

    _label = [[UILabel alloc] init];
    _label.text = @"Initial value";
    [_view addSubview:_label];

    _label.translatesAutoresizingMaskIntoConstraints = false;
    [NSLayoutConstraint activateConstraints:@[
      [_label.leadingAnchor constraintEqualToAnchor:_view.leadingAnchor],
      [_label.topAnchor constraintEqualToAnchor:_view.topAnchor],
      [_label.trailingAnchor constraintEqualToAnchor:_view.trailingAnchor],
      [_label.bottomAnchor constraintEqualToAnchor:_view.bottomAnchor],
    ]];
    _label.textAlignment = NSTextAlignmentCenter;

    self.contentView = _view;

  }

  return self;
}

- (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &)oldProps
{
  const auto &oldViewProps = *std::static_pointer_cast<ThubViewProps const>(_props);
  const auto &newViewProps = *std::static_pointer_cast<ThubViewProps const>(props);

  if (oldViewProps.color != newViewProps.color) {
    //    NSString * colorToConvert = [[NSString alloc] initWithUTF8String: newViewProps.color.c_str()];
    //    [_view setBackgroundColor:[self hexStringToColor:colorToConvert]];
    //    _view.backgroundColor = [UIColor redColor];
  }

  [super updateProps:props oldProps:oldProps];
}

Class<RCTComponentViewProtocol> ThubViewCls(void)
{
  return RNThubView.class;
}

- hexStringToColor:(NSString *)stringToConvert
{
  NSString *noHashString = [stringToConvert stringByReplacingOccurrencesOfString:@"#" withString:@""];
  NSScanner *stringScanner = [NSScanner scannerWithString:noHashString];

  unsigned hex;
  if (![stringScanner scanHexInt:&hex]) return nil;
  int r = (hex >> 16) & 0xFF;
  int g = (hex >> 8) & 0xFF;
  int b = (hex) & 0xFF;

  return [UIColor colorWithRed:r / 255.0f green:g / 255.0f blue:b / 255.0f alpha:1.0f];
}

@end

Now to use a view which is created in swift inside my objective-c++ file, I use the following approach
Created a swift file called RNThubView. Following is the code for the same
        @objcMembers class RNThubView: UIView {
          let btnLogin:UIButton = {
              let btn = UIButton(type:.system)
              btn.backgroundColor = .blue
              btn.setTitle("Login", for: .normal)
              btn.tintColor = .white
              btn.layer.cornerRadius = 5
              btn.clipsToBounds = true
              btn.translatesAutoresizingMaskIntoConstraints = false
              return btn
          }()

          required init?(coder aDecoder: NSCoder) {
            super.init(coder: aDecoder)
          }

          override init(frame: CGRect) {
            super.init(frame: frame)
            self.addSubview(btnLogin)
            addConstraintsToButtonLogin()
          }

          func addConstraintsToButtonLogin(){
            btnLogin.leftAnchor.constraint(equalTo: self.leftAnchor).isActive = true
              btnLogin.rightAnchor.constraint(equalTo: self.rightAnchor).isActive = true
              btnLogin.topAnchor.constraint(equalTo: self.topAnchor).isActive = true
              btnLogin.bottomAnchor.constraint(equalTo: self.bottomAnchor).isActive = true
          }

        }

And I updated my objective-c++ file code to the following
          - (instancetype)initWithFrame:(CGRect)frame
          {
            if (self = [super initWithFrame:frame]) {
              static const auto defaultProps = std::make_shared<const ThubViewProps>();

              _props = defaultProps;

              _rnThubView = [[RNThubView alloc] init];
              self.contentView = _rnThubView
             .....
          ......

Rest of the code remains mostly the same in objective-c++ file.
Now when I run via cli, the app crashes with no logs on cli. When I run via Xcode, I get following logs with a white screen on the simulator
          flipper: FlipperClient::addPlugin Inspector
          flipper: FlipperClient::addPlugin Preferences
          flipper: FlipperClient::addPlugin React
          flipper: FlipperClient::addPlugin Network
          2022-07-04 19:16:34.262238+0530 FabricSwift[51914:596543] [connection] nw_socket_handle_socket_event [C1.1:1] Socket SO_ERROR [61: Connection refused]
          2022-07-04 19:16:34.290263+0530 FabricSwift[51914:596543] [connection] nw_socket_handle_socket_event [C1.2:1] Socket SO_ERROR [61: Connection refused]
          2022-07-04 19:16:34.293022+0530 FabricSwift[51914:596537] [connection] nw_connection_get_connected_socket [C1] Client called nw_connection_get_connected_socket on unconnected nw_connection
          2022-07-04 19:16:34.296327+0530 FabricSwift[51914:596537] TCP Conn 0x600001130370 Failed : error 0:61 [61]
          2022-07-04 19:16:36.557475+0530 FabricSwift[51914:596543] [connection] nw_socket_handle_socket_event [C5.1:1] Socket SO_ERROR [61: Connection refused]
          2022-07-04 19:16:36.558768+0530 FabricSwift[51914:596543] [connection] nw_socket_handle_socket_event [C5.2:1] Socket SO_ERROR [61: Connection refused]
          2022-07-04 19:16:36.559075+0530 FabricSwift[51914:596538] [connection] nw_connection_get_connected_socket [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
          2022-07-04 19:16:36.559146+0530 FabricSwift[51914:596538] TCP Conn 0x600001104840 Failed : error 0:61 [61]
          2022-07-04 19:16:36.728528+0530 FabricSwift[51914:596578] [javascript] Running "FabricSwift" with {"fabric":true,"initialProps":{"concurrentRoot":true},"rootTag":1}
          2022-07-04 19:16:37.065773+0530 FabricSwift[51914:596539] [connection] nw_socket_handle_socket_event [C9.1:1] Socket SO_ERROR [61: Connection refused]
          2022-07-04 19:16:37.066881+0530 FabricSwift[51914:596539] [connection] nw_socket_handle_socket_event [C9.2:1] Socket SO_ERROR [61: Connection refused]
          2022-07-04 19:16:37.067294+0530 FabricSwift[51914:596539] [connection] nw_connection_get_connected_socket [C9] Client called nw_connection_get_connected_socket on unconnected nw_connection
          2022-07-04 19:16:37.067425+0530 FabricSwift[51914:596539] TCP Conn 0x6000011370d0 Failed : error 0:61 [61]
          assertion failed [thread_context != nullptr]: got an exception for an unknown thread
          (ExceptionServer.cpp:809 handle_exception)
          Message from debugger: Xcode has killed the LLDB RPC server to allow the debugger to detach from your process. You may need to manually terminate your process.

Full source is here https://github.com/PritishSawant/ReactNativeFabricSwiftTry

As far as I know, Fabric doesn't support Swift views.

@kelset  I am just creating a bridge. I think that should work. It's not related to fabric anyway.  Check this https://github.com/reactwg/react-native-new-architecture/discussions/40

@kelset I am just creating a bridge. I think that should work. It's not related to fabric anyway. Check this https://github.com/reactwg/react-native-new-architecture/discussions/40

I figured it out. Check this https://www.youtube.com/watch?v=I2NP3t4uBt8


[TLC-387] When retrieving S3 bitstream, strip -R from internal ID if bitstream is registered

Description
This small PR implements the same "strip -R internal ID prefix from bitstream" functionality to the S3BitStoreService that is already in use by DSBitStoreService, for the get and about methods.
I haven't changed put (possible case: replacement?) as that hasn't come up in my own testing yet.
This probably needs including in some tests as the fact that S3 couldn't deal with registered bitstreams has gone unnoticed for a long time.
Still working on test instructions - the CLI import tool might be OK but Integration Tests are probably the clearest way forward.
Checklist
This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & integration tests). Exceptions may be made if previously agreed upon.
[x] My PR passes Checkstyle validation based on the Code Style Guide.
[x] My PR includes Javadoc for all new (or modified) public methods and classes. It also includes Javadoc for large or complex private methods.
[x] My PR passes all tests and includes new/updated Unit or Integration Tests based on the Code Testing Guide.
[x] If my PR includes new, third-party dependencies (in any pom.xml), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[x] If my PR modifies the REST API, I've linked to the REST Contract page (or open PR) related to this change.

So, I think this looks good, provided that you've tested it and verified it's working for you?? (I'd just prefer to know whether this has been verified via testing)

Hi Tim, yes, I've been able to successfully register S3 bitstreams that were uploaded outside of DSpace. I've looked to try and find any other impact of this flag and additional places that it needs handling, but didn't find much.

@kshepherd : Would you be able to add a basic test or two into our existing S3BitStoreServiceTest.java to verify the new behavior?  I think tests should be pretty easy to add for this, but if you disagree let me know.


Stackage Nightly

This can be done after #3 is resolved.

https://github.com/fpco/stackage/pull/2120

PR merged in the Stackage repo. Wait and see if it appears in the next nightly...

Now in Stackage Nightly!
https://www.stackage.org/nightly-2016-12-06/package/line-<IP_ADDRESS>
🎉 🎉 🎉 🎉 🎉


fix: Handle login form password error message on blur

Description

Login form password field shows error message when we try to click forgot password after the field has been focused. But we shouldn't do that, so added control over when the field should actually display error message.

Fixes #12345
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

From the login page, set focus on password field by clicking on it , now click 'Forgot password' it won't show any error message on password instead will navigate you to the forgot password page as intended.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Test coverage results :test_tube:
:green_circle: Total coverage has increased
// Code coverage diff between base branch:release and head branch: fix/handle-loginForm-password-errorMessage

Status
File
% Stmts
% Branch
% Funcs
% Lines

:green_circle:
total
56.58 (0)
38.38 (0.01)
35.84 (0)
56.82 (0)

:green_circle:
app/client/src/selectors/commentsSelectors.ts
85.25 (1.64)
64.71 (2.95)
73.33 (0)
90.59 (2.35)

/ok-to-test sha=19391d5

/ok-to-test sha=a53bb78

hi
On Wed, May 4, 2022 at 9:01 AM vercel[bot] @.***> wrote:

The latest updates on your projects. Learn more about Vercel for Git ↗
Name Status Preview Updated
appsmith ✅ Ready (Inspect) Visit Preview May 4, 2022 at 2:00PM (UTC)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Command for AS plugins is missing

Firstly thanks for Flutter!
Steps to Reproduce

Have a provisioned IT infrastructure
Move Android Studio config files from /home to local HDD/SSD (due to network traffic)
Flutter does not see AS plugins anymore cause /home is hardcoded

Logs
[!] Android Studio
    • Android Studio at /var/userdata/miroslav.bartos/app/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • android-studio-dir = /var/userdata/miroslav.bartos/app/android-studio
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

There is command to setup AS path:
flutter config --android-studio-dir="/var/userdata/xxx/app/android-studio"

But there is no way to configure custom AS plugins path. Default is:
$HOME/.AndroidStudioX.Y

Content of "flutter/packages/flutter_tools/lib/src/android/android_studio.dart":
// Android Studio layout:
// $HOME/.AndroidStudioX.Y/system/.home

final RegExp _dotHomeStudioVersionMatcher =
    RegExp(r'^\.(AndroidStudio[^\d]*)([\d.]+)');

Workaround
Create symlinks for .AndroidStudio folder. This solution will be broken by the first AS update.
Solution
Am I missing some comfortable way to handle this?
How to setup path to Android Studio plugins?

Hi @BartosStore
to be honest I'm not sure this is a Flutter issue,
a  jetbrains' Flutter plugin issue github
or a question for the community and stackoverflow.
In the doubt I'll keep the issue open for now,
but I'd recommend to try also the aforementioned alternatives as well.
Thank you

It is indeed hardcoded into Flutter.
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/android/android_studio.dart#L129-L143

@jmagman, Hi! I would like to create a PR to resolve this issue.
At the current moment, I can see two potential solutions.

Use the android-studio-dir to get the plugins directory.

Introduce a new configuration key which will allow o set the path to android studio plugins and then use it in https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/android/android_studio.dart#L129-L143

So, I have a question, what approach will be better?

@dratushnyy Thanks for being willing to contribute!
The plugin warnings flutter doctor throws up are informational only, and the tool doesn't actually use those paths for anything but this message as a hint to new users.  A non-clean doctor causes users stress, and we don't want to encourage people to ignore doctor warnings, but it shouldn't actually be causing real issues.
We've had a lot of issues chasing various paths in IntelliJ IDEs since they seem to move based on different flavors and versions (not so much Visual Studio, VS Code,  or Xcode which seem more stable).
https://github.com/flutter/flutter/issues/57642
https://github.com/flutter/flutter/issues/54867

How would you use the existing android-studio-dir flag?
We probably don't want to introduce a new config key just for the sake of the doctor validator.

@christopherfujino You're on the hook since you threw that tempting good first contribution label on this one.  😃   We were discussing removing this check, right?  I can't find a related issue though.

@jmagman
If my understanding is correct, according to this documentation it is possible to get the plugin path from the AS path
https://intellij-support.jetbrains.com/hc/en-us/articles/207240985-Changing-IDE-default-directories-used-for-config-plugins-and-caches-storage
So, answering to your question, I would try to get IDE_HOME\bin\idea.properties file using the  android-studio-dir flag, and try to get the actual path for the plugins from it.
Also, looks like that changing plugins path is something that is not so rare to occur.
However, I am not sure is it really worth doing this kind of fix or not. 😃 There are plenty of issues to work on 😃

We had discussed it, but there was no official issue tracking, so I created one https://github.com/flutter/flutter/issues/61246.
Thanks for offering to fix @dratushnyy, but I as this keeps breaking (and we plan to imminently deprecate), your time would probably be better spent elsewhere. Sorry about that!

Thank you for the clarification, I  will pick some other issue to work on, no problem 😃

Closing this as we plan to deprecate these validators: https://github.com/flutter/flutter/issues/61246


feat(tech): bump golang to v1.16 EE-515

Closes https://github.com/portainer/portainer/issues/5463
Closes https://github.com/portainer/agent/issues/205


'data\vars_opt_rewardfunction_expected_7to15city.jld2' missing

Dear Professor Andrew Keith,
Recently, I’m learning how to use CFR on resource allocation. Your paper " Counterfactual regret minimization for integrated cyber and air defense resource allocation" gives me great inspiration. I admire your experiment very much, but I have encountered some troubles when trying to implement the algorithm.
In the source code ‘https://github.com/ajkeith/Cyber-Air-Defense’ you provided, we found at runtime that the data file 'data\vars_opt_rewardfunction_expected_7to15city.jld2' is missing in line 201 of robust_collect.jl. If possible, can you send me the data file 'data\vars_opt_rewardfunction_expected_7to15city.jld2'?
No matter whether you agree or not, best wishes to you. I would appreciate it if you could help me.

+1


F  better logging

The timestamp is off by default but I have to yet implement the config option to turn it on. The color characters are desabled in android.

Can we remove these gitignore lines as well? @redlizard has modified the android build script so that it should no longer create garbage in the working tree.
The user of logger.h should not need to write this line
src/client.cpp.orig shouldn't have been pushed
Can you please add the test to circleci?


mqttnet.server  and paho.js

Describe your question
i wrote a console application with mqttnet.server.
mqtt.fx client connected to it successfully.
then i tried to use java script in web browser (paho-mqtt/1.0.1/mqttws31.min.js)
the code is quite simple:
var cid= (Math.random() *<PHONE_NUMBER>).toString();
var client = new Paho.MQTT.Client('<IP_ADDRESS>', Number(8222), cid);
client.onConnectionLost = onConnectionLost;
...
but i got the following response:
mqttws31.min.js:36 WebSocket connection to 'ws://<IP_ADDRESS>:8222/mqtt' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
so is there anyway i could do this using mqttnet.server (i expect the server to run in command line), other than using mqttnet.asp.net.core ?
thanks a lot
Which project is your question related to?

MQTTnet.Server standalone

Hi,
thank you for reporting the issue. This is indeed a bug in the standalone MQTTnet.Server. This will be fixed in the next version (3.0.11).
Best regards
Christian

@chkr1011   thanks.

@chkr1011    i saw the uploaded files of js examples.
but it's still not working,
i updated mqttnet nuget package from 3.09 to 3.0.11,   and my program code is as following:
var optionsBuilder = new MqttServerOptionsBuilder()
.WithConnectionBacklog(100)
.WithDefaultEndpointPort(1883)
.WithConnectionValidator(c =>
{
c.ReasonCode = MqttConnectReasonCode.Success;
}).WithSubscriptionInterceptor(c =>
{
// if (context.TopicFilter.Topic == "x")
c.AcceptSubscription = true;
}).WithApplicationMessageInterceptor(c =>
{
//c.ApplicationMessage.Payload = new byte[]...
c.AcceptPublish = true;
});
// create mqtt server.
_mqttServer = new MqttFactory().CreateMqttServer();
await _mqttServer.StartAsync(optionsBuilder.Build());
is there anything i'm missing?
thanks.

Well you need a Asp.net project. A plain console application with mqttnet only will not work. Check out the mqttnet server project for more details or checkout the wiki. There are also some examples.

@chkr1011   thanks. you mean integration with asp.net.core ?


[WIP] Initial support for React fiber.

Fixes https://github.com/zeit/next.js/issues/1098
We are not going to merge this soon unless React 16 ships before 3.0 release.
Otherwise, we need to look at a way to detect React 16 and support React patching if that's React 15.

Cool!

Hurray!

Any chance this can be released on its own tag?
For now I've forked your branch and published it here to allow using React Fiber on a Next.js app I'm working on that uses the new react-dom/node-stream api.
I prefer not to fork and publish on npm as it's a bit noisy. When a fork is no longer needed you can't "unpublish" it from npm 😞

@stipsan that's something we can do just after we release 3.0.
Using node-stream will be challenging as we need to update next/head and styled-jsx accordingly.

Alright.
It is indeed challenging if the goal is to replace the SSR that next.js is doing for free with streaming. I'm not even sure if doing something like that makes sense. My use case is to stream a component directly to svg using my own route handler.
I don't have a lot of data yet on how using node-stream rendering performs in the real world yet, but my impression that it's primary use case is to keep memory usage low (by sending the string in chunks instead of the full string in one big push) turns out to be true. So far I've seen that it has slower total loadtime than using ReactDOMServer.
For my use case though it's a good tradeoff as I want to use in-memory cache for base64 encoded avatar uris (SVGs that are rendered in an <img> tag do not support loading remote files, only base64 uris).
Because of the base64 uri strings the resulting svg strings can be pretty huge, easily over 1MB. node-stream increases the amount of SVGs that can be rendered before hitting the RAM limit of the node 😄
I don't think it makes sense to use node-stream in use cases where you're not pushing a lot of data to the client. Which is most use cases, right?

I don't think it makes sense to use node-stream in use cases where you're not pushing a lot of data to the client. Which is most use cases, right?

That's what we think right now. Streams doesn't add much in performance wise for Next.js.
But end of the day, this is something we need to consider.

@stipsan @arunoda You are talking about streaming VS full-render performance from the unit of work perspective, but if you consider the performance from the user perspective you will notice that streaming can outperform full-render significantly due to the lower time to first byte (TTFB): https://www.youtube.com/watch?v=UhdGiVy3_Nk

@frol thanks for sharing that video. It appears streams is the next performance frontier 😄

@arunoda @rauchg Would it be possible to get this under a v3.1.0 beta, fiber or some similar tag?

@arunoda @timneutkens
Is this supposed to work / be possible to use as a dependency already?
If I install arunodas fork commit hash using npm / yarn then I'm unable to start next.
If I install the latest version of next normally, and apply this or my own patch manually then it works fine.

Fiber is now in RC and I'm having to maintain two branches (one with next and react 15, one with next disabled and react 16). Would be great to get a timeline in this, and I'd be happy to help in any way I can!

@arunoda react 16 is released, do you plan to merge?

Continuing this work here: https://github.com/zeit/next.js/pull/2996

Tracking it here #2996


Domain mapping msu.hcommons.org to commons.msu.edu

Users who have existing sites created as [sitename].msu.hcommons.org do not work as [sitename].commons.msu.edu (try this one: https://introdh2021.commons.msu.edu/)
If we were to update these sites to [sitename].commons.msu.edu would the existing links still work? Example: https://introdh2021.msu.hcommons.org to preserve existing links that have been posted?
If they do, should we manually update these sites? If not, could they be mapped properly to preserve the links?

Steps to make domain change in production:

fix domains of network blogs:

edit /dev-scripts/commons/rewrite-msu-site-domains.php with correct values for $old_domain and $new_domain.
run with $dry_run = true
if everything looks good, run with dry_run = false

nginx configuration (hcommons.conf):

Change server_name line: server_name ~^(?<sitename>[\w-]+\.)?(?<subdomain>[\w-]+)\.msucommons-dev\.org$ msucommons-dev.org action.mla-dev.org *.action.mla-dev.org commons-dev.meshresearch.net; (correct for production)
Add (correct for production):

if ( $subdomain = "msu" ) {
  rewrite ^ "https://${sitename}commons-dev.meshresearch.net$uri" permanent;
}

reload nginx

change values in .env
other database fixes:

update wp_site table with correct domain for network
update domain of root blog in wp_blogs table
update home, siteurl in base site options table

fix buddypress pages by removing them and readding them in buddypress settings page in wp-admin

Yeah it all needs to be corrected for prod
Get Outlook for iOShttps://aka.ms/o0ukef

From: ericknappe @.>
Sent: Friday, February 11, 2022 5:19:30 PM
To: MESH-Research/commons @.>
Cc: Thicke, Michael @.>; Mention @.>
Subject: Re: [MESH-Research/commons] Domain mapping msu.hcommons.org to commons.msu.edu (Issue #239)
@mikethickehttps://urldefense.com/v3/__https://github.com/mikethicke__;!!HXCxUKc!nPayfsIuItrWCqGyiDe0qduJlw0aQfWVKKd9JoZdTQ55iAGEW3yvxB5KLXkLri8$, the domains in these code examples should be prod values not dev values, correct?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/MESH-Research/commons/issues/239*issuecomment-1036681998__;Iw!!HXCxUKc!nPayfsIuItrWCqGyiDe0qduJlw0aQfWVKKd9JoZdTQ55iAGEW3yvxB5KsSWjHy4$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AGN3BEW3SM4NMUHBDZFLQ7TU2WDPFANCNFSM5KBL7YYQ__;!!HXCxUKc!nPayfsIuItrWCqGyiDe0qduJlw0aQfWVKKd9JoZdTQ55iAGEW3yvxB5K32dPWs8$.
You are receiving this because you were mentioned.Message ID: @.***>