Block Production Time is Unbounded, needs to be Time Bounded

The current block production algorithm operates without any consideration to the time it takes to process a block. A block producer has about 300 ms to produce a block so that it can relay via 6 degrees of P2P network processing and get to the next block in time (allowing for 1.2 seconds of network propagation time).
This constraint will naturally limit the real-time throughput to a fraction of what a node would be capable of.
This should probably be configurable by the block producer so we can experiment and adjust as necessary.

notes from discussion
scheduler needs to limit the amount of transactions it will schedule when considering "time"
best case message time: 20 usec
scheduler should cut off at ~300ms per thread given "best case" time for a message
chain_controller::generate_block should then use wall clock to time the application of the produced schedule and return any overages to the pending transactions.

This issue ultimately reveals a bigger design change in how transactions are scheduled and blocks are produced:

transactions need to be scheduled as they are received, eg we should have a "pending block" rather than a "pending transactions list".

In the future pending transactions will also have to execute in parallel as they come in or we will be unable to build blocks fast enough even if we can execute on 1000 threads once built.

For developer testing purposes people will not be pushing the limits of their own network so this issue can be postponed until a better scheduling design can be finalized.

➤ Dhanesh Valappil commented:
Pls can you add the ATC for it?


[2.x] enh: Add Twill Route facade to preserve singleton() method

This PR adds a Route facade in Twill. The facade is equivalent to Illuminate\Support\Facades\Route, and adds a singleton() static method as an alias for the twillSingleton() macro (renamed in 2.12.0).
This offers an alternative migration path on 2.x, which is to use A17\Twill\Facades\Route within routes/admin.php.
ref: https://github.com/area17/twill/issues/1961

I feel we should name this TwillRouter instead?

We also already have the TwillRoutes facade. We could just use that for Twill specific routes?
<?php

use Illuminate\Support\Facades\Route;
use A17\Twill\Facades\TwillRoutes;

Route::get('bar');
Route::singleton('some-singleton');
TwillRoutes::module('pages');
TwillRoutes::singleton('menuLinks');

Hey @haringsrob, thanks for the feedback! A few thoughts:

The scope if this PR is to provide an alternative solution (aka. to solution I wish I had) to preserve the Route::singleton() API. I'll admit I did not yet think about how this can evolve for 3.x.
In my view, Route is more aligned with the original Illuminate\Support\Facades\Route. (Come to think of it, Twill's Route could even extend it, to inherit the @method annotations.)
I think the Twill prefix here is a bit redundant... it's already in the namespace.
At a glance, the existing TwillRoutes class is related, but on the other hand, it's not anything I would want to call in the context of routes/admin.php, as a user. I don't know if it's the best place to mix in the module() and singleton() macros.
Finally, is there a need to use both Route facades in routes/admin.php?

Hey,
I believe that with this approach we are overwriting the singleton method provided by Laravel, so we cannot use that and the Twill singleton together. I want to avoid confusion and leave that functionality intact, that is why the prefixing in the current macro was done.
The same goes for why I opt to reuse TwillRoutes instead of a new Routes facade, I know it is already name spaced, but the (when mixed (which I think would not happen much)) would require to make an alias. And here again, this may cause confusion when writing routes as in accidentally taking the wrong facade.
While it does not happen much, I do take from this experience that using to generic macro's may lead to conflicts in the future, and for this we better take things into our own hands to avoid this from happening again.
Sorry if I am misunderstanding, if so, please let me know.

It makes sense, thanks for the precision.
I guess the main point I'm thinking of is that switching to a A17\Twill\Facades\Route facade preserves the API I know and want. I think you're seeing further ahead and I appreciate that.


merge package from Kronos-Tools/npm-package-template

package.json

chore(devDependencies): update rollup:^0.59.1 from template
chore(devDependencies): add rollup-plugin-commonjs:^9.1.3 from template
chore(devDependencies): add rollup-plugin-node-resolve:^3.3.0 from template
chore(devDependencies): add rollup-plugin-executable:1.2.0 from template
docs(package): remove keyword null

.travis.yml

chore(travis): remove node versions 8.11
chore(travis): add node versions 8.11.2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


raftstore: add commit log duration metrics

What have you changed? (mandatory)
add commit log duration metrics which spans from propose to committed
What are the type of the changes? (mandatory)

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
manual test
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
https://github.com/pingcap/tidb-ansible/pull/577

Please update your pull request.

/release


Readme file text blacked out

The text in the readme file in the project window is black along with the background.

Unable to fix


Upgrade egit-github version

Fixed by d43fdf6dbed5153509324ce43c3108543d6865ee, although some further testing will be needed before deployment.


Tenor flow distributed support for spectrum lsf

NOTE: Only file GitHub issues for bugs and feature requests.  All other topics will be closed.
For general support from the community, see StackOverflow.
To make bugs and feature requests more easy to find and organize, we close issues that are deemed
out of scope for GitHub Issues and point people to StackOverflow.
For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Environment info
Operating System:
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
If installed from binary pip package, provide:

A link to the pip package you installed:
The output from python -c "import tensorflow; print(tensorflow.__version__)".

If installed from source, provide

The commit hash (git rev-parse HEAD)
The output of bazel version

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
What other attempted solutions have you tried?
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).

We are getting benchmark requests for tens or flow in a distributed environment. Spectrum lsf is our scheduler and tens or flow and all distributed powerai applications need to run in this environment.
Documentation on how to run with spectrum lsf should be included.

LSF is not a workflow that we have knowledge or support of. However, the first google search result for "tensor lsf" links to this stackoverflow which has a link to blog entry that is helpful for setting it up.
http://stackoverflow.com/questions/41220475/tensorflow-lsf-distributed-tensorflow-on-lsf-cluster


Add a property to allow changing the NameValueSeparator

Add a property to allow changing the CommandLineParser.NameValueSeparator from the constant ':' to another value. Eg: '='

This fix looks great, have you an ETA for pushing the package to NuGet?

This fix looks great, have you an ETA for pushing the package to NuGet?


[Bug]: Andromeda causing mod incompatibility

What happened?
I'm using the EMI mod to have a recipe/item viewer, but along with it I'm also using the Legendary Tooltips mod which makes the tooltips of the items have different styles
EMI:

Legendary Tooltips:

these tooltips appear in the inventory but in the EMI menu, tooltips are normal, without the decorations, and EMI causes this on purpose, so as not to have incompatibility problems between the 2 mods

(EMI+Legendary Tooltips, without Andromeda)

but when using with the Andromeda mod, the tooltip decorations reappear in the EMI menu, causing visual glitches

(EMI+Legendary Tooltips+Andromeda)

(no visual glitch occurred in this screenshot, but notice that the decorations are showing through)

(in this screenshot the line that should be under the name appears a little higher than it should be)

another problem that happens when using the Andromeda mod is that I'm also using the Tooltipfix mod, this mod fixes the problem of the Tooltips going off-screen, but Tooltipfix has an incompatibility with EMI, because EMI is configured so that the tooltips always appear on the left side of the mouse, and Tooltipfix ignores this, but what does Andromeda have to do with it?

Well, since Andromeda shows the decorations of the Tooltips from the Legendary Tooltips mod, it happens that the decorations often appear on the left side of the mouse (because of EMI), but the Tooltip itself appears on the right side (because of Tooltipfix)

this doesn't happen without Andromeda, because without Andromeda EMI doesn't let the Tooltip decorations be rendered.

I don't think it's relevant, but here's a bit about the incompatibility between Tooltipfix and EMI, but it has nothing to do with Andromeda - https://github.com/kyrptonaught/tooltipfix/issues/30 (but note that I commented on this Issue thinking that the problem I was experiencing was caused only by the 2 mods, but in fact you also need Andromeda installed)
I'm using Fabric 1.20.1, Fabric Loader 0.15.11, Fabric API 0.92.1
EMI 1.1.6 (latest version) https://modrinth.com/mod/emi
Legendary Tooltips 1.4.5 + dependencies (latest version) https://modrinth.com/mod/legendary-tooltips
Tooltipfix 1.1.1 (latest version)  https://modrinth.com/mod/tooltipfix
Andromeda 1.12.0 (latest version, but the same happens in previous versions)
I tried disabling Andromeda's settings for tooltips to see if I could fix it, but I didn't succeed. I imagine that because Andromeda has some functions for tooltips, it's making them always be fully rendered, even when EMI tries to hide them, but I wouldn't want to have to disable Andromeda's settings for tooltip changes, I really like being able to see the durability of the item in percentage that Andromeda offers
if it's possible to fix this I beg you to publish an update to 1.20.1, thank you
Screenshots
No response
Logs
https://mclo.gs/raEiOQj
Mod Version
1.12.0-1.20.1-build.96
Minecraft Version
1.20.1

Hi, thank you very much for this very extensive report! I believe this is an issue on iceberg's/Legendary Tooltips' side.
Iceberg has hardcoded checks for Andromeda and it switches rendering logic if it detects the mod. (Iceberg might not apply TooltipPositioner modifications to decorations, but idk)

I imagine that because Andromeda has some functions for tooltips, it's making them always be fully rendered.

This is not really true, as internally Andromeda completely disables the module. After you restart the game, no events are subscribed to and no mixins are applied.

I decompiled the mod when debugging a different issue.

I plead innocent until proven guilty. Feel free to reopen if anything changes.

To fix the problem of tooltipfix mod use adaptativetooltips instead


Fix issue with year when date order is set to YMD

fix #207

Current coverage is 94.44% (diff: 100%)

Merging #217 into master will increase coverage by 0.04%

@@             master       #217   diff @@
==========================================
  Files            30         30
  Lines          2660       2663     +3
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2511       2515     +4
+ Misses          149        148     -1
  Partials          0          0

Powered by Codecov. Last update 2fa7894...df64fef


Hex to Base64 gives wrong output

Hi!
Hex to base64 is not working properly...
Hex input: A1 23
Base64 output: 6oSj
Base64 expected output: oSM
Base64 should also be shorter on any number greater than FF because hex is base 16 and has fewer digits for writing a number down.

