Add CRDCH Model Entities and Relationships diagram to CRDCH model documentation

Describe the solution you'd like
Add the "CRDCH Model Entities and Relationships diagram" from the HioH slides for Oct 28, 2021 to the CRDCH Model.
How important is this feature? Select from the options below:
• Important - it's a blocker and can't do work without it
When will use cases depending on this become relevant? Select from the options below:
• Short-term - 2-4 weeks

@balhoff is working on an alternate approach using OWL and/or yUML.


Better formatting branch for SyntaxError

For SyntaxError cases, I need to improve the way I handle formatting of the code shown in the where() block as well as the code shown as a new_statement() in the why() explanation that includes the suggested code, with the location markers included.
We need to consider the following cases, which must be covered by unit tests:

[ ] why()

[ ] 1. Statement on a single line with single marker
[ ] 2. Statement on a single line with two markers

Multi-line statements

Line with error less than 5 lines from first line of statement

[ ] 3. Code with single marker
[ ] 4. Code with two markers on a single line
[ ] 5. Code with two markers on two different lines less than 5 lines apart
[ ] 6. Code with two markers on two different lines, more than 5 lines apart

Line with error more than 5 lines from first line of statement

[ ] 7. Code with single marker
[ ] 8. Code with two markers on a single line
[ ] 9. Code with two markers on two different lines less than 5 lines apart
[ ] 10. Code with two markers on two different lines, more than 5 lines apart

For where(), the last line shown is (almost) always the one flagged by Python as containing the error;
in some cases, we might stop at the previous line.

[ ] where() with multiple statements:

This is the case if (pseudocode) statement.end_row - previous.start_row < 5
[ ] 1. Statement on a single line with single marker
[ ] 2. Statement on a single line with two markers

Multi-line statements

Line with error less than 5 lines from first line of statement

[ ] 3. Code with single marker
[ ] 4. Code with two markers on a single line
[ ] 5. Code with two markers on two different lines

Line with error more than 5 lines from first line of statement

[ ] 6. Code with single marker
[ ] 7. Code with two markers on a single line
[ ] 8. Code with two markers on two different lines

[ ] where() with single statement:

This is the case if (pseudocode) statement.end_row - previous.start_row >=5; we only include the statement containing the error unless the error is shown at the first token of the previous statement.
[ ] 1. Statement on a single line with single marker
[ ] 2. Statement on a single line with two markers

Multi-line statements

Line with error less than 5 lines from first line of statement

[ ] 3. Code with single marker
[ ] 4. Code with two markers on a single line
[ ] 5. Code with two markers on two different lines

Line with error more than 5 lines from first line of statement

[ ] 6. Code with single marker
[ ] 7. Code with two markers on a single line
[ ] 8. Code with two markers on two different lines

I also need to write a function to embed a code block in markdown. However, to keep it compatible with friendly-traceback (and an repl formatter), it should simply add extra empty lines and indent the code.

Thoughts on highlighting locations.
For run time errors, stack_data and executing help us locate the exact location of the AST node where a problem occurred - at least before Python 3.11.  These nodes are highlighted in their entirety with ^.
For SyntaxError cases, we have three potential location to consider:

the location shown in the traceback;
the location shown by where();
the location shown (sometimes) by why().

At least prior to Python 3.11, Python's traceback showed a location using a single ^ where the parsing failed.  For the location shown in the traceback, we should strive to reproduce as faithfully as possible the output given by Python.
Starting with Python 3.11, SyntaxError cases can have many consecutive tokens highlighted. To ensure that friendly-traceback has a consistent output for all Python version, we need to have our own consistent scheme.
For the location shown by where():

if the error is due to a single token that should be removed, this entire token should be highlighted by ^s
if the error is due to a single token that should be replaced by another, this entire token should be highlighted by ^s.
if the error is caused by a missing token, with tokens on both sides located on the same line, we should use an highlighting like ---^^--- where the - underline the tokens on each side of the missing token; we should use - instead of _ as the latter might be too close to the letters on the next line of code (if shown);
if the error is caused by a missing token at the end of a line ending a statement, we should use something like ---^
if the error is caused by a missing token at the end of a line for a statement that continues on another line containing the token identified as incorrect by Python, we should use something like ---^--> one the first line.
if the error is caused by two separate tokens being incorrect (for example: [...] instead of (...)), we should identify them by highlighting both with ^.
if the error is caused by two separate tokens missing (for example, missing parens), they should be individually flagged using something like ---^---.

The location shown by why() should only highlight the token(s) that have been changed. If a token is simply removed, the tokens on each side, and the space between if present, should be simply highlighted by ---

