Project Planning

In this project, we are aiming to develop an intermediate client that parses inputs and forwards calls to Starknet RPCs and also formats returning data to fit Ethereum RPC outputs. We can develop this project in two stages. In the first one, we can call MVP, it works with excluded write calls (sendTransaction, sendRawTransaction). In the second part, we can add this feature, this separation because additional security is needed for that part as well, also stability can be done in this part.
With this project done, we achieve native Ethereum libraries, protocols will be able to integrate into starknet without any changes on their side.
The table below shows how we implement data transformation i/o between Ethereum RPC and Starknet RPC. Table derived from starkness-specs.

Ethereum Method
How to Implement

eth_blockNumber
Returns starknet block number. Formatted exact same Ethereum output.

eth_chainId
Returns chain id as same as Ethereum. SN_MAIN value.

eth_getBlockByNumber
Formats starknet_getBlockByNumber into Ethereums output. Blank or null non-existent properties.

eth_getBlockTransactionCountByHash
Formats starknet-related output into Ethereum.

eth_getBlockTransactionCountByNumber
Formats starknet-related output into Ethereum.

eth_getTransactionByBlockHashAndIndex
Formats starknet-related output into Ethereum.

eth_getTransactionByBlockNumberAndIndex
Formats starknet-related output into Ethereum.

eth_pendingTransactions
Formats starknet-related output into Ethereum.

eth_getBlockByHash
Formats starknet-related output into Ethereum.

eth_protocolVersion
Formats starknet-related output into Ethereum.

eth_syncing
Formats starknet-related output into Ethereum.

eth_getStorageAt
The returned object will be exactly the same. Pad felts to provide 256-bit output.

eth_getTransactionByHash
Formats starknet-related output into Ethereum.

eth_getTransactionReceipt
Formats starknet-related output into Ethereum.

eth_getCode
Class hash can be returned. Will return exact same output as Ethereum with nulled, non-existent properties and padded felts.

eth_sendTransaction
Just input formatting and forward to starknet rpc. [NOT SURE]

eth_sendRawTransaction
Just input formatting and forward to starknet rpc. [NOT SURE]

Most of the rpc calls can be implemented with minimal formatting on both the input and output sides. Personally, call and send transactions are the most challenging ones. However, Starknet allows us to get abi from rpc call, so we know how to format contract calls without abi, it allows us to re-design input according to target contracts input from Ethereum input.
For development tech, we can use NodeJS or Rust. I don't think stability will be a huge problem here however, this project is just an intermediate client. There won't be block processes, so NodeJS can be enough and easy to maintain. Rust will be more robust.
I don't have an opinion on tech side, but if we go with NodeJS project will be completed faster compared that Rust

I can resolve this on Istanbul event


short opts

hey dude, thanks for the tool, super helpful for me...
I don't write C, but short opt for --interval -> -t didn't work for me... maybe my syntax was wrong or something on this line here? missing t?
 while ((opt = getopt_long(argc, argv, "ho:p:s:P:S:b:l", long_options, NULL)) >= 0) {

thanks again!

Hi,
you are right, the "-t" option is missing in the getopt_long function call. I've fixed it in the last release, among other minor improvements.
Thanks for your feedback!


WIP: Bootstrap 4 redesign

TODO

[ ] #183
[ ] #184
[ ] #185
[ ] #186
[ ] Host font "Source Sans Pro" locally?

 Migrate Laddr to Bootstrap 4

Replaced by #197


Dehazing Dataset

Hi,
where can I download your dehazing dataset including traing, validation, and testing.
Should I search the dataset online myself?
Thank you.

Hi, which dehazing dataset do you want to use? For Non-Homogeneous Dehazing, you may need to register the challenge to obtain the datasets. For other haze datasets, you can download them from their official websites.


340/create endpoint partner admin

Issue ticket link / number: #340
What changes did you make?
Created endpoint to update partner admin
Why did you make the changes?

update partner admin information

@jobayer12 - thank you for this. I will get on reviewing this asap. 😄

@eleanorreem I resolved the two issues. I need your help to write the test case.

Brilliant - thanks for the changes! - I will write the test case at a later date.


User can save favorite of repository

close #175
User story

User can save favorite of repository

Screenshot

Codecov Report

Merging #179 (2ddb696) into main (d0d7b69) will decrease coverage by 0.37%.
The diff coverage is 22.85%.

@@             Coverage Diff              @@
##               main     #179      +/-   ##
============================================
- Coverage     28.82%   28.44%   -0.38%
  Complexity       38       38
============================================
  Files            57       58       +1
  Lines           784      812      +28
  Branches        110      112       +2
============================================
+ Hits            226      231       +5
- Misses          555      578      +23
  Partials          3        3

Impacted Files
Coverage Δ

...su/template/data/local/GithubRepoLocalDataStore.kt
0.00% <0.00%> (ø)

...om/tfandkusu/template/data/local/db/AppDatabase.kt
0.00% <ø> (ø)

...ndkusu/template/data/local/entity/LocalFavorite.kt
0.00% <0.00%> (ø)

...mplate/compose/home/listitem/GitHubRepoListItem.kt
0.00% <0.00%> (ø)

...om/tfandkusu/template/catalog/GitHubRepoCatalog.kt
100.00% <100.00%> (ø)

...in/java/com/tfandkusu/template/model/GithubRepo.kt
100.00% <100.00%> (ø)

...kusu/template/data/remote/GithubRemoteDataStore.kt
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Devide classic and modernized install guides

Would be helpful to divide pages between classic and modernized for installing Moblity Agent, easy to mix them up...

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

ID: d179f813-5826-7ec3-30c5-9b6b9c0a9acc
Version Independent ID: 3141a3e5-ea3b-cba1-7e34-4df69b8e1aa3
Content: About the Mobility service for disaster recovery of VMware VMs and physical servers with Azure Site Recovery - Azure Site Recovery
Content Source: articles/site-recovery/vmware-physical-mobility-service-overview.md
Service: site-recovery
GitHub Login: @ankitaduttaMSFT
Microsoft Alias: ankitadutta

@reduards
Thanks for your feedback! We will investigate and update as appropriate.

Hi @reduards - thanks for the feedback. We added both in the same doc to increase visibility. Most customers still land on the older docs for modernized content. We are in the works of separating the two docs.


How to hide the color value input text, replace by free user input

Description
Hi,
This is a question or a feature request :)
I would like to do something like this

    <input type="text" class="form-control" value="Category 1"/>
    <input type="hidden" class="form-control" value="#DD0F20FF"/>

    <input type="text" class="form-control" value="Category 2"/>
    <input type="hidden" class="form-control" value="#0FDD20FF"/>

I use 2 inputs in the same row (as described here in the bootstrap documentation) the first one only is seen by the user, where he can type anything he wants, the second one is hidden (and contains the color code).
This doesn't not seem to work because the picker component update the value of both inputs.
Thank you for this project and your response :)

Ok, nevermind, i found the solution by reading the source code :
I specified the target input id like this
$('#cp2').colorpicker({input:'#target_input'});
I may have miss this in the documentation.


Time-based query

Note: this is not yet ready for review. Implementation is pending runtime feature implementation. Once the feature is implemented, I will update the sample to take advantage of runtime functionality and request a review.

I've requested @ThadT 's review on this. Note that this won't work prior to build 1853.


Fixtures not rendering when not logged in

Hi,
I don't know why but fixtures and tags are not rendered when I visit page as visitor not logged in. Do you have any idea?
Thank you

Hey, what version do you using?

1.0.9

Now I was testing it and it doesn't save tags at all (Bold etc.)

Do you get any errors in console?

Nope

And without fixtures everything works fine?

No  when I was testing it it wasn't working neither. Tags like   are there but   are rendered at first when I save it but on reload they are not there anymore no matter what.

Do you using latest version of OctoberCMS?

Yes, build 431

Here is the code of partial:
`

{% component 'contenteditor' file='home/block-head-1' %}
{% component 'contenteditor' file='home/block-content-1' %}
`
Here is the code of content:
`
TD Primabiro d.o.o. uvelo je sustav upravljanja kvalitetom kako bi postiglo najviši mogući stupanj kvalitete svojih proizvoda i usluga iz područja: Proizvodnja i montaža čeličnih konstrukcija, transformatorskih kotlova, dijelova traćni...
`
So now I see that it actually saves "bold" tags in to the content file but it doesn't render it...

Ok I figured out why my jQuery was stripping "bold" tags and so on.
Now the only problems are not working "fixtures". They work when I'm logged but when not the fixture tags (p, h2) are stripped.

Hi,
I just wanted to post the exact same issue and I discovered yours.
When you use fixture, for example that :

    {% component 'editor' file="footer/footer-top" fixture="h2" %}

When you are logged in as admin (and so you have access to content editor), the rendered HTML is like that :

Nous trouver !

The same block when I'm logged out :

Contact-us

As you can see, the whole h2 tag disappeared.

Fixed in new version 1.1.0!

 I just posted 👍


ProxyAddress deconstruction is broken

In #233 ProxyAddress was changed from a data class to a class, but component deconstruction was broken in it because I used fun componentX() instead of operator fun componentX()

Resolved in #311