Hello @arapoport, I can't reproduce the issue you describe. I get the expected result back. Which browser did you use? Can you attach a screenshot of the pipe you composed? Thank you!

I am using the web-app in Firefox 67.0: https://v2.cryptii.com/hexadecimal/base64

Same in Chrome. But this webapp works as expected: https://cryptii.com/pipes/base64-to-hex

You are referring to the old version of cryptii still residing under v2.cryptii.com. The Base64 implementation has been updated significally ever since. Please use the current implementation over at https://cryptii.com/pipes/hex-to-base64. I'll add a notice to the old version to avoid confusion.

Ah, ok. Just for you to know: Google lists the old version as second match on the query "hex to base64" :-)

Indeed, I noticed that the 'Hex to base64' landing page was missing on cryptii.com and hence the older version stepped into the search results. Translation methods like Pigpen cipher and Leet speak still have no counterpart in the current version, that's why v2.cryptii.com is still available and being indexed. Thank you for the report!

No problem! And sorry for the confusion, I haven't noticed at first that there are multiple versions.


New time series charts show all data missing if one part of "contribution" is missing

When you create a time series viz with a groupby and contribution Total, if at least one of the categories is missing a value for the date, no data points for that date are shown.
This is sort of reasonable - technically, the data could be missing for the missing category, so it is not clear how to calculate contribution. However, in most cases, the missing data point corresponds to the value 0, and removing all the other data points is very confusing. In older charts (ex. line chart), contribution assumes 0 if data is missing, so we should provide some way to "fill" 0 for feature parity.
I think there are two ways

Assume 0 whenever data is missing (similar to legacy line chart)
Have users use resample to fill missing values with 0. This is not possible yet because resample doesn't work if there's a group by - the error message is: cannot reindex from a duplicate axis and occurs here

How to reproduce the bug

Go to SQL Lab
Run query:

SELECT DATE('2021-09-01') AS ds, 'hi' AS x
UNION ALL SELECT DATE('2021-09-02') AS ds, 'hi' AS x
UNION ALL SELECT DATE('2021-09-01') AS ds, 'whoa' AS x

-> explore chart
Use time series bar chart v2 viz
Group by x, metric count, contribution total
Note the missing data point for (2021-09-02, hi)

Expected results
Two bars should be shown for 09-01, one bar should be shown for 09-02
Actual results
No bars are shown for 09-02, even though there is a data point

Environment
(please complete the following information):

browser type and version: chrome
superset version: up to date with master as of 2021-10-01
python version: 3.8

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[X] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[X] I have reproduced the issue with at least the latest released version of superset.
[X] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
This is somewhat related to this issue: https://github.com/apache/superset/issues/15036

@zhaoyongjie did you get a chance to work on this?

Got it. I will ship it after monorepo project.

@zhaoyongjie Any updates on this?


Bump ginkgo to latest

resolve descrepency between ginkgo installed on dockerfile where these tests run in concourse

not sure what's up with the cla, I've used all the emails from acquistions in an attempt to try this to work


Are the scenarios in which all pods can get restarted at the same time?

What happened?
I had a cluster and wanted to change the storage class for new nodes that would be added when scaling up. This isn't possible since StatefulSets don't allow you to change the PVC template after it has been created. I circumvented this by doing the following:

Scaled cass-operator deployment down to zero
Deleted statefulsets with --cascade=orphan
Updated my CassandraDatacenter spec with the new storage class
Scale up cass-operator

It may be worth noting that my CassandraDatacenter change was applied through a custom Helm chart which also scaled up cass-operator.
When cass-operator reconciled the CassandraDatacenter, it recreated the statefulsets. All of the Cassandra pods appeared to get recreated around the same time. This resulted in some data loss that I would obviously want to avoid in the future should I need to perform similar maintenance operations. The behavior has not been observed consistently.
With respect to data loss, I am unclear at this point how it happened since cass-operator configures the Cassandra pod with a prestop lifecycle hook that should run a drain.
cass-operator creates statefulsets with podManagementPolicy: Parallel which I thought might make it possible for pods to get deleted at the same time versus in a rolling fashion. Here is what the Kubernetes docs say about Pod Management Policy:

Parallel pod management tells the StatefulSet controller to launch or terminate all Pods in parallel, and not to wait for Pods to become Running and Ready or completely terminated prior to launching or terminating another Pod. This option only affects the behavior for scaling operations. Updates are not affected.