Further thoughts on highlighting location...
The more I think of this, the more I believe that the previous comment makes things too complicated.
Furthermore, keeping https://github.com/friendly-traceback/friendly/issues/21 in mind, using only ^ for location of errors might make it easier to highlight the location of errors with a different background colors - like I currently do with friendly.idle.
Currently, I often include lines from other statements in where(). By contrast, cPython and IPython only show the line with the syntax error.  While more context might be useful, I believe that limiting to showing a single statement might be both easier to code (and maintain) while helping to focus on the actual location of an incorrect syntax.

The previous commit is to make it possible to use highlighting with a background colour with friendly (see https://github.com/friendly-traceback/friendly/issues/21) when a complete statement is causing a problem (and not simply parts of it) - following what is done with IPython 8.0 if I am not mistaken.

Closing this as no longer being relevant with most (all?) issues having been taken care of, after further experimentation.


[6.0][Concurrency] Fix disallowed override isolation to carry `@preconcurr…

…ency` bit

Explanation:

Fixes a source compatibility regression in complete checking mode.
If ObjC member cannot be overridden due to isolation mismatch set @preconcurrency bit to make the diagnostic a warning instead of an error in Swift 5 mode.

Main Branch PR: https://github.com/swiftlang/swift/pull/75087

Resolves: rdar://130776220

Risk: Low

Reviewed By: @hborla

Testing: New tests were added to the suite.

(cherry picked from commit f7d3230535fa4c840c728718d6f5154c6a4bcd16)

@swift-ci please test


Input key issue with Omsi 2

Hello, I try to get input keys coming from the game Omsi 2, especially one in particular: the touch 6. Everything works very well if I am on google chrome, my desktop or even in a folder, but as soon as Windows is on Omsi 2 (fullscreen mode or not), the console (in eclipse ide) indicates me nothing more :/
Thank you in advance =)
PS = My code if necessary :
http://pastebin.com/3fsaYiie

Hello, this is what I was able to adjust since the last time.
Then I managed to run well the API, only it turns out that if I launch Omsi 2 either the same Photofiltre, or even Google Chrome or any other programs as administratordirector, then the console does not receive any more the inputs. Is there a solution for this ?

Hello Plaigon, not sure if I can support your here. Generally a lot of games are using low-level keyboard hooks themselfs to catch keyboard input. Or they even go "one level deeper" and use raw-input to receive keyboard events.
Generally the way low-level hooks work, is that one hook is called after another. Each hook has to call the next hook by invoking CallNextHookEx. If one hook doesn’t call CallNextHookEx, the “next” program will, for example, not get the keyboard event. Every hook should call CallNextHookEx, but especially for a game like Omnibus Simulator, I can imagine they havn't tested this all too well. So if they don't call CallNextHookEx, your hook won't get notified, because it might got registred with a lower priority.
Hook priorities are based on the order in which the hooks are installed. The hook installed latest, has the highest priority. This means you’d have to ensure that the low-level hook is installed after the game was started, to check if they actually don't call CallNextHookEx. Please do also see the KeyboardHook.c implementation.
Last but not least, if they are grabbing the input, e.g. using raw input, they might forcefully prevent other programs from getting any input events. Again bad design, but likely you won't find a way to outsmart this.
Hope this helps. Regards,
Kristian


RuntimeWarning: invalid value encountered in long_scalars

Hello,
I used PCAP detection and live traffic detection, but when I press execute, it always displays "RuntimeWarning: invalid value encountered in long_scalars", and ERR, F1, PPV, TPR are all displayed as 0, what is wrong? Thanks!!!!

Hi, sorry for the late response.
The error that you see is due to division by zero when computing the TPR and FNR metrics. Which means that both TP and FN are zero.
Since I see that the value of FPR is always equal to the DDoS%, your system is working as expected (the DDoS samples are classified as such, but the ground truth labels are wrong). So, the only problem is in the computation of the metrics that depend on the definition of attacker's and victim's IP addresses. I guess that you left them with the default values, which are defined in lucid_dataset_parser.py:
CUSTOM_DDOS_SYN = {'attackers': ['11.0.0.' + str(x) for x in range(1,255)],                       'victims': ['<IP_ADDRESS>']}
You can change them here in the above dictionary with the IP addresses of your testbed, otherwise you can use the attack_net and victim_net parameters, as explained in the README.
Hope this helps.
--roberto


Is it possible to access browser context with puppeteer crawler in order to resize the browser?

I've got to scrape an affiliate website of one client and they have a "responsive" table where it reorders it's data with js in dom in order to fit everything in the screen.  But I can't seem to find a way to get to the browser context with apify sdk...
And no, disabling js is not a viable solution for that website :)

You can use any of the Puppeteer functions such as page.browser() or page.browserContext() using the page object in gotoFunction or handlePageFunction.
You can also pass any Puppeteer launch arguments (such as viewport) via PuppeteerCrawler.launchPuppeteerOptions


