embedding_density: remove limitation <10 categories

https://github.com/theislab/scanpy/issues/719

Looks good to me! Docstring is also clearer now. Do you think it's worth adding a warning at a hard minimum threshold of 5-10 cells per category or sth like this? Although it would probably also just look strange to anyone plotting it.

I thought about the warning, but I think it's more distraction than actually helpful. The warning in the docstring should do the job, I hope!

Bumped so it's up to date, and added release note


Export Resultset Broken with Variables in MySQL

When using variables, running [right-click -> export resultset] results in an empty dataset being exported.
Example query:
SET @attr_name = 'var1';

SELECT field1, field2
FROM table1
WHERE field like @attr_name

The final exported CSV ends up just being a listing of headers instead of the data (despite the data being shown in the sql view).
(editing ticket with better details about the failure mode, initially thought it was another issue)

thanks for the bug report
(sorry for the late response)

I believe the bug is in query itself.
It has to be something like this:
@set attr_name = 'var1';

SELECT field1, field2
FROM table1
WHERE field like :attr_name


fix(scan): ensure tempDir exists before attempting to remove

When calling vite.build rapidly, there is a race condition situation where directory is already removed already by previous build (nuxt-vite issue)

It is preferred to try and remove the directory and just catch the error. This ensures that nothing happens between the check for existence and the attempt to remove.
It is sync here, so nothing will happen in the JavaScript to change the file, but it is possible something outside of the JavaScript can happen. (Unlikely, but possible.)
https://nodejs.org/api/fs.html#fs_fs_exists_path_callback


Update JDK 8 to the latest available for Travis.

I was stuck wondering why Travis was failing on a project until I realized it was https://github.com/google/error-prone/issues/525.
Worth adding here for people like me who clone u2020 for projects?

Trusty is the default, no? I don't want to specify a distro since that then becomes a timebomb that will stop working at some point in the future.


Pro 2931 add sharp

Summary
Summarize the changes briefly, including which issue/ticket this resolves. If it closes an existing Github issue, include "Closes #[issue number]"
This PR adds the sharp.js package as an optional, but default dependency into the uploads module. It keeps imagemagick as a fallback, but removes support for both jimp and imagecrunch. It also adds a set of tests for sharp. Closes PRO-2931.
What are the specific steps to test this change?
For example:

Run the website and log in as an admin
Open a piece manager modal and select several pieces
Click the "Archive" button on the top left of the manager and confirm that it should proceed
Check that all pieces have been archived properly

What kind of change does this PR introduce?
(Check at least one)

[ ] Bug fix
[X] New feature
[X] Refactor
[ ] Documentation
[ ] Build-related changes
[ ] Other

Make sure the PR fulfills these requirements:

[X] It includes a) the existing issue ID being resolved, b) a convincing reason for adding this feature, or c) a clear description of the bug it resolves
[X] The changelog is updated
[ ] Related documentation has been updated
[ ] Related tests have been updated

If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information:
I was not able to successfully run the test-sharp.js tests. I don't have the right azure test suite, maybe?

I also corrected an error I found in the README. The example for addNoGzipContentTypes was incorrect. I figured this was a reasonable PR to include this in.


My image isn't appearing

Hello
Initially I was thinking this might be a WeasyPrint issue, but the command line version is working correctly.
Here are a couple of real URLs as examples you can play with.
First a real image that will work:
https://sobs.com.au/docs/pix/simple-example.png
Second, a secure image retrieval that doesn't produce any image (but it does work when using WeasyPrint from the command line):
https://sobs.com.au/ui/fap.php?fap=WyJub3RpY2VBdHRhY2htZW50Iiw3NjI5MjksIi4uXC91cGxvYWRzXC8xNVwvbm90aWNlc1wvMjAyM1wvMDVcLzc2MjkyOV8xNjg0MTQwOTE5XzEuanBnIl0
Cheers
Murray

Anybody?

Hi @murraycollingwood, sorry for the delay, working issues have arisen.
Is this image used in an html file? How? Whis is the command line generated by php-weasyprint?
I need some debug info to help you.


button disabled svg color

Detailed description
https://www.carbondesignsystem.com/components/button/style#primary-button and other style tables on this page specify color tokens for icons (svg) but not for the disabled states.
Looking at the examples on https://www.carbondesignsystem.com/components/button/code, the icon color is always the same as the text except for disabled danger button, which seems to be a mistake.
Additional information

The icon seems to working correctly in code at the moment. I will update the docs to include the icon color for disabled states.


Synchronization Perfortmance Improvement

This PR is for issue #41 (Make Golomb-Rice filtering PR initial indexing faster). It achieves the performance gain batching RPC GetBlockAsync requests and avoiding opening and closing the p2wpkh uxtos and index files. If it is not desirable to keep the files opened for a long time, we can aupdate them on batches too (this is not done).
In my machine with a partially synchronized testnet blockchain this change is about 3X faster.

Please don't merge. I've found a problem that has to be fixes.

@lontivero I just noticed your comment, I'll continue review it after you fixed whatever you wanted to fix.

@lontivero Please rebase it, there are conflicts.

This latest version undo the RPC batching part because it is a bit faster but from time to time it seems to return the requested blocks in the wrong order causing small reorgs. Anyway, in my machine it creates the index the fully synchronized testnet3 in 1 hr 45 mins (with a solid state disk it should be even faster).
This improvement comes with a drawback, if you kill the process (we do it often during debugging) the index file can end with the latest line broken. This is a rare situation but can happen.

@lontivero Would you like to do something else with it or can I start reviewing it now?

Review it please.


support crop() for rowGeometries

it would be useful to support the crop or SFE for transcript spots or whatever is stored in rowGeometires, to add arg rowGeometryName or similar

Yes, these are the implications when we read transcript spots, and a reason why the z-planes are split into separate XY geometries by default. Cropping XYZ geometries would be more complicated. Not sure if I can address all implications of using rowGeometries by next Monday; I will probably gradually add these features as "bug fixes" after the 3.18 release.

ok, thanks. I can help where is needed.

Done in https://github.com/pachterlab/SpatialFeatureExperiment/commit/efed2e7c15a7949b9614c66a963d8e30a88d3f2c


Fixed check max DPB size and NumRefFrame for HEVCe

Alternative is https://github.com/Intel-Media-SDK/MediaSDK/pull/652

In this patch maxDPB is reduced so that NumRefFrame was <=. While DBP contains reference frames + current frame it seems to be better to limit NumRefFrame directly to <= maxDPB-1. What is done in #652.

MAX_DPB_SIZE for encoder is already set, considering current frame. I think, it is less readable to set maxDPB magic number, which can't be achived

maxDPB is already computed and verified according to DPB described in spec. It includes reference frames and current frame. It is apparent to require maxNumRefFrame == maxDPB-1.
maxDPB was 16 and it would be incorrect to reduce it.
MAX_DPB_SIZE is our internal variable that represents size of array with reference frames. It is more magic and dangerous to use defines that have similar roots in name but different sense.
More accurate would be to rename MAX_DPB_SIZE to something like MAX_REF_FRAMES to avoid confuses.

Alternative version merged.


Caching rule profiles for spring namespaces

When I configure through the rules of spring namespace, the spring application will load http://shardingsphere.apache.org/schema/shardingsphere/sharding/sharding.xsd
Http://shardingsphere.apache.org/schema/shardingsphere/master slave/master-slave.xsd
These specification documents. When my network is bad, the app can't start. I hope these files can be packed into jar, just like spring.

They have already in the jar: sharding-spring/sharding-jdbc-spring/sharding-jdbc-spring-namespace/src/main/resources/META-INF/namespace


[BUG] Failed collecting invite bounty.

Failed collecting invite bounty.
Sorry, something unexpected happened, please try again.
Error: E15
Preconditions:

inviter account is available

Steps:

copy the invite link from the inviter account
create a new account using the copied link
claim ubi via the new account
go to the reward page on the inviter account
observe the result

Actual result:
Failed collecting invite bounty.
Sorry, something unexpected happened, please try again.
Error: E15
Expected result:
Invite bounty collected without issues
Accounts info:
Inviter - 0x1B744385E6b2a4ee296DfdA1704b55486EF575f8
Invitee - 0xf22C9b85A4439B2b9D8511445E5e9d63d5DfC0CE
Env:
web dev.gooddollar.org 2.10.0
Attachments:

@patpedrosa The error comes from the Invites contract (@gooddollar/goodprotocol/artifacts/abis/InvitesV2), method .collectBounties()
When sending tx produced by this method call to BC, it returns with error 'execution reverted'
We have the gas check before send tx so the reason doesn't related to the low gas amount.
@sirpy Could You please look ?

@johnsmith-gooddollar @vldkhh the contract was out of funds, try now.

@sirpy claimed a reward with the accounts above
I will recheck on QA, if I will be able to pass FV on two accounts from scratch


samples: tfm_integration: Extend PSA cryptography demo

Extend the psa_level_1 sample's use of the PSA
Cryptography 1.0 API to demonstrate the following functionality:

Generate a permanent persistent key (prime256v1)
Display the public key based on the private key above
Calculates the SHA256 hash of a payload
Signs the hash with the persistent key
Verifies the signature using the public key
Destroys the key
Generate 256 bytes of random data

Signed-off-by: Kevin Townsend<EMAIL_ADDRESS>

Please also enable CONFIG_TFM_IPC=y in the config file to default to IPC instead of Library mode for this sample.

@urutva pls address the minor issues raised by @oyvindronningstad so we can get this PR merged.

I rebase here would re-trigger the documentation build :)

I rebase here would re-trigger the documentation build :)

@ioannisg I've fixed doc build failure caused by incorrect tag used in samples/tfm_integration/psa_protected_storage/README.rst
/home/runner/work/zephyr/zephyr/doc/_build/src/samples/tfm_integration/psa_protected_storage/README.rst:37:undefined label: tfm_psa_level_1


Assertion Failed

This issue normally happens upon opening the wallet, current work around is to open the Electra folder and delete everything in the Electra folder except wallet.dat

Apparently re-downloading the blockchain (by deleting the txleveldb  folder) fix this issue. It may help understand how this error happens.


Setting xAxes type to linear causes line chart to not be drawn

I have the following simple line chart:
<canvas id="myChart"></canvas>