I also understand that cass-operator creates a PodDisruptionBudget for each CassandraDatacenter whose name is of the form -pdb. The PDB only allows for a single pod to be deleted at a time. There are times where a PDB cannot or isn't enforced. This must have been one of them.
Did you expect to see something different?
If it is in fact possible for all pods to get restarted at the same time like with the scenario I described, then I would like to avoid it in order to prevent possible data loss.
If the problem stems from all of the statefulsets getting recreated at the same time, then maybe we could consider introducing a flag to let cass-operator know it should recreate the statefulsets serially such that after it creates a statefulset cass-operator waits until the pods get recreated and come back up before moving onto the next statefulset. Note that I am mostly referring to CheckRackCreation method of `ReconciliationContext.
How to reproduce it (as minimally and precisely as possible):
Environment

Cass Operator version:
v1.10.4

Kubernetes version information:
kubectl version

Kubernetes cluster kind:
insert how you created your cluster: kops, bootkube, etc.

Manifests:

insert manifests relevant to the issue

Cass Operator Logs:

insert Cass Operator logs relevant to the issue here

Anything else we need to know?:

Small note, this process isn't even possible in the default installation, as this is prevented by the admissionWebhook settings (if cass-operator is scaled down, then webhooks can't be called and the CassandraDatacenter can't be updated):
➜  testdata git:(master) ✗ kubectl edit cassdc dc2
error: cassandradatacenters.cassandra.datastax.com "dc2" could not be patched: Internal error occurred: failed calling webhook "vcassandradatacenter.kb.io": failed to call webhook: Post "https://cass-operator-webhook-service.cass-operator.svc:443/validate-cassandra-datastax-com-v1beta1-cassandradatacenter?timeout=10s": dial tcp <IP_ADDRESS>:443: connect: connection refused
You can run `kubectl replace -f /tmp/kubectl-edit-2860280588.yaml` to try this update again.
➜  testdata git:(master) ✗

Of course, one can remove the webhook and then try. That's what I did and then modified the StorageClass on the CassandraDatacenter object. And scaled back cass-operator, end result is that I can't even get a rolling restart to happen. I also added a new node to demonstrate it comes up with a different StorageClass:
➜  testdata git:(master) ✗ kubectl get all
NAME                                                    READY   STATUS    RESTARTS   AGE
pod/cass-operator-controller-manager-5c44d8f784-mk5n8   1/1     Running   0          8m48s
pod/cluster2-dc2-r1-sts-0                               2/2     Running   0          28m
pod/cluster2-dc2-r1-sts-1                               2/2     Running   0          28m
pod/cluster2-dc2-r1-sts-2                               2/2     Running   0          28m
pod/cluster2-dc2-r1-sts-3                               2/2     Running   0          28m
pod/cluster2-dc2-r1-sts-4                               2/2     Running   0          28m
pod/cluster2-dc2-r1-sts-5                               2/2     Running   0          2m21s

NAME                                           TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)                                        AGE
service/cass-operator-webhook-service          ClusterIP   <IP_ADDRESS>   <none>        443/TCP                                        47m
service/cluster2-dc2-additional-seed-service   ClusterIP   None           <none>        <none>                                         28m
service/cluster2-dc2-all-pods-service          ClusterIP   None           <none>        9042/TCP,8080/TCP,9103/TCP                     28m
service/cluster2-dc2-service                   ClusterIP   None           <none>        9042/TCP,9142/TCP,8080/TCP,9103/TCP,9160/TCP   28m
service/cluster2-seed-service                  ClusterIP   None           <none>        <none>                                         28m

NAME                                               READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/cass-operator-controller-manager   1/1     1            1           47m

NAME                                                          DESIRED   CURRENT   READY   AGE
replicaset.apps/cass-operator-controller-manager-5c44d8f784   1         1         1       47m

NAME                                   READY   AGE
statefulset.apps/cluster2-dc2-r1-sts   6/6     8m31s
➜  testdata git:(master) ✗ kubectl get pvc
NAME                                STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS      AGE
server-data-cluster2-dc2-r1-sts-0   Bound    pvc-6e3f590a-d408-49d0-bd30-6a52281ed351   1Gi        RWO            standard          29m
server-data-cluster2-dc2-r1-sts-1   Bound    pvc-ffcb4cfd-ac34-4670-8747-9aa785efcd3a   1Gi        RWO            standard          29m
server-data-cluster2-dc2-r1-sts-2   Bound    pvc-97f73558-3375-442e-bb96-450f482af67f   1Gi        RWO            standard          29m
server-data-cluster2-dc2-r1-sts-3   Bound    pvc-ed3a55af-66a6-476a-90ff-082dfa332765   1Gi        RWO            standard          29m
server-data-cluster2-dc2-r1-sts-4   Bound    pvc-629a781f-1cd1-444d-b013-82e9fea846de   1Gi        RWO            standard          29m
server-data-cluster2-dc2-r1-sts-5   Bound    pvc-38a3efe3-efe5-4b51-8c85-7bd0e683d900   1Gi        RWO            standard-retain   3m12s
➜  testdata git:(master) ✗

The only way I could get them all to terminate at once (and restart at once) is by omitting the --cascade=orphan

cass-operator creates statefulsets with podManagementPolicy: Parallel which I thought might make it possible for pods to get deleted at the same time versus in a rolling fashion.

This has no impact, but setting it to OrderedReady would slow down scaling a new cluster (since there would be no new pods with management-api started).

If the problem stems from all of the statefulsets getting recreated at the same time, then maybe we could consider introducing a flag to let cass-operator know it should recreate the statefulsets serially such that after it creates a statefulset cass-operator waits until the pods get recreated and come back up before moving onto the next statefulset

This isn't the problem and would not help. Also, changing that behavior would break balanced racks, with cass-operator first starting all the nodes in a single rack until moving to next ones. That causes its own issues with seed placements. Definitely not something we want as the default.

@burmanm I found out yesterday that the cluster where this happened was running cass-operator v1.4.0. I previously assumed it was running v1.10.x. Can you test again with v1.4.0 and Kubernetes 1.13 or 1.14?

Why would we spend time investigating 1.4.0? If it has a bug or not won't matter to anything. That said, I don't think 1.4.0 has drain prestop autoconfigured, that's supposed to be done by whoever deploys the CassDc yaml.

As you pointed out the drain prestop was added in 1.5.0. I can close this. Thanks for investigating.


CMake configure based OpenImageIO

@jstone-lucasfilm and @lgritz:
Accidentally deleted the previous PR after sync fork, sorry. Here is a fresh one with all changes. Kept the "plain" signature for target_link_libraries, need to change the previous target_link_libraries (33) to use keywords for targets MaterialXGenShader + ${CMAKE_DL_LIBS}, ok?
Deleted FindOpenImageIO.cmake + cleaned up a few of the non used variables, also fixed the deprecated call to read_image to include subimage and miplevel (2.0).

@mikaelsundell Since we're aiming to include this proposal in MaterialX 1.39, would you mind making this a pull request for the dev_1.39 branch where active development on that version of MaterialX is ongoing?

Yes! Will have it fixed in a day or two from now.

Now pushed as #1734


Tests should demonstrate testing other events.

The default events for showOn are mouseenter and  focus.
The default events for hideOn are mouseleave and blur.
The tests only demonstrate showOn and hideOn for click.

Consolidated testing support into one mega issue at #40


Development setup

How do I set it up in an existing React app for local development?

yarn add @takingitglobal/a11ize or npm install depending on which package manager you're using.
Then you simply import A11yWrapper and wrap whatever components you'd want to be accessible with the A11yWrapper component.
Generally you'd just put the A11yWrapper over the entire app

I'm able to install it as described in the README. I meant set it up to fix bugs or add new features, then publish the changes locally and test them in an existing React app.
So far I've only been able to run the storybooks scripts after installing react & react-dom as dev dependencies directly in the source folder, when I was updating the translations.

Oh I see what you mean - if you clone the repo and run yarn install to install all the dependencies, you should then be able to build a11ize using webpack, or start up a storybook server to demo with

The storybook is essentially the React app (see A11yWrapper.stories.js) in components and you can test any changes you make there

The storybook server should do; I'm able to make some changes and see them right away. Thanks.


fix test.go path error. fixes #5 #8

Use local ./ssdb path will make go get failed:
go get -v -u github.com/ssdb/gossdb
github.com/ssdb/gossdb (download)
package _/Users/fannheyward/src/github.com/ssdb/gossdb/ssdb: cannot find package "_/Users/fannheyward/src/github.com/ssdb/gossdb/ssdb" in any of:
	/usr/local/Cellar/go/1.8.3/libexec/src/_/Users/fannheyward/src/github.com/ssdb/gossdb/ssdb (from $GOROOT)
	/Users/fannheyward/src/_/Users/fannheyward/src/github.com/ssdb/gossdb/ssdb (from $GOPATH)

What version of Go are you using? It works for me.

Your pull request will cause test.go not working in the right way. Maybe there is some way to force go get to ignore includes, you should find it out.


ui-switch malfunctions if on/off payloads are strings

To replicate, import the attached flow and then:

Click the 'on' and 'off' injects while watching the dashboard UI, the switch correctly switches on and off
Click the 'on' and 'off' injects while watching the node's status in the editor.  The node only shows 'on'.
Click the off inject to get to the state where the UI shows the switch 'off', but the status shows 'on'.
Now click the switch in the UI.  The node should send an 'on' message, but in fact sends an 'off', presumably due to the fact that the internal state is incorrect.

[{"id":"110215ae25dce479","type":"inject","z":"b7344d235f3e066e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"on","payloadType":"str","x":210,"y":780,"wires":[["2af9e1f4faedb5e5"]]},{"id":"2af9e1f4faedb5e5","type":"ui-switch","z":"b7344d235f3e066e","name":"Test switch alpha values","label":"Test switch alpha","group":"ec06ac72ac8562eb","order":0,"width":0,"height":0,"passthru":false,"topic":"topic","topicType":"msg","style":"","className":"","onvalue":"on","onvalueType":"str","onicon":"","oncolor":"","offvalue":"off","offvalueType":"str","officon":"","offcolor":"","x":470,"y":820,"wires":[["ffe6f81a81da5d34"]]},{"id":"7595adbe1da58d19","type":"inject","z":"b7344d235f3e066e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"off","payloadType":"str","x":210,"y":840,"wires":[["2af9e1f4faedb5e5"]]},{"id":"ffe6f81a81da5d34","type":"debug","z":"b7344d235f3e066e","name":"debug 26","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":670,"y":820,"wires":[]},{"id":"ec06ac72ac8562eb","type":"ui-group","name":"test","page":"46dfd140ddb08ebf","width":"6","height":"1","order":-1,"disp":false},{"id":"46dfd140ddb08ebf","type":"ui-page","name":"Test","ui":"04ee189a49c54f22","path":"/","layout":"grid","theme":"23aa79f4e489b044","order":-1},{"id":"04ee189a49c54f22","type":"ui-base","name":"Dashboard","path":"/dashboard"},{"id":"23aa79f4e489b044","type":"ui-theme","name":"Theme 1","colors":{"surface":"#ffffff","primary":"#514fba","bgPage":"#eeeeee","groupBg":"#ffffff","groupOutline":"#cccccc"}}]

Can only partly reproduce this.

Click the 'on' and 'off' injects while watching the node's status in the editor. The node only shows 'on'.

This I can reproduce, and will fix now.

Now click the switch in the UI. The node should send an 'on' message, but in fact sends an 'off', presumably due to the fact that the internal state is incorrect.

This I do not see currently, I receive the payload I would expect each time, although I will investigate further once I fix 2.

With 2. it seems to only get out of sync when receiving msg inputs, rather than interaction via the Dashboard itself.

Something like point 4 is still not right, I have started a new issue for it, #457


TypeError: Cannot read properties of undefined (reading 'toString')

I ran mpa https://blog.nootch.net and got
file:///home/sardaukar/.asdf/installs/nodejs/20.5.0/lib/node_modules/mpa-archive/src/archive.js:239
			body = body.toString().replaceAll(origin, '')
			            ^

TypeError: Cannot read properties of undefined (reading 'toString')
    at onFile (file:///home/sardaukar/.asdf/installs/nodejs/20.5.0/lib/node_modules/mpa-archive/src/archive.js:239:16)
    at fetchURL (file:///home/sardaukar/.asdf/installs/nodejs/20.5.0/lib/node_modules/mpa-archive/src/archive.js:319:2)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

What am I doing wrong?

Is that always reproducible? I cannot reproduce with node v21.6.2

I see the error consistently on 20.5.0 (Linux) and 21.6.2 too:
🔗 https://blog.nootch.net/tags/security/index.xml
✔  https://blog.nootch.net/tags/security/index.xml
🔗 https://googleads.g.doubleclick.net/pagead/id
🛑  https://googleads.g.doubleclick.net/pagead/id
file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/src/archive.js:239
			body = body.toString().replaceAll(origin, '')
			            ^

TypeError: Cannot read properties of undefined (reading 'toString')
    at onFile (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/src/archive.js:239:16)
    at fetchURL (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/src/archive.js:319:2)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v21.6.2

More on the second run:
✔  https://blog.nootch.net/page/4/
🧭 https://blog.nootch.net/img/post/amiga-bbs-online-2019/Zeus_BBS_RELEASE_1.7.lha
🧭 about:blank
🧭 https://blog.nootch.net/img/post/amiga-bbs-online-2019/Zeus.key
🧭 about:blank
🛑  https://blog.nootch.net/img/post/amiga-bbs-online-2019/Zeus_BBS_RELEASE_1.7.lha
Error: net::ERR_ABORTED at https://blog.nootch.net/img/post/amiga-bbs-online-2019/Zeus_BBS_RELEASE_1.7.lha
    at navigate (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:175:27)
    at async Deferred.race (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js:33:20)
    at async CdpFrame.goto (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:141:25)
    at async CdpPage.goto (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js:561:20)
🍳 https://blog.nootch.net/post/page/4/
🛑  https://blog.nootch.net/img/post/amiga-bbs-online-2019/Zeus.key
Error: net::ERR_ABORTED at https://blog.nootch.net/img/post/amiga-bbs-online-2019/Zeus.key
    at navigate (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:175:27)
    at async Deferred.race (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/node_modules/puppeteer-core/lib/esm/puppeteer/util/Deferred.js:33:20)
    at async CdpFrame.goto (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/Frame.js:141:25)
    at async CdpPage.goto (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/node_modules/puppeteer-core/lib/esm/puppeteer/api/Page.js:561:20)
🔗 https://blog.nootch.net/tags/docker/index.xml
✔  https://blog.nootch.net/post/page/4/
✔  https://blog.nootch.net/tags/docker/index.xml
🍳 https://blog.nootch.net/page/5/
✔  https://blog.nootch.net/page/5/
🧭 https://blog.nootch.net/post/recently-ive-been-mostly-reading/teropa.info/blog/2…
🧭 https://blog.nootch.net/post/lto-drive-in-2018/Linear%20Tape-Open
🔗 https://blog.nootch.net/tags/networking/index.xml
🧭 https://blog.nootch.net/post/recently-2019-feb-24/2013
🔗 https://blog.nootch.net/tags/security/index.xml
🧭 https://blog.nootch.net/page/3/
🧭 https://blog.nootch.net/post/page/3/
🔗 https://googleads.g.doubleclick.net/pagead/id
✔  https://blog.nootch.net/tags/networking/index.xml
🔗 https://static.doubleclick.net/instream/ad_status.js
✔  https://blog.nootch.net/tags/security/index.xml
🔗 https://blog.nootch.net/tags/firefox/index.xml
🛑  https://googleads.g.doubleclick.net/pagead/id
file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/src/archive.js:239
			body = body.toString().replaceAll(origin, '')
			            ^

TypeError: Cannot read properties of undefined (reading 'toString')
    at onFile (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/src/archive.js:239:16)
    at fetchURL (file:///home/sardaukar/.asdf/installs/nodejs/21.6.2/lib/node_modules/mpa-archive/src/archive.js:319:2)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v21.6.2

Thanks for bringing attention to this issue! The problems have been fixed.
I have added a domain blacklist to avoid saving/fetching pages from domains like googleads.g.doubleclick.net, which gets rid of the first error.
The other errors such  Error: net::ERR_ABORTED seem to be caused by file downloads, downloads are canceled and not saved. When an error triggered by crawling(opening a tab) happens, it will retry but via fetch which will save the desired file in the zip file. I couldn't figure out how to stream the download to the zip, but a fetch request works. The error will still show up, but the file is successfully downloaded.
🛑  https://blog.nootch.net/img/post/amiga-bbs-online-2019/Zeus.key
Error: net::ERR_ABORTED at https://blog.nootch.net/img/post/amiga-bbs-online-2019/Zeus.key

Please note that I do not want to completely silent this error because we may discover other edge cases. The site seems to be achievable, so I consider this issue done.


client have not internet access after reboot

Dear sir
I installed OpenVPN server on centos by your script and default configuration
and i tested it with default account that produced in setup procedure and it worked without a problem
but after server reboot connection performed but I have no internet behind it
in same time I have internet access and DNS on my server but I have not access on my client and on ping it prompt me request time out, what should i do?

problem is for openvpn-iptables services
I added these lines on the end of rc.local
sleep 120
service openvpn-iptables restart
service openvpn-server@server restart

the problem is occurred because of failure of openvpn-iptables.service
the error is:
Process: 1579 ExecStop=/sbin/iptables -t nat -D POSTROUTING -s <IP_ADDRESS>/24 ! -d <IP_ADDRESS>/24 -j SNAT --to <IP_ADDRESS> (code=exited, status=1/FAILURE)

Check your system logs

CentOS usually has firewalld enabled, but it wasn't in your system because the service got installed apparently.
Anyway, script would also work using the iptables service if firewalld is not available but yeah, you would need to see why iptables is failing.

Dear sir
thank you for your answer
I solved the problem by restarting service multiple times in rc.local with
60-second interval
but I think it's because of iptables not work properly because one or more
services not started on time of starting your services
with best regards
On Thu, Nov 28, 2019 at 7:15 PM Nyr<EMAIL_ADDRESS>wrote:

Closed #685 https://github.com/Nyr/openvpn-install/issues/685.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Nyr/openvpn-install/issues/685?email_source=notifications&email_token=AJ5HKJH4Z5X26BRT2HG4J3TQV7RQ5A5CNFSM4JR2E3F2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVE6VSEY#event-2839370003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ5HKJBJ3JLDVQMS6IININ3QV7RQ5ANCNFSM4JR2E3FQ
.

Well, the service is started Before=network.target which is where it should be started in my opinion. Maybe your system is starting something after that which is overriding the rules set by the service, but as far as I know, we're doing it right.

Thank you for your reply
another problem that i have is if i want to reset my server os or move to
another server, how can i backup user accounts and how can i restore them
on the target?
On Wed, Dec 4, 2019 at 7:59 PM Nyr<EMAIL_ADDRESS>wrote:

Well, the service is started Before=network.target which is where it
should be started in my opinion. Maybe your system is starting something
after that which is overriding the rules set by the service, but as far as
I know, we're doing it right.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Nyr/openvpn-install/issues/685?email_source=notifications&email_token=AJ5HKJE7CVYQAUFEPD6J6C3QW7LFPA5CNFSM4JR2E3F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF5TMEY#issuecomment-561722899,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ5HKJCAGK7JS4W3G4PB563QW7LFPANCNFSM4JR2E3FQ
.

That would imply using a domain so users don't have to reconfigure the IP address, backing up the contents of /etc/openvpn/server and restoring the iptables/firewalld configuration.


In development

looks good enough to merge first release, asuracomic requires much refactoring because it uses puppeteer for no reason


Sort bash completions in dir nesting order

Currently completions are ordered alphabetically. Would be nice if there were an option to sort them in the order in which they appear in the path -- so if current working dir is /home/user/Desktop/stuff/, then autocomplete would go:
$ bd <tab-key><tab-key>
home user Desktop

Not sure how to handle duplicates (e.g. if working dir is /home/user/Desktop/user/stuff)

This turns out to be pretty trivial. In the bash-completion file, just add -o nosort:
_bd()
{
    ...
}
complete -o nosort -F _bd bd

Duplicate entries are simply shown more than once in the list -- which is fine with me.


Added a simple mill wrapper script (sh)

See also https://github.com/lihaoyi/mill/issues/476

I created a dedicated project for the wrapper, as the wrapped should be in general decoupled from the current mill version and also already supports older mill versions.
https://github.com/lefou/millw


🐛 Rewrite MachineDeployment/MachineSet tests in m3machinemanager

What this PR does / why we need it:
Rewrites nodeReuse related MachineDeployment/MachineSet tests in m3machinemanager

/test-v1b1-integration

/assign

@macaptain thanks a lot for the review, addressed your comments and answers to questions.

/test-v1b1-integration

/lgtm Since it was reviewed before.

/test-v1b1-integration

/lgtm


Introduces Caching to the GetUserCollectionsEndpoint

Summary
Introducing Caching to the GetUserCollectionsEndpoint.
Simply taking the relevant JSON output from the getCollections method when called without caching parameters and storing this data into Brainspell DB. Force updates can be called by setting caching parameter = 0 and cached data is read using Caching parameter = 1.
Test Plan

Loaded brainspell-neo-frontend and set get-user-collections endpoint to: axios.get(http://localhost:5000/json/v2/get-user-collections?key=${key}&github_token=${token}&contributors=0&cache=1)
Has to be run initially with Cache parameter set to False to update Brainspell DB and then pulls from DB on subsequent runs. Further verified heroku build still functions as before with update.

Maybe it should fall back on pulling from Github if it's not in Brainspell's database - is that the plan?

It's currently just checking for a force retrieve. We could have it default to Github if the users brainspell-db collections are empty, but we don't really know if the User has no github collections to begin with (I feel like it may be better validation to do client side).

Looks good to me!


Fixes #163. QTKit dependency removed from OSX deps

Related WebRTC bug: https://bugs.chromium.org/p/webrtc/issues/detail?id=3968

Verified WebRTC itself has been updated to deprecate QTKit for newer versions here: https://review.webrtc.org/52679004/patch/120001/130012


Clean up unused and remove redundant metrics

This PR cleans up all the unused metrics and removes redundant metrics.
e.g. PINOT_CONTROLLER_PARTITION_LEADER can be removed because it can be replaced by getting the value of CONTROLLER_LEADER_PARTITION_COUNT plus calling the controller leader API.
Other metrics like CONTROLLER_INTERNAL_ERROR even get used in the code at all.

Codecov Report

Merging #4710 into master will increase coverage by 6.95%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #4710      +/-   ##
============================================
+ Coverage     57.86%   64.82%   +6.95%
  Complexity       16       16
============================================
  Files          1213     1061     -152
  Lines         65116    56607    -8509
  Branches       9483     8414    -1069
============================================
- Hits          37682    36697     -985
+ Misses        24581    17188    -7393
+ Partials       2853     2722     -131

Impacted Files
Coverage Δ
Complexity Δ

...a/org/apache/pinot/common/metrics/ServerGauge.java
95.45% <ø> (-0.55%)
0 <0> (ø)

...apache/pinot/controller/LeadControllerManager.java
74.48% <ø> (-0.52%)
0 <0> (ø)

...g/apache/pinot/common/metrics/ControllerGauge.java
96.15% <ø> (-0.4%)
0 <0> (ø)

...a/org/apache/pinot/common/metrics/BrokerMeter.java
100% <ø> (ø)
0 <0> (ø)
:arrow_down:

...g/apache/pinot/common/metrics/ControllerMeter.java
100% <ø> (ø)
0 <0> (ø)
:arrow_down:

...pinot/broker/api/resources/PinotClientRequest.java
23.8% <0%> (-19.05%)
0 <0> (ø)

...er/validation/BrokerResourceValidationManager.java
25% <0%> (-56.25%)
0% <0%> (ø)

.../org/apache/pinot/client/PinotClientException.java
33.33% <0%> (-33.34%)
0% <0%> (ø)

...he/pinot/core/query/pruner/ValidSegmentPruner.java
57.14% <0%> (-28.58%)
0% <0%> (ø)

...egation/function/customobject/MinMaxRangePair.java
75.86% <0%> (-24.14%)
0% <0%> (ø)

... and 184 more

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 4f997af...1b4f8c2. Read the comment docs.


Can we use mongoDB for installation_store for slack token rotation

As per https://github.com/slackapi/python-slack-sdk/tree/main/slack_sdk/oauth/installation_store , it's only recommended to use sqlalchemy and sqllite. Can we use mongoDB to store/rotate token ? if yes can we have sample code for that ?

Hi @maariselvamm, thanks for writing in.

Can we use mongoDB to store/rotate token ? if yes can we have sample code for that ?

Yes, you can. There is no blocker to use MongoDB. However, unfortunately we don't have a complete example code demonstrating how to use MongoDB at this moment. Also, we don't have the bandwidth to provide the MongoDB official support in the short term.
If you need to use MongoDB, please consider implementing your own InstallationStore implementation that meets the minimum requirements. It should not take long.
I know that this is not an ideal answer for you but I hope this was helpful to you.

Thanks for the response.


Web UI displays "All 0 control plane nodes Ready" during cluster creation

Closing this as irrelevant.


Is this a bug?

Operating system or device - Godot version:
Godot version 2.1.2 Linux XUbuntu 16.04.1
Issue description:

Hi, I'm getting an suspicious behavior in a sub scene. Description:
When add an new scene named Barrier (an StaticBody2D with a sub child collision shape being a RectangleShape2D) it doesn't collide properly like it should. For example, if the player enter the Barrier shape in the right or the left or down side, the collision doesn't work. But, if the player enter by the top side of shape, so it collide with shape and the behavior is a collision. This kind of behavior of my Barrier with player it's like an One-way-platform, but I want that Barrier with full side collision.
I've try load my Barrier.tscn in other new project test, and... it works! Only in my main project do not.
For this, I suspected be a bug.
Steps to reproduce:
I don't know the exactly steps, but it occurs in my project only.
Link to minimal example project:
If you want my project to give a try, download here:
https://www.dropbox.com/s/cz283ewraqcbwok/MeuPlatformer.tar.gz?dl=0

You have set the one way collision on the vuxbody.gd script, on ready

hum, ok, please, can you give the number line? I've tried fix this error but I can't see trough my certainties. It's the first time learn godot

@sam-leo line 235 of vuxbody.gd, the collision direction is set to (0,1)

@eon-s you are foda! (foda in pt_BR is like badass in English hehe)
Thank you man


what is the use of 'valid.txt'?

Thanks for the repo！
It seems you don't have validation step in training loop and I can only assume that you have tuned the train_steps so the models won't overfit when training on those corpora memtioned in your paper, right?
But what if I want to train on my own corpus? Do this mean I need to write validation code myself？
Burce

I have the same question. I think the authors have some criteria to judge whether the training process should be stopped, but I cannot find in the code.


Maximum tcp client connection number does not increase. (IDFGH-2840)

A tcp server is established in Esp32(station mode).
I accept the clients with the code below.
        int sock = accept(listen_sock, (struct sockaddr *)&source_addr, &addr_len);
        if (sock < 0) {
            ESP_LOGE(TAG, "Unable to accept connection: errno %d", errno);
            break;
        }

When 20 tcp clients send requests to connect at the same time, 9 can connect. But in my system, 1000 clients on the field will have to connect to the esp32 server at the same time.
Although I made "Maximum active TCP Connections" and "Maximum listening TCP Connections" 1000 in Menuconfig(LWIP->TCP), the number of connections did not change.
Only when I changed the "Max number of open sockets" in menuconfig, I was able to increase the number of connections.
Esp32 will be connected to the network in "station" mode and create tcp server. The other 1000 esp32 will connect to this as client.
Is it possible?How should I set tcp server, if possible?

hi @TarikAkyuz
Do you want to establish a 1000 socket connection on a device?
In menuconfig  ,The upper limit of socket is 16.
because sockets take up a certain amount of memory, and allowing fewer
sockets to be open at the same time conserves memory. Specify
the maximum amount of sockets here. The valid value is from 1 to 16.

hi @TarikAkyuz
Do you have any questions about this problem? I will close this problem. If yes, please reopen it

@TarikAkyuz Thanks for reporting. Will close due to short of feedback, feel free to reopen if any more updates. Thanks.


How to hide gridlines

Hi,
Thanks for your efforts and time!
I've been trying to hide gridlines on area chart tried to set :grid="null" set dataKey etc. but they didn't work either.
<v-axis :dataKey="value" :grid="null" :show="false"/>

This is what I have

This is what I've been trying to achieve

What is the proper way to hide gridlines, went through docs but was unable to find clean answers.
Thanks.

try
<template>
  <div>
    <v-chart :forceFit="true" :height="height" :data="data" :scale="scale">
      <v-tooltip />
      <v-axis dataKey="value" :grid="grid"/>
      <v-line position="year*value" />
      <v-point position="year*value" shape="circle" />
    </v-chart>
  </div>
</template>

<script>
const data = [
  { year: '1991', value: 3 },
  { year: '1992', value: 4 },
  { year: '1993', value: 3.5 },
  { year: '1994', value: 5 },
  { year: '1995', value: 4.9 },
  { year: '1996', value: 6 },
  { year: '1997', value: 7 },
  { year: '1998', value: 9 },
  { year: '1999', value: 13 },
];

const scale = [{
  dataKey: 'value',
  min: 0,
},{
  dataKey: 'year',
  min: 0,
  max: 1,
}];

export default {
  data() {
    return {
      grid: null,
      data,
      scale,
      height: 400,
    };
  }
};
</script>


site.yaml routes not working

The routes defined in site.yaml seems to be ignored or not working.
e.g.
//localhost/grav/en-US/something/en-US/else
should be routed to
//localhost/grav/en-US/something/else
through the following block in /user/config/site.yaml
routes:
  /something/en-US/(.*): '/something/$1'

Configuration via admin plugin and without regex didn't worked either.
Defining the default route in the page front matter works perfectly.

As explained in http://learn.getgrav.org/content/routing#route-aliases routes do not actually redirect the user to the provided page, it simply displays the page when you request the alias.
Before trying to replicate, is this something that you know already?

Yes I know, but when I request the defined alias I get an Error 404.
This is not the case when defining the default route in the page front matter.
Furthermore links to the page created by grav should use the alias instead of the real url, right? This is not the case.

This could be related the multi-language nature of your site.  Rather than me spending ages trying to replicate it, can you simply zip up your site (or a smaller test site) that exhibits this problem and give the URL so I can download it and see the problem in action?

As requested, here is a lite version of my project.
grav-test.zip
I left only a few pages in the project. Within the remaining pages the events page is the interessting one.

After disabling the countryswitcher plugin, i get the test site running.
Then i setup a redirect in the site.yaml as you described:
redirects:
  '/something/en-US/(.*)': '/something/$1'

And then I pointed my browser to: http://localhost/grav/en-US/something/en-US/else
and it was correctly redirected to: http://localhost/grav/en-US/something/else
However, there is no page here, so that resulted in an Error 404.
Also, you were putting these in the routes section and as such was also resulting in a 404 error for the same reason.
I then created a folder at /02.something/else and put a simple page static.html.twig with the following content:
---
title: Something else
---

# Something Else

Then the redirect work.  Now i could see the redirect working, I removed the redirect, and put it back into the routes:
routes:
    '/something/en-US/(.*)': '/something/$1'

And it worked still.  The /something/else pages was found even when requesting /en-US/something/en-US/else
So, I think it's more likely it's just a bug in your content more than anything else.

First thank you for your time and tests. But I think you tested the wrong page.
Sure, in my initial comment I wrote something about  //localhost/grav/en-US/something/en-US/else but this was just an abstract example to show the problem, this path and never exists in my site.
Let me translate this example to the package I provided:
As I pointet out my last comment, the '/events/' page is the interesting one.
There are pages for each language and some language folders de, de-AT and `de-CH'.
Each page is a blog with content from the corresponding language folder, e.g. in /events/de-CH/ are two sub folders cats and dogs resulting in two blog posts cats and dogs.
So the cats page url is http://localhost/grav/de-CH/events/de-CH/cats.
Now the Problem:
To get rid of the language folder I created the following route in sites.yaml:
'/events/de-CH/(.*)': /events/$1
Now the page should be requestable through http://localhost/grav/de-CH/events/cats, but this request results in an Error 404.