Add support for lowering mhlo.einsum in codegen

There is no definition in https://www.tensorflow.org/xla/operation_semantics
See definition in https://www.tensorflow.org/api_docs/python/tf/einsum
The equation is just like affine_map. I think we can use a generic op + some reduction loops to handle it.

From @phoenix-meadowlark , these tests/the mlir the generate cover a fair amount of einsum's behavior:
https://github.com/google/iree/blob/main/integrations/tensorflow/e2e/einsum_vector_test.py
https://github.com/google/iree/blob/main/integrations/tensorflow/e2e/einsum_static_test.py
https://github.com/google/iree/blob/main/integrations/tensorflow/e2e/einsum_dynamic_test.py

I think it can be legalized to mhlo.dot_general. We have patterns to tweak mhlo.dot_general to linalg.batch_matmul and linalg.matmul forms. Then we can focus optimization on gemm more.

This is done now. Closing

Does this mean there is support for lowering tf.einsum now? If so, could we enable these tests for the relevant backends?
https://github.com/google/iree/blob/main/integrations/tensorflow/e2e/BUILD#L102-L104

Does this mean there is support for lowering tf.einsum now? If so, could we enable these tests for the relevant backends?
https://github.com/google/iree/blob/main/integrations/tensorflow/e2e/BUILD#L102-L104

I think we should be able to lower tf.einsum now, since iirc tf.enisum lowers to mhlo.einsum anyways. But @hanhanW will know for sure :)

We can give it a shot. IIRC there are missing cases.
IIRC, the op is rewritten to dot_general. We assumed that there are at least one contracting dim and one parallel dim in dot_general. and it will cause errors in HLOToHLOPreprocessing pass. I'll take a look. Will file an issue to track it if it is the case.

