Does not work on private repos

Hi,
This only seems to work for public repos and therefore cant be used within our (or most) enterprise solutions. Can you advise on any roadmap to have this working with private repos?

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

ID: 076ce105-645c-cf91-44b7-4e2192eed874
Version Independent ID: fb6358ab-0940-7ced-1036-2ddc49b78ce5
Content: Tutorial: Connect to a GitHub repo with Power BI - Power BI
Content Source: powerbi-docs/service-tutorial-connect-to-github.md
Service: powerbi
Sub-service: powerbi-service
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @chris-schulz -- thanks for your question! Hmmm. I specifically chose a public repo for this article so folks could follow along, but I can create a report for our private content repo, too. In our case, I have to add "-pr" to the end of the repo name. Not sure if that's a GitHub convention, or just our internal convention. Can you try it with your private repo name?

Hi, @chris-schulz -- thanks for your question! Hmmm. I specifically chose a public repo for this article so folks could follow along, but I can create a report for our private content repo, too. In our case, I have to add "-pr" to the end of the repo name. Not sure if that's a GitHub convention, or just our internal convention. Can you try it with your private repo name?

No success I'm afraid...
MessageWeb.Contents failed to get contents from 'https://api.github.com/repos/<myreponame>/reporting-pr' (404): Not Found Table: RepoDetails.
Cluster URIWABI-AUSTRALIA-SOUTHEAST-redirect.analysis.windows.net
Activity IDa97b9064-d1be-4d29-8bd4-8c03cae3fbe6
Request ID460cd385-9c98-f4a8-b2a5-ad5bace2a79c

Hi, @chris-schulz -- I'm checking with someone else. In the meantime you can try the Power BI community and support sites,
https://community.powerbi.com/
https://powerbi.microsoft.com/en-us/support/

Yep, that's where I started... crickets... :(

OK. Well, I've sent your question to someone else. We'll see what I get back.

Was there ever a fix for this?
I'm having problem connecting to a private repository that I'm admin for.
I'm getting the following error:
Last refresh failed: Mon May 17 2021 18:43:32 GMT+0200 (Central European Summer Time)There was an error when processing the data in the dataset.

Processing error:
The column 'Column1' of the table wasn't found.

Cluster URI:
WABI-NORTH-EUROPE-K-PRIMARY-redirect.analysis.windows.net

Activity ID:
26135b3c-faf4-2cd6-ab23-5846b39ed6dd

Request ID:
e6470c97-7fea-8eba-94f0-12cc394b4351

Time:
2021-05-17 16:43:32Z

Inside github the Power-BI is approved as it should be:


Weather Data Model Documentation

@cching95 Hi, please review PR. References to Innowatts will be considered by KE  and by the way I cant add his Git ID in this comment, do you know why? I am also still blocked from adding reviewers.


Thanks so much for a beautiful theme

Not really an issue (feel free to close), but I just wanted to thank you for contributing such an amazing looking theme. You've made my life better :)

No problem at all!


Line on polygon editor points to the top left when zoom changes

Godot version:
eceba5a
Issue description:
When changing the zoom while editing polygons, the line that connects the last point with the cursor will momentarily point to the top left of the scene:

Can't reproduce it anymore. Closing it.


IORING_OP_ASYNC_CANCEL and serializing operations

Hey :)
I want to guarantee users of my library that certain events they schedule on a ring will be serialized with respect to one another. Specifically, these are types like File and TcpStream that are supposed to provide a misuse-resistant API for performing IO on a specific file or tcp socket. Each IO handle like this only supports a single operation being performed at a time. In general, Rust's type system makes it easy to ensure that these operations are serialized.
The problem has to do with cancellation. In Rust's async IO model, its very simple to cancel interest in an IO event. However, if users cancel interest in an event, I want to make sure that subsequent events scheduled on the handle will occur after that event has either completed or been cancelled.
The nightmare scenario is this: a user schedules a write event, then cancels interest in that write and schedules a close. Concurrently, another part of their program schedules an openat event. If the close isn't serialized after the write (or a cancel of the write), the worst case scenario is that these events are processed in the oder close -> openat -> write, and the openat reuses the file descriptor for the new file, resulting in the write succeeding on a totally different file.
My attempt to solve this is that if users cancel interest an event without completing it, the next event they schedule is hard linked after an IORING_OP_ASYNC_CANCEL on the event they cancelled interest in. We don't care if the cancel succeeds or not, just that it either succeeds or fails (failure meaning the event completed) before the next operation occurs.
So I am writing to confirm: is this sufficient to guarantee that the subsequent event will serialize after the event being cancelled? Is it possible that an event will become uncancellable (causing the cancel to error), but still not be processed until after subsequent events linked after the cancel using the same fd?

The nightmare scenario is this: a user schedules a write event, then cancels interest in that write and schedules a close. Concurrently, another part of their program schedules an openat event. If the close isn't serialized after the write (or a cancel of the write), the worst case scenario is that these events are processed in the oder close -> openat -> write, and the openat reuses the file descriptor for the new file, resulting in the write succeeding on a totally different file.

If it's not SQPOLL, it won't ever happen. Request grab a file reference on submission, like temporal dup() which will be put on a request completion.

So I am writing to confirm: is this sufficient to guarantee that the subsequent event will serialize after the event being cancelled? Is it possible that an event will become uncancellable (causing the cancel to error), but still not be processed until after subsequent events linked after the cancel using the same fd?

There may be cases where it just can't cancel inflight request. So a cancellation request may be outlived by the request it targets. But you will get an appropriate return code.


Content that is Cast to TV is not captured

Hello,
I have been trying to find someone who has faced anything similar, searched all over to find at least a mention, but sadly - nothing.
What I am currently trying to overcome is the fact that streaming from phone/PC via AirPlay on my LG C2 doesn't work with capturing.
My current setup is a Hyperion instance running on Debian 11 in my server.
The TV is rooted, has PicCap installed and successfully captures content when watching YouTube, watching movies / series via Jellyfin or watching content on Kodi or Browser.
I can also use a macbook to connect to the TV as a separate display via AirPlay. That works - the lights react to what happens on the screen. Same goes for my Windows PC.
When I checked the Live Video from the capture, content that is streamed via AirPlay is not visible - the capture sees a black screen. The player UI itself is visible, but the video content is black. That happens with a simple YouTube video stream from phone/computer. It works fine when I just use the YouTube app instead of streaming it from an external device via AirPlay.
Am I missing something or misunderstanding something? Is this a limitation of what the TV is able to capture?
TL;DR:
Streamed content via AirPlay appears a a black video in the capture.

Hello,
So you confirm that capture sample in Hyperion (ILed  Instances => Led Ouput => Led Layout tab => Live Video) shows also black sreen. And when the video is inside an app window, and you move this window, is it only the content that is black ?
If so, it is due to the DRM. AirPlay, like Chrome & Firefox, blocks some content to be captured. For example, on Windows, It is black for Netflix & Disnay+ when viewing it through web browser.
This is not related to Hyperion nor PicCap. But it is to "protect" the media against copying.

Hello, So you confirm that capture sample in Hyperion (ILed Instances => Led Ouput => Led Layout tab => Live Video) shows also black sreen. And when the video is inside an app window, and you move this window, is it only the content that is black ? If so, it is due to the DRM. AirPlay, like Chrome & Firefox, blocks some content to be captured. For example, on Windows, It is black for Netflix & Disnay+ when viewing it through web browser. This is not related to Hyperion nor PicCap. But it is to "protect" the media against copying.

Sorry for the insanely late reply as I have cast aside this due to limited time.
As it is currently, ANY content that's cast over AirPlay is displayed as black in capture sample (Live Video). However, if you use Screen Mirroring (Mac to TV), the video feed is fine.
 However, if I used Screen Mirroring instead, it doesn't matter if the content is DRM-protected or not, I still get a perfectly fine Live Video feed. However, it isn't very convenient that I have to use Screen Mirroring any time I want to use the ambient lightning for content that I want to stream to the TV.

@botagas I've just tried to play AirPlay content from an iOS device on my WebOS5 TV. It was displayed and captured without any problems or hints on DRM content.
From what you describe it really sounds like the DRM content protection is hitting. You can verify it by checking the logs of hyperion-webos.
For that go into PicCap's log-tab before you play the video and hit the setup logging button. After that you can hit the restart service button. You now may have to restart your capture on the first tab to trigger service startup.
After that you can go back to log-tab and hit the hyperion-webos button. In here you can load the last 200 log lines to verify logging is working.
Now replicate your issue by playing AirPlay content and getting your black capture output. Then go back into PicCaps log-tab, open hyperion-webos logs with the button and load last 200 log lines.
You may now see some error messages with error 17, which means that you encounter DRM protected content. In this case we can do nothing due to https://github.com/TBSniller/piccap/issues/38. If you receive another error regarding the capture process, feel free to open an issue here in the service repository https://github.com/webosbrew/hyperion-webos.


Allowing models to call functions multiple times in a single output is quite important for use cases that require further data processing!

Is your feature request related to a problem? Please describe.
I instructed the model to use a Tool to obtain search engine results, and attempted to have the model call the Tool again after reviewing the search result text returned by the Tool, in order to read the content of specific search result links. However, currently Open WebUI only allows one Tool call per model output, which is quite frustrating...
Describe the solution you'd like
Allow the model to call functions multiple times in a single output
Describe alternatives you've considered
Making multiple requests, but that only makes searching more of a hassle!
Additional context
I know some folks might recommend I use Reader's search engine, but honestly, I feel the quality of content it retrieves is just so-so, and the diversity doesn't really meet my expectations... Plus, I'm sure there are tons of use cases where models need to call functions multiple times in one output.