If you're using routes you're doing it backwards:
  /events/(.*): '/events/de-CH/$1'

NOT
'/events/de-CH/(.*)': /events/$1

Here's an example: http://learn.getgrav.org/basics/grav-configuration#site-configuration
Redirects on the other hand work backwards, first the old url, then the new one. Like @rhukster suggested.
Anyway there is an easier way to get this blog multilanguage thing, and is
03.events
  -> blog.de.md
  -> blog.de-CH.md
  -> blog.de-AT.md
  -> 01.cats
     ....

And provide a translation for each blog post in its own md file. If a language has no translation, creata a page file for it and add visible: false

Thank you, the routes are working now.
But I have one more question: Routes defined in site.yaml won't affect the page.url, unlike the default route defined in the page front matter, right?
I know that there is an easier way to get this blog working, but with 15+ languages with different content this way is a bit confusing in the backend.
And again, thank you very much for your help and patience.

OK, I've tested a bit and it seems I've misunderstood the whole routes thing.
I thought I could define routes in site.yaml and achieve the same behavior as defining the default route in the page front matter without definging the default route for each page. But this seems not to be the case.
Defining the routes in site.yaml like
routes:
    /events/(.*): '/events/de-CH/$1'

results in: each page requested by [language]/events/[event] will show the content of the folder defined by the first route, e.g.  /de-AT/events/cats would show the content of the folder /events/de-CH/cats/ instead of /events/de-AT/cats/.
So, is there a way to achieve the same behavior as defining the default route for each page without defining the default route for each page? Hopefully it's somewhat understandable...
Thanks, again.

