Update Login style

Please make sure to check the following tasks before opening and submitting a PR

[x] I understand and have followed the contribution guide
[x] I have tested my changes locally and they are working as intended
[x] These changes do not have any notable side effects on other Revolt projects

will have a look and merge it in the next few days

ok missing cmds settings...


bosh and cf exporter getting errors and causing bosh director CPU to be overconsumed

I am using this deployment with minor modifications for three different environments, two are working and one is having issues between the above mentioned exporters and bosh.  I am colocating firehose exporter on the prometheus2 VM.  Those are the extra ops files.  I am deploying this in a bosh director not associated with the PCF PCF platform being monitored.
I have found other similar issues in here but no specific resolutions.
  --var-file bosh_ca_cert=${PVT_PROMETHEUS_BOSH_DEPLOYMENT_REPO}/lwr/root-ca-cert \
  -o ${PROMETHEUS_BOSH_DEPLOYMENT_REPO}/manifests/operators/monitor-bosh.yml \
  -o ${PROMETHEUS_BOSH_DEPLOYMENT_REPO}/manifests/operators/enable-bosh-uaa.yml \
  -o ${PROMETHEUS_BOSH_DEPLOYMENT_REPO}/manifests/operators/configure-bosh-exporter-uaa-client-id.yml \
  -o ${PROMETHEUS_BOSH_DEPLOYMENT_REPO}/manifests/operators/monitor-cf.yml \
  -o ${PROMETHEUS_BOSH_DEPLOYMENT_REPO}/manifests/operators/local-cf_exporter.yml \
  -o ${PROMETHEUS_BOSH_DEPLOYMENT_REPO}/manifests/operators/colocate-firehose_exporter.yml \
  -v deployment_name=${DEPLOYMENT} \
  -v uaa_bosh_exporter_client_id=bosh_exporter \
  -v bosh_url=<IP_ADDRESS>     \
  -v metrics_environment=lwr \
  -v metron_deployment_name=cf-ae8adbb1bbcd8905494f \
  -v system_domain=sys.pivotal-cloud-foundry.com \
  -v traffic_controller_external_port=443 \
  -v network=snet-gfpte-pvt-control-nane \
  -v azs=northamerica-northeast1-c \
  -v vm_type=large.disk \
  -v<EMAIL_ADDRESS>\
  -v<EMAIL_ADDRESS>\
  -v<EMAIL_ADDRESS>\
  -v<EMAIL_ADDRESS>\
  -v skip_ssl_verify=true --no-redact```

I extracted the following from the prometheus2 vm bosh and cf exporter logs:

```prometheus2/850a7a24-f6be-438b-9405-557d195239fd:/var/vcap/sys/log/bosh_exporter# cat bosh_exporter.stderr.log
time="2020-04-02T20:23:29Z" level=info msg="Starting bosh_exporter (version=3.3.0, branch=master, revision=63f29d319ef420bd0f6c85e5009b0f8ce5db8850)" source="bosh_exporter.go:277"
time="2020-04-02T20:23:29Z" level=info msg="Build context (go=go1.12.8, user=root@193b22c7c296, date=20190830-21:27:43)" source="bosh_exporter.go:278"
time="2020-04-02T20:23:29Z" level=info msg="Using BOSH Director `p-bosh` (94ed3490-c669-4f81-930a-bd273f3f53f7)" source="bosh_exporter.go:291"
time="2020-04-02T20:23:29Z" level=info msg="Listening on :9190" source="bosh_exporter.go:365"
2020/04/02 20:25:26 http: superfluous response.WriteHeader call from github.com/bosh-prometheus/bosh_exporter/vendor/github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)
2020/04/02 20:27:28 http: superfluous response.WriteHeader call from github.com/bosh-prometheus/bosh_exporter/vendor/github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)
2020/04/02 20:29:28 http: superfluous response.WriteHeader call from github.com/bosh-prometheus/bosh_exporter/vendor/github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)
2020/04/02 20:31:37 http: superfluous response.WriteHeader call from github.com/bosh-prometheus/bosh_exporter/vendor/github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)
2020/04/02 20:33:33 http: superfluous response.WriteHeader call from github.com/bosh-prometheus/bosh_exporter/vendor/github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)
2020/04/02 20:35:29 http: superfluous response.WriteHeader call from github.com/bosh-prometheus/bosh_exporter/vendor/github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)```

```prometheus2/850a7a24-f6be-438b-9405-557d195239fd:/var/vcap/sys/log/cf_exporter# cat cf_exporter.stderr.log
time="2020-04-02T20:23:30Z" level=info msg="Starting cf_exporter (version=0.10.0, branch=master, revision=9ad8b3c7b5b33e663c31f4bdf4cab5291b60ccb7)" source="cf_exporter.go:136"
time="2020-04-02T20:23:30Z" level=info msg="Build context (go=go1.12.10, user=root@c5a0d42674df, date=20191015-20:22:59)" source="cf_exporter.go:137"
time="2020-04-02T20:23:31Z" level=info msg="Listening on :9193" source="cf_exporter.go:245"
2020/04/02 20:24:20 http: superfluous response.WriteHeader call from github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)
2020/04/02 20:25:10 http: superfluous response.WriteHeader call from github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)
2020/04/02 20:26:09 http: superfluous response.WriteHeader call from github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)
2020/04/02 20:27:00 http: superfluous response.WriteHeader call from github.com/prometheus/client_golang/prometheus/promhttp.(*responseWriterDelegator).WriteHeader (delegator.go:58)```

Closing due to inactivity; Fell free to re-open if issue persists;


NavigationView's selection indicator animation looks weird

NavigationView's selection indicator animation looks like it is scaling the indicator vertically, including the portion of the indicator that is rounded by rounded corners, causing the rounding to stretch to a point mid animation which looks pretty bad.

@ranjeshj and @karenbtlai FYI

You could replace a rectangle with a border if you wish to scale - or animate the height value, instead of a scale transform.
I think there was a similar issue with the ToggleSwitch control's animation too


Multiple wallets support

What I'm missing is the multiple wallet feature support.
Since around 0.17 AFAIR bitcoind supports multiple wallets.
First, you create a wallet with "createwallet" command, then you can choose the wallet by modifying the request URL to be <root>/wallet/:[wallet-name]
Initially, I wanted to create a PR right away, but unfortunately, I cannot see an unambiguous good way to fit it into the current API in a backward-compatible manner; neither I want to create yet another Bitcoin RPC module to fix this issue :) at least for now.
The changes would have to get as deep as to the BitcoinJsonRpc.cmd and cmdWithRetry and other internal methods to accept the URL path as an additional argument. Then, some wallet methods would have to somehow accept the wallet as an optional parameter, which doesn't frankly fit too good with the functions currently accepting arguments in a traditional way instead of them being a single object.
My current best plan is:

Modify the internal cmd* methods in any way, they seem to be out of the module API scope anyway
Add wallet name as the last argument on all wallet methods; that would make all the optional arguments non-optional if one would want to specify the wallet name though, but I see no other way to retain the backward compatibility

Possible alternatives:

Switch to argument objects, providing for more extensibility, breaking the backward compatibility
Create an optional "options" argument for wallet functions, "search" for it among other optional arguments, most of which are all likely non-object (I really don't like this way)

So, maybe if you see any (other) good way to fit that into the API, I could attempt an implementation.
Ref:
https://developer.bitcoin.org/reference/rpc/createwallet.html
https://github.com/bitcoin/bitcoin/blob/25839661305ec9fe8c25d171e31270d95311a4e4/src/wallet/rpcwallet.cpp#L117
Hey, nice module btw)

@burmisov Great idea. I haven't used this feature yet.

I think the more comprehensive option is better and if there are BC implications we can increment the minor or major version.


TASK [Add Jenkins slave SSH fingerprint to known hosts] failed

I tried a new TOAD deployment from a fresh Centos 7.3.
The toad-bootstrap went fine.
But with the toad-deploy script, i'm not going futher than the:

TASK [Add Jenkins slave SSH fingerprint to known hosts].
Here's the ansible verbose output :
TASK [Add Jenkins slave SSH fingerprint to known hosts] ************************
task path: /home/toad/toad/jenkins_ssh.yml:140
Using module file /usr/lib/python2.7/site-packages/ansible/modules/extras/system/known_hosts.py
<jenkins_master> ESTABLISH DOCKER CONNECTION FOR USER: root
<jenkins_master> EXEC ['/bin/docker', 'exec', '-i', u'jenkins_master', u'/bin/sh', '-c', u'/bin/sh -c \'( umask 77 && mkdir -p "` echo /tmp/ansible-tmp-1491584077.51-119701673011617 `" && echo ansible-tmp-1491584077.51-119701673011617="` echo /tmp/ansible-tmp-1491584077.51-119701673011617 `" ) && sleep 0\'']
<jenkins_master> PUT /tmp/tmpQ_ijd6 TO /tmp/ansible-tmp-1491584077.51-119701673011617/known_hosts.py
<jenkins_master> EXEC ['/bin/docker', 'exec', '-i', u'jenkins_master', u'/bin/sh', '-c', u"/bin/sh -c 'setfacl -m u:jenkins:r-x /tmp/ansible-tmp-1491584077.51-119701673011617/ /tmp/ansible-tmp-1491584077.51-119701673011617/known_hosts.py && sleep 0'"]
<jenkins_master> EXEC ['/bin/docker', 'exec', '-i', u'jenkins_master', u'/bin/sh', '-c', u'/bin/sh -c \'sudo -H -S -n -u jenkins /bin/sh -c \'"\'"\'echo BECOME-SUCCESS-wvnttohwdtikxbkmbesorkefkomlmjfl; /usr/bin/python /tmp/ansible-tmp-1491584077.51-119701673011617/known_hosts.py\'"\'"\' && sleep 0\'']
<jenkins_master> EXEC ['/bin/docker', 'exec', '-i', u'jenkins_master', u'/bin/sh', '-c', u"/bin/sh -c 'rm -f -r /tmp/ansible-tmp-1491584077.51-119701673011617/ > /dev/null 2>&1 && sleep 0'"]
fatal: [jenkins_master]: FAILED! => {
    "changed": false,
    "cmd": "/bin/ssh-keygen -F TOAD -f /tmp/tmpNGINdZ",
    "failed": true,
    "invocation": {
        "module_args": {
            "key": "TOAD ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEl/sVmw4TWW6tN9Ra0AH5IxqMVacRkBpHVk3Zgz0vCamKNoISoL6bKIe1sWuBCEVq8rPtM2p4knjYV3jQbcZdc=",
            "name": "TOAD",
            "path": "/var/lib/jenkins/.ssh/known_hosts",
            "state": "present"
        },
        "module_name": "known_hosts"
    },
    "msg": "",
    "rc": 1,
    "stderr": "",
    "stdout": "",
    "stdout_lines": []
}
        to retry, use: --limit @/home/toad/toad/site.retry

PLAY RECAP *********************************************************************
jenkins_master             : ok=57   changed=4    unreachable=0    failed=1
slave01                    : ok=18   changed=3    unreachable=0    failed=0

@rivardetienne hrmmm the thing that pops out at me is why the name of the user is TOAD and not toad. What shell are you running this on? I assume bash since you said it was a fresh CentOS 7.3 installation.

So far I haven't had any issues deploying. To me it looks like a possible configuration issue with something being in uppercase that shouldn't be during the script run.
@rivardetienne any other feedback or logs you can give? I'll have to close this out in a couple days if we're not able to get additional information for debugging. Thanks!


Installing 2.2, how?

Can someone explain how you compile/install v2.2 into chrome (actually vivaldi).
Downloaded 2.2 from the releases but its not obvious how to import it into chrome
(I realise 2.2 is not developed and has "bugs" but honestly its been working fine for me for many years and i really dislike the interface of v3 with a passion :D)

Download -> unzip, then go "chrome://extensions/", turn on "Developer mode" on top right corner, choose "load unpacked", navigate to the path of the unzip folder.

thanks @lsggss.
@dm2912 Sad to hear you don't like the new design. Feel free to create individual tickets for feedback. The above steps will work, you will just need to select the "stylebot" folder in the unizipped folder


Script failed to scan birthdays.

Script failed to scan birthdays.
Error message: eyJlcnJvciI6IlJlbW92ZWQgaW5maW5pdGUgc2NhbiBsb2NrIiwidHlwZSI6IlNDQU5fRVJST1JfR0VORVJBTCJ9

The issue is solved in https://github.com/zagushka/birthday-calendar-extractor/pull/94


bug: navbar icon visibility

Description
Navbar icons visibility fixed.
Linked Issues
Fixes #134
Screenshot

❤Thank you!

wait what did you change yarn.lock ?

Yes. The icons are visible now. You can see the screenshot in the description.

wait what did you change yarn.lock ?

Yes. The icons are visible now. You can see the screenshot in the description.

But how did you know..that you have to make changes in yarn.lock?

wait what did you change yarn.lock ?

Yes. The icons are visible now. You can see the screenshot in the description.

But how did you know..that you have to make changes in yarn.lock?

same question


Merge ranges

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw8IfZMg9Up8SP33/recVwbKWUfu87YRE4
PM: @awoods187
Eng Partner: @benesch

@benesch, I know this work is done, so when you feel like it's stable and ready for documentation, please work with Rich to understand the needed docs updates. Mostly, I think it'll be architecture doc updates.

Sounds good. We still haven't committed to turning merges on for v2.1, so
no doc updates yet. I'd say it's 50–50 whether we turn them on. Maybe it
would be easier to prepare the docs ahead of time just in case? I don't
know how swamped you guys are.
On Tue, Aug 28, 2018 at 12:56 PM, Jesse Seldess<EMAIL_ADDRESS>wrote:

@benesch https://github.com/benesch, I know this work is done, so when
you feel like it's stable and ready for documentation, please work with
Rich to understand the needed docs updates. Mostly, I think it'll be
architecture doc updates.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cockroachdb/docs/issues/2964#issuecomment-416661726,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA15IM4Zh0Y5FDSyls2-JCqGn7WnDOSgks5uVXYpgaJpZM4TdjMA
.

Thanks, @benesch. Probably best to wait until we know if the feature is in or out. There's plenty left to do.

Hey @benesch just checking in: is range merging going to be turned on by default for 2.1?

The plan is on by default unless we discover a bad bug between now and then

Off by default in 2.1.

It should be p-0. Range merges is in 2.1 (but off by default). We will want to recommend some users to try it in 2.1.2

@sploiselle Merge into 2.2 docs


Refactor Failed

Error:
/src/algorithms/refactor.cu:619: void unbindAllKeys(const unsigned long long *, const unsigned int *, int *, int *, int, int, int): block: [0,0,0], thread: [0,0,0] Assertion `*(vReconstructedIds - 1) < nObjs` failed.
*(vReconstructedIds-1): 11528, nObjs: 11487

To reproduce the issue:
./abcg -c "gread ../data/aig_random_control/voter.aig; gtime; grf -K 12; gtime; gps; grf; gtime; gps; grf; gtime; gps; grf; gtime; gps; grf; gtime; gps; gwrite ./test.aig"

Hi, please always use rf -m for refactoring, which is the algorithm described in our paper. The rf implementation is deprecated and no longer supported.

If there is any problem with the new refactoring implementation, feel free to open a new issue.


Synchronous and Asynchronous mode in Carla_Apollo_Bridge

Hi,
Thanks for your brilliant work!  However, I have a few questions about the synchronous and asynchronous mode.
Carla has sync mode and async mode with fixed or varied time step as they introduced:
https://carla.readthedocs.io/en/latest/adv_synchrony_timestep/#:~:text=By default%2C CARLA runs in,only one client should tick.
The main.py in Carla_Apollo_Bridge adopts the async mode with varied time steps:

Is this a mandatory setting to guarantee the normal running of Apollo in Carla? Can I change it to sync mode with a fixed time step?
Thanks for your kind answer! @XiaoFei9704 @synkrotron @meua

Hi, I have the same question. I found that creating a synchronous client based on the bridge is useless. Do you have any other solution to solve this problem?

Hi, I have the same question. I found that creating a synchronous client based on the bridge is useless. Do you have any other solution to solve this problem?

Hi, I took a closer look at the code and found out they have set the mode to sync+fixed time-stamp. The figure above is the final setting after running. What do you mean of the "useless", the vehicle in Carla can not execute the same command as in DreamView?

Hi, I have the same question. I found that creating a synchronous client based on the bridge is useless. Do you have any other solution to solve this problem?

Hi, I took a closer look at the code and found out they have set the mode to sync+fixed time-stamp. The figure above is the final setting after running. What do you mean of the "useless", the vehicle in Carla can not execute the same command as in DreamView?

Not really. I created a synchronous client based on the bridge to control the movement of the car. But the sync mode didn't work. When I haven't run world.tick(), the car is already moving. I guess it's due to the sync mode in the bridge you mentioned.

The car already moving in both Apollo DreamView and Carla ?

Hi, I have the same question. I found that creating a synchronous client based on the bridge is useless. Do you have any other solution to solve this problem?

Hi, I took a closer look at the code and found out they have set the mode to sync+fixed time-stamp. The figure above is the final setting after running. What do you mean of the "useless", the vehicle in Carla can not execute the same command as in DreamView?

Not really. I created a synchronous client based on the bridge to control the movement of the car. But the sync mode didn't work. When I haven't run world.tick(), the car is already moving. I guess it's due to the sync mode in the bridge you mentioned.

The car already moving in both Apollo DreamView and Carla ?

Yes. And it is not controlled by the sync client I created.

It is wired. Could you please provide the code so that I can reproduce the issue?

Hi, I have the same question. I found that creating a synchronous client based on the bridge is useless. Do you have any other solution to solve this problem?

Hi, I took a closer look at the code and found out they have set the mode to sync+fixed time-stamp. The figure above is the final setting after running. What do you mean of the "useless", the vehicle in Carla can not execute the same command as in DreamView?

Not really. I created a synchronous client based on the bridge to control the movement of the car. But the sync mode didn't work. When I haven't run world.tick(), the car is already moving. I guess it's due to the sync mode in the bridge you mentioned.

The car already moving in both Apollo DreamView and Carla ?

Yes. And it is not controlled by the sync client I created.

It is wired. Could you please provide the code so that I can reproduce the issue?

I guess it is because Carla only allow one client to use sync mode. And the bridge has already used a sync mode. So the sync client i created didn't work. I was also confused when i encountered this problem.

Hi, I have the same question. I found that creating a synchronous client based on the bridge is useless. Do you have any other solution to solve this problem?

Hi, I took a closer look at the code and found out they have set the mode to sync+fixed time-stamp. The figure above is the final setting after running. What do you mean of the "useless", the vehicle in Carla can not execute the same command as in DreamView?

Not really. I created a synchronous client based on the bridge to control the movement of the car. But the sync mode didn't work. When I haven't run world.tick(), the car is already moving. I guess it's due to the sync mode in the bridge you mentioned.

The car already moving in both Apollo DreamView and Carla ?

Yes. And it is not controlled by the sync client I created.

It is wired. Could you please provide the code so that I can reproduce the issue?

I guess it is because Carla only allow one client to use sync mode. And the bridge has already used a sync mode. So the sync client i created didn't work. I was also confused when i encountered this problem.

No, as it said in Carla Documentation, the sync mode is applied to the global setting. Only one client needs to call the world.tick().

Hi, I have the same question. I found that creating a synchronous client based on the bridge is useless. Do you have any other solution to solve this problem?

Hi, I took a closer look at the code and found out they have set the mode to sync+fixed time-stamp. The figure above is the final setting after running. What do you mean of the "useless", the vehicle in Carla can not execute the same command as in DreamView?

Not really. I created a synchronous client based on the bridge to control the movement of the car. But the sync mode didn't work. When I haven't run world.tick(), the car is already moving. I guess it's due to the sync mode in the bridge you mentioned.

The car already moving in both Apollo DreamView and Carla ?

Yes. And it is not controlled by the sync client I created.

It is wired. Could you please provide the code so that I can reproduce the issue?

I guess it is because Carla only allow one client to use sync mode. And the bridge has already used a sync mode. So the sync client i created didn't work. I was also confused when i encountered this problem.

No, as it said in Carla Documentation, the sync mode is applied to the global setting. Only one client needs to call the world.tick().

I understand! But how do we control the simulation and the car based on the bridge? I mean getting the vehicle information or controlling other actors movement in each frame.


Investigate "Unchanged files with check annotations" in infrastructure PRs

Likely a separate concern, but I see in https://github.com/adoptium/infrastructure/pull/2263/files that GH does some extra analysis at the end on linting, do you also see that @gdams ?

Is that the Beta "Unchanged files with check annotations"? That's been around for a while now I think and I've (so far) been ignoring them, but I guess if we want to start trying to clear them up we should create an issue for it (Cant you think of anyone that might be around and able to work on something like that over the next few weeks @karianna? ) :-)
Originally posted by @sxa in https://github.com/adoptium/infrastructure/issues/2263#issuecomment-875471655

Hi, I'll like to be assigned to this, please may i have more information on what needs to be done?

Hi, @karianna ! If not yet assigned to anybody and @BarbaraStanley was assigned to some other issue, would you please assign this issue to me?
Thanks in advance!

assigned

@karianna Thanks a lot! Would you please help me to contribute? I forked the whole repository to my own account to start working on changes, however, I cant find this particular issue "unixPB: fix up jckservices playbook #2263" when I type it on search field. Tried to look for it manually, also didn't work. Would you please advise what am I doing wrong?
Thanks!


Qutebrowser: H.264 videos don't work

Issue description
H.264 videos (at least in Youtube) don't work in Qutwbrowser.
Steps to reproduce

Install Qutebrowser.
Go to https://www.quirksmode.org/html5/tests/video.html
You should see the H.264/MP4 video doesn't load but WebM and Ogg/Theora do.

Technical details
qutebrowser v1.3.3
Backend: QtWebEngine (Chromium 61.0.3163.140)
CPython: 3.6.5
Qt: 5.10.1
PyQt: 5.10

Output ofnix-shell -p nix-info --run "nix-info -m":
 - system: `"x86_64-linux"`
 - host os: `Linux 4.14.54, NixOS, 18.03.132835.e930c685d51 (Impala)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.0.4`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

results.

I can play the video on the version of qutebrowser on nixos-unstable:
qutebrowser v1.4.0
Git commit:
Backend: QtWebEngine (Chromium 65.0.3325.230)

CPython: 3.6.5
Qt: 5.11.1
PyQt: 5.10.1

However, I guess this is probably due to an upgraded version of Qt instead of qutebrowser. Might have to do git-bisect to find out.

Quite possible you're running an old version of qtwebengine without proprietary codec support, try installing qt5.qtwebengine from nixos-unstable (see: #36729)


Benchmark node performance

Feature request
This will allow for better use of the nodes due as we'd know how well each system performs in doing the transcode tasks. If you had all nodes all with the same hardware then this wouldn't matter but if you have quite different hardware configurations then it becomes much more important. My systems are a good example.
Node 1 - I3-2120 (dual core 3.3Ghz)
Node 2 - i5-4250U (dual core 1.30Ghz)
Node 3 - FX-8350 (6 core 4.00Ghz)
After quite a bit of thinking (and not set in stone, I think the best solution is to use the built in benchmarking process in ffmpeg, which plex uses so will always be there).
I was about to put an example but for some reason my tests today were coming back with very similar results for all 3 systems which it didn't the other day.
But that's the thinking I had, obviously some systems may be more powerful than others to having some way of the system knowing that even if it's approx can help with it's load balancing decisions.
You can assign it to me if you like or collab

What does the command look like to benchmark?

cd /opt/plex/tmp/benchmark; rm -f *.ts ; prt_local -benchmark -ss 0 -i  -t 100 -codec:0 libx264 -crf:0 20 -pix_fmt:0 yuv420p -preset:0 veryfast -level:0 4.0 -x264opts cabac=0:8x8dct=1:bframes=0:subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none:cabac=0:level=4.0:ref=4 -codec:1 aac -strict:1 experimental -cutoff:1 15000 -channel_layout:1 stereo -segment_format mpegts -f segment -flags -global_header -segment_time 5 -segment_start_number 0 -segment_time_delta 0.0625 -max_delay 5000000 -map_metadata -1 media-%05d.ts -y 2>&1 | grep utime | awk -F= '{ print $2 }' | sed 's/s//g'
That's a quick dirty script I did.
Takes the 1st 100 seconds of the file and converts to mpeg ts which is what plex uses for streaming, it outputs the time it took to do that. The lower the time, the better the performance.


Adding the europepmc dataset

Initial notebook - https://colab.research.google.com/drive/1TYdcu8rkhSrWIbIgjdQjPOS-qCUAyCKf?usp=sharing
I've kept the script basic and did minimal post processing of the articles. We need to make a choice on how to encode tables and equations so that its consistent across all our datasets


Credentials?

Are you providing the credentials ?  i Installed the docker image but is asking for confluence credentials at some point and i cannot continue

Hello @vaggosvonkarajan ! You probably missed step 5 of demo with docker:
5. Update scripts/config.yml with links to your own Confluence node (following instructions inside the default config)

You need to put links to your own Confluence to use it as export for ATC. You need to use your own credentials for it.


Failing test for appendingevents to a newstream

Failing test when appending events to a new stream:
It throws:
Marten.Testing.Events.end_to_end_event_capture_and_fetching_the_stream_Tests.capture_events_to_a_non_existing_stream_and_fetch_the_events_back [FAIL]
Npgsql.NpgsqlException : 23502: null value in column "type" violates not-null constraint
Where "type" is stream_type in this case.
This is because, unlike in StartStream, the AggregateType is not set:
StartStream:
var stream = new EventStream(id, events)
{
AggregateType = typeof(T)
};
AppendEvents:
var stream = new EventStream(id, events);
I like to support this scenario because I can write infrastructure logic that is unaware of the fact whether a stream (aggregate) already exists.
But this can only be solved it we add the Aggregate type as Generic parameter. Is this a valid solution for you?
I can also implement the void Append(Guid stream, T @event) where T : IEvent method. Maybe it should be renamed to AppendEvent ?

I've been going back and forth on whether or not the stream type/Aggregate type has to be captured. I think there's some value in having the concept for being able to do snapshots and per stream projections, but I can be talked into making it be non required. I vote for making the aggregate type optional, and letting stream_type be a nullable field.

Ok, I agree to make it optional. Streams are not always linked to an aggregate type anyway.
What I do in EventStore for aggregate streams is using aggregate type as prefix in the id by convention. So it would be 'product/123456-789456'. But the Id is a string there.
And in EventStore you also have projected streams that contain events linked from multiple aggregates. In this case you don't have an aggregate type but does the stream id represent the projection partition. Eg stream id: 'category-someCategory'. The type of stream might be used for this. But it feels a bit hackish to use type for this. Do you plan to support such projection streams to? Or do you plan to project always to document(s)? It is fancy but I don't really need projections to streams to be honest.
I don't mind updating this. I can make the field optional in the sql script and support both a generic an non-generic version of the AppendEvent method. We can even support a version wher you can provided the stream type as string later.
Do you want to support some kind of db upgrade? I don't really need it yet

This is in, and I made the one line change to fix the test;)

Thx :)


Automated cherry pick of #8412: bugfix:

Cherry pick of #8412 on release/3.4.
#8412: bugfix:

Codecov Report

Merging #8414 into release/3.4 will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@              Coverage Diff               @@
##           release/3.4   #8414      +/-   ##
==============================================
- Coverage         6.22%   6.16%   -0.06%
==============================================
  Files              759     150     -609
  Lines           117145   21108   -96037
==============================================
- Hits              7289    1301    -5988
+ Misses          109197   19658   -89539
+ Partials           659     149     -510

Flag
Coverage Δ

#aFlag
6.16% <0.00%> (-0.06%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/db/caller.go
22.43% <ø> (ø)

pkg/cloudcommon/db/db_dispatcher.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/domain.go
2.73% <0.00%> (+0.07%)
:arrow_up:

pkg/cloudcommon/db/metadata.go
5.04% <0.00%> (-0.05%)
:arrow_down:

pkg/cloudcommon/db/metadataresource.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/modelbase.go
4.59% <0.00%> (-0.09%)
:arrow_down:

pkg/cloudcommon/db/namevalidator.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/opslog.go
1.37% <0.00%> (-0.01%)
:arrow_down:

pkg/cloudcommon/db/project.go
0.00% <0.00%> (ø)

pkg/cloudcommon/db/scoperesource.go
0.00% <ø> (ø)

... and 531 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 0e3aa96...00be049. Read the comment docs.

/lgtm
/approve


Support for leap-years

The calendar is currently a day off for 2016. It thinks that today (May 6) is a Saturday, but it is actually a Friday.

From the demo site:

Can you give a repro?

Don't think this is an issue; this was fixed by the moment refactors

Yep, I was apparently stuck on an old version. It's not an issue in the current version. Thanks!


goto definition opens duplicate preview window

Type: Bug

goto definition
move preview window to new tab group
goto definition
BUG: duplicate window is opened

VS Code version: Code 1.85.2 (8b3775030ed1a69b13e4f4c628c612102e30a681, 2024-01-18T06:40:10.514Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Connection to 'wsl+centos7' could not be established
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
47.85GB (8.10GB free)

Process Argv

Screen Reader
no

VM
0%

Connection to 'wsl+centos7' could not be established

Item
Value

Remote
WSL: CentOS7

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)

Memory (System)
23.40GB (10.40GB free)

VM
0%

Item
Value

Remote
WSL: CentOS7

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)

Memory (System)
23.40GB (10.40GB free)

VM
0%

Item
Value

Remote
WSL: Rocky9

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz (6 x 2904)

Memory (System)
23.40GB (10.40GB free)

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

vscode-nginx-conf
ahm
0.3.5

remote-containers
ms-
0.327.0

remote-ssh
ms-
0.107.1

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.9

vscode-remote-extensionpack
ms-
0.25.0

remote-server
ms-
1.5.0

composer-php-vscode
DEV
1.45.15192

intelli-php-vscode
DEV
0.12.15062

phptools-vscode
DEV
1.45.15192

profiler-php-vscode
DEV
1.45.15192

gitlens
eam
14.9.0

EditorConfig
Edi
0.16.4

autoscrolldown
fox
1.2.1

vscode-clangd
llv
0.1.28

cpptools
ms-
1.19.9

cpptools-extension-pack
ms-
1.3.0

command-variable
rio
1.62.0

edit-with-shell
ryu
1.3.0

(2 theme extensions excluded)

https://github.com/microsoft/vscode/assets/1088194/c1f3ce5a-d591-497f-85df-99fb5c38faea

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.87.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This setting: workbench.editor.revealIfOpen

no. please reopen. you misunderstand this report.
i still want it to reveal it if it's open.
the BUG is that I don't want to open a duplicate window if there already is one.


How does one set up google tag for adwords

Couldn't find examples or documentation about this

To set up Google Tag Manager documentation

To set up Google Tag Manager follow their documentation. At the end, copy their HTML snippet and insert it into _app.tsx.

Google's documentation for Google Tag Manager will answer those questions.

The question I mean to ask is how can I reference a function inside an island if it's defined in a script as text in _app.tsx?


[harvester node driver] unable to deploy v2 charts (i.e. monitoring v2, longhorn)

Rancher Server Setup

Rancher version:v2.6-head (06e19b0)
Installation option (Docker install/Helm Chart):docker

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:n/a

Information about the Cluster

Kubernetes version:v1.21.4
Cluster Type (Local/Downstream):downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):harvester node driver

Describe the bug

v2charts (i.e. monitoring) are unable to deploy on clusters deployed via harvester node driver

To Reproduce

setup a harvester cluster
import the cluster into rancher via virtualization management
enable harvester node driver
provision a cluster rke2 via the harvester node driver (at least 6vcpu for the worker node)
deploy a v2 chart like monitoring once the cluster is active

Result
(for monitoring)

logs don't show up for the user when the chart starts to deploy
crd deploys fine, but monitoring chart does not finish deploying.

Expected Result

v2 charts should be able to deploy on the cluster
Screenshots

Additional context

I was also unable to uninstall the bad deployment of monitoring after the first version failed to deploy properly. I will try to repro this on a new setup tomorrow

on the bare-metal Harvester cluster, both monitoring v2 and longhorn are a built-in component of the Harvester, can we verify using other charts instead, thanks.

I was able to deploy the monitoring app and logging app from the marketplace, probably it is related to the cluster resources, the default CPU and memory of the RKE2 node are 2 and 4 respectively,  both longhorn and monitoring require a certain amount of resources.

retested on a larger node, and it seems to work fine. closing this issue


change the timing of sorting logits

This PR fixes #1179 .
There is a bug in the way sampling parameters are applied to logits.
The logits are sorted before the parameters are applied, so there are in danger of using other input's parameters.
For example, assume that the following 4 inputs are in a batch, in this order :
<greedy, frequency penalty = 0.0>, <random, frequency penalty = 0.0>, <greedy, frequency penalty = 1.0>, <random, frequency penalty = 1.0>
Before applies the frequency penalty, logits are sorted by sampling type, such as GREEDY, RANDOM, or BEAM
Logits : <greedy, frequency penalty = 0.0>, <greedy, frequency penalty = 1.0>, <random, frequency penalty = 0.0>, <random, frequency penalty = 1.0>
However, the sampling parameters do not change their order.
Parameters : <greedy, frequency penalty = 0.0>, <random, frequency penalty = 0.0>, <greedy, frequency penalty = 1.0>, <random, frequency penalty = 1.0>
Therefore, the frequency penalty is used in the wrong order, which changes the final result to something unexpected.
results : <greedy, frequency penalty = 0.0>, <greedy, frequency penalty = 0.0>, <random, frequency penalty = 1.0>, <random, frequency penalty = 1.0>
I change the timing of the sorting to just the beginning of the final sampling function(=_sample)

Thanks for reporting this. This is indeed a bug. I'll test and review the PR later today.


Add launch confirmation setting

This PR adds a setting to toggle the new feature introduced in v2.6.0 which displays a confirmation window asking if you want to launch a Roblox instance even though one is already running. This PR also adds strings for the feature.
Closes #2060

How do you install this?

Didn't see this but I've already done this myself, thanks though


UI-7645 - Refactor calculated measures migration

Before: the logic to migrate calculated measures is defined in the self-sufficient migrateCalculatedMeasures, in which a lot of the logic to go through and update each widget/dashboard is duplicated.
After: the logic to migrate calculated measures is split in two parts => 1. update the widget/dashboard MDX within the corresponding callbacks to avoid duplicating that logic, and 2. migrate the calculated_measures folder itself.
One of the nice things about not duplicating the logic of going through each dashboard/widget, is that it avoids having to re-parse/stringify and serialize/deserialize each saved dashboard and widget.
It also avoids the immutability issues described here.
Since this logic is not tested at the calculated measures level anymore, a bunch of test files are removed.
Ultimately, in a separate PR, we should test the whole migrate_50_to_51 migration.

Have you tried to run the CLI and see if this works in its current state (for what's implemented)?

I intend to do that when everything is wired, in this branch.

What do you mean by "the variables related to calculated measures"?

measureToCubeMapping and namesOfCalculatedMeasuresToMigrate


Add lyrics data layer

Using git as a data store (michaelfromyeg/lyrics), create a custom lyrics and rhymes database. Try pulling from there first; on missing, query Genius and save. Allow manual uploads to this DB.

Lyrics are definitely totally broken right now, so this needs to happen.
Another harder idea: use ML to "listen" to songs and highlight the rhymes in that fashion. Actually seems feasible...


Update babel config

Details

This PR reduces the number of (de)optimizations Babel does with the web bundle, by explicitly telling babel to use default targets
Current browsers cover a lot modern syntax features natively and it does not need to be transpiled
If we don't explicitly tell Babel to target defaults, it targets an unnecessary wide range of dead/obsolete browser versions
(This is due to backwards compatibility with previous babel versions. Starting with Babel 8 the default behavior of will be targets: defaults)

Remove unneeded dev dependencies
Add web specific babel presets
Use separate babel config for web

Related Issues

N/A
Automated Tests

Tests aren't needed because there are no source changes
Only the build configuration changed and it can be verified by running build/test scripts

npm build should build a useable we bundle
npm test should still run the tests
importing Onyx in projects (like App) should not raise errors/warnings

Linked PRs

I've tried this in App locally, but I'm not sure how to prove that it works in App - I think in order to test this in App someone need to publish new Onyx version and then I can create a PR demonstrating the new version works

I'm still confused on what the plan is for this PR.

someone need to publish new Onyx version

Can you do this? Either let's move forward with merging this, or just close it out.

someone need to publish new Onyx version

Can you do this? Either let's move forward with merging this, or just close it out.

I can't publish, but I can fix the PR conflicts so we can merge this

I am pretty sure react-native-onyx is automatically published every time a PR is merged.


Add library versions endpoint

Coverage increased (+0.4%) to 61.429% when pulling b7696556fff61de0158ddb2a98ec50966970283b on suda/ch83/add-library-version-method-in-client into 9e2dba4c3e7f15e73fca5fed0749ce206509628b on master.


Unable to remove splashscreen

Hi i'm trying to remove this default splashscreen when i build an .exe file.
please any help would be appreciated.

Unfortunately, due to the limited amount of time of the maintainers and the limited amount of Electron Forge specific information present in this issue, we cannot help debug your app at this time. Instead, you should consider using one of the community forums, as there are more people there available to answer questions.

i have same problem, any solution?


feat: Questionnaire page

resolves #793

Thanks for the changes! I think we should wait for #884 to be closed before moving forward so that we can add proper models to the form inputs.


V0.2 visualization-0.1

Description

Generate dashboard of given data. Basically, there are 3 steps in this process:

Data pre-processing. Generate summary data &  index-holder name mapping file.
Identify scenario. Start visualization.
Dashboard rendered. Since different scenario has different data features. Charts and front-end style are varied.
Each scenario has a specific file to display charts. Besides, a common-helper file provides shared function between different scenarios.

Detail doc&example could refer to maro/docs/source/dashboard_visualization
Linked issue(s)/Pull request(s)

issue_number

Type of Change

[ ] Non-breaking bug fix
[ ] Breaking bug fix
[x] New feature
[ ] Test
[ ] Doc update
[ ] Docker update

Related Component

[x] Simulation toolkit
[ ] RL toolkit
[ ] Distributed toolkit

Has Been Tested

OS:

[x] Windows
[ ] Mac OS
[ ] Linux

Python version:

[x] 3.6
[ ] 3.7

Key information snapshot(s):

Needs Follow Up Actions

[ ] New release package
[ ] New docker image

Checklist

[x] Add/update the related comments
[ ] Add/update the related tests
[x] Add/update the related documentations
[ ] Update the dependent downstream modules usage

Fulfill the pr description first. And add the reviewer and related tags.

Cross review with @romic7x , @Jinyu-W


gateway-api: De-flake HTTPRouteRequestMultipleMirrors test

This commit is to add the runtime fraction value to ensure the request is mirrored to all downstream clusters.
Fixes: #28374

/test


Text box background not restored when switching pages

Describe the bug
When switching pages to a page with a text box, the text box background fill is not restored
Device hardware

MCU: ESP32

Display with link: Adafruit 3.5" 480x320 TFT FeatherWing
https://learn.adafruit.com/adafruit-3-5-tft-featherwing/overview

GUIslice config selected:  `esp-tftesps-default-stmpe610.h'

