WIP: Using different Java runtimes with OpenSearch.

Signed-off-by: dblock<EMAIL_ADDRESS>Description
A draft for a blog post to be published with 1.3.0 on Java Runtimes.
Requesting feedback and additions from @reta @smortex @dvenable @martin-gaievski and others.
Issues Resolved
https://github.com/opensearch-project/project-website/issues/628
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the BSD-3-Clause License.

nice. Can we share more details on the tests with JDK17? Did it perform better irrespective GC type (CMS or G1)

@dblock How far out is this blog post?

nice. Can we share more details on the tests with JDK17? Did it perform better irrespective GC type (CMS or G1)

@ryanbogan ^

@stockholmux This is ready.

Thanks @dblock I'll review. Next publish ideal date will be on Tuesday. Sound good?

Thanks @dblock I'll review. Next publish ideal date will be on Tuesday. Sound good?

Sure. LMK if you want me to adjust the date in the filename and post.

@dblock Monday is a meh day for a blog post.
We may want to push it past the data prepper blog that just came in (#729).

We may want to push it past the data prepper blog that just came in (https://github.com/opensearch-project/project-website/pull/729).

@stockholmux , We requested publication of this on Tuesday actually.

I think @dlvenable has a point. Let's do Tuesday for the Data Prepper post since it's coordinated with a release.
I'll push this one to Thursday. Sorry for the delay.

@stockholmux , Sorry for the confusion. The Data Prepper blog post should go live on Tuesday.
You can merge this Java blog post at any time that works for you.

A few general comments:

There are a few blockers on publishing - bios, excerpts, etc - see notes.

I added bios for @reta @smortex and @ryanbogan based in what I found on the public Internet / GitHub <- please feel free to PR updates to these.

The positioning of "we" is slightly ambiguous - it seems like you're using 'we' to refer to the project contributors, but it's not precise. It could mean literally the 4 authors.

Reduced usage of we.

This seems a little more like reference material than a blog post, but I think it's borderline as it's highly relevant to 1.3. Could it be summarized a little bit in the first paragraph and then reiterated as a conclusion?

I tried things but didn't love the results. Please feel free to make suggestions.

I was hoping to get community feedback for https://github.com/opensearch-project/opensearch-plugins/issues/132 out of this, too.

Congrats, folks: https://opensearch.org/blog/technical-post/2022/03/opensearch-java-runtime/


Ollama CUDA on Ubuntu Issue

Ollama runs for about 10 - 15 minutes and then it stops due some CUDA issue.
Mar 13 04:27:53 marco-All-Series ollama[886]: [GIN] 2024/03/13 - 04:27:53 | 200 |         1m18s |   <IP_ADDRESS> | POST     "/api/generate"
Mar 13 04:27:54 marco-All-Series ollama[886]: {"function":"launch_slot_with_data","level":"INFO","line":823,"msg":"slot is processing task","slot_id":0,"task_id":4327,"tid":"139815765968640","timestamp":1710318474}
Mar 13 04:27:54 marco-All-Series ollama[886]: {"function":"update_slots","level":"INFO","line":1796,"msg":"slot progression","n_past":86,"n_prompt_tokens_processed":149,"slot_id":0,"task_id":4327,"tid":"139815765968640","timestamp":1710318474}
Mar 13 04:27:54 marco-All-Series ollama[886]: {"function":"update_slots","level":"INFO","line":1821,"msg":"kv cache rm [p0, end)","p0":86,"slot_id":0,"task_id":4327,"tid":"139815765968640","timestamp":1710318474}
Mar 13 04:28:19 marco-All-Series ollama[886]: CUDA error: unknown error
Mar 13 04:28:19 marco-All-Series ollama[886]:   current device: 0, in function ggml_backend_cuda_get_tensor_async at /go/src/github.com/jmorganca/ollama/llm/llama.cpp/ggml-cuda.cu:12080
Mar 13 04:28:19 marco-All-Series ollama[886]:   cudaMemcpyAsync(data, (const char *)tensor->data + offset, size, cudaMemcpyDeviceToHost, g_cudaStreams[cuda_ctx->device][0])
Mar 13 04:28:19 marco-All-Series ollama[886]: GGML_ASSERT: /go/src/github.com/jmorganca/ollama/llm/llama.cpp/ggml-cuda.cu:256: !"CUDA error"
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 905]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 906]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 907]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 908]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 909]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 917]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 918]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 919]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 920]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 921]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 922]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 923]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 1368]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 1370]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 1371]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [New LWP 1372]
Mar 13 04:28:19 marco-All-Series ollama[1385]: [Thread debugging using libthread_db enabled]
Mar 13 04:28:19 marco-All-Series ollama[1385]: Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Mar 13 04:28:19 marco-All-Series ollama[1385]: 0x00000000004700a3 in ?? ()
Mar 13 04:28:19 marco-All-Series ollama[1385]: #0  0x00000000004700a3 in ?? ()
Mar 13 04:28:19 marco-All-Series ollama[1385]: #1  0x0000000000437eb0 in ?? ()
Mar 13 04:28:19 marco-All-Series ollama[1385]: #2  0x0000000011b3a7e8 in ?? ()
Mar 13 04:28:19 marco-All-Series ollama[1385]: #3  0x0000000000000080 in ?? ()
Mar 13 04:28:19 marco-All-Series ollama[1385]: #4  0x0000000000000000 in ?? ()
Mar 13 04:28:19 marco-All-Series ollama[1385]: [Inferior 1 (process 886) detached]
Also nvidia-smi doesn't show any valid GPU I have a Nvidia Tesla T4 installed. Which works perfectly fine on start up before ollama kicks in.
$ nvidia-smi
Unable to determine the device handle for GPU 0000:01:00.0: Unknown Error

Given nvidia-smi stops working, this sounds like it might be an NVIDIA driver bug.  For similar "unknown errors" some users have reported that sudo rmmod nvidia_uvm && sudo modprobe nvidia_uvm has helped reset things with a wedged driver that is causing "unknown errors" from the CUDA library APIs.

One other thing to try.  For systems showing the "unknown error" or "999" error on nvidia GPUs, try checking dmesg logs (dmesg -l err) to see if there's anything interesting being reported by the nvidia drivers.

If you're still having troubles, please give the above suggestions a try and let us know.


convert tf.cond to constants failed by convert_variables_to_constants.

Environment info
Operating System:
Ubuntu 14.04.4 LTS
If installed from binary pip package, provide:
0.9.0
Steps to reproduce
import tensorflow as tf
from tensorflow.python.framework.graph_util import convert_variables_to_constants
def save_model(sess, output_node_names, path = "predict.pb"):
output_list =  output_node_names
output_graph_def = convert_variables_to_constants(sess, sess.graph_def, output_list)
X1 = tf.Variable(1.)
X2 = tf.Variable(1.)
cond_value = tf.Variable(True)
cond_result = tf.cond(cond_value, lambda: tf.assign(X1, 2.), lambda: tf.assign(X2, 2.), name="cond_result")
X3 = tf.add(X1, X2,"X3")
with tf.Session() as sesh:
sesh.run(tf.initialize_all_variables())
#sesh.run(cond_result)
save_model(sesh, ["X3",])
What have you tried?

Test above code, convert_variables_to_constants failed.
If comment the line of tf.cond, call save model will be OK.

Logs or other output that would be helpful
(If logs are large, please upload as attachment).
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/graph_util.py", line 226, in convert_variables_to_constants
returned_variables = sess.run(variable_names)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 382, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 598, in _run
processed_fetches = self._process_fetches(fetches)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 553, in _process_fetches
'Tensor. (%s)' % (subfetch, fetch, str(e)))
ValueError: Fetch argument u'cond_result/Assign/Switch:1:0' of u'cond_result/Assign/Switch:1:0' cannot be interpreted as a Tensor. (The name 'cond_result/Assign/Switch:1:0' looks a like a Tensor name, but is not a valid one. Tensor names must be of the form "<op_name>:<output_index>".)
refer to: https://github.com/tensorflow/tensorflow/issues/3287

Test from source aslo failed, the env infos are as follows;
~tensorflow$ git rev-parse HEAD
861644c0bcae5d56f7b3f439696eefa6df8580ec
bazel version.
Build label: 0.3.1-2016-08-01 (@722fb2d)

Hey,
I am facing the exact same error in the same setting. Is there a work-around or solution?
Thx :)

Could you try with the latest version?

Closing due to lack of activity.


Not PNG and JPEG format support

From<EMAIL_ADDRESS>on December 31, 2013 09:31:20
What steps will reproduce the problem? 1. I just want if possible to get PNG/JPEG format for export the waveform. 2. 3. What is the expected output? What do you see instead? Output: PNG/JPEG What version of the product are you using? On what operating system? Latest version :  WaveDromEditor Win IA32, OS : Windows 7 Please provide any additional information below.
Original issue: http://code.google.com/p/wavedrom/issues/detail?id=80

Should work in v0.11.2


Gaudi components for Acts tracking