note: IIRC, lowering the op to generic op (@raikonenfnu 's pattern) handles the case. I have to verify it.


AttributeError: 'NoneType' object has no attribute 'seek'

Hi, when I execute the ineference.py, I got this error. is it for test or pre-trained model?

Hi @sanazsab ,
Can you please provide more details?
What is your command? What were you trying to do?


build: adds updates build files from #12

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 100.00 MiB. GPU

Hello, I really appreciate the chai_lab you and your team developed. I have tried the server and compared it with AF3. Now I want to deploy it locally. I have successfully installed it, but there is a problem. My video memory is not enough, and I will get torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 100.00 MiB. GPU . I have four 2080ti graphics cards with 10G video memory. I would like to ask if it supports multi-GPU parallel processing? Can I modify the cuda: parameter in predict_structure.py to achieve the purpose?
Thanks!!!

I also experienced a similar error

This is weird since I used 40GB GPU memory A100 as

Ok, at least for me, I confirmed that using a100_shared partition (that charges real number of gpu that I requested) on my linux workstation caused memory issue.
Using a100 partition (that uses all 8 gpus) didn't cause the GPU memory issue.

I ran in a100, and got the same error
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 100.00 MiB. GPU

Is this because the protein sequence is too long? Is there a limitation of it? I got the saame error with a100.

I seems like there is a limitation of the length of protein sequence? I got the same error with a100. In my case, if I use the full sequence ~1500 it crash. then I only put ~900 (remove 600), it worked.

@lonelu Hello! It seems like you've encountered a problem and are hoping for a solution. However, you haven't specified exactly what the problem is. If you could provide more details or background information, I would do my best to assist you in resolving it. Looking forward to your reply, thank you!

I seems like there is a limitation of the length of protein sequence? I got the same error with a100. In my case, if I use the full sequence ~1500 it crash. then I only put ~900 (remove 600), it worked.

@lonelu Hello，I've encountered the same issue. Have you resolved it? I'm looking forward to your reply. Thank you very much.


Scroll spy on nav, and anchor elements in nav with data-target is broken.

Hello,
When trying to utilise the "scrollspy" feature I ran into the issue of the fact that when the anchor element within a list item has a data-target attribute, scrollspy does not work. It does however work when the data-target attribute is on the list item (li) itself.
Here is a demonstration of the issue.
And here is an example of scrollspy working when the same attributes and values are applied to the list item instead of anchor element directly.
I also noticed that when these data attributes are applied to the anchor element that href seems to be ignored, so I may just be mising something (perhaps a preventDefault I am not aware of?).

Operating system and version (Windows, macOS, Android, iOS)
Browsers tested:
Firefox 75.0/linux
Firefox 68.7/Android
Chrome  81.0/linux

Ah, of course I realise just after I post this. I think what must be going on is that data-target competes with href (in that go to href target is the same as specifying the same target but instead in the data-target attributed) this would explain both behaviors I mentioned in the issue.
Oh well, may my pain make another person's life easier.


Add alternative mechanism for sending ops in load tests

Add support for all the clients sending and receiving ops concurrently, in load tests. Previously, we supported only a staggered read-write mechanism where only half the clients would be sending ops at any given time.
The primary motivation for having this additional mechanism is that the previous mechanism does not allow us to send ops at certain rates.
For instance, it was not possible to send ops at an effective rate of 6 ops/min/client with the staggered read-write mechanism. Priyam has run some tests to verify this, and documented the effective rates observed in the client metrics - we observe that the effective rate of ops sent does not match 6 ops/min/client.

@Abe27342 @anthony-murphy Could you please review this PR when you get a chance? Thankss!


Add more credit to the mod authors

I think there is not enough credit given to the mod authors. For example there is not a single one given to @Moonkis - author of OnionPatcher, the first modpack for ONI (GitHub repo). We joined our mods together in my MaterialColor modpack (GitHub repo)
Also I don't think they are neither consistent or sufficient for me and @Killface1980 - various names are used and no links. It's really hard to track who were involved because the code was moved across several repositories already.
Of course I'm glad that @javisar and @Killface1980 took care of creating the modloader and porting our mods to Harmony. We already discussed and wanted to do something similar with @Moonkis and noisycat@kleiforum (Sorry I don't know his GitHub profile so here's his discord tag: noisycat#9418).
I think these changes I made should be fine, but I know this subject needs a bit of discussion first, so I'm open to suggestions. I have also corrected some typos in README.md.

I totally agree to add more credits. Thank you for keeping track of them
Moonkis and you are there but indirectly, in the link heading to onion patcher forums in the top of the README. I've never pretended to steal credit.
Any improvements to the README will be wellcome.
AlternateOrdersMod, FastModeMod, InstantResearchMod, InsulatedDoorsMod, InverseElectrolyzerMod, LiquidTankMod, SpeedControl have been made by my.
Also PressureDoorMod, StorageLockerMod, not sure, but I think they are from Killface.
If you agree I will merge this pull.
I'm planning to add you and @Killface1980 to a github team so you don't depend as much on me. But I've never used this feature and I have to research a bit how to do it. What do you think?
Not really related but my initial idea is to have this repo with some "example mods" but not to create a "modpack". I think that if we want to create a modpack we should make an independent repo.
By the way, thank to @Moonkis and you for the original mods.

I'm glad you agree :)
@javisar Thanks for the info about the other mods. I'll add more info about them.
I think adding me and @Killface1980 to the team is a good idea indeed and it should speed things up a bit. I don't want to take your time for a  simple fix, but major changes should still be discussed first.
I know that you named it as example mods and it sounded kind of misleading for me, isn't that mod pack the best example of how you can add your own mods? What's the point in having two separate repos for that?
I'll let you know when it's ready to pull.

@javisar Ok, I think it's ready. We might wait and see if @Killface1980 likes the result.

Ok, we'll wait for @Killface1980 to confirm it.

Totally agree. The PressureDoorMod and StorageLockerMod were made by me.


[Go Live][May 20]

Push to live

Docs Build status updates of commit 2d280f8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/bots/how-to/conversations/conversation-messages.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/build-and-test/deep-links.md
:white_check_mark:Succeeded
View

msteams-platform/tabs/what-are-tabs.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Requested entity was not found. [Bug]

Hello, i use this library to send notification cloud message, but i get an error when token is old, i mean i try to launch application from my device (react-native) register my new token on laravel and then send notification, and working, on relaunch and re-installetion of appliation and so new registration of token (no refresh - i manage this - but isnew one, so the old is unregisted) i get error near old token that block the execution of script:
NotificationChannels\Fcm\Exceptions\CouldNotSendNotification
Requested entity was not found.

NotificationChannels\Fcm\Exceptions\CouldNotSendNotification::serviceRespondedWithAnError
vendor/laravel-notification-channels/fcm/src/Exceptions/CouldNotSendNotification.php:11

exist a way to fix it? maybe ignore if return an error ? thanks

problem is other package that use this package!


[Feature Request] Style Settings Support

Hello, I am requesting a feature which includes support for Style Settings, a plugin frequently used with popular themes such as Prism.
This would make customization of the digital garden seamless.
Thanks!

That would be really cool, and make the plugin more accessible for people who don't know how to write their own CSS. I will look into if this is possible to implement somehow. Thanks for the suggestion!

This has finally been implemented in the latest release of the plugin and template. It's described how to use it here: https://dg-docs.ole.dev/getting-started/04-appearance-settings/#style-settings-plugin

Could it be that it doesn't work for all themes? For example, when applying settings for the PLN theme, nothing is added to the git repo.


[BUG] Service Bus messages are not fetched when SessionIdleTimeout is set  to 00:00:00 and PrefetchCount > 0

Library name and version
Microsoft.Azure.Extensions.ServiceBus 5.6.0
Describe the bug
When we use built-in Service Bus trigger in Logic App Standard stateless workflow with SessionIdleTimeout set to 00:00:00 and PrefetchCount set to >0 in the  host.json file, the messages are not fetched from Service bus.  Only when we change the SessionIdletimeout  value greater than 0 (for instance 00:00:01) the messages are fetched from Service Bus.
Expected behavior
When the SessionIdleTimeout set to 00:00:00 and Prefetch count >0, the messages are expected to be fetched from service bus
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
"version": "[1.*, 2.0.0)"
},
"extensions": {
"serviceBus": {
"prefetchCount":20,
"batchOptions":{
"maxMessageCount":3,
"operationTimeout":"00:01:00",
"autoComplete":false
},
"sessionIdleTimeout":"00:00:00"
}
}
}
Actual behavior
When we use built-in Service Bus trigger in Logic App Standard stateless workflow with SessionIdleTimeout set to 00:00:00 and PrefetchCount set to >0 in the  host.json file, the messages are not fetched from Service bus.  Only when we change the SessionIdletimeout  value greater than 0 (for instance 00:00:01) the messages are fetched from Service Bus.
Non working Scenario :
SessionIdleTimeout set to 00:00:00 and Prefetch count >0
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
"version": "[1.*, 2.0.0)"
},
"extensions": {
"serviceBus": {
"prefetchCount":20,
"batchOptions":{
"maxMessageCount":3,
"operationTimeout":"00:01:00",
"autoComplete":false
},
"sessionIdleTimeout":"00:00:00"
}
}
}
Working Scenario:
SessionIdleTimeout set to any postiive value other than 0 and Prefetch count >0
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
"version": "[1.*, 2.0.0)"
},
"extensions": {
"serviceBus": {
"prefetchCount":20,
"batchOptions":{
"maxMessageCount":3,
"operationTimeout":"00:01:00",
"autoComplete":false
},
"sessionIdleTimeout":"00:00:01"
}
}
}
Reproduction Steps
In the Standard logic App Stateless workflow, we used the 'When messages are available in a topic subscription (peek-lock)' Service bus trigger with SessionEnabled property set to 'true'

