The requested resource is no longer available at the server

We are exporting data from our on-premise sql database to cosmos db. Recently we started getting this error all the time:
Microsoft.Azure.Documents.DocumentClientException: Partition range id 1 | Failed to import mini-batch. Exception was Message: {"Errors":["Encountered exception while executing function. Exception = Error: {\"Errors\":[\"The requested resource is no longer available at the server.\"]}\r\nStack trace: Error: {\"Errors\":[\"The requested resource is no longer available at the server.\"]}\n   at createCallback (__.sys.commonBulkInsert.js:6236:26)\n   at Anonymous function (__.sys.commonBulkInsert.js:758:29)"]} ActivityId: a1a87bae-0f63-4e1d-9c63-2691087c3418, Request URI: /apps/47cc183b-8aaa-487d-8cbd-6e027a0e8189/services/26b588ac-2b7c-4be5-a2af-2ab06457fd12/partitions/5ad42c87-01af-4ebc-b13b-d6fa5b3cfd07/replicas/132069324516526529p/, RequestStats:  RequestStartTime: 2019-07-10T13:34:45.2174553Z, RequestEndTime: 2019-07-10T13:34:45.3580856Z, Number of regions attempted: 1 ResponseTime: 2019-07-10T13:34:45.3580856Z, StoreResult: StorePhysicalAddress: rntbd://cdb-ms-prod-centralus1-fd16.documents.azure.com:14038/apps/47cc183b-8aaa-487d-8cbd-6e027a0e8189/services/26b588ac-2b7c-4be5-a2af-2ab06457fd12/partitions/5ad42c87-01af-4ebc-b13b-d6fa5b3cfd07/replicas/132069324516526529p/, LSN: 791965, GlobalCommittedLsn: 791965, PartitionKeyRangeId: 1, IsValid: True, StatusCode: 400, SubStatusCode: 410, RequestCharge: 75.72, ItemLSN: -1, SessionToken: -1#791965, UsingLocalLSN: False, TransportException: null, ResourceType: StoredProcedure, OperationType: ExecuteJavaScript
Possible useful info:
The collection size grew to nearly 10 GB and we now have 2 partitions (we used to have only 1)
The partition key is set to the \id and the \id is the original sql object id
This is blocking us, as we are no longer able to export data to cosmos db.

I tried this again to see if this happens with a new collection and it did. After 10GB a new partition was created and I started getting that error again.

Did you solve the problem? I'm using pyspark instead, but I'm stucked on this, any idea or cause will be very grateful.

Yes I did manage to fix this.
It turns out this was caused because we were setting the id to an integer value.
After converting the id to a string everything started working again.

Ok, thank you for your quick response.
I don't think this is the cause of my problem. I think it's related with the recreation of the collection with the same name, but i'm not sure yet.
Thanks!

@acdf-pue did you managed to solve the issue? I think I have the same

Hello Redrick.
Sorry, but I didn't. Even Azure couldn't help us. In our case it seems is related with a nested key (client.id). Now we are using a simple one without levels (clientId) and it works fine.
I hope it helps.


2.9 release

Description (required)
Fixes #{GitHub issue number} {Github issue title}
What changes did you make and why?
Tests performed (required)
Tested {build variant, e.g. ProdDebug} on {name of device or emulator} with API level {API level}.
Screenshots showing what changed (optional - for UI changes)
Need help? See https://support.google.com/android/answer/9075928

Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.

Hi @zenkraker , I think this is accidentally created. If so, I will close it.


how to interpret attention maps?

Hello, when looking at the attention maps you have generated in Colab notebooks, how can we interpret them. Generally I will expect attention map to show which input and/or which time-step was important/relevant for making prediction. The x-axis and y-axis both are equal to 96 i.e. seq_len. Can you give high level explanation of the attention map figs?

Hi, the explanation of the multi-head attention in Transformer has been a research field, the effect of Transformer is a complex combination of attention of different heads in different layers, which is different from the attention used on RNN or CNN in the past. Some research found that self-attention mechanism in different layers focuses on different information, such as low-level semantics and high-level semantics, and different heads in the same layer focus on different patterns, for example, some focus on the next word, and some focus on words with similar semantics. So the analysis of multi-head self-attention feature map is a direction that needs further research.

If attention doesn't tell anything more what an otherwise (black box) model tells us, then is there any purpose of attention other than improvement in prediction performance? I thought attention makes the model slightly interpretable?

Actually, our ProbSpare just set some Query-Key pairs as the average value. You could still redraw the attention map if needed. But it may need more modification on the implementation of the self-attention layer. If you have done some exciting work, pull requests are welcome.


DB prepare compliance Reporting

[x] decide on menu structure for compliance reports (maybe start with a single simple compliance report as PoC)
[ ] Prepare database - add compliance zone table
[ ] Prepare database - add compliant access matrix (matrix_id, src_zone_id, dst_zone_id, service_id)
[x]  add simple rule filter - rules with any objects: type=compliance and time=now and (src=any or dst=any or svc=any or src=all or dst=all or svc=all) and not(action=drop or action=reject or action=deny)
[ ]  add simple rule filter - cleanup rule (negation is a problem here)
[ ] alternatively: try to use rule tables for compliance rules (maybe in special management with compliance_mgmt = true)

will be handled in #876


chore(main): release 0.66.2

:robot: I have created a release beep boop
0.66.2 (2024-02-20)
Bug Fixes

Image: Install procps to have pkill (4f251ec)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-app/releases/tag/0.66.2 :sunflower:


Creating ports for external members

Hi,
We are seeing issues with the concept of creating Neutron ports for external members i.e. this code block https://github.com/F5Networks/f5-openstack-lbaasv2-driver/blob/v9.3.0/f5lbaasdriver/v2/bigip/service_builder.py#L178-L195
I can't reproduce the entire issue, but we have seen issue when ports belong to nova compute members have been changed to device owner = network:f5lbaasv2. It appears to an edge case when VMs are deleted without having the corresponding member deleted and/or the use of ports to define define the nova fixed ip.  This caused problems because after this change when the member was deleted the (previously nova managed) port. This broke connectivity to the VM.
We are not sure why it required to create these shadow ports for external member. If a user creates an external member and subsequently this is modelled as a neutron port by user choice, the driver's action of creating an LBAAS managed port blocks this possibility.
Furthermore, the are consequences in more complex network scenarios e.g. a multiple level HBP network where the ML2 binding process needs to be completed for the port to have any connectivity.
Would it be possible to provide some rationale as to why these ports are created ?
We are working with the 9.3.0 codeline
Thanks
Andrew

@abattye To support HPB operation (integration with Cisco ACI), we must create a neutron-port on behalf of a pool member when it is a physical server.  The Cisco ML2 driver only creates a dynamic network segment in response to port creation.  When the pool member is a VM within OpenStack, nova will create the neutron-port.  This triggers creation of the network segment.  When the pool member is a physical server, nothing triggers creation of the network segment and creating a pool member for the loadbalancer will result in traffic not reaching the server.


SAK-41857 - Update frontend-maven-plugin version to 1.7.6

I verified the resulting war's were the same. The speed-up isn't as significant as I thought, but it is still a little better. ;)


Fix SMTP config regression when not using authentication

user_name and password need to be set to nil when no authentication should be performed
Fixes #1657

LGTM. It might be nice to also add a magic "none" value for SMTP_AUTHENTICATION that makes it nil as well, since @virtadpt said he needed to set it to SMTP_AUTHENTICATION= in your .env to make this work?

I don't think that is needed, we defaulted to plain before the config change, Net::SMTP is only running the authentication when a user is passed.

LGTM then

Thanks!


Chinese screenshot in English doc

[x] https://kubesphere.com.cn/docs/v2.1/en/installation/port-firewall/ has a Chinese screenshot.

Done.
https://kubesphere.io/docs/v2.1/en/installation/port-firewall/

verified


Is this app deprecated or can it still function for Linux in 2019?

I am still maintaining this app and can be run in any distribution of Linux. If you have issue, please let me know.


Configuration cache instrumentation of dynamic Groovy misses type coercions

When instrumenting dynamic Groovy bytecode, certain patterns are not detected because of the internal Groovy type coercions, which instrumentation code doesn't always account for. The most notable is GString -> String conversion, like that:
import java.io.*

def name = "AAAA"
def fname = "${name}.txt"

try(def in = new FileInputStream(fname)) {

}

There's no AAAA.txt detected as an input.

This also blocks migrating the remaining instrumentation code to use the annotation processor, as there is GString handling (though incorrect).

@mlopatkin Three test cases in CollectionPropertyIntegrationTest (starting with this one) fail with the CC integ test executer due to GString being seen when a plain String was expected. I intend to mark them incompatible with CC due to the present issue. Do you agree with that assessment?

@mlopatkin Three test cases in CollectionPropertyIntegrationTest (starting with this one) fail with the CC integ test executer (and load-after-store enabled) due to GString being seen when a plain String was expected. I intend to mark them incompatible with CC due to the present issue. Do you agree with that assessment?

I'm not sure the problem in the test is related to this issue, it may be some other subsystem (serializer?) tripping over. Maybe filing a new issue would be better.

Thanks, opened https://github.com/gradle/gradle/issues/27528


stat command does not return octal permissions

Hi Marcin!
Looks great to me - thanks!
Will marge it and release in next revision (somewhere next week) - is that cool or do you need it right away?

Hi Marcin!
Looks great to me - thanks!
Will marge it and release in next revision (somewhere next week) - is that cool or do you need it right away?

No need to rush. Puppet provider is aware of wrong file permissions. The new version will be 2.4.13, am I right? I mean, are you going to include this change in 2.4.13? I have to add small if statement into puppet provider.

Yes the new version will be 2.4.13 and will include this change - you can see detailed release plan here: v2.4.13


retry browser tests if they fail

@shamilovtim working on replacing Karma that will eliminate the need for the lengthy timeouts


added pdf and cleared output

I added a pdf of the notebook with all plots and updated the dropping section. I uploaded now a cleared notebook with all changed from today.

Looks good. Thank you!


RequestPurchaseAsync infinity loading

Hello!
I our UWP in WinUI3 games some users can make purchases, some users can't make purchases.
After execute RequestPurchaseAsync method purchase window opened and show Wait a moment..., then text dissapear and white loading window stays.