I believe @michaelpoluektov has been pushing for adding support for this as well. I don't recall if he's already started an issue or PR for it, but he can chime in his thoughts either way.

I started an issue but no PR yet. Adding this requires quite a major refactor, and I'll most likely submit a draft this weekend. Issue tracked here:
https://github.com/open-webui/open-webui/issues/4219

FYI, LocalAI implements the required backend API locally: https://localai.io/features/openai-functions/


Move UCP and DTR topics to a higher level in the IA

The release notes for both UCP and DTR are buried under the upgrade section, it usually takes 3-4 clicks to access the notes to see what's changed when a new version is released. Is it possible to move this higher up the tree at the top level?
File: datacenter/ucp/2.1/guides/admin/upgrade/release-notes.md
File: datacenter/dtr/2.2/guides/admin/upgrade/release-notes.md

Fixed.


link subtitles in Manifest for HLS

Q
A

Bug fix?
no

New feature?
yes

BC breaks?
no

Deprecations?
no

Fixed tickets
fixes #issuenum

Related issues/PRs
#47

License
MIT

What's in this PR?
Adds subtitle manifest files in the main manifest so that subtitle can be added to the video.
Why?
Missing subtitle.
To Do

[ ] Create tests
[ ] Add support for more than 1 subtitle files.

Thank you for your pull request.
Could you please add some notes on how to use this feature?


Remove ngmodel without ngrx

:nut_and_bolt: Description: What code changed, and why?
The Global Projects Dropdown filter was built using a two way binding, ngModel pattern, however we would prefer to not use ngModel.  This branch removes the use of ngModel.
:chains: Related Resources
https://github.com/chef/automate/pull/2671
:+1: Definition of Done
ngModel is gone from the global project dropdown
:athletic_shoe: How to Build and Test the Change
To build:

build components/automate-ui-devproxy && start_all_services
make serve

To test:

if you do not have projects, go to https://a2-dev.test/settings/projects and create several projects
Click on the top right dropdown that will read something like "All Projects"
In the dropdown, type some letters and watch your projects filter.

:white_check_mark: Checklist

[x] I have read the CONTRIBUTING document.
[ ] Tests added/updated?
[ ] Docs added/updated?
[x] All commits have been signed-off for the Developer Certification of Origin.

For a richer experience, it is easy to generate lots of projects from the command line:
Generate 500 starting with id 101
    authGen projects create 500 101

Remove them after testing
    authGen projects delete 500 101

That will work inside or outside hab studio with a simple prerequisite--point at your A2 instance and authorize it, then source the script:
    export TOK=chef-automate iam token create TEST --admin
    export TARGET_HOST=a2-dev.test
    . scripts/auth_collections.sh


Tensorflow Datasets with string inputs do not preserve data type

All reproducible code below is run at Google Colab with TF 2.2.0-rc2.
Adapting the simple example from the documentation for creating a dataset from a simple Python list:
import numpy as np
import tensorflow as tf
tf.__version__
# '2.2.0-rc2'
np.version.version
# '1.18.2'

dataset1 = tf.data.Dataset.from_tensor_slices([1, 2, 3])
for element in dataset1:
  print(element)
  print(type(element.numpy()))

we get the result
tf.Tensor(1, shape=(), dtype=int32)
<class 'numpy.int32'>
tf.Tensor(2, shape=(), dtype=int32)
<class 'numpy.int32'>
tf.Tensor(3, shape=(), dtype=int32)
<class 'numpy.int32'>

where all data types are int32, as expected.
But changing this simple example to feed a list of strings instead of integers:
dataset2 = tf.data.Dataset.from_tensor_slices(['1', '2', '3'])
for element in dataset2:
  print(element)
  print(type(element.numpy()))

gives the result
tf.Tensor(b'1', shape=(), dtype=string)
<class 'bytes'>
tf.Tensor(b'2', shape=(), dtype=string)
<class 'bytes'>
tf.Tensor(b'3', shape=(), dtype=string)
<class 'bytes'>

where, surprisingly, and despite the tensors themselves being of dtype=string, their evaluations are of type bytes.
This behavior is not confined to the .from_tensor_slices method; here is the situation with .list_files (the following snippet runs straightforward in a fresh Colab notebook):
disc_data = tf.data.Dataset.list_files('sample_data/*.csv') # 4 csv files
for element in disc_data:
  print(element)
  print(type(element.numpy()))

the result being:
tf.Tensor(b'sample_data/california_housing_test.csv', shape=(), dtype=string)
<class 'bytes'>
tf.Tensor(b'sample_data/mnist_train_small.csv', shape=(), dtype=string)
<class 'bytes'>
tf.Tensor(b'sample_data/california_housing_train.csv', shape=(), dtype=string)
<class 'bytes'>
tf.Tensor(b'sample_data/mnist_test.csv', shape=(), dtype=string)
<class 'bytes'>

where again, the file names in the evaluated tensors are returned as bytes, instead of string, despite that the tensors themselves are of dtype=string.
Similar behavior is observed also with the .from_generator method (not shown here).
A final demonstration: as shown in the .as_numpy_iterator method documentation, the following equality condition is evaluated as True:
dataset3 = tf.data.Dataset.from_tensor_slices({'a': ([1, 2], [3, 4]),
                                               'b': [5, 6]})

list(dataset3.as_numpy_iterator()) == [{'a': (1, 3), 'b': 5},
                                       {'a': (2, 4), 'b': 6}]
# True

but if we change the elements of b to be strings, the equality condition is now surprisingly evaluated as False!
dataset4 = tf.data.Dataset.from_tensor_slices({'a': ([1, 2], [3, 4]),
                                               'b': ['5', '6']})   # change elements of b to strings

list(dataset4.as_numpy_iterator()) == [{'a': (1, 3), 'b': '5'},   # here
                                       {'a': (2, 4), 'b': '6'}]   # also
# False

probably due to the different data types, since the values themselves are evidently identical.

I didn't stumble upon this behavior by academic experimentation; I am trying to pass my data to TF Datasets using custom functions that read pairs of files from the disk of the form
f = ['filename1', 'filename2']

which custom functions work perfectly well on their own, but mapped through TF Datasets give
RuntimeError: not a string

which, after this digging, seems at least not unexplained, if the returned data types are indeed bytes and not string.
So, is this a bug (as it seems), or am I missing something here?

I was able to reproduce the issue with Tf2.2.rc2.
Please find the gist here. Thanks!

This happens due to numpy() operations on string inputs. I made a toy example to show
import tensorflow as tf
import numpy
print(tf.__version__)

string = tf.constant('My string!')
print(string)

num_string = s.numpy()
print(type(num_string))

output:
2.2.0-rc2
tf.Tensor(b'My string!', shape=(), dtype=string)
<class 'bytes'>

Is there something more expected from my side?

I have the same issue. Tensorflow when dealing with texts generates string tensors that are stored as byte string:
<tf.Tensor: shape=(2,), dtype=string, numpy=array(
     [b'Thê first utf-8 string of the batçh.',
      b'Thê secônd utf-8 string of the batçh.'], dtype=object)>

However, I didn't find an efficient way to decode this kind of tensor as a list of strings. It's even worse if the byte string containing a non-ascii character as point in the tensor above.
What I really need is one of these two options:

a tokenizer which is able to accept aforementioned byte string tensor as input to tokenize; or
a vectorized approach to transforming a byte string tensor into a string list.

As per @ymodak's response, this is not a specific to tf.data functionality but behavior of numpy() method:
import numpy as np
import tensorflow as tf

x = tf.constant("hello")
print(x)
print(type(x.numpy()))

Please assign to someone on the TF core team for triage.

I would like to help with this. I can pick up and triage the issue.
(If there is someone who can help me if I have doubts, that'll be awesome)

This is connected to the fact that the function unfortunately changes everything to int32 (at least when it comes to int-based numpy arrays). See #49503.

Was able to reproduce your issue in Tf Nightly 2.6.0-dev20210525, please find the gist here. Thanks!

Is there any progress on this problem? I have same problem with tf 2.4.1.

Was able to reproduce your issue in Tf v2.7 and Nightly 2.9.0-dev20211223, please find the gist here. Thanks!

Ran into this error as well and circumvented it doing a type check in my generator, just in case it helps anyone:
path_to_file = path_to_file.decode('UTF-8') if isinstance(path_to_file, bytes) else path_to_file

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Scala 2.12.6 and other dependencies

sbt 1.1.4
Scala 2.12.6
ScalaCheck 1.14.0
ScalaTest 3.0.5

To validate this pull request against other sbt modules, please visit this link.


Admin functionality API REST

Must implement:
Itinerary management
Assigned to @anna-trofimova

[x] Create Itineraries.
[x] Edit Itineraries.
[x] Delete Itineraries.

Destinations management
Assigned to @anna-trofimova

[x] Create Destinations.
[x] Edit Destinations.
[x] Delete Destinations.

Places management
Assigned to @AdayaUwU

[x] Create Places.
[x] Edit Places.
[x] Delete Places.

Users management
Assigned to @AdayaUwU

[x] Create Users.
[x] Edit Users.
[x] Delete Users.

Closed with #119 .


[Excel] (Custom Functions) Quick Start

Note these instructions will need to change when the new template gets pushed up. Right now reflects npm run start-web not npm run start:web

OPS Build status updates of commit 4994603:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 4994603:
:clock10: Incremental building: average incremental building time is 29 sec(s)

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

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 446f6fb:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 446f6fb:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit 446f6fb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 215442d:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 215442d:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit 215442d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 75fce59:
:clock10: Preparing: average preparing time is 44 sec(s)

Ok, changes applied, just one Q in comments :)

