Getting error While executing kitchen converge command.

while executing kitchen converge command its asking root password.
my .kitchen.yml file is

driver:
name: ec2
aws_ssh_key_id: march.pem
region: us-east-1
availability_zone: us-east-1b
subnet_id: subnet-803ab6dc
instance_type: t2.micro
image_id:  ami-0a313d6098716f372
security_group_ids: ["sg-0750d6489c88af419"]
provisioner:
name: chef_zero
You may wish to disable always updating cookbooks in CI or other testing environments.
For example:
always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
transport:
ssh_key: ./march.pem # relative path to pem file
connection_timeout: 10
connection_retries: 5
username: ubuntu
platforms:

name: ubuntu-18.04

suites:

name: default
run_list:

recipe[nginx_cookbook::default]
verifier:
inspec_tests:

test/integration/default
attributes:

Change
aws_ssh_key_id: march.pem
To
aws_ssh_key_id: march
Get Outlook for Androidhttps://aka.ms/ghei36

From: venkatmamillapalli<EMAIL_ADDRESS>Sent: Thursday, April 4, 2019 12:23:03 PM
To: QT-DevOps/DevOpsIssues
Cc: Subscribed
Subject: [QT-DevOps/DevOpsIssues] Getting error While executing kitchen converge command. (#405)
[image]https://user-images.githubusercontent.com/41816043/55535207-1b255e00-56d4-11e9-816a-191c47d5600f.png
while executing kitchen converge command its asking root password.
my .kitchen.yml file is

driver:
name: ec2
aws_ssh_key_id: march.pem
region: us-east-1
availability_zone: us-east-1b
subnet_id: subnet-803ab6dc
instance_type: t2.micro
image_id: ami-0a313d6098716f372
security_group_ids: ["sg-0750d6489c88af419"]
provisioner:
name: chef_zero
You may wish to disable always updating cookbooks in CI or other testing environments.
For example:
always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
verifier:
name: inspec
transport:
ssh_key: ./march.pem # relative path to pem file
connection_timeout: 10
connection_retries: 5
username: ubuntu
platforms:

name: ubuntu-18.04

suites:

name: default
run_list:
*   recipe[nginx_cookbook::default]
verifier:
inspec_tests:

test/integration/default
attributes:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/QT-DevOps/DevOpsIssues/issues/405, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACU0rXqk-AskBHt9NpVR4Q8680t7CcHEks5vdaFPgaJpZM4ccDkm.

Sir, I changed it .still i'm getting same error

its not best practise but try updating visudo
%sudo  ALL=(ALL) NOPASSWD:ALL

Execute kitchen converge - l debug
Share all the logs
Get Outlook for Androidhttps://aka.ms/ghei36

From: Sunil<EMAIL_ADDRESS>Sent: Thursday, April 4, 2019 6:02:04 PM
To: QT-DevOps/DevOpsIssues
Cc: shaikkhajaibrahim; Comment
Subject: Re: [QT-DevOps/DevOpsIssues] Getting error While executing kitchen converge command. (#405)
its not best practise but try updating visudo
%sudo ALL=(ALL) NOPASSWD:ALL
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/QT-DevOps/DevOpsIssues/issues/405#issuecomment-479877814, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACU0rUKBaUbwdUnZcjRz7AzHbTiv82I7ks5vdfDEgaJpZM4ccDkm.

if your issue is resolved please close your issue

plz upload cookbook

did you give user accessible permissions to your .pem file if not give the permission if you know how to if not try out following steps
first know your user by typing "whoami" in powershell then you will come to know your user and copy it
then open properties of your pem file by right clicking on your pem file
then open security and click on advanced and remove all users existing under permission entries to do that first click on disable inheritance then a prompt window will be opened an click on convert inheritance permissions ... and remove all the users
later click on change beside owner then a small window will be opened then paste the copied username from powershell under 'enter the object name to select , and click on check name and ok
then add the user under permission entries by clicking on add then click on 'select principle'  then a small window will be opened then paste the copied username from powershell under 'enter the object name to select , and click on check name and ok and then click on full control under basic permissions then click ok >> click apply >> click ok
now try using kitchen converge and it works without asking password as it worked for me

If your issue was resolved please close the issue


Converted all plain text messages to embeds

Done as indicated in #5

@roshan1337d first one has no purpose of doing so as it gives same result.

I see... There's already ephemeral: true in deferReply. You're right, ignore the 1st one.


WSL Failed To Send HTTP Request On Public Domains/IP!

Windows Version
Microsoft Windows [Version 10.0.22631.3958]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-2
Distro Version
Kali-Linux 2024.2
Other Software
No response
Repro Steps
On Fresh & Clean Windows I Just Installed Kali-Linux In WSL!
I'm Able To Curl/Wget On Locally Hosted Web Applications But Can't On Public Domains/IP Such As google.com or http://<IP_ADDRESS>.
But I Can Connect Over SSH & Ping To Public IP/Domains! It Resolves Domains Perfectly!
Expected Behavior
~$curl https://google.com -v
* Host google.com:443 was resolved.
* IPv6: (none)
* IPv4: <IP_ADDRESS>
*   Trying <IP_ADDRESS>:443...
* Connected to google.com (<IP_ADDRESS>) port 443
* schannel: disabled automatic use of client certificate
* ALPN: curl offers http/1.1
* ALPN: server accepted http/1.1
* using HTTP/1.x
> GET / HTTP/1.1
> Host: google.com
> User-Agent: curl/8.8.0
> Accept: */*
>
* Request completely sent off
* schannel: remote party requests renegotiation
* schannel: renegotiating SSL/TLS connection
* schannel: SSL/TLS connection renegotiated
< HTTP/1.1 301 Moved Permanently
< Location: https://www.google.com/
< Content-Type: text/html; charset=UTF-8
< Content-Security-Policy-Report-Only: object-src 'none';base-uri 'self';script-src 'nonce-PiuZ-w_o10YCo-0HfaHNyw' 'strict-dynamic' 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri https://csp.withgoogle.com/csp/gws/other-hp
< Date: Mon, 29 Jul 2024 12:42:43 GMT
< Expires: Wed, 28 Aug 2024 12:42:43 GMT
< Cache-Control: public, max-age=2592000
< Server: gws
< Content-Length: 220
< X-XSS-Protection: 0
< X-Frame-Options: SAMEORIGIN
< Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
<
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>301 Moved</TITLE>

301 Moved

The document has moved
here.

* Connection #0 to host google.com left intact

Actual Behavior
Curl To Google!
└─$ curl https://google.com -v
* Host google.com:443 was resolved.
* IPv6: 2404:6800:4007:821::200e
* IPv4: <IP_ADDRESS>
*   Trying <IP_ADDRESS>:443...
*   Trying [2404:6800:4007:821::200e]:443...
* Immediate connect fail for 2404:6800:4007:821::200e: Network is unreachable
* connect to <IP_ADDRESS> port 443 from <IP_ADDRESS> port 33158 failed: Connection timed out
* Failed to connect to google.com port 443 after 133695 ms: Couldn't connect to server
* Closing connection
curl: (28) Failed to connect to google.com port 443 after 133695 ms: Couldn't connect to server

Diagnostic Logs
Curl On Locally Hosted Web Application (Routers Admin Panel)
└─$ curl http://<IP_ADDRESS> -vI
*   Trying <IP_ADDRESS>:80...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 80
> HEAD / HTTP/1.1
> Host: <IP_ADDRESS>
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 405 Method Not Allowed
HTTP/1.1 405 Method Not Allowed
< Content-Type: text/html;charset=UTF-8
Content-Type: text/html;charset=UTF-8
< Content-Length: 0
Content-Length: 0
< Connection: close
Connection: close
< Cache-control: no-cache
Cache-control: no-cache
<

* Closing connection

Ping Test On Google! (It Can Resolve The Host!)
└─$ ping google.com -c 3
PING google.com (<IP_ADDRESS>) 56(84) bytes of data.
64 bytes from maa05s26-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=1 ttl=55 time=31.6 ms
64 bytes from maa05s26-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=2 ttl=55 time=34.0 ms
64 bytes from maa05s26-in-f14.1e100.net (<IP_ADDRESS>): icmp_seq=3 ttl=55 time=35.4 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 31.597/33.687/35.445/1.588 ms

Here's Network Log!!
WslNetworkingLogs-2024-07-29_20-28-33.zip

Additionally I'd Like To Say That It Works Perfectly With WSL1 But Problem Still Remains WSL2! And It's Happening On All Distro!

hi @0xrobiul thanks for attaching the logs
the logs show SYN packets to the IP of google.com, port 443 being sent by Linux, Windows applies NAT-ing to those packets and sends them over the Wifi interface, but there is no SYN-ACK response from the IP of google.com. This suggests something external to the Windows host is interfering with the traffic.
do you have an HTTP/HTTPS proxy configured on Windows?

Hey @CatalinFetoiu,
There's No Proxy Configuration, And It's A Complete Fresh Windows 11 Home Installation!

@0xrobiul thanks. can you please collect a new set of logs using the following instructions?
I'd like to see logs of WSL starting up and of connecting to google.com over HTTPS from both Windows and Linux
Start .\collect-networking-logs.ps1
Run "wsl --shutdown"
Start WSL
on Windows, connect to https://google.com in a browser
In Linux, run curl https://google.com
Stop collect-networking-logs.ps1 and share the zip
Thanks

Hey @CatalinFetoiu,
Here's The Log!!
WslNetworkingLogs-2024-08-03_05-25-17.zip

Hey @CatalinFetoiu, Any Update On It?


Fix highlight issues on manifest preview table

7f221f8

Fix bug that highlight was not properly displayed. For R < 4.0, the strings are by default converted to factors in data.frame and factors are not working properly in formatStyle in datatable(). Add options(stringsAsFactors = FALSE) in the global setting to make compatible for different R versions.
Blank values are not highlighted properly if they are wrong values. blank in filled manifest was read as NA using readr, but the validateModelManifest output the blank values as ''. So the error values from backend ('') will not match the value in loaded manifest (NA).

This is not reproducible, so change NA to "" after readr can simply solve the issue. We do not need  both frontend and backend output to something else
In addition, the '' will not be considered as not highlight in formatStyle function.

Or we may need backend support to let validateModelManifest read manifest from R variable instead of file path or output error blank values to NA. Otherwise, update front-end can still deal with this issue for now.
ee07b3c

Improve help message and remove row index in preview table section

I notice the 'sss' cell in <filename> is not highlighted in the preview table (see screenshot).

I thought it was bug for highlighting function, then I notice it is not recognized as an invalid value from backend. So this PR is ready for review. @sujaypatil96 @milen-sage

Yes, filenames are not part of the controlled vocabulary in the data model schema, so we don't check during validation. On manifest submission, if a filename is not found on Synapse it is not included in the manifest stored on Synapse. Ideally we want to warn the user if this is the case with some of their files. Right now we don't warn them and the submission of the manifest proceeds w/o errors, which may be misleading.
We discussed this a bit earlier: if for some reason the metadata submitter has a manifest that contains filenames that do not match any of the filenames found on Synapse, the resulting uploaded manifest to Synapse is empty - there is no warning or error displayed, which we want to handle better in the future.
I agree this PR is good to review/test and merge if there are no further requested changes @sujaypatil96


Transaction To Large Exception while Opening TOC

Hello,
I am Using Folio reader to open a large ePub file, i see the Table Of Content is large, that cause this exception:
07-18 12:50:43.584 23019 23019 E AndroidRuntime: java.lang.RuntimeException: Failure from system
07-18 12:50:43.584 23019 23019 E AndroidRuntime: Caused by: android.os.TransactionTooLargeException: data parcel size 4730508 bytes
i dont know how to provide the epub file actualy, because of the link of the library being down
are you providing the TOC over Intent to the TOC activity?
thanks.

The IPC transaction buffer size is set to 1024KB. This libs has been transfer all of total size of item, you need customize your self


[BUG] Many Innactive Pairs in UI

Problem which needs open discussion.
Current solutions are to hide inactive pairs with a checkbox
One is also having a star column before others with "active" pairs

TODO:

Add checkbox to hide inactive pairs (0 volume past 24 hours)
Show all qualified + gateway assets against every base pair.


Port Techno Slide Whistle

[x] Get code running on ESP32-S2
[x] Color
[x] Resize everything for the larger screen (no more tiny font)
[x] Resize bars, ticks, cursor?
[x] Fix roll
[x] Rotate all axes by 90 degrees (from "ship wheel" to "game controller / the way it sits on a table") (this is close enough, thanks Adam!)
[x] Think up something for B to do (Kevin says: hold note?)
[x] Multiple octaves, switch via Up and Down on d-pad (add one more C to C at the end of each scale - DUPLICATE C's BETWEEN BARS)

Up: high octave
None: mid octave
Down: low octave

[x] Probably should have button labels
[x] (Optional) Change modifier buttons to work with d-pad instead of accelerometer
[x] Fix/alter arps/scales (Dac will do this) (Does the "Dac" scale need extra C notes from the next octave at the end of each line?)
[x] Touch pad mode

Replace both the A button and accelerometer with touch pad
Overrides accelerometer

[x] Fix hardware freeze when pressing A
[x] Fix "slide" mode sounding rough
[x] Fix scale bar ticks not being consistently spaced

I ran this and captured the backtrace from the UART output:
task_wdt_isr at task_wdt.c:183 (discriminator 3)
_xt_lowint1 at xtensa_vectors.S:1111
vPortClearInterruptMaskFromISR at portmacro.h:571
 (inlined by) vPortExitCritical at port.c:319
 (inlined by) vPortExitCritical at port.c:304
xQueueSemaphoreTake at queue.c:1630
rmt_wait_tx_done at rmt.c:1169 (discriminator 2)
buzzer_stop at musical_buzzer_rmt.c:342 (discriminator 1)
slideWhistleBeatTimerFunc at mode_slide_whistle.c:1379
timer_process_alarm at esp_timer.c:360
 (inlined by) timer_task at esp_timer.c:386

There's something fishy here:
// Spin and wait for any ongoing transmissions to finish
while (ESP_ERR_TIMEOUT == rmt_wait_tx_done(rmt_buzzer.channel, 0))
{
    ;
}

My initial thought was that it doesn't like an infinitely long note, but I
see you have it set to 1s:
slideWhistle->song.notes[0].note = C_0;
slideWhistle->song.notes[0].timeMs = 1000;
slideWhistle->song.numNotes = 1;
slideWhistle->song.shouldLoop = true;

Hm
On Sun, Oct 2, 2022 at 9:22 PM Bryce Browner @.***>
wrote:

Get code running on ESP32-S2
Color
Resize everything for the larger screen (no more tiny font)
Update controls and UI for D-Pad, A, B, Start, Select
Fix hardware freeze when pressing A
Fix scale bar ticks not being consistently spaced

—
Reply to this email directly, view it on GitHub
https://github.com/AEFeinstein/Super-2023-Swadge-FW/issues/127, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABYODFQDCZT4MHPN4IZFPLWBIYN5ANCNFSM6AAAAAAQ3E2GZM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I ran this and captured the backtrace from the UART output:
task_wdt_isr at task_wdt.c:183 (discriminator 3)
_xt_lowint1 at xtensa_vectors.S:1111
vPortClearInterruptMaskFromISR at portmacro.h:571
 (inlined by) vPortExitCritical at port.c:319
 (inlined by) vPortExitCritical at port.c:304
xQueueSemaphoreTake at queue.c:1630
rmt_wait_tx_done at rmt.c:1169 (discriminator 2)
buzzer_stop at musical_buzzer_rmt.c:342 (discriminator 1)
slideWhistleBeatTimerFunc at mode_slide_whistle.c:1379
timer_process_alarm at esp_timer.c:360
 (inlined by) timer_task at esp_timer.c:386

There's something fishy here:
// Spin and wait for any ongoing transmissions to finish
while (ESP_ERR_TIMEOUT == rmt_wait_tx_done(rmt_buzzer.channel, 0))
{
    ;
}

My initial thought was that it doesn't like an infinitely long note, but I
see you have it set to 1s:
slideWhistle->song.notes[0].note = C_0;
slideWhistle->song.notes[0].timeMs = 1000;
slideWhistle->song.numNotes = 1;
slideWhistle->song.shouldLoop = true;

Hm

Seems to be better if you modify the buzzer functions to track if something is playing or stopped, and don't try stopping if it's already stopped. Still not great.

Fix "slide" mode sounding rough

@Brycey92 this is done, right? The other to-dos are accurate?

Fix "slide" mode sounding rough

@Brycey92 this is done, right? The other to-dos are accurate?

Correct, and correct. Just added the check mark, and I can copy over Dac's new UI/UX design plan for the mode too

Didn't realize there's a new UI/UX plan. Neat.

Does the accelerometer still need any work? Felt pretty good to me last test.

I'd love it to act more like tilting a game controller held flat than like a steering wheel

Current tilt axis:

Proposed tilt axis:

I thought on this, and I like it more as a steering wheel. Ergonomically I find it easier, faster, and more comfortable to rotate a swadge like a steering wheel rather than a flat game controller. What's the argument for flat controller? How did the Barrel work?

The barrel works at a 45 degree angle optimally (like one would hold a phone), tilted in either of those axes above. It can also be used completely flat or completely vertically, like in the images above, though you'll only be in one octave if you're not holding it like a phone at roughly 30-60 degrees.

The accel experience is definitively worse on this version of the swadge :(

Should be better after https://github.com/AEFeinstein/Super-2023-Swadge-FW/commit/90585da9d26b6a40243db2eb342ccb57387eec14. techno-slide-whistle is all merged. @Brycey92 still planning on more work this week, or is this all good to go?

Dac still needs to get those fixed arpeggios, but those can happen during the bugfixes-only stage since that involves changing numbers in an array of notes.

Gotcha, sounds good. I'll poke Dac.
On Wed, Nov 2, 2022 at 1:43 PM Bryce Browner @.***>
wrote:

Dac still needs to get those fixed arpeggios, but those can happen during
the bugfixes-only stage since that involves changing numbers in an array of
notes.
—
Reply to this email directly, view it on GitHub
https://github.com/AEFeinstein/Super-2023-Swadge-FW/issues/127#issuecomment-1301004295,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABYODDJ7I3LO44ILGAPKRDWGKR4ZANCNFSM6AAAAAAQ3E2GZM
.
You are receiving this because you commented.Message ID:
@.***>

Dac's stuff is merged!


Firebase export :  {"error":"Could not parse auth token."}

Hi, i am using the firebase export to export the json file from firebase database.
I use the example given and change the Database URL, firebase secret, and excluded (''), and a json file with a date and time being created.. but the file display:
error: Could not parse auth token.
Why this thing happen? How to solve it?
I am very appreciate for any solution and suggestion. Thank you

@Eve000017  You might used a wrong secret.
Please make sure that you got it from the right place:
It is in the project setting -> database tab
http://stackoverflow.com/a/37418932


⚠ Samsung has degraded performance

In c20305e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2824 ms

Resolved: Samsung performance has improved in 92e53ce.


applocalizations causes crash (only in release and profile modes) when +300 messages are localized

Details
gist: https://gist.github.com/ebeem/7825c56c352d9bec84e1cd0e88c6f5b2
debugging mode works, but release mode and profile mode fail
when I delete all the translation entries from "string_255" to "string_349" in messages_messages.dart the app works fine in release mode, if I add just one more entry which is "string_255", the app crashes again in release mode
I made the project as simple as possible, it does not actually use localizations at all, it crashes when it tries to load the messages, so as long as the delegate is there, it will crash when it tries to load the locale messages on application start.
Steps to Reproduce

create a new flutter application
implement localization in the project and add your custom LocalizationsDelegate to your MaterialApp
add large unique translation entries (+300) to your messages.* file
run the app in release mode (debug mode works)

Logs
flutter
Installing build/app/outputs/apk/app.apk...                  3.3s

To repeat this help message, press "h". To quit, press "q".
I/FlutterActivityDelegate(23453): onResume setting current activity to this

logcat
06-09 18:58:39.913 23373-23373/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
06-09 18:58:39.918 23373-23373/? D/AndroidRuntime: CheckJNI is OFF
06-09 18:58:40.010 23373-23373/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
06-09 18:58:40.048 23373-23373/? I/Radio-JNI: register_android_hardware_Radio DONE
06-09 18:58:40.065 23373-23373/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
06-09 18:58:40.072 897-1793/system_process I/ActivityManager: START u0 {act=android.intent.action.RUN flg=0x30000000 cmp=com.test.flutterlocalization/.MainActivity (has extras)} from uid 2000 on display 0
06-09 18:58:40.086 1804-1804/is.shortcut I/NotificationController: paused
06-09 18:58:40.097 23373-23373/? D/AndroidRuntime: Shutting down VM
06-09 18:58:40.107 1804-23376/is.shortcut D/AnalyticsDatabaseHelper: Read 1 records from analytics logs table.
06-09 18:58:40.108 1804-23376/is.shortcut D/AnalyticsHandler: Uploading analytics... 1
06-09 18:58:40.142 897-9087/system_process I/ActivityManager: Start proc 23453:com.test.flutterlocalization/u0a209 for activity com.test.flutterlocalization/.MainActivity
06-09 18:58:40.416 23453-23453/com.test.flutterlocalization I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb
06-09 18:58:40.452 23453-23488/com.test.flutterlocalization I/flutter: Observatory listening on http://<IP_ADDRESS>:48093/
06-09 18:58:40.462 23453-23453/com.test.flutterlocalization I/FlutterActivityDelegate: onResume setting current activity to this
06-09 18:58:40.503 23453-23490/com.test.flutterlocalization I/OpenGLRenderer: Initialized EGL, version 1.4
06-09 18:58:40.503 23453-23490/com.test.flutterlocalization D/OpenGLRenderer: Swap behavior 1

    --------- beginning of crash
06-09 18:58:40.552 23453-23483/com.test.flutterlocalization A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1b in tid 23483 (1.ui)
06-09 18:58:40.549 23493-23493/? W/debuggerd: type=1400 audit(0.0:2485): avc: denied { search } for name="com.test.flutterlocalization" dev="mmcblk0p28" ino=154921 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
    type=1400 audit(0.0:2486): avc: denied { search } for name="com.test.flutterlocalization" dev="mmcblk0p28" ino=154921 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
06-09 18:58:40.570 23453-23483/com.test.flutterlocalization A/libc: failed to resend signal during crash: Operation not permitted
06-09 18:58:40.572 23493-23493/? E/DEBUG: unexpected waitpid response: n=23483, status=00000000
    debuggerd: failed to kill process 23453: No such process
06-09 18:58:40.575 897-23495/system_process W/ActivityManager:   Force finishing activity com.test.flutterlocalization/.MainActivity
06-09 18:58:40.576 897-915/system_process I/BootReceiver: Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
06-09 18:58:40.584 897-1757/system_process D/GraphicsStats: Buffer count: 9
06-09 18:58:40.586 897-23101/system_process I/WindowManager: WIN DEATH: Window{533f3f1 u0 com.test.flutterlocalization/com.test.flutterlocalization.MainActivity}
06-09 18:58:40.586 897-23101/system_process W/WindowManager: Force-removing child win Window{76c1e57 u0 SurfaceView - com.test.flutterlocalization/com.test.flutterlocalization.MainActivity} from container Window{533f3f1 u0 com.test.flutterlocalization/com.test.flutterlocalization.MainActivity}
06-09 18:58:40.592 897-1763/system_process W/WindowManager: Failed looking up window
    java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@8d87bd6 does not exist
        at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9415)
        at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9406)
        at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1800)
        at android.os.BinderProxy.sendDeathNotice(Binder.java:688)
06-09 18:58:40.592 897-1763/system_process I/WindowManager: WIN DEATH: null
06-09 18:58:40.594 897-23495/system_process W/ActivityManager: Exception thrown during pause
    android.os.DeadObjectException
        at android.os.BinderProxy.transactNative(Native Method)
        at android.os.BinderProxy.transact(Binder.java:615)
        at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:785)
        at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:1141)
        at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3523)
        at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:3359)
        at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:1855)
        at com.android.server.am.AppErrors.handleAppCrashLocked(AppErrors.java:619)
        at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:477)
        at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:353)
        at com.android.server.am.AppErrors.crashApplication(AppErrors.java:305)
        at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13508)
        at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
06-09 18:58:40.595 291-291/? E/lowmemorykiller: Error opening /proc/23453/oom_score_adj; errno=2
06-09 18:58:40.595 897-23495/system_process W/ActivityManager: Failed setting process group of 23453 to 1
06-09 18:58:40.596 897-23495/system_process W/System.err: java.lang.IllegalArgumentException: Given thread 23453 does not exist
        at android.os.Process.setThreadPriority(Native Method)
        at com.android.server.am.ActivityManagerService.applyOomAdjLocked(ActivityManagerService.java:20544)
        at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:21048)
        at com.android.server.am.ActivityStack.resumeTopActivityInnerLocked(ActivityStack.java:2447)
        at com.android.server.am.ActivityStack.resumeTopActivityUncheckedLocked(ActivityStack.java:2127)
        at com.android.server.am.ActivityStackSupervisor.resumeFocusedStackTopActivityLocked(ActivityStackSupervisor.java:1833)
        at com.android.server.am.ActivityStackSupervisor.resumeFocusedStackTopActivityLocked(ActivityStackSupervisor.java:1823)
        at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:1196)
        at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3523)
        at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:3359)
        at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:1855)
        at com.android.server.am.AppErrors.handleAppCrashLocked(AppErrors.java:619)
06-09 18:58:40.597 897-23495/system_process W/System.err:     at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:477)
        at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:353)
        at com.android.server.am.AppErrors.crashApplication(AppErrors.java:305)
        at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13508)
        at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
06-09 18:58:40.623 897-1766/system_process D/WindowManager: relayoutVisibleWindow: Window{6ec6a24 u0 is.shortcut/com.voxel.launcher3.Launcher EXITING} mAnimatingExit=true, mRemoveOnExit=false, mDestroying=false
06-09 18:58:40.654 1789-22126/com.google.android.gms I/Icing: Indexing 8B408E919557C2DC2FA90031B91E7486D83BB7D1 from com.google.android.gms
06-09 18:58:40.721 897-23102/system_process I/ActivityManager: Process com.test.flutterlocalization (pid 23453) has died
06-09 18:58:40.721 897-23102/system_process D/ActivityManager: cleanUpApplicationRecord -- 23453
06-09 18:58:40.735 897-911/system_process W/art: Long monitor contention with owner NativeCrashReport (23495) at void com.android.server.am.AppErrors.crashApplicationInner(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo)(AppErrors.java:324) waiters=2 in void com.android.server.am.ActivityManagerService$MainHandler.handleMessage(android.os.Message) for 138ms
06-09 18:58:40.768 1804-1804/is.shortcut I/NotificationController: resumed

flutter doctor
[✓] Flutter (Channel master, v0.5.3-pre.11, on Linux, locale en_US.UTF-8)
    • Flutter version 0.5.3-pre.11 at /****/workspace/git/flutter
    • Framework revision b8c81e46a3 (33 hours ago), 2018-06-08 00:08:28 -0700
    • Engine revision 5d2f24aa5c
    • Dart version 2.0.0-dev.60.0.flutter-a5e41681e5

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /****/Android/Sdk/
    • Android NDK at /****/Android/Sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /home/ebeem/Android/Sdk/
    • Java binary at: /****/jetbrains/android-studio-canary/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 3.1)
    • Android Studio at /****/jetbrains/android-studio-canary
    • Flutter plugin version 25.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] Android Studio
    • Android Studio at /****/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b736)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.1)
    • IntelliJ at /****/jetbrains/apps/IDEA-U/ch-0/181.4892.42
    • Flutter plugin version 25.0.2
    • Dart plugin version 181.4892.1