var ctx = document.getElementById('myChart').getContext('2d');
var chart = new Chart(ctx, {
    type: 'line',
    data: {
        datasets: [{
            label: "My First dataset",
            data: [1, 2, 3, 20],
        }],
        labels: [1, 2, 10, 20],
    },
    options: {
    	scales: {
      	xAxes: [{
          display: true,
          type: 'linear',
          position: 'bottom',
          ticks: {
          	min: 0,
            stepSize: 1
          }
        }],
      }
    }
});

Whenever the xAxes type is set to linear, the line chart is no longer drawn within the chart. Here is a fiddle showing the issue. I am using the latest version, 2.6.0.
I have looked on SO and through the issues reported but haven't found a way to get this to work.
Thanks in advance for your assistance.

@mscheker linear x axes only work with scatter data. An example of this is http://www.chartjs.org/samples/latest/charts/scatter/basic.html
If you want to use data.labels you need to use a category x axis

@etimberg Thank you for your response. If I have data as follows:
data: {
        datasets: [{
            label: "My First dataset",
            data: [1, 2, 3, 20],
        }],
        labels: [1, 2, 10, 20],
    },

Is there a way to set the axis' stepSize so it displays the ticks from min to max (0-20), for example? If not, I'll try to change the dataset if need be.
Thanks again.

@mscheker that's not possible based on the labels.
I think this will convert the data to a format that works for a scatter chart
function convertData(data) {
  var newData = {};
  newData.datasets = data.datasets.map((dataset) => {
    return {
      label: dataset.label,
      data: dataset.data.map((d, i) => {
        return {
          x: data.labels[i],
          y: d
        }
      })
    };
  });

  return newData;
}

Got it. Thanks for your help @etimberg!

@mscheker linear x axes only work with scatter data. An example of this is http://www.chartjs.org/samples/latest/charts/scatter/basic.html
If you want to use data.labels you need to use a category x axis

If I want to use it for line chart then what type i need to give

if i use solution etimberg , i have probleme type


Feat/proposal form

Just closing this as there isn't much work here. It can come back when the story is unblocked.


Updating the edge size causes the edges to dissapear

Example bug report
Modification of the node default color in the settings has no effect
**React-sigma-v2 version: ^3.0.3"
**Sigma.js version : "^2.3.1"
**Graphology version : "^0.25.0"
**Operating system: Ubuntu 20.04
**Web browser: chrome 106.0.5249.103 (64-bit)
Steps to reproduce
what I am trying to do is to change the size of the edge using a formula that we have, where it depends on minEdgeSize and maxEdgeSize
const size = minEdgeSize + (maxEdgeSize - minEdgeSize) * (e.weight?e.weight:0); now the problem is,this causes the edges to disappear for some reason
this useEffect causes edges to disappear:
useEffect(()=>{
        const {minEdgeSize, maxEdgeSize} = graphSettings;
        graph.updateEachEdgeAttributes((edgeId, e)=>{
            const size = minEdgeSize + (maxEdgeSize - minEdgeSize) * (e.weight?e.weight:0);

            return {
                ...e,
                size,
            };
        });
    }, [graphSettings.minEdgeSize, graphSettings.maxEdgeSize]);

and yes, the size here is a valid integer value
initially, here's how I add edges to the network:
visibleEdges.forEach((edge)=>{
        graph.addDirectedEdge(edge.source, edge.target, {type: 'arrow', color: 'rgb(94, 91, 91)', size: edge.size?edge.size:1});
    });

here's the sigma container:
<SigmaContainer
            settings={{
                nodeProgramClasses: {image: getNodeProgramImage(), circle: CircleNodeProgram},
                edgeProgramClasses: {
                    arrow: ArrowEdgeProgram,
                },
                ...graphSettings,
            }}
            style={{height: '500px', background: props.noBackground ? 'white' : mainBackgroundColor}}
        >

and I get the arrow program from here:
import ArrowEdgeProgram from 'sigma/rendering/webgl/programs/edge.arrow';
Expected behavior
Edges sizes get modified
Actual behavior
Edges disappear when I just add this useEffect to the code

I just tested it, and it works : https://codesandbox.io/s/react-sigma-issue-39-73zxx1
If you can reproduce your issue on codesandbox by forking this one above, I will be able to help you.

The problem was that I didn't initialize weight when I added the edge, this seems to cause the issue for some reason when updating the size


Enable OWL-ViT graph mode on Gaudi platform

What does this PR do?
Patched the forward function of OWL-ViT such that the model can be run in graph mode.
Performance of OWL-ViT (google/owlvit-base-patch32) in lazy mode:
n_iterations: 20
Total latency (ms):<PHONE_NUMBER>321289
Average latency (ms): 28.574419021606445
Performance of OWL-ViT (google/owlvit-base-patch32)  in graph mode:
n_iterations: 20
Total latency (ms): 79.71644401550293
Average latency (ms): 3.9858222007751465
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@regisss Would you please take a look on this? Thanks.

@regisss Would you please take a look if this is good for merging?

Added test case and updated Readme.md

Can you run
pip install -U ruff
make style

to have the code style check pass please?
Also, there is a merge conflict. I think this one should be fairly straightforward to solve but let me know if you need any help. You'll just have to update your main branch and merge it into this one.

Thanks for helping to review it. It passed the code style test and the conflict is solved. The conflict is just caused by the ordering of the codes.


Data brought from beyond is broken

Hi! I've been trying to get the character info from beyond but been failing. I think the JSON is getting malvormed since it comes down with a lot of extra characters, eg.:
"{"Name": "",\r\n"Level": "1",\r\n"Race": "Tortle",\r\n"Class": "Wizard 1",\r\n"AC": 17,\r\n"HP": {\r\n"Current": ,\r\n"Max": },\r\n"HD": {\r\n"Used": 0,\r\n"Total": 0,\r\n},\r\n"Prof": "-1",\r\n"Move": 30,\r\n"Init": "-1",\r\n"Order": "-1",\r\n"Abilities": {\r\n"STR": "",\r\n"DEX": "",\r\n"CON": "",\r\n"INT": "",\r\n"WIS": "",\r\n"CHA": ""\r\n},\r\n"Saves": {\r\n"STR": "",\r\n"DEX": "",\r\n"CON": "",\r\n"INT": "",\r\n"WIS": "",\r\n"CHA": ""\r\n},\r\n"Skills": {\r\n"Acrobatics": "",\r\n"Animal Handling": "",\r\n"Arcana": "",\r\n"Athletics": "",\r\n"Deception": "",\r\n"History": "",\r\n"Insight": "",\r\n"Intimidation": "",\r\n"Investigation": "",\r\n"Medicine": "",\r\n"Nature": "",\r\n"Perception": "",\r\n"Performance": "",\r\n"Persuasion": "",\r\n"Religion": "",\r\n"Sleight of Hand": "",\r\n"Stealth": "",\r\n"Survival": ""\r\n},\r\n"Attacks": {\r\n}}"
This is the issue reported by the tool:
Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: }. Path 'HP.Max', line 8, position 7.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJObject(JsonReader reader)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
at LordAshes.BeyondLinkServer.OnAccept(IAsyncResult result) in C:\Users\Lord Ashes\source\repos\TaleSpireBeyondLinkViaChromePlugin\BeyondLinkServer\BeyondLinkServer.cs:line 145
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Am I doing something wrong on my side?

Looks like the extension is having issues reading your character info. I
did update the extension today (sorry forgot to update the version...just
remove the extension are re-add it) because DnD Beyond seemed to have
changed the key that we were using to get the character name. After fixing
that it loaded my character stats without a issue.
Lord Ashes
[image: width=]
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Sun, Aug 7, 2022 at 2:15 PM NahtreX @.***> wrote:

Hi! I've been trying to get the character info from beyond but been
failing. I think the JSON is getting malvormed since it comes down with a
lot of extra characters, eg.:
"{"Name": "",\r\n"Level": "1",\r\n"Race": "Tortle",\r\n"Class": "Wizard
1",\r\n"AC": 17,\r\n"HP": {\r\n"Current": ,\r\n"Max": },\r\n"HD":
{\r\n"Used": 0,\r\n"Total": 0,\r\n},\r\n"Prof": "-1",\r\n"Move":
30,\r\n"Init": "-1",\r\n"Order": "-1",\r\n"Abilities": {\r\n"STR":
"",\r\n"DEX": "",\r\n"CON": "",\r\n"INT": "",\r\n"WIS": "",\r\n"CHA":
""\r\n},\r\n"Saves": {\r\n"STR": "",\r\n"DEX": "",\r\n"CON": "",\r\n"INT":
"",\r\n"WIS": "",\r\n"CHA": ""\r\n},\r\n"Skills": {\r\n"Acrobatics":
"",\r\n"Animal Handling": "",\r\n"Arcana": "",\r\n"Athletics":
"",\r\n"Deception": "",\r\n"History": "",\r\n"Insight":
"",\r\n"Intimidation": "",\r\n"Investigation": "",\r\n"Medicine":
"",\r\n"Nature": "",\r\n"Perception": "",\r\n"Performance":
"",\r\n"Persuasion": "",\r\n"Religion": "",\r\n"Sleight of Hand":
"",\r\n"Stealth": "",\r\n"Survival": ""\r\n},\r\n"Attacks": {\r\n}}"
This is the issue reported by the tool:
Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unexpected
character encountered while parsing value: }. Path 'HP.Max', line 8,
position 7.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJObject(JsonReader
reader)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary
dictionary, JsonReader reader, JsonDictionaryContract contract,
JsonProperty containerProperty, String id)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader
reader, Type objectType, JsonContract contract, JsonProperty member,
JsonContainerContract containerContract, JsonProperty containerMember,
Object existingValue)
at
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader
reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader,
Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type,
JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value,
JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
at LordAshes.BeyondLinkServer.OnAccept(IAsyncResult result) in
C:\Users\Lord
Ashes\source\repos\TaleSpireBeyondLinkViaChromePlugin\BeyondLinkServer\BeyondLinkServer.cs:line
145
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result,
IntPtr userToken)
at
System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at
System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32
errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Am I doing something wrong on my side?
—
Reply to this email directly, view it on GitHub
https://github.com/LordAshes/TaleSpire-BeyondLinkViaChrome/issues/7, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGQ5Y6GZRUMEWRA65QZRZ3LVX74MVANCNFSM5523EGNA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


save/open designs to/from deta

Apology, i just wanted to create a PR for my repo but GH automatically set your repo as a base.