Test Case:
textBoxTest1.zip
Load test case on hardware, display should come up with yellow text on a blue background and a LOG button. Pressing the LOG button takes you to a page with a text box. The text box should have a black background with yellow text. Pressing the TEXT button adds more text.
Pressing EXIT takes you back to the main screen. Pressing LOG again takes you to the log screen, but this time the text box has a blue background fill, with yellow/black text. Pressing TEXT adds a line of text, and restores the proper black background fill.
Additional info
Arduino 1.8.12
GuiSlice <IP_ADDRESS>

Hi - Thanks for taking the time to create a testcase.
I am out of town at the moment so can’t run your test case, but perhaps you could try the following modification to your /src/elem/XTextbox.c  file line 464 (Latest version on GitHub) and let me know if it works differently for you?
From:
if (pBox->nRedrawRow == XTEXTBOX_REDRAW_ALL) {

To:
if ((pBox->nRedrawRow == XTEXTBOX_REDRAW_ALL) ||  (eRedraw == GSLC_REDRAW_FULL)) {

Calvin and Ted:
I tested Ted's sample with the code change Calvin recommended and it runs correctly.
I have attached the new version of XTextbox.c to save you the effort.
You just need to confirm things are working for you.
Paul--
XTextbox.zip

Excellent. That fixed it.
Thanks!
Ted

Fix has been merged.


Updated metadata-extractor url

metadata-extractor moved to github

Thanks for updating the links. Can confirm new details are correct and preferred.


Possible issue with prompt tuning with left padding

System Info
peft version 0.7.0
Who can help?
@pacman100 @BenjaminBossan
Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] An officially supported task in the examples folder
[ ] My own task or dataset (give details below)

Reproduction
I believe the current implementation for prompt tuning is suboptimal for causal language models, because of left padding. In the original paper from Lester et al, prompt tuning is proposed as a method to prepend prompt tokens $P$ to an input $X$ to get the best performance for the task of generating $Y$. Note that the paper only implemented prompt tuning for seq2seq models, specifically for T5. Now with causal language models, you typically have a decoder-only architecture and thus left padding. For example, for the example notebook on prompt tuning for BLOOM (examples/causal_language_modeling/peft_prompt_tuning_clm.ipynb), here is how one input looks like:
<pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad>Tweet text : Couples wallpaper, so cute. :) #BrothersAtHome Label : no complaint</s>
The current prompt tuning code simply prepends prompt embeddings to the input sequence after padding, so this is equivalent to having something like:
Prompt<pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad><pad>Query
This seems very sub-optimal. Also, this leads to a different kind of prompt conditioning for training time and test time inputs, so it might even be wrong. I was wondering if this has been investigated. I'm happy to take up benchmarking to see what performance you might get if you can somehow prepend the prompt embeddings after padding. I believe PEFT should atleast add a warning right now that prompt tuning with causal LM is not the same as prompt tuning with seq2seq.
Expected behavior
Prompt tokens should be prepended right before input query, or PEFT should atleast provide a warning that prompt tuning for causal LMs is suboptimal with padding.