OPS Build status updates of commit 75fce59:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit 75fce59:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 0652203:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 0652203:
:clock10: Incremental building: average incremental building time is 29 sec(s)

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

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 29caf81:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 29caf81:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit 29caf81:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 9c11682:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 9c11682:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit 9c11682:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 2d5a056:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 2d5a056:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit 2d5a056:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 69eec6f:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 69eec6f:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit 69eec6f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit 14e7a0a:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit 14e7a0a:
:clock10: Incremental building: average incremental building time is 29 sec(s)

OPS Build status updates of commit 14e7a0a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit e30ab89:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit e30ab89:
:clock10: Incremental building: average incremental building time is 29 sec(s)

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

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit e8fd661:
:clock10: Preparing: average preparing time is 44 sec(s)

OPS Build status updates of commit e8fd661:
:clock10: Incremental building: average incremental building time is 29 sec(s)

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

File
Status
Preview URL
Details

docs/quickstarts/excel-custom-functions-quickstart.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


FR: syntax highlighting for Covariant Script

The only thing they offer is this VSCode extension:
https://github.com/covscript/covscript-vscode

Is this something you actually need or you're just asking because you think it would be cool? Because I would like to focus on helping users to get support to the languages they actually need, there are an enormous amount of niche languages out there, but it only makes sense to add support for the ones that actually our users need. So we can focus our energy and time properly. This comment goes for all the languages requested. I have no problem adding syntax highlighting for any of them, but I won't personally implement them if there is no actual need. Given that it takes time and I have limited time :)
Contributions are more than welcome, as always.

Is this something you actually need or you're just asking because you think it would be cool? Because I would like to focus on helping users to get support to the languages they actually need, there are an enormous amount of niche languages out there, but it only makes sense to add support for the ones that actually our users need. So we can focus our energy and time properly. This comment goes for all the languages requested. I have no problem adding syntax highlighting for any of them, but I won't personally implement them if there is no actual need. Given that it takes time and I have limited time :) Contributions are more than welcome, as always.

Please see this thread: https://github.com/covscript/covscript/issues/94

niche languages

Fortran and Ada are not niches. They are well-known languages. Almost all code editors support them. It feels weird if a code editor doesn't have syntax highlighting for them out of the box. This is the reason why I posted the FRs, asking you to add syntax highlighting for them. I personally don't use these languages. I don't really need support for them. I have no knowledge about them, so even porting the Lexer from TextAdept is hard for me.
Felix is a more challenging one. I like it but can never compile it from source. The developer can't help much. I can't tell if I really need it or not. But the syntax of the language is complex in my opinion. I'm also the guy who contributed the Geany syntax highlighting file for Felix to them. I have never been happy with the result. Felix is a mixture of syntax from many languages. The Geany syntax highlighting file is only a user-customized syntax highlighting file that is based on the C lexer of Scintilla. Geany uses Scintilla and Lexilla. To do accurate syntax highlighting, I will need to deal with complex C++, which I can't do. Maybe it will be easier with pattern-based syntax highlighters. Anyway, I think it will be a good reference for me to do syntax highlighting for other languages in the future. This is the reason why I posted the FR.
I don't post FRs for no reason. But since I don't really need support for these languages, I can close the FRs without much consideration!

Is this something you actually need or you're just asking because you think it would be cool? Because I would like to focus on helping users to get support to the languages they actually need, there are an enormous amount of niche languages out there, but it only makes sense to add support for the ones that actually our users need. So we can focus our energy and time properly. This comment goes for all the languages requested. I have no problem adding syntax highlighting for any of them, but I won't personally implement them if there is no actual need. Given that it takes time and I have limited time :) Contributions are more than welcome, as always.

Please see this thread: covscript/covscript#94

I'm also the OP of that thread. I really like Covariant Script and it's the one that I could compile from source, unlike Felix. But I can't run VSCode. It's very laggy on my computer. The problem with Covariant Script is that it's from China. The whole ecosystem is in Chinese. I don't understand Chinese. So after consideration, I decided to drop this FR, too. I only want to let you know that I will not post a FR for no reason. I'm sorry for the lengthy text.

Thank you very much for the detailed explanation. I was not asking to discourage you from opening tickets, I don't mind about it, feel free to open whatever you think it might help the project. I just wanted to know the reason to understand how much priority I have to give to the tickets, I want to prioritise what is needed by our users, and you are also a user, so it counts for you too. Let's reopen the tickets, they might have to wait longer but they are reasonable request and I'm not agains them.


Release v1.8.1, webpack/0.2.5

Releasing bugfixes + minor improvements to core plugin + Webpack resolver.
#332 feels semver-minor because it's large, but in all likelihood it just hasn't impacted anyone before @jkimbo brought it up. So probably valid semver-patch.
Tasks:

[x] acquire maiden LGTM from @jfmengels
[x] squash + merge (@benmosher)
[x] create both tags (@benmosher)
[x] publish (@benmosher)

I think we should probably separate submodule changelogs. Either by putting the core module's changelog first, then the resolvers (with a "table of contents" at the top of the page), or in separate files (I would choose option one). And it would be nice to have the same diff links ([1.8.1]) for the submodules.
Though we can do this all at a late time, and this LGTM ;)

Yeah, the resolvers have been kindof a pain in the changelog. Esp. because I can't create one of those diff links for a subtree (...right?).
I'd probably put them in their own file, but they have been changing somewhat infrequently so I haven't bothered. 😅

I can't create one of those diff links for a subtree (...right?)

You could, if you prepend them with something like
## [webpack-0.2.5] - 2016-05-23
[webpack-0.2.5]: ./foo

:tada:

took long enough 😅


[Challenge] Planet Express

Planet Express
You are managing logistics for an intergalactic delivery service. Your current task is to calculate the amount of time needed to deliver a set of packages. In the best case, the time needed to deliver a package is the difference between the package "pickup" and package "dropoff" events. Unfortunately, it's a dangerous universe out there, and sometimes the courier gets eaten (an "eaten" event). It's really a good news/bad news sort of situation. The good news is that your delivery service has access to a limited form of time travel, so you can send out multiple couriers at the same time (you should see the looks on their faces when two leave at the same time, though). The bad news is that you have to count the time for all the couriers, no matter how many it takes to make a delivery.
Your input data is given in a list of data formatted like the following:
(delivery id, timestamp, event)
The timestamp is a Unix Timestamp. Your function should calculate the total time for all deliveries, including 'mishaps'. For example, if the input is the following:
(1,<PHONE_NUMBER>, 'pickup')
(1,<PHONE_NUMBER>, 'dropoff')
(2,<PHONE_NUMBER>, 'pickup')
(3,<PHONE_NUMBER>, 'pickup')
(3,<PHONE_NUMBER>, 'dropoff')
(2,<PHONE_NUMBER>, 'dropoff')
(2,<PHONE_NUMBER>, 'eaten')

The total active time would be 4738 seconds by the following schedule:
(1,<PHONE_NUMBER>, 'pickup') -> (1,<PHONE_NUMBER>, 'dropoff') => 678 seconds
(2,<PHONE_NUMBER>, 'pickup') -> (2,<PHONE_NUMBER>, 'eaten')   => 1000 seconds, first attempt
(2,<PHONE_NUMBER>, 'pickup') -> (2,<PHONE_NUMBER>, 'dropoff') => 1920 seconds, second attempt
(3,<PHONE_NUMBER>, 'pickup') -> (3,<PHONE_NUMBER>, 'dropoff') => 1140 seconds

Business Rules/Errata

You may assume that each delivery is being carried by a different courier, time travel aside.
The result of your calculation should be the total number of seconds of all attempts, added together.
Every delivery ID will have one 'pickup' and one 'dropoff' event.
It is possible, though most unfortunate, for more than one courier to be eaten in the course of making a particular delivery.
If no delivery data is passed to your function, return 0 seconds.

Examples
See above.

The 'pickup' timestamp for delivery 1 changes between the two parts of the example.
Are there any parameters for the timestamps? Are they always ten digits long? Are the first six digits always the same?

Good catch. Fixed the timestamp, updated the description to specify the timestamp format.

closed by #246


Gel blobs disappearing when entering funnels/portals

When a stream of gel blobs enters a portal, or gets carried by a funnel, some of the gel blobs disappear. This is really annoying because some puzzles may require the player to carry gel through a funnel or through multiple portals, but a good 50-75% of the gel blobs have disappeared on their own, making it more annoying to coat the surface you want in gel.

This is the intended behavior, the max gel limit is reached almost immediately without it and it makes coating surfaces even more annoying.

28ebc6a0646318244a537c492c8b866a54d7b750


Assert thread prior to dispatching events

We should be dispatching events on the UI thread. Classes that we should do this for are:

DefaultProjectSnapshotManager
DefaultEditorSettingsManager
DefaultVisualStudioDocumentTracker

7654f73c545cd86431acfa59c83c4a2ee2d146c2


Applying a lookupeditor to quick filter dropdown

Hi all,
is there any builtin method within SF which I could overwrite in order to dynamically change the text of each item within a quick filter dropdown?
What I would like to do is to replace the standard texts which are pulled from the NameField of the lookup table with a translation for the language of the user. Somethin like localization - but using the translation framework of SF.
Hint: the ChangingLookupTextEditor.ts does what I want for modifying Dropdowns within forms - but how to apply this to the quick filter select2?
Hint2: https://github.com/volkanceylan/Serenity/issues/4105 comes as close as possible:  - but I would like to change the behavior of an existing quick filter which is generated automatically by adding the [quickfilter] tag on the relevant field within xyzRow.cs.
Thanks for any help.
With kind regards,
John