The trigger is followed by Compose and 'complete the message' action. Below is the expression set on the complete the message action
triggerOutputs()?['body']?[0]?['messageId']
Unsuccessful scenario:
we have the SessionIdleTimeout set to 00:00:00 and Prefetch count >0 in the host.json file. With this configuration we do not see any messages fetched from Service Bus.
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
"version": "[1.*, 2.0.0)"
},
"extensions": {
"serviceBus": {
"prefetchCount":20,
"batchOptions":{
"maxMessageCount":3,
"operationTimeout":"00:01:00",
"autoComplete":false
},
"sessionIdleTimeout":"00:00:00"
}
}
}
Working Scenario:
We have the SessionIdleTimeout set to any positive value other than 0 and Prefetch count >0 in the host.json file. With this configuration we see messages fetched from Service Bus.
{
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle.Workflows",
"version": "[1.*, 2.0.0)"
},
"extensions": {
"serviceBus": {
"prefetchCount":20,
"batchOptions":{
"maxMessageCount":3,
"operationTimeout":"00:01:00",
"autoComplete":false
},
"sessionIdleTimeout":"00:00:01"
}
}
}
Environment
No response

Thinking about this a bit more, I believe this is the expected behavior. The ability to pass a maxWaitTime of 0 to a receive call allows you to empty the prefetch buffer when prefetch is enabled. However, if you were to set sessionIdleTimeout to 0 (which gets passed as the maxWaitTime in receive calls), then you are potentially not allowing the prefetch buffer to fill before closing the receiver. For this reason, you should set some minimal amount of wait time for the sessionIdleTimeout to allow messages to be received (whether using prefetch or not).


Add as_dicts to Fugue API

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

Comparison is base (c4ecb27) 100.00% compared to head (a0781a6) 99.99%.
 Consider uploading reports for the commit f7e3298 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##            master     #522      +/-   ##
===========================================
- Coverage   100.00%   99.99%   -0.01%
===========================================
  Files          128      128
  Lines        12084    12167      +83
===========================================
+ Hits         12084    12166      +82
- Misses           0        1       +1

Files
Coverage Δ

fugue/api.py
100.00% <ø> (ø)

fugue/dataframe/api.py
100.00% <100.00%> (ø)

fugue/dataframe/arrow_dataframe.py
100.00% <100.00%> (ø)