fix: luis telemetry test typos

Couple typos!

Pull Request Test Coverage Report for Build 522407736

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.006%) to 84.777%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build 522086506:
0.006%

Covered Lines:
18192

Relevant Lines:
20491

💛  - Coveralls

Pull Request Test Coverage Report for Build 522407736

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.006%) to 84.777%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build 522086506:
0.006%

Covered Lines:
18192

Relevant Lines:
20491

💛  - Coveralls


Weird behavior after /characteristics

When I have successfully curled /characteristics and switch off a light, eg:
curl -X PUT http://localhost:51826/characteristics --header "Content-Type:Application/json" --header "authorization: 031-45-154" --data "{\"characteristics\":[{\"aid\":33,\"iid\":10,\"value\":false}]}"
It only turns off the specific light, so that's good. But in the homekit app or eve, all the devices are visually set to off in the interface, they are still on, but appear off.

Sorry your wording is rough, what are you asking?
Also, I think your false should be a 0 for it to work correctly
Sent from my iPad

On Oct 26, 2017, at 3:06 PM, Erich<EMAIL_ADDRESS>wrote:
We I have successfully curled /characteristics and switch off a light, eg:
curl -X PUT http://localhost:51826/characteristics --header "Content-Type:Application/json" --header "authorization: 031-45-154" --data "{"characteristics":[{"aid":33,"iid":10,"value":false}]}"
It only turns off the specific light, so that's good. But I'm the homekit app or eve, all the devices are visually set to off in the interface, they are still on, but appear off.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sorry not intended. What happens is that the light is turn off, but according to the homekit app, all the lights went off, but thats not true.

Op 27 okt. 2017 om 04:28 heeft NorthernMan54<EMAIL_ADDRESS>het volgende geschreven:
Sorry your wording is rough, what are you asking?
Also, I think your false should be a 0 for it to work correctly
Sent from my iPad

On Oct 26, 2017, at 3:06 PM, Erich<EMAIL_ADDRESS>wrote:
We I have successfully curled /characteristics and switch off a light, eg:
curl -X PUT http://localhost:51826/characteristics --header "Content-Type:Application/json" --header "authorization: 031-45-154" --data "{"characteristics":[{"aid":33,"iid":10,"value":false}]}"
It only turns off the specific light, so that's good. But I'm the homekit app or eve, all the devices are visually set to off in the interface, they are still on, but appear off.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

0, instead of false, did the trick


Use an animated WebP or GIF for animated lock images

Instead of needing to create a texture file and mcmeta file, being able to also use an animated WebP/GIF for the lock image would be a much easier experience for the user

Could also just limit to WebP for simplicity since it's a better file format

Yet Another Config Lib seems to have the ability to load WebP/GIF files, I will take a look at some point and if I think its suitable I might ask for permission to use it in this mod.


I usually get a calculator with Essences and divide how much they have by 9, so I know how many stacks to give them.
This is a significant problem that MercuryTrade could solve by having an indication on the icon or tooltip that tells me how many stacks to give the person.
Thanks!

That won't be made. There are a lot of different currencies right now in the game with different stack sizes etc.

It would only need to support Essences, but I understand if you don't want to.


Library crates should prefer thiserror to anyhow for error handling

The primary reason to prefer thiserror to anyhow for libraries is because thiserror enables users of the library to handle different types of error conditions.
The thiserror crate is aimed at making it trivial to declare a set of custom *Error structs and enums. Enums are particularly useful for this as they allow downstream users of your library to exhaustively check error conditions in order to handle them correctly and with confidence that they have all cases covered.
On the other hand, anyhow is aimed at making error handling quick and easy for application crates, and does not at all make it easy for devs to actually handle certain conditions without inspecting the contents of strings.
Edit: I'll add that both thiserror and anyhow were published by the same author around the same time, and that this use-case distinction is intentional. Both are useful, but should be used for their particular use-cases.

Closing in favor of #4817


Error with generated custom component when rendering MJMLElements

I am using the template generated by mjml --init-component product. When I try to render a MJMLElement (default generated render method), I have an error. Here is the render method:
render() {

    const css = this.getStyles(),
          content = 'Hello World!'

    return (
      <MjText style={ css }>
        { content }
      </MjText>
    )
  }

The error is when running the command DEBUG="mjml-engine/mjml2html" babel-node app.js
  mjml-engine/mjml2html Start parsing content +0ms
  mjml-engine/mjml2html Content parsed. +8ms
  mjml-engine/mjml2html Start rendering +1ms
  mjml-engine/mjml2html Create root React element +0ms
  mjml-engine/mjml2html Render to static markup +0ms
Warning: validateDOMNesting(...):
 cannot appear as a child of . See MJMLColumnElement > td > Product > MJMLElement > MJMLColumnElement > tr.
Warning: React.renderToStaticMarkup is deprecated. Please use ReactDOMServer.renderToStaticMarkup from require('react-dom/server') instead.
/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/fbjs/lib/invariant.js:46
    throw error;
    ^

Invariant Violation: renderToStaticMarkup(): You must pass a valid ReactElement.
    at invariant (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/fbjs/lib/invariant.js:39:15)
    at Object.renderToStaticMarkup (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/react/lib/ReactServerRendering.js:59:83)
    at Object.newFn [as renderToStaticMarkup] (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/react/lib/deprecated.js:38:17)
    at MJMLElement.mjContent (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/mjml/lib/components/decorators/MJMLElement.js:102:96)
    at Text.render (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/mjml/lib/components/Text.js:85:44)
    at [object Object].ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/react/lib/ReactCompositeComponent.js:587:34)
    at [object Object].ReactCompositeComponentMixin._renderValidatedComponent (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/react/lib/ReactCompositeComponent.js:607:32)
    at [object Object].wrapper [as _renderValidatedComponent] (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/react/lib/ReactPerf.js:66:21)
    at [object Object].ReactCompositeComponentMixin.mountComponent (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/react/lib/ReactCompositeComponent.js:220:30)
    at [object Object].wrapper [as mountComponent] (/Users/c2249657/WebstormProjects/responsive-email-desssipi/node_modules/react/lib/ReactPerf.js:66:21)

Here is my app.js:
import Product from './Product'
import mjml from 'mjml'

/*
  Compile an mjml string
*/
const htmlOutput = mjml.mjml2html(`<mj-body>
  <mj-section>
    <mj-column>
      <mj-product></mj-product>
    </mj-column>
  </mj-section>
</mj-body>
`)

/*
  Print the responsive HTML generated
*/
console.log(htmlOutput);

However, when I render simple html like this:
render() {
    return (
      test
    )
  }

It is working fine. I cannot see why I cannot render MJMLElements like MjText but I can render simple html :/
Thanks

Hi @epayet, thanks for reporting. We'll look into it and come back to you with a solution.
Thanks for your patience!

Hi @epayet ,
If mj-product is empty,  content is empty so the engine crash. I'll try to fix it today

Hi,
Sorry to reopen this issue but the bug isn't resolved even with the version 1.2.0
I made a small repo with the reproduction of this bug: https://github.com/epayet/mjml-bug-component
I cannot see why it is still happening. Could you look into it?
I am happy to help. Thanks

Ok, I figured out what happen: When giving a non-react element to a mjText that depends on mjContent it will crash.
Thank you very much for taking the time to do a repository to reproduce the bug ! I'll try to get a fix for a next release !

Cool that would be awesome, I ran into exactly the same issu. A slight adjustment to the mjContent method solved it
    mjContent() {
      const content = this.state.getIn(['elem', 'content']);
      if ( content ) {
        return _.trim(content)
      }
      return React.Children.map(this.props.children, child => {
        if (typeof child === 'string') {
          return child;
        }
        return ReactDOMServer.renderToStaticMarkup(child)
      })
    }

:+1: @rogierslag if you can open a PR would be so cool ! :)


Duplicate Deltas

Hi, we're seeing duplicate_deltafile server error when trying to synchronise or push commits from QField and is preventing projects from syncing and uploading new data to QFieldCloud.
This behaviour is happening across multiple devices (but not all devices pushing data to the project on QFieldCloud).
On QFieldCloud the project has all conflicts resolved (i.e. status is project synced).
Is there a way to handle this from within QField or to regenerate a deltafile id on the device? Or, is there a way to remove the deltafile with the clashing id from QFieldCloud to allow data on devices to sync?
Relatedly, is there a better option than adb backup -noapk xxxx for retrieving data from QFieldCloud projects that are prevented from syncing as a back up in cases like this?
Please let me know if I can provide anymore info or if this should be moved to Discussions. Thanks!

This will be fixed with the next relase of QFieldCloud.


Add override for rook-config-override

Signed-off-by: Jose A. Rivera<EMAIL_ADDRESS>

Variables renamed! Don't know why I didn't see it first. :stuck_out_tongue_closed_eyes:

Why can't we directly update the ConfigMap?

Isn't that exactly what we're doing now? We Get(), compare, and Update() the ConfigMap as needed.

Or, worst case - can't we just pass the ConfigMap object instead of string literal?

This is just exposing a field in the StorageCluster CR for the Rook-Ceph config string. I don't see a reason to force the entire ConfigMap struct when the only thing that matters is one string literal.

/test ocs-operator-bundle-e2e-aws

Why can't we directly update the ConfigMap?

Isn't that exactly what we're doing now? We Get(), compare, and Update() the ConfigMap as needed.

I mean't "we the user". OCS Operator should just have a flag to make it customizable?

Or, worst case - can't we just pass the ConfigMap object instead of string literal?

This is just exposing a field in the StorageCluster CR for the Rook-Ceph config string. I don't see a reason to force the entire ConfigMap struct when the only thing that matters is one string literal.

There is also no gain in forcing a string for config, when there's already a dedicated ConfigMap for it.
I believe that was your initial thought as well: https://bugzilla.redhat.com/show_bug.cgi?id=1914475#c5

Why can't we directly update the ConfigMap?

Isn't that exactly what we're doing now? We Get(), compare, and Update() the ConfigMap as needed.

I mean't "we the user". OCS Operator should just have a flag to make it customizable?

Ah, gotcha.

I believe that was your initial thought as well: https://bugzilla.redhat.com/show_bug.cgi?id=1914475#c5

Yeah, true... maybe that would be easier for people to understand? Folks would probably be more familiar with editing a ConfigMap directly than figuring out how to it indirectly from another CR. It would also guard us against any future (though unlikely) changes to the format of the ConfigMap. @obnoxxx ?