Starting point for a Gaudi Integration can be the JugTrack subproject of EIC`s juggler framework ( to be merged with key4hep)
https://github.com/eic/juggler/tree/master/JugTrack

@paulgessinger


Option '-f' and partial downloads (soundcloud)

hi,
thanks for SoundScrape!
i use it with the -f option. sometimes a download hangs and i have to interrupt the script (usually ctrl-c). this leaves an incomplete, corrupted download file in the local library, causing two issues:

my player will attempt to play the corrupted download.
more importantly, when i retry the soundscrape -f command, the corrupted download is skipped entirely (instead of being retried or continued) leaving the corrupted file in the library forever.

these issues are easy to fix. a workable solution is:

use a temporary filename while downloading files. make sure the extension does not match any recognizable music extension to lessen the chance that a player will pick it up. if applicable, lock the file against reading by other processes for the same reason. downloading to /tmp or equivalent can also be considered.
if the temporary filename generation policy can result in clashes with previous download attempts, then silently overwrite any existing temporary files.
for even cleaner behavior, register a termination callback or equivalent to remove the temporary file currently being downloaded if there is one. (ideally ctrl-c should remove the temp download.)

thanks!

We might be able to do one better and make sure that the expected filesize of the track to be downloaded matches the file size of the track already downloaded. Good bug, thanks for reporting.

yes, i thought of that, but i though metadata download could complicate that option.

Yeah, you're right, the custom stuff in the ID3 sinks that approach. Trying with temporary files.

the temp files are ok.
but later you can also do this: you can add a custom ID3 tag with the original length. you can also include other info returned from the server, such as hash, last modified date, version or whatever. so when you re-check you can verify that these attributes match. this would be more of a sync, and exceeds the scope of this issue.
speaking about sync, it would be nice to have a different '-f' option that structures files according to soundcould's IDs. say, directory and file names would probably be numeric. the textual attributes (user name, track name, track list name, etc) would be used only to tag the files. ideally, the sync would detect change in attributes and retag the existing files. right now if a song name changes, -f redownloads it and leaves both copies in the library. and if other attributes not used to name the file change, the ID3 tag of the file goes stale with the old info.

I think this was fixed in 0.27.0 and I forgot to close the issue, whoops!


Added path/command configurability to support custom tooling

Defaults to p4, but can be configured to run a different command to support p4 forks or wrappers

Great, thanks. Please let me know if/when when you publish this to the marketplace.

I'll test it against the latest VSCode release and probably publish it tonight.

Version 0.1.7 is now available at https://marketplace.visualstudio.com/items?itemName=slevesque.perforce

Great, thanks!


Copy paste in block editor does not cancel paste event to bubble

repro:

copy image in clipboard
open block editor
copy / paste block
notice that we tried to import the clipboard

Doesn't seem to repro anymore in the live website... the block gets copied, and nothing else happens (at least, nothing is shown in the console)


Blazor application showing blank page in browser

Hello:
Application not display anything in browser, I don't know what wrong I am doing. How to know what is missing or anything need to configure?
My visual studio version is 15.7.3
Flight finder:

Thanks

Check the Browser Developer Tools (F12) in the browser. If something is wrong with the code Blazor usually shows you quite useful error messages.

Also it's likely that you don't have the correct .NET SDK. Please check the prerequisites and be sure to have them all.
Closing as this is known to work given the prerequisites, but please let us know if you think you're finding a different problem.


Show attributes returned from a detector

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Detector models return some attributes, e.g. confidence (like here), but this is not shown in CVAT UI.
Expected Behaviour
Returned attributes should be shown.
Current Behaviour
Attributes are not shown :(
Steps to Reproduce (for bugs)

Go to app.cvat.ai.

Creat a new task, add a label (Car), and attribute confidence for it - like so

Upload image with some cars

Use Yolov3 automatic detector to detect cars (which should set confidence, see this  part of code)

Observe that the value of confidence is not set for any detection.

Actually, I see that in the code, confidence is returned as string. However, even if I set the confidence attribute as Text, the attribute remains empty.

Hello, please consider this PR #3917 and this one #4506.
They both are merged to develop (do not worry about the second one is closed).
You need to configure serverless function .yml file and its model_handler.py
You can look at serverless/openvino/omz/intel/face-detection-0205/nuclio/function.yaml as an example.
It has spec description:

And in the code you can see:

Will try it out, thanks!

Well, I will close the issue now. Do not hesitate to reopen if you still have questions.


fix(DropdownSelectedItem): apply 'button' role

Fixes https://github.com/stardust-ui/react/issues/1653.
Now it should focus without any issues.
MaterialUI also has them as buttons. https://material-ui.com/components/autocomplete/
Since we also have onClick on it then maybe it should be a button.
@kolaps33 @jurokapsiar @mshoho @sophieH29

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS

will close this since it seems to be a bug in Chrome and not on our side. Will follow up with an issue on their side.


update gateway.php for aliyun ecs

be compatible  Elastic IP server  just like aliyun and qcloud

filter_var 用得非常帅

filter_var 用得非常帅

Use english please. lol:


V2 - Company Not Found - Company owner role is not assigned when cla manager is identified

Prerequisite

Create a CLA group with CCLA enabled
Add github repository for the CLA group
Generate template

Steps to Follow

Login to Github as corporate contributor who has LFID and not associated to any company
Navigate to the repository used in prerequisite
Create PR
CLA check fails
Click on CLA NOT SIGNED
Contributor is redirected to Contributor Console
Click on Proceed as a Corporate Contributor
Click on building icon
Click on Organization not listed? + Click Here
Enter company name and website that does not exist
Click Next
Click Proceed
Click No
Enter valid user email and name
Click Submit Request
Observed that CLA Manager Designee role is assigned to the user. However Company owner role is not assigned for the user

@pranab-bajpai
In the scenario where multiple cla manager designees are identified, should only the first identified CLA Manager designee be assigned with company owner role

Observed that the issue is fixed

Verified that the issue is fixed


#2070 save conda's environment.yaml.

Description
This PR adds the feature of saving conda's environment configuration. See #2070 for more details.
Testing
Check out this run: https://wandb.ai/costa-huang/cleanRL/runs/36rkd91h/files/conda-environment.yaml

This is great Costa!  Couple things:

You should be able to run make test to see the linter errors.  It's likely running the black formatter on the files you've changed.
If we detect conda-meta are we sure the conda command will be available?  We may want to check that it's executable.  We generally us from dockerpycreds.utils import find_executable to check if we can execute a binary cross platform.

I'm happy to take this PR and make the fixes.  Let me know what you prefer.

Thank you Chris! I have tried to make the formatting fixes but the mypy seems to have some issues, probably due to my dev env setup. Feel free to take this PR and make any additional fixes :)


Sorted by time output in unifiedlogs_* scripts

I'm struggling a bit with the output of the unifiedlog_* example scripts.
The output is currently not time-sorted, which makes post-processing data in some cases not possible.
Considering the size of a logarchive sorting afterwards can be memory and cpu intensive.
I'm wondering if there would be a way to output the data in a sorted way as the native apple tool also exports sorted by time.
With the current logic of iterating over the archive_path types I guess that will not work.
Not being that familiar with the true datastructure behind (and thank you for that, as that's the beauty of your library) I'm not sure if it is really feasible.  Same with the trick of handling oversized entries.
Do you think there is a clean way to do so?

I think it may be possible to sort by time if we sort by filename before iterating through the tracev3 files.
@jrouaix actually recently had similar idea in a recent PR.
If we sort the tracev3 files by filename in Persist, Special, SignPost, HighVolume directories, that could provide a way to sort by time

I fear it's more complex than this. A quick look at the output shows line numbers of sorted output vs

sorted
unifiedlogs_iterator

line 1
line 84311

line 2
line 84236

line 3
line 84322

line 4
line 84312

At some point I thought that the LogIterator was maybe not providing the chunks in the right order, as the data is nicely sorted within each chunk, but looking at the table above that doesn't seem to be the case.

Note that above numbers are on a logarchive that only has the logdata.LiveData.tracev3 file, not the HighVolume and others.

hmm, yes you are correct, ordering by filename will not 100% solve the time sorting issue.
I will need to think on this a bit more


Issue 994: buttons for creating an account and viewing adoptable

Issue 994: buttons for creating an account and viewing adoptable
🔗 Issue
#994
✍ Description
Added button to main for an unauthenticated user to see a link to "Become an Adopter" and a button for an authenticated user to see a link to "Adopt a Pet"
📷 Screenshots/Demos

@noahdurbin I see you made it draft...just tag me when you are ready for review.

@all-contributors
please add @noahdurbin for code.

Hey, @kasugaijin it should be ready to go. Let me know if you’d like me to add any tests for this!


xkcd copyright/license violation (lack of attribution) in README

The file: https://github.com/ossf/wg-securing-critical-projects/blob/main/README.md
Has an image obviously from https://xkcd.com/2347/ but seems to lack any attribution.  The content is licensed: https://creativecommons.org/licenses/by-nc/2.5/

Sorry, just saw this. A PR would be really appreciated. We definitely want this properly attributed!
If you can't create a PR, let us know!!


Multiple errors compiling with SDK 2.0

i am trying to deploy my project to azure website, using deployments options with bitbucket
this is the log output of "Running deployment command..." task.
log.txt
i think that is about azure is using sdk 2.0 but the project need sdk 1.1

Could not locate the assembly Microsoft.AspNetCore.Authentication

I think this could happen if you didn't run dotnet restore before building the project. How exactly are you deploying your project? And can you share your csproj file?

there it is
`

net452
win7-x86

aspnet-CorePanel-f4d80286-a681-45fd-b535-74b3f2b9f604