fugue/dataframe/dataframe.py
100.00% <100.00%> (ø)

fugue/dataframe/iterable_dataframe.py
100.00% <100.00%> (ø)

fugue/dataframe/pandas_dataframe.py
100.00% <100.00%> (ø)

fugue/plugins.py
100.00% <ø> (ø)

fugue_test/dataframe_suite.py
100.00% <100.00%> (ø)

fugue_polars/polars_dataframe.py
99.26% <75.00%> (-0.74%)
:arrow_down:

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


Only show add-prefix-from-prefix option when it's usable

Don't show the "Add prefix from prefix"-option in the prefix list popup menu when clicking prefixes with max prefix length, as no prefixes can be allocated from these.
Fixes #863

LGTM


Close icon design adjustment for removable tags

I noticed that when hovering over the close icon in a removable tag, the x is a little too close to the top right of the circle, to the point where it is touching the edge. This change makes it appear more centered in the circle. It still doesn't look perfectly centered but at least to me it is more visually appealing.
Before:

After:

Thanks, but changing font size does not seem to be the best way to fix this because in some browsers, font sizes smaller than 12px actually make no difference.


Seek

Implement the spc seek command (see https://github.com/dvdmuckle/spc/issues/30).

Looks good to me!


Add time range filter category type, use instead of search filter for filtering on timestamps

Noticed this in #142. The filters for start and end time should ideally be a date/time range picker instead of a search filter, but we don't quite have support for that in PF or FilterToolbar yet. There is a beta component https://www.patternfly.org/v4/components/date-picker we can use in the future, but it doesn't support times and ranges yet, and then once it does we'll also need to add a new type of FilterCategory for time ranges.
Opening this issue so we don't forget about this, but it's blocked by PatternFly for now.

There is now a time picker component as well: https://www.patternfly.org/v4/components/time-picker
But, there still isn't a good way to make a control for selecting a range from start date AND time to end date and time. The date picker component has date range support, but doesn't include times. And the time picker component doesn't include dates. So we'd have to come up with a design that involves some kind of dropdown with 4 fields (start date, start time, end date, end time) which may be better addressed in PF itself.
I think maybe the next step here is to bring up the requirement with a PF issue and see what we could do about this at the design level.


HPX fails to build with enabled hdf5 examples

Hi,
HPX fails to build when flag -DHPX_WITH_EXAMPLES_HDF5=On is passed to cmake.
HDF5 library is present in system and reported by cmake as found.
Best,
Arturas

@arturas-venskus-flf: Would you mind posting your cmake output and build logs, please?

Error occurred during linking stage. From CMakeError.log: /usr/bin/ld cannot find -lpthreads
System contains libpthread.so but not libpthreads.so. Maybe somewhere is misspelled library name as stated for example here https://stackoverflow.com/questions/37967086/usr-bin-ld-cannot-find-lpthreads
Sorry cannot post output and logs due to company's policy
Arturas

@arturas-venskus-flf: We do not add -lthreads to our build scripts anywhere. The only thing we do is to add -pthread to the compiler command line, if appropriate.
What version of cmake do you use. We've had issues with certain cmake versions before...
Also, what target failed to link for you?

@hkaiser: CMake version is 3.5.1. Failures in CMakeError:

Determining if the pthread_create exist failed ... CheckSymbolsExists.c undefined reference to 'pthread_create'

Determining if the function pthread_create exist in the pthread failed ... CheckFunctionExists.c ... /usr/bin/ld cannot find -lpthreads

@arturas-venskus-flf from what I can see, this error message you're seeing is produced by one of the feature tests automatically generated by cmake. This should have no impact on building HPX at all as this test is invoked to figure out what library is exporting the pthread symbols on the current platform (some platforms have libthread.so, some libthreads.so).
Is this error in the cmake log the only 'indication' that something is 'wrong'?

@hkaiser I was able to reproduce issue in my laptop. Please find error, log and cout dump files attached:
CMakeError.txt
CMakeOutput.txt
install_hpx.txt
In install_hpx.txt also other cmake errors are captured.

@arturas-venskus-flf Thanks.
Could you please provide the following additional information:

cmake version
gcc version
HPX version
cmake command line

Also, from what I can see from those logs, the -lpthreads problem you listed above is a non-issue. Something else is wrong. I also think that this issue is unrelated to enabling the HDF5 examples.

Ok, I saw now, that you're using gcc 6.2.

gcc 6.2
cmake 3.5.1 (with 3.8.2 the same issue)
HPX version 1.0.0
command: cmake -DCMAKE_CXX_FLAGS=-std=c++14 -DCMAKE_INSTALL_PREFIX=/opt/hpx_1.0.0  -DHWLOC_ROOT=/usr -DHPX_WITH_MALLOC=system -DHPX_WITH_EXAMPLES_HDF5=On /home/USER/Libs/hpx_1.0.0 | tee install_hpx.log
CMakeError.txt list problem related to lpthreads
I've succeeded to compile hpx core, tests, examples, examples with tbb, opengl. Only the problem appears when -DHPX_WITH_EXAMPLES_HDF5=On is passed to cmake, otherwise compilation is ok.

@arturas-venskus-flf Ok, thanks for this information. I think we can close this issue at this point as the HDF5 examples are massively broken in V1.0.0 anyways (I just fixed them here: #2749, if you really need them, the fixed examples should compile fine against V1.0.0 - although I have not tried it).
I'd suggest you don't use -DHPX_WITH_EXAMPLES_HDF5 with this version of HPX.
Thanks for reporting this issue! I have started start a list of known issues with V1.0.0 for others to avoid running into those problems: https://github.com/STEllAR-GROUP/hpx/wiki/Known-issues-in-HPX-V1.0.0.
Please feel free to reopen this issue if needed.


This is not your Grandfather's Internet.

Not like issue but may not feel good about this line
Instead you say
Grandfather will love this (new/magnificent / black/voodo ) magic or may be other positive line which actually convey your meaning. that's its new age technology.
Again you can close you don't agree.

And I'm young so I have no problem :)

The headline is meant to be tongue-in-cheek. No complains yet ;)


batch_gather_nd op Size Op missing for Tensorflow Lite

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): ubuntu 18.04
TensorFlow installed from (source or binary): binary docker latest
TensorFlow version (or github SHA if from source):v2.0.0-rc2-26-g64c3d38 2.0.0