...I just had another thought: we probably shouldn't be controlling this from the StorageCluster CR at all. After all, this is a configuration for the rook-ceph-operator, not an individual CephCluster. We even initialize the ConfigMap in OCSInitialization, we hsould be implementing this there!

...I just had another thought: we probably shouldn't be controlling this from the StorageCluster CR at all. After all, this is a configuration for the rook-ceph-operator, not an individual CephCluster. We even initialize the ConfigMap in OCSInitialization, we hsould be implementing this there!

This argumentation seems to be very logical and compelling to me.

/test ocs-operator-bundle-e2e-aws

...I just had another thought: we probably shouldn't be controlling this from the StorageCluster CR at all. After all, this is a configuration for the rook-ceph-operator, not an individual CephCluster. We even initialize the ConfigMap in OCSInitialization, we hsould be implementing this there!

This argumentation seems to be very logical and compelling to me.

@jarrpa  - so what does this mean for this PR?

...I just had another thought: we probably shouldn't be controlling this from the StorageCluster CR at all. After all, this is a configuration for the rook-ceph-operator, not an individual CephCluster. We even initialize the ConfigMap in OCSInitialization, we hsould be implementing this there!

This argumentation seems to be very logical and compelling to me.

@jarrpa - so what does this mean for this PR?

Oh, it needs to be entirely redone. I was thinking of just overhauling the branch.

So I'm glad I left this sitting around for a few days. Turns out that I was entirely wrong, and the rook-config-override ConfigMap only applies to the CephCluster that is in its same Namespace. As such, it makes perfect sense to keep it in the StorageCluster reconciliation. So now the question is: do we force the admin to provide the rook-config-override data in the StorageCluster CR or do we have them edit the ConfigMap directly? The latter would mean that they'd have to manually create the ConfigMap prior to creating the StorageCluster for the settings to affect the CephCluster at creation time.

So I'm glad I left this sitting around for a few days. Turns out that I was entirely wrong, and the rook-config-override ConfigMap only applies to the CephCluster that is in its same Namespace. As such, it makes perfect sense to keep it in the StorageCluster reconciliation. So now the question is: do we force the admin to provide the rook-config-override data in the StorageCluster CR or do we have them edit the ConfigMap directly? The latter would mean that they'd have to manually create the ConfigMap prior to creating the StorageCluster for the settings to affect the CephCluster at creation time.

The behavior I'd expect is to have an option like other resources whether to reconcile always, only create initially, etc. By default we would set it reconcile. If they change it to be unreconciled, then OCS wouldn't ever update it, and they could add their desired settings. If settings are needed at initial cluster creation, they would need to create the CM before creating the cluster.
If the configmap is updated after initial cluster creation, the settings could still be applied by restarting the daemon that is affected. Some settings affect the rook operator, some affect the mons, osds, etc.

The behavior I'd expect is to have an option like other resources whether to reconcile always, only create initially, etc. By default we would set it reconcile. If they change it to be unreconciled, then OCS wouldn't ever update it, and they could add their desired settings. If settings are needed at initial cluster creation, they would need to create the CM before creating the cluster.
If the configmap is updated after initial cluster creation, the settings could still be applied by restarting the daemon that is affected. Some settings affect the rook operator, some affect the mons, osds, etc.

I can live with that.

/cherry-pick release-4.7

/cherrypick release-4.7