I haven't worked with prompt tuning yet, so only have theoretical knowledge. In general, the token ids are already padded when they are passed to the PEFT model, right? So we would have to identify the right place to inject the prompt tokens, thinking about edge cases like max token count.
I tried to jump into the debugger to where I thought this is happening and ran the decoder code but the debugger was not reached, so I think our tests don't even cover this case yet. If you have some idea how to work on this, it would be great. If the best feasible solution is a warning or an entry in the docs, that would also be fine.

Yes, the token ids are already padded, so we'd need an ad-hoc implementation that needs to use padding token id (maybe passed through kwargs?) and then navigate to the first instance of a non-padding token for each sequence in the mini-batch. If PEFT is supporting prompt tuning in PeftModelForCausalLM, I feel like this is an important feature to have (almost zero chance that training is done without padded sequences). I'll see how this looks and make a PR. If it ends up being too ugly, then we can just add the warning.

not stale


Modify Environment Variables (for example $env:PSModulePath) on Linux

Hi all,
I think it would be great if you can change Environment Variables (accessed for example by $env:Name or Get-ChildItem env:) on Linux.
For example to set there values a new configuration file in /etc ?
On Windows I can change for example PSModulePath and add a custom path. The only option on Linux is to create a profile ps1 file for all users.
Thank you.