We are changing the way we track issues filed from our documentation pages: please see this blog post for more details. The Microsoft Store documentation has been updated several times since your issue was reported, and there's a good chance your problem has been addressed. Right now, this issue is being closed but if you feel it is still valid and has not been addressed, please re-open it with any more available information. Please note that if you question is more general and not related to documentation, Microsoft Q&A is a great way to get questions answered.


Question about the output dimension of Autoencoder

❓ Questions & Help

Hi Matthias, thank you for this handy library. I'm trying to use the Autoencoder (autoencoder.py) for the node embeddings, but I found a question about the output dimension. Could you please help me with this?
I use the CiteSeer dataset with split = full. (--> represents output)
dataset = Planetoid("/tmp/citeseer", "CiteSeer", split = 'full', transform=T.NormalizeFeatures())
data = dataset[0]
data
--> Data(edge_index=[2, 9104], test_mask=[3327], train_mask=[3327], val_mask=[3327], x=[3327, 3703], y=[3327])

data.edge_index
-->tensor([[   0,    1,    1,  ..., 3324, 3325, 3326],
        [ 628,  158,  486,  ..., 2820, 1643,   33]])

Then I just follow the steps, use train_test_split_edges to split the data, turn labels and masks into None, use train_pos_edge_index to train the model, and finally encode the whole dataset.
The output of dataset looks like the following:
model.eval()
z = model.encode(x, original_data.edge_index.to(dev))
z.shape

--> torch.Size([3327, 16])

As you can see, we have these tensors:

feature matrix (x): [3327, 3703]
node label (y): [3327]
final output node embedding (z): [3327, 16]

So my questions are:

Does the row index in x, y, and z all have the same meaning, which points to the same node? (I think the answer is yes, just for a double-check with you)

If 1 is yes, does this mean "row index" strictly points to the node index in the original edge_index? For example, the first row in x, y, z all point to the number '0' in edge_index, while the second row means '1' in edge_index, and so on.

If I want to use a new edge list to train my model, do I need to put all the unique nodes in the first tensor of edge_index (edge_index[0])? So later when I encode them into [0, max(unique_node)], all the new index can appear in the first tensor firstly.

If I have some new nodes come, and I want to encode them using the existing model. When I implement model.encode(x, new_edge_list), should I use the original x or the updated x that contains new nodes? And how can I insert the features of the new nodes into our existing model?

I'm sorry for these long questions, Matthias. Thank you so much in advance for your time and help. Have a nice day!

Hi,

Yes.
Yes.
I'm not sure I understand that. edge_index holds the source and target node indices of each edge. unique(edge_index[0]) gives you all the nodes that have at least one outgoing edge. If you want to add edges to it, you can simply concatenate them to edge_index. They do not need to be sorted.
If you have new nodes, x needs to also hold node features for those new nodes. The easiest way is to just concatenate them to new original x in the first dimension.

Hi Matthias! Thank you a lot for your reply. It's really helpful, and I understand it now.
Thanks again!


no demo in downloads npm link broken why bother?

no demo in downloads npm link broken why bother?

There is a demo in the download if you build and rub the project.  The link from GitHub to online demo also works!

usually demos work outside the box - you haven't included the dependencies. Cant find the link on here for demo - shame because it looks good. If only I could see a working example!

You do not commit dependencies to source code, this would substantially increase the size of the package and are not required for use in production.
The online demo link is http://jonmiles.github.io/bootstrap-treeview.

I thought it was a sortable one - thanks anyway.


[bug] indentation after lstlisting with long captions

A very simple example would be this. This is the formatting tex-fmt gives:
\begin{document}

\begin{lstlisting}[caption={a very long and complicated caption that
does not fit into one line}]
    \end{lstlisting}

    \section{asdas}
    Indent wrong

    \end{document}

I would expect someting more like:
\begin{document}

\begin{lstlisting}[caption={a very long and complicated caption that
  does not fit into one line}]
\end{lstlisting}

\section{asdas}
Indent wrong

\end{document}

I don't now the exact reason, but when switching to some other blocktype e.g. figure the identation is correct.

i think it's all Verbatim environments at least verbatim, Verbatim, lstlisting, and minted

Thanks, I will look into this.

I have added a fix in 5338473f6160b07d06b5e6d78cb10f9c6ff91feb on the indentation-verbatim branch. The new approach is to totally ignore lines containing \begin{lstlisting} and \end{lstlisting}, as well as the lines in between. The same applies for verbatim, Verbatim, etc. This should prevent the incorrect indentation bug you are experiencing, but doesn't provide the wrapping and indenting of long captions you suggeseted. I think this is going to be hard to implement at the moment as it will need considerable care to make sure we match the caption (and other environment options) while not affecting any content inside the verbatim environment.

I'm going to close this issue now the main problem has been resolved. I understand this may not be the ideal solution at this stage; feel free to reopen the issue, especially if you have thoughts on an implementation.

I'm going to close this issue now the main problem has been resolved. I understand this may not be the ideal solution at this stage; feel free to reopen the issue, especially if you have thoughts on an implementation.

I will hopefully look at implementing a fix for this. I am currently working on my thesis and after that there should be time :).


Added strong name.

Hi Nicholas,
Per your request, I am submitting this PR with strong name. This is my first time on contributing to open source project on github. Please let me know if you want me to do anything else.
Thanks.
Raghu/..

Wonderful - that's perfect, thanks Raghu.


Add Unit Tests for some of the models

Description
Just some Unit tests for Product, Additive, AdditiveName and AddtiveResponse. I only tested methods that include actual logic. I didn't touch any of the Production code, so this doesn't fix any problems.
Related issues and discussion
None. Doesn't touch production code.
Checklist
I'm pretty sure I got all the items here, but as this is my first time contributing here, I may have done something wrong.
I enjoy writing these tests, and I feel it's a good way to get to know the codebase, so I'll probably end up writing more in the next couple of days. If I do I imagine you'd want me to put them all into one pull request, which I'm willing to do.

Hey @gspitz01,
Your changes look good to me!

Merged, thanks @gspitz01


[WIP] Enable logspout everywhere but dev

I didn't realise this was gated and not enabled. Since we're using Logit everywhere now, we should ship all Docker logs across by default.

We wish to look at other options than using logspout. For example, using the syslog driver and appropriately configuring rsyslog to output logs to a directory for each container.

Closing this for now.


[TACHYON-1428] Documented the tests in the tachyon package in preparation for the checkstyle rule

https://tachyon.atlassian.net/browse/TACHYON-1428

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7376/
Test PASSed.

LGTM. Thanks for the doc improvement.


Update README.md

Corrected some spelling errors

Hi @IainPHay do you mind including in our PR a fix for the services card? I don’t want to do another since you’ve got more fixes here.
line 166 should replace “services” with “entities” to fix the services report card on the latest home-assistant release.

entities

Sorry for slow reply, sure can do, to clarify
"sensor.watchman_missing_services", "services") to "sensor.watchman_missing_services", "entities
or
"sensor.watchman_missing_services", "services") to "sensor.watchman_missing_sentities", "entities
?

Yeah should be:
state_attr("sensor.watchman_missing_services", "entities")

Yeah should be: state_attr("sensor.watchman_missing_services", "entities")

Cheers that's done.


svyWebcam does not work with Ti-Client [2<IP_ADDRESS>04]

Hey guys,
i updated my Servoy Project to Servoy 2022.09 and upgraded from NG to Ti.
Now the svyWebcam is not working. It doesn´t even show in the form-editor.
I checked the repo and saw that the last update was on JAN/2021.
Is there a update comming soon to this component or is it deprecated now? Thas would be fatal if there is no replacement for it.
-R4IN

Hi R4IN,
there is a TiNG implementation for the svyWebCam but yet has to be officially released.
I have created a follow up task in our ticket system to which you can subscribe as a watcher.
https://support.servoy.com/browse/SVYX-526
Regards,
Paolo

Hi, I released the new version.


Issues with electro-optical example submissions

This issue was brought to our attention by @boy4429856821
This issue is the same between the example submissions EBeam_heaters_BraggGratingwithHeater.gds  EBeam_heaters_BraggGratingwithHeater.oas,  EBeam_heaters_BraggGratingwithHeater.yaml and in test.gds and test.yaml.
The optical coordinates do not seem to get populated properly in the Yaml file when using these examples and the included yaml files cause testcreator to throw an error in vscode or crash when run in the command line.

Looking at the example it seems that the optical coordinates are there, but the electrical coordinates are not populated and multiple electrical test sequences are defined .

Both the gds and oas files have an electrical pad that is named like this

One is able to use the software to create a yaml file, but it will not contain the coordinates of the electrical pad despite defining an electrical test sequence. Test creator displays two error messages when importing the .txt file from a GDS containing an _G in the electrical pad name. The first error has to do with the naming of the electrical pad label and the other error has to do with the last line in the .txt file which has something to do with photonic wire bonding locations; this error doesn't seem to have a bearing on how the Yaml files are generated thankfully. Interestingly enough, I can open a yaml that I generate even when it doesn't contain electrical coordinates without causing test creator to crash, but the default yaml example does cause it to crash. It could be that the particular sequences that were defined create an error condition or it could be that the example yaml was generated using an older version of the software.

The test creator readme says that electrical pads need to be labeled simply with the name of the device without _G at the end

One of the images in the testcreator readme shows an electrical pad named with a completely different name from the optical coupler so this may also be a documentation error

When I remove the _G from the electrical pad name I am able to generate a yaml file that contains the electrical coordinates in this format [G, xcoord, ycoord]. It still continues to generate an error message about the wire bonding line in the text file, but that doesn't seem to effect the yaml itself.

Side-by-side comparison of the default Yaml example and the Yaml that I generated after removing the _G. As one can see, the electrical coordinates are properly populated in the yaml that I generated but not the one that is given in the default example.

@JymBone5 @PetervandenDoel could you please take a look at this?
thank you

looks like the original issue was due to the change in naming convention between routine and sequences, that has been fixed it looks like, the last error message is due to a new section someone has added to the automated layout extraction, isn't causing any issues but I will make sure that next section is taken into account and not included, issue should be resolved now


[Vuetify] [UPGRADE] 'v-content' is deprecated, use 'v-main' instead.

After executing
npx create-nuxt-app <project-name>
cd <project-name>
npm run dev

