adding integration test

What changes were proposed in this pull request?

How was this pull request tested?

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Hi Hema,
thank you for contributing to the integration tests :)
While this PR is still in draft, I'd like to add some early feedback.

I think these new tests should be moved to scripteditor.ts file since we group them by extension, and that would avoid the overhead of creating a new test environment for the script runner.
I ran them locally and it fails at cy.get('button[title="Run"]').click() step because at that point it's still at the main launcher page.
Before that you would need to open a python file with something like cy.createNewScriptFile('Python')


Reimplemented preimages_and_derivatives; fix #153

Fixed #153 as suggested there.

Codecov Report

Merging #156 (ff85b1e) into master (fc21895) will increase coverage by 0.39%.
The diff coverage is 93.47%.

@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
+ Coverage   34.23%   34.62%   +0.39%
==========================================
  Files          37       36       -1
  Lines        3000     3018      +18
==========================================
+ Hits         1027     1045      +18
  Misses       1973     1973

Impacted Files
Coverage Δ

src/DynamicDefinition.jl
0.00% <ø> (ø)

src/NonPeriodicHatBasis.jl
20.93% <0.00%> (ø)

src/old/Chebyshev.jl
0.00% <0.00%> (ø)

src/PwDynamicDefinition.jl
57.54% <92.85%> (+1.17%)
:arrow_up:

src/NewChebyshev.jl
30.76% <100.00%> (ø)

src/preimages.jl
91.58% <100.00%> (+0.96%)
:arrow_up:

src/Lorenz2DUlam.jl
24.32% <0.00%> (-2.71%)
:arrow_down:

src/RigorousInvariantMeasures.jl

src/Contractors.jl
57.50% <0.00%> (+2.50%)
:arrow_up:

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


Not possible to use a custom method for the products filtering

Hello!
We're trying to adjust Klevu logic to add pagination and filter parameters to the URL, to have it like that:
https://domain.com/categoryurl?page=1&on_sale[filter]=Yes&brand[filter]=Kinetico&brand[filter]=Whirlpool
We're trying to add the following data to be stored in hash and be used by Klevu manager:
import {FilterManager} from "@klevu/core";