[✓] Connected devices (1 available)
    • Nexus 5 • ***** • android-arm • Android 7.1.2 (API 25)

• No issues found!
flutter doctor -v  6.19s user 0.52s system 72% cpu 9.282 total

Thanks for providing such a reduced reproduction. I was able to reproduce this outside of a Flutter, looking into this.

Fix is up for review upstream.
https://dart-review.googlesource.com/c/sdk/+/59640

Amazing, Thanks for your quick action
I am so excited to try this out

The fix has landed upstream. Waiting for a roll of Dart into Flutter.

@mraleph
Thanks for the fix
the current dart SDK in my flutter setup is 2.0.0-dev.61.0.flutter-c95617b19c
your commit should have been included in this version
https://github.com/dart-lang/sdk/compare/2.0.0-dev.61.0...master
I made sure I clear and re-build in release mode
sadly, the same exact issue is still there, it crashes in release mode
can you check that please? I am afraid I am doing something wrong
Upgrading engine...
Already up-to-date.

Flutter 0.5.5-pre.17 • channel master • https://github.com/flutter/flutter.git
Framework • revision 2ae48845a8 (22 minutes ago) • 2018-06-13 12:46:39 -0700
Engine • revision c3976b3c71
Tools • Dart 2.0.0-dev.61.0.flutter-c95617b19c

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.5.5-pre.17, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] Android Studio (version 3.1)
[✓] Android Studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1)
[✓] Connected devices (1 available)