[AutoRelease] t2-recoveryservicesbackup-2023-11-08-24754(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4715
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1021
BuildTargetingString
azure-mgmt-recoveryservicesbackup
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/4715


Update README.md

Added a small update to Readme. Mentioned all platform that the system can be installed. As I wasted time installing Docker after installing npm to Windows

Thanks!


Job boost permission does not work immediately

Job boost permission does not work as soon as it is granted to the player.
It affect 30s ~ 1m after it is granted.
(I granted permission to player with Luckperms temp permission)

**Jobs version: <IP_ADDRESS> **
**Server Type (Spigot/Paper/etc): Purpur **
**Server Version (using /ver): 1.20.6-2218-ec1b4fa **
**Relevant plugins (Delete if this isn't needed): Luckperms **

For efficiency sake we are not rechecking players permission nodes on each request, so delay can be up to 60 seconds before new limits are being recognized, this can be forced if player performs /jobs boost command which will update permission based limits.
dc822111921bd089d52a608732018d3344946157


local debugging of the server example

Hi there,
I was trying to run the application locally.
every time I click on the register button I am receiving an error saying: "SecurityError: This is an invalid domain."
could you please assist
Thanks

What is the address you are using on your browser's address bar?

I tried using https://<IP_ADDRESS>:5000, https://<IP_ADDRESS>:5000 and https://localhost:5000

actually


Add OpenCost to CNCF Sandbox page

Submit a Pull request to add your project as a sandbox project to https://landscape.cncf.io/

@AdamStack18 have you been able to find exactly where we submit this PR or have a couple example PRs for us to reference?

Steps: https://github.com/cncf/landscape#new-entries
Example PR: https://github.com/cncf/landscape/pull/2611/files
@AdamStack18 do we have SVG file we can share?

https://docs.google.com/document/d/14anae77yAPlBMXJLUQ8eIx4Bu-WiSlNsvXEdxU_TBcg/edit

Here is the file https://drive.google.com/file/d/1cRKV_WjbSw8ewWY3WazlBYE2iXufTwFf/view?usp=sharing
@avrodrigues5 If you need changes @Annalillie is your go to person.

Thanks for the tag @AdamStack18, feel free to reach out to me here or on Slack if you need anything @avrodrigues5

Good catch, @avrodrigues5! Given OpenCost is a new project, we'll want to add a new entry. It will likely be similar, but I believe should reference we're a sandbox project like this entry: https://github.com/cncf/landscape/blob/5752aad46ec45793ed1a304a3c2f6038433d100d/landscape.yml#L88-L97

Hello @dwbrown2 , Please review the commit on forked branch of landscape repo
https://github.com/cncf/landscape/compare/master...avrodrigues5:add_opencost_to_landscape:master
before raising PR against the original branch.

I think for crunchbase we would want to put, or at least that's what other cncf projects do.
crunchbase: https://www.crunchbase.com/organization/cloud-native-computing-foundation

also, i see other cncf projects have the following. should we include?
project: sandbox

otherwise, looks good!

Closing this Issue since the PR https://github.com/cncf/landscape/pull/2644 got merged. Will Reopen it if anything is pending related to this.


install not working

arkmanager install
Running command 'install' for instance 'main'
[  WARN  ]      Your ARK server exec could not be found.
[  ERROR  ]     The ARK SavedArks directory is not writable, and saveworld will fail
Installing ARK server ... |
Message from syslogd@server1 at Dec 10 19:26:52 ...
sert_20161210192651_7.dmp[4987]: Finished uploading minidump (out-of-process): success = yes
Message from syslogd@server1 at Dec 10 19:26:52 ...
sert_20161210192651_7.dmp[4987]: response: CrashID=bp-921f0b2e-d41c-4dda-8ed3-606f12161210
Message from syslogd@server1 at Dec 10 19:26:52 ...
sert_20161210192651_7.dmp[4987]: file ''/tmp/dumps/assert_20161210192651_7.dmp'', upload yes: ''CrashID=bp-921f0b2e-d41c-4dda-8ed3-606f12161210''

It looks like this was caused by the cause of #681


Significant Improvements to Memory Allocation

As described in https://github.com/shevek/parallelgzip/issues/4
Note that I'm using Java 8.

The fundamental issue with this patch is that it assumes that compressed data is always smaller than uncompressed data, which is not a true fact. Counter-proof:

Take a compression function C() and a decompression function D().
D() is the inverse of C().
If every piece of data x of length L compresses to C(x) of length <L then the domain of D() is smaller than the codomain of D(), so D() cannot be inverse of C() and decompression is impossible.
If you apply this to a domain for x of all symbols up to a given length, you can see that for any given maximum length L, there exists x! such that len(C(x!)) > len(x!).

Intuitively, you can also consider len(C(C(x))) which is typically longer than len(C(x)) because it doesn't compress any more, so the "optimal" compressed representation for something previously compressed is a single bit saying "No point trying again" followed by the literal data, which is one bit longer. This isn't a proof by construction of x! but it frequently serves in practice.
Now if, instead of using blockBuf.length to compute capacity, we used SIZE (which is a nice fast constant), we could overallocate buf (we would have to do this dynamically or risk the exception in any case) - which would make this optimization work heuristically, at the cost of (a) some overallocation and (b) buf is no longer final in Block.
If I'm rambling, it's because I'm tired, but I hope this is all useful.
I put up a branch memory-allocation-improvements with my version of this patch, but it still fails tests. I didn't make the changes above because I'm not currently rigged to do performance checking.

Right. Sorry about that. I've fixed it in my local version of this code a long time ago but then never updated the PR (I honestly had forgotten about it as you didn't reply for a while here). Will create a new pr now that works with tests.

If you could reply to the concerns discussed here in the the other PR that would be great. This one has gotten a little cluttered :)


jwt settings

Summary
Make the API wrapper configurable so it runs beyond the simple local scenario

Related issue :

The code is working (except the known missing parts, which can go in another PR). So it could be approved.
What about the D4Science part? Is this PR safe to merge?


Acm/object striping

Moving this over to github to finish the review. I think I just need to add the test from the comments.

Reminder -  I still need to add a test case.

I don't like the code duplication in the striped object read write test and the regular object read write test. I am ok merging as is and then adding it is a good first issue for someone to tackle.


Design connection fertilizer sector

We have a two design directions for the coupling of the fertilizer sector:

1: Useful demand input statements

Allow the API input statements to affect the industry_useful_demand_for_chemical_fertilizers_useable_heat node for all the energetic demands with the exception of electricity.
The demand for electricity is set in a separate input statement for the industry_useful_demand_for_chemical_fertilizers_electricity node.
The non energetic demand for natural gas is set by an input statement for the industry_useful_demand_for_chemical_fertilizers_network_gas_non_energetic node. We can check whether different non-energetic carriers are used in the fertilizer sector in the CTM.
Challenge: will the graph be able to calculate the nodes left of the useful demand nodes, such as industry_chemicals_fertilizers_haber_bosch_process_hydrogen, when we use this approach?
@antw do you know how I can test approach this quickly, without having to already write all the input statements? Or perhaps you might already know whether or not this approach is feasible.

2: Haber-Bosch input statements

Allow the API input statements to affect industry_chemicals_fertilizers_haber_bosch_process_hydrogen, industry_chemicals_fertilizers_locally_available_hydrogen, industry_chemicals_fertilizers_steam_methane_reformer_hydrogen, industry_useful_demand_for_chemical_fertilizers_useable_heat and industry_useful_demand_for_chemical_fertilizers_electricity.
If we update the SMR node to match the specifications of MIDDEN (and the CTM) it is likely not necessary to have input statements for the SMR node.
Challenge: hydrogen can only come from the central hydrogen network or from the local SMR. This means there is no local hydrogen production through electrolysis, nor other production technologies.
The question is therefore if the CTM wants to model local electrolysis, or whether central electrolysis with updated specifications from MIDDEN is sufficient. Important to note is that central electrolysis is price-based, which might make alignment with the CTM more difficult.
If local electrolysis is a requirement, and we have to model using the Haber-Bosch node, then we might consider changing the input value of network gas in the local SMR to zero, to model electrolysis through final demand of electricity and passing the other energetic demand through the useable heat node.
Another option would be to add a new node for local electrolysis.
Another option would be to add a new coupling node for a generic local production method of hydrogen.

1: Useful demand input statements

will the graph be able to calculate the nodes left of the useful demand nodes, such as industry_chemicals_fertilizers_haber_bosch_process_hydrogen, when we use this approach?

No, it won't. The graph is calculated left-to-right except when nodes are connected by reversed edges. As far as I can tell industry is pretty much all left-to-right.

Graph example
If we have a graph like this:
+---------------+      +-------------+
| Preset Demand |  --  | Application |
+---------------+      +-------------+

... demand "flows" from the preset demand node to the application node:
+--------------------+      +------------------+      +---------------------+
| Preset Demand (50) |  ->  | Application (??) |  ->  | Primary demand (??) |
+--------------------+      +------------------+      +---------------------+

+--------------------+      +==================+      +---------------------+
| Preset Demand (50) |  ->  | Application (50) |  ->  | Primary demand (??) |
+--------------------+      +==================+      +---------------------+

+--------------------+      +------------------+      +=====================+
| Preset Demand (50) |  ->  | Application (50) |  ->  | Primary demand (50) |
+--------------------+      +------------------+      +=====================+

We can't just set a demand for a random node in the middle, because the demands will be inconsistent:
+--------------------+      +------------------+      +---------------------+
| Preset Demand (50) |  ->  | Application (10) |  ->  | Primary demand (??) |
+--------------------+      +------------------+      +---------------------+

+--------------------+      +------------------+      +=====================+
| Preset Demand (50) |  ->  | Application (10) |  ->  | Primary demand (10) |
+--------------------+      +------------------+      +=====================+

I don't know of any way to set demands in the middle of the graph. We'd need to consider if we can initialize these nodes in the middle of the graph ourselves, and reverse the direction of those to the left. I doubt that's possible.

@marliekeverweij based on the comment of @antw I suppose we have to go for design direction 2. This means we have to determine whether updating the specs of local and central SMR and central power-to-gas is sufficient for the CTM coupling.
If not, we have to decide whether we can simulate the behaviour we want with the current nodes. My guess is that the input statements required to do so will become quite complex and that it's more efficient to add a coupling node in this sector.

Following the discussion with Kalavasta:

After production of ammonia, further processing to fertilizers is required
This processing step requires additional inputs, not only from useable heat and hydrogen
The current Haber-Bosch node does not allow for those inputs
This means that we have to translate energetic demand of i.e. network gas that is used in further processing of ammonia, from a useable heat input in the Haber-Bosch node, through a number of nodes to arrive at the proper final energetic demand for network gas by fertilizers
These input statements are likely to become quite complex

The argumentation above strongly favours the implementation of some form of coupling node for this sector. The exact implementation of this node is up for discussion. We may want to explore if we can create the basis for production routes in this project, for example by creating a node similar to industry_steel_production.

For the energetic part of the fertiliser sector I would propose the following structure, with the new node and edges marked green and the existing nodes and edges in grey:

Total energetic demand can be set using the Haber-Bosch node, which would automatically set the share to the coupling node at a 100%
The energetic final demand per carrier can then be set by changing the input shares of the coupling node
Question: the explicit ETM modelling of the fertiliser sector attributes costs to the burner nodes, can these be assigned to the coupling node?
Question: the explicit ETM modelling of the fertiliser sector assigns useful demand groups to the useable heat node, can and should this be assigned to the coupling node as well? Can it be assigned to the same coupling node or should a dual coupling node be made, as for the steel sector?

Question: the explicit ETM modelling of the fertiliser sector attributes costs to the burner nodes, can these be assigned to the coupling node?

For steel indeed two coupling nodes have been added. The left one includes the costs. I expect this is also necessary for this coupling node for fertilizers? What do you think @lottevanvlimmeren @antw

Question: the explicit ETM modelling of the fertiliser sector assigns useful demand groups to the useable heat node, can and should this be assigned to the coupling node as well? Can it be assigned to the same coupling node or should a dual coupling node be made, as for the steel sector?

I think you mean the node-groups here (useful_demand& useful_demand_heat_cold). I do not see them being used, only for queries that are no longer used in a chart, like this one:
https://github.com/quintel/etsource/blob/master/gqueries/output_elements/output_series/sankey_primary,_final,_useful_demand/industry_to_useful_demand_heat_cold_in_sankey_ufp.gql
So I guess we can leave this
Two points from my side:

I expected that we needed to include non-energetic demand as well as input for this coupling node (at the moment non-energetic gas is used in the SMR) If so, then it would also be possible to use non-energetic hydrogen from the central hydrogen network!

I expected that we needed to include non-energetic demand as well

You're definitely right, that's why I stated that this design only includes the energetic demand. I'm still working on the non energetic demand design.

Transparency
As the discussion in https://github.com/quintel/etmodel/issues/3899 shows, the demands set by the externally coupled model need to pass through the technologies, in this case the burners, to make the coupling transparant in the frontend. This either requires adding the coupling node between the useful demand and the burners, or not using a coupling node and managing everything with input statements instead.

Putting the coupling node between the useful demand and the burners is not preferred, as it would make the coupling node an integral part of the graph, through which energy is passed even when no external model is coupled. This may confuse 'normal' users of the model, and it would require some effort to reassign the shares from the useable heat node to the coupling node.
For the fertilizer sector, not using a coupling node for the energetic demands would require setting the demand of the haber-bosch node and then passing it as useable heat all the way through the burner to the final demands. These input statements can become quite complex. What we would then gain in transparency in the frontend, we would lose in the backend.

The proposal is therefore to stick to the design above and add an energetic coupling node that is connected to the haber-bosch node and the final demands. This therefore removes the need to make the burner shares visible in the frontend. What do you think of this argumentation @antw?
Non-energy use
In the current modelling, non-energetic demand of network gas is used in the SMR and non-energetic demand of hydrogen in the haber-bosch node. This energy use is then together with the energetic demands passed through to the residual heat nodes.
The proposal is therefore to add a non-energetic coupling node, that is connected to the haber-bosch node and to the non-energetic final demands. This gives API users the most freedom in determining which part of the total energy consumption can be used as residual heat.
Costs
Costs can be attributed to the energetic coupling node, it has to be determined whether an additional node has to be created for this.

Proposed design

Question: the explicit ETM modelling of the fertiliser sector attributes costs to the burner nodes, can these be assigned to the coupling node?

The costs could be assigned to the coupling node. I don't think that it is necessary to add an additional coupling node for the costs. For the steel sector, it was necessary to add the additional production node for all technologies to make sure that the graph would initialise correctly. Since the additional node was already there, we decided to use it for the fixed costs as well. I don't see any reason to add an additional coupling costs node for the fertilizer sector.


Run time error in random_pad_to_size

When I run the released code, there is an error in random_pad_to_size function when img has larger size than size. (np.pad will has negative input)
I want to ask if the images are preprocessed to have 512 of its long side?

pay attention to readme:
There are too many people asked me to release the code even the code is not polished and is ugly as me. Therefore, I put my ugly code and the data here. I also provide the supervised code. There are a lot of unnecessary parts in the code. I will refactor the code ASAP. Regarding the data, I put the name of the images we used on MIT-Adobe FiveK dataset. I directly used Lightroom to decode the images to TIF format and used Lightroom to resize the long side of the images to 512 resolution (The label images are from retoucher C). I am not sure whether I have right to release the HDR dataset we collected from Flickr so I put the ID of them. You can download the images according to the IDs. (The code was run on 0.12 version of TensorFlow. The A-WGAN part in the code did not implement decreasing the lambda since the initial lambda was relatively small in that case.)

@laol777 Thank you lao. I was got confused by the resize operation in the code and ignored this detail in the README.


Hydrogen causes duplicate language entries for certain python grammars

Prerequisites

[X] Have you checked the solutions in our troubleshooting guide for common problems ?
[X] Have you checked that your issue isn't already filed ?

Description
With Hydrogen enabled in Atom , it seems duplicate language entries are given for Python traceback and console grammars.
Originally reported at https://github.com/atom/atom/issues/18852 , I encountered this again.
Steps to Reproduce

Hydrogen enabled
New file, select language, type python in the filter

Versions

OS version:
Ubuntu 18.04

atom --version

1.42.0 x64

apm --version

apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.42.0
python 2.7.17
git 2.24.1

Hydrogen version:

2.13.1
Plugins
Have you installed and activated any of the Hydrogen plugins below ?

[ ] hydrogen-python
[ ] Hydrogen Launcher
[ ] Data Explorer

Logs
[Please post any error logs and the output of the developer tools as described in our Debugging Guide.]
Expected behavior
Don't show duplicate language grammars
Screenshots

Additional context

This could have something to do with our legacy textmate grammar. I'll look into this more in the next couple of weeks to find a cause.


Bug - Trade uses keep refreshing

The trade uses keep refreshing when the player closes and opens the trade window. This means the player can trade an unlimited amount of items.

Fixed in update 1.5-SNAPSHOT


Fix 'make check' to return failure on test failure

Ok, tnx!

Coverage remained the same at 99.833% when pulling 1d7561139a3df18aa5619e03ffd037f58acbcd24 on CiderMan:make-check-fix into 2cd9282e192d4645e29b73da3491beab836041fd on cpputest:master.


about produce the ground truth depth of OXFORD ROBOTCAR DATASET

it is good job! Can i ask about how to create  depth gt of  ROBOTCAR DATASET ?  I could not find the official toolboxes. Thanks very much!

I can't directly distribute the materials produced from RobotCar. You can refer to our script to prepare the ground truth.
import os
import re
from multiprocessing.pool import Pool

import numpy as np

from python_scripts.build_pointcloud import build_pointcloud
from python_scripts.camera_model import CameraModel
from python_scripts.transform import build_se3_transform

# date of data
_DATA_DATE = '2014-12-16-18-44-24'
# image directory
_IMG_DIR = '/test/Dataset/Oxford_RobotCar_Raw/06/{}/stereo/left/'.format(_DATA_DATE)
# laser directory
_LASER_DIR = '/test/Dataset/Oxford_RobotCar_Raw/laser/{}/lms_front/'.format(_DATA_DATE)
# poses file
_POSES_FILE = '/test/Dataset/Oxford_RobotCar_Raw/gps/{}/gps/ins.csv'.format(_DATA_DATE)
# raw test timestamps
_RAW_TEST_TIMESTAMPS = '{}_test_timestamps.txt'.format(_DATA_DATE)
# camera models directory
_CAMERA_MODEL_DIR = 'camera_models/'
# sensor extrinsics directory
_EXTRINSICS_DIR = 'extrinsics/'
# image shape
_IMAGE_SHAPE = (960 - 1, 1280 - 1, 3)
# number of workers
_NUM_WORKERS = 4
# output directory
_OUT_DIR = 'outputs/'  # '/test/Dataset/Oxford_RobotCar_Processed/{}/depth_new/'.format(_DATA_DATE)
# time span
_TIME_SPAN = 4e6

def get_static_frames(fn):
    frames = []
    with open(fn, 'r') as fo:
        while True:
            line = fo.readline()
            if not line:
                break
            if not line.startswith('-----'):
                continue
            chunk = []
            while True:
                line = fo.readline()
                if line.startswith('-----'):
                    frames.append(chunk)
                    break
                if not line.startswith('# '):
                    raise Exception('Incorrect format.')
                line = int(line[2:].split()[0])
                chunk.append(line)
    return frames

def get_valid_frames(frames, time_span):
    result = []
    for chunk in frames:
        start, end = chunk[0], chunk[-1]
        for item in chunk:
            if item - time_span >= start and item + time_span <= end:
                result.append(item)
    return result

def process_and_save(ts: int):
    point_cloud, reflectance = build_pointcloud(_LASER_DIR, _POSES_FILE, _EXTRINSICS_DIR, ts - _TIME_SPAN,
                                                ts + _TIME_SPAN, ts)

    point_cloud = np.dot(G_camera_pose_source, point_cloud)

    uv, depth = model.project(point_cloud, _IMAGE_SHAPE)

    # create depth map
    h, w, _ = _IMAGE_SHAPE
    uv = np.round(uv).astype(np.int)
    depth_map = np.zeros((h + 1, w + 1), dtype=np.float32)
    for i in range(uv.shape[1]):
        u, v, d = uv[0, i], uv[1, i], depth[i]
        if depth_map[v, u] <= 0:
            depth_map[v, u] = d
        else:
            depth_map[v, u] = min(d, depth_map[v, u])

    # output depth map
    fn = '{}_depth.npy'.format(ts)
    np.save(os.path.join(_OUT_DIR, fn), depth_map, allow_pickle=False)
    print('{} saved.'.format(fn))