Will have warning as below
 WARN  [Vuetify] [UPGRADE] 'v-content' is deprecated, use 'v-main' instead.                                                                                03:04:31

found in

---> <VMain>
       <VApp>
         <Layouts/default.vue> at layouts/default.vue
           <Root>

Versions

nuxt: v2.13.3
node:v10.16.2

Reproduction
execute as below
npx create-nuxt-app <project-name>
cd <project-name>
npm run dev

Additional Details

The default package.json
{
  "name": "src",
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "dev": "nuxt",
    "build": "nuxt build",
    "start": "nuxt start",
    "export": "nuxt export",
    "serve": "nuxt serve",
    "lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
    "lint": "npm run lint:js",
    "test": "jest"
  },
  "dependencies": {
    "@nuxtjs/axios": "^5.11.0",
    "@nuxtjs/pwa": "^3.0.0-beta.20",
    "nuxt": "^2.13.0",
    "vuetify": "^2.3.4"
  },
  "devDependencies": {
    "@nuxtjs/eslint-config": "^3.0.0",
    "@nuxtjs/eslint-module": "^2.0.0",
    "@nuxtjs/vuetify": "^1.11.2",
    "@vue/test-utils": "^1.0.3",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^26.0.1",
    "eslint": "^7.2.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-nuxt": "^1.0.0",
    "eslint-plugin-prettier": "^3.1.4",
    "jest": "^26.0.1",
    "prettier": "^2.0.5",
    "vue-jest": "^3.0.4"
  }
}

What is Expected?
It seems been fixed by Vuetify recently: https://github.com/nuxt-community/vuetify-module/pull/344
But in my package.json, the "@nuxtjs/vuetify": "^1.11.2" which "devDependencies" is using still has this problem

I don't think this is a bug of nuxt or vuetify-module
The sample of layout and page which provided by create-nuxt-app is based on old version of Vuetify.
But you don't have to use these samples.


Leading zero is removed

Looks like leading zeros in the csv input file is removed:
Input:
Name, Number
Joe Due, 02

Output:
[
  {
    "Name": "Joe Due",
    "Number": 2
  }
]

Any idea how to keep it as 02 (even putting it in quotes " does not work) ?

Figured out, it's checkType config


fix: better precision on xyz/srgb conversion

When converting back and forth between XYZ and RGB colour spaces, there is some loss of precision. This is particularly noticeable with multiple conversions and when using the .raw output.
Currently, the library uses a precision level of 4 fractional digits for this conversion. I've updated to use the full 7 fractional digits as defined here: http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html

Thank you :)


Internal error messages are not for translation

Removed  _() calls in the iemsg() and siemsg() functions.
Removed N_() in errors.h for internal error messages and debug messages.
Removed _() calls in messages in *DEBUG* definitions
The messages E864, E868, E874, E875, E876, E878 remained in question. They are output to the user via emsg() and are not marked as debugging in the code, but the documentation says that "This is only useful when debugging Vim".
As well as messages displayed via the PERROR() macro. Some of these messages have translations in errors.h, and some do not. And many of these messages are clearly debugging in kind.

@brammool

I noticed a few calls in regexp.c that were still using _() and removed those.

I used /iemsg\|siemsg so I overlooked it apparently.

I don't see a reason why the translation for mch_errmsg() in main.c was removed. I restored it.

I proceeded from the fact that this message is contained in the definition NBDEBUG and acted by analogy with this, which you once pointed out. It is possible that this is not applicable in this case.

I don't see a reason why the translation for mch_errmsg() in main.c
was removed. I restored it.

I proceeded from the fact that this message is contained in the
definition NBDEBUG and acted by analogy with
this,
which you once pointed
out.
It is possible that this is not applicable in this case.

I had not spotted the NBDEBUG dependency.  I just thought it was a
useful message.  But yes, to be consistent this message is not to be
translated.
--
echo reboot >universe
chmod +x universe
./universe
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


consolidate disease gene mappings into a single file

Create a single file with all of the disease associations.
We won't reimport from Malacards. Periodically I will check ours against Mondo and add new ones (I can do this relatively easily ).

realted to
https://github.com/pombase/pombase-chado/issues/778

I'd like to move this forward because it takes me aged to fix things that go wrong of MONDO changes but we are still mapping through from DO.....

but we are still mapping through from DO

I thought we had got rid of DO?  As far I can see we aren't using it during loading and it's not in Chado.

I think the first step is pombase/pombase-chado#776. I'm doing that now.

Can we close this issue?

yes, i thought I had ;)


Update documentation of parallel offset

Explain how left and right of parallel offset is determined. See issue #692

Coverage remained the same at 80.7% when pulling 123387c38c43d1a1b0a3b86232ad0eb3afa8237c on Davidswinkels:master into<PHONE_NUMBER>33fabcd004eeec5b8fca276fefea2e on Toblerity:master.

Coverage remained the same at 80.7% when pulling 123387c38c43d1a1b0a3b86232ad0eb3afa8237c on Davidswinkels:master into<PHONE_NUMBER>33fabcd004eeec5b8fca276fefea2e on Toblerity:master.


flashattn support stride and padded varlen

q/k/v/o/dq/dk/dv的batch/row/head stride属性将作为参数传入并被正确设置
当varlen_padded_input被设置时，kernel将认为输入输出是padded，但是会根据cu_seq_len跳过padding部分的计算

 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.


make input/output_param_types public

This is helpful for one of my projects.

@WyseNynja thank you for the PR! Can you elaborate a bit more on why you want this change? Making fields public is generally frowned upon and we need to better understand your use-case before accepting.

I was decoding separately from where my function object was. I ended up refactoring to not need this.

Also, this just made functions that return cloned objects public. I don't think it exposes any actual internals.


Added supporting for buffers

I tried to insert Buffer value, but it's not worked. Fixed now.

I don't mind leaving the .idea in the ignore list but I am not planning to put all the .idea related things in.
Also there is no test that validates against buffers so it won't land until it's tested.
Thanks for the hint though!

also please consider returning a buffer and add Buffer as expected type. I think it might be less problematic simply cast the buffer upfront as string though.

You can't return buffer as string from command line, only like hex and then convert to buffer

I know ... so it doesn't return booleans or numbers but dblite does. If you can magically store a type that is not JSON compatible I'd expect you to be able to retrieve it too. Meaning custom types might not be that easy to implement 'cause I'd expect a one to one i/o
So we need tests and a way to retrieve the string as Buffer. Can we have such logic in? Good. If we can't, I'm afraid users must be in charge of converting to hex/base64 and re-convert once retrieved by their own with all utilities already available to parse returned data.

Updated with tests, and looks like i can get valid buffer from select

So, looks like it not possible - to get binary as string. All documentation said me to get it as hex string.
I made auto convert from hex to buffer, if you provide Buffer as field type. Will use in my project for now.

Look at last fix pls
On my Windows 7 EOL was invalid, not \r\n, just \n
Sqlite version <IP_ADDRESS>

watch out that newlines have been normalized with SQL 3.8.6 and above .... dows this work with newer and older SQLite versions?


Creating long title makes UI hard to interact

Requires long scrolling to the side when adding very long text, doesn't cut off and shows whole text

Oof. For completions sake, where exactly did you add the very long text to?

I've added it in the title field, but it happens on every field where you can freely add text

#626 should fix all the modal windows (and also limit the tables columns a little bit)


Using invalid attributes should be an error

I was very surprised when I learned that not only is using an invalid attribute not an error, but it is also only a lint, meaning that it can be disabled. That means that if a new attribute were added post-1.0, it would potentially break existing code. Is there any reason that this is not already an error with no option to disable it?

Triage: fixed (now hidden behind a custom_attribute feature).
/cc @alexcrichton

Yup!


Upside down render target

My render code is as discussed here: https://github.com/floooh/sokol/issues/1120
Both Windows and Android ports use the exact same code, and also they both use sokol_app and sokol_gl. However, while on Windows the render target (the little rectangle with Manic Miner) is ok, on Android it's upside down. The background is an image loaded from disk into a texture, and it renders correctly in both cases.

Background is loaded from disk
Background is rendered to the display framebuffer
Emulator software framebuffer is used to update a stream texture, and is rendered to a render target
The render target is rendered to the display framebuffer

This is my texture class:
class SokolTexture : public rm::renderer::Texture {
public:
    SokolTexture(long const width, long const height, Usage const usage, void const* pixels)
        : rm::renderer::Texture(width, height) {
        RM_DEBUG("Creating texture with %ld x %ld pixels", width, height);

        if (usage == Usage::Static && pixels == nullptr) {
            RM_FATAL("Static textures must provide initialization data");
            return;
        }

        sg_image_desc desc = {};

        desc.width         = static_cast<int>(width);
        desc.height        = static_cast<int>(height);
        desc.pixel_format  = SG_PIXELFORMAT_RGBA8;
        desc.sample_count  = 1;

        switch (usage) {
        case Usage::Static:  desc.usage = SG_USAGE_IMMUTABLE; break;
        case Usage::Dynamic: desc.usage = SG_USAGE_DYNAMIC; break;
        case Usage::Stream:  desc.usage = SG_USAGE_STREAM; break;
        }

        if (usage == Usage::Static) {
            desc.data.subimage[0][0].ptr  = pixels;
            desc.data.subimage[0][0].size = width * height * 4;
        }

        _texture = sg_make_image(&desc);

        if (sg_query_image_state(_texture) != SG_RESOURCESTATE_VALID) {
            RM_FATAL("Failed to create texture");
            return;
        }

        if (usage != Usage::Static && pixels != nullptr) {
            update(pixels);
        }
    }

    ~SokolTexture() {
        sg_destroy_image(_texture);
    }

    void update(void const* pixels) override {
        sg_image_data data       = {};
        data.subimage[0][0].ptr  = pixels;
        data.subimage[0][0].size = _size.width() * _size.height() * 4;

        sg_update_image(_texture, &data);
    }

    sg_image _texture;
};