• No issues found!
flutter upgrade  5.74s user 0.76s system 91% cpu 7.064 total

oh, sorry about that
thanks for the explanation

@ebeem no worries. I will close this bug as soon as the roll is done.

@mraleph
this is working now, thank you so much!
I think this issue can be closed


CDN vanilla JS import instead of NPM

is there an option to import Walletlink other than via NPM?

Had the same question and actually found a solution: https://www.skypack.dev/view/walletlink

I have created a project that allows you to convert the WalletLink into a pure javascript file and you can host this on your own website or cdn
https://github.com/IceCodeProductions/Javascript-WalletLink

You can convert it yourself with a bundler; I highly suggest not trusting a third party for an SDK that deals with money.
There is not currently an official option to use almost every JS library outside of npm. What's the use case for avoiding npm?

The project requires the use of NPM.  This is for those that want to create a pure javascript version of coinbaseWalletSDK without using node.  This does nothing more than creates a bundle package to host the javascript.  If this is wrong, then I can remove my project.

@IceCodeProductions i didn't mean to imply you personally, or your project, were a concern - just that in general one should only use software via official distribution channels.
I'm not sure why anyone would be using any javascript anywhere without using node (or the equivalent) - as a linter, a testing tool, a build tool, etc, let alone as a package management tool.