Please add flag to log score for each sample (akin to Eleuther's LM Evaluation Harness)

Hi! I've been using EleutherAI's LM Evaluation Harness and I'd like to be able to also runs some code tasks using your Big Code Evaluation Harness. We need the scores for each sample in each benchmark and the LM Evaluation Harness has a helpful flag log_samples that activates logging the per-sample scores.
As best as I can tell (and please correct me if I'm wrong), Big Code's Evaluation Harness doesn't have a similar flag. If my understanding is correct, could this please be added?
Thank you!

If making this change is relatively simple, you can let me know how to make the change and I can open a PR?

Hi, I encounter the same need.
I find that the code can be easily modified to log the per-sample score.
Take the task humaneval as an example, the second return value in compute_code_eval (called in process_result: link) will return the logs (including whether the output is passed) of sample as a list.
In the original implementation, they just use a _ to accept the returned logs. If you want to output the logs to a file, you can just save the value by json.dump.

Yes as @shuhao02 explained and as I mention in this issue you can dump the results returned by code_eval metric https://github.com/bigcode-project/bigcode-evaluation-harness/issues/211#issuecomment-2027100342
results, details = compute_code_eval(..)
details.to_json("details.json")

Feel free to make a PR to add a flag for the harness, but note that not all tasks use this metric


Fix README header for subject agreement

This commit changes the "Develop Swift in Xcode" header to be
"Developing Swift in Xcode" to agree with the other headers
in the same file:

"Getting Started"
"Getting Sources"
"Building Swift"
"Testing Swift"
"Contributing to Swift"

Yep, seems reasonable.


ServerVariables Error

https://pastebin.com/CGDtSF31

config.yml: https://pastebin.com/PuQtLim7
Running latest ServerVariables version and Paper 1.20.4

Here: https://pastebin.com/TjxTQmpc
Can't even update it for that player.
The plugin works fine for players that joined before on 1.19.4, but not on new players after updating to 1.20.4

You are not sending me the complete error. With only that message I can't do anything since there are no references to the code of ServerVariables.


Width of StatefulSelect when inside a Block or FlexGrid

Current Behavior
StatefulSelect is rendering super narrow when placed inside a Block or a FlexGrid.
In the linked demo I have outcommented the override, which makes it a min width, but I think it should not be needed to put an override to get a sensible default width?
Demo: https://codesandbox.io/s/block-with-grid-usage-h4u3j
Expected Behavior
A better default width.
Your Environment

Tech
Version

Base UI
v8.6.1

React
16.8.2

browser
Chrome 75.x

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Can I take up this issue?

sure, thanks @rohitb4 !

@chasestarr @tajo is setting a min-width to the select right approach? If we take the min-width approach, what should be the default value?

I would rather not take a min-width approach. I think we should ensure that the select component grows to fill available width. This aligns better with the current functionality of input components. It is likely more complicated if the container is included in a flex layout.

I agree with that approach @chasestarr and if I then want it not growing full width I can either overwrite or size down the container. But a fixed min-width is prone to (responsive) issues.
Unrelated, I would like to start doing some of the fixes myself also, but did not really do any TS before I was struggling a bit to get a development edition running where I could also test it out locally inside my actual application, but I will try to get back to that when I have more time.

Thanks for the bug reports @houmark - very helpful to the improve the project. We don't have a great process for linking baseui with other apps. What I recommend is to create a reproducing failing test/scenario file and develop on the bug internal to the baseui repo

Yeah, but I do think a full get started guide with more details than the current one would be helpful for others. I'm not the only one being a bit green on TS and the entire setup, but once I got it working I should be able to do the simple "good first issue" bugs and gain confidence in contributing that way, so if you would have time to review the current guide and more details, then I would be more likely to get my feet wet soon.
Until then, the least I can do, is to report the issues I encounter, even the ones that are due to my own lack of understanding or stupidity where nothing is wrong with baseui. Baseui is a great project with a solid base of pretty stable components, powerful customization, and with a lot of potential to become even better, all packaged in a nice modern clean look, so I for one will be around to use it and participate in the ongoing improvements! Thanks for your dedication and the rapid pace of continues development!

I'll take another look at the contributing docs next week

@rohitb4 did you decide not to attack this one? I may give it a shot if you won't.

@houmark looks like this has been marked as stale. Are you still looking into this issue?

I would like to but had no time recently, I was awaiting if @rohitb4 had anything in progress.

Please re-open this one and maybe tweak the bot to not close issues when someone comments, because it will just suppress low priority bug fixes like this one.

@houmark this seems to have been resolved at some point. Here's what the same sandbox looks like with latest baseui release: https://codesandbox.io/s/block-with-grid-usage-imd7b I'll try to pin down at what point it changed, but hopefully we can simply add a regression test and resolve this issue
@Hrily were you seeing incorrect behavior when working on your fix?

seems to have been one of the changes below that 'fixed' it

https://github.com/uber/baseweb/pull/2004
https://github.com/uber/baseweb/pull/2063

and was just released in the 9.8.0 version

@chasestarr Yes I am also seeing a full-width field now on 9.8.0, which is actually quite annoying in that particular UI :) On to figure out how I can make it a minWidth when empty and full-width of its container when it has options.

@Hrily were you seeing incorrect behavior when working on your fix?

Yes, and it was because I was using v9.7.1

Closing, thanks @Hrily for adding a regression test


Fix open & select right sidebar item on load page

When third level item is selected sidebar was not expanded because "ul.nav-second-level" does not have in class.
I fixed it setting active on current "ul.nav a" and then setting in on "ul.nav" parents and active on "li" parents of "ul.nav".
This should also fix #61

Any chance for this PR getting merged in the near future?

I think it's good for starter package, but seems everything else will depend on backend and their URL structure

@r-ryabyy you are right, so i try to fix different link as possible in my new commit:

link with only # are skipped #84
by default only pathname is used to matchfor seo url or subpath #58
a data attributes *data-search="true" used on all link with search to match #75

Hi David,
what don't you like in my change, it fixes some problem with dropdown left sidebar

I was closing out pull requests because I was reconfiguring the repo and needed everything closed unfortunately. You can open a new pull request with your changes to the master branch for review though! Sorry for the inconvenience.


Bug: Persistent Summary Display when Switching Tabs on Website

How to reproduce the Bug :

Generate a summary for a website
Switch the tab to a new website
You'll still be able to see the summary of the previous website

Proposed Solution:

Clear the Summary cache when switching tabs

@gobbledy-gook you can this onto your PR so that when it gets merged, this will be automatically closed

Tab changing has been made identifiable by the code.
Working on clearing past data.


v0.4.1 can't seem to login

I tried v0.4.1 and it does not get past the log-message "GetMe result". It occurs everytime I try to send a command. No data is beeing updated:

tado.0
2022-11-27 15:58:22.341
info
Initialisation finished, connected to Tado cloud service refreshing every 30 seconds

tado.0
2022-11-27 15:58:22.308
debug
GetMe result<EMAIL_ADDRESS>

tado.0
2022-11-27 15:58:22.104
info
Connected to Tado cloud, initialyzing...

tado.0
2022-11-27 15:58:21.634
debug
Internet connection detected. Everything fine!

tado.0
2022-11-27 15:58:21.514
info
Started with JSON-Explorer version 0.1.9

tado.0
2022-11-27 15:58:21.465
info
starting. Version 0.4.1 in /opt/iobroker/node_modules/iobroker.tado, node: v16.18.1, js-controller: 4.0.23

There is no json-output in debug-mode listing all the api-results following. Hence the adapter does not sync API to object read/Write.
Reverting back to 0.4.0 solves the issue.

I did two major lib updates. As I cannot reproduce the issue, can you please test following three versions and let me know if one of those are working
During the startup of the adapter you will find an additional log-line with
axios version is x.x.x and simple-oauth2 version is x.x.x
This line will display different versions for the three installs. The adapter version number itself did not change!
Install 1
DrozmotiX/ioBroker.tado#c56acce9b7f20f566e116d5b7bb15de6733a4d13
Install 2
DrozmotiX/ioBroker.tado#7bdebac4ee9c228843c6b1f29818fb716935c567
Install 3
DrozmotiX/ioBroker.tado#ac2e935c17c401909b1c47ca07a070454c1b4724
Installs work in Expert mode with the "cat" in the Adapter tab.

axios version is 0.27.2 and simple-oauth2 version is 5.0.0
works

aios version is 1.2.0 and simple-oauth2 version is 5.0.0
does not work

axios version is 1.2.0 and simple-oauth2 version is 5.0.0
--

axios version is 1.2.0 and simple-oauth2 version is 4.3.0
does not work

Thanks a lot!
I guess this version works as well (axios 1.1.3 and outh2 in 5.0.0)
DrozmotiX/ioBroker.tado#317796207d02ea797c30b056ce4fcf71d92c10a2

yes you are right, this one work as well

axios version is 1.1.3 and simple-oauth2 version is 5.0.0

Thanks for your quick support!
Will create a new version in the next hours

fixed in https://github.com/DrozmotiX/ioBroker.tado/releases/tag/v0.4.2


feat: self define exception

support triple self define exception

Codecov Report

Merging #10667 (1c05c3d) into 3.1 (e6a6ba8) will decrease coverage by 0.30%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                3.1   #10667      +/-   ##
============================================
- Coverage     65.11%   64.80%   -0.31%
+ Complexity      494      491       -3
============================================
  Files          1334     1336       +2
  Lines         56794    56882      +88
  Branches       8412     8406       -6
============================================
- Hits          36979    36865     -114
- Misses        15848    16023     +175
- Partials       3967     3994      +27

Impacted Files
Coverage Δ

.../protocol/tri/call/AbstractServerCallListener.java
70.00% <100.00%> (+7.50%)
:arrow_up:

...rpc/protocol/tri/call/UnaryClientCallListener.java
83.33% <100.00%> (+2.08%)
:arrow_up:

...mmon/serialize/fastjson2/FastJson2ObjectInput.java
0.00% <0.00%> (-62.50%)
:arrow_down:

...mon/serialize/fastjson2/FastJson2ObjectOutput.java
0.00% <0.00%> (-56.25%)
:arrow_down:

...ache/dubbo/remoting/transport/AbstractChannel.java
50.00% <0.00%> (-37.50%)
:arrow_down:

...dubbo/remoting/zookeeper/ZookeeperTransporter.java
50.00% <0.00%> (-33.34%)
:arrow_down:

...on/serialize/fastjson2/FastJson2Serialization.java
57.14% <0.00%> (-28.58%)
:arrow_down:

...ng/zookeeper/curator5/Curator5ZookeeperClient.java
43.86% <0.00%> (-25.48%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-21.06%)
:arrow_down:

...n/serialize/fastjson2/Fastjson2CreatorManager.java
46.66% <0.00%> (-20.00%)
:arrow_down:

... and 138 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


IAPP label limits

increase to as many as possible

try new limit of 5K, if that still doesn't cut it i need to work on button to render all within extent.


Feature Request: Support for New Reiwa Era Character ㋿ in Japanese

With the new Japanese Reiwa Era, there's a new character introduced ㋿ (U+32FF). Support for this character is required.

Environment

Tesseract Version: 4.0
Commit Number:
Platform: Windows

Current Behavior: Other Characters are being identified 砒後徘朔御菓
Expected Behavior: ㋿ should be identified for the given input image
Suggested Fix: Train and Update the current jpn.traineddata file with the new jpn character.
Attached:

The input file I used.
The character in 6 different fonts for training.
Reiwa.docx

This is issue tracker for tesseract engine, not for tessdata. Post it to right issue tracker.
Or do it by yourself:
https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00#fine-tuning-for--a-few-characters


CB-18987 Fetch template with join instead of projection. If template …

…is null, the instance group wasn't fetched by projection, this caused a No value present exception
See detailed description in the commit message.

Was this error introduced with 2.63?

Was this error introduced with 2.63? Do we need to hold back the current 2.63 version for this?

It is a burning issue, the InstanceGroup cannot be found if the template is null. I don't know how the template can be null but the StackDto refactor was introduced in 2.61.
I think we don't need to merge into 2.62

Okay, I was asking wether we introduce this issue with 2.63 or it's already in 2.62.
If the latter this is going to be a HF most probably.


Collapse whitespace in HTMLMinifier

When using conservativeCollapse, it must go in conjunction with collapseWhitespace: true

This was probably omited because of this bug in html-minifier. It's been fixed:
https://github.com/kangax/html-minifier/issues/316
I updated HTMLMin too.


⚠ Fortnite has degraded performance

In d42ab61, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1573 ms

Resolved: Fortnite performance has improved in 2173cbd.


Metro: 'd' (debug) command not working with newer CLI builds

What happened?
In PR #1484, @tido64 found that the 'd' (debug) command no longer works from the interactive Metro terminal when running a bundle server.
Affected Package
@rnx-kit/cli
Version
0.12.3
Which platforms are you seeing this issue on?

[X] Android
[X] iOS
[X] macOS
[X] Windows

System Information
n/a

Steps to Reproduce
yarn run react-native rnx-start
Start a native app an attach to the bundle server.
Then press 'd' once the server is up. A debug menu should appear in the native app.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Plot-twist:

The devMenu command was only ever implemented on Android: https://github.com/facebook/react-native/commit/01adc71ade1c3453705e5c744fa836aa2ca23e3c
It was added to @react-native-community/cli in 3.0.5-alpha.1: https://github.com/react-native-community/cli/commit/25a2c44c4a52341110e7a64d681aaefaf4726a97
It's been over three years and apparently no-one has noticed?

@kelset: Is this something worth filing an issue upstream?

yeah, I'd close this and upstream/mention this problem here: https://github.com/react-native-community/cli/issues/1820 so that the CLI team can look into that

Reported upstream. Closing this issue.


Path problems lead to failure to compile for various php scenarios.

So far, CLG has noticed this in:
php-bug-2012-03-12-438a30f1e7-7337a901b7
php-bug-2012-03-08-0169020e49-cdc512afb3
And she will update when she finds more.

Rebuilt src archives for both and added additional instruction to prepare.sh to regenerate configure

(Updated with a third possible problem scenario)

Rebuilt all PHP scenarios from scratch (within Dockerfile).


Small problem with grids in tabs and layout html

Hello,
Can't understand this is a BUG ot not ... Ok, description of problem .
Created tabs with grids . In first tab master grid, in second slaves . All is working very fine .
Now in the last (4-ty)  tab rendered layout - here 'main' is for grid and 'right' for images of products .
All is working OK .
The first picture :

As you can see in picture in the main tab, exist empty line . Now I'm going to the last tab wit layout :

Now if I'm returning to first, main, tab, I'm seeing that empty line dissapear ...

And that it's related with layout and pictures . Here it's mine source pieces  -
selection of main grid :
        w2ui[ tab_grd[ 0 ] ].on( 'select', function( event )
        {
           w2ui[ 'model_layout' ].html( 'right', '' ); // clear images in the 4-ty grid in layout
           event.onComplete = function()
           {
              ... some values ...
              mod_buv = mod_rec;
           }
        });

selection of 4-ty grid :
        w2ui[ tab_grd[ 3 ] ].on( 'select', function( event )
        {
           w2ui[ 'model_layout' ].html( 'right', '' );
           event.onComplete = function()
           {
              var rec = w2ui[ tab_grd[ 3 ] ].get( event.recid );
              if ( rec.dok_tip == 'img' && rec.kelias.length > 0 ) // if in database type "img" and exist
              {
                 w2ui[ 'model_layout' ].html( 'right', "<img src='" + rec.kelias + "' class='swipebox' style='position: relative;'>" );
              }
           }
        });

If I disable this line -
w2ui[ 'model_layout' ].html( 'right', "  img src='" + rec.kelias + "' class='swipebox' style='position: relative; '"  ); - ( removed <>  )
then first empty line don't dissapear . All is working OK.
But at this time I did this in such design and view of images in the 4-ty tab ( layout ) it's neddful . This small problem of dissapering of first line - unpleasant . Here I shown with empty line, but this can be in the second page and then 1-st line in the grid will dissapear ... How to avoid that ?
I know that I must to do a sample to jsfidle, but how to do with images in layout in jsfidle - don't know. Excuse ... :)
Any suggestion ? Thanks in advance ...

You could use Lorempixel as images in your fiddle. That way you can even easily control the size of the placeholder image.

Thanks, I'll know at second time ..
Any ideas how to avoid desribed problem ?


Sysdate oracle

why doesn't it work or code below?
raw.('..... AND dt_update > sysdate -30')
not possible sysdate?

This is not a knex, this is an Oracle question.
Try stackoverflow, e. g. https://stackoverflow.com/questions/9147393/comparing-date-with-sysdate-in-oracle/9147562


Reconsider simulator interface

 Issue by whitequark
Monday Sep 23, 2019 at 08:52 GMT
Originally opened as https://github.com/m-labs/nmigen/issues/228

The oMigen simulator had a strange interface where user processes would run after a clock edge, but before synchronous signals assume their new value. Not only it is very hard to use and bug-prone (my simulation testing workflow, for example, involves adding yield until tests pass...), but it also makes certain patterns impossible! For example, let's consider the FIFOInterface.write() simulation function:
def write(self, data):
    """Write method for simulation."""
    assert (yield self.w_rdy)
    yield self.w_data.eq(data)
    yield self.w_en.eq(1)
    yield
    yield self.w_en.eq(0)
    yield

It has to take two clock cycles. This is because, after the first yield, it is not yet possible to read the new value of self.w_rdy; running (yield self.w_rdy) would return the value from the previous cycle. To make sure it's updated, it is necessary to deassert self.w_en, and waste another cycle doing nothing.
Because of this, I've removed these methods from nMigen FIFOInterface in a57b76fb.
I think we should look at prior art for cosimulation (cocotb?) and adopt a usage pattern that is easier to use. This is complicated by the fact that it is desirable to run oMigen testbenches unmodified.

Hello,
I made a simple cxxrtl wrapper where i implemented an interface similar to COCOTB for nMigen.
https://github.com/andresdemski/nmigen-yosim
I know @whitequark is going to add an official cxxrtl support, take this just as an API proposal and don't look at the implementation please (i'm not C++ developer).
Some interesting features of "yosim":