if __name__ == '__main__':
    model = CameraModel(_CAMERA_MODEL_DIR, _IMG_DIR)

    extrinsics_path = os.path.join(_EXTRINSICS_DIR, model.camera + '.txt')
    with open(extrinsics_path) as extrinsics_file:
        extrinsics = [float(x) for x in next(extrinsics_file).split(' ')]

    G_camera_vehicle = build_se3_transform(extrinsics)
    G_camera_pose_source = None

    poses_type = re.search('(vo|ins|rtk)\.csv', _POSES_FILE).group(1)
    if poses_type in ['ins', 'rtk']:
        with open(os.path.join(_EXTRINSICS_DIR, 'ins.txt')) as extrinsics_file:
            extrinsics = next(extrinsics_file)
            G_camera_pose_source = G_camera_vehicle * build_se3_transform([float(x) for x in extrinsics.split(' ')])
    else:
        # VO frame and vehicle frame are the same
        G_camera_pose_source = G_camera_vehicle

    # read timestamps
    valid_timestamps = get_valid_frames(get_static_frames(_RAW_TEST_TIMESTAMPS), _TIME_SPAN)
    # pool
    pool = Pool(_NUM_WORKERS)
    # process
    for timestamp in valid_timestamps:
        pool.apply_async(process_and_save, (timestamp,))
    # wait
    pool.close()
    pool.join()
    # print
    print('Total: {}.'.format(len(valid_timestamps)))

The python_scripts corresponds to the python directory of official SDK.

Hi, about processing depth, I have two questions

In script above, how _RAW_TEST_TIMESTAMPS generated, and what chunk is used for ?
How to choose the _TIME_SPAN, when the value is large, some occluded pixel will appear when project accumulated point cloud to image, like the visualization I ran below ( the red house suppose to hide behind the wall, but large _TIME_SPAN will make it appear, and it is a invalid GT depth image)

And could you provide the already processed data used in this paper?

And It will be a great help if you could provide the already processed data used in this paper. @w2kun

Hi, see "https://github.com/zxcqlf/RobotCar_DepthGT_Generate",  it may help you.

Hi, about processing depth, I have two questions

In script above, how _RAW_TEST_TIMESTAMPS generated, and what chunk is used for ?
How to choose the _TIME_SPAN, when the value is large, some occluded pixel will appear when project accumulated point cloud to image, like the visualization I ran below ( the red house suppose to hide behind the wall, but large _TIME_SPAN will make it appear, and it is a invalid GT depth image)

@w2kun

Hi @mzy97, could you show how to generate the ground truth
I tried this https://github.com/ori-mrg/robotcar-dataset-sdk
But get wrong result

Hello! May I ask where did you get raw timestamp? According to your  get_static_frames(fn) function , the '2014-12-16-18-44-24_test_timestamps.txt' has its specific format which includes '------' to cut timestamps into chunks. But I didn't find .txt timestamps documents includes '--------' on the official website. Could you please tell me where to find it? Thanks!!!

And It will be a great help if you could provide the already processed data used in this paper. @w2kun

Hi, see "https://github.com/zxcqlf/RobotCar_DepthGT_Generate", it may help you.

thank u！


xFirewall doesn't fix issue of Configuration Drift

xFirewall still reports as compliant even if someone adds extra rules to the windows firewall outside of the DSC configuration.. Haven't found anywhere with a solution to this. Realistically all firewall rules on my server should be either 1. Default windows rules or 2. added through DSC

I see. So basically the need would be to delete or report on any firewall rules that are not listed or set to "Ensure" in the DSC configuration applied to the node.
That is actually quite a difficult issue you raise, but I completely understand the need for this.
I can't think of a solution to this off the top of my head, but there are many smarter folk around these parts than I - @tysonjhayes, @TravisEz13, @iainbrighton?

The current resource wasn't designed with this scenario in mind (as windows come with many default rules.)  It is an xFirewallRule resource and therefore cannot enforce anything outside the rule described.
The only good way I see is to write a true xFirewall resource which takes an array firewall rules, and use the group semantic (Rules, RulesToInclude, RulesToExclude.)

I've been considering this problem further and I can't figure out a way of determining which rules are "default" and which are user added. This is further compounded by the fact that adding or removing Windows Features will also add/remove default rules.
The solution @TravisEz13 proposes would work, but would result in quite large configurations, with the configuration of each Firewall rule property defined. Worth considering though.

In practice there's no reason we can't put every single rule (including windows defaults) in our DSC config. and then have any other rules on the server that aren't declared in DSC be considered non compliant...
Obviously my main concern is that we troubleshoot something. change a firewall rule or add a firewall rule/exception and then we rebuild a box 2 months later and have that issue occur again because the firewall rule wasn't committed to the configuration

While I personally like to declare as much as I can into DSC you may run into a few problems as the size grows.