hi. sorry for the belated response. we are marking stale issues closed for now. please try our latest version 3.6.0. feel free to open a new one if needed. thanks.


Add to Wishlist feature

Describe the feature
There should be a add to wishlist and view wishlist products option in the website.
I would love to add this
Add ScreenShots
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

You have been assigned.

@trishanu-init  the add to cart functionality was not properly working at that time so i could not add this...
I hope is it fixed now and i can start working on it...

It has been fixed


Revert liquid removable updates to fix water issues

Forgot to mention that I switched it back to an array & fixed the actual issue which was causing the tsunami-lime issues. Ready for a review, let me know if there is anything I should change.

Removed everything asked, let me know if I should change anything else


Drop Role#repository field

Task Description
We should drop the repository field from the following classes:

org.carlspring.strongbox.authorization.domain.Role
org.carlspring.strongbox.authorization.dto.RoleDto
org.carlspring.strongbox.forms.RoleForm

This field is currently unused and demands unnecessary attention from the developers.
Help

Our chat
Points of contact:

@carlspring
@sbespalov
@fuss86

I can look into. I hope the acceptance criteria is the builds and Integration Tests passing?

PR #1172


simple like for cards

simple like function for cards 👍
based on sessionid of the user

currently can only be done 1 time for user


No clean way to force-update Sticky

I've got a use case wherein I have a <StickyContainer/> on the right-hand side of the page that expands to the left when the user clicks a button, remaining sticky the whole time. Like this! Since this action doesn't fire any of the events that <StickyContainer/> listens for, its left hand side moves to the left but the child <Sticky/> and its contents don't until I scroll the page a tick. If I manually trigger an e.g. scroll event on the element I get from context.getParent(), it updates properly, but it feels hacky. I'd like a param passed from <Sticky/> to its child render function that I can invoke in order for the layout to update.

Ah interesting! Good point, that does seem like a viable use-case. Do you have any specific API in mind? First thought would be an additional argument passed to the render callback, but I'm open to suggestions.

Yeah I like the render argument idea! Easy to pass into whatever child components may want it, but equally easy to ignore if you don't need it.

I want this too.
For now, as a workaround you can do window.dispatchEvent(new Event('scroll')) from anywhere, and it tricks the Sticky into re-rendering.

really want it to be fixed asap, can't even wait for 6.1
I have a layout that has a transition in changing width
That adds an extra challenge to the code, idk when to fire the scroll event
too early the sticky component won't update, too late the animation just become ugly

Good thing there's a workaround then @marklai1998! I haven't had much time to dedicate to developing react-sticky, other projects have taken priority.

@vcarl The scroll event workaround suggested by @callumlocke is fantastic. Perhaps that could be included in the README as a quick fix for cases where we need to trigger a sticky check?

Good idea! I'm happy to merge a PR if you want to submit one @Simon-Tang  :)


Cannot read property 'length' of null

Issue Id: 3abf6d87-3154-b06f-bebb-657adccc5109Versions - 1.21.0-  b76a4a71434d6cdee69fa1d8bdc7533d09598d53-  d7dca142ad6051e6b1c7397ea73221feb0160f21-  a903bd38fbe9006c076d218ff69fe1ee0160f815Stack TypeError: Cannot read property 'length' of null/vs/editor/common/model/textModel.ts#1321:23 (deltaDecorations)/vs/workbench/parts/preferences/browser/preferencesRenderers.ts#883:39 (callback)/vs/editor/common/model/textModel.ts#1331:12 (_changeDecorations)/vs/editor/common/model/textModel.ts#1296:15 (changeDecorations)/vs/editor/common/commonCodeEditor.ts#831:20 (changeDecorations)/vs/workbench/parts/preferences/browser/preferencesRenderers.ts#882:14 (render)/vs/workbench/parts/preferences/browser/preferencesRenderers.ts#315:32 (filterPreferences)/vs/workbench/parts/preferences/browser/preferencesEditor.ts#607:23 (onComplete)/vs/base/common/winjs.base.raw.js#1183:0 (_notify)/vs/base/common/winjs.base.raw.js#865:0

This is similar to https://github.com/Microsoft/vscode/issues/43476 that was fixed in Feb, but is still appearing in the 1.20 release

Here is another similar callstack
TypeError: Cannot read property 'length' of null/vs/editor/common/model/textModel.ts#1321:23 (deltaDecorations)/vs/workbench/parts/preferences/browser/preferencesRenderers.ts#888:40 (callback)/vs/editor/common/model/textModel.ts#1331:12 (_changeDecorations)/vs/editor/common/model/textModel.ts#1296:15 (changeDecorations)/vs/editor/common/commonCodeEditor.ts#831:20 (changeDecorations)/vs/workbench/parts/preferences/browser/preferencesRenderers.ts#887:15 (render)/vs/workbench/parts/preferences/browser/preferencesRenderers.ts#315:32 (filterPreferences)/vs/workbench/parts/preferences/browser/preferencesEditor.ts#607:23 (onComplete)/vs/base/common/winjs.base.raw.js#1183:0 (_notify)/vs/base/common/winjs.base.raw.js#865:0


Prepare for zkIgnite architecture workshop

Goal is to come up with a specific zkApp idea that we can talk through how to build this with our existing feature set for zkApps. No code needed, this isn't a tutorial, it's a discussion of our feature set and how it can be used to solve a business use case. Minimal slides is okay. , but we may want an architecture diagram highlighting features.
Output:

Idea to discuss
Identify DRI to present, and 1-2 additional devs to attend to support audience Q&A.

CC @nicc

auction?

Accepted idea: voting with access gated by an email oracle

Indirectly Irresponsible Individual: @Trivo25 and @jasongitmail

Done! :D


closure/updatelibrary can't update past 2014-07-26

Note: this is totally not important. I was just playing around to see how closure/updatelibrary worked.
In vendor/embed/closure/updatelibrary.go, we have really old pins:
const (
	gitRepo = "https://code.google.com/p/closure-library/"
	gitHash = "ab89cf45c216"
)

The gitRepo easily updates to its new home:
	gitRepo = "https://github.com/google/closure-library.git"