There really isn't.  Like I said before, the routes defined in site.yaml are used when a page is not found.  This is sort of a last-resort type scenario that Grav tries before giving up and throwing a page-not-found exception.
I think you should look into doing this with webserver rewrites if you don't want to go through the trouble of adding alternative routes per-page.

It's a pity, however many thanks for your time and advice.


Update workbooks.md

@yairzarka
This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide.
We'll merge this PR, but would you make future content updates in the private repo? Thank you!


Anime on Demand: No files found for series with sub and dub

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.07.07. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.
[x ] I've verified and I assure that I'm running youtube-dl 2016.07.07
Before submitting an issue make sure you have:
[x ] At least skimmed through README and most notably FAQ and BUGS sections
[x ] Searched the bugtracker for similar issues including closed ones
What is the purpose of your issue?
[X]Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new      site)
 [ ]Feature request (request for a new functionality)
 [ ]Question
 [ ]Other
Hello, when i try to download a not-subtitle-only series from Anime on Demand, youtube-dl can not find the streams.
I have used the newest youtube-dl version.
youtube-dl https://www.anime-on-demand.de/anime/185 -u xxx -p xxx -f best
[AnimeOnDemand] Downloading login page
[AnimeOnDemand] Logging in as xxx
[AnimeOnDemand] 185: Downloading webpage
[download] Downloading playlist: Tekken - Blood Vengeance
[AnimeOnDemand] playlist Tekken - Blood Vengeance: Collected 0 video ids (downloading 0 of them)
[download] Finished downloading playlist: Tekken - Blood Vengeance