And this is my render target class:
class SokolRenderTarget : public rm::renderer::RenderTarget {
public:
    SokolRenderTarget(long const width, long const height) : rm::renderer::RenderTarget(width, height) {
        RM_DEBUG("Creating render target with %ld x %ld pixels", width, height);

        {
            sg_image_desc desc = {};

            desc.render_target = true;
            desc.width         = width;
            desc.height        = height;
            desc.pixel_format  = SG_PIXELFORMAT_RGBA8;
            desc.sample_count  = 1;

            _target = sg_make_image(&desc);

            if (sg_query_image_state(_target) != SG_RESOURCESTATE_VALID) {
                RM_FATAL("Failed to create frame buffer image");
                return;
            }
        }

        {
            sg_attachments_desc desc = {};
            desc.colors[0].image = _target;

            _attachments = sg_make_attachments(&desc);

            if (sg_query_attachments_state(_attachments) != SG_RESOURCESTATE_VALID) {
                RM_FATAL("Failed to create frame buffer attachments");
                return;
            }
        }

        {
            sgl_context_desc_t desc = {};

            desc.color_format = SG_PIXELFORMAT_RGBA8;
            desc.depth_format = SG_PIXELFORMAT_NONE;
            desc.sample_count = 1;

            _context = sgl_make_context(&desc);

            if (_context.id == SG_INVALID_ID) {
                RM_FATAL("Failed to create frame buffer context");
                return;
            }
        }
    }

    ~SokolRenderTarget() {
        sgl_destroy_context(_context);
        sg_destroy_attachments(_attachments);
        sg_destroy_image(_target);
    }

    sg_image       _target;
    sg_attachments _attachments;
    sgl_context    _context;
};

Windows screen shot:

Android screen shot:

Any help is appreciated.

I guess the Windows version uses the D3D11 backend? (and Android GL).
sokol-gfx basically cannot hide all the differences between the backend APIs, and one of those is the 'upside down' texture coordinate system on OpenGL. This little details pretty much only matters when rendering into an offscreen texture and then rendering this texture to the screen.
If you use sokol-shdc, this has a meta-tag to patch up the vertex shader via SPIRVCross, this is for instance used in the mrt-sapp sample (check out the @glsl_options flip_vert_y here in the vertex shader for the 'fullscreen quad' which renders the offscreen texture content to the screen:
https://github.com/floooh/sokol-samples/blob/0502fa1fb840e502235518af94e7ab27b7a7adb3/sapp/mrt-sapp.glsl#L43
...the other option is to check sg_query_features().origin_top_left and do the y-flip youself. That's what I'm doing in my emulators for instance (since those also require 90 degree display rotation for arcade machine anyway).
I have vertex data for each possible display layout (y-flip and portrait vs landscape):
https://github.com/floooh/chips-test/blob/0387d452f521567af6447be1907dc111de39d4a5/examples/common/gfx.c#L57-L80
...and then I decide which one to use like this:
https://github.com/floooh/chips-test/blob/0387d452f521567af6447be1907dc111de39d4a5/examples/common/gfx.c#L322-L329

Hmm, do you render the background with the same rectangle drawing routine as the emulator output?
The UV flip should only happen for the rectangle that renders the emulator rectangle.

You mean only if I render to a render target? Something like this?
if (sg_query_features().origin_top_left && renderingToRenderTarget) {
    // flip v
}
else {
    // don't flip v
}

I tried to do that for both render targets and the display framebuffer, and the render target continued to be upside-down, but the regular texture also turned upside-down! So it didn't fix the problem, and created a new one xD

Ah, don't flip when rendering to a render target, only when rendering the render target to the screen.
In your scenario, you should only flip in a single draw call, when rendering the render target texture to the screen.
Also I think you need to flip when origin_top_left is false, not when it's true.
I would write two draw-rect functions tbh, one that looks like before, and one that checks the origin_top_left feature flag and if that's false renders a flipped rectangle (and otherwise regular)... and then figure out where to put the draw-rect function call which optionally flips :) It should only be in a single place.

Ah nice, flipping y when drawing the render target to the screen when sg_query_features().origin_top_left is false fixed it! Thanks!


Dapr with C# should use docker-compose version '3.7'

init command in docker-compose file is introduced in version 3.7. It is currently set to version 3.4

@philliphoff - Does this make sense?

@Chuxel Yes, makes sense.  I've got some PR feedback from you to respond to as soon as I get the chance; I'll update the Compose versions in the templates as part of that.


OutOfMemoryError Java heap space: due to partitions

I am using variable partitions with potentially infinite number of keys. My application run out of heap space. Checking the source code I see that partitions are added to the Map PartitionRuntime.partitionInstanceRuntimeMap but that there is no way to remove them.
I think that the CEP engine needs some mechanism to "garbage collect" partitions which are no longer needed. They can be added again if an event with the same key is received.
"Marking" partitions for GC could be done in a number of ways:

time to live: no new events for a certain time
all windows referenced by the partition are empty
extension of the query with commands to remove the partition

-- Ron

Hi Ron,
Thank you for your suggestion. Partitioning support is something we need to improve and garbage collection of unused partition runtimes will be a nice feature to have. I think doing it solely on 'time to live' will suffice. We will consider incorporating this to future work. But if you send a PR that will be always welcomed.  :)
However I don't think that will solve your issue. When we are designing garbage collection strategy we can't opt for an aggressive strategy. Meaning we should give a fair grace period when cleaning an existing partition. Else we will be re-creating same partition over and over again adding latency to the message flow. So in such a case if you are flooding the system with infinite number of keys, partitions will not be cleaned in the same rate they are created. Hence OOM. Of course this will work if event for a single key is published only once or input rate is extremely low.

hello,
My proposal is to extend the partition syntax as follows:
partition with ( ... ) remove on (condition)
whenever the condition returns true the partition is removed.
since i do not have the time to adapt the antrl parser i have hardcoded the condition in PartitionStreamReceiver release 3.1.2:
`    private boolean removePartition(String key, ComplexEvent event) {
if (removeCondition(event))
{
cachedStreamJunctionMap.remove(streamId + key);
partitionRuntime.localStreamJunctionMap.remove(streamId + key);
partitionRuntime.localStreamJunctionMap.remove(key);
partitionRuntime.partitionInstanceRuntimeMap.remove(key);
executionPlanContext.getSnapshotService().removeSnapshotable(key);
System.out.println("removed partition "+streamId+" "+key);
return true;
}
return false;
}
private boolean removeCondition(ComplexEvent event) {
	 return event.getOutputData() != null && event.getOutputData().length > 0 && event.getOutputData()[0] instanceof Boolean && (Boolean)event.getOutputData()[0];
	}

@Override
public synchronized void receive(long timeStamp, Object[] data) {
StreamEvent borrowedEvent = eventPool.borrowEvent();
streamEventConverter.convertData(timeStamp, data, borrowedEvent);
if (partitionExecutors.size() == 0) {
send(borrowedEvent);
} else {
for (PartitionExecutor partitionExecutor : partitionExecutors) {
String key = partitionExecutor.execute(borrowedEvent);
if (!removePartition(key, borrowedEvent))
send(key, borrowedEvent);
}
}
eventPool.returnEvents(borrowedEvent);
}
`
I propose that SnapshotService be an interface, so that one may set a different implementation. For now, since I am not interested in it I have "shortcut" it as follows:
`   public void removeSnapshotable(String key)
{
/*List toRemove = new ArrayList();
for (int i=0; i<snapshotableList.size(); i++)
{
Snapshotable s = snapshotableList.get(i);
String id = s.getElementId();
if (id.endsWith(key))
toRemove.add(s);
}
for (Snapshotable k : toRemove)
snapshotableList.remove(k);
*/
snapshotableList.clear();
}

`
now I can control the removal by invoking:
               inputHandler1.send(new Object[]{true, id, "sshd1"});
I could also use a query for this.
Regards,
-- Ron

This is fixed with Siddhi 5.0.0 https://github.com/siddhi-io/siddhi/pull/1158
Hence closing this issue


download_uniref50.sh

Could you provide the script download_uniref50.sh again? Thanks.

Hi @Guardian-in-the-WF,
We leverage the preprocessed dataset provided by EvoDiff, which is the uniref50.tar.gz and can be downloaded in this link.


Using firebase.database() causes next build to hang forever.

Bug report
Describe the bug
Using firebase.database() causes next build to hang forever. The build still seems to compile successfully, but I can't reliably export and deploy my app because the build never finishes.
To Reproduce
// next.config.js
const firebase = require("firebase")

firebase.initializeApp({
  apiKey: "AIza....", // Auth / General Use
  authDomain: "YOUR_APP.firebaseapp.com", // Auth with popup/redirect
  databaseURL: "https://YOUR_APP.firebaseio.com", // Realtime Database
  storageBucket: "YOUR_APP.appspot.com", // Storage
  messagingSenderId: "123456789", // Cloud Messaging
})

const db = firebase.database()

module.exports = {
  useFileSystemPublicRoutes: true,
}

I created a small example repo that demonstrates the issue with only next.config.js and pages/index.js. Running npm run dev works just fine, but npm run build hangs forever.
Expected behavior
npm run build exits the process after successfully building.
Screenshots
When I run npm run build it seems to build successfully but the process never exits.

System information

OS: macOS
Version of Next.js: 8.03

I doubt this is related to Next.js, firebase probably doesn't close 🤔 Why are you initializing the connection like that? Is it for exportPathMap? Maybe move the connection into the function.

Check this tutorial, it has some recommendations on how to load Firebase:
https://nextjs.org/learn/excel/lazy-loading-modules

@kheruc this issue is specific to using firebase during export. I've had no trouble using firebase on the client.
@timneutkens I think you are correct — this is a firebase issue.
In my actual use case I'm initializing firebase elsewhere (but still importing it into next.config.js so I can use the firebase query result to create pages for export).
For now I've resorted to using firebase rest api since I can't get the database api to work.

We already have this for export: https://github.com/zeit/next.js/blob/7dc50f3867dff1a7ea4f51a8902262cb0e363c9e/packages/next/cli/next-export.ts#L66-L72
So I guess we can just add it here: https://github.com/zeit/next.js/blob/7dc50f3867dff1a7ea4f51a8902262cb0e363c9e/packages/next/cli/next-build.ts#L48
Feel free to send a PR 👍

Closing as global side effects are a bad idea -- if the user feels strongly about this they can send a PR. :pray:


[nri-metadata-injection] Changes to support running newrelic metadata injector in Kubernetes clusters with restrictive Pod Security Policy.