Can I suggest that you change the title of your issue to reflect the fact that you're looking for PowerShell to introduce a profile-independent way to persistently define environment variables?
A few thoughts:

Environment variables are by definition shell/application-agnostic and are seen by all descendant processes, irrespective of what shell/application create them.

PowerShell "listens to" only 2 environment variables, $env:PSModulePath being one of them.

From what I understand, Linux environments (not all of them?) already have file /etc/environment as a system-wide, shell-independent mechanism for defining environment variables.

That said, if the environment variables are truly only used by PowerShell, then the system-wide PowerShell profile - $profile.AllUsersAllHosts - arguably is the right place to define them.

This solution would also work for macOS, which doesn't have a system-wide mechanism for defining environment variables (anymore).

I tried setting an environment variable like this on an Ubuntu machine:
[System.Environment]::SetEnvironmentVariable('ASPNETCORE_ENVIRONMENT', 'HypervDev', [System.EnvironmentVariableTarget]::Machine)
I was hoping this would edit the /etc/environment file to set the environment variable system wide.

Unfortunately .NET Core have yet to implement a method to set environment variables in Unix systems. The documentation for those methods states that applying values to anything other than the current process is only supported on windows. :frowning_face:

I tried setting an environment variable like this on an Ubuntu machine: [System.Environment]::SetEnvironmentVariable('ASPNETCORE_ENVIRONMENT', 'HypervDev', [System.EnvironmentVariableTarget]::Machine)
I was hoping this would edit the /etc/environment file to set the environment variable system wide.