and when I use this commandline
youtube-dl https://www.anime-on-demand.de/anime/185 -u xxx -p xxx -f best -v -g
youtube-dl https://www.anime-on-demand.de/anime/185 -u xxx -p xxx -f best -v -g
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['https://www.anime-on-demand.de/anime/185', '-u', 'PRIVATE', '-p', 'PRIVATE', '-f', 'best', '-v', '-g']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.07.07
[debug] Python version 3.4.4 - Windows-10-10.0.10586
[debug] exe versions: none
[debug] Proxy map: {}

break it off here
The solution to the problem to fix this https://github.com/rg3/youtube-dl/commit/8c97e7efb6ab273f0b7c91f0aa9ac6869c911bf1
not working with this video.
Regards

For any further investigations you have to provide credentials of account capable to access the video.


Fix Cryptol number syntax, add module keywords.

Two minor changes. Firstly, the regex for Cryptol numbers with base specifiers (0x01, 0b0101 etc) need to use lower-case letters. Secondly, this adds the new module system keywords added in Cryptol 2.

Thank you kindly!


istio_ca causes latency/5xx problems

We have seen an interesting problem in our Kubernetes cluster where there are periodic errors and latency increases hourly.  This behavior seems to be caused by the istio-ca pod.  When it attempts to renew the self-signed certificates in the cluster (presumably), it causes both our application Pods and the Istio Ingress to display high latency and 5xx responses.   Please let me know if there are any details that would be helpful with diagnosing this issue.

Just a follow-up, we disabled the istio-ca pods in our cluster and have seen the periodic failures disappear.

This is a pretty big blocker in terms of allowing use of the istio-ca component in our cluster.  I'd be interested if this has been reported by anyone else.

@kdillane , is your question solved?

My question is answered.  However, it sounds like there is still work to fix the Envoy restart issue, correct?  Is there an open issue to solve the Envoy restart issue when mutual TLS is enabled?

Yes, we are actively working on the SDS API work, i.e., key/cert will be delivered via API instead of file read. In that case, we won't need envoy restart thing. https://github.com/istio/istio/issues/5891 Close this one for now.


add instructions on using SN_PORT env variable

Clarify docker setup based on feedback from issue:  #204

Clarify instructions for installing on Docker


Not found: type RefinedTypeOps

Describe the bug
Scala environment: JVM/Scala.JS/ScalaNative
Scala version: 3.3.0
Iron version: 2.1.0
Reproduction steps
Scastie
import io.github.iltotore.iron.*
import io.github.iltotore.iron.constraint.numeric.Positive

opaque type Temperature = Double :| Positive
object Temperature extends RefinedTypeOps[Temperature]

Expected behavior
The code compiles and behaves as per documentation.
Current behavior
Compiler error
Not found: type RefinedTypeOps

Hi.
Funnily enough, the same question has been posted today.
The static documentation (/docs/... page) is synchronized with the main branch, not the current release. RefinedTypeOps is a feature of the next version, not released yet.
If you want to try RefinedTypeOps now, you should pick a nightly version. The latest nightly is 2.1.0-3-69fb90-SNAPSHOT.
I will close this issue. If you think I misunderstood something, feel free to open another one.

Thanks for the quick turnaround.


Shade okapi-relational and relocate transitive dependencies

@tobias-johansson could you do a sanity check? Also, is there a possibility to run the allJar task during [dev]Publish just for the okapi-relational-shade module?

@s1ck How to generate the maven pom file? I want to confirm that this fat jar doesn't have any runtime dependencies.

Saw some instructions here: http://imperceptiblethoughts.com/how-to-shadow/#39. Could you give it a try and update the PR? Thanks!

@s1ck How to generate the maven pom file? I want to confirm that this fat jar doesn't have any runtime dependencies.

./gradlew devPublish generates the maven artifacts and installs them locally. The pom file is located in okapi-relational-shade/build/publications/dev

@s1ck We need to correct the published pom file. It shouldn't claim any dependencies except Scala:
  <dependencies>
    <dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala-library</artifactId>
      <version>2.12.8</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala-reflect</artifactId>
      <version>2.12.8</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala-compiler</artifactId>
      <version>2.12.8</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-api</artifactId>
      <version>2.11.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.logging.log4j</groupId>
      <artifactId>log4j-api-scala_2.12</artifactId>
      <version>11.0</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.opencypher</groupId>
      <artifactId>okapi-relational</artifactId>
      <version>0.3.3-SNAPSHOT</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>

@mengxr Why is the pom a problem? Those dependencies should never be resolved beyond the shaded jar.
In this case, since there is no non-shaded jar produced for this module, we can generate the pom based on the shadow configuration instead. This would give us the "dependency-reduced pom", and we can publish that. I don't think it's necessary, but it also wouldn't be a problem, to make that change.

When you publish okapi-shade to maven central with a pom that still claims okapi-relational and other packages as dependencies. User program will download both okapi-shade jar and okapi-relational and all its transitive dependencies, against the purpose of shading.

@mengxr That depends on how the dependency is resolved--it can be perfectly fine to have those in the pom, and still resolve them from within the shaded jar.
In any case, I changed it to generate a dependency-reduced pom:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.opencypher</groupId>
  <artifactId>okapi-shade</artifactId>
  <version>0.3.4-SNAPSHOT</version>
  <name>Okapi Shade contains the full Okapi stack and its relocated dependencies</name>
  <description>Okapi Shade contains the full Okapi stack and its relocated dependencies</description>
  <url>https://www.opencypher.org</url>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>morpheus</id>
      <name>The Morpheus team</name>
<EMAIL_ADDRESS>      <url>https://www.opencypher.org</url>
    </developer>
  </developers>
  <scm>
    <url>https://github.com/opencypher/morpheus</url>
  </scm>
  <dependencies>
    <dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala-library</artifactId>
      <version>2.12.8</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala-reflect</artifactId>
      <version>2.12.8</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>org.scala-lang</groupId>
      <artifactId>scala-compiler</artifactId>
      <version>2.12.8</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>


use systemd

change udev rule to call systemd
add systemd service
get disc info in wrapper script
adjust identify and rip scripts
add systemd to installation instructions