The changes to deployment.yaml allow you to configure a Pod Security Context for the main metadata injector pod so that it doesn't run as root and get denied scheduling
The changes to the job.yaml allow you to configure mounts in the Pod so that /tmp can be mounted as an emptydir when policy enforces a read-only root filesystem.
Additional Values added to values.yaml
README.md updated with new configuration values
Chart version bumped.
Fixes #122

Is this a new chart
No
What this PR does / why we need it:
So that the metadata injector can run in more restrictive environments
Which issue this PR fixes

fixes #122

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [mychartname])

 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.

Thank you @avenging for the PR


Allow user to add URI or literal in Lookup Modal

Why was this change made?
Quick fix for #2564
New button under text input that the cataloger can click to add a literal:

For a URI:

How was this change tested?
Ran testing suite
Which documentation and/or configurations were updated?
n/a

Yes, this looks good! Thanks!


Remove Update Dependencies CI workflow

It was made clear in https://github.com/microsoft/lisa/issues/2782 and the closing of it without action, that this project is in a death spiral, but if you're not going to update your dependencies, please remove https://github.com/microsoft/lisa/blob/main/.github/workflows/update_deps.yml so I stop getting notified about it's failures.

@LiliDeng please help stop the runs.


Closed issue #35 fixed node 4 incopability

Removed buffer.concat

Thanks for your support!
There is a failing test, can you check that case @nikolaybaldzhiev ? cc @algebris
1) Multibyte character ☺ smiley face:
     UnexpectedError:
expected express app to yield exchange { request: 'GET /smiley', response: { body: '☺' } }

The proper fix for this, is not changing Buffer.concat to something else.
In pre-iojs versions of node, Buffer.concat would, when called with an array with exactly one item, just return that one item. So Buffer.concat(['string']) would return 'string'. Given that String.prototype.toString is an identity function, this would work. That behaviour changed somewhere after v0.12.
So the proper fix would be changing the following lines, to ensure that whatever you put into the string is a buffer.
https://github.com/axiomzen/express-interceptor/blob/master/index.js#L34-L36

An example of the proper fix can be seen here, in a related module: https://github.com/gustavnikolaj/hijackresponse/blob/ae55e2acb55535d0c8d8908e3f678ddae97f62f6/lib/hijackResponse.js#L28-L33

I sent a pull requests, with tests documenting the problem, which is referenced above.

Closing in favor of https://github.com/axiomzen/express-interceptor/pull/37 , thanks guys @gustavnikolaj @nikolaybaldzhiev @algebris


adds parameter to name mapping in sql db, new param name def and impl…

…emented in streams endpoint
@FBRTMaka

:+1: Nice job Ryan!!

This change breaks deployment on both Linux and Windows and at a minimum breaks C2.  Why in the world was so much of this file changed?

@oceanzus what are the errors?

python ooiservices/manage.py rebuild_schema --schema ooiui --schema_owner postgres --save_users False
yields
File "C:\Users\James\Documents\GitHub\ooi-ui-services\ooiservices\app\models.py", line 1190, in insert_user
user.organization_id = org.id
AttributeError: 'NoneType' object has no attribute 'id'

Did you try:
python ooiservices/manage.py deploy -p  -bl=True   ?
Not sure what those args are, is that for the OS difference?
—
Matt
On Oct 22, 2015, at 1:35 PM, James Case <notifications<EMAIL_ADDRESS>wrote:
python ooiservices/manage.py rebuild_schema --schema ooiui --schema_owner postgres --save_users False
yields
File "C:\Users\James\Documents\GitHub\ooi-ui-services\ooiservices\app\models.py", line 1190, in insert_user
user.organization_id = org.id
AttributeError: 'NoneType' object has no attribute 'id'
—
Reply to this email directly or view it on GitHubhttps://github.com/asascience-open/ooi-ui-services/pull/419#issuecomment-150299850.
This e-mail message and any attached file is the property of the sender and is sent in confidence to the addressee only.
Internet communications are not secure and RPS is not responsible for their abuse by third parties, any alteration or corruption in transmission or for any loss or damage caused by a virus or by other means.
Any advice contained in this e-mail is for information purposes only.
RPS Group Plc, company number: 208 7786 (England). Registered office: 20 Western Avenue Milton Park Abingdon Oxfordshire OX14 4SH.
RPS Group Plc web link: http://www.rpsgroup.com

Not on a Windows machine.  This worked fine before the changes on all platforms and now it is broken on all platforms.  What was the purpose of these changes and why the heavy hand on the file?

Strange. . .
this was just a dump of the updated database, not heavy handed just standard export w/o the schema.  It’s basically just insert statements, so it should work no matter how you load it (you could try load this file directly to the db).
It’d def not broken on all platforms, as I was able to load this in with no trouble.  You should try the params I suggested, it was the original and should be default — unless it absolutely doesn’t work for Windows / Linux.
I’ll get my own linux / windows instances running to see as well.
—
Matt
On Oct 22, 2015, at 1:51 PM, James Case <notifications<EMAIL_ADDRESS>wrote:
Not on a Windows machine. This worked fine before the changes on all platforms and now it is broken on all platforms. What was the purpose of these changes and why the heavy hand on the file?
—
Reply to this email directly or view it on GitHubhttps://github.com/asascience-open/ooi-ui-services/pull/419#issuecomment-150304729.
This e-mail message and any attached file is the property of the sender and is sent in confidence to the addressee only.
Internet communications are not secure and RPS is not responsible for their abuse by third parties, any alteration or corruption in transmission or for any loss or damage caused by a virus or by other means.
Any advice contained in this e-mail is for information purposes only.
RPS Group Plc, company number: 208 7786 (England). Registered office: 20 Western Avenue Milton Park Abingdon Oxfordshire OX14 4SH.
RPS Group Plc web link: http://www.rpsgroup.com

This only works if you DROP the entire database each time the schema needs to be refreshed because of the sequence method introduced in the PR.

Ok, so what parameters do you use when you export the DB?  I can redo the export with those parameters and make a new PR so that it can work with this custom migration method.
—
Matt
On Oct 22, 2015, at 2:18 PM, James Case <notifications<EMAIL_ADDRESS>wrote:
This only works if you DROP the entire database each time the schema needs to be refreshed because of the sequence method introduced in the PR.
—
Reply to this email directly or view it on GitHubhttps://github.com/asascience-open/ooi-ui-services/pull/419#issuecomment-150311341.
This e-mail message and any attached file is the property of the sender and is sent in confidence to the addressee only.
Internet communications are not secure and RPS is not responsible for their abuse by third parties, any alteration or corruption in transmission or for any loss or damage caused by a virus or by other means.
Any advice contained in this e-mail is for information purposes only.
RPS Group Plc, company number: 208 7786 (England). Registered office: 20 Western Avenue Milton Park Abingdon Oxfordshire OX14 4SH.
RPS Group Plc web link: http://www.rpsgroup.com

I don't export the DB. No idea what you are on about.

Interesting, well after I imported the csv file of the parameter mappings into postgres I then took the entire DB and dumped the data rebuild script.
Basically, if you do not want to rebuild the database (and I assume you’re not using the manage.py db migrate command) you should just do a sql import on ONLY the insert statements for the parameter table.
Then you can just leave the current DB alone.
Does that help?
—
Matt
On Oct 22, 2015, at 2:38 PM, James Case <notifications<EMAIL_ADDRESS>wrote:
I don't export the DB. No idea what you are on about.
—
Reply to this email directly or view it on GitHubhttps://github.com/asascience-open/ooi-ui-services/pull/419#issuecomment-150316952.
This e-mail message and any attached file is the property of the sender and is sent in confidence to the addressee only.
Internet communications are not secure and RPS is not responsible for their abuse by third parties, any alteration or corruption in transmission or for any loss or damage caused by a virus or by other means.
Any advice contained in this e-mail is for information purposes only.
RPS Group Plc, company number: 208 7786 (England). Registered office: 20 Western Avenue Milton Park Abingdon Oxfordshire OX14 4SH.
RPS Group Plc web link: http://www.rpsgroup.com


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_e3ee6068-c04c-4129-903a-93f38975c966/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_e3ee6068-c04c-4129-903a-93f38975c966.git

Docs Build status updates of commit bb541b0:
:clock10: Pending: waiting for processors (10 builds ahead of you)
:warning: Docs Build is busy, currently there are 10 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

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

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-01-10-07-31-52 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-01-10-07-31-52

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.


Fix expression for element size's maximum value

This does not render the exponent correctly when run through mmark and xml2rfc.
Before the patch in RFC 8794 Section 6.3 we have:

with an octet length of 8 is able to express a size of 2(56)-2 or 72,057,594,037,927,934 octets (or about 72 petabytes)

When this patch is applied we have:

with an octet length of 8 is able to express a size of 2^(56)-2 or 72,057,594,037,927,934 octets (or about 72 petabytes)

The <sup> is gone.
This would actually be a revert of a78b551f9db657f67a8303247b201678832feb54 which fixed this.

Thanks for the review. Sorry, I didn't realize this was an extension in mmark.


chore: update default version in Makefile

Why submit this pull request?
To keep the default version of apisix-ingress-controller in Makefile up-to-date (1.0.0).

Related issues
#553

Codecov Report

Merging #556 (7381b58) into master (015940c) will decrease coverage by 2.19%.
The diff coverage is 23.11%.

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


feat(iroh-base, iroh-netcheck): intro netcheck as crate

Description
Introduces netcheck as its own crate. For this, intruduces a new feature flag relay in iroh-base for the relay topology types.

in iroh-base, the RelayUrl is moved to its own file. It can still be used as before, this is not a breaking change.
RelayMap, RelayNode are moved to iroh-base under the relay feature flag.
RelayMode is moved to endpoint. See the NOTES section about this.
netcheck now has metrics as a feature flag. I'm not sure how is that this was not feature flagged before but still worked.
ping is moved without changes from iroh-net to iroh-netcheck. This is the only place where it's used so it should have probably been part of netcheck as a module from the beginig.

Breaking Changes
n/a
Notes & open questions

RelayMode remains in iroh-net instead of moving to iroh-base with other relay related because this is coupled with the staging and prod configuration of relay urls. Since this is more configuration than concept I think it's best to keep it in iroh-net.
The crate is called iroh-netcheck because -at least currently- it depends on relay concepts. For example, the tests depend heavily on the internal order of the RelayMap. Can we change this? yes. Should we change this? we can discuss it. Is this PR the place for any of that? No.
The netcheck api needs some love. Some types that are supposed to be internal are used by dependents (in this case iroh-net) It's not terrible but it could be improved.