@JohnRanger I think you might be able to use the format function of the select 2 in order to do that.
There is an example in the wiki of formatting the output result - so this might be one route to go - it might not be the manner in which you want to approach it - as I think we all would prefer the automagically on the fly option.

Closed due inactivity
Also check the issue guidelines.
If you still need help, you can ask this on stackoverflow with our new tag.
https://stackoverflow.com/tags/serenity-platform


Duplicate page after changing IP

Hello!
Is there any reason for this line to existing? Because of it, after changing the IP, the previous page is downloaded again.
https://github.com/ferru97/PyPaperBot/blob/a380ee00d67de88f189ccfe29da2ab30fc66c264/PyPaperBot/Scholar.py#L33

Hi!
Yes, it is actually superfluous to give that with the 'continue' it does
not reach i + 1.
I saw that you are  interested in the project, I don't know your
programming skills (not that mine are excellent), but if you like I can add
you as a contributor
Il giorno mar 23 mar 2021 alle ore 13:17 kir-malishev <
@.***> ha scritto:

Hello!
Is there any reason for this line to existing? Because of it, after
changing the IP, the previous page is downloaded again.
https://github.com/ferru97/PyPaperBot/blob/a380ee00d67de88f189ccfe29da2ab30fc66c264/PyPaperBot/Scholar.py#L33
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ferru97/PyPaperBot/issues/22, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAQY5A5AGKTDFQZAHLHZELTFCBEJANCNFSM4ZVB4M5Q
.

Solved

Hi!
Now I am working on a small project under the direction of my supervisor, in which I need to programmatically search and process many scientific articles. Your library helped me a lot with this. I cannot promise to actively participate in the development of PyPaperBot, but I will try to contribute some.


when using pylance code completion, press "enter” will replace the code wrote behind it.

Describe your question
The action pylance code completion made is just like enabling the INSERT and enter new codes.It will replace the words behind the position you use the code completion.The first screenshot displays that I have selected the option before I press the enter.The second screenshot displays that after I press the enter, the bracket I have wrote before disappeared.
What have you tried?
I have no ideas whether it’s a bug or just I haven’t set current settings of pylance.At present, I just disabled the code completion.
ScreenShots

Configuration information
Visual Studio 2022 version 17.3.1
windows 10

This is a problem I run into constantly. I was considering whether to make an issue for it. Honestly autocomplete in Visual Studio is pretty much useless in Python due to this and one other issue. My standard behavior when the autocomplete window pops up is to just hit ESC, as I know it won't work properly.

Yes.The first time I met this problem,as usual,I pressed ESC to close the menu.The problem didn't exist when I use Visual Studio at version 2019 with language server Intellisense.But this version has more acute problems such as high cpu usage.On second thought,maybe python in visual studio isn't that welcome.

IME autocomplete has never worked in VS/Python. In older versions it had the issue where you partially type in a name, then select something from the autocomplete box and it won't fully replace the partial name, leaving you with the autocomplete text plus a letter or two of what you typed, creating an invalid name that you don't notice until you run it and it fails.

Similar issue was also mentioned in #6789.


Move controllers into their own packages

Short abstract
Right now, all controllers (FeatureFlagConfigurationController, FlagSourceConfigurationController) are located in a common controller package. With this issue I would like to propose to move each of those controllers into their own package.
Why
In general, packages should be kept as small as possible to make them easy to understand. Also, in the ginkgo test suite, the controllers might interfere with each other when new tests are added. We recently observed that behaviour in https://github.com/keptn/lifecycle-toolkit, where the tests were failing randomly. Moving the controllers to their own packages will help to isolate them from each other when running the test suites
Tasks

[ ] Create a new package for each controller, i.e. controllers/featureflagconfiguration/controller.go and controllers/flagsourceconfiguration/controller.go
[ ] Code that is shared between the existing controllers should be moved into a common package, e.g. controllers/common/common.go

I would like to take this ticket if possible :)

Assigned!


RTC example for Inkplate 6 Color does not work

This repository contains example code for setting the RTC time.
Firstly, there is an error on line 8:
>>> display = Inkplate(Inkplate.INKPLATE_1BIT)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: type object 'Inkplate' has no attribute 'INKPLATE_1BIT'

I assume that display = Inkplate() will be a sufficient replacement.
When I try to set the time as in the example, there is an error
>>> display.rtcSetTime(9,39,10)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "inkplate6COLOR.py", line 589, in rtcSetTime
NameError: name '_Inkplate' isn't defined

This class seems to be defined in the modules for other Inkplate devices. Could  it be added for the Inkplate 6 Color?

Hi @mfasold ,
sorry about the error in line 1, you're correct to assume your updated code is right as Inkplate 6COLOR has only one mode of operation.
As for rtcSetTime, I will have a look as soon as possible and see if it's possible to replicate and solve the issue.

Hi @mfasold ,
I've just ran this example and got it working:
C:\repos\Inkplate-micropython>python pyboard.py --device COM10 "Examples/Inkplate6COLOR/RTC.py"
{'year': 2024, 'minute': 39, 'hour': 9, 'day': 9, 'weekday': 5, 'month': 2, 'second': 10}
{'year': 2024, 'minute': 39, 'hour': 9, 'day': 9, 'weekday': 5, 'month': 2, 'second': 20}

C:\repos\Inkplate-micropython>

It was working, this is using the latest dev branch. Here's how I copied all the required files:
C:\repos\Inkplate-micropython>python pyboard.py --device COM10 -f cp inkplate6COLOR.py gfx.py gfx_standard_font_01.py mcp23017.py PCAL6416A.py image.py shapes.py soldered_logo.py :

So I'm not sure, but running this example has produced some display issues, which could be related to other things in the library.
Our main library is the Arduino one, so I would suggest trying to use that for coding for the time being. The micropython library was originally a user contribution and we adapted it to different boards, but the Arduino library contains more features and is more updated, so that's what I'd reccoment.

Closing due to inactivity, please feel free to write back if required


add zerodev kernel contract (using OP address we use)

/validate 1b76a6454da136176cb57468567643f858b9945b

/validate cdfe63128c384adc9d6e484e8587a03afd5e7dcf

Thanks David! We have a little bug in our validator that is attributing addresses that aren't in your project file to you, but I've manually reviewed and this is good to go!


maxPixels in reducing methods for charting

I'm starting to implement the new method for charting, like ee.ImageCollection.geetools.datesByBands, in a new library that will use pygal as the charting library. The new package will try to mimic the namespaces of GEE JS API. I started by testing datesByBands using the same test as https://github.com/gee-community/geetools/blob/1273b7154bbded6ad9bc15d3eb08a6ebe40283ee/tests/test_ImageCollection.py#L418. However, although it seems to pass in this package, in my test I get

ee.ee_exception.EEException: Image.reduceRegion: Too many pixels in the region. Found<PHONE_NUMBER>27, but maxPixels allows only 10000000.

which can be overcome by setting a higher maxPixels in the reduction. But unfortunately the method doesn't have the parameter.
Although it might be solved by https://github.com/gee-community/geetools/pull/359, I think it should also be solved in the method.

Do you think it would worth the shot to actually expose all the reducer parameters ?

I think it does. Those params have been there for long and I don't think we should worry about them changing frequently.


Tabular reorder

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/platform_tests ref=tabular_reorder

/platform_tests ref=tabular_reorder


Some desktop files makes yofi crash

Hi,
I tried to use the default config file given in the wiki and I got this error  : thread 'main' panicked at 'range start index 51 out of range for slice of length 39', src/icon.rs:86:34
After some investigations I found this file
[Desktop Entry]
Name=Code - OSS
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/bin/code-oss --unity-launch %F
Icon=com.visualstudio.code.oss.png
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=TextEditor;Development;IDE;
MimeType=text/plain;application/x-code-oss-workspace;
Actions=new-empty-window;
Keywords=vscode;

[Desktop Action new-empty-window]
Name=New Empty Window
Exec=/usr/bin/code-oss --new-window %F
Icon=com.visualstudio.code.oss.png

makes yofi crash.

That looks like a corrupted image file, may you share it (probably /usr/share/pixmaps/com.visualstudio.code.oss.png)? If so reinstalling the package should help.
Anyway, that shouldn't be a panic so thanks for the report.

Thanks for the report. That one is fixed in the linked PR and haven't been released yet


[Balance] Improve Balance and total Staking Reward Display

Is your feature request related to a problem? Please describe.
As the user, I would like to see these information in my $CSPR Balance
Total Balance

Liquid
Staked As Delegator
Undelegating

As the user, I would like to see my total staking Rewards

Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
N/A

hi @djhahe @hoailinh1210 , I receive many requests for this feature. Please have a look and priority it. Thanks.

Hi @hoailinh1210 @gaupoit @djhahe
FYI this is quick mock up from the meeting we had. Not sure which one @hoailinh1210  should follow, please help to confirm:
Source:

V1:

V2:

When putting in together with existing screen UI, it should look like this:

There's also an improved version, which group Staking list into tabs for shorten purpose. Probably we don't need to update in this story, I'm just leaving for reference:

Thanks,

Hi @gaupoit, this PR is ready but we need to wait for the API update for the unstacking amount so that I will move it to the next release.

Hi @gaupoit, this PR is ready but we need to wait for the API update for the unstacking amount so that I will move it to the next release.
FYI @djhahe

hi @hoailinh1210 , which metrics could we support now?

I will move this ticket to next milestone because we are still find the proper way to get the undelegating data.


Feature Request - Add support for Wide-Gamut Colors (currently supported in Safari only)