But attempting to update the gitHash yields great sadness. The latest release is 20161201, which has the hash https://github.com/google/closure-library/commit/073fd68ece55859301e5e8eb045a52ffdda7a72d yields the error:
$ go run ./updatelibrary.go -verbose
updating to rev 073fd68ece55859301e5e8eb045a52ffdda7a72d
2017/01/24 23:05:57 Could not generate files list: Invalid line in deps: "goog.addDepend
ency('../../third_party/closure/goog/caja/string/html/htmlparser.js', ['goog.string.html
', 'goog.string.html.HtmlParser', 'goog.string.html.HtmlParser.EFlags', 'goog.string.htm
l.HtmlParser.Elements', 'goog.string.html.HtmlParser.Entities', 'goog.string.html.HtmlSa
xHandler'], [], {});"
exit status 1

Doing a git bisect, I found that the last "good" revision is https://github.com/google/closure-library/commit/8c84941f31fe020bf952ea77abdd0504fa5d72a3, and the earliest "bad" revision is https://github.com/google/closure-library/commit/5b822175ad24ed350ad201ab0d08237b3d1315ee
Looks like the signature for goog.addDependency() has an extra boolean at the end.
I'm guessing this breaks pkg/misc/closure/gendeps.go's rx for deps:
var depsRx = regexp.MustCompile(`^goog.addDependency\(['"]([^/]+[a-zA-Z0-9\-\_/\.]*\.js)['"], \[((['"][\w\.]+['"])+(, ['"][\w\.]+['"])*)\], \[((['"][\w\.]+['"])+(, ['"][\w\.]+['"])*)?\]\);`)

Is this a thing I should attempt to "fix"?

Does https://camlistore-review.googlesource.com/5736 address your concerns?
I think I had postponed that CL at the time because I didn't know where we were going with the web UI, but now that I have a better idea, I should probably revisit it.

@mpl it works for some of the intermediate revisions, but it won't work with current https://github.com/google/closure-library/blob/master/closure/goog/deps.js
Looks like instead of a boolean, the latest code has an object as its final param.
eg
goog.addDependency('../../third_party/closure/goog/caja/string/html/htmlparser.js', ['goog.string.html', 'goog.string.html.HtmlParser', 'goog.string.html.HtmlParser.EFlags', 'goog.string.html.HtmlParser.Elements', 'goog.string.html.HtmlParser.Entities', 'goog.string.html.HtmlSaxHandler'], [], {});

oh, is there a ticket for the long term plans with the UI? I recall you mentioning switching to gopherjs.

Thanks. Are you interested in taking over CL5736? If yes, then please be my guest. But I'm going to land a couple of web UI CLs hopefully very soon. Just letting you know now so you don't have to rebase n times over them.

oh, is there a ticket for the long term plans with the UI?

I don't think so.

I recall you mentioning switching to gopherjs.

yes we are. :-) issue #798
First CL using it should land very soon.

https://camlistore-review.googlesource.com/c/camlistore/+/5736


Deploy issue after signing up

Describe the bug
Once the app was built, I had to subscribe to deploy - now that I've subscribed, there is an unknown error int he deploy
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-ug3px7
Steps to reproduce
Hit 'deploy'
Expected behavior
AI output:
I'll help you deploy the application to Netlify.
Deploy to Netlify
npx vite build
netlify
I'll check the deployment status to get your site URL.
An error occured while streaming this message.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 129
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 51562377,
  "usedJSHeapSize": 46008829,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = PaulAyre
Chat ID = 264567680bce

Additional context
Error:
An error occured while streaming this message.

@PaulAyre we're tracking this in #1022


As a user, I want to be able to auto sort whenever I add a contact

so that I don't have to use the sort command every single time
Toggle autosort on/off:
autosort on
If the user previously used the sort command to sort in a certain order, autosort will sort in that order.
E.g. if user sort the list in descending order, autosort will continue to sort in descending order. The order will be overwritten after the user used the sort command to sort in ascending order.

As a user who prefers my contacts to be arranged alphabetically instead of chronologically


Use Terraform cross account provider to pull SSM parameters from shared services

Currently the team use a script file to build a local Terraform env file. The script pulls ENV vars from the shared infrastructure account. We should be able to make this script redundant and use the cross account provisioner instead.
Doing this work will aid hiding potential secrets ects from the output allowing us to move to GitHub actions.

https://github.com/ministryofjustice/staff-device-private-dns-zone


1.1.2 is broken

Looks like the issue is already fixed in 10a14afe297dcfc01483e57430ae2a6b3816d0d7
This is breaking a whole bunch of packages in the npm ecosystem. Please release 1.1.3

done thought it was already published, have this cute ascii cat as my apology
ლ(●ↀωↀ●)ლ

I unpublished 1.1.2 as crypto is serious business.  Deprecate wouldn't have been severe enough.

I unpublished 1.1.2 as crypto is serious business.  Deprecate wouldn't have been severe enough. @dominictarr thoughts?

@dcousens yeah, I think this is a good practice, especially considering that crypto-browserify is a bit weird, being a polyfill, other modules do not depend on it directly.


87 activity indicator spinner

Description

introduce spinner/loading component
Set gray 7 to switch on hover

Closes #87
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[x] Refactor (implement any different implementation of something)

Excellent. Many thanks.


Always look forward to the author's update.

Have deep expectations for hairstyles, come on!

Our code has been released, please git pull the newest repo for improvements and new features.


Adding contact sensor breaks curtains

Hi,
I've been using this to control a pair of curtain bots for a few weeks and it's been working mostly okay, except some unexplained delays here and there.
I just added a contact sensor, and the blue LED is now just always on. The contact sensor is working great in HA and updates quickly, but the curtains are now unresponsive.
Is there some conflict there, is the connection to the contact sensor left on all the time and preventing connections to other devices ?
This is what is looping on the output :
Adding Our Service ...
switchbotContactLivingRoomSideDoor
callForInfoAdvDev
Assigned advDevService
// The below repeats, a lot
Advertised Device found: Name: , Address: <some mac>, manufacturer data: ..., serviceUUID: ...
Service Data:
UUID: 0x0d00, Data: cп`2
[...]
//
Adding Our Service ...
switchbotContactLivingRoomSideDoor
callForInfoAdvDev
Assigned advDevService

I shorten it, but the mac(s) it finds there aren't related, likely some other devices somewhere in the house.
Left it for a few minutes and it looks like that's all that repeats. It connects to the curtains once at the very start, but as soon as it connects to the contact sensor that's all it outputs, endlessly.
Thanks

I am using curtain and contact sensor and works fine for me
the LED will stay on all the time because the contact and motiom sensor require the esp32 to scan all the time. If u only had curtains, the LED turns off because scanning is only done when needed
the output u see is correct

Right, but in my case as soon as I add the contact sensor the curtains stop working.
Any idea what I can do ?

I see your device names and your switchbot topic are very long. I've tried with long names and didnt have issues, but it has been brought up before
I would suggest trying with the default names.
Otherwise I would have to look at the code u used

I did change that since, but you're right I did have very long names, just shortened them down a lot.
Unfortunately it's not behaving any better, although I did get one curtain command to go through after a lot of tries. Can't get it to work again with debug on.
Noticed this in the logs when sending a (failed) command to the curtain :
Received something on switchbot/lr/control
main-door
Processing Control MQTT...
Device: main-door
Device value: CLOSE
Try to connect. Try a reconnect first...
New client created
Connected
Connected to: ca:db:00:8e:83:69
RSSI: -58
Sending command...
subscribed to notify
Wrote new value to: cba20002-224d-11e6-9fb8-0002a5d5c51b
notifyCB
deviceName: WoCurtain
Success! Command sent/received to/from SwitchBot
The response value from curtain: 14
unsubscribed to notify
Done sendCommand...

That makes it sound like the command was received successfully, even though the curtains did not close.
Is 14 an expected return value ? In HA the icon changes to closed then back to open on it's own, presumably on the next update.
I've also tried it with the default hostname and topic just now, same behavior.
As for the codes I just looked at git diff to make sure and the only changes from the visualstudio folder are :

WiFi info
MQTT Info
Curtains closed position to 15
One curtain "curtainone" in allCurtains
One contact "contactone" in allContactSensors
The log flag to true when debugging, false the rest of the time
It's compiled for a esp32doit-devkit-v1.

ya you will want to get to get ot workomg with the switchbot app. sounds like a problem with the curtain itself
from the switchbot python host documentation the error code 14 = 0x0E - Disconnected from the device that needs to stay connected..... whatever that means

Yeah so there was something weird going on with the curtains again. I charged them overnight and they weren't working this morning still, so I had to go through the rest procedure again (45 seconds on the button for each, then re-add and re-calibrate in the app) and it's fixed.
Not sure what's going on but for some reason the curtains break when I also add the contact sensor so let's just not. It's just BLE advertising so I used esphome to expose the contact sensors instead without an active connection and that works fine, and doesn't seem to conflict with the curtains.
This will sadly remain unexplained, but let's just close it I guess. Thanks !

I just found an issue when upgrading to NimBLE library version 1.3.8. Not sure if it is the same issue, but curtains work for one control then the esp32 freezes
NimBLE 1.3.7 works. I am going to create some issue report for this

My platformio.ini file says<EMAIL_ADDRESS>so presumably that's not it :(


Decoder does not work correctly with fixed-size arrays

The raw output of the function f in the following snippet in browser-solidity is correct:
contract c {
    uint[2] a;
    function f() returns  (uint[2], uint)  {
        a[0] = 1;
        a[1] = 92;
        return (a, 3);
    }
}

But the decoded display shows [[1,92],92].

I think this was fixed in 0.6.1 - which version is this happening with?


updated Tutorial 'Writing basic minting policies' to include link to …

Updated Tutorial "Writing basic minting policies" to mention that Plutus V1 and V2 minting policy scripts are differentiated only by their ScriptContext. Added a link to an example provided by @james-iohk of two minting policies defined and compiled as both Plutus V1 and V2:
https://github.com/james-iohk/plutus-scripts/blob/master/src/TokenNamePolicy.hs
To review the updated page as an html page, use this link:
https://plutus--4874.org.readthedocs.build/en/4874/
and navigate to Tutorials > Writing basic minting policies.

Probably best referring to an example in plutus-apps rather than my repo. We don't have such a simple example but could use https://github.com/input-output-hk/plutus-apps/blob/05e394fb6188abbbe827ff8a51a24541a6386422/plutus-contract/test/Spec/TxConstraints/MustSpendScriptOutput.hs#L340-L422

The "basic validators" tutorial also uses the ScriptContext, we should update both. And probably we should cross-reference from both to a single explanation rather than repeating ourselves in both places?

Updated basic-minting-policies.rst and basic-validators.rst to address script context for Plutus V1 and V2. I'm now using the suggestion from @james-iohk for the code example: Spec.TxConstraints.MustSpendScriptOutput. @michaelpj since the change to both pages is quite brief, I would prefer to have this very small amount of repetition rather than structure it differently because right now that's simpler.

To view the rendered html files, use these two links:

https://plutus--4874.org.readthedocs.build/en/4874/tutorials/basic-validators.html
https://plutus--4874.org.readthedocs.build/en/4874/tutorials/basic-minting-policies.html

And refer to the section "Plutus V1 and V2 script context" on each page.


nbterm breaks with error KeyError: 'name'

I'm trying to run notebooks using nbterm to demonstrate my package, which I'm building using poetry. I'd ideally like to have the notebooks run in sequence, and then the resulting executed notebooks be placed in a docs path.
I think I can achieve this using
poetry run nbterm --save-path ../docs/notebooks/test.ipynb --run HD209458.ipynb
But when I try this I get an error message that I find a little hard to debug. I'm opening this issue incase anyone runs into the same problem.
Traceback (most recent call last):
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/bin/nbterm", line 8, in <module>
    sys.exit(cli())
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/nbterm/nbterm.py", line 85, in cli
    typer.run(main)
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/typer/main.py", line 859, in run
    app()
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/typer/main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/typer/main.py", line 497, in wrapper
    return callback(**use_params)  # type: ignore
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/nbterm/nbterm.py", line 73, in main
    asyncio.run(nb.run_all())
  File "/Users/ch/.pyenv/versions/3.8.7/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Users/ch/.pyenv/versions/3.8.7/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/nbterm/notebook.py", line 120, in run_all
    await self.run_cell(i)
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/nbterm/notebook.py", line 115, in run_cell
    await self.current_cell.run()
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/nbterm/cell.py", line 233, in run
    await self.notebook.kd.execute(
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/kernel_driver/driver.py", line 195, in execute
    _output_hook_default(msg)
  File "/Users/ch/Library/Caches/pypoetry/virtualenvs/ombre-vf38qw1p-py3.8/lib/python3.8/site-packages/nbterm/notebook.py", line 352, in output_hook
    if (not outputs) or (outputs[-1]["name"] != content["name"]):
KeyError: 'name'

Thanks for the response! I think you're right that I'm better off using nbclient. I tried to make a MWE for this error but I can't seem to, and the notebook i'm using is pretty bloated. I'll close for now seeing as there are other options to do what I want, and it's a hard error to reproduce


remove Gemfile.lock

@trevor why should it no longer be in the repository?
Removing it would make it hard to have the same results on all development machines.

It can be in the repository, but it should be removed from the published ruby gem.
http://stackoverflow.com/a/4151540

@trevor thanks for your feedback. Now I got your point. You are right, we should remove the Gemfile.lock from the distributed gem.

@trevor Thank you for your pull-request.
It was merged as 5c3fe94eb8fcfd29415ad12b6ca6c644a302d981 .
Also it will be merged as another PR https://github.com/rack-test/rack-test/pull/151/files soon.
So, let me close this PR.


Fixes issue #8

Description
Added links to the companies
Issue Resolved
Fixes #8
Checklist
Please make sure to review the following before submitting your PR:

[x] I have read the contribution guidelines.
[x] I have read the code of conduct.
[x] I have reviewed my submission in detail.

@Manobal-Singh-Bagady Changed the links. I did not saw anyone assigned this issue in the issue page when i had created a pull request. You can assign @Astha-Raghuwanshi this issue if you want.

GW @Nikhil7174 merging the PR.


How to document body parameters?

Thank you for providing this library! It's very clean.
How would I describe a Body parameter, and what the acceptable values are for it?
            body<ExampleRequest> {
                required = true
            }

Lets say that ExampleRequest has a parameter limit that has a max value of 100. Or if I wanted to document the acceptable formats for a Date String that was sent. Is that possible currently?

Hi,
Thanks. You can customize the schema-objects with the @Schema-annotation and set for example the maximum-property. You can find more information here: https://github.com/SMILEY4/ktor-swagger-ui/wiki/Documenting-Routes-(Bodies)#swagger-schema-annotation.

Unfortunately, there is currently no other way besides annotations.
I'm currently in the process of rewriting the code responsible for handling schemas and objects, so that (describing attributes without annotations/touching the model) might be something i could add in the future.

@ScottPierce  I've found a workaround for now. You can create your own "schema generation module". have a look at https://github.com/chrimaeon/curriculumvitae/blob/2f206be18e0ffb25bced113c2ddf24e67cc97a6f/backend/src/main/kotlin/com/cmgapps/ktor/curriculumvitae/infra/victools/CustomModule.kt


Added commit cop for missing associated test files

Added an additional cop to check commits for missing associated test files as per issue #33

Oh, @RikkiWalker sorry - could you also put an Added entry into the "unreleased" section of CHANGELOG.md for this please?

@joshpencheon should we use a more precise name than monitored_paths? They aren't the only paths that are monitored and I think it might confuse future me. Perhaps associated_test_paths or tested_paths would be more suitable?


Sort out how to mint NOIDs in python using Hyrax minter state

NOIDs are Nice Opaque Identifiers. Hyrax uses NOIDs for its IDs and URLs.

Probably using noid ruby library

The NOID for https://archives.albany.edu/concern/daos/tq57pb343?locale=en is "tq57pb343"
To avoid conflicts, it stores a minter state in the Hyrax DB that we should be able to get
There are some Python libraries for minting NOIDs where we should be able to mint new IDs
This way we can use the same IDs during/after the migration and new objects will use the same scheme
noid seems to work, but there's an issue on Windows with Python 3.9 and I can't find the repo to report it. I had thought I'd found a better maintained project before,

I found the Githuband submitted a fix.
Also the Hyrax DB has a MinterState table with one entry with these fields:
["id", "namespace", "template", "counters", "seq", "rand", "created_at", "updated_at"]

id is 1
namespace is default
template is .reeddeeddk
counters is a set of 263 hashes with the keys value and max
seq is 503058
rand looks like binary?

noid -t reeddeeddk -n 503058 seems like it produces a simmilar ID, but I'm not sure if that's enough to avoid any collisions.

This is still open, as I dunno how to implement this for new objects so that we don't get collisions. We need to look into the Noid spec and how Hyrax is generating them,

This is all set up now with noid-minter.py
Hyrax using db backed minter state right now. Once we're all set to switch over, we have to run rake noid:rails:migrate:database_to_file to switch back to storing the state in a file according to the noid-rails docs. Then convert_minter_state.rb in the hyrax-UAlbany repo will convert this to minter_state.json with ruby convert_minter_state.rb.
Then noid_minter can use that json to safely mint new noids. There is an example minter state in the repo to test with:
python noid_minter.py <path_to_minter_state.json>

or
from noid_minter import NoidMinter
minter = NoidMinter('<path_to_minter_state.json>')
new_noid = minter.mint()
print(new_noid)


Example Online Deployment

https://www.pythonanywhere.com/

App is now online at:
Grenzerfahrung.eu.pythonanywhere.com
It needed some hotfixes to get it running, I'm not sure how to do it in a proper way.
Related #64 #63

http://Grenzerfahrung.eu.pythonanywhere.com


[T4A2][T14-B1]Oh Han Gyeol

Ready for Review

@Leook0209
Some comments added. Please ack & close the PR after reading comments.


How to remove Response header server:krestel

From https://github.com/aspnet/Mvc/issues/4689
As a security concern how can we remove "Server:krestel" from Response Header?

@sadjadbp context.Response.Headers.Remove("Server")

@benaadams that should work, I just need to add it somewhere at the end of startup.cs. But there should be a better way, maybe a built-in Middleware.

How about making this an option on KestrelServerOptions?

@blowdart

Yea I was just thinking that we should do this. Banks always want to be able to obfuscate the tech being used.

This can be mitigated by putting Kestrel behind a reverse proxy and configuring the reverse proxy to remove the header (e.g. server_tokens off; in nginx). This is a good one to think about but it's post 1.0.0.
cc @muratg

@cwe1ss add at the start of Startup.Configure rather than end e.g.
public void Configure(IApplicationBuilder app)
{
    app.Use((context, next) =>
    {
        context.Response.Headers.Remove("Server");
        return next();
    });

doesn't look nice! :) I'd prefer Kristian's PR since this is a common use-case.

since this is a common use-case.

So it shouldn't be in Kestrel, it should be somewhere common so it doesn't matter whether you are using Kestrel, WebListener, some other server or change server, it still works.

but why add it and then remove it again?

So it shouldn't be in Kestrel

I'm not so sure. I think it's a server concern since the server is the one adding the header.
The old RFC2068 Section 15.4 even mentions

Revealing the specific software version of the server may allow the
server machine to become more vulnerable to attacks against software
that is known to contain security holes. Implementers SHOULD make the
Server header field a configurable option.

Though this has been removed in the newer RFCs (2616 and 7231):

Server (Section 7.4.2) header fields often reveal information about
the respective sender's software systems.  In theory, this can make
it easier for an attacker to exploit known security holes; in
practice, attackers tend to try all potential holes regardless of the
apparent software versions being used.

I think this is something that should be configurable on the server level. If anything, you're just doing less work by not adding it and then removing it again.

So it shouldn't be in Kestrel

I'm not so sure. I think it's a server concern since the server is the one adding the header.

I mean it should be a feature that is effective across all servers so you can do one thing and it will continue to work if you change server e.g.
app.RemoveServerHeader()

So if you move from .UseKestrel to .UseWebListener for Windows Authentication you aren't exposing the server header by default and what you did before still works.
Re: rfc2068 it is easy to remove as pointed out earlier and configurable so you can happily change it
context.Response.Headers["Server"] = "BenWeb";
Re: rfc2616/7231 it only says
Kestrel
it doesn't say
Kestrel 1.0.0-rc3-20957 ASP.NET Core Mvc Core 1.0.0-rc2-final Node.js 4.4.4 LTS

Suggestion: change IServerAddressesFeature into a more general IServerOptionsFeature that has a common model for server options, like bool AddServerHeader { get; set; } etc.

FYI: In WebListener Http.Sys adds the header for you after you start the response, calling Remove won't work. It has to be disabled with a reg key. I think you can replace it with your own value, but not remove it.
@khellang's PR is a good solution.
@khellang, there's no need to expand IServerAddressesFeature, we plan to add other feature interfaces as needed. That said this is not a good candidate.
For reference, if I remove the server header and then host behind IIS does IIS add its own?

@benaadams are there scenarios where you would conditionally remove the Server header per request? I'm not aware of any, it's usually on or off globally. As such I don't think middleware is appropriate.
Until RC2 the server was hard to directly configure so removing the header in middleware was a workaround.
On a related note we need to move setting the Server and Date headers from the start of the request to the start of the response, or else they can be removed unintentionally. https://github.com/aspnet/KestrelHttpServer/issues/223

@Tratcher There's also some duplication in setting the Server and Date header right now. It's both in Frame and HttpComponentFactory+Headers. Interestingly, Frame also sets the Content-Length header, while the other doesn't. Don't know why.
Should Kestrel check if Server and/or Date is present already, before setting them?

@khellang when we move them to the start of the response, yes, application values should be preferred over server defaults.
Not sure about the current duplication. @cesarbs?

when we move them to the start of the response, yes, application values should be preferred over server defaults.

@Tratcher You want to move them completely, or just have make sure they're present when starting the response? Does it make sense for the application to read them?

Yea make it an option flag (says the person who used to fake IIS servers as Apache on Windows before that was an actual thing)
And of course you wouldn't be exposing Kestrel directly anyway, so you could do it at the forwarded level, but that's crappy.

I have a commit, https://github.com/aspnet/KestrelHttpServer/commit/1957cac46c6d6c7801dcf1d5927884e6f9ab80d6, that builds on top of #855, which moves the Date/Server headers to response start. I just have to figure out the tests before sending a PR.
What's up with setting the Content-Length? Does that need to stay in?

On error?

The Content-Length needs to stay in for empty 500 responses.

I had this working OK in RC2 by removing the header from some custom middleware, but since upgrading to RTM it has started being returned again.

Sorry, my bad. I didn't realise the option had been implemented and superseded the middleware workaround.

I doesn't want, that my server write this header. And doesn't want remove it after. This is a useless server operation. It makes me sad.

@nim This issue has been resolved by adding KestrelServerOptions.AddServerHeader which you can set to false during app startup.

Is there a way to remove the same header but when using HttpSys?

@abatishchev https://github.com/aspnet/HttpSysServer/issues/445


Dynamically change the local storage path

Is there any way to change the local storage path after the PhantomJS process is started?
Or is the only way to set --local-storage-path while starting it?
Is it the same as offlineStoragePath, so I can set it via page.offlineStoragePath later?

No, there is no such feature
No. Offline storage is HTML5 offline storage. It differs from Local Storage.


[MINOR][DOCS] fix: some minor typos

What changes were proposed in this pull request?
Change the the to the

Why are the changes needed?
To fix the typo

Does this PR introduce any user-facing change?
No

How was this patch tested?

Yes, this seams ok. but you have to enable actions on yours repo. https://github.com/apache/spark/runs/15393798572
@srowen FYI

Sorry, opened a new one with a correct name to run actions: https://github.com/apache/spark/pull/42188


ARTEMIS-3653 broker diagram improvement

See https://issues.apache.org/jira/browse/ARTEMIS-3653

IMO all these changes should be squashed into a single commit and the commit message can have a bulleted list of all the individual changes.

+1 on squashing the commits... it would be easier to manage

rebased as needed and squashed as requested


New histogram with clipping

Overview
Update histogram component with clipping and add to color correct
Remove old clipping slider
Checklist
~- [ ] Styleguide updated, if necessary~
~- [ ] Swagger specification updated, if necessary~
~- [ ] Symlinks from new migrations present or corrected for any new migrations~
Demo

Notes

The eyedropper buttons don't do anything right now.
The histogram reflects clipping changes. In the future we may want to change this.

Testing Instructions

Go to the advanced color correction view
Click the histogram and confirm that it moves the closest clipping to that value
Verify that you can set each channel independently
Verify that values are conservatively set (e.g. if red min/max are the same as the overall min/max, set them to null) in the request and do not not show on the plot unless they are overriding.
Verify that changing the overall clipping resets all channel clipping to the same values
Verify that values persist across reloads etc
Verify that the histogram updates when color correction changes are made
Verify that changes using the textboxes are debounced by 500ms (so holding down the down arrow doesn't send a new request for every value)
Verify that the histogram mouseover text and (i) icon tooltip makes sense

Closes #1645

If the eye droppers are non-functional can you remove them or comment them out? It's confusing to have non-functional elements I think.


Modernize some code and add Docker

Hi!
I wanted to check out your project and put it into Docker. Also I added a Docker Compose file.
Perhaps this is useful for you. So I created this pull request.
Best regards,
Daniel

Is this project dead?


add tests for two files in app/adapter/graphql/resolver directory

Not that much, but at least something.
Relates to #197

Thank you very much for working on this. The code looks good.

@byliuyang looks great, as I understand the question is to use manual testing after acceptance or not?

@dedifferentiator For now, we probably have to do some manual testing. As we get higher test coverage, we should eliminate all manual works for the backend APIs.

For UI, we can automate functional testings for both services & components. We have to manually check that the design & interaction of the UI looks good.

@dedifferentiator Manual here means manually merge master branch to production branch on Github, which is currently part of my work.

Was testing managing PRs directly through atom and some things doesn't work that way I thought, so I think it's worth to merge master into this pr again


How can I create a line with anchor in the middle of another line ?

Thanks for the great work and this lib is functionning perfectly so far, I just have a very specific use case that might be able to do from the standard lib functions (without adding specific code in the lib)
Here is my actual line
let newLine = new LeaderLine(
document.getElementById(to),
document.getElementById(from),
{
endPlug: 'arrow3',
color: 'rgba(173,216,230)',
middleLabel: 'Label œ',
endPlugSize: 2,
dash: {animation: true}
}
);
I want to create another line that would anchor at the middle of my existing line (where the middle label is actually postionned)
I am digging into the documentation to understand how to do it but not sure I found how.
Anyone might be able to help me ?
Thanks.

No reply came, then this abandoned issue is closed.


[storage/azure-storage-file-share] Fixed typos

Description
closes https://github.com/Azure/azure-sdk-for-python/issues/22680
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

@KdHyeon0661, I pushed one small fix and merged this. Thanks for your contribution!


TA Review (Problem Statement & Development Plan): Add Section Introduction

Summary
The following feedback should be implemented:

[x] Add introduction section at the beginning of each section.

Estimated Work Hours
0.5 Hours

done


Return empty Promise for next ".then" or ".catch" closures

PromiseKit version: PromiseKit (4.1.7)
Xcode version: Xcode 8.3.1
CocoaPods version: PromiseKit (4.1.7)

Hello! I think this is noob question. I am straining to using PromiseKit. So my question is how I can return empty Promise object? For example my current worked code is
        EventsWorker.getAllEvents().then { events in
            self.events = events
        }.then {
            fulfill()
        }.catch { error in
            reject(error)
        }

I want this to modify as:
       EventsWorker.getAllEvents().then { events in
            self.events = events
            fulfill()
            // I must return Promise<T> here, right?
        }.catch { error in
            reject(error)
        }

Thank you in advance!

// I must return Promise here, right?

No, you can return Void. I presume you are getting an error, although you didn't say. If so specify the return type:
  EventsWorker.getAllEvents().then { events -> Void in

Thank you @mxcl , that's what I need!

np, this is an unfortunately common problem, and there's nothing we can do, it's up to the Swift team to fix it.


Unexpected changes occur when fixing D208 and D209 on the same line

When ruff fixes both D208 (over-indentation) and D209 (new-line-after-last-paragraph) on the same line, it results in unexpected changes.
I share the minimum test case.
Target code:
def test_func(a: int) -> None:
    """Minimum test case.

    Parameters
    ----------
    a : int
        A parameter."""
    pass

Settings in pyproject.toml:
[tool.ruff]
show-fixes = true

[tool.ruff.lint]
select = ["D"]

[tool.ruff.lint.pydocstyle]
convention = "numpy"

Run above command:
ruff check target.py --fix

Expected results:
def test_func(a: int) -> None:
    """Minimum test case.

    Parameters
    ----------
    a : int
        A parameter.
    """
    pass

but, actual:
def test_func(a: int) -> None:
    """Minimum test case.

    Parameters
    ----------
    a : int
    A parameter.
    """
    pass

Thanks. I think the issue here is that D208 should not be raised because it also doesn't raise for:
def test_func(a: int) -> None:
    """Minimum test case.

    Parameters
    ----------
    a : int
        A parameter.
    """
    pass

I added this sentence to pyproject.toml as a temporary solution in my project.
[tool.ruff.lint]
unfixable = [
    "D208",
]

I suggest treating D208 as "--unsafe-fixes".

Hi, I would like to work on this if no one has taken it.

@MichaReiser I'm closing this issue considering #13372 is merged but if that only solves a part of this issue, feel free to re-open.


Can't view a page

I tried viewing a Youtube Video on the Dev tools but I couldn't view it, so I guess you won't be able to view a webpage with a video.

I have a feeling that you're right and that the browser preview that's embedded in VS Code when using the extension can't stream videos.
You can also configure the extension to use an external browser instead. And that should make it possible to view videos.
See https://learn.microsoft.com/en-us/microsoft-edge/visual-studio-code/microsoft-edge-devtools-extension/external-browser-window
@vidorteg am I correct in my assumption above? If so, this might be worth adding to the list of known issues and won't fix issues in #1317.

Closing as inactive. Please feel free to comment and we can always re-open the issue if there's anything that needs to be fixed here.


[docs] Update the connector download link in the document and Repair …

…Connector Data Type links

@leonardBang @Jiabao-Sun PTAL

Hi @rookiegao, can you help split that changes into 2 commit?
I think the changes for data types link is also applies to the master branch.

Hi @rookiegao, can you help split that changes into 2 commit? I think the changes for data types link is also applies to the master branch.

done

Thanks @rookiegao.
Could you help cherry-pick the second commit for master branch as well?


Baked Lightmap Regression

Godot version:

3.2.4 (from new cpu lightmapper introduction to rc4, worked fine in 3.2.3 stable)
OS/device including version:

Both backends (vulkan isn't 3.2), Nvidia Quadro K2000, 452.06
Issue description:

Result of Bake is the same as non baked, aside from the lack of shadowing there is no indirect light.
Steps to reproduce:
Make a few meshes with Uv2 ready for lightmap usage, enable baking of the light and the meshes, bake.
If shadows are used, the result will look like just the light with shadows off.
Minimal reproduction project:

Bug.zip
Note: Indirect light and shadows are applied to dynamic objects correctly, so only the Baked meshes have issues with not getting the indirect light and shadows

Fixed by #46932.


feat (cheatcode): ability to know whether broadcast mode is active (--broadcast)

Component
Forge
Describe the feature you would like
my tool forge-deploy read and write files to manage deployment data.
it currently do that in all context, even when there would be no need for it (forge test)
my tool would actually only need to write files if the execution of the deployment is going to be broadcasted
So for optimization purpose it would be great to be able to know whether --broadcast was specified
Proposal:
function isBroadcasting() external returns (bool);

Additional context
No response

Seems like a duplicate of https://github.com/foundry-rs/foundry/issues/2900, so closing in favor of that one


SquadApi.configure always requests a url that is 301

Should we query/api/schema/ instead of /api/schema so we avoid the 301 each time?
Here is the debug information:
DEBUG:root:SquadApi: url = "https://qa-reports.linaro.org/" and token = "no"
DEBUG:root:GET https://qa-reports.linaro.org/api/schema
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): qa-reports.linaro.org:443
DEBUG:urllib3.connectionpool:https://qa-reports.linaro.org:443 "GET /api/schema HTTP/1.1" 301 0
DEBUG:urllib3.connectionpool:https://qa-reports.linaro.org:443 "GET /api/schema/ HTTP/1.1" 200 138140

I've removed this /schema/ request a few commits ago https://github.com/Linaro/squad-client/commit/a923951472ea477fe8b9999ba6a10c0c6e13d773
It wasn't being used anywhere


axon bom for version 4.5.1 is not published

Basic information

Axon Framework version: 4.5.0
JDK version:  11.0.11

Steps to reproduce
Resolving axon-bom 4.5.1 dependency fails. For example, the following Gradle script fragment:
...
dependencies {
  api platform("org.axonframework:axon-bom:4.5.1")
  ...
}

results with
...
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':klokwrk-tool-gradle-source-repack'.
> Could not resolve all files for configuration ':klokwrk-tool-gradle-source-repack:runtimeClasspath'.
   > Could not find org.axonframework:axon-bom:4.5.1.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/org/axonframework/axon-bom/4.5.1/axon-bom-4.5.1.pom
     If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
     Required by:
...

Expected behavior
Resolving axon-bom 4.5.1 dependency does not fail.
I don't know the current policy about publishing axon-bom, but to my mind, with every release, including patch releases, axon-bom should also be published with that same version.
Tnx.

Seems to be related to this issue: https://discuss.axoniq.io/t/axon-framework-release-4-5-1/3286/4

This problem has been resolved and lay with Sonatype's caches. For those interested, you can see the issue I drafted on their Jira [here](https://issues.sonatype.org/browse/OSSRH-69262?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=1058850#comment-1058850. Axon 4.5.1 should be present, right now.
As 4.5.1 wasn't present on Sonatype, we couldn't construct the BOM release either.
Hence, this will be coming soon.

So, I've just released axon-bom 4.5.1 too, in the wake of finally having Framework 4.5.1 out there. It's been published, but sometimes it take a little for it to be present on Maven Central.
If the problem prevails, definitely keep us posted @dmurat!

No problems anymore. Everything is working now :-)
Thank you.


Lab 3 - Final Section - Spelling Error

Corrector spelled as "correcter" (or is it a less commonly used version of the word?)

Thanks. Fixed. 1 point


Android installation failed

After I installed package tried to run it on Android but got this error:
Execution failed for task ':react-native-animateable-text:compileDebugJavaWithJavac'.
Versions:
"react-native": "0.63.4",
"react-native-animateable-text": "^0.6.0",
"react-native-reanimated": "^1.13.2",

Sounds like a version mismatch, 0.6.0 only supports RN >= 0.64, see this comment or the README: https://github.com/axelra-ag/react-native-animateable-text/issues/8#issuecomment-784922047

It was. My mistake, closing the issue.


Keep having to patch app?

Whenever I reboot the phone, I have to patch YT with lucky patcher again. Is there any way to save the patches so I don't have to keep repatching?

The patch should be applied automatically after reboot... just wait a little :P
If not - did you disable Lucky Patcher to be started at boot?


Proprietary update system, how to notify the Matter stack (CON-711)

Hello,
when implementing a custom fw update system that is not using the OTA provider defined in Matter, are there APis the application running on the accessory can call to inform the matter stack that a fw update is available/in progress/completed?

@shubhamdp sorry let me put it differently, the question is about being able to report the status of the proprietary fw update system (e.g. update available/ update in progress/ update completed) so it is displayed to the user in the iOS/Android native home app.

Ahh, I just replied in https://github.com/espressif/esp-matter/issues/600#issuecomment-1698566765

@albrownwood Please close your issue if the question is answered

Closing this now


CHAOS-5628 Platform-wise permissions

Platform-wise permissions required to execute chaos faults

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://667525a5a79a9634e9798e72--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6678fbdb3bf94c26414ac5ba--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66791bc3a47af848fbd36b71--harness-developer.netlify.app


Prereqs- MDTI License

Does this require a MDTI license? if so, it should be listed in the prerequisites. If not, please make a statement to eliminate any ambiquity about this

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

ID: edeee9e6-6c0c-a9f3-b15d-77c5a3fb01e6
Version Independent ID: e2cf54ae-1322-3e4b-730a-231ac7b9cf2d
Content: Use matching analytics to detect threats - Microsoft Sentinel
Content Source: articles/sentinel/use-matching-analytics-to-detect-threats.md
Service: microsoft-sentinel
GitHub Login: @austinmccollum
Microsoft Alias: austinmc

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

@rijutakapoor2 Can you verify whether MD TI license should be in prereqs?

#label:"backlog-item-created"


Correct links 2016 10 00 helm charts making it simple to package and deploy apps on kubernetes 2

Correct links in 2016-10-00-Helm-Charts-Making-It-Simple-To-Package-And-Deploy-Apps-On-Kubernetes.md

/lgtm
Thanks!

This is a blog but since it is just link updates as a PR wrangler I can go ahead and approve.
great job.
/assign

/lgtm
/approve


[FLINK-18848][python] Fix to_pandas to handle retraction data properly

What is the purpose of the change
This pull request fix to_pandas to handle retraction data properly
Brief change log

fix to_pandas to handle retraction data properly

Verifying this change
This change added tests and can be verified as follows:

Added tests test_to_pandas_for_retract_table

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@WeiZhong94 Thanks for the review. I will address the comments when merging the PR.


fix: do not use the host's random numbers

They can't be trusted!!
Signed-off-by: Harald Hoyer<EMAIL_ADDRESS>

ah, oh ... phew!


Additional test hardening for tests which fail in release pass.

PR Summary

PR Context
In our release pass testing a number of tests fail. This PR attempts to allow those tests to be skipped on the various platforms where they do not pass.

Start-UnixSocket is failing on some windows platforms as it is not supported on those platforms
there are platforms where remoting cannot be enabled (if enable-psremoting fails, those tests will be skipped)
being unable to remove a certificate is not a fatal error

PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

before merging i want to run a release test to be sure that this addresses those issues


feat: add tooltips with space names on sidebar

Summary
Unless recognizable avatar is used it's hard to tell which space is which on the sidebar without visting it manually.
This PR adds tooltips with space names.
How to test

Add space to favorites.
When hovering it in sidebar you see space name.

Screenshots

Seems like that onClick on mobile, the tooltip does not disappear:

@wa0x6e good catch, disabled tooltips for touch devices there, but I'm thinking if we should have it disabled by default as those function quite weird on mobile.


Package Versioning

Could you please provide a list of all the packages and their versions from your conda environment?

I'm having the same issue. It would be nice if you could provide specific pytorch and python versions.


add background when in play

correct the background issue and have the image in the title page Spac-bg.png display during the in game play

check animate function
background image is being overwritten by the animation id

solved by using a create pattern and repeat on the background to fill empty space


Binding exports / reexports are defined in the wrong order compared to imports

export * from './core';
export * from './modules';

export { default } from './core';
// disambiguate export
export { api } from './modules';

What is the current behavior?
The modules reexported from ./modules itself, which have a circular dependency on the top level module above, do not see the default or the api export. The api export could be filed as a corner case, but the default export should definitely be available.
Reordering the export { default } from './core' to be above the export * from './modules' works around the problem.

To expand on this, the generated code currently looks like:
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__core__ = __webpack_require__(/*! ./core */ "./src/core.js");
Object.defineProperty(exports, "__esModule", { value: true });
/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, "ready", function() { return __WEBPACK_IMPORTED_MODULE_0__core__["a"]; });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__modules__ = __webpack_require__(/*! ./modules */ "./src/modules/index.js");
/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, "message", function() { return __WEBPACK_IMPORTED_MODULE_1__modules__["a"]; });
/* harmony reexport (binding) */ __webpack_require__.d(exports, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__core__["b"]; });
/* harmony reexport (binding) */ __webpack_require__.d(exports, "api", function() { return __WEBPACK_IMPORTED_MODULE_1__modules__["b"]; });

It should look like:
Object.defineProperty(exports, "__esModule", { value: true });
/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, "ready", function() { return __WEBPACK_IMPORTED_MODULE_0__core__["a"]; });
/* harmony namespace reexport (by provided) */ __webpack_require__.d(exports, "message", function() { return __WEBPACK_IMPORTED_MODULE_1__modules__["a"]; });
/* harmony reexport (binding) */ __webpack_require__.d(exports, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__core__["b"]; });
/* harmony reexport (binding) */ __webpack_require__.d(exports, "api", function() { return __WEBPACK_IMPORTED_MODULE_1__modules__["b"]; });
Object.freeze(exports); // please ;)
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__core__ = __webpack_require__(/*! ./core */ "./src/core.js");
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__modules__ = __webpack_require__(/*! ./modules */ "./src/modules/index.js");

Circular references should be able to see the entire set of exports in the Object.keys of the module namespace. Actually accessing exports that depend on imports that have not yet initialized (e.g. if core had a circular reference that depended on message) should be a TDZ error. Hoisting all getters above all imports satisfies both conditions (only, due to var, any "TDZ" error will be a TypeError instead of ReferenceError, but that probably doesn't matter :wink:).
Circular references also should be able to see the __esModule. Note that core would not be able to see it (not that important as it's a webpack ES module anyway).
The prototype of the exports also should be null, and they should have a Symbol.toStringTag of "Module", but implementing those might be difficult while keeping e.g. IE9 compatibility. The exports also should be frozen ([[Set]] should be a noop).

This was fixed.

The prototype of the exports also should be null, and they should have a Symbol.toStringTag of "Module", but implementing those might be difficult while keeping e.g. IE9 compatibility. The exports also should be frozen ([[Set]] should be a noop).

We are not going to implement this for performance and size reasons.


Consider adding a LICENSE file for Apache 2

Could we add a LICENSE file for Apache 2?

See copying. Apache2
On Fri, Nov 6, 2015 at 1:25 PM Chris Van<EMAIL_ADDRESS>wrote:

Which license is this code released under? Also, could we add a LICENSE
file?
—
Reply to this email directly or view it on GitHub
https://github.com/borismus/webvr-polyfill/issues/15.


New project deno-ts error with wouter

I created project with deno run -A -r https://deno.land/x/ultra/create.ts as https://ultrajs.dev/create-project says, choose wouter and get an error
'SearchParamsContext.Provider' cannot be used as a JSX component.
  Its return type 'ReactNode' is not a valid JSX element.
    Type 'undefined' is not assignable to type 'Element | null'.
(deno-ts)

at <SearchParamsContext.Provider value={state}> line
in  src/wouter/index.tsx.
vscode 1.80.0, vscode-deno v 3.25.0, deno 1.34.3, ultra 2.38
.vscode/settings.json:
{
    "deno.enable": true,
    "deno.lint": true,
    "deno.unstable": true,
    "deno.importMap": "./importMap.json"
}

Issue can be reproduced without VSCode: deno run -A --check --watch ./server.tsx

the doc says
> Can I use TypeScript and/or JSX?

If you want.

So it is an issue.

Running after deno upgrade automagically fixed an error
> deno upgrade
> deno --version
deno 1.37.1
> deno run -A --check --watch ./server.tsx

Thanks, @lePichu!


Zod: Components override not working

What are the steps to reproduce this issue?

Generate with the following settings

  Validators: {
    input: { target: './swagger.json' },
    output: {
      mode: 'tags',
      target: 'src/schemas/api',
      client: 'zod',
      indexFiles: false,
      prettier: true,
      override: {
        components: {
          responses: { suffix: 'ResponseSchema' },
          parameters: { suffix: 'ParamsSchema' },
          requestBodies: { suffix: 'BodiesSchema' }
        }
      }
    }

What happens?
The suffix overrides defined are not respected. Instead of i.e. ***ResponseSchema I still get ***Response.
What were you expecting to happen?
I expect the override to be respected.
Any logs, error output, etc
None
Any other comments?
What versions are you using?
Operating System: Windows 11
Package Version: 6.26.0
Browser Version: n/a

it's not exactly the same since on zod we don't handle the schemas with the components section but directly on each path. We could add an option to do it with zod too.

Hi @anymaniax . I'm having the same issue as OP.
Is there any way to do this currently? I would really like to end my zod schemas with "Schema"


feat: add wslu only on Debian WSL

Motivation
Add wslu for opening browsers from other cli (gh auth).
Skipped to Ubuntu as the package is already present on there builds.
Changes

add wslutilities repo and keyring if WSL and Debian
add wslu package if WSL and Debian

Possible related failure:
https://github.com/jwalton/gh-find-current-pr/issues/114

Code block to avoid linking.