Any model using batch_gather_nd (gather_nd when batch!=0 and input tensor has indefinite batch dimension) will rely on Size op (batch_gather_nd->meshgrid->size->Size) when the batch dim is -1 (unspecified). Lack of Size op renders gather_nd op useless in many cases.
Another possible fix here: decouple batch_gather_nd from Size. (Is that possible?)
Here I used a monkey patch here to solve the problem: when batch dimension is 1, do not call meshgrid and directly use the range above the line since range does not rely on size.
    mesh_list = meshgrid(*dim_ranges, indexing="ij") if dim_ranges else []

changed into
    if len(dim_ranges)==0:
      mesh_list = []
    elif len(dim_ranges)==1:
      mesh_list = dim_ranges
    else:
      mesh_list = meshgrid(*dim_ranges, indexing="ij") if dim_ranges else []

That might be helpful if anyone want to use batch_gather_nd on tensorflow lite.
Update: I am wrong here. batch_gather_nd is not supported in tensorflow lite at all. The reason lies in that batch_gather_nd used range with indefinite length, which makes the dimension of the output empty; however range is used later and tiled and concatenated etc, however in the eyes of tensorflow optimizer, the shape is always [] so they are noop and any operation related are noop, effectively makes shape of every tensor related empty (shape=[]). So it is the batch_gather_nd op that is missing
Update: I have just noticed that Tensorflow Lite will always generate code for batch=1, so a fast solution is: set a export_lite flag in keras model definition part and make the lambda layer for batch_gather_nd act specially when exporting for tensorflow lite - return the tensor as if batch=1 even when batch=None actually.
So the problem remained for tensorflow devs here is: support the harmonious implementation of batch_gather_nd between tensorflow and tensorflow lite; or natively provide a GatherNd layer in keras that works correctly in tensorflow lite.
Summary:
Expected behavior: using gather_nd when batch=1 should generate correct graph when a keras model is exported into tensorflow lite
Actual behavior: batch_gather_nd fails to generate correct dimension for its output in tensorflow lite.
Reproduce: To reproduce behavior, use gather_nd in one lambda layer (with batch=1) and export the model into tensorflow lite
Problem: gather_nd should be specially dealt with in exporting process.
Monkey patch in user code: in the gather_nd function in your Lambda layer, check out whether you are exporting into a tensorflow lite binary. If an exporting is in progress, take as if the dim is 1 and keep the batch_dims=0. When arg=[params,indices], simply gather_nd(arg[0][0], arg[1]) will do the job.
Solution: make a dedicated GatherNd layer in keras who can correctly handle the different behavior between tensorflow and tensorflow lite.

@ThinerDAS,
Is this still an issue? Could you please update TensorFlow to v2.3 and check if you are still facing the same issue. Thanks!


One of the two shared servers is always loading

Type: Bug
One of the two shared servers is always loading
Extension version: 1.0.5834
VS Code version: Code 1.77.0 (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T10:02:16.981Z)
OS version: Windows_NT x64 10.0.19044
Modes: Restricted
Sandboxed: Yes

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.87GB (5.83GB free)