Is your feature request related to a problem? Please describe.
There is a color palette larger than that of sRGB which is supported by most browsers.
Safari now supports what is called Wide Gamut - see details here: https://css-tricks.com/the-expanding-gamut-of-color-on-the-web/
Describe the solution you'd like
It would be great if Pickr Supported Wide Gamut.
Describe alternatives you've considered
None, this is a pretty simple feature request (to ask and describe, not necessarily to execute).
Additional context
CSS Tricks page on Wide Gamut: https://css-tricks.com/the-expanding-gamut-of-color-on-the-web/

This is actually pretty cool, but unfortunately this project is not longer in a state were new features get added, see this section of the readme. I should probably also remove the feature-request template and I'm sorry for not doing so.


Seer performance badges for attribute updates and render

Very nice, but isn't the formatting of the ms badge strange? shouldn't we only see the number?

Yes, we can play around with it, but I prefer to leave as-is for now.
I want to see the count of how many updates have happened (often more important than the number). Also wanted the user to have a chance of understanding what it means. If we just have two numbers, it will also be confusing to the user.
If I could provide a tooltip for these badges, with additional data might be the best option...


date-picker can't select multiple dates

This function solves the problem (这个功能解决的问题)
Allow selecting multiple single dates.
like n-select multiple
Expected API (期望的 API)
multiple = true

I also need this function. I have a use case where the user can select multiple dates (both single and date-range)

希望后续有此功能

Is there any update on this, it is a very common use case when working with date-picker.

+1

any update on this?

+1


Fix loader/adaptative.py code with reading/writing HDF5 files