rising_edge, falling_edge and timer triggers are implemented
configurable sim step
vcd support (you can choose which signals you want to dump)
fork and join capabilities
the scheduller and triggers are in C++

take this just as an API proposal

At the moment, I believe there is no need for a distinct API for nmigen.back.cxxim because when its API matches that of nmigen.back.pysim, it is possible to reuse testbench code across both backends, which not only makes it easier to "upgrade" to cxxsim but also easy to "downgrade" to pysim. So this issue is for improving the API of both backends.
More broadly, the major issue with the existing simulators that I see (the Verilog one, the VHDL one, the cxxsim one too to a slightly lesser degree) is that they offer you a very generic event-driven interface but they're not used for simulating generic event-driven systems--they're used to write testbenches for a single domain of synchronous logic, or sometimes, a few asynchronous domains with a small amount of CDC. That results in races. Verilog processes are inherently nondeterministic by design; VHDL is better if you're simulating logic alone, but it still does break in confusing ways if you're writing a testbench or perhaps a simulation model for a clock gate, where in both cases you might end up having to balance delta cycles.
Adding capabilities like arbitrary edge triggers or fork/join parallelism increases the potential for race conditions. What I'd like to see in nMigen's simulator API instead is (a) a way to inject behavioral models into the simulation that make it easy to write race-free code and (b) a race condition detector, similar to ThreadSanitizer.
By this point I believe I know how to solve (a); cxxrtl builds towards a solution to it by offering black boxes with a well-defined interface that guides the scheduler (the cxxrtl.comb/cxxrtl.sync annotations), and nMigen can go further than cxxrtl did. (b) is, I believe, a (small) open research problem.

Is it going to be possible to write simulation model for peripherals like ddr memories, sensors or high speed communication protocols and generate representative waveforms?
I know that you can use IDDR as a blackbox but you won't have a real waveform at the input for an end to end validation.

Is it going to be possible to write simulation model for peripherals like ddr memories, sensors or high speed communication protocols and generate representative waveforms?

Would it be good enough for you to use the vendor simulation models?

yep, but  the problem is how to generate data in both edges to feed the vendor iddr simulation model.

how to generate data in both edges to feed the vendor iddr simulation model

Ah yes. Both nmigen.back.pysim and CXXRTL actually already support testbench code that can drive signals with true DDR waveforms. The main issue is that it is quite hard to write such testbench code in a race-free way. I think at the moment the only completely reliable solution is to shift the testbench by a further quarter phase, although that can cause other issues.

While redoing the simulator interface it should also be considered to make add_clock (or its equivalent) take a frequency to bring it in line with ResourceManager.add_clock_constraint.

Denominating from 0.3 for two reasons:

cxxsim is critical for people simulating larger designs with nMigen and we shouldn't let exploratory projects like this issue delay that;
migrating to cxxsim from pysim will inevitably expose issues, and it would be a disservice to our downstream to require two migrations at once, since that doubles the issues and obscures the nature of any bugs.

The titular issue has been solved by RFC 27 and more improvements will come in later RFCs.


Wrong image after upgrade

Encoded info can't be recognized
In the image attached code at the left is from qr.dart example page, and code at the right is a generated by plugin

I seem to get the same result using both ..

I'm going to close this issue for now. Please feel free to reopen.


Stores to be an external package

Is your feature request related to a problem? Please describe.
The stores package is internal and not possible to use externally
Describe the solution you'd like
live at ./stores
Describe alternatives you've considered
Using the go layout structure
Additional context
N/A

closed by #164


Align config file name with repo name

The repository is named admin-panel-nodes-sso and the config file is named adminpanel-sso-nodes.json. It just happened to me that I switch the places and got it working after a second look at how the config file must be named.

Fixed after renaming to NodesSSO


Add sinkhole functionality

Adds the ability to make search requests for sinkhole email addresses, have our database find the equivalent real user, then return the user object with the sinkhole address intact.
For example, a POST request to /users/search with the following JSON body…
{
    "email": [
<EMAIL_ADDRESS>    ]
}

…will look for<EMAIL_ADDRESS>in the database, and if found, return that user object but with the sinkhole address instead of the real one:
[{
    "email"<EMAIL_ADDRESS>    "uuid": "user’s uuid"
    … other user data
}]

This lets us run end-to-end Email Platform tests in production, with real users, without actually sending any email. Splendid/terrifying.

Looks great and thank you for addressing the feedback
I just added a couple of minor comments 👍🏼
It would be good to add the unit tests for the sinkhole utils too

Pleasure! Thanks for the thorough reviews 🙌


How could I convert all Images to JSON or binary

Hello guys I want to convert all images that's i hold it using ng-flow to JSON because it's will be send using ASP.NET WebAPI.

Refer this issue
https://github.com/flowjs/ng-flow/issues/228


UI crashes when meeting new civ

The whole user interfaces completely vanishes when meeting a new civ. I have tested this in two separate games. Each time when I meet the first major civilization the UI vanishes. Even the hot keys dont work. Only keys that respond are 'Esc' and arrows to move the map. You can still roam the map and click on your units but nothing is actionable. The city banners and resource icons also get removed. Additionally the save and load game options become greyed out. I have a feeling this may be linked to leader animation play.
p.s.
I have turned off leader animation from standard options.
I am using default CQUI options.
I am using some additional mods - AI Cleanup, AI+, Smoother Difficulty, TCS Omnibus Mod. None of these should theoretically have a conflict. I have attached a saved game file which crashes consistently/reliably after 1 turn.
FREDERICK BARBAROSSA 119 75 AD.zip

I have made a subsequent test with all other mods disabled and same result. Game crash at first major civ meet.

Two questions:
a) Civ Version?
b) CQUI Version?

a) Civ Version: <IP_ADDRESS>
b) CQUI version: nightly build
I have looking at a change made in Jan about fadescreen timing #214. could this be an unintended side effect?

We use files and functions offer by the current Australian release (<IP_ADDRESS>) so you have to update your Civ Version for using CQUI.

Okay. I made another test by removing the DiplomacyActionView.Lua and XML and that made a temp fix. I suppose the function calls you are referring to are housed in those files

I do not think so...

There was something related to diplomacyactionview anyway, since removing the related files made the leader screen run properly on my version. I suppose its a moot point though since I had the incorrect version as you pointed out. thanks.

But I'm sure, that we have other new stuff, so it could be instable at other points too.

@smalltimepro download the osx-linux version and tell me if that fixes the
issue
On Fri, Mar 17, 2017, 9:13 AM Jens Herrmann<EMAIL_ADDRESS>wrote:

But I'm sure, that we have other new stuff, so it could be instable at
other points too.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chaorace/cqui/issues/403#issuecomment-287350083, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGKcgCNFYdF1lDoMJn4y3LxXs2IBOGbzks5rmobngaJpZM4Mgb1j
.

@JHCD I have observed the same issue as @smalltimepro . I'm using version <IP_ADDRESS> and the CQUI version of today.

@novigit The issues went away from me when I upgraded to 110. I have used CQUI for several dozen hours since then and havent got any issues.

@JHCD @smalltimepro It turns out that my issue was not using the nightly build, but using the latest master branch copy. Now I use the nightly build with the spring patch of civ6, and the UI does not crash anymore upon meeting a civ :)


RT-7.3: Fixing IPv6 route generation, DefaultImportPolicy and regexp pattern

Following changes are made here -

Fixing IPv6 route generation to have AsPath set as expected by Readme test and as it was done for IPv4.
Fixing DefaultImportPolicy for IPv4 to "Reject" as required by eBGP, and as it was before PR-3025
Removing ^ from the regexp aspathMatch from the beginning, considering these eBGP routes will always AsPath with neighbor AS 65511 at the start, and will never match ^100

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

Pull Request Functional Test Report for #3632 / 5d66d7e5853ed8aa65da4efd15ab284bfcf8db4d
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-7.3: BGP Policy AS Path Set

Cisco 8000E

RT-7.3: BGP Policy AS Path Set

Cisco XRd

RT-7.3: BGP Policy AS Path Set

Juniper ncPTX

RT-7.3: BGP Policy AS Path Set

Nokia SR Linux

RT-7.3: BGP Policy AS Path Set

Openconfig Lemming

RT-7.3: BGP Policy AS Path Set

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-7.3: BGP Policy AS Path Set

Cisco 8808

RT-7.3: BGP Policy AS Path Set

Juniper PTX10008

RT-7.3: BGP Policy AS Path Set

Nokia 7250 IXR-10e

RT-7.3: BGP Policy AS Path Set

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.268%

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls

HW log with these changes are available at - b/383732784


feat: allow skip git init

Quick PR to allow the developer to skip the git repo initialization.

I'm glad you did this. I've been wondering: why would someone want to skip git initialization?

Well, in my case, I have 2 email addresses, on for my company, and one for my other professional uses. In my global git config, I don't have my [user.email] set up, so I get the following error if I try to commit:
Author identity unknown

*** Please tell me who you are.

Run

  git config --global user.email<EMAIL_ADDRESS>  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: no email was given and auto-detection is disabled

I always set the correct email before working on a new repo.
I guess there is also the case when people want to work with something other than git?

I get the following error

I did think of this:
  execSync(
    [
      'git commit',
      '--message="boilerplate Vite w/ vite-plugin-ssr"',
      '--author="Romuald Brillout<EMAIL_ADDRESS>      '--date="Mon Mar 1 14:45:24 2021 +0100"'
    ].join(' '),
    { cwd }
  )