Process Argv
--crash-reporter-id c93c6b5d-a062-470b-a7a2-c171a4e757ce

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyonecf:30548226
vscccc:30610679
nodejswelcome1:30587005
2e4cg342:30602488
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
a9j8j154:30646983
vsctsb:30705553
defaultazurewalk:30687958
pythonms35:30701012

Hi @fraFerrari99 - As is, this issue doesn’t have enough information for us to investigate further. Can you share more details on the issue you're seeing?

Hi @derekbekoe, I'm doing a live share with my colleague of the project where we are working and we have two servers that we share, one is localhost:8000 (this one is working) and the other one is localhost:4200 but it's always loading when you try to open the page on the browser, without printing any errors.

Is anything being done about this issue?

Hi - so far we've been unable to reproduce this.
However there are a few things to note:

Live Share listens on localhost/<IP_ADDRESS>. Is your server that isn't working listening on that?

The server on the port you specified will now be mapped to each guest's localhost on the same port (unless that port is already being used).
If the port is already being used on the guest's computer, a different one is automatically selected.

Please note that each port has to be explicitly shared by the host of the session - https://learn.microsoft.com/en-us/visualstudio/liveshare/use/share-server-visual-studio-code#share-a-server.

Let us know if any of that helps or if you have any additional information.

This fixed itself about a month ago, and has started again.
It doesnt even matter if i switch ports - could this be GatsbyJS related? as my Vue projects work just fine

Thanks for the update. As is, this issue doesn’t have enough information to be reproduced. Please let us know if the issue persists with any additional details. Thank you.

We are having the same issue but with localhost:8000 - its always loading

yes i have same issue tooo.
shared server is always loading


Fix NOTES.txt for kafka chart

It appears demo scripts are in "/usr/bin", and have no ".sh" extension.

/ok-to-test

/lgtm


[spike] - Investigate using react-docgen to generate markdown version of props-table

Feature Request
Description
We are looking at updating our usage of react-docgen from a client-side usage to a build-step usage to reduce the bundle size of our documentation site.
With this, we want to look at if/how we can use react-docgen to generate markdown files of the props table for components. We'd then pipe these into the doc pages. The main focus of this spike is figuring out how we might go about generating the prop tables as markdown files via react-docgen.
Importing the markdown files into the docs is not so much of a concern of this spike.

Hi @amichaelparker,
After this code changes are merged we are getting below errors on our internal theme repos (Cerner-Clinical-Theme, Orion-Fusion-Theme) :

Master build is failing with same Error : https://jenkins.cerner.com/ion/blue/organizations/jenkins/terra-internal%2Forion-fusion-theme/detail/master/101/pipeline/
I assume this error is due to the terra-props-table-loader which is defined within scripts folder in terra-core. Theme Repos not able to resolve path for terra-props-table-loader.
cc : @bjankord


⚠ Bofrost.at has degraded performance

In ee0305a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2573 ms

Resolved: Bofrost.at performance has improved in 4eeced5.


Cannot set property 'canvas' of undefined

When I try to run the example code on my installation I get the following error:

TypeError: Cannot set property 'canvas' of undefined
at Chart (/usr/local/lib/node_modules/nchart/Chart.js:22:15)
at repl:1:7
at REPLServer.self.eval (repl.js:110:21)
at repl.js:249:20
at REPLServer.self.eval (repl.js:122:7)
at Interface. (repl.js:239:12)
at Interface.emit (events.js:95:17)
at Interface._onLine (readline.js:202:10)
at Interface._line (readline.js:531:8)
at Interface._ttyWrite (readline.js:760:14)

The code was executed in the interactive console and the error appears on the call 'Chart(ctx)'.

Which is the example?
Reinstall dependences and try again.

The example on the README file:
var Canvas = require('canvas')
  , canvas = new Canvas(800, 800)
  , ctx = canvas.getContext('2d')
  , Chart = require('nchart')
  , fs = require('fs');

Chart(ctx).Pie(
    [
        {
            "value": 50
          , "color": "#E2EAE9"
        }
      , {
            "value": 100
          , "color": "#D4CCC5"
        }
      , {
            "value": 40
          , "color": "#949FB1"
        }
    ]
  , {
        scaleShowValues: true
      , scaleFontSize: 24
    }
);

canvas.toBuffer(function (err, buf) {
  if (err) throw err;
  fs.writeFile(__dirname + '/pie.png', buf);
});

Which dependencies? 'node-canvas'?

Yes, The canvas module  is required.

Looks like to get it working instead of
var Chart = require('nchart');

should be
var Chart = new (require('nchart'))(ctx);

and the following part
Chart(ctx).Pie(

should be
Chart.Pie(

Good catch!
That's it.
I should update these examples.

Fxed in v1.0.1.