Change checklist

[x] Self-review.
[x] Documentation updates following the style guide, if relevant.
[ ] ~Tests if relevant.~
[ ] ~All breaking changes documented.~

make sure to also add this to the two ci files that need a list of crates

@dignifiedquire fixed. There's a bunch of net_report report that I don't love but I.. think it will have to do for now? or maybe we can rename Report to Check or something? not looking forwards to more renaming but it's something I noticed. Thoughts? These are all in strings (docs, comments, etc). Code that would have been a NetReportReport(Report) looks like NetReport(Report) at least

There's a bunch of net_report report that I don't love but I..

I think we can clean this up in follow ups :) lets get the structure in


chore: remove conflict tags

It looks like this may no longer have any changes in it, I wonder if this is already fixed on master?

yup closing it.


Can't create ETH webhook?

So this works fine with BTC but not ETH? I'm trying to create a webhook for ETH address and listen for unconfirmed transactions. With BTC this works as usual and I can see created webhook in https://accounts.blockcypher.com/tokens/hooks/token but when I create the same hook but initiate the blockcypher class with ETH -> it responds me that webhook was created but I can't find it. And it definitely wont work.
const bcApi = new blockCypher('btc', 'main', process.env.BTC_WEBHOOKS_API_TOKEN) - works
const bcApi = new blockCypher('eth', 'main', process.env.BTC_WEBHOOKS_API_TOKEN) - does not work
how to solve this?

Works perfectly on my end. Feel free to open an issue again but I just tested creating a web hook and this works well.


Clause Component Error UI

The clause component should also have an indication of an error, not just the ErrorLogger

@irmerk  Can I work on this ?

@elit-altum feel free. Make sure to review the work I had done so far in #284. This one is tricky because Slate doesn't necessarily re-render when props passed to it change, so it may take some workaround like decorations or annotations.

T

@elit-altum feel free. Make sure to review the work I had done so far in #284. This one is tricky because Slate doesn't necessarily re-render when props passed to it change, so it may take some workaround like decorations or annotations.

@irmerk Thank you for the heads up, this will surely help!


missing export

module.exports = recordRoutes;
is missing from record.js in the tutorial

Fixed in PR #9


PCChatManagerDelegate & PCRoomDelegate overlapping functions

What?
PCChatManagerDelegate && PCRoomDelegate both have:
    func onPresenceChanged(stateChange: PCPresenceStateChange, user: PCUser) {}
    func onNewReadCursor(_ cursor: PCCursor) {}

I see that you guys put these two methods on both Delegate protocols and also to made all these delegate methods optional by implementing empty functions for each:
public protocol PCChatManagerDelegate: AnyObject {
    func onAddedToRoom(_ room: PCRoom)
    func onRemovedFromRoom(_ room: PCRoom)
....
}

public extension PCChatManagerDelegate {
    func onAddedToRoom(_ room: PCRoom) {}
    func onRemovedFromRoom(_ room: PCRoom) {}
....
}

However the issue is, if I have a Manager type of object which needs to serve as a delegate to both PCChatManagerDelegate & PCRoomDelegate then code won't compile due to redeclaration of two functions which are:
    func onPresenceChanged(stateChange: PCPresenceStateChange, user: PCUser) {}
    func onNewReadCursor(_ cursor: PCCursor) {}

Even worse, if I don't really just copy paste all the functions on both delegates in my extensions && comment out like below, the compiler error is just "you ChatsManager does not conform to protocol PCRoomDelegate & PCChatManagerDelegate -- as in not to much information as developer expects all functions to be optional yet somehow compiler is complaining... :
*** problematic ***
extension ChatsManager: PCRoomDelegate {

    func onMultipartMessage(_ message: PCMultipartMessage) {
        print("Message received!")
    }

}

extension ChatsManager: PCChatManagerDelegate {

}

*** resolved ***
extension ChatsManager: PCRoomDelegate {

    func onMultipartMessage(_ message: PCMultipartMessage) {
        print("Message received!")
    }
    func onMessage(_ message: PCMessage) {}
    func onMessageDeleted(_ messageID: Int) {}
    func onNewCursor(_ cursor: PCCursor) {}
    func onNewReadCursor(_ cursor: PCCursor) {}
    func onUserStartedTyping(user: PCUser) {}
    func onUserStoppedTyping(user: PCUser) {}
    func onUserJoined(user: PCUser) {}
    func onUserLeft(user: PCUser) {}
    func onPresenceChanged(stateChange: PCPresenceStateChange, user: PCUser) {}
    func onUsersUpdated() {}

}

extension ChatsManager: PCChatManagerDelegate {
    func onAddedToRoom(_ room: PCRoom) {}
    func onRemovedFromRoom(_ room: PCRoom) {}
    func onRoomUpdated(room: PCRoom) {}
    func onRoomDeleted(room: PCRoom) {}
    func onUserStartedTyping(inRoom: PCRoom, user: PCUser) {}
    func onUserStoppedTyping(inRoom: PCRoom, user: PCUser) {}
    func onUserJoinedRoom(_ room: PCRoom, user: PCUser) {}
    func onUserLeftRoom(_ room: PCRoom, user: PCUser) {}
//    func onPresenceChanged(stateChange: PCPresenceStateChange, user: PCUser) {}
//    func onNewReadCursor(_ cursor: PCCursor) {}
    func onError(error: Error) {}
}

It might help to rename these functions on one of the delegates so there are no redeclarations on function signatures to prevent further issues with other developers that use your SDKs. hope this helps. thank you guys awesome SDK regardless.
Environment

PusherChatkit version:
latest
Xcode version:
latest
Swift version:
latest
Platform(s) running PusherChatkit:
iOS

Demo Project (if you have one; it helps a lot!)
Nah

Suggestions are always appreciated, thank you. However, I am going to close this issue because we are currently working on some significant updates to the Swift API and this feature request will no longer be relevant.


Question: This project got moved to RxSwift from ReactiveCocoa. Reason?

This project got moved to RxSwift from ReactiveCocoa. I would be glad to know some kind of opinion about that from maintainers.

Two blog posts cover this:

http://artsy.github.io/blog/2015/12/08/reactive-cocoa-to-rxswift/
http://artsy.github.io/blog/2015/09/18/Cocoa-Architecture-Dependencies/

:+1:


Add support for DDS calibration algorithm (4)

Add to spotpy or add as an independent service.

This is already in the spotpy issues: https://github.com/thouska/spotpy/issues/155

OSTRICH will be provided and already includes DDS and a whole suite of calibration tools. We will use it instead of SpotPy.


[help complete]: Load Balancer

Details (optional)
This load balancer definition needs a little more context. Please refer to the style guide before getting started.

Hi @CathPag @JasonMorgan, Could you please assign this issue to me?

Done! :)

Hi @CathPag , I have created PR #400 . Could you please review it?

This issue is available again (we had to close the PR for this term due to inactivity).

Can I help on this?

Sure, here you go! Please make sure to read the style guide before getting started

Hello @CathPag, Have we still had this issue? I can't see the load balancer definition page.

Hello @CathPag, I am Tanmay Sarkar, new to CNCF community. I would like to work on it.

Hi @sarkartanmay393, sure. Here's the PR that was closed. The "what it is section" is pretty much good to go. The feedback on the other two sections might be interesting to read as well as you work on this.


WIP streaming response

This is is not in a merge ready state but it shows a POC for a potential new streaming response api. Motivated as a comparison to #1645

Experimenting in trio branch:
@app.put("/echo")
async def echo(req):
    # We (or middleware) can do arbitrary things before choosing to accept
    if int(req.headers["content-length"]) > 1_000_000:
        # This makes the protocol reject the request without receiving its body
        raise HeaderExpectationFailed("I'm not gonna take all that!")
    # Send response headers
    res = await req.respond(content_type="text/plain")
    # Stream request body to response body
    async for data in req.stream:
        await res.write(data)

req.stream is similar to the old StreamBuffer but can also be iterated, as seen in the example. streaming works both ways without any buffering/queues, and thus we get implicit flow control and back-pressure handling.
I didn't yet look at how to handle non-streaming request bodies. Supposedly Sanic already stores a "streaming handler" flag somewhere for this purpose, and if the flag is missing, the entire body is loaded before running the handler.
Response streaming is independent of request streaming. You can have either, both or neither.
req.respond makes a NewStreamingResponse and sends its headers out before returning the response object, where body chunks may be sent. It is an error to call this multiple times, or to return a response object after calling this.
Non-streaming response can still be done as before, by returning a response object, which ends up with the app.py handler doing await req.respond(handler_return_value) -- send to client a normal Sanic response object and don't return anything.

@abuckenheimer are u still working on it ?

I am still working on mine -- but it'll likely take until December until I can resume working on Sanic stuff.

I'm not still working on this, happy to pick it back up if anyone else finds the API I'm outlining appealing


Add dstein64/nvim-scrollview

https://github.com/dstein64/nvim-scrollview
I would love for you to add that!
Can I create a PR?

Sure go ahead!


doesn't seem to work on Big Sur

This app was working for me perfectly, but then I updated my macbooks to Big Sur. Now my macbooks seem to go to sleep when I close their lids. Tasks are interrupted by closing the lid, consistent with the system sleeping. The system logs a sleep event on lid close, but it's followed quickly by a wakeup signal, and I'm unsure if this is expected behavior. This is happening on two different macbooks, both running 1.6.0 version.

+1

Hi, you might want to look into an alternative tool for you use case. KeepingYouAwake will not keep your Mac awake when you close the lid of your MacBook. That's not something I plan to support in the long term because of thermal constraints of the different machines out there and the limitations of the underlying system APIs I use to keep the Mac awake.
I probably need to update the README to clarify this. I'm sorry that this wasn't made clear enough until now and broke for you.

Good idea to update the README. I spent too much time trying to figured out why it wasn't working for me.


Added login page with user authentication function.