OK, finally fixed the shellcheck errors (next time I'll do it locally).

@kmarhold where should I put the<EMAIL_ADDRESS>file?

And let me know any other steps you can think of...   I have no idea how to use systemd.

The arm@service file should be copied into /etc/systemd/system. I also added that to the instructions in README.md. I don't know if symlinking works, I haven't tried it.
Other than that nothing is needed: the @ makes the service a "template service" that must be called from elsewhere (udev in our case) with an argument, so it doesn't have to be enabled or anything.
I figured it out following this post where someone did the same thing but with a backup script:

Thanks for updating the readme @kmarhold   I did a checkout on your branch, followed your instructions, and started testing using systemd, I still need to test data discs, and audio, but so far it seems to work great with DVDs!
One thing we need to test is if it works when ripping from multiple DVD drives simultaneously.  I only have one drive so I can't test this feature, do you by chance have multiple drives?  If not I can see if anyone else here can test it.
One minor issue under /opt/arm/logs the log is named "empty.log" instead of "the movie title.log" from the ID_FS_LABEL variable.  I do see the ID_FS_LABEL var is set in the empty.log so not sure why the log file isn't being written with that name.

@ahnooie good to hear that it works! I don't have multiple drives either, that's why I didn't think of the race condition in the first place. But having fixed that I can't think of a reason why it would fail. The systemd service could even be called simultaneously with two different instances.
You are right about the logs, I actually had that problem since I started using the arm. ID_FS_LABEL appears in the disk info file, too, so could that be a bug somewhere else?

@ahnooie just added one minor change: we should be removing the disc info at the end of identify.sh (before I removed it from video_rip.sh, I had only been ripping DVDs and forgot about the data rip script).

The id_fs_label issue seemed to be fixed for me after a reboot.  No testers with multiple-drives came forward but it passed all my tests and should work.  Thanks for the PR!

I only recently discovered your project.  I have wanted something like this for years.  Thanks for the hard work.  I built a Ubuntu 16.04.03 LTS VM hosted on vSphere 6.5.  The host hardware is an HP Z600 into which I installed 2 BluRay drives.  So I am able to help with the testing of multiple drives.  I do not know if the bug is with Ubuntu or VMWare, but when I insert a disk in one drive, I get a change notification for both /dev/sr0 and /dev/sr1:
root@arm:~# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[102.386602] change   /devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata4/host3/target3:0:0/3:0:0:0/block/sr1 (block)
KERNEL[102.387657] change   /devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0 (block)
UDEV  [103.257963] change   /devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata4/host3/target3:0:0/3:0:0:0/block/sr1 (block)
UDEV  [103.259772] change   /devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0 (block)
KERNEL[103.430232] add      /module/crc_itu_t (module)
UDEV  [103.431141] add      /module/crc_itu_t (module)
KERNEL[103.445836] add      /module/udf (module)
KERNEL[103.445984] add      /kernel/slab/udf_inode_cache (slab)
UDEV  [103.446669] add      /module/udf (module)
UDEV  [103.446690] add      /kernel/slab/udf_inode_cache (slab)
KERNEL[103.525242] add      /module/nls_utf8 (module)
UDEV  [103.526188] add      /module/nls_utf8 (module)
KERNEL[139.340550] change   /devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata4/host3/target3:0:0/3:0:0:0/block/sr1 (block)
UDEV  [139.570783] change   /devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata4/host3/target3:0:0/3:0:0:0/block/sr1 (block)
KERNEL[150.864625] change   /devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0 (block)
UDEV  [151.158000] change   /devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0 (block)
The dock panel then displays multiple dvd's with the same name.  I am going to test this on a linuxmint install and a Rhel 7.4, in hopes of determining why it is behaving this way.  Just thought I would let you know I am testing this now.

Odd, did you somehow configure the VM with the same host drive twice
instead of each host drive? That is what the description sounds like to me.
I am running on bare metal with a SATA Blu-ray and USB DVD drive and they
both work correctly (sr0 and sr1)
On Sun, Dec 10, 2017 at 9:14 AM 2long1<EMAIL_ADDRESS>wrote:

I only recently discovered your project. I have wanted something like this
for years. Thanks for the hard work. I built a Ubuntu 16.04.03 LTS VM
hosted on vSphere 6.5. The host hardware is an HP Z600 into which I
installed 2 BluRay drives. So I am able to help with the testing of
multiple drives. I do not know if the bug is with Ubuntu or VMWare, but
when I insert a disk in one drive, I get a change notification for both
/dev/sr0 and /dev/sr1:
root@arm:~# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
KERNEL[102.386602] change
/devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata4/host3/target3:0:0/3:0:0:0/block/sr1
(block)
KERNEL[102.387657] change
/devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0
(block)
UDEV [103.257963] change
/devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata4/host3/target3:0:0/3:0:0:0/block/sr1
(block)
UDEV [103.259772] change
/devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0
(block)
KERNEL[103.430232] add /module/crc_itu_t (module)
UDEV [103.431141] add /module/crc_itu_t (module)
KERNEL[103.445836] add /module/udf (module)
KERNEL[103.445984] add /kernel/slab/udf_inode_cache (slab)
UDEV [103.446669] add /module/udf (module)
UDEV [103.446690] add /kernel/slab/udf_inode_cache (slab)
KERNEL[103.525242] add /module/nls_utf8 (module)
UDEV [103.526188] add /module/nls_utf8 (module)
KERNEL[139.340550] change
/devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata4/host3/target3:0:0/3:0:0:0/block/sr1
(block)
UDEV [139.570783] change
/devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata4/host3/target3:0:0/3:0:0:0/block/sr1
(block)
KERNEL[150.864625] change
/devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0
(block)
UDEV [151.158000] change
/devices/pci0000:00/0000:00:11.0/0000:02:01.0/ata3/host2/target2:0:0/2:0:0:0/block/sr0
(block)
The dock panel then displays multiple dvd's with the same name. I am going
to test this on a linuxmint install and a Rhel 7.4, in hopes of determining
why it is behaving this way. Just thought I would let you know I am testing
this now.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ahnooie/automatic-ripping-machine/pull/76#issuecomment-350551156,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQVLdR4M3C-w0iM-7UbXX5lfclj2ad7dks5s--c0gaJpZM4OnnKU
.

Good catch, I thought I double checked it when configuring it with the web client, but apparently not.  I am retesting now.


The "Try SQL Server!" link is 404

From this page:
Editions and supported features of SQL Server 2019 - SQL Server | Microsoft Docs
This link:
[https://www.microsoft.com//evalcenter/evaluate-sql-server](https://www.microsoft.com/evalcenter/evaluate-sql-server)

Returns:
We are sorry, the page you requested cannot be found.
The URL may be misspelled or the page you're looking for is no longer available.

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

ID: 2657179a-7015-033c-e294-e1f29eddcd39
Version Independent ID: 2657179a-7015-033c-e294-e1f29eddcd39
Content: Editions and supported features of SQL Server 2019 - SQL Server
Content Source: docs/sql-server/editions-and-components-of-sql-server-2019.md
Product: sql
Technology: release-landing
GitHub Login: @MikeRayMSFT
Microsoft Alias: mikeray

@stuartpa -- Stuart, thank you for catching this.  I am updating the article.


CompoundBarcodeView's layout strange behaviour.

This is how layout looks on Nexys 5 (6.0.1).

And this is how looks on a HoneyWell E70 (4.0.3).

Apparently it looks fine... but it doesn't. In the second case, the system can't capture on a screenshot how the screen really looks like. Here is a photo:

As you see, the layout "overflows", is out of margins, and also overlays (the part that overflows) the menu when you deploy it.
I don't know what is causing this behaviour but only happens with the HoneyWell E70. I don't know if this is a library bug, Android bug or GPU bug. Never happened to me before.
Do you know how to fix it?

I've tried the library in a new project only with this, using the code from the samples... and the bug persists, so is a problem with the device, the Android version or the library.
I don't have another 4.0.3 decive to test the Android version :(

Please try this workaround: https://github.com/journeyapps/zxing-android-embedded/issues/90#issuecomment-151067426 (released in 3.1.0).
Will make that option the default in the next release.

It works!!! You saved my day, thank you!!
You should add this info to the Readme until the next release, it drove me nuts.


[SPARK-42903][PYTHON][DOCS] Avoid documenting None as as a return value in docstring

What changes were proposed in this pull request?
This PR proposes to remove None as as a return value in docstring.
Why are the changes needed?
To be consistent with the current documentation. Also, it's idiomatic to don't specify the return for return None.
Does this PR introduce any user-facing change?
Yes, it changes the user-facing documentation.
How was this patch tested?
Doc build in the CI should verify them.

Merged to master and branch-3.4.


 Command errored out with exit status 1: git submodule update --init --recursive -q Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement fairseq (unavailable) (from versions: 0.6.1, 0.6.2, 0.7.1, 0.7.2, 0.8.0, 0.9.0, 0.10.0, 0.10.1, 0.10.2) ERROR: No matching distribution found for fairseq (unavailable)
Any idea to solve this?
Thanks

It seems to me the required specific version of fairseq can no be found through git.

Hi
I can't reproduce this issue, but I think actually you don't need this specific version of fairseq.
You just need the version after some specific bug-fixing commits and the current stable version of fairseq does not include those commits.
So, you can try to simply clone down the latest fairseq and install it locally.


Fix crash in tiled_layer_render(_CAImageProvider*, unsigned int, unsigned int, unsigned int, unsigned int, void*)

Version: 2.3.1 (2015.10.16) | net.artsy.artsy
Reason
objc_msgSend() selector name: release
Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37029/crash_reasons/51571534

Closing in favour of #773.


Crypto Pool Sim Bugfix Meta-thread

I compiled a list of issues I encountered when running v2 simulations with high-temporal-frequency data. @chanhosuh and @allt0ld, can you take a look at these and let me know if you have any thoughts on the proposed solutions or alternatives.

#213
#222
#223
#224
#227
#228

For completeness, I'll also list these bugs:

#219
#220
#221

I think we can roll out the next versions like so:
beta version (0.5.0b2):

#219
#220

221

#222
#213
#224

release candidate (0.5.0rc1):

update to use new curve-prices API for the pool volume
possibly #223, #227, #228

If these block the release, we can wait until 0.5.5 (or an earlier version if we have one):

#223
#227
#228

Note: also have to update docs/readme to reflect that the default parameters have been removed. Not sure if anything else needs to be updated?

It appears these have all been addressed. Feel free to re-open if we missed anything.


Add RKG/KRKGs for all RTA WRs as of 5/18/2024

This adds all RTA world record RKGs+KRKGs as of 5/18/2024. I have also introduced category distinguishing in the filenames, which means that we have a few renames. I've factored the renames into the test case names and also the banners in the README.

Updated as follows:

Two commits for the two new test cases that pass right away
Another commit to move the badges out from the README.md and into a new STATUS.md page.

Before merging, if we think this is how we want to do things moving forward, then we should probably also get rid of the badge generation step in the build action, since this is no longer an automated workflow.

Updated to factor in #93


improved readability of test code

This PR reformats the test code to follow at least some simple best practices and code guidelines (indentation, etc.) and silences the compiler warnings. The general 'flow' of the tests has not been changed.
Also, the tests indicate now if they are skipped due to missing rule files (try XCTSkipIf(rulefiles == nil)). Previously the test tricked the user to run successfully ('everything is green') but did actually NOT run at all.

One additional note, it would be cool to enable the 'issues' tab for this repository to report and collect known problems.


Does it support app gRPC-endpoints with HTTPS?

Hi, I'm a DTM msg user.
It seems that "action" and "queryPrepared" require no-protocol URLs for gRPC endpoints, and the DTM uses HTTP protocol by default.
How can I customize to use HTTPS protocol? Thanks.

I am not familiar with gRPC with https, you can add my wechat yedf2008 and discuss this issue

Not currently supported.
queryPrepared is called on the dtm server, which means the TLS certificate file needs to be passed to the dtm server.

I think need to support queryPrepared for GRPC TLS connections @yedf2

When https://github.com/dtm-labs/dtm/issues/274 is done, maybe Dapr could provide mTLS Certificate deployment and rotation.


I don't understand why host is undefined.

I'm working on a new website using this repository as a basis, but I've come across an error that I have not figured out how to fix. Host is apparently undefined, but there are values dedicated to it. I changed a lot but nothing fixed this problem. Full question here. https://github.com/nodejs/help/issues/3320

Please help me. I don't have all the time in the world to fix this problem.


npm install fails

roilipman:bq-node roilipmangmailcom$ npm install gcloud
npm WARN package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data

<EMAIL_ADDRESS>install /Users/roilipmangmailcom/Dev/bq-node/node_modules/gcloud/node_modules/hash-stream-validation/node_modules/sse4_crc32
node-gyp rebuild

CXX(target) Release/obj.target/crc32c_sse42/src/crc32c_sse42.o
LIBTOOL-STATIC Release/crc32c_sse42.a
libtool: unrecognized option -static' libtool: Try libtool --help' for more information.
make: *** [Release/crc32c_sse42.a] Error 1
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR!  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the sse4_crc32 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls sse4_crc32
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 14.5.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "gcloud"
npm ERR! cwd /Users/roilipmangmailcom/Dev/bq-node
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

This is an issue with one of our dependencies. Please open an issue on their repository: https://github.com/Voxer/sse4_crc32/issues/new

Yet another install fail :(
Any new thoughts on dealing w this?

See https://github.com/stephenplusplus/hash-stream-validation/pull/2. Waiting for an upstream PR to be merged, which will let us fallback to a software solution if the install fails.

This has been resolved on https://github.com/Voxer/sse4_crc32/issues/45. The issue was the version of libtool was incorrect on @swilly22's machine.

Thanks @anandsuresh!

Have had a similar issue on my local machine. ls -la $(which libtool) as mentioned here pointed to a deprecated version of libtool installed by MAMP. Switching to /usr/bin/libtool solved this issue.


[FEATURE] Notify user if there is a new code remark and link to Dodona

Bart brought up an interesting point. If there is new feedback available, students don't see the bell icon immediately if they use the extension.
I already had several occasions where I gave feedback on code and students only noticed it 15 minutes (or more) later when programming. Is this feature request possible with the current API?

I think there are two ways (or both) to solve this problem (and should be in alignment with the vision of Bart because it sends users to the Dodona website):

Notification in right-hand corner when there is a new remark on code with a button that links to https://dodona.ugent.be/nl/notifications/.
Bell icon in the top of the Tree View, that shows the same behavior as on Dodona (without showing the list of notifications). The bell should only show if there is a new unread remark. Clicking the bell icon should link to https://dodona.ugent.be/nl/notifications/.

This does sound like a really good idea, I hadn't thought of the Dodona notifications yet. I just looked around a bit and it looks like it should be doable. This could run as a background task that checks Dodona every few minutes (doing it constantly would be really bad performance-wise), considering notifications on Dodona are not very common.

I've implemented everything except the dynamically changing bell icon. Not quite sure on how I'm gonna do that yet, but the information message bottom-right is already a thing at least (and the bell can be clicked to open notifications).
After looking around I didn't find any useful information on how to make the ViewAction's when clause change dynamically from code, or after triggering something.

Thank you! Is a 30 second interval doable for Dodona? If 500 to 1000 students use VS Code simultaneously will it still work without issues? The time of the interval is the worst-case scenario, so an interval of 1 or 2 minutes is also ok for me. Notifications don't happen that often.
I did some research and this is what I found, but I don't know if it's helpful:

I noticed the SQL Server extension uses a changing icon to Start/Pause Query History Capture (Source code).

https://stackoverflow.com/questions/55527587/vs-code-updating-icons-in-treeview-in-custom-viewscontainer but is only a question, not an answer.

I'm not sure, I'll ask someone from Dodona what type of interval they'd be most comfortable with. I went with 30 seconds because my initial idea was a few minutes to increase performance, but I found out it only takes a few ms to do it & it was really inexpensive.
Also thank you for the link, I'm sure there's something in there that could be of use.

Adding this for reference and might be useful: https://github.com/dodona-edu/dodona/pull/2302

Where would you put this? I don't immediately see a place where this would fit in.

It was mainly for the fact that Dodona only checks the status of the notifications once every minute. They also show how many, but for the extension showing if there are notifications should be enough.

Ah, I thought you referenced the PR itself instead of the one mentioned lower. In that case I'll go for every minute.


Proper window decorations via libdecor

I am working on libdecoration, a project originated by Jonas Ådahl. I implemented a "proper" title bar, which is still under review for merging this upstream.
I was wondering if there is interest in using this library for GLFW to implement Wayland client-side window decorations with title, min/max/close buttons and shadows to resizing windows:

and replace the older viewporter-based decorations that are missing buttons and shadows.

Yes, I definitely want to add libdecor support as soon as possible and considering GNOME's lack of server-side decorations, this is a blocking issue for a 3.4 release of any scope.

The documentation for this option are missing from HTML docs. Maybe they should be added?


Glusterfs starts with NFS disabled / offline

Setup:
Kismatic:
Version: 1.4.0
Built: Wed Jul  5 23:02:36 UTC 2017
Go Version: go1.8
Vagrant generated with the provision tool,
Vagrantfile: bento/ubuntu-16.04
3 MasterNodes: ( includes etcd and storage  on each )
2 WorkerNodes
After deploying the above configuration with no issues and adding a volume using kismatic Noticed NFS on each storage node shows offline and rpcbind stopped.  After enabling / restarting rpcbind everything started working.
Volume Add:
kismatic volume add 8 jenkins-data  -r 2 -d 1 -c=durable  --access-modes  ReadWriteOnce
PV / PVC Status:
The PVC bound successfully to the new PV,
kubectl get pv jenkins-data
  jenkins-data   8Gi        RWO           Retain          Bound     default/loping-bear-jenkins   durable

POD NFS Times out:
The pod times out trying to NFS mount the volume
  kubectl describe po/podname

  Mounting command: mount
  Mounting arguments: <IP_ADDRESS>:/jenkins-data1 /var/lib/kubelet/pods/af287470-67e7-11e7-
  aac1-080027192ca4/volumes/kubernetes.io~nfs/jenkins-data1 nfs []
  Output: mount.nfs: Connection timed out

Storage Nodes:
Noticed on each storage node glusterfs shows nfs disabled
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick master002:/data/jenkins-data          49152     0          Y       23140
Brick master001:/data/jenkins-data          49152     0          Y       24346
NFS Server on localhost                     2049      0          N       24367
Self-heal Daemon on localhost               N/A       N/A        Y       24374
Quota Daemon on localhost                   N/A       N/A        Y       24419
NFS Server on master002                     2049      0          N       23163
Self-heal Daemon on master002               N/A       N/A        Y       23162
Quota Daemon on master002                   N/A       N/A        Y       23209

But gluster volume info shows NFS enabled
gluster volume info
  Volume Name: jenkins-data
  ...
  nfs.disable: off

Changing ansible/playbooks/roles/glusterfs/tasks/main.yaml seems to have fixed the issue.
- name: reload systemd daemon
   command: systemctl daemon-reload
- name: start rpcbind service
   service:
     name: rpcbind.service
     state: started
     enabled: yes
 - name: start glusterfs-server service

Thanks @hornjason tested manually and was able to reproduce. Your fix worked.


fix(rust): only save key to disk if type is persistent

Restricts writes to disk for keys that are of type persistent.

@mikelodder7, this includes #577, and the rebase, so i'm going to close #577 and merge this.


Fix sentry env variable for django

@andrea-williams Here is the PR I was talking about.

I can confirm that ENVIRONMENT is now spelled correctly.
I have no idea how Sentry works though 🙃

Thanks for the quick review. If you're interested, I can share what I know about Sentry.


Add timestamps for Detox logging

Is your feature request related to a problem? Please describe.
Timestamps would help a great deal in logging when debugging failures but we currently don't have them:

Describe the solution you'd like
The ability for all of the logging to be timestamped with the date/time
Describe alternatives you’ve considered
I have considered adding this ourselves with some kind of helper but I think it would be a messier solution than having it part of the CLI/API

@asafkorem, please write down in advance how do you plan to change the configuration options to implement this.

@noomorph it seems to me that we should add some session configuration flag param: showDate.
With this, we should configure the bunyanDebugStream to show dates (see bunyan-debug-stream#showdate), so I'm not sure where do we need that custom formatted function. Let's discuss this.

I tend to agree with @asafkorem; I'm not convinced as to why this flexibility is required...
That said, if we do pursue this path then a better option would be an explicit logging configuration, IMO.

Implemented in Detox v20 logger. Removing stale: label.


Using regex VERBOSE flag in Lark rules raises LexError

This is my rule.
HERE_DOCUMENT: /
    <<<(?P<QT>["'])?(?P<ID>\w+)(?(QT)(?P=QT)|)
    .*?
    (?P=ID)(?=;?(?:\r?\n|$))
    /xs

I got LexError.
lark.exceptions.LexError: Cannot compile token HERE_DOCUMENT: '(?s:(?x:\n    <<<(?P<QT>["\'])?(?P<ID>\\w+)(?(QT)(?P=QT)|)\n    .*?\n    (?P=ID)(?=;?(?:\r?\n|$))\n    ))'

If I write it in one line without the verbose flag, there is no problem.
I am using lark-parser 0.11.2.

If you scroll futher up, you see the regex exception that is actually thrown. It complains about nothing to repeat at position 84. This is the questionmark here: \r?\n The problem here is that expansion of  these sequences happens before the regex parser sees them. So they get replaced with the actuall newline symbol, and  then get ignored. Therefor the last symbol the ? sees is the (?: which it ofcourse can't repeat. To fix, just double up the \: (?:\\r?\\n|$)

I am very grateful for the accurate response.
If I write a multi-line regular expression in a lark rule, does that mean that escape sequences are enabled in it?

@knutze Yes. Everything between // is treat as if it were inside a """ string literal (no raw, and ofcourse """ are escaped before hand properly.)

Thanks, I completely understand.

I later thought that if it doesn't result in a regular expression compile error, it could be a problem that is hard to figure out the cause. It might be better to have a little explanation in the documentation.


Geopy 518

GEOPY-518 - Release geoapps 0.8.0

@andrewg-mira good start prepping the release. Let me know when it's time to push on pypi

Big up @sebhmg for fixing the installer!!


Bugfix/windows filepaths cause false positive duplicate detection

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug Fix for #4
What is the current behavior? (You can also link to an open issue here)

SpecLocator uses whatever filepaths are given to it by its consumers.

What is the new behavior (if this is a feature change)

SpecLocator converts input to unix style paths before placing it in the cache to make sure filepath styles in the cache are never mixed.

What might this PR break?

Testing on my Windows machine nothing seems to be negatively impacted by using unix paths in the SpecLocator cache. It looks like other areas of the code also use toPosixPath so I expect Windows/VSC handle them as expected. I don't do any VSC extension development but it seems to work correctly and refresh my tests the correct way. :shrug:

Please check if the PR fulfills these requirements

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:
Hopefully my tests are adequate/appropriate, still learning to write them; hence the desire to have this extension work 😃

I considered changing the specFilesBySuite definition to something that would just always run input through toPosixPath instead of sprinkling that call each place it's needed - thoughts?

@lucono I added some removeFiles tests and fixed the names. I also fixed the refreshFiles method mutating the files argument.
I also messed with the test setup a little to include both path styles. The tests all pass no matter the combination of path style and pattern so I figure using them all makes it most likely to catch a regression.