export const useSetKlevuFilterFromUrl = () => {
const currentUrl = window.location.href;
const manager = new FilterManager();

// Parse the current URL to extract the query parameters
const url = new URL(currentUrl);
const params = new URLSearchParams(url.search);

// Get all query parameter keys that end with '[filter]'
const filterParamKeys = Array.from(params.keys())
.filter(key => key.endsWith('[filter]'));

// Construct an array of objects representing the applied filters
const appliedFiltersArr = filterParamKeys.map(key => {
const filterKey = key.replace('[filter]', '');
const filterValues = params.getAll(key);

return {
key: filterKey,
values: filterValues
};
});

// Remove repeating values in the appliedFiltersArr
const uniqueFiltersArr = [];
for (let filter of appliedFiltersArr) {
if (!uniqueFiltersArr.some(f => f.key === filter.key)) {
uniqueFiltersArr.push(filter);
}
}

for (const option of uniqueFiltersArr) {
const { key, values } = option;
for (const value of values) {
manager.toggleOption(key, value);
}
}

return uniqueFiltersArr;
}
However, manager doesn't use the data and we cannot ask for the pre-filtered collection from Klevu.
As a reference, here is the object created from the URL with parameters:
[
{
"key": "on_sale",
"values": [
"Yes"
]
},
{
"key": "brand",
"values": [
"Kinetico",
"Whirlpool"
]
},
{
"key": "klevu_price",
"values": [
"0",
"7499"
]
}
]
And here is the one returned from Klevu API once the filter is applied:
[
{
"key": "brand",
"values": [
"Kinetico",
"Whirlpool Water"
],
"settings": {
"singleSelect": false
}
},
{
"key": "on_sale",
"values": [
"Yes"
],
"settings": {
"singleSelect": false
}
}
]
As far as we see, once the request is created to Klevu, there is an applyFilterWithManager(manager) method that is used by default to apply filters. We have tried to add our own method here (applyFilterWithManager(appliedFiltersArrFromUrl?.length > 0 ? appliedFiltersArrFromUrl : manager ),
But then the storefront crashed with the following error manager.toApplyFilters is not a function (where appliedFiltersArrFromUrl is the method in which code is shared at the beginning of the message).
Could you please provide a piece of advice here on how can we achieve what's needed?

Hi @tkarasovagomage there is a way to preselect filters when you create a new FilterManager instance. I'm working on making an example for you, but one way is shown in the test file for the FilterManager. The FilterManager instance has a function called initFromListFilters which lets you pass in the filters. This way when you perform the search using the FilterManager instance it already has the right filters selected and performs the search so you get the correct filtered response.

Hello, Juan!
We would wait for your response here since the example provided doesn't
work for us.

We add the same filters list const appliedFiltersArrFromUrl =
useSetKlevuFilterFromUrl();
Then send the list to the manager
manager.initFromListFilters(appliedFiltersArrFromUrl);
The filters are not rendered on the page and we received an
undefined response.

I hope that the example you'll create for us will suit us well.
Please let me know if I can provide you with some more information/details
here.
Regards,
[image: GoMage]
Tetiana Karasova
Project Manager | GoMage
38<PHONE_NUMBER> <+38+093+904+2402>
@.***
[image: https://www.linkedin.com/in/tetiana-karasova-855b1a179/]
https://www.linkedin.com/in/tetiana-karasova-855b1a179/ [image:
https://en-gb.facebook.com/GoMage/] https://en-gb.facebook.com/GoMage/
http://twitter.com/GoMagecom https://www.youtube.com/GoMage
On Mon, Apr 24, 2023 at 2:25 PM Juan Pena @.***> wrote:

Hi @tkarasovagomage https://github.com/tkarasovagomage there is a way
to preselect filters when you create a new FilterManager instance. I'm
working on making an example for you, but one way is shown in the test
file for the FilterManager
https://github.com/klevultd/frontend-sdk/blob/master/packages/klevu-core/src/store/filterManager.test.ts.
The FilterManager instance has a function called initFromListFilters which
lets you pass in the filters. This way when you perform the search using
the FilterManager instance it already has the right filters selected and
performs the search so you get the correct filtered response.
—
Reply to this email directly, view it on GitHub
https://github.com/klevultd/frontend-sdk/issues/235#issuecomment-1520157222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6RBLN5QQAIRXP4RRHPB2ZLXCZ5OFANCNFSM6AAAAAAXJFXWPA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thank you for the feedback. I've been digging into the SDK code a bit more and took a closer look at your code. There are two things to keep in mind:

you cannot pass an object instead of the FilterManager instance. There are functions that are being expected, so you must use the initFromListFilters function.
The initFromListFilters  function is expecting a specific structure, so you cannot pass in the exact same type of object that  is used in the API request/response. Again, this is because the FilterManger instance has checks within its code to ensure that everything will function properly.

That being said, it looks like the only things used inside of each object within the array passed into initFromListFilters are: the type, key, and options within each filter, then within the options array each object needs the value and selected. So this means that the other values, although required for the UI, are not actually used to make the request; which is what you are trying to do.
So looking at your URL parameters, use the same key value as the label and add the type which is also required. Then for each option, use the same value as the name and add selected (true since you're only doing this for the selected filters) + count (count can be any number since the actual value used is what comes back after the request is made).
If you look at this codesandbox, you will notice that I am applying the same type of data that you have but I'm making up the label, name, and count values since they will be replaced when I get the response, so only the key, value and selected actually matter (plus the type for each option since it needs to know if its an option or slider type of filter). In your code it is very likely you know exactly which ones are sliders, so I'd build an array to check agains, and apply a KlevuFilterType.Slider if it is a slider (which needs different values by the way), otherwise it defaults to KlevuFilterType.Options.

There are new methods in FilterManager that make it easy to export and import URL parameters.


Add option to choose field access mode

Introduce a mechanic like JAXBs @XmlAccessorType
Recent refactorings should make this pretty easy

Default access type (without annotation) is "PROPERTY" which means access via getters/setters which might lead to breaking existing code


Inconsistency between search results and dashboard

As admin, works that appears as “v1 published” on main search page can appear as “v1 draft” on the dashboard. It seems the dashboard reflects state from before works were published. May be an indexing issue.
Here is an example.
dashboard: https://scholarsphere.psu.edu/dashboard?search_field=all_fields&q="objective+assessment+metrics"
search: https://scholarsphere.psu.edu/catalog?search_field=all_fields&q="objective+assessment+metrics"
(appears as draft in first but published in second)

may be related to #651

It's possible this is a race condition between the Files step and the Review & Publish step. What would happen is, the user uploads the files and clicks Save and Continue. Some background jobs kickoff and the user continues on to Review and Publish. They do that step relatively quickly, and the work is published and indexed in Solr. However, the background job from the Files step is still processing and it has the out-of-date metadata attached to it (possibly) so when it finishes, it also reindexes (possibly) and that's what overwrites the solr record.
Solutions would be:

implement the fix in #651 and don't reindex during any of the interim steps in the form
look into the Shrine-related background jobs and ensure they aren't indexing anything in Solr.


Not found command

Hi, i have a remote machine (mac mini). I have connected by ssh and try to do command docker-compose pull & docker-compose up. But gh actions return: command not found: docker-compose.

But if i tried connect with iterm from my pc using ssh i saw docker-compose command.
Help me please)

Can you please post your yml file?

This actions's ssh connected can't resolve envirment path, so, you shuild use docker home to execute.


TEST ONLY clustering failures test

Thanks for submitting your Pull Request!
Please delete this text, and add a link to the Jira issue solved by this PR.
Remember to use the Jira issue ID in the PR title, and any commits.

retest this please

@tadamski From the title it looks like it should not be merged so I am adding the hold label. If that is wrong let me know

@kabir  yes, this should not be merged - I will close it soon

@tadamski Should this be closed?

@bstansberry  yes, I forgot to close it; closing now


Add support for custom compilerOptions for vue sfc.

Add compilerOptions to options object. This resolves 2 main issues:

It is now possible to use the isCustomElement function to tell the vue compiler in dev that an element is a custom element.
You can set "expressionPlugins: ['typescript']". This allows you to add typescript typing in the template. Code like  should now be possible to write.

Thanks!


Trackpad issue in new EFI

之前一直在用 9-28-2018 这版EFI，很稳定，触摸板拖拽选择多行文本是正常
但是今天从10.14.3升级了10.14.4，用老版EFI无法启动了，只能升级了最新的EFI，
然后触摸板在选择多行文本时，中间会断掉，
拖拽文件时，也会因为拖拽距离长，拖拽的手指需要反复移动一次，而使当前拖拽中断
这个问题出现在需要连续拖拽时，拖拽手指必须离开触摸板然后再反复拖拽（左手一直点着左键，右手拖拽）
试过将老版EFI的触摸板驱动替换过来，但是依然没有作用，应该时其他地方的处理逻辑问题
这个问题看到前面有人提过，但是没解决：Trackpad behavior on 10.14.3   #156
这个问题真的很影响使用，在需要精确选择多行，或者拖放保存网页连接的时候都没发愉快的使用了
请问有没有办法在9-28-2018这版基础上简单修改来支持10.14.4系统呢？
@stevezhengshiqi

把3个Voodoo开头的kext都替换成老版本了，这下终于可以了: )

厉害，如果有新版的VoodooI2C触控板驱动发布，可以帮忙测试一下是否解决了这个卡顿吗？
触控板源：https://github.com/alexandred/VoodooI2C/releases
作者刚刚修改了2.1.6的release，我手感有点迟钝，差异体验不出来。

新版还是不行，测试这个问题应该这样操作
对多行文本先按住左键，另一个指头拖动先选一小部分，然后放开拖动的指头往前换下再次拖动
就像你要把光标从屏幕左边移到右边，一次拖动不能完成就得手指放开再反复拖动下，就这这个换手产生了问题

@loweets 你好，我想回滚VoodooI2C的commit来修复这个问题，可以加我的QQ:467700484来讨论一下嘛，还是不太明白问题所在，十分感谢。

Hi,
i have a Huawei Matebook but i was having the same trackpad issue. I've solved it using your 1.2.8 commit ! thanks!  Have someone understood what is the problem on current VoodooI2C release and how to fix it ?
Thanks
Mattia

@stevezhengshiqi 加载了1.2.8的VoodooI2C驱动后，设置->辅助功能->鼠标与触摸板中的“有鼠标或无线触摸板时忽略内建触摸板“功能开启时，拔下外置鼠标触摸板无法启用，但是用力点按有反应。重建kextcache并不能解决这个问题。请问您遇到了这个问题吗？

@wisper-shadow 这是个VoodooI2C v2.1.4的时候的已知问题，在v2.1.5修复了。

@tmbt78 Hi, if you are interested, we can go back to the commit history to find the specific line that causes this issue.
I build a couple of VoodooI2Cs. If someone could try them one by one and report which one starts to have the drag problem, we can locate the specific code.
VoodooI2C Nov 26,2018 852c48f.zip
VoodooI2C 17 Dec, 2018 ecbd74.zip
VoodooI2C 18 Dec, 2018 33db3b9.zip
VoodooI2C 20 Dec, 2018 e9929cc.zip

@stevezhengshiqi I've tried them all. None of them are working for a reason or another.
Nov26 drag works but my trackpad bottom left and right key are not working
Dec17 left and right buttons works but drag problem
Dec18 right button non working and also no drag
Dec20 buttons working , drag sometimes works but most of the time not.
What i noticed is that using the kext in your repository is that drag is working but the mouse pointer speed is faster even if i config it to be really slow.

@tmbt78 Thank you for testing! It seems like some codes in Dec 17 cause the drag problem.
I believe the touchpad kext in v1.2.9 is half v2.0.1 native branch and half v2.1.4 master branch. I prefer higher pointer speed at that time and v2.1.4 is so slow, so I transplanted many codes from VoodooI2C v2.0.1 native branch.
In the later release after v1.2.9, I just directly use VoodooI2C official version.

试了下，你下面发这个驱动完全不行，左键按下后光标根本拖不动

@stevezhengshiqi Hi and sorry for the delay but i got really busy at work ... I tried your version but it doens't work. The trackpad gesture are very responsive but i can't left click or right click using the bottom corners of my trackpad. It only works the single tap as left click but no drag and drop.
That's a pity because the gestures are really responsive ...
Mattia

@tmbt78 @loweets The kext I gave is the elder version of VoodooI2C by using git reset --hard <commit_id> and build by xcode. I may stop testing since it's not efficient(I have to send here and wait for feedback) and I personally couldn't feel the drag problem. Sending problem description to https://github.com/alexandred/VoodooI2C/issues is highly recommended.


[Synapse Spark] Regenerate with latest release tag package-spark-2020-12-01

Regenerate with latest release tag package-spark-2020-12-01. To pickup latest changes in the service definition and autorest typescript generator.

API changes have been detected in this PR. You can review API changes here


[SNatives] Contract Call Scheduler

Blockchains are good at two things: time & ordering

@silasdavis

Currently in most blockchain designs we do not have an ability to schedule future processing. However there are many useful reasons why such a feature would be leveraged. This ticket summarizes the two key user stories for leveraging such a feature.
User Story A: Account Driven Scheduling
As a properly permissioned user of a burrow blockchain, I need to be able to send a transaction at time.Now() that is properly signed and has the transaction signature along the lines of destination, executionTime, data. Upon receiving and ensuring such a transaction is properly signed and permissioned, the nodes operating a burrow network should schedule this transaction for execution in the block which covers the unixTime placed in the executionTime with the original sender built into the transaction envelope.
User Story B: Contract Drive Scheduling
As a properly permissioned user of a burrow blockchain, I need to be able to deploy a contract that can interact with the scheduler in a similar manner to the user story listed above.

I don't entirely follow some of the wording in story A, but I think I get the gist.
We discussed the ability to schedule transactions for the proposal mechanism, so that a proposal once ratified (enough votes) would be schedule for a future block. In the end we decide to immediately execute once ratified - so the transaction that ratified would actually trigger execution. In any case we could use a similar mechanism we discussed to schedule.
The way it could work is:

A transaction can be submitted to the network with a target height
Signatures etc and checked as normal, but the transaction is added to a tree index by the target height
At each EndBlock we access the tree at that height to see if we have any transactions schedules, if we do we iterate over them executing each one. It's possible some fail because sequence numbers or other state has changed. This is logged in state as an exceptional TxExecution

A few notes:

We can't use BroadcastSync anymore because it will wait too long and breach timeout. For a scheduled transaction we might explicitly return a receipt here. Later on the submitted would need to check the result with rpc/events.Tx
This is efficient because we only have one key/subtree to check each height
We don't need any additional secondary signatures or anything - we do consensus on the tx when it is submitted as normal, and it becomes part of authenticated state like anything else - it just lives in a special pending tree (and stays recorded there forever, by default)
We will end up with transactions in Burrow's state for a particular height that have no corresponding transaction in Tendermint state. Now we append them to the end of the block so that the indices for the 'real' transactions that block match up with Tendermint. But this could cause some bugs if we implement something that assumes they line up (in forensics for example).

Things are trickier if we want to make this work for time-based scheduling.
First of all we should be aware Tendermint's BFT time gets more unreliable the more nodes we have. It is at least guaranteed to go up. I'm not sure it will ever be suitable for really time-critical tasks (you'd hope it would get the day right, but it depends how much consistency you can get out of the other validators).
The other issue is the best we can do is to schedule the transaction to run at the end of executing the first block who's timestamp breaches the target time for the execution. We could operate with some specific delta so we run it a little earlier than target but this doesn't buy us anything. The bigger problem here is we no longer have empty blocks just for the hell of it - so to get a reasonable resolution we would need to set EmptyBlocks = 1m or something.
The final issue I can think of is that since we do not know which block height will associate with which time window, unlike with height-based scheduling we can no longer use such an efficient structure to schedule blocks. We will have to replace a lookup with a range search. We can certainly support this but it is trickier.
Supporting just height-based scheduling would avoid some of these, but with irregular block timings (no empty blocks) it is now even more divergent from real time. Still useful for governance though I think, where you can at least put a lower bounds on the time until a new regime comes into force.
....
It sounds like you may have had in mind that you schedule transactions 'subjectively' as in do not put them through consensus but instead let a burrow node 'hang on to them' and have it send them when the time came. This might work, but we are not set up to store subjective non-global state in a crash-fault-tolerant manner. We would also be subject to network congestion in terms of getting the transactions into a particular block (whereas in the model above the execution machinery would guarantee them getting into their scheduled block).

I think this still represents useful functionality for Burrow to host


Installation fail with conflict between the ports of the gateway and its load balancer

What happened:
During the installation of Liqo, on the same node of a cluster, the Pod of the Gateway or the Pod of the LoadBalancer end with "Pending" status due to unavailable free ports on node.
More precisely, the pods of the LoadBalancer of the gateway are deploying as expected on all the other nodes.
Only the node where the pod of the gateway is deployed ends with a "Pending" status for the LoadBalancer or the Gateway pod (randomly).
Example on a K3S cluster of 3 nodes :
$ kubectl get pods -n liqo -o wide
NAME                                      READY   STATUS    RESTARTS   AGE   IP              NODE     NOMINATED NODE   READINESS GATES
# ...
kube-system     svclb-liqo-gateway-35183a08-6znjm               1/1     Running   0               4m39s   <IP_ADDRESS>      node1     <none>           <none>
kube-system     svclb-liqo-gateway-35183a08-7dxhs               1/1     Running   0               4m39s   <IP_ADDRESS>      node2   <none>           <none>
kube-system     svclb-liqo-gateway-35183a08-sntpj               1/1     Running   0               4m39s   <IP_ADDRESS>      node3     <none>           <none>
liqo            liqo-gateway-65bbfc94cf-rhzsp                   0/1     Pending   0               4m28s   <none>          <none>   <none>           <none>

When I describe the pod of the gateway I get this error event :
Events:
  Type     Reason            Age    From               Message
  ----     ------            ----   ----               -------
  Warning  FailedScheduling  3m57s  default-scheduler  0/3 nodes are available: 3 node(s) didn't have free ports for the requested pod ports. preemption: 0/3 nodes are available: 3 No preemption victims found for incoming pod..
  Warning  FailedScheduling  3m2s   default-scheduler  0/3 nodes are available: 3 node(s) didn't have free ports for the requested pod ports. preemption: 0/3 nodes are available: 3 No preemption victims found for incoming pod..

I suspect that it is because the Gateway container tries to listen on the port 5871 :
Containers:
  gateway:
    Image:      ghcr.io/liqotech/liqonet:v0.10.1
    Port:       5871/UDP
    Host Port:  5871/UDP

While the LoadBalancer pods already run on the same port on all the nodes :
Containers:
  lb-udp-5871:
    Container ID:   containerd://68e1aa5c3a277da27ede85e7a344cd10daa2674a2c8a8df6ec4b59f1c2cfae71
    Image:          rancher/klipper-lb:v0.4.5
    Image ID:       docker.io/rancher/klipper-lb@sha256:fa2257de248f46c303d0f39a8ebe8644ba5ac63d332c7d02bf6ee26a981243bc
    Port:           5871/UDP
    Host Port:      5871/UDP

However, I tried to change the port value with a combination of :
liqoctl install k3s --cluster-name domain-1 \
    --api-server-url <url> \
    --set "gateway.service.type=LoadBalancer,gateway.config.listeningPort=5873"

But it ends with the pods of the LoadBalancer still listening on the same port than the gateway pod.
What you expected to happen:
I expect that everything is deployed as expected, with a status equals to "Running".
How to reproduce it (as minimally and precisely as possible):

Install a K3S cluster with 3 nodes
Install Liqo with --set "gateway.service.type=LoadBalancer"

The status of the Gateway pod or the status of the LoadBalancer pod on the same node will end with a "Pending" status.
Environment:

Liqoctl version:

Client version: v0.9.4
Server version: v0.10.1

Kubernetes version (use kubectl version):
Client Version: v1.29.2
Server Version: v1.28.6+k3s2

Cloud provider or hardware configuration:
Linux hypervisor, the K3S cluster is hosted on virtual machines deployed on QEMU/KVM with libvirt :

Compiled against library: libvirt 6.0.0
Using library: libvirt 6.0.0
Using API: QEMU 6.0.0
Running hypervisor: QEMU 4.2.1

Node image:

$ uname -a
Linux controller 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux

Hi @IceManGreen,
The issue is that both your lb and liqo gateway pods try to bind to the same port. If you change it in the values file, it is reflected on the pod and service.
You have two possible solutions:

use node port services
run the installation with the flag --set "gateway.service.type=LoadBalancer,gateway.config.listeningPort=5873" and then edit your service to listen the port 5871

We will fix this in the next release by avoiding the usage of host ports and host networks.

Thank you, it works indeed !
For anyone looking for a temporary solution for the LoadBalancer, what I did exactly is :
liqoctl install k3s --cluster-name domain-1 \
    --api-server-url <url> \
    --set "gateway.service.type=LoadBalancer,gateway.config.listeningPort=5873" \

(Like @aleoli said)
Then edit the LoadBalancer Daemonset with kubectl edit daemonset/svclb-liqo-gateway-2fe6dd49 -n kube-system (or according to the name of your daemonset) with :
# ...
spec:
 template:
   spec:
     containers:
     - env:
       - name: SRC_PORT
        # HERE >
         value: "5871"
       - name: SRC_RANGES
         value: <IP_ADDRESS>/0
       - name: DEST_PROTO
         value: UDP
       - name: DEST_PORT
         value: "5873"
       - name: DEST_IPS
         value: <IP_ADDRESS>
       image: rancher/klipper-lb:v0.4.5
       imagePullPolicy: IfNotPresent
       # HERE (to avoid confusions) >
       name: lb-udp-5871
       ports:
      # HERE (all the ports) >
       - containerPort: 5871
         hostPort: 5871
         name: lb-udp-5871
         protocol: UDP

Apply the modifications and watch the installation end with success :)


Compiler error hashing a field

Aim
I'm new to Noir and trying to learn more about how it works.  My first example was just to attempt to hash a Field.  nargo check succeeds just fine, but if I attempt to actually run the test or prove, I get the below compiler error.
Expected Behavior
The test would run and field would be hashed (or show me the error of my ways)
Bug
$ nargo test
Running 1 test functions...
Testing test_main...
The application panicked (crashed).
Message:  invalid input
Location: crates/noirc_evaluator/src/ssa/acir_gen/operations/intrinsics.rs:184

This is a bug. We may have already fixed this in newer versions of Nargo so try searching for similar issues at https://github.com/noir-lang/noir/issues/.
If there isn't an open issue for this bug, consider opening one at https://github.com/noir-lang/noir/issues/new?labels=bug&template=bug_report.yml

To Reproduce
Try to run nargo test on the following circuit:
use dep::std::hash;

fn main(thing : Field) {
    let chash = hash::keccak256(thing.to_le_bytes(8));
    assert(chash[0] > 0 | chash[1] > 0);
}

#[test]
fn test_main() {
    let thing = 123;
    main(thing);
}

Installation Method
Binary
Nargo Version
nargo 0.6.0 (git version hash:<PHONE_NUMBER>a9e3e46c6d8c3169ad5d25971d4282, is dirty: false)
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

@vezenovm can you verify if this is an issue with the new SSA code?

@kevaundray Yeah I'll look into it

With the addition of slices this brings a new, but easily solvable bug. to_le_bytes returns a u8 slice. While keccak currently still has this method signature: fn keccak256<N>(_input : [u8; N], _message_size: u32) -> [u8; 32] {} but will be fixed if we switched to fn keccak256(_input : [u8], _message_size: u32) -> [u8; 32] {}. For the old SSA this is also a case of mismatched input and can be solved with this:
use dep::std::hash;

fn main(thing : Field) {
    let x = thing.to_le_bytes(8);
    let chash = hash::keccak256(x, 8);
    assert(chash[0] > 0 | chash[1] > 0);
}

#[test]
fn test_main() {
    let thing = 123;
    main(thing);
}

For the new SSA this bug will be fixed by converted the output of to_le_bytes to an array until we switch over the keccak method signature. @jfecher I was thinking we should hold off on converting any method signatures until the full switch to the new SSA.

@vezenovm we should probably wait, yes. There are slice related changes I'd like to merge as well that would be breaking changes or would require changing method signatures to fix old bugs. For example the to_bits family of functions claim to return an array of any length N but in reality return a specific length depending on the size of the input. We either need to change these to return slices or put a maximum bound on them and fill the rest with zeroes. Since their type is unsound currently.


NA servers - wrong merchants due to Daylight Savings Time change

With the Daylight Savings Time changes for the NA servers, the wrong merchants are showing up on the site

Nevermind, it seems to be working now!

Reopening - Depending on the hour, sometimes it's wrong and sometimes it's right

Comparing Maxroll merchants hours vs lostmerchants page, yeah, at the moment, they are different,
Can confirm the lostmerchants website have wrong merchants after time change maintance

NA East - Avesta: Lucas was showing next hour but was available. 11:30 EST

I'm going to assume they just did the opposite of what they did last time. Though I guess change the SA servers according to their blog post.
Sort of wonder if I could put the auto-swap code I originally had back in, I got rid of it because Smilegate had so many issues fixing DST in-game in the spring. Kinda painful that only some servers seem to actually flip for DST though, so I don't know what "time zone" they consider them in.
In any case, site should be fixed now, though you'll need to refresh the page to get the updated timings.


FEATURE: Discourse Gamification backfill scores

'Recalculate Scores' button:

Recalculate range options:

For 'Custom Range', 'Apply' is not available when there is no input:

When you click 'Apply', daily recalculation remaining goes down and it tells admin when it's completed:

When daily recalculation remaining is 0, 'Apply' button is not available:

@ellaestigoy can you please give a pass on the modal ? I feel like spacing is a bit off, specially with the date.

Okay, I made those changes! Please let me know if there's any other issues!


(backend) Added workflow clean-up.yml to remove old workflows and artifacts

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?
To prevent further out of disk space issues, we have to have some workflow to remove outdated workflow runs and their artifacts. This PR introduces clean-up.yml to offer this feature.

In this first iteration this workflow needs to be dispatched manually as it offers manual filtering. If we want to go full automatic with a cron job, we need to specify the desired values, either in this or a follow-up PR.
Added retention-days: 14 flag to the 2 upload-artifact occurences in ghcr.yml

Give a summary of what the PR does, explaining any non-trivial design decisions

The new script is closely based on the action's example (see reference below) with removing entries older than 30 days.
Manual dispatch with inputs for filtering is the first iteration.

Other references
Repository of the used action:
https://github.com/Mattraks/delete-workflow-runs/tree/v2/

Would you be able to test clean-up.yml on your fork?

No, I have all workflows disabled there. 😔

Alternatively, you could create a new org and fork OpenDevin there...

I wouldn't really have test data. The script does have a "dry run" option, which we could try first.

Let me try on my fork

Looks good:
https://github.com/li-boxuan/OpenDevin/actions/runs/10243477356/job/28334822129
https://github.com/li-boxuan/OpenDevin/actions/runs/10243466805

Looks good:
https://github.com/li-boxuan/OpenDevin/actions/runs/10243477356/job/28334822129 https://github.com/li-boxuan/OpenDevin/actions/runs/10243466805

That's great, thanks for running that test! 👍


Blackrock Microsystems New File Format (3.0)

Blackrock is expecting a change to our file format in an upcoming release (I think at least a couple of months away), so I wanted to reach out to you to make sure it is on your radar for incorporation into Cerelink. As always, we will allow people access to our previous file formats, and the adoption will be slow, so this would be supported in addition to the current ones that you load.
The primary change is a move to 64 bit timestamps. The other change is the inclusion of an additional event type in our Neural Events File: an indicator for the recording pausing, resuming, and stopping.
We can provide the file spec as soon as it is all signed off on our side, which should be in just a couple of weeks.
Is this something that would be possible for you to incorporate? Besides example of files that uses this new format, is there anything else you would need from us?
Note that this would affect timestamps reported in cbmex/cbsdk as well, so O suppose it is more accurate to say "new packet structure".
Nick

Hi Nick!
Cool, those are all welcome additions.
We'll need the new headers. Without diving in I don't yet know what else we'll need. If there are any changes to the way packet types or channel types are enumerated then we may need some more support to get over that initial "how do they expect us to do it?" hump.
-Chad

Chad,
Beyond Blackrock's new file format and new packet type, there is also a major change in that Central will be able to handle data from two NSPs in a single instance. This new software will also support up to 512 channels in a single instance.
Keep your eyes open for a release to version 8.0.0. We are about to release 7.0.6, but this version will not have the aforementioned changes.
Once this is released, we can discuss materials you'll need from us to update your Cerelink distribution. We can also then provide more direct interaction to get over specific issues you may be having.
Best,
David

This issue should have been closed two releases ago.


[bug] [dialog] core dump on window close, when using open dialog

Steps to reproduce:

create a tauri app (in my case with sveltekit, but i don't think it matters)
use the open Dialog from @tauri-apps/plugin-dialog somewhere
build the app (eg npm run tauri build -- --no-bundle)
execute the binary (eg ./src-tauri/target/release/tauri-dialog-core-dump)
open and close the dialog
close the main window
Aborted (core dumped)

OS: openSUSE Tumbleweed x86_64
"Minimal" example : https://github.com/onlyJakob/tauri-dialog-core-dump

still reproducible in the tauri v2 release https://github.com/onlyJakob/tauri-dialog-core-dump/commit/1a87686eeb3c957eb50b21766955d39a90876d94


find end of shape

i am trying to find the end of an arc so that I can draw the following shape:

it is an arc with an inside arc obviously then closed with two end lines.
is it possible?
fyi: the resulting arcs should fit inside a parent circle...

Hi,
What do you mean by end of the arc is it the coordinates of the start and the end of the arc.

Yes, when you draw an arc (or a line,shape etc), for it to return the
coordinates of the end position, so that you can start your next shape from
there.
Ashley Coker, CEO
w: AskSlate.com
e: @.***
m: +44 77382 64519
Unit 7, Fosters Business Park, Old School Road, Hook, Hampshire (Company
No. 06898498)
On Sun, Aug 28, 2022 at 11:20 AM EL JABIRI Tarik @.***>
wrote:

Hi,
What do you mean by end of the arc is it the coordinates of the start and
the end of the arc.
—
Reply to this email directly, view it on GitHub
https://github.com/ognjen-petrovic/js-dxf/issues/87#issuecomment-1229426293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG2S3DRFLCK37KJIFQWSSTV3M4PBANCNFSM572YIIBA
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ok
Note that dxf-writer can't do that for you. So you have to keep track of things like that for yourself.
The coordinates of the start and end of the arc are simple to get.
Ex:
Consider an arc defined like this:

cx : x coordinate of the center.
cy : y coordinate of the center.
r: the radius.
sa: start angle
ea: endAngle

// Coordinate of the start
const xstart = cx + r * Math.cos(sa);
const ystart = cy + r * Math.sin(sa);
// Coordinate of the end
const xend = cx + r * Math.cos(ea);
const yend = cy + r * Math.sin(ea);

It seems that this works for the start point but not the end point?
If I draw a line between the two end points it seems further around the
circle that I would expect.
The start line works.
Any pointers?
[image: Capture.PNG]
Ashley Coker, CEO
w: AskSlate.com
e: @.***
m: +44 77382 64519
Unit 7, Fosters Business Park, Old School Road, Hook, Hampshire (Company
No. 06898498)
On Sun, Aug 28, 2022 at 11:56 AM EL JABIRI Tarik @.***>
wrote:

Ok
Note that dxf-writer can't do that for you. So you have to keep track of
things like that for yourself.
The coordinates of the start and end of the arc are simple to get.
Ex:
Consider an arc defined like this:

cx : x coordinate of the center.
cy : y coordinate of the center.
r: the radius.
sa: start angle
ea: endAngle

// Coordinate of the startconst xstart = cx + r * Math.cos(sa);const ystart = cy + r * Math.sin(sa);// Coordinate of the endconst xend = cx + r * Math.cos(ea);const yend = cy + r * Math.sin(ea);
—
Reply to this email directly, view it on GitHub
https://github.com/ognjen-petrovic/js-dxf/issues/87#issuecomment-1229432162,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAG2S3ANAH4QDEBM7VT2L7DV3NAVRANCNFSM572YIIBA
.
You are receiving this because you authored the thread.Message ID:
@.***>


12 hour clock option

Is it currently possible to use a 12 hour clock instead of 24 hour?
If it isnt already implemented, perhaps it could be added?  Possibly could show an AM / PM next t select time which could be clicked on to toggle between the 2 which in the backend would then convert the PM time to a time great than 12.
For example if you select 2 and PM it would then save the time as 14 but would show 2 PM to the user on the clock UI
Below shows the 24 hours clock

$('input[type="time"]').clockpicker({ twelvehour: true })

Search for "ClockPicker.DEFAULTS" in the bootstrap-clockpicker.js file and replace "twelvehour: false" to true. You can also change the "donetext" as "DONE" as shown below.
ClockPicker.DEFAULTS = {
'default': '',       // default time, 'now' or '13:14' e.g.
fromnow: 0,          // set default time to * milliseconds from now (using with default = 'now')
placement: 'bottom', // clock popover placement
align: 'left',       // popover arrow align
donetext: 'DONE',    // done button text
autoclose: false,    // auto close when minute is selected
twelvehour: true, // change to 12 hour AM/PM clock from 24 hour
vibrate: true        // vibrate the device when dragging clock hand
};

It works as far as selecting the time but when you click edit it looses minutes and am/pm. Do you guys experience the same thing?

this.minutes brings in a string causing the following line of code to set this.minute to zero
this.minutes = + value[1] || 0;
check isNaN (value[1]) and if true split value[1] and return the first value

you can set 12 hours format using

Is it currently possible to use a  End_Time LESS Start_Time
Please see below screenshot for easily understood
See This screenshot


Flutter freezes when navigating to a widget tree with the Consumer Widget in it. Also stuck in hot reload/hot restart when attempting to restart the app.

Download the project from this git repository
Install the app and attempt to navigate between the screens by clicking on the top Text widget in the card on the bottom (15 DriveWay Aveneue)
The app freezes. If you comment out the Expanded widget that surrounds the Consumer widget in the lib/places_search.dart  file, the app works perfectly fine and navigates between both widgets seamlessly.
Hot reload and Hot restart also stop working in their entirety.

Expected results: App should navigate between both screens without freezing
Actual results: App freezes.

Hi @PabloG6
Can you please provide your flutter doctor -v,
your flutter run --verbose
and a minimal complete reproducible code sample
(not a production app)
Thank you

Closing this issue, unable to replicate it in an isolated situation.


Write markdown docs on data collection and deployment

Some (all?) of this can go in README.md

This is fixed in #118


use abp update to update abp 5.0

use  cli command abp update  to update to abp 5.0

We downgraded on purpose before presenting the LeptonX Theme.
We'll upgrade later after the LeptonX release.


Cluster must have at least one etcd plane host: failed to connect to the following etcd host(s)

What kind of request is this (question/bug/enhancement/feature request):
unable to create a cluster on Azure VM
Steps to reproduce (least amount of steps as possible):
-Added Node Template
-Added RKE Template
-Add cluster with Azure Option
Result:
The cluster must have at least one etcd plane host: failed to connect to the following etcd host(s)
Other details that may be helpful:
Frest HA Setup running in Azure
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.5.3
Installation option (single install/HA): HA

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Azure
Machine type (cloud/VM/metal) and specifications (CPU/memory): Azure Cloud  VM [Standard D2 v2 (2 vcpus, 7 GiB memory) - Linux (ubuntu 18.04)]
Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.0", GitCom                                 mit:"", GitTreeState:"clean", BuildDate:   "2020-12-08T17:59:43Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd                                 64"}
(paste the output here)

Docker version (use docker version): 19.3.14

(paste the output here)

I'm also getting this issue on vsphere

I'm also getting this issue on vsphere

What roles did you select for your nodes It seems that you are missing a etcd role

What roles did you select for your nodes It seems that you are missing a etcd role

Please login to the node and share the logs from the rancher/rancher-agent container when this happens. @cpharishnec @abhi1693

Please login to the node and share the logs from the rancher/rancher-agent container when this happens. @cpharishnec @abhi1693

@deniseschannon @superseb  I had a 5 node cluster and all nodes had all 3 roles. 2 nodes failed and the cluster never recovered. I'll share the logs when this happens again. But I doubt I'll be able to recreate the exact scenario. I even tried removing them, recovering from snapshot nothing worked

@deniseschannon @superseb  I had a 5 node cluster and all nodes had all 3 roles. 2 nodes failed and the cluster never recovered. I'll share the logs when this happens again. But I doubt I'll be able to recreate the exact scenario. I even tried removing them, recovering from snapshot nothing worked

Closing due to lack of updates and age


expand/collapse behavior for Test-Execution-Errors section

Currently in log file we do not have behavior to collapse/expand test-execution-errors section as shown below:

When there are many execution errors in a script, this section becomes lengthy to scroll. Hence collapse/expand behavior will be helpful.
I've written some code through which execution errors will be having collapse/expand option which utilizes existing toggle code in JavaScript and html:

#5016 PR is for accompanying this issue.

Duplicate issue exists hence closing this one.
The duplicate issue which is open: Test Execution Errors-section on log.html: Expand/Collapse #4888


create team page per project

Tag each Spring team member with ongoing projects and have team pages that list all members

We didn't get much demand for this, and these days many team members are working on several projects. I'm closing this issue now.


Add properties doc for magic-method properties in Helpers trait.

Helps IDEs, mostly, and those of us who use them.
I'm assuming there's a reason you use \Illuminate\Auth\GenericUser|\Illuminate\Database\Eloquent\Model instead of just \Illuminate\Contracts\Auth\Authenticatable so I left it at that.

@ryanwinchester Slightly unrelated but what theme is that?

@joshhornby https://github.com/ChrisRM/material-theme-jetbrains

I'd say I'm not using Authenticatable because that method hasn't changed for a long time. There's still a few odds and ends that could (should) be updated, mainly in docblocks.


Upgrade webpack from 4 to 5

https://webpack.js.org/migrate/5/

Coverage remained the same at 99.383% when pulling 45c4f9e8a0805fb70052243890badcf1606d2e5c on upgrade-webpack into bd9fce5bad14ff2d28fc4c6529f53dee8d1a839a on master.

Coverage remained the same at 99.383% when pulling 45c4f9e8a0805fb70052243890badcf1606d2e5c on upgrade-webpack into bd9fce5bad14ff2d28fc4c6529f53dee8d1a839a on master.


Update GH actions

This PR:

Updates the GitHub actions, since Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.

Signed-off-by: Thomas Sjögren<EMAIL_ADDRESS>

For python you also want to add cache: pip argument, to enable wheel caching.

done

The actions now fails because of:
"Error: No file in /Users/runner/work/molecule-vagrant/molecule-vagrant matched to [**/requirements.txt], make sure you have checked out the target repository" (https://github.com/ansible-community/molecule-vagrant/actions/runs/3643522742/jobs/6151833468#step:6:10)
"Error: Unexpected end of JSON input" (https://github.com/ansible-community/molecule-vagrant/actions/runs/3643522742/jobs/6151833356#step:17:2, https://github.com/ansible-community/molecule-vagrant/actions/runs/3643522742/jobs/6151833721#step:17:2)

should we split pyX,pyX-devel? the devel environments are failing.

should we split pyX,pyX-devel? the devel environments are failing.

I would try to avoid the split as it would make entire pipeline much slower. I would try to fix the issue. Is not very common for devel to break the ci.

True, will investigate where UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead actually comes from.

from a quick grep, I'm wondering where the tools are finding a python_requires with a 2.7 value in our repos...

from a quick grep, I'm wondering where the tools are finding a python_requires with a 2.7 value in our repos...

exactly, or home-page.

🤷♂


feat: add local build support for node add command

Description
This pull request changes the following:

added new e2e test node-add-local.test.mjs
moved original function of node-add.test.mjs to a shared file test_add.mjs

Related Issues

Closes #430

:tada: This PR is included in version 0.29.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


can you explain the the theory why this can work?

can you explain the the theory why this can work? Thanks.

Hi,
Sorry for the delayed answer.
This repository contains code for two different functionality:

The first one is a driver for the Cortex-M Memory Protection Unit (MPU). You can read more about what a MPU does on Wikipedia
The other function is some code to help debugging Cortex-M faults. This codes help debug such faults by providing information about this fault such as the instruction that created it, its address, register values, and so on.

Both were mostly written using the datasheet for the Cortex-M cores, which should explain a bit how this works. If you have a more specific question, feel free to reopen this issue :)


Move channel support from riff service|function create to riff subscription create subcommand

Following @ericbottard suggestion, the subcommand would have the following shape:
riff subscription create [optional-name] \
      --from <channel> \
      --processor <svc> \
      [--to <channel>] \
      [--namespace <namespace>]

--input/--output arguments will be removed from riff service create and riff function create .
v0.1.3 release -- final design:
$ riff subscription create -h
Create a new, optionally named subscription, binding a service to an input channel.
The default name of the subscription is the provided subscriber name.
The subscription can optionally be bound to an output channel.

Usage:
  riff subscription create SUBSCRIPTION_NAME  [flags]

Examples:
  riff subscription create --channel tweets --subscriber tweets-logger
  riff subscription create my-subscription --channel tweets --subscriber tweets-logger
  riff subscription create --channel tweets --subscriber tweets-logger --reply-to logged-tweets

Flags:
  -c, --channel string      the input channel of the subscription
  -h, --help                help for create
  -n, --namespace string    the namespace of the subscription
  -r, --reply-to string     the optional output channel of the subscription
  -s, --subscriber string   the subscriber of the subscription

property names have changed in the Knative Subscription CRD: https://github.com/knative/eventing/pull/421

@scothis would you mind correcting/summarizing the new option names for this issue.

@jldec I implemented the agreed flag names. Please see the docs.

Updated original post with final design/help text.


Please provide a way to not compile the documentation during the build process

From<EMAIL_ADDRESS>on 2013-10-24T04:02:16Z
Hello, I am preparing a package for the 2.3.0 beta version.
I am facing a problem during the build.
since on Debian I build the python 2.7 and the python 3.3 version, the documentation is built two times.
These build generates pickled environment which cause troubles since 2.7 pickeled objects are not compatible with 3.3 ones.
so during the install I got an error when the 3.3 version try to install the 2.7 last generated version.
Is is possible to not build the documentation by default.
python setup.py build_doc
should be explicitely called to generate the documentation. this way it should simplify the build process. shorter time (less sphix compilation and not error :)
thanks
Frédéric
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1618

From ccordoba12 on 2013-11-03T05:43:10Z
Fred, if we move "build_doc" from "build" to "install" that would give the same problems, right?

From ccordoba12 on 2013-10-27T10:06:42Z
We want our docs to be compiled when the user calls
python setup.py install
so that he/she can access them from the Help menu when running Spyder.
But I totally understand your use case, so I'll see how I can find a good compromise.
Summary: Please provide a way to not compile the documentation during the build process  <span class="oldvalue"> (was: please provide a way to not compile the documentation during the build process) </span>
Status: Accepted
Labels: MS-v2.3 Component-Docs

From<EMAIL_ADDRESS>on 2013-11-03T06:18:40Z
And what about a --no-doc options to the build and the install target.
then I should run build_doc only once for python2 and python3

From ccordoba12 on 2013-11-03T06:11:00Z
Hmmm, what if we add a "deb_build" command (which will do the same as "build" with no "build_doc") just for you guys? Will that be ok?

From<EMAIL_ADDRESS>on 2013-11-03T05:47:20Z
yes same problem...

From ccordoba12 on 2013-11-03T07:01:31Z
Great suggestion! I'll implement it right away :)

From ccordoba12 on 2013-11-03T08:10:35Z
Fred, I found how to do it but "--no-doc" will be undocumented, i.e. it won't show up in
python setup.py --help
Would be that ok?

From ccordoba12 on 2013-11-03T08:36:18Z
I can easily show it in
python setup.py build --help
because we are already subclassing "build".
However "--no-doc" will work with "install" too or with any other command (in case you need it). I'm just using the hack described here: http://stackoverflow.com/a/4792601/438386 to manipulate sys.argv, which I think it's the easier solution.
Or do you think it's worth to add it to "install --help" too?

From<EMAIL_ADDRESS>on 2013-11-03T08:25:00Z
but maybe it will show up with
python setup.py build --help
or
python setup.py install --help

From ccordoba12 on 2013-11-03T10:21:13Z
This issue was updated by revision 532fbcf67775 .

The new '--no-doc' flag will let users to not build our documentation if they
find it necessary.
Useful for packagers when trying to build for Python 2 and 3 from the same
directory.

Status: Fixed

From ccordoba12 on 2013-11-03T10:01:19Z
Ok, thanks for your help. I decided to do it the right way, hacks are hacks and can become a nightmare! :)

From<EMAIL_ADDRESS>on 2013-11-03T08:47:12Z
This --no-doc is specific for distribution,

do it first with this hack, then let see how it works with the packaging.
if we really need to add it to the target, or do some modification it will be possible later.

From<EMAIL_ADDRESS>on 2013-11-03T12:11:10Z
Cool. My patch for is now 1.2+ years old, and I've never pushed it. I guess time for rebase. =)


Optional type crash

typeInfo(of:) crashes on optional types. e.g.
Runtime.RuntimeError.couldNotGetTypeInfo(type: Swift.Optional<Swift.Double>, kind: Runtime.Kind.optional)
Reading them as enum seems to work fine. Is there a reason why this is not supported?

Just an over sight. Fixed in https://github.com/wickwirew/Runtime/pull/56


update task references for the deploy pipeline

needed due to changes here https://github.com/alphagov/govwifi-admin/pull/682

This file is about to be removed


SQLite RevEng: Context is always named ModelContext

By default, it should be named <database-name>Context.

@bricelam. @natemcmaster and I talked this over. A typical database-name for SQLite is just a file path. That's what you get if you put the connection string into SqliteConnectionStringBuilder and ask for DataSource (which is similar to what we do for SqlServer). We could just strip off all directories and just make a CSharp identifier out of the name of the file. Would that work?

FWIW, works for me: just the file name with no path or extensions + Context.

Fix checked in with commit 9d69d87.


Crash upon importing CF data

Vapor crashes upon importing CF data.
To reproduce:
Run vapor from the current installer (OSX) located on /glade/p/VAST/VAPOR/release
Import the file /glade/p/VAST/VAPOR/Data/CF/Misc/dust_fire_summer.nc

Note: this data set contains no 2D variables.


Kube2Sky doesn't create SRV records for services

Hello,
I try to use DNS (SkyDNS) as discovery service and found that Kube2Sky creates only A records for services, no any SRV. What can be a problem here? I'm using gcr.io/google_containers/kube2sky:1.9

The service port should have a name.
The SRV record is of the format _my-port-name._my-port-protocol.my-svc.my-namespace.svc.cluster.local

Check out https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cluster/addons/dns/README.md
If you are already doing this, then can you give more details about your service spec ?

SRV records are only created on new-style names:  *.svc.cluster.local - this tripped me up, too.  Please confirm.

closing for now, please reopen if needed


Update s3, sdk-core, sqs to 2.16.97

Updates

software.amazon.awssdk:s3
software.amazon.awssdk:sdk-core
software.amazon.awssdk:sqs

from 2.16.67 to 2.16.97.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, semver-patch

Superseded by #233.


Jumping ping

For some reason, the bot on Linux has strange ping.
If you check through the bot (command .ping) the ping 180 - 5000
But if on a straight line through the machine (ping "my discord server ip") then ~ 1

if you spam ping, bot will get ratelimited. Your bot doesn't get directly messages from your client, it goes through discord servers. So ping will always be >40

The fact is that because of the high ping lag the music
But the ping is high only from the bot, and if you check on the line then everything is OK.
EX -
PING russia226.discord.gg (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=58 time=1.11 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=58 time=1.16 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=58 time=1.09 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=58 time=1.21 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=58 time=1.10 ms
64 bytes from <IP_ADDRESS>: icmp_seq=6 ttl=58 time=1.12 ms
64 bytes from <IP_ADDRESS>: icmp_seq=7 ttl=58 time=1.07 ms
64 bytes from <IP_ADDRESS>: icmp_seq=8 ttl=58 time=1.06 ms
64 bytes from <IP_ADDRESS>: icmp_seq=9 ttl=58 time=1.17 ms
64 bytes from <IP_ADDRESS>: icmp_seq=10 ttl=58 time=1.07 ms

select the discord server location closes to your server's location

My server in Moscow, and the Discord server has region, Russia


Question: how cachelib recover cache by its metadata

When cachelib backups metadata during shutdown, it seems the size of metadata is quite small. Why can cachelib recover the whole cache based on the small size of metadata? Could you introduce more idea on the metadata and its recovery?

@tangliisu That's the next target for the team. We are figuring out the process of polishing the internal docs and transferring them to the website. Stay tuned.

@sathyaphoenix thank you! i figure out this question by going through the shm code. But some docs would be super helpful. Please feel free to closing this ticket.


Glitchy, stop/start steppers

I thought this was only affecting my machine, but we were seeing this at the last meetup on another machine.
The steppers are stop-start with the following error repeatedly shown on the console:
Step handler thread exception : <class 'serial.serialutil.SerialException'>
File "/home/mark/Documents/github/vPiP/python/vPiP/serialHandler.py", line 106, in _stepHandlerThread
dataRead = self.serialPort.read()
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 495, in read
raise SerialException('device reports readiness to read but returned no data (device disconnected or multiple access on port?)')
I'm also seeing this when run from Linux Mint 18.1
I found the issue mentioned here: https://github.com/pyserial/pyserial/issues/17

If I use alt:///dev/usbX?class=VTIMESerial then the errors stop, but the steppers are still glitchy...
I changed the following:
#from serial import Serial
import serial
    def connect(self):
        # self.serialPort = Serial(self.config.serialPort, self.config.baud, timeout=10)
        self.serialPort = serial.serial_for_url('alt://' + self.config.serialPort + '?class=VTIMESerial', timeout=10)
        self.serialPort.baudrate = self.config.baud
I'm also seeing two instances of Starting stepHandlerThread ?!?
Starting stepHandlerThread
Connected to Vpip
Starting stepHandlerThread
Connected to Vpip
Vpip __exit__

The issue wasn't pyserial, it was due to multiple serial processes starting up.
One created by a line in the config: polardraw = True
The other in the calling python script: p.setPlotting(True)
Added Brians 'on the fly' fix in commit 153e3c0b294d1045a9eb5ccc3e128b42176718a8


VSCode C++ IntelliSense bug when adding new files

Brief Issue Summary
VSCode C++ tools bugs when adding new files in a project manged by ms-vscode.cmake-tools.
When adding a new hpp/cpp file in the project workspace CMakeLists.txt, the VSCode C++ IntelliSense gets bugged and refuses to process correctly the new hpp/cpp file. It is needed to close VSCode, run cmake .. inside the build folder in a Powershell and then re-open VSCode in order to get it to work.
Expected:
When saving the CMakeLists.txt of a CMake sub-directory, VSCode C++ tools should automatically be refreshed with the new files. That behaviour is already fine under Visual Studio Community 2019.
Apparent Behavior:
VSCode C++ tools IntelliSense does not get refreshed with the new files and requires full editor reload with powershell console in order to rebuild the cmake project.
Platform and Versions

Operating System: Windows 10 x64
CMake Version: cmake version 3.16.0-rc3
VSCode Version: 1.42.1
CMake Tools Extension Version: 1.3.1
Compiler/Toolchain: Visual Studio Community 2019 Release - amd64

Other Notes/Information
Tested on a projected first initialized with cmake Visual Studio 2019 generator.

Another workaround (besides reloading) is to configure after editing the CMakeLists.txt. Hopefully not that inconvenient before we get to fix this.

I can try to do it myself, at least if I can get a VSCode development environment working...

That would be great. Let us know if you have any questions about the code base or if you encounter any issues during developing the fix for this issue. We'll be happy to review a PR when you send one.

I've got something working in local where I can add new files, edit my CMake, and right on CMake save it runs CMake configure which then updates intellisense, a pretty quick fix

CMake Tools 1.4.0 Beta is available on GitHub.
https://github.com/microsoft/vscode-cmake-tools/releases/tag/1.4.0-beta
Please try it out and let us know if you encounter any issues.

This fix is available in CMake Tools #1.4.0 which has been released.


[Feature Request] Have a Maid learn how to use Crossbow

Minecraft Version

[ ] 1.12.2 (End of support)
[ ] 1.16.5
[ ] 1.18.2
[ ] 1.19.2
[X] 1.20/1.20.1

What happened?
I know Maids knows how to only use bow, but not crossbows, so we need a new feature for a Maid using a crossbow that the arrows hits hard than it is fired from a bow.
Relevant log output
No response
Contact Details
No response

Has been completed


show-whitespace not showing consistently

Description
The show-whitespace feature doesn't consistently show the whitespace on all files.
How to replicate the issue

Go to https://github.com/NixOS/nixpkgs/pull/183772
Click on the changed files tab
Scroll down to the second modified file, pkgs/top-level/all-packages.nix
Notice that the whitespace does not show
Refresh the page
Notice that it does show

Sometimes they show on the file for a split second after I scroll down to it, then disappear.

Extension version
22.7.1
Browser(s) used
Safari 15.6

I've seen this for years but I don't know why it's happening. I wonder if using the new observer can help here, even just for performance:

https://github.com/refined-github/refined-github/pull/5886

I'm experiencing something similar but not sure it's the same thing, where you load the changes page and the whitespace shows, then they seem to disappear (without touching anything) after a couple of seconds, but only from the first like, 30 lines of the diff.
Here's a picture showing it "kicking in" again

Link if required: https://github.com/PCSX2/pcsx2/pull/6801/files
I also removed/readded the extension and cleared my cache to see if either of those help, unfortunately, it didn't :(

I've seen whitespace marking disappear so I'm guessing that:

RG adds the marks
GitHub replaces/updates the code, dropping the marks
RG does not handle these new elements again because rgh-observing-whitespace is still present on the line

The way show-whitespace is implemented could also explain what's happening in the first screenshot

RG watches the lines
GitHub replaces them
RG no longer sees the lines so the whitespace isn't added

I'm not sure how GitHub is replacing each of the line’s content without touching the outer class on each line though, 😰  so annoying.
Some reverse-engineering is necessary by using onNodeRemoval(span).then(() => {debugger}) after adding a whitespace span

Found the culprit in GitHub’s code and it's doing exactly what I imagined:

The element remains, but its children (and our whitespace) is replaced

class DiffRow {
get lineNumbers() {
	let a = this.tableRow.querySelectorAll("td.blob-num")
			, b = Array.from(a).map(a=>parseInt(a.getAttribute("data-line-number") || "") || null);
	return [b[0] || null, b[1] || null]
}
replaceChildren(a /* this is .blob-code-inner */, b) {
	let c = (0,
	h.r)(document, b);
	if (f.$.isFeatureEnabled("STRICT_DEFERRED_DIFF_LINES_CHECKS") && c.textContent?.trim() !== a.textContent?.trim()) {
		this.report && this.report(Error("DiffRow.replaceChildren(): textContent did not match"));
		return
	}
	a.replaceChildren(c)
}
constructor(a, b) {
	this.report = b,
	this.tableRow = a
}

The new data is loaded by querying this URL (which doesn't work when opened directly)
https://github.com/PCSX2/pcsx2/diffs/0e24d638c990affc52db9fcf5e3628557c0287f7..81f69cf3ee5410d0dbaeaea153b2addef75875b7?base_sha=0e24d638c990affc52db9fcf5e3628557c0287f7&whitespace_ignored=false

I'm not sure how we should go about this, our selector observer cannot target text nodes. I don't know using onNodeRemoval on every single node we add here is super efficient 🤔 but maybe we have no choice.


[FABCAG-5] Add tutorials and checks

Add three tutorials
Update readme to include link to tutorials
Add script to check all tutorials content sections have valid sections

Updated changes include spelling/grammar fixes for the above, removal of punctuation from contents pages and comments in tutorial checking script

All comments at this point resolved by last force push


cbc mode not working

Hi,
the CBC mode is not working, you missed the part where you need to take the n block cipher as the IV for the block n+1
I mark the two lines to add with the // MISSING PART comments in the following function
And thanks for the lib of course ! It saves me some time !
encryptCBC: function(string, iv) {
string = this.utf8Decode(string);
var blocks = Math.ceil(string.length/8);
var ivL, ivR, ivLivR;
ivLivR = this.split64by32(iv);
ivL = ivLivR[0];
ivR = ivLivR[1];
var encryptedString = "";
for (var i = 0; i < blocks; i++) {
var block = string.substr(i * 8, 8);
if (block.length < 8) {
var count = 8 - block.length;
while (0 < count--) {
block += "\0";
}
}
var xL, xR, xLxR;
xLxR = this.split64by32(block);
xL = xLxR[0];
xR = xLxR[1];
xL = this.xor(xL, ivL);
xR = this.xor(xR, ivR);
xLxR = this.encipher(xL, xR);
xL = xLxR[0];
xR = xLxR[1];
encryptedString += this.num2block32(xL) + this.num2block32(xR);
ivL = xL; // MISSING PART
ivR = xR; // MISSING PART
}

This issue may be 2 years old, but it sure helped me. I thought my decrypt code was wrong.

Thank you! Really helped me :)

Adrian Scheit:

I played with your blowfish implementation in javascript. It is very good! But did you noticed that CBC mode is not working? You can test it in pluncer: http://plnkr.co/edit/PC3So0dCjFHnxqFKMIKz?p=preview
Do you know why?


Added Mesh Moment of Inertia Calculator

🎉 New feature
Based on this proposal.
Summary

The PR implements a Moment of Inertia Calculator based on the method described in this document.
The calculator works using the callback-based API from the sdformat made in this PR.

TODO:

[ ] Explore more efficient ways for the arithmetic operations
[x] Update return type for Inertia Calculator to optional inertial object
[ ] Add Tests

Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[x] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Can you merge from main. Some of the changes in this PR are already in main.

@ahcorde

some lines are more than 100 characters, review style too

Corrected the style and completed codecheck in 3fc1587

Is there any reason to include the implementation in the hpp ? I think you should move the implementation to a cpp file.

I have removed implementation from the header file and added it to a separate source file.

@azeey I have merged main in 40c5100

@iche033 I have added an integration test for the class in a53f441

hmm there seems to be more test failures than usual

merging https://github.com/gazebosim/gz-sim/pull/2105 first

hmm there seems to be more test failures than usual

@iche033 the test failures were coming due to not using the ParserConfig::GlobalConfig() before registering the mesh inertia calculator and calling Root::Load() in Sever.cc.This was causing the tests using fuel resources to not be able to resolve the URIs. This should be fixed now in 7864454


Allow to modify but not commit

Coming from https://github.com/evcc-io/evcc/pull/4369 it would be nice if it was possible to modify the file, but not commit it. Use case: it's a template file that must be pushed to a different repo (in another step).
Is this supported?

Looking at https://github.com/pocket-apps/action-update-version/blob/master/src/main.ts I would suggest to switch order:

update version first
then check for token/email
abort if token/email are empty


Remove proxy call for rotation of signing keys

Removes call to proxy service for rotation of signing keys
Directly deletes Secret from the cluster

Bug 2275413

/lgtm

/cherry-pick release-4.16

/cherry-pick release-4.16-compatibility

/test odf-console-e2e-aws

/test odf-console-e2e-aws

/test odf-console-e2e-aws

/cherry-pick release-4.16

/cherry-pick release-4.16-compatibility


Post release automated changes for netapp releases

Post release automated changes for azure-arm-netapp

API change check
API changes are not detected in this pull request.


Build failure: AFL dependency marked insecure

Steps To Reproduce
Steps to reproduce the behavior:

build afl

Build log
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'afl-2.57b'
         whose name attribute is located at /nix/store/9hisakick7wdjhafbwmiz6bbhqybkajy-source/pkgs/stdenv/generic/make-derivation.nix:331:7

       … while evaluating attribute 'postInstall' of derivation 'afl-2.57b'

         at /nix/store/9hisakick7wdjhafbwmiz6bbhqybkajy-source/pkgs/tools/security/afl/default.nix:31:5:

           30|     '';
           31|     postInstall = ''
             |     ^
           32|       # Install the custom QEMU emulator for binary blob fuzzing.

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: Package ‘python-<IP_ADDRESS>’ in /nix/store/9hisakick7wdjhafbwmiz6bbhqybkajy-source/pkgs/development/interpreters/python/cpython/2.7/default.nix:341 is marked as insecure, refusing to evaluate.

       Known issues:
        - Python 2.7 has reached its end of life after 2020-01-01. See https://www.python.org/doc/sunset-python-2/.

       You can install it anyway by allowing this package, using the
       following methods:

       a) To temporarily allow all insecure packages, you can use an environment
          variable for a single invocation of the nix tools:

            $ export NIXPKGS_ALLOW_INSECURE=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) for `nixos-rebuild` you can add ‘python-<IP_ADDRESS>’ to
          `nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
          like so:

            {
              nixpkgs.config.permittedInsecurePackages = [
                "python-<IP_ADDRESS>"
              ];
            }

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
          ‘python-<IP_ADDRESS>’ to `permittedInsecurePackages` in
          ~/.config/nixpkgs/config.nix, like so:

            {
              permittedInsecurePackages = [
                "python-<IP_ADDRESS>"
              ];
            }

Notify maintainers

@SuperSandro2000 @AndersonTorres @philiptaron
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.82, NixOS, 23.11 (Tapir), 23.11.20240322.56528ee`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.05"`
 - channels(sigmanificient): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

If you are planing to open a PR, you don't need to create an issue first.

If you are planing to open a PR, you don't need to create an issue first.

I wasn't sure, thanks for clarification


Document trace.log contains debug leve information

While configuring JReleaser, I wanted to get a more detailed log to see what is really happening under the hood when something went wrong.
I found trace.log has the debug level logs almost at the end I configured the JReleaser to the project.
It would be nice to call out in the documentation that trace.log is available for debugging. So that, users would aware of how to debug release failures.

There's a mention of trace.log at https://jreleaser.org/guide/latest/checklist.html
However, these 2 files could also be mentioned in the Quickstart pages, and perhaps other places as well.


Support for Kibana 6.1.1

Hi Team,
Can you please let me know, if this can be integrated with Kibana 6.1.1?
If no, then can we please have any insight on the future release?
Thanks & Regards,
Bharat.

Any feedback? update?
Thanks in advance.


Needs testing but seems 10.50 10.70 and 10.71 are the same

...I feel like you're trying to one-up #23 there-

not a chance but ill pull mine since he has one.

not a chance but ill pull mine since he has one.

Ya good, just some very odd timing is all x3


cw_canaries stack fails due to unsupported CloudWatch synthetics version

Describe the bug
Refer to line 84 of deploy/stacks/cw_canaries.py here.
According to Runtime versions using Python and Selenium Webdriver, the runtime version syn-python-selenium-1.0 is no longer supported.
When the nested stack is created, the following error occurs:
Resource handler returned message: "Invalid request provided: Deprecated runtime version specified. (Service: Synthetics, Status Code: 400, Request ID: 2615cc97-59ab-42f1-b0df-4db59ce5ece6)" (RequestToken: 9b8c547f-26ec-45b2-423c-c19c883e5aba, HandlerErrorCode: InvalidRequest)

How to Reproduce
Include the configuration parameters to activate canaries in cdk.json:
    ...
    "enable_cw_canaries": true
    ...

Then, deploy dataall.
Expected behavior
The deployment should complete without error.
Your project
No response
Screenshots
No response
OS
Mac
Python version
3.12.2
AWS data.all version
2.6.0
Additional context
No response

Hi @jpdev42 - thank you for bringing this issue to our attention. We will look into the above and see if any blockers to upgrading the runtime version to the latest (or non-deprecated)
Will do some exploration on the above but please do let us know if you were able to find a workaround for the above issue as well


App crash with Hardcodet NotifyIcon ContextMenu

In my situation, I start my app as a tray icon, and use ContextMenu to open MainWindow, but it will crash when menu shows.

I made some test, and found out it crash at ThemeHandler.cs, line 32.
If there is no MainWindow show, just a tray icon with contextmenu, when the menu shown, the Application.Current.MainWindow will return null so it crashed.
I added some code to determine whether MainWindow it is null and seems everything works fine.

Hi @IllyaTheHath
Thanks for the feedback, and sorry for responding so late.
I checked your PR, but it has side effect for AccentColors and theme resources. FluentWPF follows the change of system settings in Windows.
If skip the initializations, the window will not follows the changes of system settings.
https://github.com/sourcechord/FluentWPF/pull/109/files#diff-1297bb28e3738fc67e5828e370a749202d90f0553c8f219758e3d8d29d86427bR34-R38
However, I understand the bug that you reported, and I'm trying to fix it.


Colored Displaynames Not Possible [Feature Parity]

There's currently no option that I know of using CITResewn to detect colored displaynames (In Optifine possible)
When using the following property, Optifine renders the custom texture but CITResewn doesn't
nbt.display.Name=ipattern:\u00a74\u00a7oMy Sword

The correct way would be to check against the name's json instead of its plaintext representation. The section symbol formatting is long deprecated and should not be used when possible in Minecraft.
Take a look at your sword's name nbt with /data and match against that instead.


wrap both RTCPeerConnection and mozRTCPeerConnection in FF

need to wrap both RTCPeerConnection and mozRTCPeerConnection for FF
sigh

oh. Also in Chrome now.

fixed in #45


Handle secrets in debian/rules

Currently the CI handles secrets directly in its own custom steps, and the package will be unable to build without them.
A better solution would be for the files to always exist (but empty), so that the package can be built if the repo is forked.
This also means that workflow files can remain uniform.

Perhaps we can do this:
pass secrets as env to build action:
  env:
    DEB_DATA: ${{ secrets.DATA }}
    DEB_KEY: ${{ secrets.KEY }}

build action can dump its environment into an env file, add its additional env parameters, and then use --env-file. this would allow any env vars set in CI to reach the package.
debian/rules would then be able to use this information for assembling the package.


Persist Mobilize event data

Probably by sticking it in Contentful but we can do something else if that's hard or scary (security and attendee privacy). A haskell function that, given data, puts it on Contentful suffices

Need to determine what data we will be storing and how we will interact with it


Inconsistent Behavior: Mobile Devices

Inconsistent Behavior
The Input mask appears to behave differently on certain mobile devices than it does on traditional desktop systems.
An example:
I have a language-specific date-pattern defined, based off of the originating culture from ASP.NET.  On certain mobile devices the separator trivia appears to be required on the mobile devices, and trying to enter:
MM/DD/YYYY as MMDDYYYY gives unpredictable and usually incorrect behavior.
The user can, on these devices, enter the separators and get a better experience.  The issue with this is the inconsistency between devices.  If a user tries one device and switches to another later, the behavior may result in these fields not being entered due to the confusion, the user may experience, of the inconsistency.
Expected Behavior
Consistent Behavior across platforms.  If the separator trivia is required, it should always be required.
Actual Behavior
Attached is an example of the value: 11/11/1911, entered in two ways:

Without Entering Separator Trivia
With Entering Separator Trivia

Definitions
The HTML which defines the input is as follows:
<input id="CurrentDataForm.Items[2].Response" name="CurrentDataForm.Items[2].Response" class="form-control" autocomplete="off" data-input-mask="mask" data-inputmask-placeholder="mm/dd/yyyy" data-input-masks="D/B/M" type="text">

The JavaScript defining D/B/M is as follows:
Inputmask.extendDefinitions(
{ 'D':
{
  validator:   '0[1-9]|1[0-2]',
  cardinality: 2,
  prevalidator:
  [
    {
      validator:   '[0-1]',
      cardinality: 1,
    }
  ]
}
});
Inputmask.extendDefinitions(
{ 'B':
{
  validator:   '0[1-9]|[1-2][0-9]|3[0-1]',
  cardinality: 2,
  prevalidator:
  [
    {
      validator:   '[0-3]',
      cardinality: 1,
    }
  ]
}
});
Inputmask.extendDefinitions(
{ 'M':
{
  validator:   '1(89[7-9]|9[0-9][0-9])|2(0[0-9][0-9]|1([0-2][0-9]|3[0-7]))',
  cardinality: 4,
  prevalidator:
  [
    {
      validator:   '[1-2]',
      cardinality: 1,
    },
    {
      validator:   '1[8-9]|2[0-1]',
      cardinality: 2,
    },
    {
      validator:   '1(89|9[0-9])|2(0[0-9]|1[0-3])',
      cardinality: 3,
    }
  ]
}
});

It's important to note that I'm not using the normal date due to possible variances that appear based on culture, such as the separators, and the placement of year, month, and day.  Year is also restricted to +/- 120 years from current year.
Version Used
The Version of the Input Mask used is 3.3.4
Known Affected Devices

Samsung Galaxy S5

Can you create a jsfiddle. So in desktop browser it behaves correctly while
on mobile it doesn,ct?
Op ma 24 apr. 2017 17:07 schreef Allen Clark Copeland, Jr. <
<EMAIL_ADDRESS>
Inconsistent Behavior
The Input mask appears to behave differently on certain mobile devices
than it does on traditional desktop systems.
An example:
I have a language-specific date-pattern defined, based off of the
originating culture from ASP.NET. On certain mobile devices the separator
trivia appears to be required on the mobile devices, and trying to enter:
MM/DD/YYYY as MMDDYYYY gives unpredictable and usually incorrect behavior.
The user can, on these devices, enter the separators and get a better
experience. The issue with this is the inconsistency between devices. If a
user tries one device and switches to another later, the behavior may
result in these fields not being entered due to the confusion, the user may
experience, of the inconsistency.
Expected Behavior
Consistent Behavior across platforms. If the separator trivia is required,
it should always be required.
Actual Behavior
Attached is an example of the value: 11/11/1911, entered in two ways:

Without Entering Separator Trivia
https://cloud.githubusercontent.com/assets/14880357/25343224/080c2932-28d4-11e7-946e-d622edf3f5fe.png
With Entering Separator Trivia
https://cloud.githubusercontent.com/assets/14880357/25343223/07e856f6-28d4-11e7-9aa9-faeacce6bd98.png

Definitions
The HTML which defines the input is as follows:

The JavaScript defining D/B/M is as follows:
Inputmask.extendDefinitions(
{ 'D':
{
validator:   '0[1-9]|1[0-2]',
cardinality: 2,
prevalidator:
[
{
validator:   '[0-1]',
cardinality: 1,
}
]
}
});
Inputmask.extendDefinitions(
{ 'B':
{
validator:   '0[1-9]|[1-2][0-9]|3[0-1]',
cardinality: 2,
prevalidator:
[
{
validator:   '[0-3]',
cardinality: 1,
}
]
}
});
Inputmask.extendDefinitions(
{ 'M':
{
validator:   '1(89[7-9]|9[0-9][0-9])|2(0[0-9][0-9]|1([0-2][0-9]|3[0-7]))',
cardinality: 4,
prevalidator:
[
{
validator:   '[1-2]',
cardinality: 1,
},
{
validator:   '1[8-9]|2[0-1]',
cardinality: 2,
},
{
validator:   '1(89|9[0-9])|2(0[0-9]|1[0-3])',
cardinality: 3,
}
]
}
});
It's important to note that I'm not using the normal date variant due to
possible variances that appear based on culture. Year is also restricted to
+/- 120 years from current year.
Version Used
The Version of the Input Mask used is 3.3.4
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RobinHerbots/Inputmask/issues/1576, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AATb77ONXGGdbzFBgCuW1RaZqBfyscpvks5rzLqlgaJpZM4NGTDS
.

Using v3.3.4
I ended up using exactly version 3.3.4, the 3.x (latest) actually behaves WORSE by not advancing past the first character entered!
This seems like a complicated issue.

I am facing the same issue in Samsung Galaxy S7 with Android 7 (Nougat) in Chrome. The caret is placed in front even after 1 character is there.

facing same problem here on Motorolla G3

Just an updated jsfiddle https://jsfiddle.net/jrp2evjt/4/

Robin is it tested on android?

@ErikWitkowski ,
The problem is still there, the fiddle is just to test against the latest version.

Is there a easy way to make the mask MMDDYYYY when editing and then switch back to MM/DD/YYYY when control lose focus?

@ErikWitkowski
The issue with that approach is it wouldn't really solve the issue.  Further, depending on the mask, the delimiters are used to help the user reason about the mask they are seeing.

Hi all. I've faced this issue too.
Device: Galaxy Tab A (2016).
Usage:
<input type="tel" name="phone" class="form-input" id="phone">
...

Inputmask({mask: '+38 (999) 999-99-99'}).mask('#phone');

Is there any solution or maybe workaround for it?

Is this fixed?


Create "overwrite" workflow for install activity

create "overwrite" workflow for install activity for when we need to update/backfill records for the entire view (not just most recently ingested data)

Currently, the install data is fetched from a view. As we learn more from the data, we update the rules on what installs can be  classified as cicd. But updating the rules on the view does not update the ingestion timestamp, so the existing install counts will not reflect the new install count. We need to have a workflow to tackle such cases.


Ryanking/gha ssh key

Summary
A description of changes or issues addressed by this PR. Provide links to relevant PRs if any.
Test Plan
Say unittests, or list out steps to verify changes.
References
(Optional) Additional links to provide more context.

Codecov Report

Merging #501 into main will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #501      +/-   ##
==========================================
+ Coverage   56.80%   56.89%   +0.08%
==========================================
  Files          21       21
  Lines        1926     1930       +4
==========================================
+ Hits         1094     1098       +4
  Misses        664      664
  Partials      168      168

Impacted Files
Coverage Δ

config/v2/config.go
6.43% <ø> (ø)

plan/ci.go
78.85% <100.00%> (+0.49%)
:arrow_up:

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 d16af96...3f98003. Read the comment docs.


Add test for "testbox run" command

I'm seeing errors when running testbox run in minibox. That issue aside, would a testbox run test be useful when building this image?

I think it would be useful to add a test, but I don't think it would work unless you started a local server so that the runner url was pointing to an actual test runner right?

I think it would be useful to add a test, but I don't think it would work unless you started a local server so that the runner url was pointing to an actual test runner right?

You're right - I thought the command would pretty much just hit the URL and return the generated HTML., but it won't work without a running server. :disappointed:  I added this test because I'm getting an error with the Testbox run command in one of my new actions, and I was hoping a simple test could help catch the issue in future releases. Nevermind - I can close this and open an issue for my exact issue. :smile:


Doc - How to extend base classes

What would be the best way to do things like this?

Overwrite a method in a core class, extending it.
Use another core class, expecting it to use your overwritten method.

e.g.
class BaseHtml extends \yii\helpers\BaseHtml {
  function checkbox () {
    //custom version
  }
}
...
$activeField->checkbox() //will use the \yii\helpers\BaseHtml.

Thoughts:

The Yii::$classMap['yii\helpers\Html'] = 'custom\Html.php' negates the extends.
Then you need to rename your class and write a require above the class declaration (not sure).

This is correct? There's a better way? Didn't found anything about this in the docs.

https://github.com/yiisoft/yii2/blob/master/docs/guide/helper-overview.md#customizing-helper-classes-


Add a schema check for unreachable embedded objects

Fixes https://github.com/realm/realm-object-store/issues/925

This rejects orphans unconditionally, while we only want to reject orphans which were explicitly added to the schema and not just auto-discovered. Object store doesn't currently have a way to distinguish those, so either it needs a way to or this needs to be something explicitly called on the schema by the SDK when it is applicable.

Thanks, @tgoyne. Since I'm not familiar with how SDK's do their automatic schema discovery the simplest thing is to provide a method on Schema to do the check that SDK's can opt-in to calling at the appropriate time. What would be the best output of such a method, a list of the names of orphans, or would a list of ObjectSchemaValidationException still be appropriate?

I think the behavior we want is:

If the schema was discovered, simply do not create tables for any orphaned embedded types. Having types in the schema which do not have backing tables is already something we support for the sake of read-only Realms. This is so that merely defining a class and not using it isn't an error, as that'd be pretty annoying during development.
If the embedded object type is explicitly included in the schema by the user, throw an exception.
If the table for the orphaned embedded object type already exists, validate that it's compatible with the schema even if the schema was auto-discovered.

Satisfying all three of these probably requires pushing the knowledge about if the schema was auto-discovered down pretty far into the logic. A pre-emptive validator-or-filter function probably couldn't handle both skipping creating tables but still validating that the schema matches the table if it already exists. The most natural thing would probably be another schema mode? Having separate AdditiveWithEmbeddedOrphansAllowed and AdditiveWithEmbeddedOrphansForbidden modes (preferably with better names) modes would fit with the existing design and leave it to the SDK to pick the appropriate one without having to pass around addition bits of state. Hopefully the actual logic to make that work isn't awful...

For sure, I can add another schema mode. Perhaps AdditiveExplicit and AdditiveDiscovered so that we can maybe reuse the code paths for some other future schema checks?
Would it be useful to separate out the explicit/discovered state from the schema mode so that it can be combined with all other schema modes and not just additive? I just want to double check the design matches the conceptual model because I don't have any experience with the discoverable schema code. But I have no problem with adding it if that's what we need.

Orphaned embedded tables are only a problem for the server, so the check is only needed for synchronized Realms and synchronized Realms always use the additive-only schema mode. I think having this as a flag that can be added to any schema mode would just complicate things, but if I'm wrong and it would be simpler then there's nothing wrong with that approach. I mostly wouldn't want a separate bool that has to be passed down through a bunch of layers because that has a habit of turning into three bools and some really convoluted logic.

Replaced by https://github.com/realm/realm-core/pull/4306

Replaced by https://github.com/realm/realm-core/pull/4306


Extension causes high cpu load

vscode-icons-team.vscode-icons-unresponsive.cpuprofile.txt
vscode-icons-team.vscode-icons-unresponsive.cpuprofile.txt

Issue Type: Performance
Extension Name: vscode-icons
Extension Version: 10.1.1
OS Version: Darwin x64 17.7.0
VSCode version: 1.46.1

:warning: Make sure to attach this file from your home-directory:
:warning:/Users/timothyoliver/vscode-icons-team.vscode-icons-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load

See pinned issue.


Cannot read property 'Kbodyvalue' of undefined

Hi, thanks in advance for your help.
I'm trying to use ngu-carousel  putting some small cards in every slider. I'm trying to build the cards dynamically with some info on it.  When I try to get the properties of one of the items in carouselTileOneItems, always  get the same error Cannot read property 'Kbodyvalue' of undefined. my goal is to assign the properties values to the inputs in the app-small-card component.
<ngu-carousel
            [inputs]="carouselOne"
            (carouselLoad)="carouselTileOneLoad()">
              <ngu-item NguCarouselItem *ngFor="let tile of carouselTileOneItems; let i = index;" >

                  {{tile.Kbodyvalue}}
                  <app-small-card
                  [bodytext]="'Text'"
                  [footertext]="'Footer'"
                  [bodyvalue]="'10.5%'"
                  [footercolor]="'card-footer bg-c-red'"
                  [footerimg]="'fa fa-line-chart text-white f-16'"
                  [footerfontcolor]="'text-white m-b-0'"
                  [bodyimg]="'fa fa-hand-o-down f-28'"
                  [bodyfontcolor]="'text-c-red'"

                  ></app-small-card>
              </ngu-item>

              <button NguCarouselPrev class='leftRs'><</button>
              <button NguCarouselNext class='rightRs'>></button>
         </ngu-carousel>

@yuyocp Hi,
I thing problem is not related to my carousel. If possible please create a stack blitz repo.
Thanks


Extending PostServeAction questions

Hello,
I have 2 questions about extending the PostServeAction class.

I am not seeing a way to register for it on a per-stub basis vs globally.  I logic in the doAction() method, but it is not going into it.  And I am not seeing as way to change the applyGlobally() flag like you can in the Transformations.  Is it possible to only have this action respond to a specific stub?

I'm noticing that the serveEvent.getResponse() is always null.  I am not seeing a way to view the response that was sent back.  I'm seeing the request, but not the response.

Hopefully someone can clarify this for me super-quick :)  Thanks in advance

You can do it, but it's a slightly different model than other extensions because the method signature when applied globally is a bit different. See: https://github.com/tomakehurst/wiremock/blob/master/src/test/java/com/github/tomakehurst/wiremock/PostServeActionExtensionTest.java#L55

Confirmed bug, thanks.