Login page with user authentication added. Run from main class. Username/Passwords are currently stored in hashmap which is hard coded. We may consider adding them to a mySQL table at some point. Added usernames for Seth, Le, and myself. I added Cameron and Brian, but I think I forgot to save that change. Will need to add them and let everyone customize theirs if they like 👍.
Welcomepage can be replaced with a main display page when ready. Transitioning pages is simply calling the constructor for the next GUI, and terminating the JFrame for the current GUI.

It looks good. I like the documentation that is in the files along with the code explaining what the code does. Also is there the possibility to add in the documentation that we had a lecture on the second week of class? So far, so good. We will wait for the mySQL team and then bring the two different tasks together to build our prototype on for the end of the sprint.


Write secrets

clumsy code to write secrets from a json file

Sorry, didn't mean to create a PR here :smile:


[influxdb] Make gmond influxdb support configurable compile-time option

Support for influxdb in gmond should be a compile time option similar to sFlow. Whether it is enabled or disabled by default is a question that could be addressed later but it should be an option either way rather than hard-coded which is what it is currently.

Yeah, I considered that early in the process, but didn't for three reasons

I didn't want to mess with any of the automake/autoconf mess
The code is a noop if there are no stanzas defined
Littering the code with #IFDEFs is pretty ugly.  Even though I tried to minimized the number of changes to gmond, there are still far too many for my liking.  Wrapping them in #IFDEFs would make the code harder to read than it is already.
There shouldn't be an new dependencies (libraries, etc), which would warrent changes to the compile process.

That said, I do like the idea of a compile time option.

I completely agree that automake/autoconf is a mess -- I hate dealing with it. Considering that there are no dependencies and as you say if no outputs are configured then it's a "noop" then maybe it would be ok. FYI, Host sFlow support started as "opt in" now it's "opt out".


TypeError: day is undefined

Hey all,
I'm having some issues rendering the ActivityCalendar in a Next.js project. I copied the examples in the documentation, replacing the sample data with my own data pulled from the GitHub API. The component works as intended with the sample data, however the data I pulled and formatted to match the sample throws the following error:
Uncaught TypeError: day is undefined
daysMap index.js:85
normalizeCalendarDays index.js:84
groupByWeeks index.js:71
ActivityCalendar index.js:214
React 12
workLoop scheduler.development.js:266
flushWork scheduler.development.js:239
performWorkUntilDeadline scheduler.development.js:533
EventHandlerNonNull* scheduler.development.js:571
<anonymous> scheduler.development.js:633
NextJS 4
<anonymous> index.js:6
NextJS 4
React 2
NextJS 4
<anonymous> React
NextJS 4
<anonymous> React
NextJS 4
<anonymous> index.js:14
NextJS 4
<anonymous> next-dev.js:3
NextJS 7

I am unsure if my data is formatted incorrectly, or if I need to include every day of the time-frame I'm looking to plot. For reference, here is a snippet of the array I'm passing in:
[{ count: 1, date: "2023-03-09", level: 1 }, { count: 1, date: "2023-02-28", level: 1 }]
Additionally, here is my implementation of the component, where "commits" is the array mentioned before:
                <ActivityCalendar
                    data={commits}
                    dateFormat=""
                    blockRadius={20}
                    color="#f68a08"
                    labels={{
                      legend: {
                        less: "Less",
                        more: "More",
                      },
                      months: [
                        "Jan",
                        "Feb",
                        "Mar",
                        "Apr",
                        "May",
                        "Jun",
                        "Jul",
                        "Aug",
                        "Sep",
                        "Oct",
                        "Nov",
                        "Dec",
                      ],
                      weekdays: [
                        "Sun",
                        "Mon",
                        "Tue",
                        "Wed",
                        "Thu",
                        "Fri",
                        "Sat",
                      ],
                      totalCount: "{{count}} contributions",
                    }}
                  />

I tried modifying my formatter function to include every day of the year and it still threw the same error, so I'm stumped. What could be the issue here? Can attach any other snippets if needed!

Realized this was an error on my end with the formatter function I was running mixing up data points. Apologies!


As a user, I want to know if the datasets available in the registry are published and visible in the API

Checked for duplicates
Yes - I've already checked
🧑🔬 User Persona(s)
Data Users
💪 Motivation
...so that I can actually see what is publicly visible to the end-users among what has been loaded in the registry.
📖 Additional Details
Using the legacy_registry index in opensearch, we want to consider the field "archive_status" for products which are available in the registry.
2 options to choose from:

if status is "staged" we will consider the data is not available in the registry, found_in_registry will then be false.
add a new archive_status field in the legacy registry index.

It depends on what we want to show in the kibana dashbaard: data loaded == staged or archived or data loaded == only archived. For what we want to show to the end-users we would have more flexibility if we have 2 fields: found_in_registry and archive status. Or actually with the archive status we might be able to have histogram showing proportions of data not loaded (red), loaded not published (orange), published (green). If that is whaat we want
Acceptance Criteria
Given
When I perform
Then I expect
⚙ Engineering Details
No response

Jordan's comment on slack:
Sounds good. per the histogram, that is nice for reporting sake, but in the end, the nodes what the output XLSX (edited)
which right now, is super manual for us to make work right now. I had to convert the exported CSV to enable filtering on the sheet. we may eventually need individual node reports that narrow this a bit, so we can just export the CSV versus having to convert to XLSX to enable filtering on the columns
if I were a node, I feel like I would most want to know what are the bundles and collections that still need to be loaded.
What are the bundles/collections loaded but staged.

Remove this from initial dashboard Epic, as this can be considered a next phase improvement


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1304 ms

Resolved: Bofrost.at performance has improved in ec5a92e.


⚠ Mobitopup has degraded performance

In 9e3126d, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 6378 ms

Resolved: Mobitopup performance has improved in 99cd183 after 15 minutes.


Change Alert Keys

Describe the issue
Alert key needs to be set to that of the 0.6 Goldcoin and verified to be working
What files need to be fixed? (Please list them all)
Unknown
What needs to be done?
Alert key of 0.6 added to current branch.
Why?
So we don't end up using the default litecoin alert key.

Alert Keys have been removed from Bitcoin and Litecoin.
However this code here may need to be changed:  src/net_processing.cpp
        // If the peer is old enough to have the old alert system, send it the final alert.
        if (pfrom->nVersion <= 70012) {
            CDataStream finalAlert(ParseHex("5c0100000015f7675900000000ffffff7f00000000ffffff7ffeffff7f0000000000ffffff7f00ffffff7f002f555247454e543a20416c657274206b657920636f6d70726f6d697365642c2075706772616465207265717569726564004630440220405f7e7572b176f3316d4e12deab75ad4ff978844f7a7bcd5ed06f6aa094eb6602207880fcc07d0a78e0f46f188d115e04ed4ad48980ea3572cb0e0cb97921048095"), SER_NETWORK, PROTOCOL_VERSION);
            connman.PushMessage(pfrom, CNetMsgMaker(nSendVersion).Make("alert", finalAlert));
        }

https://bitcoin.org/en/alert/2016-11-01-alert-retirement

Noted.


Incorrect result with LocalParam

Here is my code snippet, and I am using the LocalParam. The answer seems incorrect.
public class MyObject
{
    public string Name { get; set; }

    public int Count { get; set; }
}

public void Run()
{
    List<Workflow> workflows = new List<Workflow>();
    Workflow workflow = new Workflow();
    workflow.WorkflowName = "Test Workflow Rule";

    List<Rule> rules = new List<Rule>();

    Rule rule = new Rule
    {
        RuleName = "Test Rule",
        LocalParams = new List<LocalParam>
        {
            new LocalParam
            {
                Name = "threshold",
                Expression = "3"
            },
            new LocalParam
            {
                Name = "myList",
                Expression = "new int[]{ 1, 2, 3, 4, 5 }"
            }
        },
        SuccessEvent = "Count is within tolerance.",
        ErrorMessage = "Not as expected.",
        Expression = "myList.Where(x => x < threshold).Contains(myObj.Count)",
        RuleExpressionType = RuleExpressionType.LambdaExpression
    };

    rules.Add(rule);

    workflow.Rules = rules;

    workflows.Add(workflow);

    var reSettingsWithCustomTypes = new ReSettings { CustomTypes = new Type[] { typeof(Utils) } };
    var bre = new RulesEngine.RulesEngine(workflows.ToArray(), reSettingsWithCustomTypes);

    var myObject = new MyObject()
    {
        Name = "My Object",
        Count = 2
    };

    var rp1 = new RuleParameter("myObj", myObject);

    List<RuleResultTree> resultList = bre.ExecuteAllRulesAsync(workflow.WorkflowName, rp1).Result;
    PrintResult(resultList); // True

    myObject.Count = 3;

    resultList = bre.ExecuteAllRulesAsync(workflow.WorkflowName, rp1).Result;
    PrintResult(resultList); // True, **this is incorrect**.
}

This gives results both true, which is incorrect, as the second result should be false.
Instead, if I replace the localParam with the constant number 3, the results returned are correct: True, False.
Rule rule = new Rule
{
    RuleName = "Test Rule",
    LocalParams = new List<LocalParam>
    {
        new LocalParam
        {
            Name = "myList",
            Expression = "new int[]{ 1, 2, 3, 4, 5 }"
        }
    },
    SuccessEvent = "Count is within tolerance.",
    ErrorMessage = "Not as expected.",
    Expression = "myList.Where(x => x < 3).Contains(myObj.Count)",
    RuleExpressionType = RuleExpressionType.LambdaExpression
};

@lichengxihuang can you share which OS and dotnet version you are using?

@lichengxihuang can you share which OS and dotnet version you are using?
I am using Windows 11 and .net 7.0.

Are there ways to use List, Set, Dictionary as the LocalParam?
Rule rule = new Rule
{
    RuleName = "Test Rule",
    LocalParams = new List<LocalParam>
    {
        new LocalParam
        {
            Name = "myList",
            Expression = "new List<int> { 1, 2, 3, 4, 5 }"
        }
    },
    SuccessEvent = "Count is within tolerance.",
    ErrorMessage = "Not as expected.",
    Expression = "myList.Where(x => x < 3).Contains(myObj.Count)",
    RuleExpressionType = RuleExpressionType.LambdaExpression
};

It returns error

Error while compiling rule Test Rule 7: Type 'List' not found, in ScopedParam: myList

@lichengxihuang the original issue is fixed in v5.0.2

Are there ways to use List, Set, Dictionary as the LocalParam?