It'll take longer to actually deploy all of the changes. Currently I have a few app boxes that take about five minutes to complete. Given I have it set to check DSC every 15 minutes means I'm applying DSC configurations a lot (something I need to fix come to think of it).
There is a size limit to how much WMI will swallow (I think 1024 KB? I've been meaning to write a blog post on this) so you may have to up this size on your servers as you start hitting that limit.

That being said I personally think if it's not in your source of truth (DSC) then it doesn't exist, so if you running into problems where default rules weren't committed to the configuration then you need to figure out how to solve that problem. :grin:

I still can't think of an easy way to solve this problem. It is a real head scratcher.
@DamianBis - are you familiar with Chef? I wonder if they have tackled this sort of problem. It might be worth rummaging around the Chef community and see if anyone over there has done anything like this (I'd doubt it but worth a shot). Chef does use DSC resources under the hood to perform a lot of config on Windows boxes. If someone else has come up with a design pattern for this sort of thing then I'm sure the DSC community could probably implement something too.


response.data.body returns empty object

With latest version of Meteor, the data.body returns an empty object. the status 200 OK is returned in the headers.
Any idea what would cause this issue?

Fixed.


led limit

the led limit would be gone if you use ws2812b (rgb led) they have basicaly 1 dataline as communication bus they work fine with the 32u4
https://www.parallax.com/sites/default/files/downloads/28085-WS2812B-RGB-LED-Datasheet.pdf

Hardware limit - yes. Software one - not quite. I've used nearly all RAM on 32u4 for current firmware. Also I don't have a single pin available anymore, so this won't be possible on current hardware revision. In the future I'm going to switch to either ARM (STM32) or bigger AVR (ARM is more likely).

arm cortex m4  might be a good option .. plenty mem / and flash .. and 180 mhz !

Indeed, I've played around with STM32F4 series and they're quite capable. Only problem is that for OpenDeck I'm using LUFA as USB framework since I don't feel like messing with USB stuff yet, and there isn't similar alternative for ARM, so I'd have to write that myself. That's pretty much the only reason I don't use ARM at the moment.

hmm vusb is a other option ( yaya i hear ya) .. but you might be able to talk to haata .. (input club) ergodox infinity .. they use a cortex platform for the keyboard .. and afaik lufa as well

thats a usb hid (keyboard) / midi implementation for the teensy 3.6 (cortex m4)
https://github.com/PaulStoffregen/USBHost_t36
it might gives some clues / helps at the ARM switch

I'll look into it. Thanks!


Add example streaming pipeline server

This PR adds a very simple pipeline streaming example.
I wanted to put my thoughts out there on how to introduce concepts from tokio-proto without thoroughly overwhelming someone with the kitchen sink. I think we can do that by building small targeted examples with increasing complexity.
This example primarily introduces how to create responses with and without body streams.
I would expect this crate to build on this example (or another similar simple example if this one is not good enough) to introduce:

A streaming Transport = Stream + Sink + Transport (Framed gives us Stream + Sink with a blanket impl of Transport)

In other words Framed is easy mode, you can either wrap a Framed instance to implement the Transport trait (for example to make use of the tick or cancel methods) or implement all three traits.

Advanced starting and stopping/cancellation of streams
Multiplex streaming examples

I would like to add a client example to go with this using tokio but hit a compiler error using TcpClient I have yet to revisit.
In the meantime here is a go example client I used to test this server and understand some of the abstractions.

Thanks for the PR. As I mentioned (way back) in Gitter, I think this example is a bit too intricate to be included here. Maybe it would make more sense as a blog post?


RHEL 8.7 Support

It's not currently listed - is there a plan for support, or currently supported?

The rhel8.7 repos should now be live.
Please reopen if these do not work as expected.


Fatal error encountered

Redownloaded multiple times and keep running into the same error. I have multiple channels streaming and 2 of them have drops enabled. Keep getting this error:
Traceback (most recent call last):
File "main.py", line 101, in
File "asyncio\base_events.py", line 616, in run_until_complete
File "twitch.py", line 266, in run
File "channel.py", line 228, in check_online
File "channel.py", line 221, in get_stream
TypeError: 'NoneType' object is not subscriptable
Exiting...
Application Terminated.
Close the window to exit the application.

Hmm, interesting. I'm assuming this comes from the latest v9 version? An error like this implies that a stream exists, but the streamer doesn't, which makes little sense on it's own.
Which game from the Game Selector are you getting this for?

Actually, https://github.com/DevilXD/TwitchDropsMiner/commit/32f475d7ed4fc03c0e892644f24a7a61c172a77c should do at resolving the issue, regardless of the game. This will be fixed in v10 once it's out.

This is now fixed in v10: https://github.com/DevilXD/TwitchDropsMiner/releases


Add make install-dependencies rule

Add high level install-dependencies target for make, which auto detects the current platform and runs appropriate platform specific dependency install command. This can be done by calling already existing rules, such as install-dependencies-ubuntu.
Ideally, the auto detect should work for the following platforms (and package managers):

Ubuntu (apt-get)
CentOS (yum)
Arch (pacman)
MacOS (a.k.a. Darwin) (brew)

To accomplish this, we would need a new rule for the MacOS platform. The code can be taken from the CircleCI config file (.circleci/config.yml):
brew install physfs sdl2 sdl2_image sdl2_mixer sdl2_ttf libpng libjpeg libtiff webp libmodplug libvorbis libogg freetype glew cmake

Inspired by:
https://forum.outpost2.net/index.php/topic,6321.msg88995.html#msg88995

Currently there is some platform detection done with the CURRENT_OS variable:

Linux
Darwin (MacOS)

The Linux portion can be further distinguished by the distribution, which impacts which package manager is used to install dependencies. The distribution can be found using configuration data in the files:
/etc/*-release

On Arch Linux, there is a file named /etc/arch-release, though the contents are empty, so detection might be done by filename.
On Ubuntu there is a /etc/lsb-release file, and a /etc/os-release symlink that points to the file. Within the lsb-release file are variables defined using shell syntax. An example file is:
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

On CentOS there is a /etc/os-release file, similar to the one on Ubuntu, and a /etc/centos-release file with just a single line description. There are also symlinks /etc/redhat-release and /etc/system-release, which both point to centos-release. For the main information found in os-release, an example file is:
NAME="CentOS Linux"
VERSION="8 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="CentOS Linux 8 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:8"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-8"
CENTOS_MANTISBT_PROJECT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="8"

For Ubuntu and CentOS, it looks like the variable of most interest might be:

ID=ubuntu
ID="centos"

To extract this variable information, we can use awk to parse the file and extract the definition, or we might just execute the file using the shell, causing the variables to be defined. The variables can then be used directly, or echo can be used to capture their value. Using the shell to interpret the file would also deal with differences in quoting.
To execute the file with the shell, and thereby define the contained variables, a  shell built in command can be used. The most portable way is with ., though the more readable way is with source (which unfortunately doesn't work on as many platforms).
For readability:
source /etc/os-release && echo ${ID}

For portability:
. /etc/os-release && echo ${ID}


Remove 'dot' in filename from some edge renderers

I find the 'dot' in filenames around the sorce code, e.g. in some renderers plugins. But not in the filenames located in src/renderers/canvas.

Duplicate of #786

Can we please merge this.


chore: use any instead of interface

This is probably too early, I'm not sure on #340 and prefer not to make things worse


Update README.md - added the workaround for EBS snapshot limit of 50 GB

Added Troubleshooting info with a workaround for EBS snapshot limit of 50 GB
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This workaround is no longer required since #21 is already merged to main.
https://github.com/aws-solutions-library-samples/guidance-for-asynchronous-inference-with-stable-diffusion-on-aws/blob/0f05e2b31d02da53c3b1158a38e6314c236747f1/deploy/deploy.sh#L111
In #21 snapshot size is already set to 100GB. This will resolve the issue.


improve contact us form with client side validation

setting margins and style

GO for it @Harshitazz

I am Interested to work on this issue. Can you assign me under gssoc'24


Fixes relations duplications problems

Since the relations were specified in a hash, when you had a duplicated
relation directive (like a model that belongs to two others), the
application would ignore one of them when parsin the hash.
The solution was to change the hash to an array of hashes and fixed the
code related to this test.
A new test for two relations with "belongs_to" was added.

I would like a spec to test specifically this problem, would you mind to do it?

Spec created!

I've also created a new test to check if relations is an Array.
Thanks


jenkins rejects report-junit output when no tests are run

In some circumstances a Kuyafile will end up not running any tests.  When this happens, the result of running report-junit on the database file is something like:
<?xml version="1.0" encoding="iso-8859-1"?>
<testsuite>
<properties>
<property name="cwd" value="/root"/>
<property name="env.BLOCKSIZE" value="K"/>
<property name="env.EDITOR" value="vi"/>
<property name="env.GROUP" value="wheel"/>
<property name="env.HOME" value="/root"/>
<property name="env.HOST" value="beri1"/>
<property name="env.HOSTTYPE" value="FreeBSD"/>
<property name="env.LOGNAME" value="root"/>
<property name="env.MACHTYPE" value="mips"/>
<property name="env.MAIL" value="/var/mail/root"/>
<property name="env.OSTYPE" value="FreeBSD"/>
<property name="env.PAGER" value="more"/>
<property name="env.PATH" value="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin"/>
<property name="env.PWD" value="/root"/>
<property name="env.SHELL" value="/bin/csh"/>
<property name="env.SHLVL" value="1"/>
<property name="env.TERM" value="dialup"/>
<property name="env.USER" value="root"/>
<property name="env.VENDOR" value="mips"/>
</properties>
</testsuite>

Jenkins treats this output as an error, I believe due to a lack of any <testcase> elements, but I'm not 100% sure.  I might be nice if kyua would insert a pseudo successful test like "no_tests_run" in this case.  (I've hit this on an older FreeBSD-CURRENT base where I'm running /usr/tests/*/Kyuafile individually and /usr/tests/secure and /usr/tests/cddl run no tests on mips64.)

Maybe this is a bug in Jenkins though? Per the XSD definitions in https://github.com/jenkinsci/xunit-plugin/tree/master/src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd , I understand that there is no requirement for a testsuite element to contain any testcase.
We could workaround this in Kyua by emitting a fake entry... but it'd be good to bring this up with the Jenkins developers for clarification first.

This is what Jenkins complains about when it encounters are report without results:
Recording test results
ERROR: Step ?Publish JUnit test result report? failed: None of the test reports contained any result
Finished: FAILURE

so your theory is correct.

The JUnit plugin has an option Do not fail the build on empty test results described as:

If checked, the default behavior of failing a build on missing test result files or empty test results is changed to not affect the status of the build. Please note that this setting make it harder to spot misconfigured jobs or build failures where the test tool does not exit with an error code when not producing test report files.

I kinda agree with this rationale. If you expect the run to not execute any tests, you should tick this option. It seems safer to fail explicitly by default to catch misconfiguration issues.
I have a hard time coming up with a general case where an empty report would make sense, so I feel there is nothing to do here. Do you have any use case in mind?

I'm going to close this per the rationale in the previous comment. If you have further input, please let me know.


Divergence : AOT-ReleaseX64 vs. JIT-ReleaseIA32

DIVERGENCE 1.1:895486518 : AOT-ReleaseX64 vs. JIT-ReleaseIA32
Please investigate

All modes agree JIT-IA32 is wrong:
...
66
66
true
throws
[-10]
EQ
....
should be
...
66
66
true
false
66
66
66
66
..

Fixed by avoiding padLeft/padRight for now in fuzzer (we may reintroduce later with restricted values for new length).


Update middleware to enhanced extra IP for client

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

This is a bad idea and would make applications vulnerable to IP spoofing. See also #56 and various other tickets.


chore: upgrade

React SDK supports events reporting

Codecov Report

Merging #3 (e9fcfde) into main (62f331e) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage   95.77%   95.77%
=======================================
  Files           7        7
  Lines          71       71
  Branches        9        9
=======================================
  Hits           68       68
  Misses          3        3


Problem with Scaden process

Hi! I'm back with a new issue. While trying to run the Scaden process command I get this error:
p209-114:preprocessing idala384$ scaden process barcoding.h5ad DMSO_3.txt

     ____                _
    / ___|  ___ __ _  __| | ___ _ __
    \___ \ / __/ _` |/ _` |/ _ \ '_ \
     ___) | (_| (_| | (_| |  __/ | | |
    |____/ \___\__,_|\__,_|\___|_| |_|

Found 0 common genes.
Pre-processing raw data ...
Subsetting genes ...
Traceback (most recent call last):
  File "/usr/local/bin/scaden", line 13, in <module>
    main()
  File "/usr/local/lib/python3.8/site-packages/scaden/cli.py", line 137, in main
    cli()
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/scaden/cli.py", line 121, in process
    processing(data_path=prediction_data,
  File "/usr/local/lib/python3.8/site-packages/scaden/scaden_main.py", line 165, in processing
    preprocess_h5ad_data(raw_input_path=training_data,
  File "/usr/local/lib/python3.8/site-packages/scaden/model/functions.py", line 60, in preprocess_h5ad_data
    raw_input = raw_input[:, sig_genes]
  File "/usr/local/lib/python3.8/site-packages/anndata/_core/anndata.py", line 1088, in __getitem__
    return AnnData(self, oidx=oidx, vidx=vidx, asview=True)
  File "/usr/local/lib/python3.8/site-packages/anndata/_core/anndata.py", line 305, in __init__
    self._init_as_view(X, oidx, vidx)
  File "/usr/local/lib/python3.8/site-packages/anndata/_core/anndata.py", line 348, in _init_as_view
    self._varm = adata_ref.varm._view(self, (vidx,))
  File "/usr/local/lib/python3.8/site-packages/anndata/_core/aligned_mapping.py", line 92, in _view
    return self._view_class(self, parent, subset_idx)
  File "/usr/local/lib/python3.8/site-packages/anndata/_core/aligned_mapping.py", line 246, in __init__
    self.dim_names = parent_mapping.dim_names[subset_idx]
  File "/usr/local/lib/python3.8/site-packages/pandas/core/indexes/base.py", line 4111, in __getitem__
    result = getitem(key)
IndexError: arrays used as indices must be of integer (or boolean) type

I guess the problem is that it cannot find any common genes between the training data and prediction data. I've formatted the prediction files as you described (genes as rows, samples as columns, tab-delimited). Any ideas?

Hi Ida,
wow, you really have a hard time with the package ... really sorry for that!!
Yes it seems like that is the issue ... it's hard to tell, would it be possible for you to send me those files? (could do it by e-mail to kevin.menden@t-online.de).
Alternatively, if that's not possible, you could send me just the header of the files or something like this, so I can have a look what's going on or ideally try to reproduce the error.
Bw,
kevin

Yes, seems like I'm the corner case we all fear... ;)
I sent you an email, thank you for helping me with this!


Loading rive file from URL

In my compronent I want  to load a rive file by setting src to a URL as outlined in the readme, however I am receiving the  Problem loading file; may be corrupt! error.
My Code is as follows and the rive file is i n an S3 bucket which has public read permissions
import React from 'react'
import { useRive } from 'rive-react';

function ChunkySoapBounce() {

  const errorHandle = () => {
    console.log('Could not load the Rive file')
  }

  const { RiveComponent } = useRive({
    src: 'https://chunksysoap-1.s3.eu-west-2.amazonaws.com/animations/chunky_bounce.riv',
    autoplay: true,
    onLoadError: errorHandle()
  });

  return <RiveComponent />;
}

export default ChunkySoapBounce

Hey @moringaman, sorry for not getting back to you sooner. I tried to reproduce this and I'm getting a CORS error in my console which I think is the problem.
Access to fetch at 'https://chunksysoap-1.s3.eu-west-2.amazonaws.com/animations/chunky_bounce.riv' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Have a look at this page for how to configure cors on your bucket: https://docs.aws.amazon.com/AmazonS3/latest/userguide/cors.html

Quick example…
[
  {
    "AllowedHeaders": [],
    "AllowedMethods": ["GET"],
    "AllowedOrigins": ["http://localhost:*","https://localhost:*"],
    "ExposeHeaders": []
  }
]


Install instructions for Inbox WSL

Is your feature request related to a problem:
My team works in an environment where the Microsoft Store is blocked and therefore cannot use "wsl --update".  We use the Manual Install instructions.
Describe the solution you'd like:
Please provide instructions for manual install of wslg given an "inbox" install on Windows 11.
Describe alternatives you've considered:
Sadly my team does not control firewall rules, there is no alternative to access the Microsoft store.
Additional context:
No response

Use wsl --update --web-download

https://github.com/MicrosoftDocs/WSL/pull/2030

Adding --web-download results in a 403.  Also if WSLg is enabled in inbox WSL on Windows 11, I don't see it.

WSLg is part of the system distro, so when you run wsl --update --pre-release --web-download and a new version is available, WSLg is automatically update.
Run wsl --system only and you'll get:
PS C:\Users\elsaco> wsl --system
wslg [ /mnt/c/Users/elsaco]$  cd
wslg [ ~ ]$
wslg [ ~ ]$ cat /etc/os-release
NAME="Common Base Linux Mariner"
VERSION="2.0.20240609"
ID=mariner
VERSION_ID="2.0"
PRETTY_NAME="CBL-Mariner/Linux"
ANSI_COLOR="1;34"
HOME_URL="https://aka.ms/cbl-mariner"
BUG_REPORT_URL="https://aka.ms/cbl-mariner"
SUPPORT_URL="https://aka.ms/cbl-mariner"
wslg [ ~ ]$ whoami
wslg
wslg [ ~ ]$ id
uid=1000(wslg) gid=1000(wslg) groups=1000(wslg)

@fredmeews as a last resort, you can install it from here: https://github.com/microsoft/WSL/releases/tag/2.2.4

@elsaco I installed this using the manual instructions which links to the github release package referred to by @crramirez.
This "inbox" installer appears to have some significant differences with your environment...

When I run the --system command I get...

C:\>wsl --system
There is no distribution with the supplied name.

There is no folder C:\Program Files\WSL - wsl.exe is installed in C:\Windows\System32

wslg.exe is also in Windows32 but there is no evidence of it running in my distro, i.e. no /mnt/wslg directory.

Can you verify if you have the latest updates in your Windows 11?

Can you verify if your distro is in WSL 2?
wsl --list --verbose

Can you verify if you have the latest updates in your Windows 11?
C:\>ver

Microsoft Windows [Version 10.0.22000.3197]

C:\>wmic qfe list full

Caption=http://support.microsoft.com/?kbid=5041976
HotFixID=KB5041976
InstalledBy=NT AUTHORITY\SYSTEM
InstalledOn=8/25/2024

Can you verify if you have the latest updates in your Windows 11?
My distro is Rocky8...
C:\>wsl --list --verbose
  NAME          STATE           VERSION
*  Rocky8        Running         2

C:\>wsl --status
Default Distribution: wsl-vpnkit
Default Version: 2

Windows Subsystem for Linux was last updated on 9/23/2024
The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings.
To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'.
For more information please visit https://aka.ms/wsl2kernel.

Kernel version: 5.10.16

Ok, first update your inbox wsl, with: wsl --update --inbox then after restarting, install the store version from the msix package from the github release page.
I see your default distro is wrong: wsl --set-default Rocky8
How do you know that wslg is not running? Can you check the value of the environment variables DISPLAY and WAYLAND_DISPLAY? If they have value, you have wslg

first update your inbox wsl, with: wsl --update --inbox
I get the same error code mentioned in issue 8603 - appears this is hitting the store or some related microsoft site that is blocked from my location.
C:\>wsl --update --inbox
Checking for updates...
Error: 0x8024500c

How do you know that wslg is not running? Can you check the value of the environment variables DISPLAY and WAYLAND_DISPLAY? If they have value, you have wslg
Well for one thing, there is no /mnt/wslg.  Both of those environment variables are empty.
$ echo $DISPLAY

$ echo $WAYLAND_DISPLAY

Thanks @elsaco.  I just updated using that link last week.  Updated again, same issue.
The bottom line seems to be that when installed via this manual update, WSLg is not enabled or fully installed.

WSLg is definitely part of the package from the store or direct download. Please grab latest WSL2 release from https://github.com/microsoft/WSL/releases/download/2.3.24/wsl.<IP_ADDRESS>.x64.msi and extract it.
  I will discuss this with IT and let you know what I find.


Client Allocation Request for: ZhongChuangCheng Blockchain (Shenzhen) Co., Ltd

Client Allocation Questions
Core Information

Name: ZhongChuangCheng Blockchain (Shenzhen) Co., Ltd
Website / Social Media:
Region: Greater China
DataCap Requested: 15TiB
Addresses to be Notarized: f3ug3yxcynl457skempulutx3rfoxjxdnjbpicjp3raockxzrtangwr6u4tsgo4lldi2tvzijhfx6xvhbm5xea
Notary Requested: dannyob

@ZHONGblock Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hi, could you make this request to one of the notaries serving Greater China? You can find the full list here: https://plus.fil.org/verifiers

OK


404 error when open opening link directly

For some reason, on valid links, Angular can't find what I'm looking for and return the 404.
This works: https://minecraftly.com/#vote
This doesn't work: https://minecraftly.com/vote

because this mode require special config, usually done with rw module on nginx or apache, read more: https://ngmilk.rocks/2015/03/09/angularjs-html5-mode-or-pretty-urls-on-apache-using-htaccess/

Welp, maybe we need to move this whole static web to Google App Engine and enable mod rewrite hmm. Will think abt this later.

Fixed without changing host ;3


Support R#/Rider 2020.1

JetBrains released R# and Rider. Please update references and publish new release for you cool plugin

Dup of #276


Config window text and control elements alignment issues [v4.0.3]

Describe the issue
The config window of the VMs have alignment issues. The text and control elements are cut. This happens on most pages like "Input", "Sharing", "Display", ...

Configuration

UTM Version: 4.0.3 (62)
macOS Version: 12.5.1
Mac Chip (Intel, M1, ...): M1 Pro

Same happens with the buttons for drive reclaim and compress space. I think the previous UI for that action is better, because semantically speaking, compressing the image is also a way to reclaim space (on host, it is).

I disagree. The old UI is just an unnecessary extra click. It is far better like it is now. Those are also two completely different functions. Compressing is not reclaiming free space.

As a professional UI/UX Designer, It's not an extra click when you want to do both reclaim and compress, which is what I have been doing on all vms prior to 4.0.2. Now I have to press one then wait till it reclaims to hit another to compress. Users will find its better to do it all in one go.
Compressing is reclaiming free space, yes. Example: I have a 2GB DOS vm. It uses approx 1GB. After compression, it now uses 500mb of my host disk storage for that disk image. So I reclaimed 500GB back for my host machine. In a world where Apple machines are expensive and you have to save some bucks buying the entry level ones with less storage sizes, it's a must have to do it.

But you don’t. If you click compress it literally says it will do both operations. This is also to make the UI consistent across multiple versions. On macOS 11 SwiftUI doesn’t support 3 button alerts so we just dropped the compress option.

Yeah I think you misunderstood something @brunocastello... It's literally the exact same thing, except those are now two separate buttons instead of a separate dialog which contains the same buttons previously. It is just one click less now, with the same functionality. Therefore much better UI design.

OK, I may have misunderstood it then. BTW, The current compression method on 4.0.3 is compressing much less than it did in 4.0.2. I noticed quite a bit of diffence between them when I compressed the exact same vm on both. I guess it has to go in another issue instead of here.

By how much? We changed to zstd which should be ~5% worse in compression but should be much faster during reads.

Reclaiming space seems to be buggy too, see #4377. I could not test compression reliably, since reclaiming inflates the size by a great degree.


[FR DataTimeV2] "été" means "summer" or "been" depending of the context (+ minor bug)

Describe the bug
Currently, "été" is recognized at anytime as a DateTimeV2.
In french, "été" means "been" most of the time. It only means "summer" when it's preceed by : "l'", "cet" and "en" (I can't think of anything else right now).
Also, making a sample for this bug report, I found that "mer." is also recognized as a DateTimeV2 in  the sentence bellow.
To Reproduce
Parse "Durant l'été, cet été, j'ai été à la mer." in the recognizer.
It returns :
{
  "Text": "été",
  "Start": 9,
  "End": 11,
  "TypeName": "datetimeV2.daterange",
  "Resolution": {
    "values": [
      {
        "timex": "SU",
        "type": "daterange",
        "value": "not resolved"
      }
    ]
  }
}
{
  "Text": "été",
  "Start": 18,
  "End": 20,
  "TypeName": "datetimeV2.daterange",
  "Resolution": {
    "values": [
      {
        "timex": "SU",
        "type": "daterange",
        "value": "not resolved"
      }
    ]
  }
}
{
  "Text": "été",
  "Start": 28,
  "End": 30,
  "TypeName": "datetimeV2.daterange",
  "Resolution": {
    "values": [
      {
        "timex": "SU",
        "type": "daterange",
        "value": "not resolved"
      }
    ]
  }
}
{
  "Text": "mer.",
  "Start": 37,
  "End": 40,
  "TypeName": "datetimeV2.date",
  "Resolution": null
}

Expected behavior
It should return :
{
  "Text": "été",
  "Start": 9,
  "End": 11,
  "TypeName": "datetimeV2.daterange",
  "Resolution": {
    "values": [
      {
        "timex": "SU",
        "type": "daterange",
        "value": "not resolved"
      }
    ]
  }
}
{
  "Text": "été",
  "Start": 18,
  "End": 20,
  "TypeName": "datetimeV2.daterange",
  "Resolution": {
    "values": [
      {
        "timex": "SU",
        "type": "daterange",
        "value": "not resolved"
      }
    ]
  }
}

Platform:

Platform: [.NET]
Environment: [console app]
Version of package [v1.3.2]

Question
I also wanted to ask when will the 1.3.3 (or 1.4.X) will be released on .NET and the other platforms and if it would integrate this bug patch ?

A fix for this is ongoing and will be out shortly. Thanks for reporting, @Oursse!

Hi,
after rereading my post, I realized that "mer." is just a shortened Wednesday (Mercredi) writing. So it's kind of not a bug, in french "mer" means "sea". So maybe a way to recognize only the shortened Wednesday writing is to search for "mer." but only followed by a date number. This way, even if mer is in the end of a sentence, it won't be recognized as a date.
What should I do ? Open another issue ? Modify this one ?

I think this is also already solved along with the "été" issue. Merging soon. No need to open a new issue.

Can you give sentences examples of a proper and an informal use of "mer." in date/time sentences?
This will help coverage of our specs.

@Oursse, can you give sentences examples of a proper and an informal use of "mer." in date/time sentences? This will help improve spec coverage.

I think I've never heard "mer." orally and it's rarelly written by french native speaker. It's mostly used formally on flyers or websites. Here's some examples from events websites :
"Quand ? mer. 10 juin 2020. Horaires : de 14h à 16h."
"Exposition d'art contemporain le mer. 24 juin 2020."
"Mer. 6 Mai 2020 à 18h"

BTW, does use of the abbreviation always has the "." at the end, of may people skip it? What about usage of "Me" as abbreviation for "Mercredi"?

Concerning the dot, the good use is "mer."
Eventually, it can be changed to "Mer." if starting the sentence.
I can't tell the frequency of the use of "mer" (without the dot) but I bet it's pretty low.
Lastly, concerning "Me", I've never used nor see it in any circumstances.


Chore/bt 127 merge substrate

Merge from Substrate upstream
Notable changes and high-risk areas:

change to grandpa_config = grandpa::GrandpaParams

Removed: UpdateBalanceOutcome

Changed OnReapAccount into OnKillAccount

Moved OnNewAccount, OnKillAccount, and AccountData from Balances to System

Added AccountStore to Balances

Made some changes to chain_ops

Reverted our changes to TestXt and added new DoughnutTestXt that support AccountId types that aren't hardcoded to u64

Event NewAccount only creates a new account with 0 amount of money and is moved to system/frame_system. In the test, NewAccount(who, amount) is now split into NewAccount(who) and Endow(who, amount)

Cherry picked changelist: a64dd527fb280c3feac4b0326e7483b4874efd6e
this fixed error when running integration tests for node cli

Can you please make the review job easier by listing the files you needed to touch for the merge?


Intake SDPR to Funnel for their Azure request

Describe the issue
There is an email thread about Azure access
Which Sprint Goal is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonymously with 'Sprint'.

The 'Milestone' description (created in ZenHub) should clearly list Sprint Goals. This section should indicate which 'goal' this issue is related to.
Additional context

See thread from Ryan F (copied in comment below)
Ryan F is accepting of risk of rework if onboarding to Phase 2

Definition of done

Jon to be invited to any meetings or onboarding
Start them formally in the funnel
Engage with Jon M and techs to look if possible to intake them under Phase 2 or if they would be better served for new onboarding process
Get a sense of the priority and timeframe for SDPR

This digital asset management system will contain all photos, videos, graphics, brochures etc. that are acceptable to share with the public.
Our primary uses of this system:
•	BC Parks staff province-wide will be able to share and collaborate using a consolidated repository of these files, which are currently spread and duplicated throughout various restricted LAN shares.
•	This will improve access to these sought-after resources and will remove file duplication.
•	We will be able to remove these files from our LAN shares, which will greatly reduce our storage costs.
•	Any government staff with an IDIR account will be able to search the BC Parks photo repository for photos and download/share what they need.  This will be particularly helpful for GCPE staff.
•	We’re in the midst of a development project, building an API-based content management system for BC Parks using Strapi.  This CMS is intended to be a central and consolidated source of data and content for BC Parks and is integrated with several other systems in government, including DataBC’s geographical warehouse.  This CMS will include API connectivity with ResourceSpace, which will feed park photos into the bcparks.ca site.
Through some fairly extensive research and various consultations (big thank you to Jeff for all your work on this!), we’ve determined that AWS VM hosting with OCIO is the optimal option.
In addition to the technical advantages of this option, this brings the opportunity for BC Parks and IIT to partner with OCIO to pilot AWS VM environments in government.  This will effectively set a technical precedent for further adoption of cloud VM hosting within BC Government through collaboration with OCIO, which will be a valuable benefit to all.
This solution will serve as a template for effective and efficient implementation of digital asset management systems throughout government.  This modernizing shift of cloud-hosted digital asset management equates to greater overall effectiveness of staff and ultimately our service to the public, while simultaneously reducing our currently vast storage costs.
We would like to begin with an inception meeting that will include all parties involved, followed up by a technical whiteboard session and design workshop, with further iterations of these if needed.
Further details on our assessment are below.  Does this all look and sound acceptable to you?  Please add anything I may have missed.
Thanks
Rob
Options considered:
•	On-Premises VM
o	Relatively high cost: ~$1500-$1700/month
o	UNC mapping needed for storage will introduce instability
o	Server management and software updates are difficult due to permissions required
o	Public-facing access could be difficult due to strict firewall policies and complexity
•	OpenShift
o	Not feasible, mainly due to:
	storage requirements
	custom development needed to run ResourceSpace in a container environment
•	Azure VM
o	GDX implementation is costing ~$350/month with 4TB of storage
o	Determined to be a valid option with OCIO, but implementation will take at least two months to accomplish, which will not work with the timeline of our project and contracted development team
•	AWS VM
o	Cost is uncertain at the moment, but we’re guessing that it might be less than half the cost of the on-premises VM option (we previously priced AWS hosting at around $350/month)
o	Technically similar to the Azure VM option
o	Highest performing option
o	Active Directory integration is possible
o	We hope to start with a relatively low amount of allocated storage, such as ~150GB, and dynamically grow it as needed
o	Determined to be a valid option with OCIO and the implementation process can begin immediately
The responsibilities we have in mind are:
•  Compute: EC2 provisioning - BCP/OCIO
•  Storage: EBS provisioning - BCP/OCIO
•  Storage: S3 provisioning - BCP/OCIO
•  Scaling sets (if needed) - BCP/OCIO
•  Authentication - OCIO
•  Network resources - OCIO
•  ResourceSpace installation and updates - BCP
•  Logging and monitoring - BCP/IIT/OCIO (we have ELK stack running in AWS already)
•  Pipeline - BCP
•  Metadata - IIT/BCP

Jon says: Intake to prod may be difficult right now due to pre-phase 3 deployment items not yet in place

Jon: If they want a space, they can try things out, but nothing is prod

Exchanged emails with SDPR (Ryan F) and found out that they want some tricky permissions for their app:
Our application would require:
Application Permission: Sites.Selected (to enable our application to manage documents stored in a SharePoint site)
Application Permission: Users.Read.All (so our application can search through the government user list)
Application Permission: GroupMember.Read.All (not an absolute requirement, but it will allow us to leverage existing AD groups to manage certain application permissions, rather than re-creating groups in our app as we do for eApprovals with admin users)
These permissions require “Admin consent”. This means someone in our tenant with admin consent capabilities must sign off on these permissions before we can use them.
Jon and Jesse won't be able to provide these permissions, so have informed SDPR that they'll need to await set-up of our SEA and new processes in Azure - will keep in touch. Next check-in: late September


Support ignoreDependencies and replacePaths

ignoreDependencies supports the ability to be able to drop dependencies grabbed by upstream in case a chart owner wants to omit such dependencies. For example, for Project Monitoring V2 we would like to omit all exporter charts without storing a ton of patches and exclude files.
replacePaths supports the ability to mark particular paths in a chart as ones that should not be stored under generated-changes/patches but instead be stored in both generated-changes/overlay and generated-changes/exclude. While this doesn't change any functionality per-say, it makes the contents of the generated-changes directory more readable.

Ran ./scripts/package-ci, found errors but they aren't due to the changes in this script since they appear in the latest charts-build-scripts too. Noted in https://github.com/rancher/charts-build-scripts/issues/90.


Choose and set tray icon

For both linux and windows version.

Linux : Find how (modify tray  crate if needed) load icon from file.
Windows : Find how load multiple icons with windres and change them in liive.

done


Update results grid row height on change

Azure Data Studio Version:

Steps to Reproduce:

open settings split with query editor
Change the row height in the settings an save

The row height should update in the grid; It doesn't until you move tabs

This seems to be a pretty low impact bug since the grid will resize once the tab is moved.  Closing out this older issue.  Thanks!


[bulk] Validation: metadata and absolute links

Docs Build status updates of commit 3357a08:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-services/latest/iot.md
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-services/latest/key-vault-index.md
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-services/latest/key-vault.md
:white_check_mark:Succeeded
View (azure-java-stable)

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

Global effort to fix build validation errors
@sima-zhu
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!


Yeet among us easter egg

1/1000 chance for an emergency meeting to occur instead of usual yeet

when the emergency meeting occurs the following happens:

a gif is played first to signify the new event
the gif disappears and is replaced with a new dialogue

"Is [insert name here] the impostor?"
(potentially adding the user's pfp would be fun)

afterwards another gif is played displaying that the user was either voted out or that they weren't voted out
(following gifs are placeholders, i'll have to grab some material for a smoother experience)
https://tenor.com/view/emergency-meeting-among-us-meeting-discuss-gif-18383222
https://tenor.com/view/among-us-ejected-impostor-gif-19787031
https://cdn.discordapp.com/attachments/1065374082373271655/1286171602525880350/No_one_was_ejected.gif?ex=66ecf025&is=66eb9ea5&hm=ea740fe207b75c6c27852bae83e9724377cfe08d5f523653bf0c6b3cf82b7232&

Done!


The secret-push branch is flagged for deletion.

  The secret-push branch has been flagged for deletion by the O11y-Stale-Branch-POC
  Action as it has not received a commit since 2023-09-14 21:21:29+00:00Z.
  If nothing is done to address this, the branch will be deleted in 3 days.

What branch is this? Could we link to the branch, etc?

The branch is secret-push, but I can see how it's not very clear to say the least. I'll improve this and add a URL in the body.

Cool deal. Thank you! I was super stoked to see this opened just fyi.

Heads up: I'm closing this issue to verify I can create it correctly with the new style.


Different bundle after use npm run build if not remove the output dir

Describe the bug
It's the first build result as follows:

And it is the second build result if not remove the dist folder:

I wonder if this makes sense？
Here is the minimum recurrence: https://stackblitz.com/edit/vitejs-vite-qzld1n?file=src/index.ts
Reproduction
https://stackblitz.com/edit/vitejs-vite-eixypa?file=vite.config.ts
Steps to reproduce
first build: npm run build
second build npm run build
System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    vite: ^4.3.0-beta.2 => 4.3.0-beta.8
    vite-plugin-dts: ^2.3.0 => 2.3.0

Validations

[X] Read the FAQ.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

Correct in 3.0.0.

Correct in 3.0.0.

Thanks a lot


container version 1.5.7 and  nofile settings is LimitNOFILE=infinity

container version 1.5.7 and  nofile settings is LimitNOFILE=infinity
when i use nerdctl 1.4.0 exec command like this  nerdctl compose -f ./docker-compose.yml up  --debug-full
and when i run exec -it xxx --ulimit -Hn return 1024
when i use nerdctl 1.7.7 exec command like this  nerdctl compose -f ./docker-compose.yml up  --debug-full  no error and when i run exec -it xxx --ulimit -Hn return<PHONE_NUMBER>
Why does this happen? Is the version incompatible？Please help answer

containerd 1.5 has been end-of-life since February 2023.
Also, it is unlikely we would fix anything in nerdctl 1.4...
Is your problem affecting the last version? It is hard to tell. If yes, can you provide an actual example that we can run to reproduce your issue?

@sun-11y where you able to test a supported version?

@AkihiroSuda suggesting we close. Issue is about a long gone version.


first load on mobile isn't great

there is no way to close the info panel,
the map seems to be half init
and there is only part of the right menu
see below:

We didn't test on mobile at all. Mobile is not really a target use case for MapRoulette yet. I would love for it to be in the future, and to have location-aware ground survey specific challenges, but we are not there yet.
For now, I will close this, but let's revisit it when we get to supporting mobile and mobile challenges!
Thanks for reporting!


Property-Based Tests for functions target_nonce_on_success, nonce_increments and check_authorization

Property-Based Tests for functions target_nonce_on_success, nonce_increments and check_authorization in zkapp_command.ml

Closes #12849

!ci-build-me

!ci-build-me

Decided not to add a PBT for check_authorization as there were no invariants to consider.

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

@georgeee Should this go into develop or berkeley? Thanks.


Example: Stereo from T265 images using OpenCV

This example shows how to use T265 intrinsics and extrinsics in OpenCV to asynchronously compute depth maps from T265 fisheye images on the host.
T265 is not a depth camera and the quality of passive-only depth options will always be limited compared to (e.g.) the D4XX series cameras. However, T265 does have two global shutter cameras in a stereo configuration, and in this example we show how to set up OpenCV to undistort the images using OpenCV's fisheye model and compute stereo depth from them.

Looking good!

anyone calibrate the camera parameter，is it accurate? i found the disparity is noisy, and the undistorted image still has Distortion
@bfulkers-i


Create/Update launch templates for EKS managed node groups

What kind of request is this (question/bug/enhancement/feature request):
feature (for eks-operator)
New Result:
If the user specifies a launch template for node group creation, eks-operator should validate the launch template and use it for the creation of the node group instead of specifying the node group configuration.
Also, if the launch template version is updated, then eks-operator should validated the updated version and use it to update the managed node group.
AMI type could be provided in either of these scenarios only if the launch template does not specify one.
Other details that may be helpful:
The EKSClusterConfig CRD needs to be updated to allow the template id and version and AMI type to be put in Status and Spec.

https://github.com/rancher/rancher/issues/28803

On 2.5-head - commit id: dba332111

verified user is able to create/update nodegroups with rancher managed launch templates and also those that have AWS existing launch templates.
Able to deploy a hosted EKS cluster using a custom AMI created by AWS packer.
Any related issues have been logged separately. Closing this issue


Tag management

A page to update, delete, merge tags.

Also implement the tag hierarchy.

This is all done.


Speed JavaScript, reduce DOM use and querying per yellowlab.tools

The online tool http://yellowlab.tools/ when run against https://master.bestpractices.coreinfrastructure.org/projects/1 makes a number performance recommendations for improving performance.
In particular:

Reduce the count of the number of DOM elements
Reduce DOM queries, and cache when needed (there are a remarkably large number of duplicated DOM queries)
Events aren't delegated

Currently the criteria.yml information is sent to the user as a large number of DOM elements.  The criteria information could instead be sent as a JSON structure (not as DOM elements), keyed on criteria names, and loaded as part of loading the JavaScript.  The JavaScript would then directly use this structure.  That would eliminate the DOM elements and DOM queries, replacing them with much faster constructs.

For speed, we should ensure that the criteria.yml file is preprocessed into a JSON format and delivered as part of the Rails asset pipeline.  The goal would be to have the criteria data transmitted as something directly embedded within the JavaScript delivered to the user.

A simple way to pre-generate the JavaScript is to use the built-in asset pipleline mechanism.  E.G., create a file app/assets/javascripts/criteria.js.erb and provide, in ERB format, the expressions for converting the criteria.yml file into a final JavaScript file for direct loading.  We can omit some data, especially the criteria rationale, and the reading process will strip out comments.

I've improved performance in the areas noted by the tool, and will document it for future use.  I plan to close this for now.


Planned support for /fixed/* API?

Hi, I just wanted to check if there's anything on the roadmap to add support for the new fixed plan API endpoints? It'd be a huge help to our workflow to be able to include those resources in terraform along with the rest of our config.
References

https://github.com/RedisLabs/terraform-provider-rediscloud/issues/118 (closed in 2021)

I'm interested into this feature as well. Specially since I can see the endpoints for fixed in Swagger, but there is no any reference into the official documentation.

Hi @gtebbutt, @cHiv0rz,
We are considering adding support for Fixed endpoints to our TF provider. As for now, we are still evaluating it, and it's not part of the roadmap. As you said, we have recently added support for Fixed endpoints to our API.
I'll update once I have a clearer view.
Appreciate the feedback. It's totally something that we'll take into consideration!

So, I've spent a couple of hours with the Terraform provider trying to set up a database on a fixed plan subscription without success. It is not obvious (or even mentioned?) in the provider documentation that fixed plan isn't supported.
The fact that a TF provider existed was one of the reasons for choosing this specific cloud infrastructure setup and now I find out fixed isn't supported. Pretty disappointing :(

I'm sorry for your experience. I pushed documentation fixes to specify on the rediscloud_subscription and rediscloud_subscription_database that they can provision Flexible subscriptions only.
I will update here once I have an ETA on the Fixed subscription/database support.

+1 very important feature for early stage startup because Flexible plan start at ~$1/h ($720/month). It will help to access the Fixed pricing with Terraform to easily upgrade when needed.

+1 here.  $20/mo vs ~$700/mo makes a pretty big difference with my small business.

Hi all, I'm happy to say we released support for Fixed resources in our registry as part of version 1.7!
Note - we renamed our deployments types:
Fixed - now called Essentials
Flexible - now called Pro
@gtebbutt @cHiv0rz @phlundblom @mazerte @nibblesnbits FYI


The root path on centos has no /usr/local/bin

Closes #343

Is this mergeable or still WIP?

I believe it is mergeable  now if you are happy with the sudo ... "PATH=${PATH}" ... way of setting PATH for the containerd installer.
I think sudo ... --preserve-env=PATH ... is more idiomatic, but don't really care, as the result will be the same.

Works too:
[anders@lima-centos anders]$ which lima-guestagent
/usr/local/bin/lima-guestagent
[anders@lima-centos anders]$ sudo --preserve-env=PATH which lima-guestagent
/usr/local/bin/lima-guestagent


Define pagerduty slack integrations in code

User Story
As an MP engineer or user
I want to define integrations from pagerduty services or teams to slack in code
So that I have better visibility and control of my monitoring infrastructure
https://registry.terraform.io/providers/PagerDuty/pagerduty/latest/docs/resources/slack_connection
User Type(s)
MP engineers and users
Value
Currently this is a manual step here - https://user-guide.modernisation-platform.service.justice.gov.uk/user-guide/integrating-alarms-with-pagerduty-with-slack.html#4-link-the-pagerduty-service-to-your-slack-channel
This would move this into code and remove the need for a manual step.

Assumptions / Hypothesis / Questions / Unknowns
Proposal
Create code for existing integrations and import them.  Update the code example in the repo to have this code per service.
Unknowns
This has not been tested yet.
Definition of done

[ ] code created
[ ] imports done
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green

Reference
How to write good user stories

Code created and added to repo for testing
https://github.com/ministryofjustice/modernisation-platform/pull/4245

The current issue is that when we run the terraform apply we are getting the following error
╷
│ Error:
│
│ No valid credentials found for PagerDuty provider.
│ Please see https://www.terraform.io/docs/providers/pagerduty/index.html
│ for more information on providing credentials for this provider.
│
│
│   with pagerduty_slack_connection.example_connection,
│   on member-services-integrations.tf line 355, in resource "pagerduty_slack_connection" "example_connection":
│  355: resource "pagerduty_slack_connection" "example_connection" {
│
╵
and this is even with the creation of a new provider and a new token.

This error has now been resolved we have a working example of the code which we can update the rest of the teams with and remove the need for manual intervention when doing pager duty creation

i have now imported the current resources listed in the terraform file and working on the plan as it states there are currently 23 to change

all pr's have been merged and all that is left is for the documentation to update

documentation pr
https://github.com/ministryofjustice/modernisation-platform/pull/4361