Is there any update on this or any work around

No, you'd need to file an issue in the https://github.com/dotnet/runtime repository to request the functionality be expanded for non-Windows operating systems.
A workaround for now would be to modify the /etc/environment file manually instead.

I've written a function which can be used to accomplish this when running elevated (as su) as part of my xEnvironmentVariables Module. I don't know how helpful it is to anyone, but thought I'd share Set-NixEnvironmentVariable.ps1. Hope this is helpful to anyone landing here looking for a solution.

Can we re-open this as this still seem to be an issue?


Remove duplicate healthcheck routes

Remove duplicate healthcheck routes
What type of PR is this?
(cleanup)
What this PR does / why we need it?
Which Jira/Github issue(s) this PR fixes?
Fixes #
Special notes for your reviewer:
Pre-checks (if applicable):

[ ] Tested latest changes against a cluster
[ ] Ran make generate command locally to validate code changes
[ ] Included documentation changes with PR

Codecov Report

Merging #13 (e3ae679) into master (ba400e3) will increase coverage by 0.44%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
+ Coverage   38.63%   39.08%   +0.44%
==========================================
  Files           8        8
  Lines         176      174       -2
==========================================
  Hits           68       68
+ Misses        105      103       -2
  Partials        3        3

Impacted Files
Coverage Δ

pkg/cli/serve/serve.go
13.79% <0.00%> (+0.45%)
:arrow_up:

/lgtm

/approve


[Epic] Cloudflare Durable-Object based version of SBD server

[x] #27
[x] #28
[x] #29

3/3 issue are complete so, I'll proceed to close this issue.
All the test feedback will be tracked in subsequent issues.


Simplify gradle config

Use extension method to simplify withType
apiVersion & languageVersion need not be declared, they will follow the kotlin plugin' version by default.
wrapper can be removed also as below.

Thanks for keeping an eye on things. Generally I think it's useful to pin the gradle version and other settings and worry less on small details unless there's a functional difference. Will close for now.


rm: linux: add page for disk encryption support

Signed-off-by: Ricardo Salveti<EMAIL_ADDRESS>Readiness

[ ] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Add missing documentation to cover disk encryption on lmp.
Checklist
Optional. Add a 'x' to steps taken.
You can fill this out after opening the PR. "Did I..."

[ ] Run spelling and grammar check, preferably with linter.
[ ] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[ ] Review for wordiness
[ ] Match tone and style of page/section.
[ ] Run make linkcheck.
[ ] View HTML in a browser to check rendering.
[ ] Use semantic newlines.
[ ] follow best practices for commits.

[ ] Descriptive title written in the imperative.
[ ] Include brief overview of QA steps taken.
[ ] Mention any related issues numbers.
[ ] End message with sign off/DCO line (-s, --signoff).
[ ] Sign commit with your gpg key (-S, --gpg-sign).
[ ] Squash commits if needed.

[ ] Request PR review by a technical writer and at least one peer.

Docs for 6eef459f56c148a1872e8ce265499d69265033a5 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1873/docs/artifacts/html/index.html

Docs for 02bb54baf90ff51a78806ae5c82ad26ac0201ff2 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1883/docs/artifacts/html/index.html

Docs for 064f1a37f2ecb86886adb20df5f05293bbe1a9b1 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1884/docs/artifacts/html/index.html

Docs for a9e40a2765e08ad86339bb0b5dab0f646281b34f are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1885/docs/artifacts/html/index.html

Docs for ac86e74cabd1027fe77488a2504c6ab6fc4a224e are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1886/docs/artifacts/html/index.html

Docs for 7a7430f664a53881bd62a16e98ed034cf0299196 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1888/docs/artifacts/html/index.html

Docs for ae7c59233949f7b418170f8ab7613ca792aabc0f are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1889/docs/artifacts/html/index.html

Docs for 385b0728cf979fad40186d979b20f1e7d6f1a2bd are browsable at: https://ci.foundries.io/projects/fio-docs/builds/1890/docs/artifacts/html/index.html


Generate Asset and Order Page Image for OGP

Generate OGP image for better share experience

This is only for the asset page.
Collection and mypage is just example of iframe, so no need to implement.


Initialize socket_factory_ to nullptr

This fixes a segfault when trying to use --connect-proxy-destinations, replacing it with a DCHECK error.
I wasn't able to figure out how to actually get this functionality operating, in the short amount of time I had to try. But this at least fixes the segfault.

Let's discuss internally about making changes to the source of truth

(fixed internally)


show download instructions based on OS

will help to clean-up the huge mess on page 2
for false-positives we can have a small button "show all"

Also using nice icons (eye candy), might increase the user flux.

I'd rather favor a clean download page which makes clear what to do for each platform. Otherwise we end up having logic in the content..

Well it could be done via Javascript that operates on div ids, but I agree that this feature is controversial.

FYI: there has been a recent PR at dlang.org that adds this OS detection to the frontpage
https://github.com/dlang/dlang.org/pull/1437
Maybe we could use our new macro tags to separate the logic from the content?

Yes, but as far I understand, the detection still has to be done via JS? Though, I'm not familiar with macro tags. Where can I read more, see examples, etc. ?

It had been developed very recently, but this
https://github.com/stonemaster/dlang-tour/blob/master/CONTRIBUTING.md#custom-mustache-macros
Is probably the best place

Have a look at https://github.com/stonemaster/dlang-tour/blob/master/CONTRIBUTING.md and the Custom Mustache macro section

Thanks for the pointers.

Also please see our point from the First 5 minutes session.

First steps shouldn't be about compiling b/c you can just run the examples in the browser. Installation should be handled by dlang.org, maybe just append a transition from the tour to using D on your own machine.

From our perspective it would make more sense to just have a small hint (link to download page) on how to install a D compiler. But of course dlang's download page leaves open many questions that you're trying to address in Install D locally.
What we need for dlang is a good landing page after downloading something.
We still have the old platform pages, e.g. DMD Compiler for Linux, but they're a mess.

This issue was moved to dlang-tour/english#60


Add support for Raw Events

Same as https://github.com/jimblandy/perf-event/pull/25

Again, thanks for the PR! I'll put out a new release later tonight when I have the time.


Automatically pick up P1 schema from known location

prisma/datamodel.prisma
prisma/datampdel.graphql
read prisma/prisma.yml for datamodel which contains path

fixed in<EMAIL_ADDRESS>


echo command output nothing in i.MX8M Mini kernel which loaded by uuu

We try to echo something under i.MX8M Mini EVK Linux kernel which loaded by uuu, but output nothing.
https://community.nxp.com/thread/513470

Did you use -v option?
uuu will capture command's output to uuu console. but only -v option show it.

Command echo does output in uuu console running with option -v.


Binding to empty key sequences in Termite

Zim commit ref: 071ddaf0acd38e3d9b453717bfa52a344e6d15d4
gist of .zimrc: https://ptpb.pw/FTD0
Zsh version: zsh 5.2 (x86_64-unknown-linux-gnu)
gist of .zshrc: https://github.com/Tmplt/dotfiles/blob/desktop/zsh/.zshrc
$(uname -mosr): Linux 4.7.4-1-zen x86_64 GNU/Linux

Description
Some keybindings for modules/{input,history-substring-search} do not work in Termite.
Granted, this means that some features do not work in Termite, however, using tmux fixes it.
Steps to reproduce
Open termite which uses zim; the following will be printed:
/home/tmplt/.zim/modules/input/init.zsh:bindkey:91: cannot bind to an empty key sequence
/home/tmplt/.zim/modules/input/init.zsh:bindkey:92: cannot bind to an empty key sequence
/home/tmplt/.zim/modules/history-substring-search/init.zsh:bindkey:14: cannot bind to an empty key sequence
/home/tmplt/.zim/modules/history-substring-search/init.zsh:bindkey:15: cannot bind to an empty key sequence

I don't use this emulator and I'm not really one for debugging these (implementation specific) issues. If you can find a solution, please submit a PR and I'll gladly merge it, provided it doesn't break other terminals.