I'm surprised git still throws an error even though both the author name and author email are provided.

I guess there is also the case when people want to work with something other than git?

If git is not installed, then there is no git initialization.

I'm surprised git still throws an error even though both the author name and author email are provided.

Apparently, there is a difference between a commit author and the "committer identity". With the --author I get this:
Committer identity unknown

If git is not installed, then there is no git initialization.

Yeah I saw that, but who doesn't have git installed by default? I know a few people who use mercurial for a specific project, but have git installed nonetheless.

Apparently, there is a difference between a commit author and the "committer identity". With the --author I get this:

Is there a fix around this? Would be neat to support people who don't have a global config.

I know a few people who use mercurial for a specific project, but have git installed nonetheless.

But would they start a new project with mercurial?

Is there a fix around this? Would be neat to support people who don't have a global config.

Apparently, you can use -c with git to use temporary git config. Using this should work?
git -c user.name='Romuald Brillout' -c<EMAIL_ADDRESS>commit -m 'boilerplate Vite w/ vite-plugin-ssr'

But would they start a new project with mercurial?

Maybe, who knows? :)
There are a few more issues for the first commit too: no README.md, no LICENSE.md,...

Apparently, you can use -c with git to use temporary git config

Should work I guess? Would you be up to update your PR to include this 😍 ?

There are a few more issues for the first commit too

Ok you convinced me. But maybe we should use a --skip-git flag instead of a pesky prompt.

And there you go. I added the --skip-git flag which is actually a better option, but I don't know where to add it in the docs.
Also, I disabled gpg signing on the commit, otherwise it just fails again.

Perfect, how about here https://github.com/brillout/vite-plugin-ssr#boilerplates

All done!

Released.
npm i -g<EMAIL_ADDRESS>&& npm init vite-plugin-ssr or yarn create vite-plugin-ssr. (Only yarns auto busts the cache.)

Btw. I'm curious: what is it you 1. like and 2. dislike about vite-plugin-ssr?

I'm just playing around right now, but I like how easy to use it is.


UTF-16 output to UTF-8 console when compiling with GCC 10.x

OS: Windows 10 20H2
When compiling latest RHASH with GCC 10.2.0 (from MSYS2), the compiled executable will show console output correctly when running on MSYS2 BASH or MINTTY consoles, but when trying to run RHASH in Windows CMD, it will only ever output the first character of anything printed to screen.
The Ā used below is the U+0100 character. The tee program used below is not UTF-8/UTF-16 compatible.
MSYS2 BASH:
# ./rhash -B --sha1
RHash v1.4.0 benchmarking...
SHA1 512 MiB calculated in 0,278 sec, 1844,582 MBps
SHA1 512 MiB calculated in 0,277 sec, 1846,886 MBps
SHA1 512 MiB calculated in 0,279 sec, 1836,765 MBps
SHA1 512 MiB calculated in 0,279 sec, 1834,511 MBps
SHA1 2048 MiB total in 1,113 sec, 1840,671 MBps, CPB=1,56

# ./rhash --sha1 *.md
2750f9850af082c1eec1dd93f74da6fce2544b76  INSTALL.md
a9993e364706816aba3e25717850c26c9cd0d89d  RĀ.md
cb79a2fe53e5642b92378975a56a138934d0b5cb  README.md

Windows CMD:
> rhash -B --sha1
RSSSSS,

>rhash --sha1 *.md
a R

However, if the output is redirected to a pipeline, it will show correctly:
> rhash --sha1 *.md | tee con
2750f9850af082c1eec1dd93f74da6fce2544b76  INSTALL.md
cb79a2fe53e5642b92378975a56a138934d0b5cb  README.md
a9993e364706816aba3e25717850c26c9cd0d89d  R─Ç.md
2750f9850af082c1eec1dd93f74da6fce2544b76  INSTALL.md
cb79a2fe53e5642b92378975a56a138934d0b5cb  README.md
a9993e364706816aba3e25717850c26c9cd0d89d  R─Ç.md

> rhash --sha1 *.md > somefile
// the file "somefile" will contain everything correctly

> rhash --sha1 *.md > con
a R
// redirecting to console this way will not work

This only happens when using GCC 10.2.0 to compile RHASH. When using the older GCC 9.2.0, the created executable will run fine everywhere.
My assumption is that the strings are passed as UTF-16, but the console expects UTF-8, so it will treat the "0" byte following the first byte as the trailing "\0" of a string instead of the 2nd byte of the first UTF-16 character. This would truncate every output after 1 character.