Well creating List using new might not work as generics are not supported in expression.
You can however create an array and do .ToList() . I havent tried similar approach for  Set or Dictionary but it may work till some extent.
If not there is always a workaround to write a custom Utils class and generate it for you.
In your example this should work:
new int[] { 1, 2, 3, 4, 5 }.ToList()


Data Export from Table Visual

[I have an Model with RLS implemented, the Table visual contains the details of Fact Table to display.
The output in the table looks correct, but when i export this to excel (Summarized) the complete data is shown in the table.
Need immeditae support on this issue]

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

ID: d5505062-94f3-e15d-a52f-ce1ac7f8cb69
Version Independent ID: 34076b73-0ded-2111-ed44-2a31e07deb53
Content: Row-level security (RLS) with Power BI - Power BI
Content Source: powerbi-docs/service-admin-rls.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @mgblythe
Microsoft Alias: mblythe

Thanks for your comment, @sarava8304.
This looks like a support request or product question rather than documentation feedback.
You might find a solution in the Power BI Community. If not, try our support page.


Kubernetes runner

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   25.53%   25.53%
=======================================
  Files           1        1
  Lines          94       94
=======================================
  Hits           24       24
  Misses         70       70

Continue to review full report at Codecov.

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


parses /etc/hosts when resolving host

It's not the job of the application to parse /etc/hosts by their own. The Admin can even configure his system to ignore the hosts file in /etc/nsswitch.conf. So, I would suggest to close this issue (and not implement it).

Interesting,
I also think it will be definitely better to accomplish resolve using system's resolving system,
I let this issue open so I can document this in the README.md


Document how to upgrade a cluster on Kubernetes

Fixes #2159

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/cfba3fa622db624fcfc524b45cdb48b348b0621d/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9ebf1f1172aedd01b97374fb682945639454df2d/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/3cefe5eb74b6fb58a16089f1198cd2b9beeb7b40/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6ea34d207b5841d049d2dbe29ec7ccd436105ef0/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/14298476c02309beda2b5d2795ead67cd9d4ed3a/

Thanks again, @a-robinson!


Can't override defaults with custom verb:readme config in Gruntfile.js

To override the default locations with a custom verb config block in my Gruntfile.js I had to edit line 34 of r/tasks/verb.js.
verb.options = _.extend(verb.options || {}, options);

Changed to...
verb.options = _.extend(verb.options || {}, options, grunt.config('verb'));

Resolved the problem.
I'm being lazy. I should resolve and issue a PR.

Thanks again! since I refactored verb, I haven't had a chance to update this plugin. This is the motivation I needed.

I'm being lazy. I should resolve and issue a PR.

Ha, no worries. I'm happy you bothered to create an issue about it!


Added endpoint for deactivating third party credentials

We need an endpoint that we can POST to which will deactivate a users third-party (Google/Github/Twitter) account from atlas admin.

Otherwise LGTM


Operators should raise StopIteration when passed an iterator

Code of this kind is convenient when testing operators:
population = iter([ind1, ind2])  # Test population

result = ops.mutate_randint(population, bounds=[(0, 4), (0, 4)])
result = list(result)  # Pulse the iterator to mutate the whole population

This looks like it ought to work (principle of least astonoshment).  But most of our operators currently hit a fatal exception when the iterator becomes empty.  This is because our operators' logic looks like this:
while True:
    ind = next(next_individual)
    # do something

The above test code will work if we add graceful handling to raise the StopIteration exception up to the caller:
while True:
    try:
        ind = next(next_individual)
    except StopIteration:
        return

As grudloff pointed out in #114 , a simple for loop generates the appropriate behavior:
for x in next_individual:
     yield x


Transaction details. Remove USD Value field

Remove USD Value field from tx details dialog. Show USD rate only under amounts and fee.
Update texts for USD rate statuses:
- "calculated with the exchange rate by the day of transaction"
- "exchange rate was not available by the time of transaction"

Design
https://zpl.io/bWyK0vn
https://zpl.io/V1AJ1jZ
https://zpl.io/aRwPQZp

As discussed with @sasha-abramovich

"calculated with the exchange rate by the day of transaction" changed to "at the day"
"exchange rate was not available by the time of transaction" changed to "at the time"

Make the text italic as in the design

If the exchange rate was not available remove "-USD". Leave only the text

Added version of design when USD rate wasn't available at the time of transaction and still is not available. In that case there should be no "-USD" value.
Design https://zpl.io/aRwPQZp

Do not use italic in rate statuses. Approved by @alexandrashelenkova

Checked


Generate inventory of aws globally and seed to case s3 bucket to reduce ThreatResponse workstation spin up times.

TR workstation removed in develop.  Edda support for inventory has however been added to aws_ir


Issue in the search bar

so on exploring this webpage I saw that there is the issue in the search bar like X mark and the search bar are conflicting each other. So as the @GSSOC'24 Contributor I would like to work on this issue.So can you please assign this issue to me @codervivek5

Hey PA, I want to contribute, please assign this issue to me. Thankyou!


SymSpell.from(words, {maxDistance: 3, verbosity: 2}) taking long time to load large word dictionary

I am loading a dictionary of 163,196 words into SymSpell. It is taking more than a minute to load. If I load more than that, the Tauri app crashes. I am wondering, is there any way to load the words once, generate the precalculated delete combinations, and save the generated dictionary for later use? It seems to me that the precalculation step is redundant, running every time the app is launched.
Please share your thoughts on this. Thanks.

Hello @kabyanil, would decreasing maxDistance be a legit option for you? The space/time complexity of symspell indexation is combinatorial if I recall correctly and was not particularly geared towards larger distances. You can serialize the deletion combinations etc. but it means you will increase the size of the data to send by several orders of magnitude which will nullify the benefit of not having to do the computation. In that sense, the raw dictionary is already the most concise version of the index that you can send over the wire. You might also want to try the Passjoin Index that may be less memory-intensive albeit slower in some scenarios, but once again, with a max distance of 3 is already quite high.
Also, and this might not be intuitive, you really want to benchmark against a linear search over the dataset because in some scenarios (very long strings typically), it might be faster.

How do I serialize the deletion combinations?

I am using SQLite to load the dictionary locally, so there are no transactions over the wire. Does that enable any possibilities of faster indexation?

Do you think recurrent neural networks can outperform traditional algorithms in spell checking?


Add initial v1.2 draft spec

Context
We are adding the ability to reject applications for one or more pre-defined reasons. This will be released in v1.2 of the Vendor API.

Changes proposed in this pull request
Adds a draft spec for v1.2 with proposed endpoints.

Guidance to review

Link to Trello card

Things to check

[x] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[x] API release notes have been updated if necessary
[x] Required environment variables have been updated added to the Azure KeyVault

looks good, just a couple of small questions


patch-shebangs.sh

Motivation for this change
Avoid untidy trailing spaces when using patchShebangs.
This has only been tested locally, I would want to do additional checks before merging.
Things done

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Prior to this commit, trailing whitespace would be introduced when
modifying '#!' lines with no arguments.  For example (whitespace added):
/nix/store/.../foo: interpreter directive changed
    from "/bin/bash"
      to "/nix/store/...-bash-4.3-p42/bin/bash  "

/nix/store/.../bar: interpreter directive changed
    from "/bin/baz wef"
      to "/nix/store/...-baz wef "

We add a sed command to strip trailing whitespace, so the above commands
would drop the two spaces after "bash", or the one space after "baz wef".

Merged to staging. I've changed commit title to make it more discoverable. Thanks!


adjacent .atom folder not recongnized with portable zip distribution.

Prerequisites

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

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

Description
new portable mode that was introduced with 1.14beta0 got broken with later betas
Steps to Reproduce

download https://github.com/atom/atom/releases/download/v1.14.0-beta3/atom-x64-windows.zip
extract to a folder and create a .atom folder adjacent to atom.exe file
start and made some changes, install packages etc.

Expected behavior:
atom should user this adjacent .atom folder for packages
Actual behavior:
atom uses .atom folder from user profile folder not adjacent .atom folder.
Reproduces how often:
tried in two computers. same result
Versions
1.14.0-beta3
Additional Information
this new portable mode was working with 1.14.0-beta0

/cc @damieng

"extract to a folder and create a .atom folder adjacent to atom.exe file" is incorrect.
The .atom folder has to be one level above - adjacent to the folder that contains atom.exe.
I just tested this in 1.14-beta3 and it works fine.

"extract to a folder and create a .atom folder adjacent to atom.exe file" is incorrect.
The .atom folder has to be one level above - adjacent to the folder that contains atom.exe.
I just tested this in 1.14-beta3 and it works fine.

Sorry this is a bit late, but this seems to be counter-intuitive and inconsistent with the way other portable apps do this. Moreover, putting the .atom directory inside the atom directory (adjacent to atom.exe) worked up through beta2.

If it was inside the Atom folder then the entire configuration would easily get lost when upgrading the version of Atom.
If you absolutely desire it goes in the same folder you can follow the instructions at https://github.com/atom/atom/pull/8442#issuecomment-210478131

I was already aware of ways to work around this. But working around it is not the same as having Atom be portable. The way it is now is simply not portable as expected nor is the difference documented anywhere easily accessible to most users.
I understand there may be some limitations in the auto updater as currently implemented, but other apps behave in the way the OP and I suggest. Sublime Text, which I'm sure many Atom users used prior (or still), works this way as one example.
If this is something the Atom developers are interested in looking into or discussing further, I can open a separate issue. If not, I'll just have to be disappointed that there won't be a proper portable version of Atom.

I'm sorry you feel that somehow this makes it not a 'proper portable' install but in all ways it is.
There is nothing stopping you from creating an Atom folder that has the .atom config folder and a program folder containing Atom.exe in it. In that scenario you have to click one more time to launch atom.exe but then you don't need to create a batch file.
Putting them together in the same folder is a fundamentally bad idea. It's not just the auto-updater anyone attempting to manually update would very easily wipe out their atom config if not careful. It will happen, that kind of layout is unusual and error-prone and we'll err on not losing a users data.

I find it very weird that you have to put .atom folder one level up. It's common practice for portable apps to store their config files in the same directory as the main exe on Windows. I think it's very unlikely that someone will delete their atom config by accident, if they know nothing about portable apps they should be using the installer version anyway.