`

Is this still an issue?

I'm going to close this issue for now. Please let us know if you still hit this issue and we can re-open.


Include command line interface equivalent for this command.

Can this page also include instructions on how to achieve the same result using the command line tools?

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

ID: 6c9d2be7-406b-0422-c49c-d62f972419e0
Version Independent ID: 127bdbb0-a2ce-dd7c-99b7-1ee55d691e48
Content: Publish to a folder - Visual Studio for Mac
Content Source: mac/publish-folder.md
Product: visual-studio-mac
Technology: vs-ide-general
GitHub Login: @sayedihashimi
Microsoft Alias: sayedha

FYI the links are now appearing in the live docs

#please-close


Changeset.Relation raises runtime error rather than InvalidChangesetError

Environment

Elixir version: 1.3.2:
Database and version: PostgreSQL 9.5.4
Ecto version (mix deps):2.0.2
Database adapter and version (mix deps): postgrex 0.11.2
Operating system: OS X Sierra

Current behavior
If you provide invalid joins in your Changeset for a many_to_many relation it raises a RuntimeError
Expected behavior
I would expect it to raise an Ecto.InvalidChangesetError like any other invalid Changeset. Perhaps I am missing something? Unfortunately this requires me to catch any runtime error in my processing stream rather than being able to deal with invalid data specifically.

Can you please include the full error, stacktrace and an example of the
changeset fields being set?
--
José Valim
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

The stacktrace is below. Unfortunately it doesn't dump the Changeset as it is just a RuntimeError.
The Question schema looks like this:
 schema "questions" do
    field :uuid, :string
    field :name, :string

    belongs_to :survey, WaffleEventImporter.Survey
    has_many :answers, Answer
    many_to_many :factors, WaffleEventImporter.Factor, join_through: "factors_questions"

    timestamps
  end

I took a look at the Changeset.Relation#on_replace where the below error message originates and it appears that this is intended behaviour.  I might be missing something but it seems like failing to save because of an invalid changeset should consistently raise Ecto.InvalidChangesetError and dump the changeset to assist with debugging.
 ** (RuntimeError) you are attempting to change relation :factors of
 WaffleEventImporter.Question, but there is missing data.

 If you are attempting to update an existing entry, please make sure
 you include the entry primary key (ID) alongside the data.

 If you have a relationship with many children, at least the same N
 children must be given on update. By default it is not possible to
 orphan embed nor associated records, attempting to do so results in
 this error message.

 It is possible to change this behaviour by setting `:on_replace` when
 defining the relation. See `Ecto.Changeset`'s section on related data
 for more info.

     (ecto) lib/ecto/changeset/relation.ex:193: Ecto.Changeset.Relation.on_replace/2
     (ecto) lib/ecto/changeset/relation.ex:302: Ecto.Changeset.Relation.reduce_delete_changesets/5
     (ecto) lib/ecto/changeset.ex:891: Ecto.Changeset.put_relation/5
     (waffle_event_importer) lib/waffle_event_importer/import_event/question.ex:41: WaffleEventImporter.ImportEvent.Question.update_question!/3
     (elixir) lib/enum.ex:651: Enum."-each/2-lists^foreach/1-0-"/2
     (elixir) lib/enum.ex:651: Enum.each/2
     (waffle_event_importer) lib/waffle_event_importer/import_event/question.ex:24: WaffleEventImporter.ImportEvent.Question.update!/2
     (ecto) lib/ecto/adapters/sql.ex:472: anonymous fn/3 in Ecto.Adapters.SQL.do_transaction/3

Thank you! If you check the :on_replace option mentioned in the error message, there is an optio to mark as invalid. I believe that's what you want:
  many_to_many :factors, WaffleEventImporter.Factor, join_through: "factors_questions", on_replace: :mark_as_invalid

Ah yes, that is the behaviour I was after. Thanks so much @josevalim .


Gracefully handle global promise pollution

Update QueryInterface to proxy to only standard promise methods
Update QueryInterface type to be explicit about the methods being
proxied

This primarily handles pollution of global Promise (either the type or
the global object at runtime) by other libraries.
Fixes: https://github.com/knex/knex/issues/3422#issuecomment-546930375

https://github.com/knex/knex/pull/3502/commits/e9fd66e2d2f5525bbaa6c5fe5b55a1a4bf98def1
This change broke TSLint for my TypeScript project.  Everything lints fine in 0.20.0, but with 0.20.1, I get tons of:
ERROR: (await-promise) ... Invalid 'await' of a non-Promise value.
ERROR: (no-invalid-await)  ...Refactor this redundant 'await' on a non-promise.

Trying to figure out why the tslint no-invalid-await and await-promise don't think this is a promise/thenable/etc.

Do you have "await-promise": [true, "Thenable"] in your tslint config ?

@lorefnon Yes, I've tried every variant of
"await-promise": [true, "Thenable", "PromiseLike", "Bluebird", etc...]
I've stopped in the TSLint code and the name of the type at the point where it is checked is __type.   So, this actually makes the problem go away, but seems very wrong:
"await-promise": [true, "__type"]
The other linting error (no-invalid-await) is coming from the tslint-sonarts package which is checking if the type has a then method right here:
https://github.com/SonarSource/SonarTS/blob/4a4080b78001a78d758d1d0fa0190fb9496b6f57/sonarts-core/src/rules/noInvalidAwaitRule.ts#L57
At that point in the linting code, the ChainableInterface does not have a then method, but I have no idea why.

You can make an exception with "await-promise": [true, "ChainableInterface"]

You can make an exception with "await-promise": [true, "ChainableInterface"]

@72636c - That fixes it.  Thanks.
The other issue I then have is that the tslint-sonarts linting plugin does not think the Picked type does not have a then method... which it, of course, does.


Add support to group instructions based on extensions

Make lists based on riscv extensions
Accept ISA string as cli param and profile only for those instrs
** Think about how use of other extensions can be suggested

use riscv-opcodes 's constants.isa_regex to get a list of enabled extensions. ['I', 'M', 'F', 'D', 'C']
maintain an internal instr databse, using which generate an ops_dict in run-time and use that for the instr_groups plugin (the generated ops_dict should follow the same schema as the current one in branch main)


Add unloadRecord indicator

This adds support for record.isUnloaded and record.unloadReason. These props will be set when the record has been automatically unloaded (e.g. when user lost permission to read the data).
Guides will not be updated for this feature as I believe this is something that Ember Data should provide built-in. So technically, this is a private API. Use at your own risk.

Been waiting for ember data to do this for awhile...


Incorrectly claims that the cookbook has no dependencies

The README claims "This cookbook doesn't have direct dependencies on other cookbooks, as none are needed for the default recipe or the general use cases."  However both iptables and logrotate are in the metadata as depends.  This means the cookbook can't be compiled without these.  Because of this I believe they should be listed as dependencies in the README as the cookbook is unusable without them...

This is actually an interesting point. Do we want to remove those dependencies from the metadata? We don't use actually include logrotate or iptables by default. We've got wrapper recipes if people decide to use them, but they aren't required for a 'default' setup.

I would be really nice if we could remove them.  I actually switched to using the logrotate cookbook to making using this easier (and because I liked it) but switching to the community iptables cookbook is impossible for my setup.  To use this I had to fork it and remove the depends.

@svanzoest any objections to removing those dependencies?

Originally we did not have the dependencies listed, however, that means we could not test those recipes. We need to either remove those recipes entirely or update the README to confirm the dependencies.
Having a dependency on the community cookbook is not a huge big deal as long as we do not rely on particular versions as we could get caught behind a version constraint stopping usage of the cookbook.
So, yes, I object to removing the dependency by itself. If we want to make a call saying we would also remove the funcionality, I am open to discussing that. The easiest thing to do for now would be to update the README to reflect the current state of the cookbook.

I've updated the README, but I don't want to close this issue until we decide which way to go with it.

@svanzoest I wonder if we would be better suited to let people handle firewalls/log rotation in their own wrapper cookbooks. That way they could have maximum flexibility, and we wouldn't have to worry about the dependencies just for those two recipes.

@drpebcak Let's remove apache2::iptables, apache2::god_monitor, apache2::logrotate and let people handle that in their wrapper cookbooks and remove the dependencies. We will want to update the change log to reflect that.


Audible Plugin Doesnt Work

Have tried this on both a local installation and via docker compose. it returns Error: MusicBrainz not reachable in release search with query but doesn't work or run any searches with Audible.
Running beet version returns plugins: audible, copyartifacts, edit, fromfilename, scrub web

The MusicBrainz not reachable error is an expected result, since the readme's instructinos causes Musicbrinz lookup to be disabled by setting it to a non-existent address. There is no built-in way of disabling it.
Could you run the import with the verbose or debug flag to get more info on what's going on?

There is nothing wong with the plugin. Doing the same search on Audible returns no results.


Local to server path translation fails

PHP version:   5.6.17-0+deb8u1
XDebug version:  2.2.5
Adapter version:  1.11.1
Your launch.json:
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Listen for XDebug",
            "type": "php",
            "request": "launch",
            "port": 9000,
            "localSourceRoot": "R:\\yarxidev",
            "serverSourceRoot": "/home/seva/yarxidev",
            "stopOnEntry":false
        }
    ]
}

XDebug php.ini config:
zend_extension=xdebug.so

xdebug.remote_enable=true
xdebug.remote_host=mybox
xdebug.remote_port=9000
xdebug.remote_log=/tmp/xdebug/xdebug-remote.log
xdebug.remote_autostart=1

xdebug.remote_handler=dbgp
xdebug.profiler_enable=0
xdebug.profiler_output_dir=/tmp/xdebug

XDebug logfile (from setting xdebug.remote_log in php.ini):
xdebug-remote.log

My project resides on a folder on a Debian Linux server with XDebug, and I'm trying to debug it from a Windows machine. The server-side path of the project is /home/seva/yarxidev. It's shared via SAMBA as \servername\yarxidev. It's mapped to the Y: drive on my Windows box.
When I try to debug, the breakpoints are not hit unless stopOnEntry is set to true. If I look at the Xdebug log, the path to the file that it gets is file:///home/seva/y:/admin_main.php, which is wrong.
Opening the folder via its UNC path doesn't help; in an unrelated bug, VSCode doesn't see launch.json at all, there are no launch configurations present in the list.
Mapping /home/seva as R: and opening R:\yarxidev in VSCode doesn't help, either.

So from the logs I see
<- breakpoint_set -i 9 -t line -f file:///S:%5Cartjoo%5Cindex.php -n 49

which is obviously wrong.
In your description you said you mapped it to Y:. Your launch.json uses R:. The logs use S:. What is the real value?

I have all three disks mapped to folders on that server - S, R, and Y :) The clean case of the issue is on Y:, which corresponds to /home/seva/yarxidev. That one is in the log, too. Near the bottom.

Could you give me your debug adapter log (as mentioned in the issue template)?

Even better would be a failing test case. Here's the test that should cover your case:
https://github.com/felixfbecker/vscode-php-debug/blob/ed5a99d0d4a5e6840186c21890b7027901609b2e/src/test/paths.ts#L42-L49

Where can I find the debug adapter log, please?

In the debug console after setting log to true

Started debugging, brought up the admin_main page. Got this:
<- launchResponse
Response {
  seq: 0,
  type: 'response',
  request_seq: 2,
  command: 'launch',
  success: true }
new connection 1
<- threadEvent
ThreadEvent {
  seq: 0,
  type: 'event',
  event: 'thread',
  body: { reason: 'started', threadId: 1 } }
<- initializedEvent
InitializedEvent { seq: 0, type: 'event', event: 'initialized' }
-> threadsRequest
{ command: 'threads', type: 'request', seq: 3 }
<- threadsResponse
Response {
  seq: 0,
  type: 'response',
  request_seq: 3,
  command: 'threads',
  success: true,
  body: { threads: [ Thread { id: 1, name: 'Request 1 (6:45:45 PM)' } ] } }
-> setBreakpointsRequest
{ command: 'setBreakpoints',
  arguments:
   { source: { path: 'y:\\db.php', name: 'db.php' },
     lines: [ 770 ],
     breakpoints: [ { line: 770 } ],
     sourceModified: false },
  type: 'request',
  seq: 4 }
-> setBreakpointsRequest
{ command: 'setBreakpoints',
  arguments:
   { source: { path: 'y:\\admin_main.php', name: 'admin_main.php' },
     lines: [ 5 ],
     breakpoints: [ { line: 5 } ],
     sourceModified: false },
  type: 'request',
  seq: 5 }
<- setBreakpointsResponse
Response {
  seq: 0,
  type: 'response',
  request_seq: 4,
  command: 'setBreakpoints',
  success: true,
  body: { breakpoints: [ { verified: true, line: 770 } ] } }
<- setBreakpointsResponse
Response {
  seq: 0,
  type: 'response',
  request_seq: 5,
  command: 'setBreakpoints',
  success: true,
  body: { breakpoints: [ { verified: true, line: 5 } ] } }
-> setFunctionBreakpointsRequest
{ command: 'setFunctionBreakpoints',
  arguments: { breakpoints: [] },
  type: 'request',
  seq: 6 }
<- setFunctionBreakpointsResponse
Response {
  seq: 0,
  type: 'response',
  request_seq: 6,
  command: 'setFunctionBreakpoints',
  success: true,
  body: { breakpoints: [] } }
-> setExceptionBreakpointsRequest
{ command: 'setExceptionBreakpoints',
  arguments: { filters: [ '*' ] },
  type: 'request',
  seq: 7 }
<- setExceptionBreakpointsResponse
Response {
  seq: 0,
  type: 'response',
  request_seq: 7,
  command: 'setExceptionBreakpoints',
  success: true }
-> configurationDoneRequest
{ command: 'configurationDone', type: 'request', seq: 8 }
-> threadsRequest
{ command: 'threads', type: 'request', seq: 9 }
<- threadsResponse
Response {
  seq: 0,
  type: 'response',
  request_seq: 9,
  command: 'threads',
  success: true,
  body: { threads: [ Thread { id: 1, name: 'Request 1 (6:45:45 PM)' } ] } }
<- configurationDoneResponse
Response {
  seq: 0,
  type: 'response',
  request_seq: 8,
  command: 'configurationDone',
  success: true }
<- threadEvent
ThreadEvent {
  seq: 0,
  type: 'event',
  event: 'thread',
  body: { reason: 'exited', threadId: 1 } }

That log mentions y:\admin_main.php, but that doesn't match the localSourceRoot setting in your launch.json. Could you please give me a real local file name, local and server source root and the server file name?

Shoot. Obsolete launch.json, sorry. Now it looks like this:
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Listen for XDebug",
            "type": "php",
            "request": "launch",
            "port": 9000,
            "localSourceRoot": "Y:\\",
            "serverSourceRoot": "/home/seva/yarxidev",
            "stopOnEntry":false,
            "log": true
        }
    ]
}

I'm trying to find a workaround on my end, too.

To be clear, the right server path would be /home/seva/yarxidev/admin_main.php?

Yes, /home/seva/yarxidev/admin_main.php . Both Y:\ and R:\yarxidev point at that folder.

The casing doesn't match. VS Code sends y:\admin_main.php, but you stated Y:\ as you local root.

Windows drive letters are case insensitive.

Changing the localSourceRoot to y:\ helps. Thank you!

I saw your commit. I'm afraid it will break for scenario such as mine, if the server path is a Linux one and it contains uppercase letters. Given server path setting like /home/Seva/Foo, it will return a URL like file://home/seva/foo.
And I can't imagine what happens if the client machine is Linux, too. I've never used VSCode on Linux, only read about it.

Not sure why you think that'd break. This only lowercases the drive letter

Oops, sorry, it seemed to me on the first glance that it would lowercase the whole path.


Bad Url definitions are breaking the Certificate Revocation Checks probably in many places!!!

[Enter feedback here]
I'm not sure if all but probably most of URL's are definied wrong way with *. witch is treaded like the domain prefix

*.crl3.digicert.com
HTTP/80
Used to verify certificates.

*.crl4.digicert.com
HTTP/80
Used to verify certificates.

*.ocsp.digicert.com
HTTP/80
Used to verify certificates.

*.www.d-trust.net
HTTP/80
Used to verify certificates.

*.root-c3-ca2-2009.ocsp.d-trust.net
HTTP/80
Used to verify certificates.

*.crl.microsoft.com
HTTP/80
Used to verify certificates.

*.oneocsp.microsoft.com
HTTP/80
Used to verify certificates.

*.ocsp.msocsp.com
HTTP/80
Used to verify certificates.

And from the other hand you have proper url definitions defined here->
https://docs.microsoft.com/en-us/azure/security/fundamentals/tls-certificate-changes
http://crl3.digicert.com
http://crl4.digicert.com
http://ocsp.digicert.com
http://www.d-trust.net
http://root-c3-ca2-2009.ocsp.d-trust.net
http://crl.microsoft.com
http://oneocsp.microsoft.com
http://ocsp.msocsp.com
http://www.microsoft.com/pkiops
I see this breaking the CRL and OCSP checks on e.g Paulo Alto firewalls with URL filtering following those here.
Please change it asap to prevent different organizations misconfigure the CRL process.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a86c4b02-434c-d452-b3e5-527656234319
Version Independent ID: 10efb9a1-21d9-584b-f007-843ec736c654
Content: Azure AD Connect: Troubleshoot Azure AD connectivity issues
Content Source: articles/active-directory/hybrid/tshoot-connect-connectivity.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@wmaniek123 Thanks for the feedback. We will engage the content development team for further investigation, they will verify and perform necessary changes in the document as needed.

Thank you for your issue submission. Unfortunately, this appears to be a support/consult issue. Issues in this repo are for documentation issues. You can try one of the following links for additional help.
Microsoft Support: https://support.microsoft.com/
Azure AD forums: https://social.technet.microsoft.com/Forums/en-US/home?forum=windowsazureaditpro
Stackoverflow: https://stackoverflow.com/
#please-close


Cant change map center

Issue description
Set map center. Then move map. Then set map center to same coordinates - no effect.
Steps to reproduce and a minimal demo of the problem
http://plnkr.co/edit/RfQkTH6Br1WpKMpF6Hpe?p=preview
What steps should we try in your demo to see the problem?
Move map. Push button.
Current behavior
Map center dont change.
Expected/desired behavior
Map center should change.
angular2 & angular-google-maps version
1.0.0-beta.0
Other information

use panTo

To add on @piotrmach's answer
import GoogleMapsAPIWrapper in your component, it has the panTo and setCenter methods,

Do we need to reinitialize anything? Setting it and nothing's working.
import { Component, Input } from '@angular/core';

@Component({
  selector: 'core-map',
  styleUrls: [ './map.component.scss' ],
  templateUrl: './map.component.html',
})
export class MapComponent {
  constructor(
    public gMaps: GoogleMapsAPIWrapper
  ) {}

  public markerClicked = (markerObj) => {
    this.gMaps.setCenter({ lat: markerObj.latitude, lng: markerObj.longitude });
    console.log('clicked', markerObj, { lat: markerObj.latitude, lng: markerObj.longitude });
  }
}

setCenter is a promise

+1

Can anyone make a plunker and use the setCenter method because I couldn't figure out how to, or maybe it's not working

@piotrmach What are we supposed to do in the promise? Looks like it returns an arbitrary value or reason in the promise. The issue is setCenter/panTo is not even being triggered/returning anything.

for me it worked, the thing is GoogleMapsAPIWrapper has to used in a component that is inside main map tag

Is it possible to reference GMapsWrapper from the default component? Or does it have to be a child component of <agm-map>?

@akafaneh I've it working for both panTo and setCenter methods thanks to @piotrmach.
Here's my code: https://stackoverflow.com/questions/44315771/setcenter-not-working-in-angular2-google-maps/44333134#44333134

Is it possible to reference GMapsWrapper from the default component? Or does it have to be a child component of <agm-map>?

you can use (mapReady)='loadAPIWrapper($event)' as input function of  <agm-map> and
intercept  the event in component like
loadAPIWrapper(map) {
this.__MAP = map;
}

All of these answers are wrong. The reason that mapCenter doesn't update when setting to same coordinates, is because of angular's change detection, which ignores any parameters sets when there are no changes.

Let's say you set latlng to 30,30
Then you pan to 25,25, angular doesn't know that the map panned, and as far as angular is concerned, it's still at 30,30.
So when you set location back to 30,30, angular compares it to "previous" value, which it thinks was 30, 30, and does nothing.

The way to solve this is the following:
updateCenter() {
 this.lat = 0;
 this.lng = 0;
 this.changeDetector.detectChanges();
 this.lat = <desired value>;
 this.lng = <desired value>;
}

i think i find a solution,but i want to add a smooth transition on it
heres my code
<agm-map
(mapReady)="mapReady($event)"
....
map;
mapReady(map) {
this.map=map;
}
findMe() {
    this.map.setCenter({ lat: this.initLat, lng: this.initLng });

}

i think i find a solution,but i want to add a smooth transition on it
heres my code
<agm-map
(mapReady)="mapReady($event)"
....
map;
mapReady(map) {
this.map=map;
}
findMe() {
    this.map.setCenter({ lat: this.initLat, lng: this.initLng });

}

All of these answers are wrong. The reason that mapCenter doesn't update when setting to same coordinates, is because of angular's change detection, which ignores any parameters sets when there are no changes.

Let's say you set latlng to 30,30
Then you pan to 25,25, angular doesn't know that the map panned, and as far as angular is concerned, it's still at 30,30.
So when you set location back to 30,30, angular compares it to "previous" value, which it thinks was 30, 30, and does nothing.

The way to solve this is the following:
updateCenter() {
 this.lat = 0;
 this.lng = 0;
 this.changeDetector.detectChanges();
 this.lat = <desired value>;
 this.lng = <desired value>;
}

Thnaks buddy after 4 hours of try this answer worked for me


AliasDb::find() can't search against seq_id column

Describe the bug
The find() method doesn't use the Query seqid property to search against the seq_id column, but rather, looks it up as an alias.
To Reproduce
A Query object like the below won't return any alias records:
    let sr = SeqRepo::new("/usr/local/share/seqrepo", "latest").unwrap();
    let alias_db = sr.alias_db();
    let query = Query{
        namespace: Some(Namespace::new("%")),
        alias: Some("%".to_string()),
        seqid: Some("yVj-SzT0jvX2CBlpieemKnZe9FTd1zQl".to_string()),
        current_only: false,
    };
    let _ = alias_db.find(&query, |record| {
        println!("{:?}", record.unwrap());
    });

The following, however, will work -- because alias entries prefix GA4GH IDs with GS_:
    let sr = SeqRepo::new("/usr/local/share/seqrepo", "latest").unwrap();
    let alias_db = sr.alias_db();
    let query = Query{
        namespace: Some(Namespace::new("%")),
        alias: Some("%".to_string()),
        seqid: Some("GS_yVj-SzT0jvX2CBlpieemKnZe9FTd1zQl".to_string()),
        current_only: false,
    };
    let _ = alias_db.find(&query, |record| {
        println!("{:?}", record.unwrap());
    });

Expected behavior
The above snippet should print this record when the givenseqid arg is "yVj-SzT0jvX2CBlpieemKnZe9FTd1zQl":
AliasDbRecord { seqalias_id: 9349420, seqid: "yVj-SzT0jvX2CBlpieemKnZe9FTd1zQl", alias: "GS_yVj-SzT0jvX2CBlpieemKnZe9FTd1zQl", added: 2017-07-19T03:33:58, is_current: true, namespace: Namespace { value: "VMC" } }

Additional context
I'm guessing this was just a typo?

Thanks for the report. Yes, this was a typo when porting this over.
Original location in biocommons.seqrepo
https://github.com/biocommons/biocommons.seqrepo/blob/c4db93b7873866cb3fd9f1878522fe36d114b281/src/biocommons/seqrepo/seqaliasdb/seqaliasdb.py#L135


2 - implicit/explicit declaration of fields in mapping

Fields that have the exact same name in the API results and in Geotrek models are explicitely declared for now, in env.py:
"attachments" : {
        "author" : "author",
        "title" : "title",
        "legend" : "legend",
        "uuid" : "uuid",
    },

Implicit mapping would imply that if an API field has the same name than a model field, thus the API field value should be assigned to the model field. It could ease the code maintenance and automatically adapt to the creation of new fields in further Geotrek-admin/API v2 versions.
This functioning should be explained in code comments.

Selected solution: explicit mapping with a last elif condition allowing implicit mapping.


Call getCanonicalPath instead of getAbsolutePath

Allows us to relativize when basePath is provided as a relative path (see this test)

Hi there, do you have any feedback for me regarding the closing of this PR?

I don't recall closing this PR manually. Maybe it's because I deleted the master branch?
Could you reopen against 1.0 please?

Ok done.


Test framework update

Major cleanup of the simulator test cases. This includes avoiding globals in the tests, which allows multi-threaded tests as long as we protect the actual invocation of boot_go with a mutex.
The tests can now be run with cargo test. The test executable is still present, but the executable may become something different at some point.

Looks good to me, but I think the bootsim readme should be updated to match the travis changes.


Documentation Issue Type

Describe your idea
I have a documentation issue to report - it's not an enhancement, or an iOS or Android bug.
Please can we have an issue type for generic documentation?

Great idea. I will add another issue type.

Rethinking about this, it's pretty rare to have a documentation bug (for example, broken link), and in most cases it's quite easy to open a PR to fix it (this case was a bit unique). The "enhancement" issue type can fit most issues related to documentation..
Maybe any of you guys have a different opinion @wix/detox-team?

Yes, docs belong to enhancement type.

I was proposing to Asaf that we would have the option of a "bug report - other" template, seeing that the limitation to iOS/Android is a bit simplistic to my taste. WDYT?

Resolved here: https://github.com/wix/Detox/pull/3327.
Thanks @ball-hayden


No log has been saved

I ran this programme on our university's GPU server, which has Ubuntu on it. In the log folder there is only a folder, whose name is in the form of "2GU49Z~4", and it is zero KB. I tried add  -o ctrl_cfg.log_cfg.save_all_models True -o ctrl_cfg.log_cfg.log_traj_preds True -o ctrl_cfg.log_cfg.log_particles True at the end, but there is still no difference.

Have you tried setting the log directory explicitly, and is it creating a folder inside that directory (name format should be date:time)? Could you provide the command that you're using to run the experiment?

Yes, I have tried using -logdir fog to explicitly setting the directory.
This problem has been solved. It might be because that macOS doesn't allow colon in the folder name, so the name 2018-11-06--23:06:08 appears as 2GMGKE~B when I access the files through Finder. (But I don't know why the folder size also appears as Zero KB in Finder). When I use ll command in iTerm, the folder name and its content can be successfully displayed and I can plot the returns during iterations using logs.mat.
By the way, I think on the line 16 of plotter.ipynb, the code should be if data["returns"].shape[1] >= min_num_trials: instead of if data["returns"].shape[0] >= min_num_trials:. There might be a small typo in your original code ; )


How to extend a class, type or interface in an existing flowtype definition file

I'm currently using a jQuery flow definition file (https://github.com/marudor/flowInterfaces) and it seems to works great. I would now also need to add definitions for some jQuery plugins and I cannot see how to extend the existing definition with other plugins sharing the jQuery namespace?
More generally asked. If I for example have an existing flowtype definition file like this:
declare class JQueryStatic {
   ajax(url: string, settings?: any): any;
   /* ... */
}
declare var jQuery: JQueryStatic;
declare var $: JQueryStatic;

How can for example add a new function (ajaxsetup(settings: any);) to this class without changing the existing definition file?
I would have hoped, that something like:
declare class JQueryStatic extends JQueryStatic {
   ajaxsetup(settings: any);
}

would work, but do not find anything like this and flow shows the error JQueryStatic name is already bound.
What is the proper way for extending a class, module or type definition in an external flowtype definition file?

Looks like a duplicate of #396 .

@hon2a Thanks!


configuration in event drop to set chart a line chart type rather than a bubble chart

Hi Sir,
I want to ask is there any configuration in event drop to set chart a line chart rather than a bubble .And where is API documentation for it?

Hi,
This is currently not supported, but is a popular demand. It will probably implemented in the future. Feel free to send a PR if you get some time available to work on it. :)
See: https://github.com/marmelab/EventDrops/issues/138

ok thanks.


[Question] Are the libraries from the StaticHTMLCompositeSample available on NPM?

If I have an existing web app that isn't a reat-app to begin with, and I want to implement calling, I already have to install the react components for this work.
If I understand the docs correctly, I also must now work with yet another package manager, Rush.  Or is there an npm package that I can add to packages for the necessary components?

Hi @leijae! Our package is available to use here from npm: https://www.npmjs.com/package/@azure/communication-react.
For more information check out our storybook documentation here: https://azure.github.io/communication-ui-library/?path=/story/quickstarts-composites--page

yea there's just a ton of moving parts and I'm getting dizzy... I'd love to see a: Add ACS Calling to an existing MVC app (sans-react)...  haha
thanks for the info @JamesBurnside


Unable to resolve links in trigger inserting an inherited type

EdgeDB Version: 3.0-dev.7484+d93f47f
EdgeDB CLI Version: EdgeDB CLI 3.0.0-dev.982+9a1586d
OS Version: macOS 13.3.1 (22E261)

Steps to Reproduce:

Run edgedb watch. The following also does not work when running edgedb migration create.

⠤ calculating diff
error: object type 'default::PostCommentedNotification' has no link or property 'post'
    ┌─ /Users/dew/packages/edgedb/dbschema/default.esdl:141:55
    │
141 │       trigger new_notification after insert for each do (
    │ ╭───────────────────────────────────────────────────────^
142 │ │       insert PostCommentedNotification {
143 │ │         account := __new__.post.author,
144 │ │         post := __new__.post,
145 │ │         comment := __new__,
146 │ │       }
147 │ │     );
    │ ╰─────^ error

Schema migration error: cannot proceed until .esdl files are fixed

Schema:
  type Account {
    required property name -> str {
      default := "";
    };
  }

  abstract type Submission {
    required property content -> str;
  }

  type Post extending Submission {
    multi link comments := .<post[is Comment];
    property numComments := count(.comments);
  }

  type Comment extending Submission {
    required link post -> Post {
      on target delete allow;
    };

    trigger new_notification after insert for each do (
      insert PostCommentedNotification {
        account := __new__.post.author,
        post := __new__.post,
        comment := __new__,
      }
    );
  }

  abstract type Notification {
    required link account -> Account {
      on target delete delete source;
    };
    required property read -> bool {
      default := false;
    };
  }

  type PostCommentedNotification extending Notification {
    required link post -> Post {
      on target delete delete source;
    };
    required link comment -> Comment {
      on target delete delete source;
    };
  }

same here!

Okay turns out for mine it needs the Log type to come before where you use it in the schema. Looks like a bug with the compiler


incorrectly displays conv2d_transpose in tensorflow pb model

Can you share a repro (model file) and expected/actual?

this was my mistake. works great. thanks.


Conditional fields

Hi!
An amazing plugin you guys have build!
I have a question about conditional fields, this thread is not clear for me how to use the attribute cf-conditional for the form (provided links of the thread are broken). Are you able to provide a HTML example how I can add this in CF7?
On a sidenote, CF7 has a Conditional Fields add on plugin, it works for the regular CF7 forms, but it doesn't collaborate 100% with Conditional Forms.
Thanks in advance!
Demian

@demian1985 thank you, we really appreciate your feedback. Have you checked out this section of the documentation pages?
The conditional plugin for CF7 is specific for CF7 and will not work with Conversational Form. So if you want to do conditionals in Conversational Form you must look at the docs above.
Let me know if you have additional questions.

@jenssogaard Thank you! That link was broken in the original thread.

@demian1985 you are welcome. I'll close this issue for now. Feel free to reopen if needed.


🛑⚠ Abandoned Project ⚠ ?

Last release was in Apr 2021.

closed as non-constructive

@paulcollett the reason why I asked is because there didn't seem to be any new commits or any activity including responding to issues.
It's weird you have chosen to respond to this one by closing it but didn't give any constructive feedback about the future of the project. We're still left wondering whether this project will be resumed for maintenance or left abandoned. 😂


Define constants for update rate and other settings

Closed as e4beffe does the job.
More constants and config variables can be added later if needed.


Gen Workflow Utilities

Functions can accept and use $. No need to bake in any concept of a Workflow. Out of scope.


Firefox, Safari, all versions of IE: "Copy" button in share modal does not do anything

The cursor pointer also does not appear (even though it does in other browsers). Makes me think the browser doesn't want to recognize it as a valid clickable.

Testing on zeroclipboard.org on browsers shows Flash is auto-disabled which breaks clippy.


Can't build Arch ISO

Hi all,
When I try to make an Arch ISO with $ FEATURES=ISO,KEYMAP bash setup.sh cli arch
It almost immediately stops when trying to write to an ISO or a USB.
Although it seems slow, consider this process like flashing an ISO to a USB Drive.
Below is an innacurate indicator of mB left to write. It may decrease hundreds of megabytes in seconds.
490.65MB

cp: cannot stat '/mnt/usr/share/X11/xkb/symbols/pc': No such file or directory
[denisuu@N580GD breath]$

I tried building it from Ubuntu & Manjaro, tried on my laptop from Breath and from a VM on my main Windows machine.
Always the same result.

#200

Oops my bad, I'll close this one.


Multi-Machine Parallel Builds (fan-in, fan-out)

I'm currently running Drone 0.5 on Kubernetes for our company. I read about the Matrix feature, but what I haven't found yet is if there's a fanout/fanin kind of system in place.
Say I want to do this during a run:

build binary on one worker
fanout to five workers, running tests with that binary
fanin to one worker to deploy / notify / ...

There are other use-cases here that we'd love to use – mostly involving speeding up test runs through parallelisation – all depending on a fanout/in system.
Is this possible, or is there an issue tracking a use-case like this?

We have a specification for single-machine fan-in / fan-out at https://github.com/drone/drone/issues/1356
With single-machine fan-in / fan-out perhaps you could scale vertically? For example you could provision a Google Computes n1-highmem-32 (32 virtual CPUs and 208 GB of memory) for single-machine parallelism. I'm sure this could yield some nice performance improvements.
There are two challenges with multi-machine fan-in / fan-out support. First is that drone expects a shared workspace (volume) across all steps in the build process. The second challenge is granularity of scheduling. Builds are scheduled per-machine as opposed to scheduling steps per-machine.
Perhaps a good workaround would be to create a custom plugin that handles the fan-in / fan-out to multiple machines. The plugin could (for example) use the docker remote API to launch tests across multiple machines and aggregate their results ...

Interesting.
To be honest, within our company we are moving everything on top of Kubernetes right now. Within Kubernetes, we heavily rely on multiple machines with semi-high specs, but not the kind of specs you are talking about. Instead, we horizontally scale nodes when needed (and will soon auto-scale horizontally).
Currently, we have a 4-node drone instance running:
$ kubectl get pod --namespace=drone
NAME                      READY     STATUS    RESTARTS   AGE
agent-47ont               1/1       Running   0          1d
agent-9ha8c               1/1       Running   0          1d
agent-rfejq               1/1       Running   0          1d
agent-tyo78               1/1       Running   0          1d
server-1499183458-7suy4   1/1       Running   0          1d

which would unfortunately not work with the single-machine solution.
I can see the challenges here, and am not providing any solutions at this point in time, but hopefully our usecase gives you some insight in how customers are using your product, and why it might make sense (imprinting our use-case to all of your customers right now, sorry) to not focus too heavily on single-machine setups, given how we're seeing a lot of partners/teams slowly moving up the stack from Docker to Kubernetes.

To be honest, within our company we are moving everything on top of Kubernetes right now. Within Kubernetes, we heavily rely on multiple machines with semi-high specs, but not the kind of specs you are talking about. Instead, we horizontally scale nodes when needed (and will soon auto-scale horizontally).

couldn't you have a set of reserved machines for your CI process? You could put drone agent on a subset of machines (0.5 supports agents which is much more k8s friendly) and you could designate those machines accordingly.

which would unfortunately not work with the single-machine solution.

just to clarify, I'm not proposing only using 1 machine for drone. You can use many (hundreds) of machines with drone, but a build can only be executed on a single host. You could fan-out the build steps on that single host for parallelism, as described in #1356

and why it might make sense (imprinting our use-case to all of your customers right now, sorry) to not focus too heavily on single-machine setups

see note above :)

but hopefully our usecase gives you some insight in how customers are using your product

side note, I'm not sure "customers" is the appropriate term here, since nobody pays me :)

0.5 supports agents which is much more k8s friendly

Yes, the above output is running 0.5 which works flawlessly on Kubernetes.
One of the reasons by the way why I created https://github.com/drone/drone/issues/1815 was that Drone takes direct control of the Docker daemon, which circumvents scheduling and resource rules set in place by Kubernetes, which makes it dangerous to run Drone on the "main" cluster. For now, I've set up a smaller side-cluster, to cope with this.

couldn't you have a set of reserved machines for your CI process

We can indeed. We can create "node-pools", and assign drone agents to pools with specific labels (like high-mem,high-cpu).

I'm not proposing only using 1 machine for drone. You can use many (hundreds) of machines with drone, but a build can only be executed on a single host. You could fan-out the build steps on that single host for parallelism

Ah, that clarifies a lot. I guess when you want to go extreme, parallelising across machines makes sense, but for a matrix of 5 to 10 jobs, having those be confined to a single machine is perfectly feasible, especially if other runs can then do the same on other machines within the cluster.
That sounds really good. I'll go subscribe to that issue and follow it along 😄

I'm not sure "customers" is the appropriate term here, since nobody pays me

Yeah, sorry, didn't mean to put it like that. Although I'm sure you have some kind of monetization strategy in mind, right? Such an awesome tool, so much commitment (I've been following along on and off since 0.2), I hope it pays off for you in the end 👍

I already suggested to write a custom agent that uses the k8s api instead of the docker api. That should be pretty neat.

as a data point, we are currently leaving drone for lack of this feature.

@JeanMertz i curious about which setup you're using to run drone-agent on Kubernetes. Are you using sibling containers or DinD setup?

implemented in 1.0.0-rc.1
https://readme.drone.io/config/pipeline/multi-machine/


add function to remove callback from oauth redirect server

Codecov Report

Merging #39 into master will decrease coverage by 0.21%.
The diff coverage is 40%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
- Coverage   66.88%   66.66%   -0.22%
==========================================
  Files          26       26
  Lines         607      609       +2
==========================================
  Hits          406      406
- Misses        158      160       +2
  Partials       43       43

Impacted Files
Coverage Δ

security/oauth/redirect/server.go
58.75% <40%> (-1.51%)
: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 6c01409...790ca6d. Read the comment docs.


hamming: make test names consistent [Fix #304]

*Remove mention of "complete"
*Fix spelling mistake in second test
*Add throws Exception to methods that throw exceptions

Thank you too @FridaTveit, your comment about exceptions was very usefull!


Maybe add an Open and Close feature

Hi, I have been using your current interface to help me automate things in my home.  I am very happy with it.  I have it running on a Raspberry Pi II, and it works great.  I wrote some code (REST APIs) to interface with my swimming pool via RS485 last year, and I was able to interface Alexa with it thanks to your NodeRed interface.
Today, I was automating my garage door, someone posted a NodeRed flow for MyQ that worked well. (from here: https://flows.nodered.org/flow/83f263d6f5f23e53e2aed85b96aadb3e ).  However, I wanted to interface with Alexa and I was successful.  However, I did not have an Open or Close ability/command.  So created the Garage Door device as an On/Off switch.  Then I mapped On to Open, and Off to Close.  This works, but is not intuitive.  I have to say 'Garage Door On' to open and 'Garage Door Off' to Close
Adding a Open/Close would allow not only Garage doors, but probably any automated door or window.
What do you think?  Is it a valid idea?

I ran across the same issue, and used alexa routines to fix the wording by creating a routine based on my natural wording.  It works really well, but I ended up with 8 different routines, based on my wording.

On Dec 1, 2018, at 9:46 PM, dinogregorich<EMAIL_ADDRESS>wrote:
Hi, I have been using your current interface to help me automate things in my home. I am very happy with it. I have it running on a Raspberry Pi II, and it works great. I wrote some code (REST APIs) to interface with my swimming pool via RS485 last year, and I was able to interface Alexa with it thanks to your NodeRed interface.
Today, I was automating my garage door, someone posted a NodeRed flow for MyQ that worked well. (from here: https://flows.nodered.org/flow/83f263d6f5f23e53e2aed85b96aadb3e https://flows.nodered.org/flow/83f263d6f5f23e53e2aed85b96aadb3e ). However, I wanted to interface with Alexa and I was successful. However, I did not have an Open or Close ability/command. So created the Garage Door device as an On/Off switch. Then I mapped On to Open, and Off to Close. This works, but is not intuitive. I have to say 'Garage Door On' to open and 'Garage Door Off' to Close
Adding a Open/Close would allow not only Garage doors, but probably any automated door or window.
What do you think? Is it a valid idea?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/hardillb/node-red-alexa-home-skill-web/issues/70, or mute the thread https://github.com/notifications/unsubscribe-auth/AS5CmNfUCSa4Ha8T1S1yA1JQgIqP-lVEks5u0z8agaJpZM4Y9NNc.

Thanks for the suggestion NorthernMan54.  I added 2 routines "open the garage door" and "close the garage door", they worked perfectly! That's good enough for me.


Can't get the phone shake to work to work in Flutter

I have created the following flutter program with the following dependencies.
  logger_flutter: ^0.7.0+2
  logger: ^0.7.0+2

When I run it locally on an emulator the logs are displayed in my console.  I have tried to do the phone shake on the emulator but I wasn't sure if the emulator was actually doing a shake.  I then installed the app on my phone using flutter install.  It seemed to work once, I don't think the code change much if at all, but now I can't get the phone shake to work again.  Any ideas?  I have similar code on another app and it didn't work there either.
void main() {
  Logger.level = Level.verbose;
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  Widget build(BuildContext context) {
    Logger().i("app starting");
    return MaterialApp(
      title: 'Flutter Demo',
      home: LogConsoleOnShake(
          child: Scaffold(body: SafeArea(child: Text("logging example3")))),
    );
  }
}

To shake your emulator, you need to open the emulator menu, and select Virtual Sensors. Shake the phone on that screen and it should work fine.

Please report back if @clicksrv suggestion did not work. For now I'm closing the issue.


feat: collapse for code

Description

Linked Issues
https://github.com/YunYouJun/valaxy/issues/262

Copilot Descriptions
copilot:all

Hey, it seems cool.
Can you add an example page in docs/pages/examples/xxx.md?
I wish we could preview it directly.

Hey, it seems cool.
Can you add an example page in docs/pages/examples/xxx.md?
I wish we could preview it directly.

Oh, sorry. I forgot to add an example. Additionally, I have not implemented frontmatter configuration, and I may complete it tomorrow.

This is the sample page, and the css is  simple.

Thanks for your contribution!
I fix dark mode & add some test/docs in https://github.com/YunYouJun/valaxy/commit/3d9831ef95ceda37ad3f08fff3287e9538c518f9.

close #262


<EMAIL_ADDRESS>Support

How to setup in<EMAIL_ADDRESS>

Hi @hamiarcher,
<EMAIL_ADDRESS>is using angular@rc5, ng2-bootstrap is not compatible yet but it's on its way. See PR
Anyway to setup ng2-bootstrap you just need to install it with npm.

If you use the latest versions of angular-cli@webpack and ng2-bootstrap everything works fine. I've just checked this. Create a new project and just npm install ng2-bootstrap, then you can use it in the application.


Can't push release over balenaCloud as dnscrypt-proxy image doesn't exist

The problem
Following balenaCloud pihole tutorial, I got stuck at "3. Deploy the software > 3. Pushing the project code to your Raspberry Pi".
The error is:
[Error] An error occured: (HTTP code 404) no such image - no such image: klutchell/dnscrypt-proxy:arm32v7-2.0.27: No such image: klutchell/dnscrypt-proxy:arm32v7-2.0.27

The solution
Change balena-pihole/docker-compose.yml (line 23):
image: klutchell/dnscrypt-proxy:arm32v7-2.0.27 -> image: klutchell/dnscrypt-proxy
Change balena-pihole/pihole/Dockerfile (line 14):
FROM pihole/pihole:4.3.2-1_armhf -> FROM pihole/pihole
Device configuration
Host OS Version: balenaOS 2.38.0+rev1 production
Supervisor Version: 9.15.7
Type: Raspberry Pi 3 (using 64bit OS) (BETA)

I pushed a fix that resolves the missing image error. Let me know if this works for you!

Thank you, just pushed the release and it works fine!


Remove redundant get file status call in fuse.open()

What changes are proposed in this pull request?
Remove extra get status call in fuse.open()
Why are the changes needed?
Reduce one unneeded get metadata call
Does this PR introduce any user facing changes?
NA

@ssz1997 PTAL, thanks!

Error: 3.952 [ERROR] alluxio.fuse.AlluxioJniFuseFileSystemTest.read
Error: 3.952 [ERROR]   Run 1: AlluxioJniFuseFileSystemTest.read:450 Source and dst data should be equal: arrays first differed at element [1]; expected:<1> but was:<0>
Error: 3.953 [ERROR]   Run 2: AlluxioJniFuseFileSystemTest.read:450 Source and dst data should be equal: arrays first differed at element [1]; expected:<1> but was:<0>

alluxio-bot, merge this please


⚠ Minecraft has degraded performance

In 8fcdeb2, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1334 ms

Resolved: Minecraft performance has improved in 82389bf.


Clean up empty directories left over from removing packages

Right now, we just leave them dangling.

Duplicate of #40.


Check dm02

Confirm that dm02 works on computer and gives expected output.

Checked and did not find any issues. I suggest  we test that the code can handle empty and multiple country/panel/wave, but it's low priority.

Cool currently it filters if the SPSS file is missing. Probably should add some checks in to say wave or panel or country is missing.
or do you mean for the function? If so then I can add some code for that as have already written it.

@wongkerry  Could you can recheck this file. I've added the change to ID variable here as it's an important variable like the country, panel, and wave. I'm changing it from running 1-10000 to each panel starting from 10,000. Might need to take a look at this and determine whether the new data will come in a different format and do different number for each country.
the second bit is more involved and perhaps should be moved out to be a function. The parent questions use different variables names such as qp54 instead of q54. We have to identify the children, change the names of the columns and then combine it back with the adult data.

Reviewed by @wongkerry


update benchmarks

contra.emitter -> contra/emitter
use npm tag 'latest' (* won't work with fastemitter see npm/npm#8711)
truncate Hz value to 2 decimal points

Thank you.

Just out of curiosity, did you run the benchmarks with io.js?

yes.
➜  citadel git:(gh-pages) ✗ iojs -v
v2.3.3


normal() should return a number, not a string

Small change to ensure the normal() function declares that it returns a number and not a string.

@mikemorton Thanks mate!


bug: accessing pages with an invalid #access_token hash param logs error but won't throw

Bug report
Describe the bug
As per title, accessing a page with an invalid #access_token will result in GoTrueClient failing to initialize the user sessions, but the error is only logged internally and there is no way for the client to handle this error. For an example, in my application, I would like to redirect the user to a error page and log it to Sentry, given that I know that the user with #access_token param expects to have a session associated to it.
Here it is where the error gets caught and where the "log-and-go" happens.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Minimal reproducible example lives here

run supabase stack locally supabase start
serve the POC file and open it in the browser
visit the link including #access_token=test in the url, e.g. http://localhost:3000/#access_token=test
check the browser logs for the error Error getting session from URL. Error: No expires_in detected. but won't bubble it.

Expected behavior
I would like to be able to handle that error by taking action upon it, so I would expect it to get bubbled up.

@naripok with supbase v2 release candidate (rc branch) you can catch that error and handle it. I amended your POC.
Does that fix your issue?
 <html>
  <head>
    <meta charset="utf-8">
    <title>Supabase token bug POC</title>
    <script src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@rc"></script>
    <script>
      (async () => {
        const { createClient } = supabase
        const client = createClient(
          'http://localhost:54321',
          'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs'
        );

        const { error } = await client.auth.initialize();

        if (error) {
          console.error('Got error', error);
        } else {
          const { data: { user }, error } = await client.auth.getUser();
          console.log(user, error);
        }
      })();
    </script>
</html>

Hey @pixtron!
Thanks for the replies and sorry for the delay.
Yea, it looks like it would solve the issue. The work around looks good too.
I'll try and test it when I get the chance and let you know of any problems.
Again, thank you very much! =D

@naripok the workaround, will only work in v1, it won't work anymore in v2.

@pixtron It will work, the method is still there. https://supabase.github.io/gotrue-js/v2/classes/GoTrueClient.html#initialize


UI: reset filters when changing query string

When changing query string, some filters should be reset, which one?
For example, if I am in page 300, and I change query string, I should start again from page 1.
solution
When changing query string and hitting search:

if query string empty sort by/order put to default
pagination back to 1

What should stay:

aggregations
results per page
sort by/order if query string not empty

Implemented.


Fix outdated package name String

For me this fixes the issues which seem to have arisen for Android users with versions 1.3 and 1.4.
https://github.com/crittercism/dexmaker/issues/20 & various comments on other issues
Thanks to the wonders of jitpack.io you can try this out by adding this to your build script:
repositories {
    maven { url "https://jitpack.io" }
}

dependencies {
    androidTestCompile 'com.github.vaughandroid:dexmaker:v1.5-SNAPSHOT'
}

@dshirley please merge

Per the comments in #20, this isn't needed. Including the dexmaker-dx dependency should fix the issues that this was addressing.


KAFKA-8107:Flaky Test kafka.api.ClientIdQuotaTest.testQuotaOverrideDe…

…lete
https://issues.apache.org/jira/browse/KAFKA-8107
removeQuotaOverrides should await some time to ensure entity cnofig takes effect in ZooKeeper.
More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.
Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

retest this please.

@abbccdda Thanks for the response. I did a local test with 100 runs in a row and got no failure.

retest this please.

retest this please.

This one has been fixed by https://github.com/apache/kafka/pull/8394. We can close this one.

Closing as this has been fixed by https://github.com/apache/kafka/pull/8394.


[FAQ] sample rails app with telegram-bot-ruby

Hi,
I would like to know how to use this gem with Rails app ?
If there is a sample app, please provide its source code url.
Thanks.

Hi, it look's like:
require 'telegram/bot'
class YourClass
  Telegram::Bot::Api.new(your_token).send_message(chat_id: your_chat_id, text: your_text)
end

do not forgot gem 'telegram-bot-ruby' in your bundle

Take a look at #19

@kirantpatil One could also maybe consider to put the code in an initializer, which seems to work.

@kirantpatil Something like
class TelegramController < ApplicationController
  before_action :auth
  skip_before_action :verify_authenticity_token

  def webhook
    update = Telegram::Bot::Types::Update.new(params.permit!.to_h)
    message = update.message
    # do something
  end

  private

  def client
    @client ||= Telegram::Bot::Api.new(Rails.application.credentials.telegram[:bot_token])
  end

  def auth
    Raise "Unauthorized" unless params.require(:webhook_token) == Rails.application.credentials.telegram[:webhook_token]
  end
end


Make Firestore's required CI skippable

Description
Firestore has a required check that sometimes isn't relevant to the PR's content. It'd be nice to have the option where the contributor can skip this check.
See conversations in #11994, #11995
API Proposal
No response
Firebase Product(s)
Firestore

Closing, since those who need to skip, can do so with GitHub Admin privileges.


Documentation does not clearly cover the Power BI licensing for Email subscription

[Enter feedback here]
Can a user with Power BI Pro/PPU license set up an email subscription for free users in the organization, in a scenario when the Premium per capacity is not available? Will the free users receive emails in this scenario?
I referred the documentation _**https://learn.microsoft.com/en-us/power-bi/collaborate-share/end-user-subscribe?tabs=creator**_ but did not get much clarity on the topic.

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

ID: 2caf5705-b9c8-3818-4524-3c4bf9b112a2
Version Independent ID: 98ede3b9-f4f6-88a6-83fc-6afab863bf4a
Content: Email subscriptions for reports and dashboards in the Power BI service - Power BI
Content Source: powerbi-docs/collaborate-share/end-user-subscribe.md
Service: powerbi
Sub-service: pbi-explore
GitHub Login: @mihart
Microsoft Alias: mihart

Thanks for your comment, @kushaldugar. This issue has been assigned to the doc author for review.

Thanks for posting – note that we can only answer feedback related to the documentation, and can’t provide direct support or respond to feature requests.
Your best venue for getting an answer or feedback on your question is from the community (https://community.powerbi.com) or from support at https://support.powerbi.com. You can also provide feedback using the Give Product Feedback button at the bottom of the article page.


Support for macOS Apple Silicon

Currently this is building x64 and arm64 electron apps.
We could make DMGs of each and have end users select their platform.
Fixes
Issue Number: https://github.com/lbryio/lbry-desktop/issues/7338
What is the current behavior?
Only x64 builds for macOS
What is the new behavior?
x64 & arm64 builds for macOS
Other information
PR Checklist

Toggle...
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting)
[ ] Refactoring (no functional changes)
[ ] Documentation changes
[ ] Other - Please describe:

Please check all that apply to this PR using "x":

[x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
[x] I added a line describing my change to CHANGELOG.md
[x] I have checked that this PR does not introduce a breaking change
[ ] This PR introduces breaking changes and I have provided a detailed explanation below

"electron-updater": "^4.2.4", needs to be 4.3.7, some threads say.

Todo:

get lbrynet built as universal binary ( https://github.com/lbryio/lbry-sdk/pull/3516 )
fix DMG filesystem if built on x64 so that it's APFS (macOS on M1 thinks HFS+ is "corrupted")

Cool. I'm going to create my own branch of this and PR it so that CI will run.
I'm not terribly satisfied with our ability to test updates yet, but we'll see. I think we have to change 'rc' to 'alpha' in our versions and use a flag that allows using prereleases.

@jessopb If you want I can add you to my fork as a contributor so you can push any changes there

I thikn if I push it, CI will run with the appropriate secrets? I'm not sure why it failed last time.

Quick note for building universal app:
import { makeUniversalApp } from '@electron/universal';

await makeUniversalApp({
  x64AppPath: 'dist/electron/mac/LBRY.app',
  arm64AppPath: 'dist/electron/mac-arm64/LBRY.app',
  outAppPath: 'dist/electron/mac-universal/LBRY.app',
});

I think what I'm going to do is add a settings feature that allows people to enable prerelease autoupdates. We'll release that when we get this CSC thing ironed out for windows, then we'll do this as a prerelease that can be e2e tested.

@jessopb any chance you could nudge somebody on the team to take a look at this https://github.com/lbryio/lbry-sdk/pull/3516 ?

Yep, done. There was mention of it this morning at meeting.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_8a6e8773-621f-43c7-8e34-b4a384d9d5ac/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_8a6e8773-621f-43c7-8e34-b4a384d9d5ac.git

Docs Build status updates of commit 5bbe06f:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-ServiceAccountCannotAccessRepository] Your repository https://github.com/VSC-Service-Account/docs-archive-test-source has enabled Docs Build service account. It seems that at least one of the accounts, e2ebd3, does not have Read permission to the repo. Please ask your repo admin to grant correct permission to service accounts (refer to this document: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master#ops-e2e-ppe) and then retry the build. Don't know who to contact? Refer https://repos.opensource.microsoft.com/VSC-Service-Account/repos/docs-archive-test-source/permissions/ to get admin list of the repo if the repo is in one of the organizations Microsoft owns.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


feat: add more utils and options for component testing as well

This fixes a bunch of issues with tests not running, we now use very similar code to the mount component of @cypress/react package.

no breaking changes? so we can still do this?
createCypressMachine({
  states: {
    foo: {
      meta: {
        test: () => cy....
      }
    }
  }
})

Yes, that method hasn't changed, all the util functions make doing this easier is all.

@daniellizik Please re-review. Realised I needed to update types as well as with the new way of calling tests we don't need a return value from the test/exec functions so it's changed to any as we don't use it. Also non-breaking as current code doesn't need to be changed.

:rocket: PR was released in v1.4.0 :rocket:


Linking workflows in the tutorial table

Hejhej,
I added GalaxyP workflows for my tutorials (e.g. https://github.com/galaxyproject/training-material/tree/master/Proteomics/workflows/database-handling). Now I wonder how to link those at the central Readme (https://github.com/galaxyproject/training-material/tree/master/Proteomics/README.md).
It would be nice to have an icon for workflows, just like the :book: for the tutorials. What about :package: or :zap: ?
Greetings, Flo

The workflows should maybe even be visible in the GitHub pages table. Also, I added workflows that do not belong to a tutorial (yet). Adding a new "Workflow" column to the GitBug Page table would allow to link also these.

Besides, two of my workflows do not need any input data. It would be great to be able to leave out the 📁  icon, if there are not input data.

@Stortebecker can you think of any use-case where you don't have any inpput dataset?

One use-case is my tutorial on database handling

@Stortebecker do you think that this is still an issue?

@bebatut I think it would still be useful to be able to access workflows directly from the github.io/topics page.


Reapply "Remove references to Microsoft.Azure.Documents.Client (#210)"

This reverts commit 1ad86e793d8b7255026d56dba231f8db536b28aa.

Hello, don't complete that PR until the OCC one is completed. Also, would it be ok with you to do the same for Better Retail please? We had to revert that code as well.

Hello, don't complete that PR until the OCC one is completed. Also, would it be ok with you to do the same for Better Retail please? We had to revert that code as well.

Oh, sorry, I meant Better Grocery


🐛 BUG: npx wrangler pages dev -- npx react-scripts start fails to start react

What version of Wrangler are you using?
1.19.12
What operating system are you using?
Windows
Describe the Bug
When running npx wrangler pages dev -- npx react-scripts start as stated from the docs here the worker functions in my pages project are properly served on http://localhost:8788/ but the react project is not (hitting / gives a 404)
Using npx wrangler pages dev ./build after npx react-scripts build works perfectly fine with workers serving the react site and functions properly.
I have tried checking localhost:3000 in case react-scripts is running behind the scenes but its not. Not sure what else I can add to this as I'm at a loss as to why its not working.

So it appears that running npx wrangler pages dev -- npx react-scripts start then in a separate cmd window running npx react-scripts start with "proxy": "http://localhost:8788" in my package.json results in me being able to access the react site on localhost:3000 with requests being proxied to the worker on localhost:8788.
This works as a quick fix but I still don't know why the documented command for doing this is completely wrong/not working.

Hi @Inrixia!
From some testing, this behaviour should be fixed on the latest version of wrangler (2.0.16), so I'll be closing this for now 🙂
If that doesn't make any difference, feel free to reopen this. If you could provide a minimal reproducible code sample with that, it would be very helpful for debugging


requirements-dev.txt removed.

Development and metric requirements are moved in setup.py.

should be updated: https://github.com/obss/jury/blob/65b8cae4a5493b19f6585bfc3e8c52420b30fd96/.github/workflows/ci.yml#L56


Module build failed: TypeError: Must be an object

Great plugin! It was working perfectly for me one minute, and then suddenly it started throwing this warning and not compiling. I tried rolling back my code to see if it was something I changed. Unfortunately it's having the same issue in all previous commits (even the ones that I know were working). Do you know what the issue is? Any help appreciated.
The Error
WARNING in ./~/svg-sprite-loader!./src/res/page-next.svg
Module build failed: TypeError: Must be an object
    at exports.objectToAttrString (/Users/dave/Dropbox/Sites/ProductStream/node_modules/svg-sprite-loader/lib/utils.js:6:11)
    at SVGDocument.toString (/Users/dave/Dropbox/Sites/ProductStream/node_modules/svg-sprite-loader/lib/svg-document.js:29:18)
    at Object.module.exports (/Users/dave/Dropbox/Sites/ProductStream/node_modules/svg-sprite-loader/index.js:47:17)
 @ ./src/res nonrecursive ./~/svg-sprite-loader!(page\-prev|page\-next)\.svg$

WARNING in ./~/svg-sprite-loader!./src/res/page-prev.svg
Module build failed: TypeError: Must be an object
    at exports.objectToAttrString (/Users/dave/Dropbox/Sites/ProductStream/node_modules/svg-sprite-loader/lib/utils.js:6:11)
    at SVGDocument.toString (/Users/dave/Dropbox/Sites/ProductStream/node_modules/svg-sprite-loader/lib/svg-document.js:29:18)
    at Object.module.exports (/Users/dave/Dropbox/Sites/ProductStream/node_modules/svg-sprite-loader/index.js:47:17)
 @ ./src/res nonrecursive ./~/svg-sprite-loader!(page\-prev|page\-next)\.svg$

Main script (relevant parts)
SVGs = require.context('svg-sprite!../res/', false, /(page\-prev|page\-next)\.svg$/);
SVGs.keys().forEach(SVGs);

webpack.config.js
module.exports = {
  entry: './src/index.js',
  output: {
    filename: './deploy/productstream.js'
  },
  module: {
    loaders: [ // use ! to chain loaders
      { test: /\.html$/, loader: 'text-loader' },
      { test: /\.styl$/, loader: 'style-loader!css-loader!stylus-loader' },
      { test: /\.css$/, loader: 'style-loader!css-loader' },
      // {test: /\.(png|jpg)$/, loader: 'url-loader?limit=8192'} // inline base64 URLs for <=8k images, direct URLs for the rest
      {
        test: /\.svg$/,
        loader: 'svg-sprite?' + JSON.stringify({
          name: '[name]_[hash]',
          prefixize: true,
          spriteModule: 'utils/my-custom-sprite'
        })
      }
    ]
  },
  resolve: {
    extensions: ['', '.js', '.json', '.coffee']
  }
};

Hi David!
You trying to process SVG files twice: first in Webpack config, and then in require statement.
Change your require expression to this:
SVGs = require.context('../res/', false, /(page\-prev|page\-next)\.svg$/);

Also you use spriteModule option in Webpack config. If you don't use custom sprite implementation I recommend do not use this option, because it specifies a path to custom sprite module, which you do not have.

You're the man!
Ha! I even tried that while webpack was in the midst of --watch. Didn't realize you need to restart the process for the new config to take effect.


[3.x] Update inspector layer names when project settings changed

The same has already been done on master :)
Closes #29991

Does this fix https://github.com/godotengine/godot/issues/29991?

Does this fix https://github.com/godotengine/godot/issues/29991?

Ah yes. Added to OP.