I did some more testing:
GCC 10.1.0 (from http://winlibs.com/) will produce an executable file which gives the correct output, while GCC 10.2.0 (from http://winlibs.com/) will just output only the first char the same way the MSYS2 version does.
Running a cross-compile on Ubuntu Linux 20.4 (GCC 9.3.0) will create a working executable, while running a cross-compile on Arch Linux (GCC 10.2.0) will truncate every output after 1 char.

Thanks for the investigation. I reproduced the bug with gcc 10.1.0, and win_utils.o indeed is now linked to __mingw_vfwprintf, __mingw_vsnprintf, __mingw_vfprintf.
I suspect __mingw_vfwprintf works somehow differently from MSVCRT vfwprintf.

Commit cc28211f7e0dfff82b31d8301b094f2a159b90b4 fixes the bug by defining __USE_MINGW_ANSI_STDIO macro to 0, which switches vfwprintf() back to MSVCRT implementation.
MSVCRT vfwprintf() processes "%s" and "%S" format specifiers differently from the MinGW __mingw_vfwprintf().
GCC and MinGW *wprintf() implementations follows ANSI C99 and POSIX standards:

%s - If no l (ell) qualifier is present, the application shall ensure that the argument is a pointer to a character array containing a character sequence beginning in the initial shift state. Characters from the array shall be converted as if by repeated calls to the mbrtowc() function, with the conversion state described by an mbstate_t object initialized to zero before the first character is converted, and written up to (but not including) the terminating null wide character. If the precision is specified, no more than that many wide characters shall be written. If the precision is not specified, or is greater than the size of the array, the application shall ensure that the array contains a null wide character.
If an l (ell) qualifier is present, the application shall ensure that the argument is a pointer to an array of type wchar_t. Wide characters from the array shall be written up to (but not including) a terminating null wide character. If no precision is specified, or is greater than the size of the array, the application shall ensure that the array contains a null wide character. If a precision is specified, no more than that many wide characters shall be written.
%S (POSIX) - Equivalent to %ls.

Сonversely MSVCRT historically interpret %s and %S in reverse order:

Character and string arguments that are specified by using c and s are interpreted as char and char* by printf family functions, or as wchar_t and wchar_t* by wprintf family functions. Character and string arguments that are specified by using C and S are interpreted as wchar_t and wchar_t* by printf family functions, or as char and char* by wprintf family functions. This behavior is Microsoft-specific.

The fix is included into RHash v1.4.1.

The fix is included into RHash v1.4.1.


Check for an empty installer locale

It is possible that a package manifest does not supply a InstallerLocale.  In such case, if --locale is supplied by user, currently required locale list will not ever match, as the list compared against an empty installer locale string.
This moves the existing check so that applies for both locale preference and locale requirement.
Fixes #2305

[x] I have signed the Contributor License Agreement.
[x] This pull request is related to an issue.

Microsoft Reviewers: Open in CodeFlow

/azp run

I think the original design is to make Preferences match empty locale and let Requirements not match empty locale. We treated empty locale as unknown locale. So when a locale is "required", unknown locale will not be considered as matched.

We also have the scenario with Windows Server Core where we "need" a locale and we should default to 'en-us' in that case unless otherwise specified.

We also have the scenario with Windows Server Core where we "need" a locale and we should default to 'en-us' in that case unless otherwise specified.

This could be a behavior change, did you mean we would treat empty installer locale (just to be clear, this is installer level locale, not the locale manifest) as en-US by default?

Perhaps the correct way to solve this issue would be to seed a missing installer locale from some other locale specified in the manifest, such as package locale?  That way, an explicit match would be required (within tolerance limits), but a missing installer locale would not be a showstopper.
However, I'm not sure if a missing installer locale implies a multilingual installer.  It is possible, that a multilingual installer picks up an "incorrect" locale based on user region, not based on OS / user preference.  While the software itself is installed using the preferred locale, the installer might report back the locale incorrectly, which reflects the locale using during the installer (or region).
I've seen this happen at least with TheDocumentFoundation.LibreOffice package.  The manifest is missing InstallerLocale, installer is multilingual but does not pick up the locale based on the user preference, but based on user region (which I think is not correct).  So, while the software (installer) might be partially to blame, this yields a deadlock anyway, if user region is not any of the PackageLocales.

An empty installer locale generally means that the manifest author didn’t add it, for any number of reasons - was a bit lazy, couldn’t find the right switches, or the website only served the URL for their locale and they weren’t aware other locales were available.
Because the installer locale is not a required field in the manifest, empty is treated as "Unknown". I believe this explains the current behavior very well. If someone had a preference for a certain locale and there is an installer where the locale is unknown, then the installer can still be selected since the locale choice is just a preference. But, if the user specifies a locale is required, then it would violate the explicit locale requirement if an installer with an unknown locale were used, as it's not certain that the installer would be that locale (just like the behavior you described for Libre Office).
Package Locale only describes the metadata that is shown through WinGet and doesn’t correlate to the installers at all, so that really can’t be used.
We've also tried things like having the manifest creation tools set a default, but that resulted in even more problems where users whose system wasn’t of the locale specified in the manifest couldn’t install many packages

stale? or should it be closed?


Node-RED App fails on Cloudant IAM only credentials

The latest commit to bluemix-settings.js has unfortunate implications. It switches from cfenv to ibm-cloud-env.   It sources /server/config/mappings.json file which wants to load credentials from /server/localdev-config.json
With credentials in a file, we can no longer manage an instance of node-red-app on a public github repo.  The credentials would be exposed.
I wanted to build a delivery pipeline that points to a public github repo.  Prior versions of node-red-app let me do this.

Or, I've really mangled my VCAP runtime environment....

I give up.
   2020-12-05T00:51:51.62-0500 [APP/PROC/WEB/0] OUT ><EMAIL_ADDRESS>start /home/vcap/app
   2020-12-05T00:51:51.62-0500 [APP/PROC/WEB/0] OUT > node --max-old-space-size=160 index.js --settings ./bluemix-settings.js -v
   2020-12-05T00:51:51.82-0500 [APP/PROC/WEB/0] OUT 5 Dec 05:51:51 - Starting Node-RED on IBM Cloud bootstrap
   2020-12-05T00:51:51.82-0500 [APP/PROC/WEB/0] OUT 5 Dec 05:51:51 - Loading bluemix-settings.js
   2020-12-05T00:51:51.88-0500 [APP/PROC/WEB/0] OUT 5 Dec 05:51:51 - Using Cloudant service: Cloudant-openeew-93573 db:openeewdevicemgmt prefix:openeewdevicemgmt
   2020-12-05T00:51:52.13-0500 [APP/PROC/WEB/0] OUT 5 Dec 05:51:52 - Loading application settings
   2020-12-05T00:51:52.28-0500 [APP/PROC/WEB/0] OUT Failed to initialize storage module
   2020-12-05T00:51:52.28-0500 [APP/PROC/WEB/0] OUT Failed to create database: Error: one of _admin, server_admin is required for this request
   2020-12-05T00:51:52.31-0500 [APP/PROC/WEB/0] OUT Exit status 0
   2020-12-05T00:51:52.34-0500 [CELL/SSHD/0] OUT Exit status 0

I started over with a new Node-RED application deployed to IBM Cloud Foundry.  It failed in exactly the same place.
Failed to create database: Error: one of _admin, server_admin is required for this request```
In both attempts, I was trying to bind the Node-RED application to a Cloudant Standard on Transaction Engine instance.  It only provides IAM credentials.
I deleted all of my apps again *and* I deleted the Cloudant Standard on Transaction Engine instance.
I created a new Cloudant Standard instance with both IAM and Legacy credentials. Which is different than the Cloudant Standard on Transaction Engine.
I then created a Node-RED application using the Cloudant Standard instance.  It worked.

I think the errors are related to Cloudant Standard on Transaction Enging and/or IAM only credentials.

@johnwalicki This repo is not meant to be used outside of the Developer Experience flow because it requires custom service binding/mapping that is done via generation.
To get it working by hand, you'll have manually update the code to load in credentials you have exposed to your runtime environment (Cloud Foundry, Kubernetes, Code Engine, etc.). In the Developer Experience flow, we generate a mappings.json file that, together with the ibm-cloud-env library, will load the credentials automatically based on the service binding we create at the time of toolchain creation. This is also the reason we switched to the ibm-cloud-env; it allows us to expand support for this starter kit beyond just Cloud Foundry.

Yes, then this is a regression from prior versions - which allowed me to host the repository on GitHub.
While that is important, there's a separate bug related to IAM credentials, Cloudant Standard on Transaction Engine.

Do you have more info about the bug? Is it a bug in the code with this skit, or can you get it working using the mappings.json approach I mentioned above?

I didn't change mappings.json.   I just created a Cloudand Standard with Transaction Engine instance.  Bound that to the Node-RED app.  The deploy works but the cf log shows the error above
   2020-12-05T00:51:51.82-0500 [APP/PROC/WEB/0] OUT 5 Dec 05:51:51 - Starting Node-RED on IBM Cloud bootstrap
   2020-12-05T00:51:51.82-0500 [APP/PROC/WEB/0] OUT 5 Dec 05:51:51 - Loading bluemix-settings.js
   2020-12-05T00:51:51.88-0500 [APP/PROC/WEB/0] OUT 5 Dec 05:51:51 - Using Cloudant service: Cloudant-openeew-93573 db:openeewdevicemgmt prefix:openeewdevicemgmt
   2020-12-05T00:51:52.13-0500 [APP/PROC/WEB/0] OUT 5 Dec 05:51:52 - Loading application settings
   2020-12-05T00:51:52.28-0500 [APP/PROC/WEB/0] OUT Failed to initialize storage module
   2020-12-05T00:51:52.28-0500 [APP/PROC/WEB/0] OUT Failed to create database: Error: one of _admin, server_admin is required for this request
   2020-12-05T00:51:52.31-0500 [APP/PROC/WEB/0] OUT Exit status 0

That error handling console logging is from bluemix-settings.js

I was able to reproduce the error so it shouldn't be too hard to recreate in an IBM Cloud Standard account.

Interesting, if you look at this repo file list, the last commit to cloudantStorage.js is
[Revert to cloudant legacy auth](https://github.com/IBM/node-red-app/commit/477a0c656b4025ef6991102ca5d41827c505b62c
which implies (without me reading / understanding the code) that the Cloudant Standard on Transaction Engine service, which only offers IAM credentials, won't work.

If cloudantStorage.js can be fixed to support IAM credentials instead of legacy Cloudant auth, that would resolve the problem.

Is it due to the change in the way the Cloudant object is instantiated?

Follow the commit link above. Scroll down to the cloundantStorage.js diff. It includes a comment and one line of code that is causing the problem. Nick definitely saw the error and wrote the illuminary comment. We need more eyes on how to fix it.

I seem to remember this was an issue with the default IAM roles cloundant set not being allowed to write to the database, and the pipeline wasn't smart enough to set the roles up properly. But that was a year ago, so can't recall the full details.
Yes the cloudant storage plugin needs updating to use IAM - and maybe with this starter kit it'll be possible to get cloudant setup properly.

I did. I think I understand what's going on now.
At first I thought this is a regression based on the original issue description, but the code comment indicates that this was a known issue.
This probably affects our nodejs-cloudant starter kit as well.

Here are some good docs on how to use IAM keys with Cloudant
https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-ibm-cloud-identity-and-access-management-iam-

This is a legit bug, not certain how to clear the stale label.

This is a legit bug, not certain how to clear the stale label.

I just confirmed that this affects lite plan Cloudant instances as well. When user provisions an instance of Cloudant via the catalog, there are two options: "IAM", and "IAM and legacy credentials". The apps as they are written today only work with the latter.
I'll talk with my team to set a priority on getting this fixed.

I just confirmed that this affects lite plan Cloudant instances as well. When user provisions an instance of Cloudant via the catalog, there are two options: "IAM", and "IAM and legacy credentials". The apps as they are written today only work with the latter.
I'll talk with my team to set a priority on getting this fixed.

Have removed the stale label to stop the bot from closing.

Have removed the stale label to stop the bot from closing.

118 / 5000
Resultados de tradução
I would like to know how is the progress to solve the problem I am trying to create an app but it is not working

Changed merged in this PR: https://github.com/IBM/node-red-app/pull/87

Reopening since manager role is needed to create database in Cloudant. I think by default CF creates writer-role key for Cloudant, so this doesn't work well yet.


emoji: add flag emojis

Added 7 flag emojis (US, UK, Germany, Australia, white flag, black flag, and a rainbow flag).

You have left two .DS_Store in there and also i'm not sure what the consensus is on people going around typing in hashtags. Personally, i am fine with it.

My opinion, for what it's worth (not much, I know), is that hashtags suck. Beyond that, I'm also not a fan of #Rbw and #Wht (and #Blk to a lesser extent) because I don't think it's clear what they mean for those not using the emoji plugin. However, the recently added gorilla emoji is also not clearly a gorilla for non-plugin-users, so based on precedent maybe this is not a valid concern.

@makingcomment why are hashtags bad? Is there another trigger that would make more sense? As for the last three flags, they can be expanded to full words (i.e. #rainbow)

It has been requested in the past that emoji triggers look somewhat like the object they are referencing, to ensure those without the plugin enabled can still tell what is being written.


feat: :sparkles: add to list notification

Color is the only factor that determines the image displayed on the notification.
like images_with_color[0] ?? images[0]
Type will be added later, straight to main

or no straight to main


Console command to regenerate resources

No longer required to fix existing oil patches -- migration implemented for all saves.


apps wc: Fixed network policy to always allow ingress probe

[!warning]
This is a public repository, ensure not to disclose:

[ ] personal data beyond what is necessary for interacting with this pull request, nor
[ ] business confidential information, such as customer names.

What kind of PR is this?
Required: Mark one of the following that is applicable:

[ ] kind/feature
[ ] kind/improvement
[ ] kind/deprecation
[ ] kind/documentation
[ ] kind/clean-up
[x] kind/bug
[ ] kind/other

Optional: Mark one or more of the following that are applicable:

[!important]
Breaking changes should be marked kind/admin-change or kind/dev-change depending on type
Critical security fixes should be marked with kind/security

[ ] kind/admin-change
[ ] kind/dev-change
[ ] kind/security
[ ] kind/adr

What does this PR do / why do we need this PR?

...

Fixes #

Information to reviewers

On clusters that didn't use host port for nginx, the ingress to nginx health didn't always work (If the request was bounced between nodes). This fixes that.
Checklist

[ ] Proper commit message prefix on all commits

Change checks:

[ ] The change is transparent
[ ] The change is disruptive
[ ] The change requires no migration steps
[ ] The change requires migration steps
[ ] The change upgrades CRDs
[ ] The change updates the config and the schema

Documentation checks:

[ ] The public documentation required no updates
[ ] The public documentation required an update - [link to change](set-me)

Metrics checks:

[ ] The metrics are still exposed and present in Grafana after the change
[ ] The metrics names didn't change (Grafana dashboards and Prometheus alerts are not affected)
[ ] The metrics names did change (Grafana dashboards and Prometheus alerts were fixed)

Logs checks:

[ ] The logs do not show any errors after the change

Pod Security Policy checks:

[ ] Any changed pod is covered by Pod Security Admission
[ ] Any changed pod is covered by Gatekeeper Pod Security Policies
[ ] The change does not cause any pods to be blocked by Pod Security Admission or Policies

Network Policy checks:

[ ] Any changed pod is covered by Network Policies
[ ] The change does not cause any dropped packets in the NetworkPolicy Dashboard

Audit checks:

[ ] The change does not cause any unnecessary Kubernetes audit events
[ ] The change requires changes to Kubernetes audit policy

Falco checks:

[ ] The change does not cause any alerts to be generated by Falco

Bug checks:

[ ] The bug fix is covered by regression tests

Could you explain why this is only needed for the workload cluster? I would have assumed that the ingress healthcheck is done the same way for both clusters?

@simonklb Is this fine 38ab1e13ea82f715f2fa5b561a375deb39fa7fd8 ? Then we support both