It's worth noting that while the error messages aren't printed in it, the keybinds do not work (Left skips over whole words, and Up doesn't use substring history) in urxvt for me. They do work in st and xterm, though.
Is anyone able to replicate this?

(u)rxvt is seemingly the devil of compatibility, so I'm not surprised that it also has issues. Please let me know if you do find a fix for these terminals (probably different bind chars?) and I'll merge it as soon as possible.

Playing around with echoti within .zim/modules/input/init.zsh it appears that these keybinds are not possible in both termite and urxvt:

key_info[Up],
key_info[Down],
key_info[Left] and
key_info[Right].

E.g., running echoti kccu1 somewhere in input/init.zsh prints nothing. However, running it after zim has started up prints expected results.
The results are the same if I'd move input to the tail-end of zmodules in ~/.zimrc, in case module load order mattered, but that's not the case.
I'll dabble with this more tomorrow unless it's been solved by then.

This might be an issue with my system. Termite works as expected on my laptop (however, configs are practically the same), urxvt does not, though.
Could someone install termite, load input and check whether the {Up,Down,Left,Right} keybinds works?

@Tmplt I cannot reproduce this issue with termite on my system (no changes to dotfiles). It also functions as expected with the default configuration (from templates folder). I have not tested rxvt.

I had aur/termite-ranger-fix-terminfo-git installed, which I hadn't updated in a while. Updating it (pacaur -S termite-ranger-fix-terminfo-git) fixed the issue.
This is still an issue for urxvt, though. I'll open a new issue for that.


Addition of quick button for population quantity

Requesting a button to be added to the suite of annotation quick click buttons to add in a population-quantity detail with a free-entry field for integer values.

Added in release 1.1.10

Fantastic! Thank you, Brian.
-Sarah
On Tue, Mar 1, 2022 at 2:03 PM Brian Schlining @.***>
wrote:

Added in release 1.1.10
https://github.com/mbari-media-management/vars-annotation/releases/tag/1.1.10
—
Reply to this email directly, view it on GitHub
https://github.com/mbari-media-management/vars-annotation/issues/127#issuecomment-1055990958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMBVHHHHFSRMGLDBJLMUCBDU52V45ANCNFSM5PVJ72PQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sarah Bingo
RCUH-JIMAR
Deep-sea Animal Research Associate


Show number of workers on top of weblet

Which package/s are you suggesting this feature for?
Dashboard
Is your feature request related to a problem? Please describe
adding workers is not clear, how many workers i just added.

in this picture i added about 2 workers but if want to make sure, i have to scroll down to count them
Describe the solution you'd like
show number of workers beside Worker tab title or beside add button

Work completed:
Added workers optional prop in tabs & applied change in k8s & caprover.

verified on devnet
version : e1cdba0
now no. of workers is shown in the top of the dashboard

user can easily know the no. of added workers
tried also to delete workers after addition to make sure it decrease as well


need to hook to an animation end

like an onEnd callback or end event ?

You can hook into the animation end by assigning a function to  animation.complete.
 animation.complete = function () {
   /*  do your stuff here */
 }

Didn't catch that .... thanks


docs(admin-api/license) Rework licenses admin api doc

Docs ticket: https://konghq.atlassian.net/browse/DOCS-1593
Changes

Changing double quotes (" ") around licenses to single quotes (' ')
Link to deploy a license from license overview
Cleaning up the Admin API reference and examples for clarity, formatting, flow

To do
Test everything.
Previews
Licenses Admin API reference
Licenses examples

@mikefero Heather (@HCloward ) caught an issue when testing the Admin API instructions for applying a license - namely, the double quotes don't work. Fixing that here, and also had the chance now to go through the doc and clean it up a bit. Can you take a quick look?

@mikefero should be good now. Good reminder to remember to come back and test things... I've tested now, it works, and doesn't require users to escape every ", which is nice.


Versionable behavior incorrectly generating 1:1 relationships

One-to-one tables with versionable behaviors generate code which looks for 1:many relationships with pluralized method names causing "method not found" errors.
Same as this issue from propel v1
https://github.com/propelorm/Propel/issues/451

https://github.com/propelorm/Propel/pull/647/files need to be back ported.

I think this issue should be closed.

I haven't had time to test in detail, but I think the fix for this broke
something.
I'm using a MSSQL (Azure) database for a application I'm building.  Removing
the versionable behavior makes everything work, with it in place nothing
was being inserted.
On Tuesday, August 2, 2016, Rafael Nery<EMAIL_ADDRESS>wrote:

I think this issue should be closed.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/propelorm/Propel2/issues/1109#issuecomment-236940735,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZPj9cUqEelUG66Dma0Z6SJSnHJWk22ks5qb2HngaJpZM4HGbIk
.


Suggest installing package that provides libbabeltrace.so

Only the -devel package provides libbabeltrace.so and libbabeltrace-ctf.so. The non-devel packages provide versioned shared objects (such as libbabeltrace.so.1.0.0) only.

If I were building and end-user application and packing that in an rpm, to what babeltrace package would I set my dependencies?

It would be just libbabeltrace. If an application just needs a shared library, it should only depend on the main shared library package and dlopen (or be dynamically linked to) the fully version-qualified so name (libbabeltrace.so.1.0.0).

It would be just libbabeltrace. If an application just needs a shared library, it should only depend on the main shared library package and dlopen (or be dynamically linked to) the fully version-qualified so name (libbabeltrace.so.1.0.0).

Preferably we can have libbabeltrace as a dependency then.
I wonder what would be the appropriate value to refer to the library so it works on a wide range of platforms:
https://github.com/tmds/Tmds.DotnetTrace/blob/d9106e9a8208a91eb987222021670c16151cd2dc/src/Tmds.Babeltrace/Interop.cs#L8-L9

I think it that an open bug https://github.com/dotnet/corefx/issues/16123

First DllImport will try to find the exact name: https://github.com/dotnet/coreclr/blob/980def6282c9c64d38a218c3f37093d130222458/src/vm/dllimport.cpp#L6087
Then it will try variations with prefix and suffix: https://github.com/dotnet/coreclr/blob/980def6282c9c64d38a218c3f37093d130222458/src/vm/dllimport.cpp#L6183-L6188
Let's see what would be common on different platforms:
Fedora:
$ rpm -ql libbabeltrace
/usr/lib64/libbabeltrace-ctf-metadata.so.1
/usr/lib64/libbabeltrace-ctf-metadata.so.1.0.0
/usr/lib64/libbabeltrace-ctf-text.so.1
/usr/lib64/libbabeltrace-ctf-text.so.1.0.0
/usr/lib64/libbabeltrace-ctf.so.1
/usr/lib64/libbabeltrace-ctf.so.1.0.0
/usr/lib64/libbabeltrace-dummy.so.1
/usr/lib64/libbabeltrace-dummy.so.1.0.0
/usr/lib64/libbabeltrace-lttng-live.so.1
/usr/lib64/libbabeltrace-lttng-live.so.1.0.0
/usr/lib64/libbabeltrace.so.1
/usr/lib64/libbabeltrace.so.1.0.0
/usr/share/doc/libbabeltrace
/usr/share/doc/libbabeltrace/API.txt
/usr/share/doc/libbabeltrace/std-ext-lib.txt
/usr/share/licenses/libbabeltrace
/usr/share/licenses/libbabeltrace/LICENSE
/usr/share/licenses/libbabeltrace/gpl-2.0.txt
/usr/share/licenses/libbabeltrace/mit-license.txt

Ubuntu:
$ dpkg-query -L libbabeltrace1
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libbabeltrace-dummy.so.1.0.0
/usr/lib/x86_64-linux-gnu/libbabeltrace-lttng-live.so.1.0.0
/usr/lib/x86_64-linux-gnu/libbabeltrace.so.1.0.0
/usr/share
/usr/share/doc
/usr/share/doc/libbabeltrace1
/usr/share/doc/libbabeltrace1/changelog.Debian.gz
/usr/share/doc/libbabeltrace1/changelog.gz
/usr/share/doc/libbabeltrace1/copyright
/usr/lib/x86_64-linux-gnu/libbabeltrace-dummy.so.1
/usr/lib/x86_64-linux-gnu/libbabeltrace-lttng-live.so.1
/usr/lib/x86_64-linux-gnu/libbabeltrace.so.1

libbabeltrace.so.1 and libbabeltrace-ctf.so.1 seem interesting. If the lib follows semver, that name won't change until there is a breaking change. So we can use those for BabeltraceLibrary and BabeltraceCtfLibrary and things should work.
Can you give this a try?

I've updated the library names (https://github.com/tmds/Tmds.DotnetTrace/pull/5).


Publish .d.ts files

In order to improve the experience of TypeScript users, we are compiling
.d.ts files from the JSDoc and distributing them with the package
This PR drops the bundled version, as we believe that to be entirely unnecessary.
Background

We'd like to ship the library with .d.ts files, to allow improved experience for TypeScript users

Solution

Create .d.ts files from the source files

How to verify

Check out this branch
npm ci
npm run build
Observe that there are .d.ts files in the types/ folder
npm pack
Observe that the .d.ts files are included in the package
npm link
In a sinon checkout:

npm link @sinonjs/fake-timers
npm test
Observe that tests still pass

This PR drops the bundled version, as we believe that to be entirely unnecessary.

Probably a breaking change (I assume it'll break CDN scripts etc)

This PR drops the bundled version, as we believe that to be entirely unnecessary.

Probably a breaking change (I assume it'll break CDN scripts etc)

Probably a breaking change (I assume it'll break CDN scripts etc).

I'm not sure I follow. Could you elaborate?

Probably a breaking change (I assume it'll break CDN scripts etc).

I'm not sure I follow. Could you elaborate?

Could you post a sample of how the generated .d.ts file looks?

export namespace timers {
    const setTimeout: any;
    const clearTimeout: any;
    const setInterval: any;
    const clearInterval: any;
    const Date: any;
}
/**
 * @param start {Date|number} the system time - non-integer values are floored
 * @param loopLimit {number}  maximum number of timers that will be run when calling runAll()
 */
export function createClock(start: Date | number, loopLimit: number): {
    now: number;
    timeouts: {};
    Date: any;
    loopLimit: number;
};
/**
 * @param config {Object} optional config
 * @param config.now {number|Date}  a number (in milliseconds) or a Date object (default epoch)
 * @param config.toFake {string[]} names of the methods that should be faked.
 * @param config.loopLimit {number} the maximum number of timers that will be run when calling runAll()
 * @param config.shouldAdvanceTime {Boolean} tells FakeTimers to increment mocked time automatically (default false)
 * @param config.advanceTimeDelta {Number} increment mocked time every <<advanceTimeDelta>> ms (default: 20ms)
 */
export function install(config: {
    now: number | Date;
    toFake: string[];
    loopLimit: number;
    shouldAdvanceTime: boolean;
    advanceTimeDelta: number;
}, ...args: any[]): {
    now: number;
    timeouts: {};
    Date: any;
    loopLimit: number;
};
export function withGlobal(_global: any): {
    timers: {
        setTimeout: any;
        clearTimeout: any;
        setInterval: any;
        clearInterval: any;
        Date: any;
    };
    createClock: (start: Date | number, loopLimit: number) => {
        now: number;
        timeouts: {};
        Date: any;
        loopLimit: number;
    };
    install: (config: {
        now: number | Date;
        toFake: string[];
        loopLimit: number;
        shouldAdvanceTime: boolean;
        advanceTimeDelta: number;
    }, ...args: any[]) => {
        now: number;
        timeouts: {};
        Date: any;
        loopLimit: number;
    };
    withGlobal: typeof withGlobal;
};

Could you post a sample of how the generated .d.ts file looks?

export namespace timers {
    const setTimeout: any;
    const clearTimeout: any;
    const setInterval: any;
    const clearInterval: any;
    const Date: any;
}
/**
 * @param start {Date|number} the system time - non-integer values are floored
 * @param loopLimit {number}  maximum number of timers that will be run when calling runAll()
 */
export function createClock(start: Date | number, loopLimit: number): {
    now: number;
    timeouts: {};
    Date: any;
    loopLimit: number;
};
/**
 * @param config {Object} optional config
 * @param config.now {number|Date}  a number (in milliseconds) or a Date object (default epoch)
 * @param config.toFake {string[]} names of the methods that should be faked.
 * @param config.loopLimit {number} the maximum number of timers that will be run when calling runAll()
 * @param config.shouldAdvanceTime {Boolean} tells FakeTimers to increment mocked time automatically (default false)
 * @param config.advanceTimeDelta {Number} increment mocked time every <<advanceTimeDelta>> ms (default: 20ms)
 */
export function install(config: {
    now: number | Date;
    toFake: string[];
    loopLimit: number;
    shouldAdvanceTime: boolean;
    advanceTimeDelta: number;
}, ...args: any[]): {
    now: number;
    timeouts: {};
    Date: any;
    loopLimit: number;
};
export function withGlobal(_global: any): {
    timers: {
        setTimeout: any;
        clearTimeout: any;
        setInterval: any;
        clearInterval: any;
        Date: any;
    };
    createClock: (start: Date | number, loopLimit: number) => {
        now: number;
        timeouts: {};
        Date: any;
        loopLimit: number;
    };
    install: (config: {
        now: number | Date;
        toFake: string[];
        loopLimit: number;
        shouldAdvanceTime: boolean;
        advanceTimeDelta: number;
    }, ...args: any[]) => {
        now: number;
        timeouts: {};
        Date: any;
        loopLimit: number;
    };
    withGlobal: typeof withGlobal;
};

Probably a breaking change (I assume it'll break CDN scripts etc).

I'm not sure I follow. Could you elaborate?

People dropping in a script tag with https://unpkg.com/<EMAIL_ADDRESS>

Probably a breaking change (I assume it'll break CDN scripts etc).

I'm not sure I follow. Could you elaborate?

People dropping in a script tag with https://unpkg.com/<EMAIL_ADDRESS>

Probably a breaking change (I assume it'll break CDN scripts etc).

I'm not sure I follow. Could you elaborate?

People dropping in a script tag with https://unpkg.com/<EMAIL_ADDRESS>(to be clear, I don't think this is a super important use case, just pointing out that it is a use case, and I'd be careful about breaking it without a major version)

That's fair. I've changed the label, so it'll get released properly

Probably a breaking change (I assume it'll break CDN scripts etc).

I'm not sure I follow. Could you elaborate?

People dropping in a script tag with https://unpkg.com/<EMAIL_ADDRESS>(to be clear, I don't think this is a super important use case, just pointing out that it is a use case, and I'd be careful about breaking it without a major version)

That's fair. I've changed the label, so it'll get released properly

This has been published as<EMAIL_ADDRESS>

This has been published as<EMAIL_ADDRESS>

Trying to upgrade in Jest, I find I'm missing some of the helper types from DT. For reference: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/a896e8760e352dccfd90d1c5816c9cbd4088112f/types/sinonjs__fake-timers/index.d.ts
Specifically I'm missing https://github.com/DefinitelyTyped/DefinitelyTyped/blob/a896e8760e352dccfd90d1c5816c9cbd4088112f/types/sinonjs__fake-timers/index.d.ts#L370-L375 & https://github.com/DefinitelyTyped/DefinitelyTyped/blob/a896e8760e352dccfd90d1c5816c9cbd4088112f/types/sinonjs__fake-timers/index.d.ts#L312-L315
Not sure how to best handle it

somehow add the types/interfaces
manually maintain types def
just rewrite in TypeScript

thoughts?
For reference, Jest usage: https://github.com/facebook/jest/blob/f0dc9932cba828a1c51ef842c00c1ca51b7f2796/packages/jest-fake-timers/src/modernFakeTimers.ts

Trying to upgrade in Jest, I find I'm missing some of the helper types from DT. For reference: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/a896e8760e352dccfd90d1c5816c9cbd4088112f/types/sinonjs__fake-timers/index.d.ts
Specifically I'm missing https://github.com/DefinitelyTyped/DefinitelyTyped/blob/a896e8760e352dccfd90d1c5816c9cbd4088112f/types/sinonjs__fake-timers/index.d.ts#L370-L375 & https://github.com/DefinitelyTyped/DefinitelyTyped/blob/a896e8760e352dccfd90d1c5816c9cbd4088112f/types/sinonjs__fake-timers/index.d.ts#L312-L315
Not sure how to best handle it

somehow add the types/interfaces
manually maintain types def
just rewrite in TypeScript

thoughts?
For reference, Jest usage: https://github.com/facebook/jest/blob/f0dc9932cba828a1c51ef842c00c1ca51b7f2796/packages/jest-fake-timers/src/modernFakeTimers.ts

More generally, all the methods on Clock are missing from the generated types (setSystemTime, countTimers, runToLast etc). While I realize we can probably somehow add that via JSDoc, it might be worth it to just have the source in TS?

More generally, all the methods on Clock are missing from the generated types (setSystemTime, countTimers, runToLast etc). While I realize we can probably somehow add that via JSDoc, it might be worth it to just have the source in TS?

it might be worth it to just have the source in TS?

No thanks

it might be worth it to just have the source in TS?

No thanks

More generally, all the methods on Clock are missing from the generated types (setSystemTime, countTimers, runToLast etc). While I realize we can probably somehow add that via JSDoc

Indeed. The documentation coverage in these libraries is sparing at best.
I thought that if we show the TS community some love, that some of them would contribute back to the Sinon projects in ways that benefits everyone i.e. JSDoc

More generally, all the methods on Clock are missing from the generated types (setSystemTime, countTimers, runToLast etc). While I realize we can probably somehow add that via JSDoc

Indeed. The documentation coverage in these libraries is sparing at best.
I thought that if we show the TS community some love, that some of them would contribute back to the Sinon projects in ways that benefits everyone i.e. JSDoc

How does the mish-mash of TS files from the source package and stuff from DefinitelyTyped co-exist? Who will override and win the battle? Any clue, @SimenB .

How does the mish-mash of TS files from the source package and stuff from DefinitelyTyped co-exist? Who will override and win the battle? Any clue, @SimenB .

I believe the types shipped with a package will win (as they'll be found without trying to resolve @types/x), but I haven't verified

I believe the types shipped with a package will win (as they'll be found without trying to resolve @types/x), but I haven't verified


minor updates to the EH client and EPH

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.github/PULL_REQUEST_TEMPLATE.md
:white_check_mark:Succeeded

.travis.yml
:white_check_mark:Succeeded

client/changelog.md
:white_check_mark:Succeeded

client/examples/batchReceive.ts
:white_check_mark:Succeeded

client/examples/batchSendReceive.ts
:white_check_mark:Succeeded

client/examples/createEpochReceiver.ts
:white_check_mark:Succeeded

client/examples/getHubRuntimeInfo.ts
:white_check_mark:Succeeded

client/examples/iotGetHubRuntimeInfo.ts
:white_check_mark:Succeeded

client/examples/package.json
:white_check_mark:Succeeded

client/examples/sendReceiveWithInteractiveAuth.ts
:white_check_mark:Succeeded

client/examples/sendReceiveWithSPAuth.ts
:white_check_mark:Succeeded

client/examples/simpleSendReceive.ts
:white_check_mark:Succeeded

client/examples/simpleSender.ts
:white_check_mark:Succeeded

client/examples/streamingReceive.ts
:white_check_mark:Succeeded

client/examples/tsconfig.json
:white_check_mark:Succeeded

client/lib/batchingReceiver.ts
:white_check_mark:Succeeded

client/lib/eventHubClient.ts
:white_check_mark:Succeeded

client/lib/eventHubSender.ts
:white_check_mark:Succeeded

client/lib/rhea-promise/index.ts
:white_check_mark:Succeeded

client/lib/util/constants.ts
:white_check_mark:Succeeded

client/lib/util/utils.ts
:white_check_mark:Succeeded

client/package-lock.json
:white_check_mark:Succeeded

client/package.json
:white_check_mark:Succeeded

client/tsconfig.json
:white_check_mark:Succeeded

processor/changelog.md
:white_check_mark:Succeeded

processor/examples/eph.ts
:white_check_mark:Succeeded

processor/examples/tsconfig.json
:white_check_mark:Succeeded

processor/lib/eventProcessorHost.ts
:white_check_mark:Succeeded

processor/package-lock.json
:white_check_mark:Succeeded

processor/package.json
:white_check_mark:Succeeded

processor/tsconfig.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Inconsistent Nouns Defined in documentation.hs

I am not sure if this is an existing issue for this but in /Data/Drasil/Concepts/Documentation.hs, noun phrases like "physical system description" are defined as a commonINP on line 16 where as "specific system description" is defined as a compoundNPNC on line 59. These two ideas should be defined similarly given they are of the same form with an adjective at the start?

It's a work in progress.  Well spotted.

Presently they are defined differently for a reason which essentially boils down to: physical system description comes up in the documentation several times where it requires an abbreviation ("must have" not "may have"), which is where common ideas come into play. The others do not require an abbreviation (that we know of), though it would be simple enough to add them.
However! You are entirely correct about them being some adjective + the same nounPhrase. Which means we will use our compoundNPNC systemdescription with an adjective combinator to build "general system description", "specific system description", and "physical system description" chunks.

I think we've solved this particular issue (the inconsistency was due to the nature of the information necessitating an abbreviation), and the implementations of modifiers will be covered alongside #129


Use the existing UserAdmin model if it's already registered

django.contrib.auth.admin.UserAdmin assumes that some model fields exist that may not exist on consumers' User models returned by get_user_model(). Since this library already unregisters any existing User admin model, we can maintain a reference to any existing User admin model class and use that as the base of the SSOUserAdmin class

Hi @jhhayashi, good point you have. Just to be sure, we're talking about a previous Custom Admin User register from another package to the User model?
I'll merge to dev to make additional tests and update docs.
Thank you for the contribution!


Genetic evolution wont loop

EPOCH 599/600
Average profit 3.889%   Deviation 3.148
Maximum profit 9.149%   Minimum profit -1.130%
Traceback (most recent call last):
File "japonicus.py", line 63, in
gekko_generations(strat, GenerationMethod)
File "/opt/neural/evolution_generations.py", line 144, in gekko_generations
FinalIndividueSettings = reconstructTradeSettings(FinalIndividue)
NameError: name 'reconstructTradeSettings' is not defined

fixed, thanks for the report ^^


Remove trailing empty line in copyright comment (part 5)

Next part of https://github.com/helidon-io/helidon/pull/5324

/trigger

/trigger


Better handling of syntax errors

When the Before Each Test or any test code contains a syntax error, the UI provides an unhelpful error message.

If the test runner can't handle this gracefully, an alternative is doing some syntax checking in the UI before allowing it to be submitted to the test runner.

Yes, that's something I should look into.
Generally though you can open the devtools and find the error


XPI file returned from "jpm sign" is not signed

I am attempting to sign a self-hosted XPI file with jpm sign, and I have the round-trip completing, but the returned XPI file is not signed.
The add-on passes automatic validation and the "Downloading signed files" and "SUCCESS" messages indicate that the "guide-2015.1222.1649.xpi" file should be signed, but it is byte-for-byte identical to the original, unsigned XPI that I submitted.
I'm not certain if this a bug, or if my expectations are wrong. The complete jpm output are pasted below.
The XPI is an older XUL-based overlay that was initially written in 2008 but has been working until Firefox 43.0 due to the signing requirement.
[zip] Building zip: C:\workspace\guide-firefox\build\guide-firefox-2015.1222.1649.xpi
       JPM [info] verbose set
       JPM [info] Signing XPI: C:\workspace\guide-firefox\build\guide-firefox-2015.1222.1649.xpi
       JPM [debug] [API] -> { url: 'https://addons.mozilla.org/api/v3/addons/%7B05e23afc-0001-0040-b97d-6096003164ae%7D/versions/2015.1222.1649/',
         formData:
          { upload:
             { _readableState: [Object],
               readable: true,
               domain: null,
               _events: [Object],
               _maxListeners: undefined,
               path: 'C:\\\workspace\\guide-firefox\\build\\guide-firefox-2015.1222.1649.xpi',
               fd: null,
               flags: 'r',
               mode: 438,
               start: undefined,
               end: undefined,
               autoClose: true,
               pos: undefined } },
         headers: { Authorization: '<REDACTED>', Accept: 'application/json' } }
       JPM [debug] [API] <- { headers:
          { allow: 'GET, PUT, HEAD, OPTIONS',
            'content-type': 'application/json',
            date: 'Tue, 22 Dec 2015 21:49:15 GMT',
            server: 'nginx',
            'set-cookie': '<REDACTED>',
            'strict-transport-security': 'max-age=31536000',
            vary: 'Accept, X-Mobile, User-Agent',
            'x-backend-server': 'ip-172-31-12-253',
            'x-frame-options': 'DENY',
            'content-length': '500',
            connection: 'Close' },
         response:
          { active: false,
            automated_signing: true,
            url: 'https://addons.mozilla.org/api/v3/addons/%7B05e23afc-0001-0040-b97d-6096003164ae%7D/versions/2015.1222.1649/uploads/eb614b0d79eb4610b08c83c93d912f26/',
            files: [],
            passed_review: false,
            pk: 'eb614b0d79eb4610b08c83c93d912f26',
            processed: false,
            reviewed: false,
            valid: false,
            validation_results: null,
            validation_url: 'https://addons.mozilla.org/en-US/developers/upload/eb614b0d79eb4610b08c83c93d912f26',
            version: '2015.1222.1649' } }
       JPM [debug] [API] -> { url: 'https://addons.mozilla.org/api/v3/addons/%7B05e23afc-0001-0040-b97d-6096003164ae%7D/versions/2015.1222.1649/uploads/eb614b0d79eb4610b08c83c93d912f26/',
         headers: { Authorization: '<REDACTED>', Accept: 'application/json' } }
       Validating add-on [          .                                                 ]Validating add-on [          .                                             .   ]Validating add-on [          .                      .                      .   ]Validating add-on [          .                      .                .     .   ]Validating add-on [          .                .     .                .     .   ]Validating add-on [          .                .     .      .         .     .                              Validating add-on [    ..    .             . ..  .  . .    .    ..   .   ...  .]Validating add-on [    ..    .             . ..  .  . .    .    ..   .   ... ..]Validating add-on [ .  .. . ..  ..         .... ..  . .    .   ...  ..   ... ..]JPM [debug] [API] -> { url: 'https://addons.mozilla.org/api/v3/addons/%7B05e23afc-0001-0040-b97d-6096003164ae%7D/versions/2015.1222.1649/uploads/eb614b0d79eb4610b08c83c93d912f26/',  headers: { Authorization: '<REDACTED>', Accept: 'application/json' } }
       Validating add-on [ .. .. . ..  ..         .... ... . ...  .   ...  ..   ... ..]Validating add-on [ .. .. . ..  ..         .... ... . .... .   ...  ..   ... ..]Validating add-on [ .. .. . ..  ..         .... ... . .... . . ...  ..   ... ..]Validating add-on [ .. .. . ..  ..         .... ... . ...... . ...  ..   ... ..]Validating add-on [ .. .. . ..  ..  .      .... ... . ...... . ...  ..   ... ..]JPM [debug] [API] <- { headers:    { allow: 'GET, PUT, HEAD, OPTIONS',
            'content-type': 'application/json',
            date: 'Tue, 22 Dec 2015 21:49:19 GMT',
            server: 'nginx',
            'strict-transport-security': 'max-age=31536000',
            vary: 'Accept, X-Mobile, User-Agent',
            'x-backend-server': 'ip-172-31-28-100',
            'x-frame-options': 'DENY',
            'transfer-encoding': 'chunked',
            connection: 'Close' },
         response:
          { active: true,
            automated_signing: true,
            url: 'https://addons.mozilla.org/api/v3/addons/%7B05e23afc-0001-0040-b97d-6096003164ae%7D/versions/2015.1222.1649/uploads/eb614b0d79eb4610b08c83c93d912f26/',
            files: [ [Object] ],
            passed_review: true,
            pk: 'eb614b0d79eb4610b08c83c93d912f26',
            processed: true,
            reviewed: true,
            valid: true,
            validation_results:
             { errors: 0,
               success: false,
               warnings: 16,
               compatibility_summary: [Object],
               passed_auto_validation: true,
               ending_tier: 5,
               messages: [Object],
               detected_type: 'extension',
               signing_summary: [Object],
               notices: 3,
               message_tree: [Object],
               metadata: [Object] },
            validation_url: 'https://addons.mozilla.org/en-US/developers/upload/eb614b0d79eb4610b08c83c93d912f26',
            version: '2015.1222.1649' } }
       Validating add-on [............................................................]JPM [info] Validation results: https://addons.mozilla.org/en-US/developers/upload/eb614b0d79eb4610b08c83c93d912f26
       Downloading signed files: ...Downloading signed files:   1% Downloading signed files:   2% Downloading signed files:   3% Downloading signed files:   5% Downloading signed files:   6% Downloading signed files:   8% Downloading signed files:   9% Downloading signed files:  10% Downloading signed files:  12% Downloading signed files:  12% Downloading signed files:  14% Downloading signed files:  15% Downloading signed files:  17% Downloading signed files:  18% Downloading signed files:  19% Downloading signed files:  21% Downloading signed files:  22% Downloading signed files:  24% Downloading signed files:  25% Downloading signed files:  26% Downloading signed files:  28% Downloading signed files:  28% Downloading signed files:  30% Downloading signed files:  31% Downloading signed files:  32% Downloading signed files:  34% Downloading signed files:  35% Downloading signed files:  36% Downloading signed files:  38% Downloading signed files:  39% Downloading signed files:  41% Downloading signed files:  42% Downloading signed files:  43% Downloading signed files:  45% Downloading signed files:  46% Downloading signed files:  47% Downloading signed files:  48% Downloading signed files:  49% Downloading signed files:  51% Downloading signed files:  51% Downloading signed files:  53% Downloading signed files:  54% Downloading signed files:  55% Downloading signed files:  57% Downloading signed files:  58% Downloading signed files:  59% Downloading signed files:  61% Downloading signed files:  62% Downloading signed files:  63% Downloading signed files:  65% Downloading signed files:  66% Downloading signed files:  68% Downloading signed files:  69% Downloading signed files:  71% Downloading signed files:  72% Downloading signed files:  73% Downloading signed files:  74% Downloading signed files:  75% Downloading signed files:  77% Downloading signed files:  78% Downloading signed files:  79% Downloading signed files:  81% Downloading signed files:  82% Downloading signed files:  84% Downloading signed files:  85% Downloading signed files:  87% Downloading signed files:  88% Downloading signed files:  89% Downloading signed files:  91% Downloading signed files:  92% Downloading signed files:  94% Downloading signed files:  94% Downloading signed files:  96% Downloading signed files:  97% Downloading signed files:  99% Downloading signed files: 100% JPM [info] Downloaded:
       JPM [info]     .\guide-2015.1222.1649.xpi
       JPM [info] SUCCESS

Is your add-on correctly identifying that it is for Firefox for Desktop?

I believe you zeroed in on the problem. I had this in my package.json:
"engines":
{
  "firefox": ">=38.0a1",
  "fennec": ">=38.0a1"
},

but my (generated) install.rdf only had the following:
  <RDF:Description>
    <em:type>2</em:type>
    <em:minVersion>38.0</em:minVersion>
    <em:maxVersion>46.0</em:maxVersion>
  </RDF:Description>

At some point during the refactoring of my build process, I had lost my add-on's UUID and moved the em:id element (UUID) from em:targetApplication/RDF:Description into RDF:RDF:Description, so my add-on was trying to register as Firefox. Right element, wrong position/semantics.
I'm fairly confident this will solve the problem, but I'm getting timeouts from the jpm amo-client right now. As soon as I get a working build, I will close this issue.


drivers: dma: esp32xx: Fix get interrupts from DT

Simplify get interrupt numbers array by using DT_INST_PROP.

So @talih0, you said interrupts are just an array.  But that is not the binding.
compatible: "espressif,esp32-intc"
...
interrupt-cells:
  - irq

This controller uses one cell per interrupt, and that cell is named irq.
Also look at gen_defines.py, it includes places where properties named interrupts are handled specially and are not just an array.

So @talih0, you said interrupts are just an array. But that is not the binding.
compatible: "espressif,esp32-intc"
...
interrupt-cells:
  - irq

This controller uses one cell per interrupt, and that cell is named irq.
Also look at gen_defines.py, it includes places where properties named interrupts are handled specially and are not just an array.
Edit: But to be fair, DT_PROP() is not listed as one of those exceptions where interrupts are handled specially.

good point, and thanks for clarifying

I wondered how interrupts were only a single irq number on esp32.  Surely one needs some kind of interrupt flags or priorities?  Well, they do have flags.  The 2nd argument of esp_intr_alloc() is the flags.  But they are just hard coded into the driver source instead of using the device tree.  E.g., fromesp32-mp.c
        esp_intr_alloc(DT_IRQN(DT_NODELABEL(ipi0)),
                ESP_INTR_FLAG_IRAM,

The device tree style way to do this would have been to use DT_IRQ(DT_NODELABEL(ipi0)), flags).  So that things like the IRAM flag or priority flags could be specified and overridden in the devicetree.


IAM-286-Create-GLAuth-Operator

Charmed operator for GLAuth
Implemented:

Base charm
config file template
COS Integration
Base charm unit test
Base charm integration test

Missing:

ldap_public lib charm
rockcraft.yaml
Actions
GLAuth users and groups insertion into the postgresql backend
Unit tests
Integration tests

Shall we close this in favor of https://github.com/canonical/glauth-k8s-operator/pull/15?


nuxt generate with dev tools enabled

What problem does this feature solve?
I'm having different behavior in my static build compared to the server side rendered version and debugging that without devtools enabled is hard. also validating vuex store e.g. to see if payloads got passed in correctly would be way easier.
What does the proposed changes look like?
NODE_ENV should be regcognized and used if found. nuxt generated --development could also build in dev mode

This feature request is available on Nuxt community (#c7973)

Hey :wave:
Add the following part to your nuxt.config.js to enable debugging:
export default: {
  vue: {
    config: {
      devtools: true
    }
  }
}

However, the --development idea is nice!
I think a PR for this (as the workaround is now known) would be neat :relaxed:

resolved by #4357


Written annotations are unrenderable for varied page dimensions

Adding annotation to first page of document, yet if first page has different page dimensions than other pages in document, though the annotation is added to document, it cannot be read by any reader.   Seems that library is internally considering the first page to have dimensions of other pages (perhaps last page?) rather than its own defined MediaBox.  So the annotations are renderable if they fall into the mediabox of the 2nd through last pages, though they are added to the 1st page.  Is there a setting to override this behavior, or a workaround?  Can you confirm this is a bug?

I haven't been able to replicate this issue. Can you share the snippet of code that's causing the issue? In my testing, the annotations on the second page were in the same locations no matter what size the first page was and the PDF opened with no problems.