Copilot chat could not give any answer after inputing any command in copilot chat extension, always show me "it is generating"

Copilot Chat Extension Version: v0.20.1
VS Code Version: 1.93.1
OS Version: macos Sonoma 14.5 (23F79)
Logs:

Steps to Reproduce:
click the Copilot chat button in vscode , it works fine before.
from yesterday , it could not give any answer after inputing any command in copilot chat extension
always show me "it is generating"
please help, thanks.

版本: 1.93.1 (Universal)
提交: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
日期: 2024-09-11T17:20:05.685Z
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.5.0

I have same problem!

@roblourens, is any idea?

We did a new release today which had a fix for a network issue, can you check whether it still happens?

It’s all good now. Thank you very much!
From: Rob Lourens @.>
Sent: Thursday, October 3, 2024 2:56 PM
To: microsoft/vscode-copilot-release @.>
Cc: Coco Zhang @.>; Comment @.>
Subject: Re: [microsoft/vscode-copilot-release] Copilot chat could not give any answer after inputing any command in copilot chat extension, always show me "it is generating" (Issue #1639)
[External Message]
We did a new release today which had a fix for a network issue, can you check whether it still happens?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/microsoft/vscode-copilot-release/issues/1639*issuecomment-2392109758__;Iw!!PePb2utDNNs!urMLffz132JC48vwHOw4czW5lBL2sASk4I63QsF3YxoJ_PKVRlZ_pktONkCTl2_NDLBNSv5p81eGqQ33FqnKlN_dEPg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BKNBV3XHUPWQENVISE4U5SDZZWHLJAVCNFSM6AAAAABO2EKFXOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJSGEYDSNZVHA__;!!PePb2utDNNs!urMLffz132JC48vwHOw4czW5lBL2sASk4I63QsF3YxoJ_PKVRlZ_pktONkCTl2_NDLBNSv5p81eGqQ33FqnKpTjSIn4$.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>Jefferies archives and monitors outgoing and incoming e-mail. The contents of this email, including any attachments, are confidential to the ordinary user of the email address to which it was addressed. If you are not the addressee of this email you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. This email may be produced at the request of regulators or in connection with civil litigation. Jefferies accepts no liability for any errors or omissions arising as a result of transmission. Use by other than intended recipients is prohibited.

still have the same issue. seems I use the latest version.
版本: 1.94.0 (Universal)
提交: d78a74bcdfad14d5d3b1b782f87255d802b57511
日期: 2024-10-02T13:08:12.626Z (5 天前)
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.5.0

I use 1.95.3 and set up proxy
copilot cannot work.
however, other similar extension works fine

Please check the output of F1 > Developer: GitHub Copilot Chat Diagnostics in VS Code and append it here.

GitHub Copilot Chat

Extension Version: 0.22.4 (prod)
VS Code: vscode/1.95.3
OS: Mac

Network
User Settings:
  "github.copilot.advanced": {
    "debug.useElectronFetcher": true,
    "debug.useNodeFetcher": false
  }

Connecting to https://api.github.com:

DNS ipv4 Lookup: <IP_ADDRESS> (12 ms)
DNS ipv6 Lookup: ::ffff:<IP_ADDRESS> (2 ms)
Electron Fetcher (configured): HTTP 200 (651 ms)
Node Fetcher: Error: Client network socket disconnected before secure TLS connection was established
Helix Fetcher: HTTP 200 (418 ms)

Connecting to https://api.individual.githubcopilot.com/_ping:

DNS ipv4 Lookup: <IP_ADDRESS> (13 ms)
DNS ipv6 Lookup: ::ffff:<IP_ADDRESS> (2 ms)
Electron Fetcher (configured): HTTP 200 (895 ms)
Node Fetcher: HTTP 200 (912 ms)
Helix Fetcher: Error: Client network socket disconnected before secure TLS connection was established

Documentation
In corporate networks: Troubleshooting firewall settings for GitHub Copilot.

@liyuerich It's interesting that the same TLS error happened with different network client implementations. Could you rerun the command to see if this just randomly fails? Are you using a network proxy?

try again
GitHub Copilot Chat

Extension Version: 0.22.4 (prod)
VS Code: vscode/1.95.3
OS: Mac

Network
User Settings:
  "github.copilot.advanced": {
    "debug.useElectronFetcher": true,
    "debug.useNodeFetcher": false
  }

Connecting to https://api.github.com:

DNS ipv4 Lookup: <IP_ADDRESS> (180 ms)
DNS ipv6 Lookup: ::ffff:<IP_ADDRESS> (2 ms)
Electron Fetcher (configured): HTTP 200 (542 ms)
Node Fetcher: HTTP 200 (311 ms)
Helix Fetcher: HTTP 200 (402 ms)

Connecting to https://api.individual.githubcopilot.com/_ping:

DNS ipv4 Lookup: <IP_ADDRESS> (13 ms)
DNS ipv6 Lookup: ::ffff:<IP_ADDRESS> (1 ms)
Electron Fetcher (configured): HTTP 200 (866 ms)
Node Fetcher: HTTP 200 (986 ms)
Helix Fetcher: HTTP 200 (919 ms)

Documentation
In corporate networks: Troubleshooting firewall settings for GitHub Copilot.

looks diff with last diagnostic

@liyuerich That doesn't show any errors. 👍 Could you try to use Chat and append the Copilot Chat log after it fails? (F1 > Output: Show Output Channels... > GitHub Copilot Chat)

I am using other IDE, like cursor ,it works fine when I use gptchat.

@liyuerich Could you try adding the following to your user settings (F1 > Preferences: Open User Settings (JSON)):
  "github.copilot.advanced": {
    "debug.useElectronFetcher": false,
    "debug.useNodeFetcher": true
  }


Added non-simulation container builds for hardware with SGX1+FLC.

This adds one non-simulation mode container build to the CI and updates the Dockerfile to pull the intel/dcap packages from apt repos instead of URLs.
We could add Debug and Release builds as well, but I just don't want to overstress our CI systems so I didn't include them in the PR. What do you think?

bors try

bors try

bors try


Implement the "Add Custom Link" button in js

Right now, the "Add Custom Link" button is processed by reloading the page with a ?n= query string that sets the number of custom icon fields to display.
This works. However, pressing the button will reset all of the information that the user has entered into the form. A better solution would be to add the custom icon fields using JavaScript in the frontend so that we do not have this issue.

This can totally be done in the JavaScript in the frontend right when the page loads. It looks like you used a counting variable to create unique IDs, and the index for the custom links IDs starts from 5. This changes if you add or remove any links above this section. So, we can use a custom attribute to send this index as data from the PHP backend using which the JavaScript can handle it!
I'll fork and make a pull request for this feature. Do consider assigning me to the issue.

Hi. Sounds good! I'm looking forward to reviewing it!

I've completed porting the feature to the Frontend. It no longer refreshes to add an extra field. Plus, I tested everything locally to make sure everything was working fine. Here is the link to the pull request: #7


Android Basics: display-list-cards

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-display-list-cards?return=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-2-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-display-list-cards#2
In which task and step of the codelab can this issue be found?
In the TextView, set the textAppearance attribute to ?attr/textAppearanceHeadline6. textAppearance is an attribute that allows you to define text-specific styling. For other possible predefined text appearance values, you can see the TextAppearances section in this blogpost on Common Theme Attributes.
Describe the problem
Instead of having : Larger text  I get almost invisible one even if I try with  headline lower than 6 ( 5, 4  etc.)
Steps to reproduce?

Go to...
Click on...
See error...

Versions
What version of Android Studio are you using?
4.0.1
Additional information
Include screenshots if they would be useful in clarifying the problem.

@Kyved I won't found any issue in this section, even I'm also following step-by-step instructions.

@Kyved, we are not able to reproduce this issue on our end, can you give the emulator version you are using.

Problem solved.
I'm a beginner. I had just forgot to sync changes in Gradle. When done
everything was ok
Thank you
Yves
Le lun. 28 sept. 2020 10 h 13, Tarun Mahajan<EMAIL_ADDRESS>a
écrit :

@Kyved https://github.com/Kyved I won't found any issue in this
section, even I'm also following step-by-step instructions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google-developer-training/android-basics-kotlin-affirmations-app-solution/issues/1#issuecomment-700034272,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQKWZKWYKCLJQXQW3O7IDNDSICKZ5ANCNFSM4RY356UQ
.

@Kyved Glad to hear that!
Thank you for reaching out to us.


Content now called files?

Can you please review the following instruction: " (In the Security & Compliance Center, go to Threat management > Review > Quarantine and filter for Content.)".
Content seems to be called "Files" now. Can you please doublecheck?

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

ID: e3831737-c7bf-b95c-4b1e-8ff2e5016e9c
Version Independent ID: 01bd45b3-710e-f396-a2dd-971a97a29d67
Content: Office 365 ATP for SharePoint, OneDrive, and Microsoft Teams - Office 365
Content Source: microsoft-365/security/office-365-security/atp-for-spo-odb-and-teams.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

Thanks for noticing and reporting @sebhe

PR has been merged, @mypil you can close this now. Thanks

@sebhe - Thank you for submitting feedback.
From our understanding, the issue has been resolved based on this merged commit https://github.com/MicrosoftDocs/microsoft-365-docs/commit/d2d1fd120bc356419c8bf4b0b90e3ecae1556ded.
Thank you for your contribution to make the docs better! Much appreciated!


Add hash to redirects when storing a revision

Closes #553
This PR implements (ping @elbotho ):

Adds #revision-saved when a revision is saved but needs to be reviewed
Adds #revision-accepted when a revision was successfully checkout out / accepted
Adds #revision-rejected when a revision was successfully rejected
Adds #revision-saved-accepted when a revision was successfully saved and accepted

👍 Thanks!

👍 Thanks!

@inyono Code suggestions implemented. Ready for review.

@inyono Code suggestions implemented. Ready for review.


Miner: The CancellationTokenSource has been disposed.

Description
BP node stopped due to System.ObjectDisposedException durning lot of transaction execution. Detail error message in below:
System.ObjectDisposedException: The CancellationTokenSource has been disposed.
at System.Threading.CancellationTokenSource.ThrowObjectDisposedException()
at AElf.Miner.Miner.Miner.<>c__DisplayClass21_0.b__0(Object s) in /home/aelf/github/AElf/AElf.Miner/Miner/Miner.cs:line 83
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.TimerQueueTimer.CallCallback()
at System.Threading.TimerQueueTimer.Fire()
at System.Threading.TimerQueue.FireNextTimers()

Change Issue priority from P2 to P3 due to not easy to reproduced.


IPV6 NATTED

Hi i have tried this on vultr and hetzner with ipv6 enabled on vultr it made it so ipv4 was not able to comnnect as well as ipv6  i don't know if this is a one of case but i don't think the ipv6 natted thing is working correctly i might be wrong if someone else got a vultr account can you please let me know
Thanks
BIlly-Geroge

Hello,
I can confirm that it's working on Vultr.
Please explain your issue clearly.

Im going to deploy another instance and see if i experiance  the same issue

OK. I will test on Hetzner later.

Can you try to install without enabling IPv6 support?

Sure

I have done this now https://i.imgur.com/XSspb06.png ipv6 traffic work but not ipv4 now the template i use is ubuntu 16.04
Thanks
Billy-George

What is you server's OS
What is you client's OS
Go to http://ipv6-test.com/. Is the IPv6 your ISP's or you server's?

This doesn't seen to be related to IPv6 at all.

Server os s ubuntu 16.o4
Client os  Linux mint 18.04
And yes isp does supprt ipv6

can you send the output of
On the server and client:
ufw status verbose

On the server only:
iptables -nvL

iptables -nvL -t nat

https://pastebin.ubuntu.com/p/HS4cQ2Sgq3/

I have done that tried reconnecting to the vpn and still the same issue i think it might be due to im using ubuntu 16.04 the old script before you made the new update works without any issue

Ah... Ok so the latest version of the script works?

No the old one does

What a good meme the new script does not work

what does sysctl --sytem outputs?

https://pastebin.ubuntu.com/p/fgr2WWbSVt/ i assume you mean sysctl --system

OK. To be honest I don't see what isn't working since the rules are correct and forwarding is enabled.

It most prob just me can you try to deploy the same setup as me i had ubuntu 16.04 in the uk on vultr
Thanks anyway we  will see if its just me with this issue

Fixed, see https://github.com/angristan/openvpn-install/issues/296

See https://github.com/angristan/openvpn-install/issues/295 for IPv6 on Hetzner


python3: issue with del when script terminates

After picking up Denis's 'Restore Python3 compatibility' fix,
with python3 I observed weird issue related to del behavior.
It could be related to some race condition when python3
goes down. In one case 'isabs' function from posixpath.py becomes
None. So on call chain triggered by Motor del -> stop ...
it fails. In other case see below 'open' function disappeared.
(ev3dev_py34)root@ev3dev:~/projects/v/test2# cat del_test.py
import ev3dev.ev3 as ev3
m = ev3.LargeMotor("outB")
exit()
(ev3dev_py34)root@ev3dev:~/projects/v/test2# python3 del_test.py
Exception ignored in: <bound method LargeMotor.del of <ev3dev.core.LargeMotor object at 0xb6a14b30>>
Traceback (most recent call last):
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 221, in del
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 670, in stop
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 235, in command
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 178, in set_attr_string
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 166, in _set_attribute
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/posixpath.py", line 357, in abspath
TypeError: 'NoneType' object is not callable
With some slight variation with the test issue disappears:
(ev3dev_py34)root@ev3dev:~/projects/v/test2# cat del_test1.py
import ev3dev.ev3 as ev3
def main():
m = ev3.LargeMotor("outB")
main()
(ev3dev_py34)root@ev3dev:~/projects/v/test2# python3 del_test1.py
(ev3dev_py34)root@ev3dev:~/projects/v/test2# cat del_test2.py
import ev3dev.ev3 as ev3
def main():
m = ev3.LargeMotor("outB")
exit()
main()
(ev3dev_py34)root@ev3dev:~/projects/v/test2# python3 del_test2.py
(ev3dev_py34)root@ev3dev:~/projects/v/test2# cat del_test3.py
import ev3dev.ev3 as ev3
m = ev3.LargeMotor("outB")
(ev3dev_py34)root@ev3dev:~/projects/v/test2# python3 del_test3.py
(ev3dev_py34)root@ev3dev:~/projects/v/test2#
It seems that it could be races in the code in other case
'open' name disappeared:
(ev3dev_py34)root@ev3dev:~/projects/v/test2# python3 del_test.py
Exception ignored in: <bound method LargeMotor.del of <ev3dev.core.LargeMotor object at 0xb6a2eb30>>
Traceback (most recent call last):
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 221, in del
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 670, in stop
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 235, in command
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 178, in set_attr_string
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 166, in _set_attribute
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 88, in write
File "/root/.virtualenvs/ev3dev_py34/lib/python3.4/site-packages/python_ev3dev-0.5.0.post3-py3.4.egg/ev3dev/core.py", line 74, in file_handle
NameError: name 'open' is not defined
When the same tried with python2 everything looks fine.
By googling info about del I found this:
https://docs.python.org/2/reference/datamodel.html#object.__del__
The pink section pretty much explains the issues I observe,
which begs the question whether it is good idea to have del
method in the first place.
On one hand desire to stop all motors when cotrolling process exits,
especially abnormally, is well understood. But needless to say that
if above condition hit when motor was running it won't stop anyway.
I wonder whether ev3dev infra (file interface) can provide more solid
emergency stop mechanism. For example stop could be trigger on close
of some special file, like /sys/class/tacho-motor/motor?/emergency_stop.
If such file would be opened, ev3dev system will stop motor when file
closes. In this case python can just open the file in Motor contructor
and file will be automatically closed when python exists, that will
trigger motors stop. It would stop the motors even if process
explicitly killed.
Other language bindings can use the same mechanism.

That is a good idea! If I understand correctly, by opening /sys/class/tacho-motor/motor?/emergency_stop we set a hook so that if the process crashes and Linux manages to close any open file descriptors, we'd need to catch that close and reset the motor.

sysfs has no hooks for the opening and closing of files, so an emergency_stop attribute could not work as described.
Brickman already stops all motors when a process that was run from the file browser ends. You could make a simple script to run programs from a command line that stops all motors when done as well. e.g. run-ev3dev python myprogram.py. This script could also take care of console switching issues. See https://gist.github.com/dlech/4c9b268571af59cb7bb4 and https://github.com/ev3dev/ev3dev-tools/pull/1.

You could make a simple script to run programs from a command line

This wrapper script could even be put into shebang line. This works, for example:
wrapper.sh
#!/bin/bash
echo running $2 with $1
$1 $2
echo done!

hello.py
#!./wrapper.sh /usr/bin/python
print("Hello World!")

output of ./hello.py:
running ./hello.py with /usr/bin/python
Hello World!
done!

We could even introduce a system-wide script for this.

@ddemidov - is this better handled in the README.rst file - ie a "Best Practices" section?

@rhempel, I agree. We could remove the motor destructors, and put a warning into the README with a couple of solutions. First, running from brickman does not have this problem. Second,  this helper script works:
$ cat saferun.sh
#!/bin/bash
$*
for f in /sys/class/tacho-motor/*/command; do
    echo reset > ${f}
done

$ cat hello.py
#!./saferun.sh /usr/bin/env python
print('hello')

There are a couple of other places __del__ is currently used. Namely, we use it in FileCache to close the cached file handles, and in FbMem to close the framebuffer handle. I am not sure how to get rid of those while keeping the functionality and not leaking resources. Any suggestions are welcome.

Add a close or dispose function to those classes?

Add a close or dispose function to those classes?

You mean to be called manually? How would that help us to not leak anything? The FileCache and FbMem classes are only used internally and not exposed to the user.

Perhaps the higher level classes could use context managers that manually call the close function of the lower level classes in __exit__.

I though about context managers. The problem with those is everything has to happen under single with statement, and I don't see how can we do this with file cache (or fbmem handle).
Well, I think all of the issues we got were related to destructors in motor classes. It is possible that the other destructors we have are trivial enough to not cause any problems. We could try to clean up motors first and see what happens.

I wonder whether just adding 'try' 'except' around code and ignoring all
exception in motor destructors would be sufficient to address this problem.
It boils down to:

it was decided that reliable motors stop will be/should be handled
outside

if program is still running current destructors core seems to work
fine: no circular dependencies, etc

the only remaining issue is possible messages/exceptions from
desctructors during process termination, where they are ignored
anyway, If it is possible to get rid of the message IMHO it would be
sufficient

I am working with small group of 7th grade kids. They are learning python
and
ev3dev on EV3. They are taught to look at exception messages from python.
The one that I mentioned at start of the thread are false positives and
distracting. If those message could be silenced it would be good enough.
Asking folks to use 'with' statements would too much IMO. I will have hard
time explaining to kids who just started learning who to program what
is going on :)
Thanks,
Victor
On Mon, Jan 4, 2016 at 10:10 AM, Denis Demidov<EMAIL_ADDRESS>wrote:

I though about context managers. The problem with those is everything has
to happen under single with statement, and I don't see how can we do this
with file cache (or fbmem handle).
Well, I think all of the issues we got were related to destructors in
motor classes. It is possible that the other destructors we have are
trivial enough to not cause any problems. We could try to clean up motors
first and see what happens.
—
Reply to this email directly or view it on GitHub
https://github.com/rhempel/ev3dev-lang-python/issues/96#issuecomment-168755606
.

Victor, are he kids your own, or are you a teacher? I am very interested in hearing about how you manage to teach 7th Graders to code using Python. I'll look at getting these exceptions fixed in the next pass at the bindings.

Hi Ralph,
On Tue, Jan 5, 2016 at 2:32 PM, Ralph Hempel<EMAIL_ADDRESS>wrote:

Victor, are he kids your own, or are you a teacher? I am very interested
in hearing about how you manage to teach 7th Graders to code using Python.

No, I am not a teacher. We had FLL team that I coached. After 3 seasons
of FLL with EV3 graphical environment programming we decided to move
further. So with elder part of previous team (my son and two of his
friends) kids
are trying to learn real programming language while still doing some
robotics.
And of course we have all pieces around from FLL. Experience with EV3
graphical
programming environment does help, very often kids relate back to it.
IMHO python is very good start as programming language. I personally
recommend the following book:
http://www.amazon.com/gp/product/1435455002?keywords=python programming for the absolute beginner&qid=1452043541&ref_=sr_1_1&sr=8-1
"Python Programming for the Absolute Beginner, 3rd Edition" by Michael
Dawson
That one is about writing games with python initially text based and simple
graphical at the end, while introducing all basic programming concepts on
the
way. We use that one as python "textbook" but we try to apply what we
learned to robotic related tasks so it is more fun and familiar problem
set.
Using ev3dev python module kids are writing functions to drive in cm/inches
(rather than motor rotations), make robot turns in degrees, drive some
specified route, writing robot class, drive with sensors on FLL field
following
line, etc. Some simple things so far.
LeJOS was another choice, but I find that learning basic programming
skills with Java is much harder compared to python.
While we have this thread: I just want to say big thank you to all you
guys! You are doing great job with ev3dev! It is exactly what I've been
looking for. Very much appreciated.
Thanks,
Victor
I'll look at getting these exceptions fixed in the next pass at the

bindings.
—
Reply to this email directly or view it on GitHub
https://github.com/rhempel/ev3dev-lang-python/issues/96#issuecomment-169155897
.

@ddemidov do you think this one is safe to close? The only __del__ left is in FbMem, I haven't heard mention of any issues with it.


FIX-#4358: MultiIndex loc shouldn't drop levels for full-key lookups

What do these changes do?
This is just a draft PR to demonstrate changes.

[ ] commit message follows format outlined here
[ ] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[ ] signed commit with git commit -s
[ ] Resolves #?
[ ] tests added and passing
[ ] module layout described at docs/development/architecture.rst is up-to-date
[ ] added (Issue Number: PR title (PR Number)) and github username to release notes for next major release

@pyrito @mvashishtha you are trying to fix the consequences of the fact that in order to implement loc, we use iloc in our internals(qc.view->qc.mask->partition.iloc) and we have to do additional things like remove multi-index levels after that. What if we try to go the other way, change the implementation and try to use partition.loc?

What if we try to go the other way, change the implementation and try to use partition.loc?

@anmyachev I think we should try that! @pyrito could you try it out?

@pyrito

I agree that we are trying to fix the consequences of using iloc, but I think it's needed to maintain invariants with positioning though I could be wrong.

Which invariants are you thinking of? We already support label-based indexing in PandasDataframe.Mask. I think it should be possible to use that to select the correct subset of the dataframe.

@mvashishtha oh I see what you mean. I was digging more into the partition level iloc call in PandasDataframePartition and I thought that we needed the index-based lookups for when we partition the dataframe.

@mvashishtha digging into it more, it looks like when we try to call get_indexer_for() on MultiIndex with labels I only get [-1 -1] as my index. Reading the current mask implementation as it, it looks like we convert label lookup to index positions and rely on that via iloc to get the subset of data that we want. I think what's happening is that we are able to index the right rows and columns, but in the MultiIndex case this doesn't guarantee that we will drop the correct levels.
Like you mentioned we could try writing a version that uses loc, but I'm not exactly sure how that would come together with all the partition logic, I'll have to dig deeper into understanding the lower levels.

@anmyachev @mvashishtha - I discussed this with @devin-petersohn and he suggested that we could merge in the bug fix for now and come around with a better design to make use of loc underneath the hood later since it will require more engineering effort.


Allow booleans in place of any top-level schema field

It has been pointed out that we didn't achieve 100% JSON Schema compatibility with the release of OAS v3.1.0. JSON Schema allows spelling the schema {} as true and the schema not: {} as false.
These are currently allowed in subschemas, but not where our schema field indicates an OpenAPI schemaObject (literally of type object as expected by the metaschema for example) is allowed.
This may only be of academic interest, as it is possible to spell the empty schema either as {} as above, or by omitting the schema keyword entirely (where allowed), and the false / not: {} schema has limited utility at the top-level in OAS - but for the sake of spec. and tooling compatibility, here is this PR.
It allows the schema fields to contain booleans in the same way we used to allow schemaObject | referenceObject in v3.0.x
This PR does not touch the metaschema as it is still somewhat in flux. I propose we pick up metaschema changes in the RC / post-release phase as with previous versions.
Edit: an alternative is to add wording similar to that we had in v3.0.x

Alternatively, anywhere a Schema Object can be used, a Reference Object boolean MAY be used in its place.

Signed-off-by: Mike Ralphson<EMAIL_ADDRESS>

Wouldn't this require updates to the metaschemas as well?  specifically
$defs:
  components:
    type: object
    properties:
      schemas:
        type: object
        additionalProperties:
          $dynamicRef: '#meta'

should change type: object to type: [ object, boolean ]

for those following along by email, I have added an edit above

Wouldn't this require updates to the metaschemas as well?

@karenetheridge I explicitly said...

This PR does not touch the metaschema as it is still somewhat in flux. I propose we pick up metaschema changes in the RC / post-release phase as with previous versions.

... but thank you for pointing out that the v3.1 metaschemas may be out of step with the markdown source-of-truth. Ping @jdesrosiers

Great, thanks for clarification! Would it be possible to explicitly mention in 3.1 that Boolean JSON Schemas are not supported as top level Schema Objects? It's kind of implied because the name of the spec object is Schema Object but, when implementing tooling it gives space for interpretation and I was actually inclined to support Boolean JSON Schemas in 3.1 tooling (as top level Schema Objects) but eventually decided not to go for it.

I was actually inclined to support Boolean JSON Schemas in 3.1 tooling (as top level Schema Objects) but eventually decided not to go for it.

Thanks also, @char0n for the data-point.

Instead of adding "| boolean" everywhere, I'd suggest just redefining "Schema Object" to include boolean. It allows the spec to only be changed in one place and is more correct (boolean schemas are a JSON Schema concept, not an OpenAPI concept).
I agree with @char0n that it's not explicitly stated in the spec that this value must be an object ("Schema Object" is a name, it's not specifying anything). Therefore, I think it's reasonable to fix this in the 3.1.1 patch rather than 3.2.0. I think it's clarifying an ambiguity, not changing a specified behavior.

Will replace with alternative PR on the v3.1.1-dev branch as discussed.


emacs packages are not linked

In my configuration (with home-manager pinned at 99c9009 as per the README) I have the following included:
{ pkgs, ... }:

{
  programs.emacs.enable = true;
  programs.emacs.extraPackages = epkgs: [
    epkgs.evil
  ];

  # home.file.".emacs.d" = {
  #   source = ./emacs;
  # };
}

This does install Emacs, and I can run it… but when I build and look result, I only have these files (looks like because I'm also using the programs.git):
$ tree result/home-path/share/emacs/site-lisp
result/home-path/share/emacs/site-lisp
├── git-blame.el -> /nix/store/pknzw3kh5mwzrgddfa7ldgl3rz6bqavc-git-2.18.0/share/git/contrib/emacs/git-blame.el
└── git.el -> /nix/store/pknzw3kh5mwzrgddfa7ldgl3rz6bqavc-git-2.18.0/share/git/contrib/emacs/git.el

0 directories, 2 files

In fact, I can't find any file with anything to do with evil anywhere in the result. Am I doing something weird in my configuration?

No, it's just a bit confusing because the packages you specify for the Emacs package will not actually be installed to your profile. Instead they are just put in the Nix store and the path to them is put in the emacs wrapper script. So
$ cat $(which emacs)
#! /nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash -e
export EMACSLOADPATH=$EMACSLOADPATH${EMACSLOADPATH:+':'}'/nix/store/ra5098pi253f690fj57xbczn45bf5lxy-emacs-packages-deps/share/emacs/site-lisp:'
exec "/nix/store/7ibw81cqgx32cr95l82yqbi67zzg8wjv-emacs-25.3/bin/emacs"  "${extraFlagsArray[@]}" "$@"
$ ls /nix/store/ra5098pi253f690fj57xbczn45bf5lxy-emacs-packages-deps/share/emacs/site-lisp{,/elpa}
/nix/store/ra5098pi253f690fj57xbczn45bf5lxy-emacs-packages-deps/share/emacs/site-lisp:
elpa          nyan-mode.elc  site-start.elc
nyan-mode.el  site-start.el  subdirs.el

/nix/store/ra5098pi253f690fj57xbczn45bf5lxy-emacs-packages-deps/share/emacs/site-lisp/elpa:
ace-window-20180607.1223
ac-php-core-20180629.144
adoc-mode-20160314.1430
…

If you do something like the above I'm sure you'll find evil.

oh, how slick! What a cool way to do things!
I realize now that I didn't share enough context: I looked in site-lisp because Emacs could not load some libraries.  So I'll look elsewhere.
Thanks for home-manager. This is very fun to use. ❤

Glad you like it! And good luck with finding the issue with the Emacs library loading.


[UE1][Skeletal Mesh][Animations]

Supporting of exporting HP2 Animations
Extract meshes in the right way for UE4+

Just a quick comment for your code. I'm not doing any math with FVector/FQuat directly. These types are mirrored in "Core/Math..." files, as CVec3/CQuat etc, and all of the math stuff is there. This is just "historical" stuff, when I started the project (16 years ago?) I've reused math from another my project.

Just a quick comment for your code. I'm not doing any math with FVector/FQuat directly. These types are mirrored in "Core/Math..." files, as CVec3/CQuat etc, and all of the math stuff is there. This is just "historical" stuff, when I started the project (16 years ago?) I've reused math from another my project.

Hello!
Should I remove all FVector/FQuat from internal structs? And doind math operation with C-Version?
In the last commit I've removed unnecessary operation, since I use yours.

And should I remove math operations from FAnimVec?
Like:
Vector(), Quat(), or I need to replace it with C-Versions?

I will try to address any problem areas in the code.
To summarise, this code allows to extract the animations that were encoded by EA, the main difference there is how they compress anim tracks, and that the Root Bone they have for some reason is mirrored on the axis. And the meshes for this particular game were extracted upside down, I just reflect them on axis too.

There are words in PR description: "Extract meshes in the right way for UE4+". This sounds like a bug fix for something. However, nobody mentioned any problems with mesh export, and I didn't see any changes in UE4-related code.
Regarding the PR, there are a few ones already, which are intended for supporting some game. I'm not merging them - I don't have any time to merge and verify them, but I'm not closing PR's either, so anyone who interested can see YOUR fork, and use it.


Could not create stack with Load Balancer

Rancher Version: 1.2
Docker Version: 1.12.3
OS and where are the hosts located? (cloud, bare metal, etc): Ubuntu 16.04 on Azure
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB) Single node
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) Cattle
Steps to Reproduce:
Create stack (a71 in my case) via docker and rancher composes with service and load balancer configured to serve this service
Results:
Error (Failed to find existing service: a71/mongo)
Expected:
Stack successfully created
docker-compose.yml
api:
  environment: {COMMIT_HASH: 147e1006029a584c7df932ff4c8dfeebf407108c, DB_MONGO_DB: dddb,
    DB_MONGO_HOST: mongo, DB_MONGO_PASSWORD: '123456', DB_MONGO_PORT: '27017',
    DB_MONGO_USER: user, DB_POSTGRES_DB: dddb, DB_POSTGRES_HOST: postgres, DB_POSTGRES_PASSWORD: '123456',
    DB_POSTGRES_PORT: '5432', DB_POSTGRES_USER: postres, GIT_BRANCH: master}
  external_links: ['postgres/postgres:postgres']
  image: docker-registry:5000/api
  labels: {io.rancher.container.pull_image: always, 'io.rancher.scheduler.affinity:host_label': purpose=ci}
  links: ['mongo:']
  log_driver: ''
  log_opt: {}
  stdin_open: true
  tty: true
mongo:
  environment: {DB_MONGO_PORT: '27017'}
  image: docker-registry:5000/mongo
  labels: {io.rancher.container.pull_image: always}
  log_driver: ''
  log_opt: {}
  stdin_open: true
  tty: true
mongo-balancer:
  image: rancher/lb-service-haproxy:v0.4.2
  labels: {io.rancher.container.agent.role: environmentAdmin, io.rancher.container.create_agent: 'true',
    'io.rancher.scheduler.affinity:host_label': balancer=true}
  ports: ['60000:60000/tcp']
site:
  environment: {API_URL: 'http://api.XXX', CLOUD_STORAGE_URL: 'http://api.XXX/resources'}
  image: docker-registry:5000/site
  labels: {io.rancher.container.pull_image: always, 'io.rancher.scheduler.affinity:host_label': purpose=ci}
  links: ['api:']
  log_driver: ''
  log_opt: {}
  stdin_open: true
  tty: true

rancher-compose.yml
api:
  health_check: {healthy_threshold: 2, initializing_timeout: 360000, interval: 2000,
    port: 5099, response_timeout: 5000, strategy: none, unhealthy_threshold: 3}
  scale: 1
mongo: {scale: 1}
mongo-balancer:
  health_check: {healthy_threshold: 2, interval: 2000, port: 42, response_timeout: 2000,
    unhealthy_threshold: 3}
  lb_config:
    certs: []
    config: timeout tunnel        15m
    port_rules:
    - {priority: '1', protocol: tcp, service: a71/mongo, source_port: '60000', target_port: '27017'}
  scale: 1
site:
  health_check: {healthy_threshold: 2, initializing_timeout: 360000, interval: 2000,
    port: 3000, request_line: GET "/healthcheck" "HTTP/1.0", response_timeout: 2000,
    strategy: recreate, unhealthy_threshold: 10}
  scale: 1

It seems load balancer should not try to resolve targets until all other services created. Or it should be more smart check strategy. And I believe it possible, because all necessary information given to rancher.
And you can see what all services are up, but balancer not created

@clicman - if you remove the a71 from the below line it works fine.  You only have to put the stack name in if you are referencing an external stack.

{priority: '1', protocol: tcp, service: a71/mongo, source_port: '60000', target_port: '27017'}

Thank you! My fault.


Mobile view

Fix css for components that were behaving incorrectly in mobile view.

Note that the alignment of the resume component may be wonky, but I haven't been able to consistently replicate its incorrect behavior. This PR may not address that, but I'll have to take a note of that.


fix(linechart): build process need to exclude d3

Summary

fix so that carbon-addons-iot-react can be used by downstream components again

Change List (commits, features, bugs, etc)

fix(package.json): set d3 as peer dep
fix(rollup): exclude d3 from build process as it was breaking it

https://stackoverflow.com/questions/35560305/d3-js-uncaught-typeerror-cannot-read-property-document-of-undefined

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.54.1 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


Op 13591 - Api Updated on the platform

https://devopsmx.atlassian.net/browse/OP-13591 : Api Updated on the platform
We prefer small, well tested pull requests.
Please refer to Contributing to Spinnaker.
When filling out a pull request, please consider the following:

Follow the commit message conventions found here.
Provide a descriptive summary for your changes.
If it fixes a bug or resolves a feature request, be sure to link to that issue.
Add inline code comments to changes that might not be obvious.
Squash your commits as you keep adding changes.
Add a comment to @spinnaker/reviewers for review if your issue has been outstanding for more than 3 days.

Note that we are unlikely to accept pull requests that add features without prior discussion. The best way to propose a feature is to open an issue first and discuss your ideas there before implementing them.

This PR  triggered this build in this execution, please wait for it  and child pipelines to succeed before merging:  https://isd.prod.opsmx.net/deck/#/applications/gcp-gitprtrigger/executions/details/01G22G68FPXQH6KH0XQZSN9RVM


Automate Tweet For Fastlane Releases

Now we have the tweet action there is no excuse not to ;)
https://github.com/fastlane/fastlane/blob/master/fastlane/Fastfile#L101

Yeah :rocket:

Where should the access details live? Where might I find the applicable values for the account to use? Thanks!

Hi @bgannin! Great to hear from you. Are you considering a PR for this? Thanks!

There already is a twitter action, however we decided not to auto-tweet, since we usually attach screenshots to the tweets.

👍 Thanks for the update.


VS Code system tests are failing intermittently

:tada: This issue has been resolved in version 0.39.0 :tada:
The release is available on:

v0.39.0
GitHub release

Your semantic-release bot :package::rocket:


Helm lookup function doesn't seem to be working

Description of the bug:

While generating yaml files from Cilium helm chart, I ran into some issue. Every time cdk8s synth runes, it's generating a new certificate.
Looks like Cilium helm chart uses helm lookup function to decide whether to generate a new certificate or not.
Because of this cdk8s synth is always overwriting a generated Secrets.
In this example, Secret.cilium-ca.yaml, Secret.hubble-server-certs.yaml files are always overwritten.
Reproduction Steps:

export class Cilium {
    constructor(chart: Construct) {
        new Helm(chart, 'cilium', {
            releaseName: 'cilium',
            chart: 'cilium',
            repo: 'https://helm.cilium.io/',
            version: '1.14.6',
            namespace: 'kube-system',
            values: {
                securityContext: {
                    capabilities: {
                        ciliumAgent: [
                            'CHOWN',
                            'KILL',
                            'NET_ADMIN',
                            'NET_RAW',
                            'IPC_LOCK',
                            'SYS_ADMIN',
                            'SYS_RESOURCE',
                            'DAC_OVERRIDE',
                            'FOWNER',
                            'SETGID',
                            'SETUID',
                        ],
                        cleanCiliumState: ['NET_ADMIN', 'SYS_ADMIN', 'SYS_RESOURCE'],
                    },
                },
                ipam: {
                    mode: 'kubernetes',
                },
                kubeProxyReplacement: 'false',
                cgroup: {
                    autoMount: {
                        enabled: false,
                    },
                    hostRoot: '/sys/fs/cgroup',
                },
            },
        });
    }
}

Error Log:

Environment:

Framework Version:

"cdk8s": "2.68.31",
"constructs": "10.3.0",
"cdk8s-cli": "2.198.36",

OS: Linux

Other:

This is :bug: Bug Report

@shinebayar-g Are you not getting the same behavior when running helm template? All the Helm construct does is run helm template, so as long as helm as the necessary cluster context, I don't see a reason for this to fail.
Can you verify helm is able to connect to your cluster and identify existing certificates when running helm template?
Thanks

I revisited this again recently. It seems lookup function doesn't work in helm template command, hence the error.
Related issue in ArgoCD https://github.com/argoproj/argo-cd/issues/5202


Traefik does not retry looking for Consul servers

Bug
What did you do?
Start EC2 instance running Traefik and Consul client.
What did you expect to see?
Traefik would poll Consul on specified url and retry if Consul hadn't started yet.
This was working previously with v1.3.5 of Traefik.
What did you see instead?
Traefik reported an error and did not retrieve Consul catalogue once Consul had started.
Output of traefik version: (What version of Traefik are you using?)

{
 "GraceTimeOut":<PHONE_NUMBER>0,
 "Debug": true,
 "CheckNewVersion": true,
 "AccessLogsFile": "/var/log/traefik/access.log",
 "AccessLog": null,
 "TraefikLogsFile": "/var/log/traefik/traefik.log",
 "LogLevel": "DEBUG",
 "EntryPoints": {},
 "Cluster": null,
 "Constraints": [],
 "ACME": null,
 "DefaultEntryPoints": [],
 "ProvidersThrottleDuration":<PHONE_NUMBER>,
 "MaxIdleConnsPerHost": 200,
 "IdleTimeout": 0,
 "InsecureSkipVerify": false,
 "RootCAs": null,
 "Retry": null,
 "HealthCheck": {
  "Interval":<PHONE_NUMBER>0
 },
 "RespondingTimeouts": {
  "ReadTimeout": 0,
  "WriteTimeout": 0,
  "IdleTimeout":<PHONE_NUMBER>00
 },
 "ForwardingTimeouts": {
  "DialTimeout":<PHONE_NUMBER>0,
  "ResponseHeaderTimeout": 0
 },
 "Docker": null,
 "File": null,
 "Web": null,
 "Marathon": null,
 "Consul": null,
 "ConsulCatalog": {
  "Watch": false,
  "Filename": "",
  "Constraints": [],
  "Trace": false,
  "DebugLogGeneratedTemplate": false,
  "Endpoint": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "Domain": "service.consul",
  "ExposedByDefault": true,
  "Prefix": "traefik",
  "FrontEndRule": "Host:{{ServiceName}}.{{Domain}},PathPrefixStrip:/{{ServiceName}}"
 },
 "Etcd": null,
 "Zookeeper": null,
 "Boltdb": null,
 "Kubernetes": null,
 "Mesos": null,
 "Eureka": null,
 "ECS": null,
 "Rancher": null,
 "DynamoDB": null,
 "ConfigFile": "/etc/traefik/traefik.toml"
}

If applicable, please paste the log output in debug mode (--debug switch)
time="2017-09-20T06:02:25Z" level=info msg="Traefik version v1.4.0-rc3 built on 2017-09-18_04:38:27PM"
time="2017-09-20T06:02:25Z" level=debug msg="Global configuration loaded {"GraceTimeOut":10000000000,"Debug":true,"CheckNewVersion":true,"AccessLogsFile":"/var/log/traefik/access.log","AccessLog":null,"TraefikLogsFile":"/var/log/traefik/traefik.log","LogLevel":"DEBUG","EntryPoints":{"http":{"Network":"","Address":":80","TLS":null,"Redirect":null,"Auth":null,"WhitelistSourceRange":null,"Compress":false,"ProxyProtocol":false}},"Cluster":null,"Constraints":[],"ACME":null,"DefaultEntryPoints":["http"],"ProvidersThrottleDuration":2000000000,"MaxIdleConnsPerHost":200,"IdleTimeout":0,"InsecureSkipVerify":false,"RootCAs":null,"Retry":null,"HealthCheck":{"Interval":30000000000},"RespondingTimeouts":{"ReadTimeout":0,"WriteTimeout":0,"IdleTimeout":180000000000},"ForwardingTimeouts":{"DialTimeout":30000000000,"ResponseHeaderTimeout":0},"Docker":null,"File":null,"Web":{"Address":":8080","CertFile":"","KeyFile":"","ReadOnly":false,"Statistics":null,"Metrics":null,"Path":"","Auth":null,"Debug":false,"CurrentConfigurations":null,"Stats":null,"StatsRecorder":null},"Marathon":null,"Consul":null,"ConsulCatalog":{"Watch":false,"Filename":"","Constraints":[],"Trace":false,"DebugLogGeneratedTemplate":false,"Endpoint":"<IP_ADDRESS>:8500","Domain":"service.consul","ExposedByDefault":true,"Prefix":"traefik","FrontEndRule":"Host:{{ServiceName}}.{{Domain}},PathPrefixStrip:/{{ServiceName}}"},"Etcd":null,"Zookeeper":null,"Boltdb":null,"Kubernetes":null,"Mesos":null,"Eureka":null,"ECS":null,"Rancher":null,"DynamoDB":null}"
time="2017-09-20T06:02:25Z" level=info msg="Preparing server http &{Network: Address::80 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] Compress:false ProxyProtocol:false} with readTimeout=0s writeTimeout=0s idleTimeout=3m0s"
time="2017-09-20T06:02:25Z" level=info msg="Starting provider *web.Provider {"Address":":8080","CertFile":"","KeyFile":"","ReadOnly":false,"Statistics":null,"Metrics":null,"Path":"","Auth":null,"Debug":true,"CurrentConfigurations":{},"Stats":{"Uptime":"2017-09-20T06:02:25.334560908Z","Pid":1416,"ResponseCounts":{},"TotalResponseCounts":{},"TotalResponseTime":"0001-01-01T00:00:00Z"},"StatsRecorder":null}"
time="2017-09-20T06:02:25Z" level=info msg="Starting provider *consul.CatalogProvider {"Watch":false,"Filename":"","Constraints":[],"Trace":false,"DebugLogGeneratedTemplate":false,"Endpoint":"<IP_ADDRESS>:8500","Domain":"service.consul","ExposedByDefault":true,"Prefix":"traefik","FrontEndRule":"Host:{{ServiceName}}.{{Domain}},PathPrefixStrip:/{{ServiceName}}"}"
time="2017-09-20T06:02:25Z" level=info msg="Starting server on :80"
time="2017-09-20T06:02:25Z" level=error msg="Failed to retrieve health checks" error="Unexpected response code: 500 (No known Consul servers)"
time="2017-09-20T06:02:25Z" level=error msg="Failed to list services: Unexpected response code: 500 (No known Consul servers)"
time="2017-09-20T06:02:55Z" level=warning msg="Error checking new version: Get https://update.traefik.io/repos/containous/traefik/releases: dial tcp <IP_ADDRESS>:443: i/o timeout"

Will it be part of 1.4? i am facing same issue.

@SaikiranDaripelli  and @davidgenn could you retry with this image mmatur/traefik:consul_retry

@mmatur I tried above image and i am getting below error if consul is not available on startup with consul KV configuration and traefik container is exiting.
traefik_1  | 2017/10/16 06:13:17 Error loading configuration: Get http://<IP_ADDRESS>:8500/v1/kv/traefik?recurse=&wait=30000ms: dial tcp <IP_ADDRESS>:8500: getsockopt: connection refused ptinfra_traefik_1 exited with code 255
Whereas consulCatelog is working fine  as expected when consul is down on startup and brought up later.

@SaikiranDaripelli should be fixed in https://github.com/containous/traefik/pull/2268

Closed by #2263.


Add ability to withdraw and invalidate consents

This adds functionality allowing nurses to withdraw consent (marking consent that's already given and change to refused) or to invalidate consent (consent that's either refused or given and mark it as invalid so it's ignored).
Screenshots

@benilovj Thanks, I think all those points should be resolved now.


Duplicated row during CSV export

I noticed that when working on the sine curve dataset for the paper. At the moment I reload the CSV in Python and remove duplicate rows using Pandas. This bug should be fixed upstream in Kappa.

Fixed in 1.7.0.


Add creator to new comp by default v2

Add current user as a default participant to creating a competition;
Use addCompetition reducer to update competition state;
When creating a competition, user that is logged in will automatically be selected and disabled by default

This PR address Issue #89


Create a Chocolatey package for the GUI

I'm viewing Chocolatey as the primary method of distributing the GUI, once it is separated.
Rationale...  NuGet packages for a gui don't make a lot of sense. We can hold onto the zip for folks who have some special need to get just the files.
The GUI can install itself under Chocolatey as a standalone package and look for extensions that have also been installed under chocolatey. We may need to create some of the extension installs as well, and contribute to the NUnit Project. This allows a way of working where we don't do any bundling - users decide what extensions they want.

@mikkelbu @iCodeIT @immeraufdemhund
The Chocolatey GUI package is awaiting moderation before it will be listed. It's version 0.4 right now, I'll try to get out version 0.5 before I go. Package name is simply nunit-gui and you can install it using
choco install nunit-gui

There are also packages in review for each of the extensions. If you install an extension in chocolatey, it becomes available to the gui installed the same way. Extenson packages are

nunit-extension-nunit-project-loader
nunit-extension-vs-project-loader
nunit-extension-nunit-v2-result-writer
nunit-extension-nunit-v2-driver
nunit-extension-teamcity-event-listener

Great 👍 . I'll try out the package when they are available

They are available using the command-line but not yet searchable on the site.

Gui package has now been approved and is on chocolatey.org. I'll do an update with the 0.5 release.


Allow configuring of basic authentication

With the runatlantis/atlantis v0.17.5 release, users are allowed to configure a basic authentication. The helm chart does not allow the livenessProbe and readinessProbe to add custom headers, so this PR adds support for both the creation of credentials and probes.
In this PR you will find:

Updated values
Updated README
A secret resource holding credentials
Modified StatefulSet resource to inject the environments required by the basic authentication configuration (ATLANTIS_WEB_BASIC_AUTH, ATLANTIS_WEB_USERNAME, ATLANTIS_WEB_PASSWORD)
[Removed] Modified livenessProbe and readinessProbe to add a basic authorization header

Tested it manually, deploying atlantis in an EKS cluster.
Edit:
There's no need for livenessProbe and readinessProbe to add a basic authorization header since the bug was fixed in atlantis source code #1896, so the code was removed.

Looks good to me. We are also in need of this configuration. environmentSecrets isn't something that can help us because that would mean we have to create a secret outside of the helm installation, which means that secret will not go away automatically when we helm chart is uninstalled.

Looks good to me. We are also in need of this configuration. environmentSecrets isn't something that can help us because that would mean we have to create a secret outside of the helm installation, which means that secret will not go away automatically when we helm chart is uninstalled.

You can avoid that by using the extraManifests field already supported by this chart. That's the way I deployed in the first place this feature, before creating this PR.

Looks good to me. We are also in need of this configuration. environmentSecrets isn't something that can help us because that would mean we have to create a secret outside of the helm installation, which means that secret will not go away automatically when we helm chart is uninstalled.

You can avoid that by using the extraManifests field already supported by this chart. That's the way I deployed in the first place this feature, before creating this PR.

My colleague and I both missed that one 😅 Thanks for clearing that up, that's extremely useful to know for future reference. And thanks for the changes, that'll make our configuration a lot easier as well!


fixed link to operator folder

fixed a dead link

I don't get it. Seems to work if you render the docs with mkdocs serve and on https://compliantkubernetes.io. Or?

I don't get it. Seems to work if you render the docs with mkdocs serve and on https://compliantkubernetes.io. Or?

I don't get it. Seems to work if you render the docs with mkdocs serve and on https://compliantkubernetes.io. Or?

ah - ok.  Didn't check there, just in the repo and that gives a 404 - my bad

I don't get it. Seems to work if you render the docs with mkdocs serve and on https://compliantkubernetes.io. Or?

ah - ok.  Didn't check there, just in the repo and that gives a 404 - my bad

Is there a way to have both? Links working in repo and post-mkdocs?
On Thu, 21 Jan 2021, 15:56 geoff-elastisys<EMAIL_ADDRESS>wrote:

Closed #45 https://github.com/elastisys/compliantkubernetes/pull/45.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/elastisys/compliantkubernetes/pull/45#event-4233909452,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMVPIN554MNNMNZ5EKWPOTS3A6BHANCNFSM4WMZ3DOA
.

Is there a way to have both? Links working in repo and post-mkdocs?
On Thu, 21 Jan 2021, 15:56 geoff-elastisys<EMAIL_ADDRESS>wrote:

Closed #45 https://github.com/elastisys/compliantkubernetes/pull/45.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/elastisys/compliantkubernetes/pull/45#event-4233909452,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMVPIN554MNNMNZ5EKWPOTS3A6BHANCNFSM4WMZ3DOA
.

Is there a way to have both? Links working in repo and post-mkdocs?
…
On Thu, 21 Jan 2021, 15:56 geoff-elastisys, @.***> wrote: Closed #45 <#45>. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#45 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMVPIN554MNNMNZ5EKWPOTS3A6BHANCNFSM4WMZ3DOA .

hmmm. Don't know, I'll take a look some time this morning and if yes, will re-open PR

Is there a way to have both? Links working in repo and post-mkdocs?
…
On Thu, 21 Jan 2021, 15:56 geoff-elastisys, @.***> wrote: Closed #45 <#45>. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#45 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMVPIN554MNNMNZ5EKWPOTS3A6BHANCNFSM4WMZ3DOA .

hmmm. Don't know, I'll take a look some time this morning and if yes, will re-open PR


Add providerName and providerIncidentId to Incident properties

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[x] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[ ] Other, please clarify

When you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[x] No, no need to refresh for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

We will soon create a new version for our Swagger preview, it will take a few weeks, at this time we have only 1 version.
This change is very important and small (adding 2 optional fields).
Is it possible to approve since this is a preview swagger and small change?
Who can help me with this change?
Thanks in advance!
@leni-msft

We will soon create a new version for our Swagger preview, it will take a few weeks, at this time we have only 1 version.
This change is very important and small (adding 2 optional fields).
Is it possible to approve since this is a preview swagger and small change?
Who can help me with this change?
Thanks in advance!
@leni-msft

Hi @roherzbe , adding optional properties are regarded as breaking change. Please request approval from breaking change review board (see the Action in above comment).

Hi @roherzbe , adding optional properties are regarded as breaking change. Please request approval from breaking change review board (see the Action in above comment).


Add gitea registry tests

We need e2e tests for gitea registry.
Something like:
$ docker login gitea.<IP_ADDRESS>.nip.io:8443
Username: giteaadmin
Password:
WARNING! Your password will be stored unencrypted in /home/ubuntu/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

$ docker login gitea.<IP_ADDRESS>.nip.io:8443
Username: giteaadmin
Password:
WARNING! Your password will be stored unencrypted in /home/ubuntu/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

$ docker tag docker.io/library/ubuntu:24.04 gitea.<IP_ADDRESS>.nip.io:8443/giteaadmin/ubuntu:24.04

$ docker push gitea.<IP_ADDRESS>.nip.io:8443/giteaadmin/ubuntu:24.04
The push refers to repository [gitea.<IP_ADDRESS>.nip.io:8443/giteaadmin/ubuntu]
a30a5965a4f7: Pushed
24.04: digest: sha256:19bc204df71f4086020b609089ebf49b332c2e373ec31e3512644b8ad9615001 size: 529

As reported, we have an issue when we try to access gitea.cnoe.localtest.me:8443 in a pod running on idpbuilder cluster gitea (ans also argocd, etc packages) as documented with this testing project: https://github.com/ch007m/idpbuilder-gitea-issue?tab=readme-ov-file
So we should add tests able to verify/validate that BUT also propose a way to also expose the services: argocd, gitea, etc using the VM/Laptop IP adddress and not the IP: <IP_ADDRESS> or hostname: localhost to avoid such an error when we call gitea within a pod
[curl-gitea] * IPv6: (none)
[curl-gitea] * IPv4: <IP_ADDRESS>
[curl-gitea] *   Trying <IP_ADDRESS>:8443...
[curl-gitea] * connect to <IP_ADDRESS> port 8443 from <IP_ADDRESS> port 60442 failed: Connection refused
[curl-gitea] * Failed to connect to gitea.cnoe.localtest.me port 8443 after 0 ms: Could not connect to server
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
[curl-gitea] * closing connection #0
[curl-gitea] curl: (7) Failed to connect to gitea.cnoe.localtest.me port 8443 after 0 ms: Could not connect to server


Shutdown Gen 1 VM during dvd drive add if running

Users need to run below steps to enable guest management for Day2 VMs:

Mount the ISO that we embed bootstrapping scripts into and attach it to the VM as a DVD drive (run az CLI).
Enable the guest agent on the VM (log in the VM and run the script).
Enable guest management (run az CLI).

The issue we hit is during step 1 - we always attached DVD drives to Gen 1 VMs via the IDE controller. This blocked us on day 2 operations because hot adding a DVD drive to the IDE controller of a Gen 1 VM is not supported.
The initial fix was to standardize the ISO attachment process across gen1 VMs and gen2 VMs so the ISO can be attached to the SCSI controller for all VMs while the VM is running. However, the gate caught a regression - the disk attachment to the SCSI controller failed in a test that ran on a machine with an older OS and VMMS version. We got information from Hyper-V team that this feature has limited support but is not yet publicly available, and they advised us to file dependency items.
This fix offers an alternative workaround by shutting down the Gen1 VM during the ISO attachment and restarting it once the process is complete.

/azp run


Bow Enchants - Infinity

Applied infinity to a Forgero bow, doesnt work with vanilla arrows or forgero arrows.

I'll look into that!


Long text within a Quiet Picker overflows the container

Provide a general summary of the issue here
If you have a Quiet Picker and have a set width on it, the selected item text within can overflow outside the container if it is too long.
🤔 Expected Behavior?
item text should truncate
😯 Current Behavior
item text overflows the container
💁 Possible Solution
No response
🔦 Context
No response
🖥 Steps to Reproduce
https://codesandbox.io/p/sandbox/lucid-tristan-nksmmr?file=%2Fsrc%2FApp.js%3A5%2C32
Version
3.32.2
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS 14.1
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Related: https://github.com/adobe/react-spectrum/issues/2961, https://github.com/adobe/react-spectrum/issues/4912.


Could you please provide more concrete pkgs version?

Hi, did you solve it? I'm also getting stuck in the problem of package versions with socketIO_client, flask, and flask_socketio.


feat: Add linkedin social to calendar

Adds linkedin icon to the footer that links to longhorn developer linkedin page.
Huly®: UTRP-352

This change is

nice

reference the issue

#311


feat: update camunda8

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@saig0 could please check this PR? I'm on my way to update the hazelcast exporter

For a new release, I would like to support the new DMN records. So, we could export and consume them (e.g. show deployed DMN decisions).
@andrejpetras do you want to work on #175 too?


fix issue 7489 and disposable handling

fixes #7489. vscode made some changes and will pass extra arguments to the command, adding argument type check and use default resource type if the argument is not string typed.

rename the "Open SQL Server deployment dialog" menu to "More deployment options..." to avoid confusion, I've seen people raising question about this multiple times.

Refactor the disposable handling logic into the DialogBase class.

@alanrenmsft In the future please try to make the titles more descriptive on what's being changed - especially since these usually end up being the commit title as well.


Resources with timeline view

Is your feature request related to a problem?
Resources with timeline view
when i open Resources with timeline view
I realized that I don't know which file I'm looking for
Describe the solution you'd like
Now，I guess Should the resource name be displayed instead of the resource type， because If the resource is a file, I cannot see the name of the file
Additional context

Updated in https://github.com/usememos/memos/commit/14adcb56da04808733d9be79f612b6bb4b359386


[13.0] ISPN-13877 Create component metadata for SSL_KEYEXCHANGE

https://issues.redhat.com/browse/ISPN-13877

Already fixed since 13.0.10.Final (https://issues.redhat.com/browse/ISPN-13836)


add default_run to SerializedPackage

close https://github.com/rust-lang/cargo/issues/9497

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

r? @ehuss
Thanks!  Can you add a test that checks the value is not null?
Can you also update the documentation at https://github.com/rust-lang/cargo/blob/master/src/doc/man/cargo-metadata.md?  Instructions for rebuilding the man pages is at https://github.com/rust-lang/cargo/tree/master/src/doc#building-the-man-pages.

@ehuss Added. Thanks for your tips!

Thanks!  This was discussed in the 2021-05-25 team meeting, so merging without fcp.
@bors r+

:pushpin: Commit 1abc4f2e8aa4f6e944217233892566e080a8a9c1 has been approved by ehuss

:hourglass: Testing commit 1abc4f2e8aa4f6e944217233892566e080a8a9c1 with merge 66686fd9951d14019b75e47b3ae0f647c744cb07...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 66686fd9951d14019b75e47b3ae0f647c744cb07 to master...


feat: sync with main noir repo

subrepo:
subdir:   "noir"
merged:   "2211cf0d0"
upstream:
origin:   "https://github.com/noir-lang/noir"
branch:   "aztec-packages"
commit:   "3f6a24d07"
git-subrepo:
version:  "0.4.6"
origin:   "https://github.com/ingydotnet/git-subrepo"
commit:   "110b9eb"

Oof, looks like Aztec is conflicting with something in the Noir stdlib. I'm just going to rename U128 to AztecU128 for now and we can replace it in a future PR.

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 0fca2c40 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,444
179,588
716,132

l1_rollup_calldata_gas
222,996
868,328
3,446,852

l1_rollup_execution_gas
936,297
3,970,959
24,790,545

l2_block_processing_time_in_ms
1,362 (+3%)
5,221 (+2%)
21,503 (+2%)

note_successful_decrypting_time_in_ms
346 (+5%)
1,050 (+5%)
3,832 (+5%)

note_trial_decrypting_time_in_ms
59.6 (+51%)
39.1 (+37%)
143 (+4%)

l2_block_building_time_in_ms
14,917
59,344
238,093

l2_block_rollup_simulation_time_in_ms
10,544 (-1%)
42,061
169,013 (-1%)

l2_block_public_tx_process_time_in_ms
4,339 (+1%)
17,197
68,617 (+1%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,992 (-1%)
28,936

note_history_successful_decrypting_time_in_ms
2,342 (-1%)
4,619

note_history_trial_decrypting_time_in_ms
71.9 (-9%)
155 (+6%)

node_database_size_in_bytes
3,617,400
3,726,205

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
210
44,709
25,561

private-kernel-ordering
138
30,953
14,809

base-rollup
1,061 (-2%)
128,374
881

root-rollup
80.8 (-2%)
4,088
889

private-kernel-inner
288
71,236
25,561

public-kernel-private-input
203
31,891
25,561

public-kernel-non-first-iteration
201
31,933
25,561

merge-rollup
8.39 (-13%)
2,608
881

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
2 leaves
8 leaves
16 leaves
32 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
8192 leaves

batch_insert_into_append_only_tree_ms
11.2 (+1%)
92.0 (+6%)
14.4 (+6%)
18.0 (+1%)
26.0 (+3%)
50.6 (+2%)
89.4
247 (+2%)
470
929 (+2%)
3,619 (+2%)

batch_insert_into_indexed_tree_ms
N/A
N/A
N/A
64.9 (+1%)
N/A
60.2
112 (+2%)
366 (+2%)
734 (+1%)
1,433 (+2%)
5,660 (+2%)

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,487
31,906

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
344
965

Metric
1 public data writes

tx_sequencer_processing_time_ms
531

Regarding U128 was it added to the prelude or something? I don't understand why it's clashing

Yes, it's in the prelude.


"CSV" from HP 'scope causes segfault

The attached file WAV00.csv causes a segfault when importing it:
#0  MockOscilloscope::NormalizeTimebases() (this=0x555555873800) at /home/georgev/Code/scopehal-apps/lib/scopehal/MockOscilloscope.cpp:1069
azonenberg/scopehal-apps#1  0x00007ffff64c1b89 in MockOscilloscope::LoadCSV(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    (this=<optimized out>, path="/home/georgev/WAV00.csv") at /home/georgev/Code/scopehal-apps/lib/scopehal/MockOscilloscope.cpp:1051
azonenberg/scopehal-apps#2  0x00005555555fcc4d in OscilloscopeWindow::ImportCSVToNewSession(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=0x55555597d430, filename="/home/georgev/WAV00.csv") at /home/georgev/Code/scopehal-apps/src/glscopeclient/OscilloscopeWindow.cpp:964
azonenberg/scopehal-apps#3  0x00005555555fdc48 in OscilloscopeWindow::OnFileImport() (this=0x7fffffffce90)
    at /home/georgev/Code/scopehal-apps/src/glscopeclient/OscilloscopeWindow.cpp:805
azonenberg/scopehal-apps#4  0x00007ffff6c1ce49 in Glib::SignalProxyNormal::slot0_void_callback(_GObject*, void*) () at /usr/lib/libglibmm-2.4.so.1
azonenberg/scopehal-apps#5  0x00007ffff68a1ddf in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
azonenberg/scopehal-apps#6  0x00007ffff68cb1d8 in  () at /usr/lib/libgobject-2.0.so.0
azonenberg/scopehal-apps#7  0x00007ffff68becad in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
azonenberg/scopehal-apps#8  0x00007ffff68bf210 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
azonenberg/scopehal-apps#9  0x00007ffff72ac2a5 in gtk_widget_activate () at /usr/lib/libgtk-3.so.0
azonenberg/scopehal-apps#10 0x00007ffff717245d in gtk_menu_shell_activate_item () at /usr/lib/libgtk-3.so.0
azonenberg/scopehal-apps#11 0x00007ffff7172734 in  () at /usr/lib/libgtk-3.so.0
azonenberg/scopehal-apps#12 0x00007ffff70041e5 in  () at /usr/lib/libgtk-3.so.0
azonenberg/scopehal-apps#13 0x00007ffff68bf096 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
azonenberg/scopehal-apps#14 0x00007ffff68bf210 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
azonenberg/scopehal-apps#15 0x00007ffff72bf6f5 in  () at /usr/lib/libgtk-3.so.0
azonenberg/scopehal-apps#16 0x00007ffff715d3b5 in  () at /usr/lib/libgtk-3.so.0
azonenberg/scopehal-apps#17 0x00007ffff715e2d3 in gtk_main_do_event () at /usr/lib/libgtk-3.so.0
azonenberg/scopehal-apps#18 0x00007ffff6ebe7f3 in  () at /usr/lib/libgdk-3.so.0
azonenberg/scopehal-apps#19 0x00007ffff6f0e554 in  () at /usr/lib/libgdk-3.so.0
azonenberg/scopehal-apps#20 0x00007ffff67ae02c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
azonenberg/scopehal-apps#21 0x00007ffff6801b59 in  () at /usr/lib/libglib-2.0.so.0
azonenberg/scopehal-apps#22 0x00007ffff67ab781 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
azonenberg/scopehal-apps#23 0x00007ffff7154353 in gtk_main_iteration_do () at /usr/lib/libgtk-3.so.0
azonenberg/scopehal-apps#24 0x00007ffff7c183be in Gtk::Main::iteration(bool) () at /usr/lib/libgtkmm-3.0.so.1
azonenberg/scopehal-apps#25 0x00005555556343a2 in ScopeApp::run(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, bool, bool, bool, bool, bool)
    (this=this@entry=0x5555556bfb90, filesToLoad=std::vector of length 0, capacity 0, reconnect=reconnect@entry=false, nodata=nodata@entry=false, retrigger=retrigger@entry=false, nodigital=nodigital@entry=false, nospectrum=false)
    at /home/georgev/Code/scopehal-apps/src/glscopeclient/ScopeApp.cpp:143
azonenberg/scopehal-apps#26 0x00005555555bf86d in main(int, char**) (argc=<optimized out>, argv=<optimized out>)
    at /home/georgev/Code/scopehal-apps/src/glscopeclient/main.cpp:215

This was exported as "YValues" from my scope.
I would expect it to import with some arbitrary or user-specified timebase.

So this file provides Y values only, no timebase? Interesting. This definitely violates our input format spec but shouldn't crash.
Does your scope support exporting both X and Y values? IMO the correct way to handle this file is just to report an error and tell the user to submit something well formed.

Yes, XYValues is another option. It's also trivial to backfill the timebase
in Excel.
Reason I picked Y-only is because it takes a nontrivial amount of time to
write 400KB to a floppy disk... if that gives you an idea of the age of the
thing, haha
On Sun, Jun 13, 2021, 10:49 PM Andrew Zonenberg @.***>
wrote:

So this file provides Y values only, no timebase? Interesting. This
definitely violates our input format spec but shouldn't crash.
Does your scope support exporting both X and Y values? IMO the correct way
to handle this file is just to report an error and tell the user to submit
something well formed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/azonenberg/scopehal/issues/499#issuecomment-860343614,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6E7ZI7HIYGAEHD6HIUMNDTSV36LANCNFSM46UM2COA
.

I just pushed a commit that should result in MockOscilloscope::LoadCSV() returning an error and failing, rather than segfaulting, when presented with a CSV that has only one column. From my perspective the bug (the crash) is now fixed.
I intend to close this issue as soon as you confirm this fixes your problem; if you want to file a separate lower priority enhancement request for allowing import of Y-only CSV files then feel free. But I probably won't get to it any time soon as my focus is getting ready for the v0.1 release.

Great, thanks for looking! Confirmed no longer segfaulting. It's not a super specific error...

but agree, I think UI improvements would be great but not high priority.

There's a more detailed message on stdout. The current MockOscilloscope API only provides a success/fail status to the caller so the detailed info has to be printed elsewhere. We can clean this up in the future.


--insecure-registry do not effect

Description
I pulled the rancher image from a http registry, I used option --insecure-registry, but it do not effect, the pull operation always used https and got 403 error
nerdctl --insecure-registry pull hub-mirror.c.163.com/rancher/rancher
WARN[0000] skipping verifying HTTPS certs for "hub-mirror.c.163.com"
FATA[0000] failed to resolve reference "hub-mirror.c.163.com/rancher/rancher:latest": unexpected status from HEAD request to https://hub-mirror.c.163.com/v2/rancher/rancher/manifests/latest: 403 Forbidden
Steps to reproduce the issue

Describe the results you received and expected
pull the image
What version of nerdctl are you using?
1.2.1
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
Rancher Desktop for Windows
Host information
No response

I executed the command in issue and the pull operation succeeded. However, I believe the issue may be related to a network problem on your end.
May I inquire as to whether you have attempted to utilize an alternative registry mirror.

 nerdctl --insecure-registry  need a http support in the registry side . Multiple registries enforce https  protocol.


Enable Monolithic build

This PR adds an option that combines all targets into a single velox target and build a single unified libvelox.a. This is entirely optional and defaults to off. This will make it easier for downstream users to use Velox by just linking to velox::velox in their own cmake instead of having to look through our cmake which targets they need. (Once we have a config etc.).
I have yet to test the install functionality (it's strictly a bonus, the monolithic build is the goal for now).

I rebased, this should fix the test failures but the build works so I think this is review ready.
@kgpai I didn't add the license header to the dbgn cmakelists as it's absence looked intentional? Should we add it or exclude the file from the test?

While testing the new format I noticed that there are A LOT of files that are not correctly formatted but didn't show up because we only look at touched files.  You can repro this by running ./scripts/check.py format tree --fix velox and check the changed files in git.
We should probably apply formatting across everything, merge that as a standalone commit and than create a git blame revs ignore file to avoid that commit showing up everywhere when people git blame. @kgpai @pedroerp @mbasmanova ?

@assignUser Linux Build / Linux release with adapters (pull_request) is now passing.

@assignUser Run Checks / Code Format (pull_request) is still failing.

That's because of the changes to cake format now needing pyyaml. Once the container is rebuild it will pass. But I can also add temporary line to the job.

Once the container is rebuild it will pass. But I can also add temporary line to the job.

Let's add a temporary line to ensure it passes.

I have opened https://github.com/facebookincubator/velox/issues/10262 as a follow up.

@assignUser can you rebase with main to get the linux CI jobs running?

@majetideepak done, thanks

@assignUser there is a new merge conflict.

Hi @assignUser I'm seeing a conflict in pyvelox/CMakeLists.txt, do you mind rebasing?

@kevinwilfong done :)


Very interesting

Please expand this one with some clear examples! This can lead to huge increase of business value!

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

ID: 4c16d9ca-f2e2-5f3a-7c01-9187c7b1f02b
Version Independent ID: 0ad9169e-20ce-4370-17bb-615ae64db0e9
Content: Demand Forecasting + Price Optimization - Azure Solution Ideas
Content Source: docs/solution-ideas/articles/demand-forecasting-price-optimization-marketing.md
Service: architecture-center
GitHub Login: @adamboeglin
Microsoft Alias: pnp

Hi @mrmarten Thanks for your feedback. We will review and update as appropriate.

@mrmarten Thanks for the idea and suggestion. Will create the internal work item for this. For now I will proceed with closure of this and If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


-Fix requirements issue

-Session keyword fix for later versions of pip
-The dependency is a borderline troll level package I made to sidestep the batteries totally not included pip session sabotage I get mad about every time I see :)
-Includes some pedantic pep8isms my editor barked at me about.

Ha I see morr did basically the same thing :) either or I'd be happy. Or neither heh


Searching for German umlauts (üöä) brings incorrect results

I tested this with latest versions of Firefox and Chrome and I am using<EMAIL_ADDRESS>with the german language pack which is working well, except finding values with german umlauts. For instance entering 'ö' brings up the name 'Götz' but also any other name containing just an 'o'. The same with 'ü', 'ä', 'ß'. Any collation in my database is utf8mb4_unicode_ci which is supposed to work with any unicode char.  My Select2 code is
$("#dispo").select2( {
  width: '100%',
  language: 'de',
  data: fData,
  sorter: data => data.sort((a, b) => a.text.localeCompare(b.text)),
  dropdownAutoWidth: true,
  closeOnSelect: false,
  allowClear: false
});

I found a Select2 codepen and modified the options. In "Select One" you can search and see that 'ö ü ä ß' are treated equally like 'o u a s' : https://codepen.io/craftydlx/pen/OJNPwwp
If it's of any help: I am also using DataTables.net in my web app and their search function works flawlessly with german umlauts, just bringing up this one name 'Götz' when searching for 'ö'.

https://select2.org/i18n#transliteration-support-diacritics
Select2 will automatically strip diacritics as a part of the internationalization support. This is built into the default matcher, so if you are interested in having a different matching ability then we would recommend you customize it to meet your needs.
https://select2.org/searching#customizing-how-results-are-matched
I would recommend taking a look at the default mapper and removing the portions where we strip out diacritics as a good reference.
https://github.com/select2/select2/blob/develop/src/js/select2/defaults.js#L244-L287

Thanks. Now that I know the term 'diacritics' I found this thread you answered almost 5 years ago: https://github.com/select2/select2/issues/4007
So according to your answers here and there I copied the function matcher (params, data) and removed stripDiacritics. The result stays the same as with the original matcher, still 'üöäß' are equal to 'uoaß'. What am I missing?
<script>
(function(){
    function matcher (params, data) {
      if (params.term == null || params.term.trim() === '') {
        return data;
      }

      if (data.children && data.children.length > 0) {
        var match = $.extend(true, {}, data);
        for (var c = data.children.length - 1; c >= 0; c--) {
          var child = data.children[c];
          var matches = matcher(params, child);
          if (matches == null) {
            match.children.splice(c, 1);
          }
        }

        if (match.children.length > 0) {
          return match;
        }
        return matcher(params, match);
      }

      var original = data.text.toUpperCase();
      var term = params.term.toUpperCase();

      if (original.indexOf(term) > -1) {
        return data;
      }
      return null;
    }

   $("#dispo").select2({
        matcher: matcher
    });
})();
</script>

Are you able to turn that code snippet into a jsbin (or comparable live runner) where it shows the matcher not working? That code snippet should be enough to turn it off so if it doesn't then we have other issues.

I updated the codepen from above, should apply to the first form field now: https://codepen.io/craftydlx/pen/OJNPwwp

Found something. I am not allowed to
(...)
   $(".js-select2").select2({
        matcher: matcher
    });
})();

  $(".js-select2").select2();

because then my custom matching method is overwritten by the standard method(?). Not sure if this is the issue in my code but will check.

Yeah that was the issue. I declared my Select2 by
          $("#dispo").select2( {
         	  width: '100%',
         	  language: 'de',
            data: fData,
          	sorter: data => data.sort((a, b) => a.text.localeCompare(b.text)),
            dropdownAutoWidth: true,
            closeOnSelect: false,
            allowClear: false
          });

and wanted to declare the matcher afterwards with
   $("#dispo").select2({
        matcher: matcher
    });

but that's obviously not okay for Select2.
Thanks for your help!


ci: Migrate stefanprodan/helm-gh-pages with step-security maintained version

Background
Step-security is maintaining a list of actions with low scores. We need to update our third party actions to use
only actions with high scores. Step-security is now maintaining forked versions of utilized actions that should
be used. This story intends to update the actions listed below in Step-Security Actions.
Step-Security Action(s)
Update github actions with step-security maintained version

[ ] Original Action: stefanprodan/helm-gh-pages - Step Security Maintained Action: step-security/helm-gh-pages

:tada: This issue has been resolved in version 0.29.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Theme not applied when starting up

http://i.imgur.com/3FC5SWk.png
http://i.imgur.com/Jjqz5GZ.png

When applications starts, it shows a stub window with default app theme. This theme can't be changed depending on the settings.

Have you considered using a splash screen instead of a stub window?

No, I don't like splash screens.
But I'll make stub window more neutral. In next version there will be white window without action bar, so a transition effect won't be so evident.

Why hide the action bar, I don't know of any other app that does this.

I don't know of any other app that does this.
All jewgle apps do.

I'm sorry I was thinking of the navigation bar, which isn't visible in your screenshot I assume because you have physical/capacitive buttons.


Add a UK England and Wales holiday calendar

The rules are described at:
https://en.wikipedia.org/wiki/Public_holidays_in_the_United_Kingdom#England.2C_Northern_Ireland_and_Wales
Sample data used to check those rules (which is also included in tests)
is from the government's website: https://www.gov.uk/bank-holidays

I think the going assumption is that additional holiday calendars are supposed to be a separate package.  See #7070.  The existing ones are kind of there as an example more than the start of establishing a set of calendars that are in pandas.

I agree here. These could be in another package, but not in main pandas.


Problems with mocking an ActiveRecord model method

Consider the following class and methods: (This class is obviously much more complete, but for the sake of this thread...):
class Order < ActiveRecord::Base

  def check
    if (self.user.phone == "55555555") do
      self.a_certain_method
      return
    end
  end

  def a_certain_method
    # Real implementation goes here
  end

end

And the following Unit Test:
describe :do_route do
it "should call a_certain_method if user phone number matches 55555555" do
  # Create a user
  user = Factory(:user)

  # Set hard-coded phone number
  user.phone = "55555555"
  user.save!

  # Create an order made by the ordering user
  order = Factory(:order, :ordering_user => user)

  # Set expectation for a "a_certain_method" call
  mock(order).a_certain_method

  # Call the tested method
  order.check
end
end

From some reason, the above test produces an RR::Errors::TimesCalledError error, which claims that a_certain_method was called 0 times instead of 1... I've been searching around the web for a solution with no luck.
I've tried building a similiar test on a non-activerecord class, and the test produces no errors.
I've used the debugger to check that it does reach the self.a_certain_method line, and also tried using the following instead of mock(order).a_certain_method:
  any_instance_of(Order) do |o|
    mock(o).a_certain_method
  end

Does anyone have any idea how to solve this issue since i'm kind of desperate...

I just encountered the same problem. I can't help but think that I'm doing something wrong, because it seems like a no-brainer.


[QoL] Custom keyboard shortcut for Inline Data

The keyboard shortcut for Actions > Hint as Inline Data is extremely cumbersome to press with a single left hand and requires two hands.  This is annoying because the right hand is usually on the mouse.
Possible ideas:

Ctrl-2 (The @ is a visual mnemonic for data) <-- First choice
Ctrl-Q

Migrating feature requests to wiki.


GVim on Linux doesn't dynamically adjust to user interface scaling

I have a laptop with a High DPI monitor running Debian. When using the laptop screen, user interface scaling is set to "Double". When I plug into an external monitor, I switch this to "Normal". GVim looks correct when its started in either mode. However, switching from Normal to Double or vice versa while GVim is open causes the fonts to blow up in size (when going from Double->Normal) or shrink (in the other direction). Closing and reopening GVim reloads with the correct font size. Attached screenshots after switching from Double -> Normal and then after GVim is reopened.
It seems there's already support for correctly handing High DPI scenarios, it just needs to detect the situation change dynamically. Having to close GVim and reopen it everytime I switch modes is very inefficient since I lose all my context.

I don't use external monitors; but no matter how I change the screen size (even by dragging the sides of an xterm with Vim inside) Vim notices it and adjusts its 'lines' and 'columns' settings. Of course, Vim running in an xterm has no control over the font, but it also notices the size change when I maximize or un-maximize the gvim screen by means of the buttons near top right of its titlebar.
My guess is that when you switch from Normal to Double or vice-versa, your screen interface does not properly notify gvim of the resizing event.

Which gvim version are you using? (as of this writing, the latest one is 8.0.1625)
Which GUI is your gvim compiled for? (GTK2, GTK3, …)
Which system component defines your user interface scaling? (which commands and/or mouse clicks do you use to change it?)

Reminder: The more detailed a bug report the better (and see also "How to Ask Questions the Smart Way" http://catb.org/~esr/faqs/smart-questions.html).
Best regards,
Tony.

Thanks for the quick reply and apologies for lack of details.
The lines and cols are indeed correctly updated when I resize the window. However, the fonts don't scale with the updated UI scale factor. I'm changing the scale factor in the cinnamon-settings app (under General>User Interface Scaling). gvim should have full control over its font if I'm not mistaken. I think gvim is getting whatever resize/rescale signal is sent since the rest of the UI (i.e. the toolbars, titlebar, etc) elements are scaled correctly - though those look like they maybe common widgets that do that automatically. The content pane is the only thing that looks wrong.
Here's some more details, happy to provide more on request or do some diagnostics/log dives (I'm just not sure where to poke):
gvim version 8.0.1401 on Debian "buster" with Cinnamon. I believe it's compiled for GTK2, here's the compile flags if that helps:
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/
pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fdebug-prefix-map=/tmp/build-debs.U8UMDD/vim-8.0.1401-2=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/l
ib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.24/CORE -lperl -ldl -lm -lpthread -lcrypt -L/usr/lib/python2.7/config-x86_64-linux-gnu -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions  -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm

Yes, gvim has full control of its fonts, and yes, your gvim (like mine) is compiled with GTK2 GUI. In that gvim flavour, gvim sets exactly two font parameters, namely the font family name and the point size. For instance, my vimrc includes the following:
if has('gui_running')
  set guifont=Bitstream\ Vera\ Sans\ Mono\ 8
endif

which means that I set the font name to "Bitstream Vera Sans Mono" and its size to 8pt.
About how gvim sets the font, and how you can influence it, see :help 'guifont' and http://vim.wikia.com/wiki/Setting_the_font_in_the_GUI
IIUC, the gvim code (i.e. the C code written by Bram et al. and distributed via a git server on github and via a Mercurial mirror on bitbucket) is not aware of the size of its titlebar and toolbar: that's part of what GTK and/or GDK do "behind the scenes". If the screen-resize event doesn't reach that gvim code it won't adjust how it draws the font, and in particular, if the gvim code doesn't know that the DPI has changed it won't change the number of pixels it uses vertically and horizontally for each "character box".
Maybe someone who knows Debian and Cinnamon better than I do will be able to help you better than I can.
Best regards,
Tony.

Thank you Tony. Yes, it seems the font needs to be updated for DPI in response to the resize. This already happens during initialization so I think it's just a matter of refreshing on some event. If someone who knows about Cinnamon and gvim code could point me at the right window manager event to listen to and a starting point in gvim for setting font size I could possibly have a go at building gvim mysef.

About setting font size, see my previous post.
About what to listen to, you might try setting an autocommand on the VimResized event (q.v.) but I haven't tried it (and anyway, I'm on openSUSE, not Debian, and I don't use Cinnamon).
Here's a possible (untested) snippet for your vimrc. If it doesn't work, well, try something else :-/
if has('gui_running') && has('autocmd')
  au VimEnter let s:fontsetting = &guifont    " save the font at the end of startup
  au VimResized let &guifont = s:fontsetting  " set the font again if the GUI changes size
endif

Best regards,
Tony.

(For those who prefer a hard way:)

If someone who knows about Cinnamon and gvim code could point me at the right window manager event to listen to and a starting point in gvim for setting font size I could possibly have a go at building gvim mysef.

GdkScreen supports two different signals, monitor-changed and size-changed. By connecting  a GdkScreen instance to user defined functions via g_signal_connect() function family, one could set the resolution for font handling on the screen using gdk_screen_set_resolution() there.  (I don't know about Cinnamon at all, though.)