Description
In the file loader/adaptative.py, several of the classes/functions read or write to *.hdf5 files. According to the documentation (https://docs.h5py.org/en/stable/high/file.html):

HDF5 files work generally like standard Python file objects. They support standard modes like r/w/a, and should be closed
when they are no longer in use.

Throughout the adaptative.py file, *.hdf5 files are opened in read or write mode, but none of the files are being closed. This is leading to errors in this pull request, which adds files for testing: https://github.com/ivadomed/ivadomed/pull/580. Leaving files open can lead to issues, such as not being able to open a file because it hasn't been closed properly.
This Pull Request Achieves...

In this pull request, I have fixed the *.hdf5* read/write issue by using:

with h5py.File(hdf5_file_name, "w") as f:
    # do something here

I renamed Bids_to_hdf5 -> BIDSToHDF5 and HDF5_to_Bids -> HDF5ToBIDS to be PEP8 compliant (PascalCase)

Linked issues
Resolves: https://github.com/ivadomed/ivadomed/issues/590

Pull Request Test Coverage Report for Build 437080221

231 of 252 (91.67%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 90.069%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

testing/unit_tests/test_adaptative.py
34
38
89.47%

ivadomed/loader/adaptative.py
196
213
92.02%

Totals

Change from base Build 436863558:
0.01%

Covered Lines:
5986

Relevant Lines:
6646

💛  - Coveralls


Tallest Skyscraper

Before jumping into Pr first comment for assign. All Problem from Edabit. Link is mandatory to add
Problem statement: A city skyline can be represented as a 2-D list with 1s representing buildings. In the example below, the height of the tallest building is 4 (second-most right column).
[[0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 1, 0],
[0, 0, 1, 0, 1, 0],
[0, 1, 1, 1, 1, 0],
[1, 1, 1, 1, 1, 1]]

Create a function that takes a skyline (2-D list of 0's and 1's) and returns the height of the tallest skyscraper.
Problem Link: https://edabit.com/challenge/76ibd8jZxvhAwDskb

Before submitting a PR please Check some details. Check Edabit for problem task

[ ] fileName format should be in camelcase
example- returnTheNextNumber.py
[ ]  Add label for Problem
[ ]  In file there should be problem statement and link to problem
example -

'''
    Problem Task : This program will add two numbers
    Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
'''
*/
def main():
    return a + b

This repository is valid for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

Can you assign me to this problem pls :)


Error downloading folder

Storage Explorer Version: 1.1.0
Platform: Windows/Linux
Architecture: ia32
Build Number: 20180507.1
Commit: bcc8990d
Regression From:
Steps to Reproduce:
Download a folder containing different subfolders
Expected Experience:
I will expect that the folder and its content is correctly and recursivelly downloaded.
Actual Experience:
When I try to download a folder containing others folder, sometime it fails because it cannot create one of the sub-folders. This is caused by the presence of a file (of 0 byte) with the same name of the sub-folders. I saw that this file always exists near to a folder but I don't know the reason.
I'm trying to download a persisted Spark Dataset, maybe this is the main problem because I saw that if I upload on Azure Blob Storage a folders with sub-folders, no empty file is created near the folders.
The error detail is attached on the issue.
error.txt

Does deleting the 0 byte files solve your issue? What's the size/depth of the folder you're downloading? Are there a lot of these 0 byte files in your blob container? How are blobs normally uploaded to this container?

Yes
The structure of the folder I tried to download is:

speed-pattern-output-dir
|
|-- temporization.rim
|
|-- temporary_attributes.net
|
|-- speeds
|
|-- transportModeName=equivalent
|
|-- dayTypeName=MONDAY
|   |
|   |-- part-00000-6614088f-87ff-4afe-a69b-49574deaad54.att
|
|-- dayTypeName=WEDNESDAY
|
|-- part-00001-6614088f-87ff-4afe-a69b-49574deaad54.att

The 0 bytes are always present if the file is created using the
Spark functionalities (DataframeWriter), I saw that if I manually
upload a folder no 0 byte file is created. But I also saw that the
default container created for an HDIsight cluster has these 0 bytes
file.

Both using Azure Storage Explorer and Spark functionalities.
BR
Simone
On 23 May 2018 at 18:11, Craig<EMAIL_ADDRESS>wrote:

Does deleting the 0 byte files solve your issue? What's the size/depth of
the folder you're downloading? Are there a lot of these 0 byte files in
your blob container? How are blobs normally uploaded to this container?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/AzureStorageExplorer/issues/200#issuecomment-391405530,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACzS6JjLrVMfFfv-HCRB7-5jc0bY9uNBks5t1YoogaJpZM4UHIJB
.

Hi Craig,
I did the following:

I created an empty container
I created in the container a folder named test.txt (because is not
possible to create a file named test.txt/test.txt, with the slash in the
name)
I uploaded in the folder an empty file called test.txt
I uploaded in the container a file called test.txt (at the same level
of folder test.txt)

No further 0 byte file was created empty file is created.
I check in the portal the 0 byte files are showed also there.
It seems to me that these 0 byte files a related somehow with the HDIsight
service.
BR
SImone
On 24 May 2018 at 18:00, Craig<EMAIL_ADDRESS>wrote:

Hm, OK. Let's try a simplified example. Can you try the following?

Create an empty blob container.
Upload a small file as a blob named test.txt/file.txt.
Upload the same file as another blob named test.txt.
And just to be sure, do we know for certain these 0 byte files
actually exist? Do they show up if you view the container in the Azure
portal?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/AzureStorageExplorer/issues/200#issuecomment-391768542,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACzS6D8W9Pt2BYVsA56FXWvIEYObuwyTks5t1tkvgaJpZM4UHIJB
.

OK, let's recap the facts:

You have a blob container with a folder-like structure.
Within each directory, there exists a 0-byte file whose base name matches the name of an existing subdirectory.
Attempting to download any of these directories fails. This is because, when attempting to download a subdirectory, the corresponding 0-byte file has already been downloaded. The local FS can't have a file and subdirectory with the same name.
These 0-byte files are not manually uploaded. They are possibly auto-generated by an HDInsight service.

Since this sounds like an external problem, and not a Storage Explorer problem, I'm going to close this issue. I'll see if I can get in contact with some people to figure out where these files are coming from. Any more info you discover will be very helpful.


Add 'boundary layer' options to the 3D meshing

Similar to what #92, #103 did for 2D meshes, it would be useful to have a method to pad the 3D meshes.

Padding a tetrahedral mesh is probably a dead end, because tetgen will add points to the boundary to make nice triangles, while we want to keep the boundary fixed.
The blue dots in the image below are added in the mesh refinement step. There does not seem to be an easy way to prevent this from happening. On top of the already complex function, the entire boundary should be kept fixed, but how?

Trying a new approach to pad the contour, and send the entire thing to tetgen.

Padding the contour works well, and is much simpler, implemented here: b854545 🚀


Visual cues for map types (data visualization)

Platform
This feature request concerns: (select all that apply)

[x] Client (definitely)
[x] Server (probably?)

Details
Different people like different kinds of maps. Some might like a barrage of chaos, while others would prefer intricate patterns that flow well. Some people really care about lighting, while others are purely interested in the blocks.
Beyond preference, there are also some accessibility concerns. For example, I have bad knees, and have to fail (and subsequently delete) maps with wall patterns that force you to duck under them. I'd love to be able to know this information before investing the time downloading/syncing/trying the song.
I think there should be some sort of UI widget that would help showcase the substance of a map.
Preferred Solution
Dance Dance Revolution, my all-time favourite rhythm game, had an interesting solution to this problem: they included a radar chart that shows exactly where the song's challenges are:

From this chart, I can quickly deduce that this song is essentially a stream of arrows, with very few "jumps" (two arrows at once) or "holds" (leaving your foot on an arrow for a long time), and so you can see its "AIR" and "FREEZE" scores are super low.
Rubric
I'm still pretty new to BeatSaber, and so I'm probably not the best person to come up with a rubric for the axes, but I imagine something like:

Gymnastics (amount of body movement required)
Volatility (does the song have lots of lulls and moments of chaos - peaks and valleys - or is the song a consistent stream of blocks?)
Intensity (# of blocks per second during the peaks)
Flow (how smooth are the patterns?)
Mines (how many mines are there?)
Lighting (how much effort was put into the lights?)

These might be too ambitious, in that it may not be feasible to algorithmically evaluate the "flow" of a map, but they're just ideas. Potentially they could be user-submitted scores?
I'm interested in possibly contributing to this project! I've been building stuff with React since 2014, and I particularly enjoy making interesting, dynamic UI elements, so please do let me know if there are other projects that could benefit from this skillset =)

This seems a little out of the scope of BeatSaver. It is primarily a store of beatmaps. Other services (ie BeastSaber) exist for this kind of thing.
My recommendation to anyone wishing to work on this is to consume the BeatSaver API for map data and do analysis on the maps on-demand, similar to what ScoreSaber does for PP.


video(videodetails) doesnt show up in browser.

i could get title and description showing up but not the video. any help?
`

`

@souryavaranasi in your video_details.js, the class 'embed-responsive16by9' should be 'embed-responsive-16by9'


CAMEL-13180: camel-salesforce: Custom errors

In case of non-2xx responses to Apex REST requests, preserve the
response content since it won't necessarily be in the standard
salesforce exception format.
Is it a terrible idea to return an InputStream in the Exception? Very possible that it would only get closed when the exception gets GC'd. I believe it's always a ByteArrayInputStream, so at least no file/socket handles are involved. I'd like to avoid returning the response content as the message body. Since this is for exceptional situations, I think it makes sense to use an exception and preserve the in message body for logging/debugging capabilities.

Some more context for this. Usually for non-2xx responses from salesforce , the response body is very standardized, and we deserialize to RestError. With these custom Apex REST endpoints that salesforce devs can create, they're free to return anything in the response content. So the idea is, if the deserialization to RestError fails or is not meaningful, we can make the response content stream available to the route so it's not lost.


API keys (Impersonate auth token) are invalidated after database migration V0.23.6

To reprodue on V0.23.6

Generate impersonate auth token for table users.
Create a migration file for table (not users in my case)
Run ./pocketbase migrate up

The impersonate auth token does not work anymore.

No sorry, this doesn't make sense.
Nevertheless I followed your steps and I'm not able to reproduce it. Make sure:

the token hasn't expired
you haven't changed the related user password
you don't have a custom middleware or something else that may interfere with the token validation

Feel free to provide more details how you are testing and I'll try to investigate it further, but as of now it is working correctly for me.

I forgot to mention that you can also start the executable with --dev to check for more detailed errors and logs in the console in addition to the ones in the Dashboard > Logs section.

Also note that you don't have to manually run migrate up and all new/unapplied migrations will execute automatically on serve.


Fix #644: Remove loader.php

loader.php appears to be unused, except for a stray reference in
CONTRIBUTING.md. Actually, that reference is misleading, since composer
is required in order to provide the dependency on
sendgrid/php-http-client. Because composer is required to provide the
dependency, it doesn't make sense to maintain a loader separate from the
one composer generates for us. Therefore, we should remove loader.php.

Fixes #644
Checklist

[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
[x] I have read the [Contribution Guide] and my PR follows them.
[x] I updated my branch with the master branch.
[x] (N/A) I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation about the functionality in the appropriate .md file
[x] (N/A) I have added in line documentation to the code I modified

Short description of what this PR does:

Remove loader.php, which is no longer used.
Update the documentation in CONTRIBUTING.md.
No tests added since we're only removing code here.

If you have questions, please send an email to Sendgrid, or file a Github Issue in this repository.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello @mkasberg,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


Getting deprecation warning with grpc

Getting an error when running on cloud functions.
The error is: "(node:2) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead"
Environment details

OS:
Node.js version: google cloud functions (I guess it's node 6).
npm version: using 6.1.0 locally. Not sure if cloud functions reinstall the packages when I deploy.
@google-cloud/vision version: 0.20

Steps to reproduce
Using the package in cloud functions.

@kinwa91 if I had to guess, this is probably coming from gax.  I think @kjin landed a PR to fix the issue, and we may just need to ship a build.

Hi there, any ETA for a new build with this issue fixed?

Still getting this issue.
Tried updating to the node 8 environment on google cloud, and using the v0.21 nodejs-vision package.

I'm also having the same issue while tring to use API's documentation example with nodejs 8. I have installed gax 19 but i'm still obtaining the same result.

I have the same problems running it on Cloud Functions, keep receiving this error log.

Greetings folks!  We can confirm this is an issue, and we're actively working on a fix :)

This is being taken care of in https://github.com/googleapis/gax-nodejs/issues/286. I will update this issue when the new gax version is available.

@alexander-fenster  Looking at https://github.com/googleapis/gax-nodejs/issues/286 it looks like the new gax version is available?

@ggprod unfortunately the change that was merged to master does not work with long running operations (I have reopened that issue to make it clear). I'm going to revert half of the changes that will still avoid using the deprecated grpc.load. ETA for the release is 1-2 days from now. Thanks!

This should be fixed in the latest release 🎉

Hi there, I'm still getting this error. Could someone help out with steps on how to fix? Thx!


Cannot use mystical epics in battle (unlock pets.js)

When I added a mystical epic to my team, it showed that they were in the team but when I got into battle, there were no pets.
How to recreate the bug:
Just add a mystical epic to your team (you must get it by hacking) and battle a monster.

When I added a mystical epic to my team, it showed that they were in the team but when I got into battle, there were no pets.
How to recreate the bug:
Just add a mystical epic to your team (you must get it by hacking) and battle a monster.

I did that but didnt work


manual.py not working any more

hello. the manual.py used to work. but for the past few days i keep getting this error
Traceback (most recent call last):
File "./manual.py", line 14, in
from tvdb_mp4 import Tvdb_mp4
File "/opt/scripts/sickbeard_mp4_automator/tvdb_mp4.py", line 12, in
from mutagen.mp4 import MP4, MP4Cover
ImportError: No module named mutagen.mp4

Hi,
Setup has changed, you need the mutagen package for manual.py to be able to tag MP4 files
https://github.com/mdhiggins/sickbeard_mp4_automator#prerequisite-pip-package-installation-instructions
pip install mutagen

i did has you mate. but now i keep getting this error. i have also made sure, i have installed all the pip commands on your site.
Traceback (most recent call last):
File "./manual.py", line 394, in
main()
File "./manual.py", line 360, in main
walkDir(path, silent, tvdbid=tvdbid, preserveRelative=args['preserveRelative'], tag=settings.tagfile, optionsOnly=args['optionsonly'])
File "./manual.py", line 255, in walkDir
tagdata = getinfo(filepath, silent, tvdbid=tvdbid)
File "./manual.py", line 91, in getinfo
tagdata = guessInfo(fileName, tvdbid)
File "./manual.py", line 129, in guessInfo
guess = guessit.guessit(fileName)
AttributeError: 'module' object has no attribute 'guessit'

pip install guessit

that is already installed mate. i upgraded today lol

What version do you have installed?

Should be 3.1.0

Requirement already satisfied: guessit in /usr/local/lib/python3.6/dist-packages (3.1.0)
Requirement already satisfied: rebulk==2.* in /usr/local/lib/python3.6/dist-packages (from guessit) (2.0.0)
Requirement already satisfied: babelfish in /usr/local/lib/python3.6/dist-packages (from guessit) (0.5.5)
Requirement already satisfied: python-dateutil in /usr/local/lib/python3.6/dist-packages (from guessit) (2.8.1)
Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from guessit) (1.14.0)

Try running this test script
import guessit
import sys

print(sys.executable)
print(guessit.__version__)
g = guessit.guessit("Star.Trek.Picard.S01E04.iNTERNAL.1080p.WEB.H264-GHOSTS.mkv")
print(g['title'])

I also pushed an update to manual.py that includes some debugging output of the version of guessit its importing and the python path, if you could update and run that as well and post the output from that script and the one I just posted above I can try and sort out what's going on
I'm wondering if your guessit install is corrupt or there's another python environment with an older version that's getting called

sorry i don't know how to run scripts lol. am still learning on linux.
and ye sure mate. i will update them now and test

Just copy that into a text file and name it something .py (guessit-test.py) and then run it

i updated the files mate. but still the same. in ssh Traceback (most recent call last):
File "./manual.py", line 395, in
main()
File "./manual.py", line 361, in main
walkDir(path, silent, tvdbid=tvdbid, preserveRelative=args['preserveRelative'], tag=settings.tagfile, optionsOnly=args['optionsonly'])
File "./manual.py", line 255, in walkDir
tagdata = getinfo(filepath, silent, tvdbid=tvdbid)
File "./manual.py", line 91, in getinfo
tagdata = guessInfo(fileName, tvdbid)
File "./manual.py", line 129, in guessInfo
guess = guessit.guessit(fileName)
AttributeError: 'module' object has no attribute 'guessit'
but in index.log file all i see if this
2020-02-14 14:51:25 - MANUAL - INFO - /usr/bin/python2.7
2020-02-14 15:04:45 - MANUAL - INFO - Manual processor started.
2020-02-14 15:04:45 - MANUAL - INFO - /usr/bin/python

and i just ran that script mate. this is the error i got
/usr/bin/python
1.0.3
Traceback (most recent call last):
File "./test.py", line 8, in
g = guessit.guessit("Star.Trek.Picard.S01E04.iNTERNAL.1080p.WEB.H264-GHOSTS.mkv")
AttributeError: 'module' object has no attribute 'guessit'

Perfect
You must have 2 instances of python installed
See that 1.0.3 there? That's the guessit version its importing (not 3.1.0)
Whatever pip you're running is applying its changes to a different python environment

Both of those scripts are being called by /usr/bin/python if that's any help to you
You can to type which pip in linux to see where that's being called from

ye i just noticed then. and when i set the script to #!/usr/bin/env python3.6 it came out with
/usr/bin/python3.6
3.1.0
Star Trek Picard
so looks like they need point to python3

and when i did which pip i got /usr/local/bin/pip

Alright so that should work now if you point it to the right python environment
I would use python3 anyway, its better
I run all this stuff inside a virtual environment anyway. Rather than modifying each files' Shebang I would just call it with the python path specified when launching. Changing the default python instance at the operating system level can cause issues. You could also consider adding /usr/local/bin to your PATH so that becomes the default

right al make changes to them now. and point them to python3.6 and test

Biggest reason not to modify the shebang is that any updates to the script will overwrite those and you'll have to do it every time

ah right. nw mate. glad i could help out lol.

Yeah this happens all the time, most people don't realize they have multiple python installations and end up installing things on the wrong one and thinking its a problem with the script. Gonna close this for now looks like its sorted


Project initializer for Teal

With added Teal annotations they can be used to automate Defold project setup with Teal, similar to Lua annotations.
TODO

[ ] when running "Initialize" command ask user to select if they want to add annotations for Lua or Teal or both (checkboxes)
[ ] if user chooses Teal then find all releases with defold-teal-{version}.zip
[ ] extract the defold.d.tl file and copy it into the base defold project folder
[ ] update tlconfig.lua to include global_env_def = "defold":return {
    gen_target = "5.1",
    gen_compat = "off",
    include_dir = {
        ".defold/api/"
    },
    include = {"**/*.tl"},
    global_env_def = "defold",
}

[ ] add the defold.d.tl into gitignore

https://github.com/mikatuo/vscode-defold-buddy/blob/main/src/utils/config-initializer.ts and https://github.com/mikatuo/vscode-defold-buddy/blob/main/src/commands/initialize-command.ts would be good starting points to get familiar with setup for Lua.

Added Teal project initializer https://github.com/mikatuo/vscode-defold-buddy/commit/a7a1e89c85e1e27ddebe13889c171606c497d7fc


Can't create JTDSchemaType from tagged union with no additional properties

What I'm trying to do
I want to use the JTDSchemaType to create a schema for messages I will pass through a websocket. The messages have a type field used with a discriminator in the schema. Some of the messages require no additional information, such as a "ping" message, but I am getting an error when creating the JTDSchemaType unless there are additional properties.
What version of Ajv are you using? Does the issue happen if you use the latest version?
v8.11
Ajv options object

{}

Your code

import Ajv, { JTDSchemaType } from "ajv/dist/jtd";

const ajv = new Ajv();

type Message = { type: "ping" } // causes error unless an additional property is added
            |  { type: "error"; message: string };

const schema: JTDSchemaType<Message> = {
  discriminator: "type",
  mapping: {
    ping: {
      properties: {}, // compile error because ping is type 'never'
    },
    error: {
      properties: {
        message: { type: "string" },
      },
    },
  },
};

What results did you expect?
I expect to be able to create a schema for a tagged union that has no properties except the tag. I can't compile this because typescript expects the mapping of ping to be type never.
Are you going to resolve the issue?
I'm not sure how, but I'm happy to help.

cc @erikbrinkman :)

Thanks for finding this! Every time there's a bug I heave a sigh because it's partially caused by typescripts weird type system. In general typescript types are permissive, meaning { prop: type } is a narrowing of the object enforcing that prop has type but the object could also have any other member set as well. This means that {} actually allows all objects as a type.
The only exception to this rule is with object literals, which can't specify extra members. That means when creating these schema types, since we're using them mainly for object literals, we're actually bending the type system behave in a way it doesn't normally.
For discriminators we remove the discriminator field from the definition with an Omit, but if there are no other properties this creates the empty object type {}. Ideally this would naturally fit a record, but most of the rules don't work since {} has the reverse assignability as one might expect.
There may be clever ways to handle this better, but the PR I submitted #2158 just special cases that object, since it's already tricky enough to work with..

Thanks for explaining. I understand why it wasn't working before. I will keep track of the pull request so I can remove my hackish workaround when it gets merged.


Prometheus monitoring

I have implemented a simple Prometheus exporter. As a current prototype it was already useful in resolving some issues with a local installation of multiparty-meeting.
The exporter is optional  (configurable in environment variables and off by default) and consists of a new file server/lib/promExporter.js plus a few lines in server/server.js:
const promExporter = require('./lib/promExporter');

// start Prometheus exporter
await promExporter(rooms, peers);

I would like to donate the exporter here. Are you interested in creating a new branch mm-exporter or receiving a PR from my fork?
From my perspective it would be good if the exporter were included in the normal build process so that it could be chosen e.g. in docker-compose.yml with a dedicated tag.

@christian-2 your feature is really interesting!
We are using prometheus for iorestoacasa.work, and we added an exporter with an additional docker image:
https://github.com/iorestoacasa-work/mm/blob/master/docker-compose.yml#L42
Your implementation is cleaner and i would love to see that merged into MM

Can I ask you all to come and develop together? So I invite you to misi/mm project and merge back all forked new features?

@misi Thanks for the invitation. Since the present changes concern Node.js source code their first landing point would have to be havfo/multiparty-meeting. At this point I am using mm/misi as is.

@misi ok thanks! I'm not a NodeJS developer but i can help with others tasks

@christian-2  please send a PR or if you want come and develop with us!

Preparing and testing a PR against base branch develop was more difficult than expected.
My test setup (with an instance of multiparty-meeting on an intranet and two laptops connecting from home over VPNs and with TCP partly involved) still works with master but does not work with develop. This is due in part to #170.
I do not have time now to track these presumably unrelated networking issues further. So I can offer two alternatives: a PR against develop that is yet untested or a PR against master that I have been using myself. IMO the feature should go into develop first. What do you prefer?

I prefer the develop version..

Just wanted to day that this is a very desirable feature and to add my thanks

In retrospect and with tight integration into multiparty-meeting it may be better to do the configuration in server/config/config.js instead of with environment variables. For instance, the Prometheus exporter could be activated if an object config.prometheus were present and the following defaults could apply:
prometheus: {
  deidentify: false,
  numeric: false,
  port: 8889,
  quiet: false
}

Please let me know if you prefer this style of configuration.

This aligns better with the way we do existing things in multiparty-meeting, config.prometheus sounds good.


Ender Storage not showing the color code on top. 1.20.1

This is a issue in the 1.20.1

As in the image above the ender chest has nothing for the color code.

But as in this one is it does have a color code. This appears to only be a rendering bug and still shows the items if they are any in the enderchest.

This was tested under 1.20.1, we'll need to see if the port to 1.21 fixes this

After some testing its when the enderchest is being reloaded for example when you use the claim tool and it covers the chest when it gets loaded back in for the client the colors are gone.

This can be optionally solved by enabling particles in flan, but we'll need to test if that deletes the gold block placement and has a significant performance impact

flan issue never happened in my testing

It's happening in prod :p

i said flan issue, i didn't use flan in my 1.20.1 testing


Unmatched backticks on a single line should be output as is

Instead of rendering the rest of the line as inline code, single backtick characters should just be output as-is, as implied by the spec.

For dlang.org we would probably prefer maximum strictness, though; a $(BACKTICK) isn't that much of an issue in cases where it's needed. I guess that could be done by a separate tool, like DScanner.


[SPARK-45127][DOCS] Exclude README.md from document build

What changes were proposed in this pull request?
The pr aims to exclude README.md from document build.
Why are the changes needed?

Currently, our document README.html does not have any CSS style applied to it, as shown below:
https://spark.apache.org/docs/latest/README.html

If we do not intend to display the above page to users, we should remove it during the document build process.

As we saw in the project spark-website, it has already set the following configuration:
https://github.com/apache/spark-website/blob/642d1fb834817014e1799e73882d53650c1c1662/_config.yml#L7

Let's stay consistent.

Does this PR introduce any user-facing change?
No.
How was this patch tested?

Manually test.
After this pr, the README.html file will no longer be generated (base) panbingkun:~/Developer/spark/spark-community/docs/_site$ls -al README.html
 ls: README.html: No such file or directory

Pass GA.

Was this patch authored or co-authored using generative AI tooling?
No.

cc @srowen

Merged to master/3.5/3.4/3.3


How to setup so that the default namespace in root element in xml is also the assumed default namespace in the xpath

Hello.
I have a similar use case to this example, where there is a default namespace:
var xpath = require("xpath")
var dom = require('@xmldom/xmldom').DOMParser;

var xml = "<book xmlns='http://example.com/book'><title>Harry Potter</title></book>"
var doc = new dom().parseFromString(xml, 'text/xml');
var select = xpath.useNamespaces({"bookml": "http://example.com/book"});

console.log(select('//bookml:title/text()', doc)[0].nodeValue);

But I would want to setup the select so that the default namespace is presumed in the xpath as well. Something like:
var xpath = require("xpath")
var dom = require('@xmldom/xmldom').DOMParser;

var xml = "<book xmlns='http://example.com/book'><title>Harry Potter</title></book>"
var doc = new dom().parseFromString(xml, 'text/xml');
var select = xpath.useNamespaces({"": "http://example.com/book"});

console.log(select('//title/text()', doc)[0].nodeValue);

But this doesn't seem to work. Is there a way to make this work?

Ok, thanks for your response. Yeah, I did also found this article which also states that you just always have to use namespaces in xpath. Interesting is that this online evaluator seems to somehow get around that, probably by going "not compliant with xpath 1.0 spec" as you explained. Also this "feature" of the spec seems more like a bug as it means that without defining an alias for the default namespace, no xpath can ever hit anything from that namespace. Ok, so that keeping in mind, I decided to solve my problem by introducing a special namespace alias "default" which will be mapped to the default xmlns in the document if it is there.


Let users set API key and pass it along to Mixer.

Tested first comment with 2 RC Colabs (one get_stats, one Bio) in playground mode on my branch. The work with or without API key.

PTAL


Custom task runners are difficult to use with FlutterEngineRun.

Currently, FlutterEngineRun initializes the engine and runs the root isolate. This has worked out fine so far. However, as fix for https://github.com/flutter/flutter/issues/17579#issuecomment-537746362, there is a desire to expose more task runners for the embedder to control. Exposing task runners themselves is fairly straightforward. However, for embedders to post expired tasks back to the engine, they need a handle to the engine. This handle is only returned to the embedder after FlutterEngineRun returns. But FlutterEngineRun may have to wait for tasks to be serviced on another thread before it can return. So the engine will wait for the task to be posted on another thread before returning from FlutterEngineRun while the embedder will wait on FlutterEngineRun to return so it can get a handle to the engine to for it to post the expired task. This causes a deadlock.
The proposed solution is the create two new embedder API calls. These are FlutterEngineInitialize and FlutterEngineRunInitialized respectively. The first will create an engine  but not bootstrap its shell or run any root isolates. Using this minimal setup, the embedder can get a hold of the engine handle. It can then make the second call and avoid the deadlock scenario described above.
The existing call stays as is. It works well enough for embedders not performing complicated task runner configuration.

https://github.com/flutter/engine/pull/12757 depends on this.

Discussed this with @cbracken the other day and cc @franciscojma86 who is tracking progress on the linked issue.
cc @stuartmorgan as a breadcrumb for context on the changes made during the leave of absence.

Do you want to take this opportunity in the new API to fix the weird behavior of args in the current API where we have to pass in a dummy 0th argument?
It can't be fixed in the original API for compatibility reasons, but we're could make the newer API less surprising (with the downside of inconsistency with the old API, but I think it's still worth doing). It could be called flags or something like that to emphasize that it's not the same.
I know it's unrelated to the purpose of the change, but if we don't do it while introducing the API well be such with it there too.


Remove the unexpected print log in start shell script

in start shell script, such as edgex-launch.sh exists many print log, these log used to tell the user which microservice is launching.
Ideally, it should print like this (in sequence) :
### Starting edgex-support-logging
{
  here is support logging launch log detail
}
### Starting edgex-core-command
{
  here is core command launch log detail
}
....

Actually, the result is like this (unordered):
### Starting edgex-support-logging
### Starting edgex-core-command
### Starting ...
{
  here is support logging launch log detail
}
{
  here is core command launch log detail
}
### Starting ...
{
  ...
}
...

I would like to remove these print code and place them into the front of cmd/xxx/main.go
what's your opinion? @jpwhitemn @drasko @tsconn23

@drasko what do you think about this?

@yanghua in Mainflux every service has a line like thus upon the start: https://github.com/mainflux/mainflux/blob/master/cmd/manager/main.go#L96
Your proposition looks OK to me, but have in mind that edgex-launch.sh is not an actual production script - it is there just for the convenience of development.
In production some other and more robust way of starting services must be used, and if dockerized then orchestrator must be used.

I have no more to say. Does it mean you guys agree this issue and I could start my work?

@drasko thanks, closing this issue


Incorrect Progress Bar in Hue 4.9.0

Is the issue already present in https://github.com/cloudera/hue/issues or discussed in the forum https://discourse.gethue.com?
Describe the bug:
When we create a schedule of workflow in Hue version 4.9.0 the progress bar of the schedule always shows 100 percent.This does not happen in Hue version 4.1.0.
Steps to reproduce it?

Launch both the above versions of Hue ,create a dummy workflow and schedule it over a period of a week with interval of 10 mins and we can observe the progress.Screen shots attached.

RCA-
I have done the rca and here are my findings -
We get the information about the schedules from the following oozie api :11000/oozie/v1/jobs with params coord which consists the following  nextMaterializedTime, startTime, endTime from this we get the progress  from the following fxn get_progress() in the class Coordinator present in liboozie/type.py file.
Now the formula for progress in Hue .4.9.0 is
progress = min(int((1 - math.floor((end - next) / (end - start))) * 100), 100)
and Hue 4.1.0
progress = min(int((1  - ((end - next) / (end - start))) * 100), 100)
The math.floor makes (end-next/end -start) zero as its value is always less than 1  which in turn return 100 as progress.
Hue version or source? (e.g. open source 4.5, CDH 5.16, CDP 1.0...). System info (e.g. OS, Browser...).

I have raised pr regarding this https://github.com/cloudera/hue/pull/2881


[Question!] Botania mana infusion crafting

Is it possible to remove the need of a living rock, Or change the living rock to complete the crafting?

Before you ask such questions, look through the documentation.
It would be like this.

That wasnt their question, the answer is no btw

ty

Oh ffs, I can't read.


More cleanups in plots, fixed a bunch of memory leaks

Moved more of the duplicate code to the parent AKPlotView class
Audited calls to malloc() to make sure that memory is not leaked, replaced by direct access to the NSData buffer when possible.
Added convenience AKPlots.h for use in Swift bridging headers, etc.

Once again, awesome work.

Regarding AKPlots.h, I am thinking at some point before 2.1 when we're happy with the plots and other things that all of this just becomes part of AKFoundation.h.  I think I was reticent of including it because I knew it had some issues, but now that it's being bulletproofed by you, I think it's foundation material.  If you agree, I'll also let you decide when to move the AKPlots.h includes into AKFoundation.h - ie. if you're confident in them, I will be too.

That's a great idea to "graduate" these classes to AKFoundation, however I don't think I'm confident enough yet to say that they are ready for this at the moment.
Mainly, several of these classes have not been implemented fully (some not at all) on OS X. Additionally, I've mainly tested the ones that are in the iOS version AudioKitDemo, and several of these classes are not even used in that app. The OS X side of things really needs to be tested more.
I think first we should have a test case (maybe just an extension of the AudioKitDemo) that features every single plot class so we can test them all on both iOS and OS X. I'm sure there are some issues left here and there... Then once we have made sure they are at least functional on those, then we can confidently add them to the foundation.

I think I'd like to test all the plots from within the AudioKitDemo project.  I'll also add them to the OSX side.  Probably be there by tonight.


Mouse control

The title is self explanatory.

Thanks for your suggestion @dagstuan , I'll consider it for the next version.

🎉


[CyberEO] Add sbom-generation task to vsts-releases pipelines

What
Adding tasks to generate and publish SBOM (Software bill of materials) manifest file.
Why
This is a requirement as part of the Cyber EO.
How
Added a new template to generate-sbom manifest. and Added the template to vsts-release pipeline for common and common4j release pipelines.
The template has following tasks

Generate dependencies lockfile : this uses gradle task to lock and output project dependencies in agradle  .lockfile
ComponentGovernanceComponentDetection: this enables Component goverance detection for the dependencies in the gradle .lockfile
Generate SBOM manifest file: This generates the SBOM manifest file (example) from the build artifact as well as automatically includes dependencies detected by Component Governance,
Publish Artifact: dependencies lockfile: this publishes the gradle .lockfile as pipeline artifact

Testing
Successfully completed test run of common4j and common  vsts-release pipeline and ensured that the SBOM manifest file is genrated and published as pipeline artifact.
Published artifacts:
Common4j
Common
Other
ADO Feature: https://identitydivision.visualstudio.com/Engineering/_workitems/edit/1695893/

Generally, I approve here.  I can't click the approve button right at the moment.


in pix2pix.py at line 85 TypeError: init() got multiple values for keyword argument 'dtype'

Tensorflow version: 0.12.1
Comand: python pix2pix.py \   --mode train \   --output_dir facades_train \   --max_epochs 200 \   --input_dir facades/train \   --which_direction BtoA

Traceback:

`Traceback (most recent call last):
File "pix2pix.py", line 697, in
main()
File "pix2pix.py", line 531, in main
model = create_model(examples.inputs, examples.targets)
File "pix2pix.py", line 397, in create_model
outputs = create_generator(inputs, out_channels)
File "pix2pix.py", line 318, in create_generator
output = batchnorm(convolved)
File "pix2pix.py", line 85, in batchnorm
offset = tf.get_variable("offset",[channels], dtype=tf.float32, initializer=tf.zeros_initializer)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 988, in get_variable
custom_getter=custom_getter)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 890, in get_variable
custom_getter=custom_getter)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 348, in get_variable
validate_shape=validate_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 333, in _true_getter
caching_device=caching_device, validate_shape=validate_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 684, in _get_single_variable
validate_shape=validate_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 226, in init
expected_shape=expected_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 303, in _init_from_args
initial_value(), name="initial_value", dtype=dtype)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 673, in
shape.as_list(), dtype=dtype, partition_info=partition_info)
TypeError: init() got multiple values for keyword argument 'dtype'
`

What's the output of this:
python -c "import tensorflow; print(tensorflow.version)"

It prints “0.12head”. It's slightly different from the expection but pip freeze gives “0.12.1”. Thanks.

This looks like a change to tensorflow that was made after 0.12.1:
https://github.com/tensorflow/tensorflow/releases/tag/v1.0.0-rc0
tf.zeros_initializer() and tf.ones_initializer() now return a callable that must be called with initializer arguments, in your code replace tf.zeros_initializer with tf.zeros_initializer().
Can you uninstall tensorflow and make sure you have 0.12.1 installed?

Sure. And pip freeze doesn't print the version correctly, right? Since I thought 0.12head is same as 0.12.1

I don't really know what 0.12head is, it doesn't appear on the tensorflow download page and appears to have a different zeros_initializer :/

Closing since it looks like an incorrect version of tensorflow