Not working on my Moto G4 Plus.

I am using Lineage OS 14.1 based on Android 7.1.1. The app simple doesn't works.

Did you do configure all of your muted groups to display notifications when muted? This is what invokes ShutApp to run and mark them as read.

Yes. I have tried both ways. Not working.

Can you please provide your device logcat after receiving a notification from a muted group?
Thanks!

I have never submitted a logcat before.

Please follow this guide to install adb:
http://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378
Then, do the following:

Enable Developer Mode
Enable USB Debugging in Developer Options
Connect your device to your computer via USB cable
If the "Trust this computer" dialog appears, click "Yes"
Open a terminal in your computer
Run adb logcat -d > logcat.txt
Send logcat.txt to my e-mail

Thanks!

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
ZY223FB3SK      device

C:\Program Files (x86)\Minimal ADB and Fastboot>adb logcat -d > logcat.txt
Access is denied.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb root

C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
ZY223FB3SK      device

C:\Program Files (x86)\Minimal ADB and Fastboot>adb logcat -d > logcat.txt
Access is denied.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb logcat > whatsapp.txt
Access is denied.

C:\Program Files (x86)\Minimal ADB and Fastboot>

However, adb logcat command gives a never ending huge list of sentences.

Looks like you don't have write access to that directory, simply change to your desktop and run it from there. Make sure adb is in your path.

Well I have some exams coming in whole of March. Will contact you again in the first week of April.

Hello again!

@reeshabhkumarranjan Hi!
Please follow these instructions to provide your logcat so we can debug this issue:
https://github.com/eladnava/shutapp-android/issues/3#issuecomment-280607319

Hello. Unfortunately, fastboot devices command shows nothing, but adb devices does. I even permitted my PC for USB debugging.

Hi @reeshabhkumarranjan,
There is no need to run fastboot devices. Please run the following to extract the device logcat (after running ShutApp and having it fail to mute a WhatsApp group chat):

Open a terminal in your computer
Run adb logcat -d > logcat.txt
Send logcat.txt to my e-mail

Ah okay. Will try to do it by today, otherwise tomorrow.

Check your inbox.

Hi @reeshabhkumarranjan,
The exception being thrown is as follows:
07-31 18:00:22.986 15343 15343 E ShutApp : Handle notification failed
07-31 18:00:22.986 15343 15343 E ShutApp : java.io.FileNotFoundException: /data/data/com.eladnava.shutapp/files/sqlite3 (No such file or directory)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at java.io.FileOutputStream.open(Native Method)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at com.eladnava.shutapp.util.DB.installBinary(DB.java:177)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at com.eladnava.shutapp.util.DB.installBinaries(DB.java:158)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at com.eladnava.shutapp.util.DB.select(DB.java:75)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at com.eladnava.shutapp.logic.NotificationHandler.getJidBySubject(NotificationHandler.java:182)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at com.eladnava.shutapp.logic.NotificationHandler.getNotificationJid(NotificationHandler.java:125)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at com.eladnava.shutapp.logic.NotificationHandler.handleWhatsAppNotification(NotificationHandler.java:42)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at com.eladnava.shutapp.listeners.NotificationListener.onNotificationPosted(NotificationListener.java:28)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at android.service.notification.NotificationListenerService.onNotificationPosted(NotificationListenerService.java:237)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at android.service.notification.NotificationListenerService$MyHandler.handleMessage(NotificationListenerService.java:1498)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at android.os.Handler.dispatchMessage(Handler.java:102)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at android.os.Looper.loop(Looper.java:153)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at android.app.ActivityThread.main(ActivityThread.java:6240)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at java.lang.reflect.Method.invoke(Native Method)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
07-31 18:00:22.986 15343 15343 E ShutApp : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)

This exception means that the app was not able to copy the sqlite3 binary to /data/data/com.eladnava.shutapp/files/sqlite3.
According to this, the app should be modified to use Context.getFilesDir() instead of hard-coding /data/data/.
Will get around to it in a few days.

Hi @reeshabhkumarranjan,
I have made the necessary changes, please clone the repository and run the new version of the application on your device and let me know if it works now! 🎉

I am new here and I don't know how to clone the repository and install the apk on my device.

Hey! It works now! But sadly, when I am using WhatsApp and then an unwanted message arrives (which is to be detected by ShutApp), then WhatsApp closes. It is inconvenient as people in that unwanted/spammed group keep on texting throughout the day. Leaving it is not an option for some obvious reasons.
Check your inbox. I have sent a logcat for the same.

Hello. I really don't consider myself much knowledgeable to give you a suggestion. I am just here to report bugs for now :)
Sent from my Motorola Moto G4 Plus using FastHub

@reeshabhkumarranjan ShutApp will no longer kill WhatsApp if it is in foreground.
Please re-download the APK from here:
https://github.com/eladnava/shutapp-android/blob/master/app/app-release.apk?raw=true
Let me know if it works.

Hello. Now the app is not working as well as it is force closing too. The logcat may not contain the crashing part but I did face some crashes.

Hi @reeshabhkumarranjan,
There appear to be two issues:

Root access is not provided to ShutApp on a consistent basis:

08-11 21:03:42.727 21337 21337 E ShutApp : java.lang.Exception: You must provide root access to ShutApp.
08-11 21:03:42.727 21337 21337 E ShutApp :
08-11 21:03:42.727 21337 21337 E ShutApp : Please open the SuperSU app and grant root access to ShutApp.

Please open the SuperSU app and delete access for ShutApp. Then, reopen ShutApp and untick the "Ask again" box while granting root permissions to the app.

There appears to be a bug in ShutApp:

08-11 21:04:47.403 21337 21337 E ShutApp : Handle notification failed
08-11 21:04:47.403 21337 21337 E ShutApp : java.lang.NumberFormatException: For input string: ""
08-11 21:04:47.403 21337 21337 E ShutApp : 	at java.lang.Long.parseLong(Long.java:455)
08-11 21:04:47.403 21337 21337 E ShutApp : 	at java.lang.Long.parseLong(Long.java:485)
08-11 21:04:47.403 21337 21337 E ShutApp : 	at com.eladnava.shutapp.logic.NotificationHandler.isJidMuted(NotificationHandler.java:259)

This issue has now been resolved, please re-download the APK from here:
https://github.com/eladnava/shutapp-android/blob/master/app/app-release.apk?raw=true
Good luck!

Now the FC issue is not there but ShutApp works like around 2 out of 5 times. Logcat_4 is there in your inbox.

Hi @reeshabhkumarranjan,
Thanks for your help.
The logs indicate that ShutApp is not being granted root access by your phone sometimes.
08-12 14:45:35.801  4251  4251 E ShutApp : Handle notification failed
08-12 14:45:35.801  4251  4251 E ShutApp : java.lang.Exception: You must provide root access to ShutApp.

Is it possible that your phone is not correctly rooted? Do you have any other root-enabled apps that are working as expected in the background?

Well, I sent you another logcat_5 before I saw your reply above. That was for force closing, which I observed just now. I have only built-in root service for now.

Can you suggest an app which will give report on the functioning of the root access? By the way I have Greenify enabled right now.

Greenify might have something to do with it -- can you please try disabling it?

Damn, I just found my way around this conversation. It has been a while haha.


after uninstalling bridge, it would come back again

bridge_data = {'name': 'test_bridge', 'hwaddr': None, 'mode': 'static', 'nat': False, 'settings': {'cidr': '<IP_ADDRESS>/24'}}
Steps:
1- create bridge with this data using (template: github.com/threefoldtech/0-templates/bridge/0.0.1)
2- install the bridge
3- uninstall the bridge
Actual Result:
Checking the bridge list node.client.bridge.list(), won't be found.
Waiting for 30 sec and check again, will be found.

@muhamadazmy  the template basically just executes client.bridge.delete(bridge) so I assume this is a 0-core bug?


No installation instructions for openlens

The source code in this repo is licensed under the MIT license: https://github.com/lensapp/lens/blob/master/LICENSE
However the README links to installation instructions for a closed source commercial product, which I am not able to install.
It would be helpful if instructions for the MIT licensed openlens would be included in this MIT licensed repo.

what about download git and run make build?

For anyone who arrives here looking for instructions, git clone and make build was sufficient for me (after installing a compatible version of Node/Yarn).
There's further discussion on maintenance and improvement of OpenLens in https://github.com/lensapp/lens/issues/5444. A GitHub Actions manifest at https://github.com/MuhammedKalkan/OpenLens/blob/main/.github/workflows/main.yml used for building and distributing binary versions of OpenLens may also be helpful to follow.
Now that there are more significant differences between OpenLens and Lens IDE, I concur that it would be great if the documentation (either in the README or in analogous sections at https://docs.k8slens.dev/main/contributing) also covered any considerations for make build, as is already done for make dev, make clean, etc.

Sorry Lens, it's one thing to pull a bait and switch on the license terms--you decided to twist arms to monetize it... ok, fine.  But it is entirely another matter to structure the README on an open source project so that the Getting Started link under the Installation heading takes you to the installation page for the commercial product... and it's not entirely clear that that is what occurred.
I was considering getting the license but now I'm going try REALLY hard to only use the open source version because of this.  Please change the README to truly respect the open source nature of OpenLens.  In the meantime, it's only OpenLens for me....

Found an easy to use build of OpenLens at https://github.com/MuhammedKalkan/OpenLens. On Archlinux, I just did
trizen -R lens-bin && trizen -S lens - the builds lens from sources.

@micw looks like a good point for make a PR into README.md I think...
OpenLens builds must be in Readme on first rows!

Here is a nice article that shows how to run binary version of this in macOS, Windows and Ubuntu: https://medium.com/dev-genius/is-it-time-to-migrate-from-lens-to-openlens-75496e5758d8

Found an easy to use build of OpenLens at https://github.com/MuhammedKalkan/OpenLens. On Archlinux, I just did trizen -R lens-bin && trizen -S lens - the builds lens from sources.

also u can install binary version trizen -S openlens-bin
https://aur.archlinux.org/packages/openlens-bin

On arch, you can also get a binary based on the "official" aur via chaotic aur: https://github.com/chaotic-aur/packages/issues/1673

Not everyone uses chaotic aur, but the more options available, the better.

The current documentation does not work since there is no Makefile anymore in e.g. 6.3.0

The current documentation here: https://docs.k8slens.dev/contributing/testing/
does not work since there is no Makefile anymore

@Nokel81 Why are there no usable instructions? Even npm build doesn't work because this project is incompatible with lerna.

lerna ERR! ECONFIGWORKSPACES The "useWorkspaces" option has been removed. By default lerna will resolve your packages using your package manager's workspaces configuration. Alternatively, you can manually provide a list of package globs to be used instead via the "packages" option in lerna.json.


DOCS dropdown doesnt work when in content page

Visit: https://themes.gohugo.io//theme/dot-hugo-documentation-theme/billing-pricing/manage/
Try to pick a topic from the DOCS dropdown.
The dropdown does work from the landing page though.

hey there, thanks for your concern. I fixed this issue. you can download the latest code. also if you like our template, a star would be amazing.


Error : Join columns must be present in data.

x Problem with `doi`.

Query: "United Kingdom" AND (Biomonitor* OR Breastmilk OR "Multi-biomarker study" OR "Multi-biomarker study" OR Mycotoxin)
Since: 2020-02-02

@xavier-gilbert what am I checking here?

@forty-rachel the DOI was not appearing anymore, cause of the anti-join, there was a mistake, normally fixed now but essentially checking that all columns are there at the end.

was this for any source in particular or just when you have more than one source?

It was for Ebsco and when there are more than one source selected (so Ebsco + additional source).

sory noticed this is no longer in the QA col, should I still look at it or is it still broken?


Troubled by 1 instance of np.flatnonzero

Hi,
I am troubled by 1 instance of np.flatnonzero.  In _ Esum  the lines:
if U_k is None:
U_k = np.flatnonzero(indices)
Removing 0 index makes U_k length 1 less than chi2 length, T_inv_k length, and log_p[k] length.  I don't see why the zero index is removed.
                                     Sincerely,

                                 William Gandler

Dear Peter Melchior,
Thank you to replying to my concern.  Specifically, I am porting your code to Java for use in the MIPAV medical imaging software at NIH and  I noticed that when a zero index was present the line U_k = np.flatnonzero(indices) produced a U_k whose length was 1 less than the chi2 length, T_inv_k length, and log_p[k] length created in the same _ESum module.  Also, I could not understand why the zero index would be excluded.
                                                  Sincerely,

                                               William Gandler

From: Peter Melchior @.>
Sent: Monday, June 6, 2022 11:28 AM
To: pmelchior/pygmmis @.>
Cc: Gandler, William (NIH/CIT) [E] @.>; Author @.>
Subject: [EXTERNAL] Re: [pmelchior/pygmmis] Troubled by 1 instance of np.flatnonzero (Issue #21)
Hello William. Are you asking about why that selection U_k = np.flatnonzero(indices) is done, or do you have trouble that is caused by this line?
—
Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpmelchior%2Fpygmmis%2Fissues%2F21%23issuecomment-1147579488&data=05|01|ilb%40mail.nih.gov|b7935f4637b640617c7c08da47d133f8|14b77578977342d58507251ca2dc2b06|0|0|637901261090493654|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=4Eyhd7h%2BtFbsqHzrBQtqrSQtrogJVVmZMuLQ9zIOG5s%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXMJ77B4GQR5L752HQSAFKDVNYKIXANCNFSM5X245B6Q&data=05|01|ilb%40mail.nih.gov|b7935f4637b640617c7c08da47d133f8|14b77578977342d58507251ca2dc2b06|0|0|637901261090493654|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=oojGOJsooTGQgL8lmAKMLTkxfs9557DqdGgmgQLJTAo%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and are confident the content is safe.

I'm not sure how this can happen. The relevant part of the code is this:
https://github.com/pmelchior/pygmmis/blob/87ad02dd607896205ccde3ca668971c6dcacd026/pygmmis.py#L993-L1001
The array indices is of type bool, and the first step of setting U_k from its initial value None lists all non-zero (i.e. non-False) elements of indices.
The following code does exactly the same in a nutshell:
test = np.random.rand(10)
indices = test < 0.5
print(indices, np.flatnonzero(indices))


Mark tests as parallel when it possible. Add tparallel lint

Codecov Report

Merging #70 (b969295) into main (c2a0b3d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #70   +/-   ##
=======================================
  Coverage   99.45%   99.45%
=======================================
  Files          10       10
  Lines         370      370
=======================================
  Hits          368      368
  Misses          2        2

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


SIG Company Pitch: Managed Apps-First Customers

Use info from: https://github.com/giantswarm/rfc/pull/16
Business value: Experiment and validate if there's possibility of creating huge business value by bringing in "Managed Apps-First" Customers.

Based on my takeaways from joining Henning's office hours w Lukasz, I don't think it makes sense to do this anymore. Closing this.


Removing wget call in getDependency with curl

Removing wget call in getDependency with curl

closes: #1250
Signed-off-by: Nikola Milijevic<EMAIL_ADDRESS>

Grinder link: https://hyc-runtimes-jenkins.swg-devops.com/view/Test_grinder/job/test.getDependency_sandbox/3

Reviewers: @llxia @renfeiw

https://hyc-runtimes-jenkins.swg-devops.com/job/test.getDependency/9579/


wand_gui doesn’t run properly with python3.8

When running the wand_gui with python3.8, the gui does not update when using any of the gui operations (eg fast mode). However, the gui receives updates when other clients (using other py versions) have the fast mode selected, for example.
Debugging in  wand\gui.py:
The fast mode button works:
print(data) in add_async_cb gives ('fast_mode',)
however this doesn’t reach fast_mode_cb
print(self.fut.done()) is True in  add_async_cb. However, print(self.fut.result()) in add_async_cb gives the following error:
File "/home/ion/scratch/wand_new/wand/gui.py", line 123, in add_async_cb
    print(self.fut.result())
  File "/home/ion/scratch/wand_new/wand/gui.py", line 300, in loop
    await asyncio.wait_for(self.wake_loop.wait(),
  File "/home/ion/anaconda3/envs/wand_py38/lib/python3.8/asyncio/tasks.py", line 448, in wait_for
    loop = events.get_running_loop()
RuntimeError: no running event loop

Summarising slack conversations...the behaviour of wait_for seems to be different in newer versions of python. Replacing it with an await (no timeout) works fine. So it looks like wait_for is complaining that no event loop is running, even though await works fine. This feels like a bug somewhere outside of our code (either asyncio or quamash).
Let's try passing our event loop into wait_for as a kwarg. That will be depreciated in a future python revision, but let's hope the underlying bug has been fixed before that happens.

cf https://github.com/python/cpython/blob/a1652da2c89bb21f3fdc71780b63b1de2dff11f0/Lib/asyncio/tasks.py#L435

I suspect the issue here is that the get_event_loop code here https://github.com/python/cpython/blob/master/Lib/asyncio/events.py is thread specific and this is being called from a coroutine in a qt thread....
@bazavano can you try one thing quickly: at the start of the loop function call set_event_loop passing in the event loop. If that works can you submit a PR to close this issue. Put a comment next to the line of code that references this issue.

Sending the event loop via set_event_loop  at the beginning of the loop function doesn't solve the issue and with print(self.fut.result()) in add_async_cb catches the following error when pressing fast mode:
('fast_mode',)
Traceback (most recent call last):
File "/home/ion/scratch/wand_new/wand/gui.py", line 124, in add_async_cb
print(self.fut.result())
File "/home/ion/scratch/wand_new/wand/gui.py", line 124, in add_async_cb
print(self.fut.result())
File "/home/ion/scratch/wand_new/wand/gui.py", line 124, in add_async_cb
print(self.fut.result())
[Previous line repeated 3 more times]
File "/home/ion/scratch/wand_new/wand/gui.py", line 302, in loop
await asyncio.wait_for(self.wake_loop.wait(), next_measurement_in) #, loop = self._gui.loop)
File "/home/ion/anaconda3/envs/wand_py38/lib/python3.8/asyncio/tasks.py", line 448, in wait_for
loop = events.get_running_loop()
RuntimeError: no running event loop

uurgh...well, let's add the hack in to pass the event loop into wait_for. We can then (a) hop this goes away in some future version of python (prior to that parameter being depreciated) (b) do some debugging inside asyncio to figure out why get_event_loop isn't returning the event loop we've set (but if this gets into some qt thread issue, that could be quite non-trivial so I'm not volunteering right away)...

the loop  parameter in wait_for will be deprecated in py3.10, so this is not a long-term solution, but will do until someone has time to understand the issue better


Direct file connection

Hello, in version 2.x, I used to connect using "jdbc:neo4j:instance:{database_name}"  using what I think is "direct file connection". Is this implemented in 3.x yet ? If not do you have an idea of when it would be?
Thank you.
I fear that if I were to use bolt that the performance would be significantly impacted unless I were to migrate a lot of my queries in procedures is that right ?
Also how to connect using embedded ? Thank you.

Hello, we are not going to implement it.
For embedded, you can open a local Bolt connector and connect with Bolt.


Rename predefined metric

Resolves #ISSUE
What is being addressed
Small refactoring: Rename pre-defined metric expected in the dashboard from rows_inserted to rows_updated to reflect that rows can be inserted, updated and deleted.

/test-force-approve

:robot: pr-bot :robot:
:white_check_mark: Marking tests as complete (for commit 85abebd783fa9031009336e08e41593c6defa64f)
(in response to this comment from @tanya-borisova)


[BUG] unable to edit network configuration during installation

Describe the bug

Unable to jump between editing fields during fresh installation on bare metal.
To Reproduce
Steps to reproduce the behavior:

Fresh installation of harvester 1.1.1
During installation was able to select the disc to install to
Set the hostname
Then at the 'Configure Network' section was able to select the Management NIC
Not able to jump on other fields in the 'Configure Network' and if I press enter (leaving remaining fields with their defaults - which is supposed to work) - I get instantly returned to the first step about 'Choose instalation mode'

Expected behavior

I would suspect that it should go to the next step or start the installation
Support bundle

Environment

Harvester ISO version: 1.1.1
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Bare metal Dell T7810

Additional context
Add any other context about the problem here.

this is a known issue: https://github.com/harvester/harvester/issues/2708
are you please able to try one of the work arounds or try PXE based installs?

Tried with 1.1.2, issue persists!

Somehow it worked now by pressing enter.
But I am not able to advance further:

This is shown when I press enter, and I dunno what it is supposed to mean. The address is valid.

@xeruf  can we close this ?


OCFS properly process empty file upload

We should fix the two TUS layers to properly process uploads with 0 bytes to automatically finish:
Fixes https://github.com/owncloud/ocis-reva/issues/188

[x] Fix scenario 1: Webdav PUT upload of empty file
[ ] Fix scenario 2: Webdav TUS upload of empty file

Scenario 1: Webdav PUT upload of empty file
In Phoenix when creating a new file, it uses a PUT with empty payload to create the file.
The PUT goes to ocdav/put.go and gets converted to a TUS upload to the backend.
In this PR the backend has a new shortcut to automatically finish the upload.
Scenario 2: TUS upload of empty file
In Phoenix, try uploading an empty file that exists on local disk.
In this scenario, the code flow goes into tus.go and initiates the upload in the backend storage.
However it doesn't create the file automatically despite the fix for scenario 1.
I tried to debug this and somehow it seems that it doesn't even reach owncloud/upload.go for the upload and aborts earlier.
I'm a bit confused about the code path between the file upload initiation and finishing the upload in the case of TUS. Maybe it's in the storage provider.
I also tried to make it send an empty PATCH to the backend but that makes it return 400 bad request.
Also: it is likely that we'll need a similar fix for EOS.
@butonic thoughts ?

reproduced using these two curl commands:
Scenario 1: Webdav PUT upload of empty file
curl 'https://localhost:9200/remote.php/webdav/empty%20file' \
  -X 'PUT' \
  -H 'Content-Length: 0' \
  --insecure \
  --verbose \
  -u einstein:relativity

Scenario 2: TUS upload of empty file
curl 'https://localhost:9200/remote.php/dav/files/einstein/' \
  -X 'POST' \
  -H 'Content-Length: 0' \
  -H 'Tus-Resumable: 1.0.0' \
  -H 'Upload-Length: 0' \
  -H 'Upload-Metadata: filename YWRkcmVzc2Jvb2s=,filetype ,size MA==,mtime MTQ5OTI1MTUzMS44NjE=' \
  --insecure \
  --verbose \
  -u einstein:relativity

I added a few log lines and ignoered deletion of non existing files:
diff --git a/pkg/storage/fs/owncloud/upload.go b/pkg/storage/fs/owncloud/upload.go
index 8b7be82..3b44aa2 100644
--- a/pkg/storage/fs/owncloud/upload.go
+++ b/pkg/storage/fs/owncloud/upload.go
@@ -158,6 +158,9 @@ func (fs *ocfs) NewUpload(ctx context.Context, info tusd.FileInfo) (upload tusd.

                "LogLevel": log.GetLevel().String(),
        }
+
+       log.Debug().Interface("info", info).Msg("ocfs: built storage info")
+
        // Create binary file in the upload folder with no content
        file, err := os.OpenFile(binPath, os.O_CREATE|os.O_WRONLY, defaultFilePerm)
        if err != nil {
@@ -175,6 +178,7 @@ func (fs *ocfs) NewUpload(ctx context.Context, info tusd.FileInfo) (upload tusd.

        if !info.SizeIsDeferred && info.Size == 0 {
                // no need to create info file and finish directly
+               log.Debug().Interface("info", info).Msg("ocfs: finishing upload for empty file")
                u.FinishUpload(ctx)
                return u, nil
        }
@@ -366,10 +370,14 @@ func (fs *ocfs) AsTerminatableUpload(upload tusd.Upload) tusd.TerminatableUpload
 // Terminate terminates the upload
 func (upload *fileUpload) Terminate(ctx context.Context) error {
        if err := os.Remove(upload.infoPath); err != nil {
-               return err
+               if !os.IsNotExist(err) {
+                       return err
+               }
        }
        if err := os.Remove(upload.binPath); err != nil {
-               return err
+               if !os.IsNotExist(err) {
+                       return err
+               }
        }
        return nil
 }

Both scenarios work now for me locally, I was testing it wrong, forgot to restart a relevant service.
I've added @butonic's change to avoid errors when the info file is not there.
Also, as discussed with @butonic, added similar changes for EOS but I can't test them.
@butonic please test the EOS changes

works on eos when using the /webdav endpoint. Need to check the /dav/files endpoint because it does not seem to use the correct user layout. should be fixed with https://github.com/owncloud/ocis/pull/219 so does not affect this PR

I've fixed the linting issue and retested with OCFS to make sure there are no issues with the error condition check.
I think this is good to go


Documentation subdomain produces "too many redirects" error

When trying to go to your documentation website https://synctodoist.gaborschulz.com, browsers fail with a "too many redirects" error. Tested on Chrome and Safari, including with incognito mode.
https://gaborschulz.com redirects correctly to LI, so looks like this a problem with the synctodoist subdomain only.

Thanks for calling it out. The url should be working again.


Chatbot Added

Description
Issue #89
Added a chatbot.
Checklist

[X] I am making a proper pull request, not a spam.
[X] I've checked the issue list before deciding what to submit.

@niloysikdar

Thank you @namratadas1 :)


No space between the images and the footer in bookmarks section

Describe the bug
There is no space between the images at the bottom and the footer in the bookmarks section. When we hover over them, then the name and provider icon is also not visible. Please refer the screenshot below.
To Reproduce
Steps to reproduce the behavior:

Go to Extension
Search for something and bookmark images
Scroll to the bottom of the bookmarks section

Expected behavior
There should be some space between the footer and the images.
Screenshots

@aryamanpuri are you working on this? We have to fix this bug in the next release (which is scheduled on Monday)

@makkoncept I am not able to give time to this issue.
can you assign someone else?


Add an option to get the cake cape

There is an anniversary event in the game which you can unlock a cape with. I missed the opportunity to get it so I was wondering if there was a way to unlock it or remove it?

This will require some code changes to allow modifying cosmetics for a character. Some day when I get around to it, I will add that feature.

Thank you for all of the effort you put into this project!

That's very kind to add this feature!


How to know RateLimiter inner Quota

That's a tricky question: To save space, the RateLimiter struct doesn't retain a reference to the Quota (instead, representing the quota in its Gcra elements T and Tau. If you wish to refer back to the Quota, it's probably best to hold on to the Quota that was used to create the rate limiter; if that's not an option for you, I think it might be possible to "decompile" the Gcra elements back into a quota. Is that what you're asking for?

That's a tricky question: To save space, the RateLimiter struct doesn't retain a reference to the Quota (instead, representing the quota in its Gcra elements T and Tau. If you wish to refer back to the Quota, it's probably best to hold on to the Quota that was used to create the rate limiter; if that's not an option for you, I think it might be possible to "decompile" the Gcra elements back into a quota. Is that what you're asking for?

Yes,you are right.
I need it.


Switch to the finalized notebookEditor API

The notebookEditor has been finalized with VS Code 1.68 🎉   (#149271). If your extension was using the proposal, you should now switch to the finalized version of this API.
In the majority of cases, this switch is as simple as:

Switch your extension to target VS Code 1.68
pulling in the new vscode.d.ts
Remove notebookEditor from your list of enabled  API proposal.

However there are few small bumps to be aware of:

NotebookEditor.document has been renamed NotebookEditor.notebook. Please make sure to switch over to the new property name as part of this migration

We did not finalize the version of showNotebookDocument that takes a uri. Instead you can use openNotebookDocument(uri).then(document => showNotebookDocument(document, options))

Here's a list of all current consumers of the old API proposal:

[ ] LiveShare — @alyssajotice @fubaduba
[ ] ms-toolsai.vscode-ai-remote  — @sevillal
[ ] Python — @karthiknadig
[ ] Dot net interactive —  @brettfo, @colombod
[ ] Codespaces — ?
[x] Remote repositories — @joyceerhl
[x] Restbook — @tanhakabir
[x] Remote hub — @joyceerhl
[x] Remote hub insiders — @joyceerhl
[ ] ms-python.gather — @DonJayamanne? @rchiodo?
[x] Jupyter  — @rchiodo
[ ] Jupyter powertoys — @rchiodo
[x] ESLint — @dbaeumer

If you own one of these extensions, please migrate to the finalized notebook editor API. Let me know once the new version of your extension is published and I will remove your extension from the list of api consumers

I am actually fine in ESLint. The dependency was because of notebook support in LSP and LSP already converted to the final version for the 8.x release of the LSP libs.

Thank you everyone who's checked off their extension so far! If you have, I plan to remove your extension from the list of notebookEditorAPI consumers in July. This will only start effecting the insiders builds of VS Code at first, but please let me know if you notice any issues

I'm working on the change for Codespaces and expect it to be in our next extension release (1.10.0) in a few days. I'll reply back once it's on the marketplace.

We just published GitHub Codespaces 1.10.0 with this change, so you should be able to remove our extension from the list of notebookEditor proposed API consumers.


What are the different types of solutions?

When I right-click Visual Studio on the taskbar to view the available solutions, the solutions have different icons:

What do these icons mean?

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

ID: b057a09a-e208-8daf-58b0-3dfb3bb4ea0e
Version Independent ID: f891d20f-a2c8-3208-ed23-91dfef901eaf
Content: Learn about solutions and projects - Visual Studio
Content Source: docs/ide/solutions-and-projects-in-visual-studio.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@v-kydela -- Kyle, thank you for your questions.  I believe the "16" icon refers to a 16-bit solution.  Please consider these resources:

Visual Studio on Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.

@v-kydela -- Kyle, thank you for your questions.  I believe the "16" icon refers to a 16-bit solution.  Please consider these resources:

Visual Studio on Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.

@WilliamAntonRohm - What is a 16-bit solution? My searches reveal no evidence of such a thing. Does it have to do with which version of Visual Studio was used to create the solution?

@WilliamAntonRohm - What is a 16-bit solution? My searches reveal no evidence of such a thing. Does it have to do with which version of Visual Studio was used to create the solution?

@v-kydela -- Kyle, thank you for your followup.  It appears the 16 does refer to the Visual Studio version, and not the compiled file's bit width.  Version 16 is Visual Studio 2019.

@v-kydela -- Kyle, thank you for your followup.  It appears the 16 does refer to the Visual Studio version, and not the compiled file's bit width.  Version 16 is Visual Studio 2019.

@WilliamAntonRohm - Is that just a guess, or were you able to look up that information somewhere?

@WilliamAntonRohm - Is that just a guess, or were you able to look up that information somewhere?

@v-kydela -- Kyle, thank you for your question.  I asked a local expert who told me the 16 is indicates VS 2019.

@v-kydela -- Kyle, thank you for your question.  I asked a local expert who told me the 16 is indicates VS 2019.


Build blink_k20 failed

I build blink_k20 with following failed, please take a look.
$ cargo build --target=thumbv7em-none-eabi --features mcu_k20 --release     Updating registry https://github.com/rust-lang/crates.io-index`
Updating git repository https://github.com/hackndev/rlibc
Downloading rust-libcore v0.0.3
Compiling macro_zinc v0.1.0 (file:///home/linhnv1/p/zinc/macro_zinc)
Compiling zinc v0.1.0 (file:///home/linhnv1/p/zinc)
Compiling ioreg v0.1.0 (file:///home/linhnv1/p/zinc/ioreg)
Compiling rust-libcore v0.0.3
error: couldn't read "/home/linhnv1/p/zinc/macro_zinc/src/macro_zinc.rs": No such file or directory (os error 2)
Build failed, waiting for other jobs to finish...
error: Could not compile 'macro_zinc'.
To learn more, run the command again with --verbose.`
$ rustc --version rustc 1.10.0-nightly (57ef01513 2016-05-23)
`$ git log -2
commit 1ad41f3d21d602ca49cb2ff628c7c46dc2d714ff
Merge: 3a3ab46 f4a72b1
Author: Vladimir Pouzanov<EMAIL_ADDRESS>Date:   Sun Sep 18 11:50:24 2016 +0100
Merge pull request #392 from rnestler/improve_readme

Add a note about which rust version to use`

Thanks.

Hm, just checked out 1ad41f3 and compiled with that same rustc and it worked.
Have you moved any folders or changed anything? git status -s

I also just tried a fresh clone of zinc (same hash as @Phaiax mentioned) and it worked (also using the same version of rustc). I was running on Ubuntu 16.04 (if that matters).

note that the compatible nightly version just has changed

Hi all,
Firstly, I'm so sorry for late response. My environment is not REAL Ubuntu 14.04, it is Windows 10 Subsytem Ubuntu. Although it still is Ubuntu 14.04 but maybe has some different.
I'm do not have a chance to try in REAL Linux (I have archlinux dual boot, but I'm busy for some days). I will try then feedback later.
Thank you guys for your responses.

@Phaiax I'm tested on Archlinux with updated nightly rust version. It's ok. So I will close this issue. Please accept my apology.

Hm, no need to apologize :D
/home/linhnv1/p/zinc/macro_zinc/src/macro_zinc.rs
I'm curious why it wanted to access this file, it did not even exist.


add Ankr

"ANKR": {
"nativeNetwork": "ethereum",
"nativeContractAddress": "0x8290333cef9e6d528dd5618fb97a76f268f3edd4",
"denomination": 18,
"chainlinkFeedAddress": "0x2f2ea25382A236FD115Dff160d258351B8b32D63",
"logo": "https://github.com/eugentirlea/avalanche-bridge-resources/blob/main/tokens/ANKR/logo.png",
"coingeckoId": "ankr"

Hi there, thanks for your interest in Avalanche. We have recently updated the review process for tokens on the Avalanche Bridge. I'm closing all of the pending PRs in this repo now, and someone from our business development team should reach out to you soon if they have not already.


stream creation: Don't mark stream as inactive after creation.

We currently mark streams as inactive if they have no loaded messages. If you create a stream (e.g. through the subscriptions modal), it will be marked as inactive, since it has no messages.
This is slightly confusing for people on small realms (it marks the newly created stream as light grey, which is a different color than the rest of the streams), but really confusing if you have 40+ streams, since then the new stream is automatically sorted to the bottom, with the rest of the inactive streams.
The solution is to mark streams as active if the user just created it.
Notes:

The is_active function is in static/js/stream_data.js.
A lot of relevant code is in stream_list.js, including e.g. the functions that build the sidebar.

@rishig In stream_list.js the function self.update_whether_active updates the status of a stream by calling is_active in stream_data.js. So what needs to be done is to modify is_active by adding a check for new stream like this : return recent_topics.has(stream_name) || <check new stream>;
I noticed that  create_streams function in stream_data.js adds attrs. So, <check new stream> should just check whether attrs has the default values.
Am i going in the right direction?

hm, probably not, since those are modified pretty fast (before is_active is called). Maybe the solution is to add another attr (new_stream, or similar), here? This could be a good question for #developer help; I am also not too familiar with this part of the codebase :).
Thanks a ton for looking into this!

Yeah, I think a new attribute is a good approach for this.

So I think adding an attribute called new_stream would mostly solve this problem as a JS-only fix, and we could set it as part of handling the stream/create event.  It would only work until reload, however.  So if we want a more durable solution, then we need the back end to tell us which streams are new.  If the back end similarly set a "new_stream" flag, then we'd need a mechanism to clear it, which basically amounts to an expiration.  And if that's the case, we need to set a time window, and we'd probably just use stream.date_created as the criterion for a new stream.

I think it's fine for it to be demoted after reload.  But I suppose a more
robust alternative would be to track a join date for reach stream a user is
subscribed to, and use that.
-Tim Abbott (mobile)
On Apr 17, 2017 3:18 PM, "showell"<EMAIL_ADDRESS>wrote:

So I think adding an attribute called new_stream would mostly solve this
problem as a JS-only fix, and we could set it as part of handling the
stream/create event. It would only work until reload, however. So if we
want a more durable solution, then we need the back end to tell us which
streams are new. If the back end similarly set a "new_stream" flag, then
we'd need a mechanism to clear it, which basically amounts to an
expiration. And if that's the case, we need to set a time window, and we'd
probably just use stream.date_created as the criterion for a new stream.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/issues/4310#issuecomment-294611206, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACnm2k8k4bWN0bg_8IhMD6KUghMXVsBDks5rw-VIgaJpZM4MpRWl
.

There are two fixes pending for this:

send welcome messages for new streams #4635
add newly_subscribed field to subscribe event #4643

These fixes mitigate the problem, but they don't completely solve it, since the newly_subscribed field will get cleared after the reload.

There's been progress on this:

New streams get a welcome message, so they are active out of the gate.
Newly subscribed users get a flag set when the subscribe event comes in, so the stream appears active to them until reload.

More follow-ups could be:

We have a 10s idle before loading all old message.  We could reduce that idle to 1s.
We may need a permanent solution for newly subscribed users.
We also need to account for brand new users joining a realm who don't have message history.

@timabbott I think we can close this, since the major issues were addressed, and the minor issues haven't caused any real world feedback since 1.6.

I think it makes sense to close this issue; it might be reasonable to open a replacement issue that documents the suboptimal elements of the modal post-this-issue, but is described in a way that discourages new folks from trying to work on it.


Update dependencies: Webpack 5, Angular 12, Rxjs 7.1, Bootstrap 5, Typescript 4.2, Spring Boot 2.5.0

Update Webpack configuration to Typescript
Apollon 2.7.0
Sass 1.34.0 (with breaking changes)

Checklist

[ ] I tested all changes and all related features with different users (student, tutor, editor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Client: I followed the coding and design guidelines.

Steps for Testing
We should test all important user functionality and user workflows in Artemis extensively.
Also test the development workflows (e.g. local start)

When creating programming tasks, no checkboxes are visible (Screenshot).

Fail. I guess I should expect that for editing the global styles. Should be fixed now.

Q&A
The question text should be placed next to the upvote sign and number, not below

http://localhost:9000/course-management/1/exercises

The button font is black everywhere (also on other pages)
The footer links for Release Notes | Privacy Statement | Imprint are not right aligned.

http://localhost:9000/admin/metrics
I get an ever-increasing number of console errors on this page. I think there should be some entries for HTTP requests, endpoint requests etc.

Attachment of Lectures
The Header Column of the Attachment column does not span over the whole screen. After selecting or dropping an attachment file, it is shown twice.

Tested on TS3
Found 2 UI Bugs for Example Submissions
The major one is for the Modeling Exercises:

For Text Exercise, instead of looking like this:

It looks like this:

I tested on TS1. For me the changing font colours do not appear anymore in the exercise overview :-)
But the buttons for collapsing the Problem Statement, the Files Editor and the Build Output for programming exercises do not work. For text and modelling exercises the collapsing works perfectly fine.
I also encounter the issue @katjanakosic mentioned: The shifted column for the template solution for programming exercises

Updated again. Currently stuck at the follow (help is welcome):

[ ] programming exercise table for exams (programming cell)
[ ] example submissions/solutions layout (including "tutor needs to assess")
[ ] quiz add existing question checkbox (for some reason ignores width: 1em)
[ ] !important widths overwrite default canvas/chart widths
[ ] logs background color ( overwrites it)
[ ] programming exercise editor expanding/collapsing
[ ] tests can't find spyOn https://bamboo.ase.in.tum.de/browse/ARTEMIS-TESTS1911-TSTEST-47/log

I fixed all the issues from the last session, so this is ready for review again.

Found during the testing session:

[ ] creating drag and drop quizzes has slight overlaps
[ ] footer links should be right instead of centered
[ ] learning goals should be ordered horizontally
[ ] close button
[ ] exma assessment dashboard "Action" button placement


fix: Update main.tf, fix for aws_security_group_rule.cluster, prefix_list_…

…ids null to empty list
fix for aws_security_group_rule.cluster, prefix_list_ids null to empty list
Description

Motivation and Context
bug fix, prefix_list_ids parameter in aws_security_group_rule cannot take null.
REF: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule#prefix_list_ids

Breaking Changes

How Has This Been Tested?

[ ] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[ ] I have tested and validated these changes using one or more of the provided examples/* projects

[ ] I have executed pre-commit run -a on my pull request

why is this change needed, what issue is it resolving?

just got a bug using the module, and its resolving the bug
as you can see in the terraform docu the prefix_list_ids in the sg cannot take a null only a list.
in additonal to that you can see in the node_groups.tf file, default is set to an empty list and not null.

what is the bug? In terraform, optional values are null by default which is why we state null

for reference

then why are there differant values in two locations in this module?

I used the block, and had an error when default value was set to null, after changing the default values to [] the error was gone

what is the error you are getting?

here an example code snippet mimic the errror
  default_tags {
    tags = {
      Test = "true"
    }
  }
}

locals {
  security_group_rules = { for k, v in {
    egress_all_ports = {
      description                = "Node groups to cluster API"
      protocol                   = "tcp"
      from_port                  = 0
      to_port                    = 0
      type                       = "egress"
      cidr                       = ["<IP_ADDRESS>/0"]
      source_node_security_group = true
    }
  } : k => v }
}

resource "aws_vpc" "vpc" {
  cidr_block           = "<IP_ADDRESS>/24"
  instance_tenancy     = "default"
}

resource "aws_security_group" "private" {
  name        = "test-sg"
  description = "Security group"

  vpc_id = aws_vpc.vpc.id
}

resource "aws_security_group_rule" "private" {
  for_each = { for k, v in merge(
    local.security_group_rules,
  ) : k => v }

  # Required
  security_group_id = aws_security_group.private.id
  protocol          = each.value.protocol
  from_port         = each.value.from_port
  to_port           = each.value.to_port
  type              = each.value.type

  # Optional
  description      = lookup(each.value, "description", null)
  cidr_blocks              = lookup(each.value, "cidr_blocks", null)
  ipv6_cidr_blocks         = lookup(each.value, "ipv6_cidr_blocks", null)
  prefix_list_ids          = lookup(each.value, "prefix_list_ids", null) # change back to '[]'
  self                     = lookup(each.value, "self", null)
}```
<img width="1203" alt="Screenshot 2023-06-22 at 20 06 04" src="https://github.com/terraform-aws-modules/terraform-aws-eks/assets/68846788/d7c30fcc-3cd0-43c3-8031-04efd3363bf9">

yes, that will fail since you have errors in the configuration

locals {
  security_group_rules = { for k, v in {
    egress_all_ports = {
      description                = "Node groups to cluster API"
      protocol                   = "tcp"
      from_port                  = 0
      to_port                    = 0
      type                       = "egress"
-     cidr                       = ["<IP_ADDRESS>/0"]
+     cidr_blocks                = ["<IP_ADDRESS>/0"]
     source_node_security_group = true
    }
  } : k => v }
}

@shaked-tech closing this for now, but please feel free to open an issue with the requested details if you are still facing issues

Your right @bryantbiggs, thanks for the catch,
do you think then that terraform catches 'null' the same way as '[]' ?

so these are optional, but at least one of them is required
  cidr_blocks              = lookup(each.value, "cidr_blocks", null)
  ipv6_cidr_blocks         = lookup(each.value, "ipv6_cidr_blocks", null)
  prefix_list_ids          = lookup(each.value, "prefix_list_ids", null) # change back to '[]'
  self                     = lookup(each.value, "self", null)

Since you were setting cidr and not cidr_blocks, that was causing the error. The second you add the [] to prefix lists IDs, it was happy because it had at least one value
And no, null and [] are not treated the same. null says "I didn't provide anything", and [] says "I want an empty array"


Amend data returned by /association/filter endpoint to include summary safety data

For phase 2 of the implementation of the target safety data, we would like to display a summary of the safety data in the Prioritisation view - see #461 for more information and a full design spec.
Can we please update the response from the Open Targets public/association/filter API endpoint to include a summary of the safety data currently contained with the gene index?
This would follow what we have done for the tractability data, as a summary of that data is available from the endpoint response (e.g. data[0].target.tractability). See below for an example:

If possible, can we process the data currently found in the gene index and provide a shorter summary in the public/association/filter API endpoint response with only a list of organs and systems affected? This could help minimise the overall size of the object returned from the endpoint and improve the performance of the web app when search for a disease with a large number of associated targets.
For example, could we return something like this?
{
    "data": [
        {
            "association_score": {},
            "disease": {},
            "evidence_count": {},
            "id": "",
            "is_direct": "",
            "target": {
                "gene_info": {},
                "id": "",
                "tractability": {},
                "safety": {
                    "organs_systems_affected": ["cardiovascular system", "respiratory system", "reproductive system"]
                }
            }
        }
    ]
}

At the first look for the BE we need to add
*) Add safety data to association index. (It seems that gene already has the info about safety)
*) Retrieve the information through the REST API

Thanks @cmalangone. We're going to defer this to a later release and so I've removed it from the 19.06 release. :-)

There are two branches
DATA RELEASE
https://github.com/opentargets/data_pipeline/tree/cm_559_add_safety_info_to_association
REST API
https://github.com/opentargets/rest_api/tree/cm_559_add_safety_info_to_association
The REST API are available here:
curl -X GET http://platform-dev.opentargets.io/v3/platform/public/utils/stats
Web APP
https://platform-dev.opentargets.io:8443/
https://platform-dev.opentargets.io:8443/target/ENSG00000087085/associations (dev tools)

@cmalangone, thank you for exposing the safety data. :-)
I have spoken to @EPetsalaki and in order to show the basic information on the prioritisation view - #461 - can the API only return the safety.organs_systems_affected array along with the reference value?
So for example:
target: {
  safety:  [
    {
      organs_systems_affected: [{}, {}, {}],
      reference: "Lynch et al. (2017)
    },
    {
      organs_systems_affected: [{}, {}],
      reference: "Bowes et al. (2012)
    }
  ]
}

This should reduce the overall size of the associations object.


Update log-in.html

You should put the texts and anything else you want to put on top of in the header

Thanks, Arman, but by changing the html elements, the styles get messed up, and considering that this repository is old, I don't need to make any changes in it.


combine_max_stats by quarter

Is there a way that you can get by quarter the combine_max_stats for a player?

Not really a native way to do this, but you can get pretty close.
For example, you can see who threw for the most yards in the 4th quarter of games like so:
import nflgame

def filter_quarter_plays(qtr, plays):
    qtr_start = nflgame.game.GameClock(qtr, '15:00')
    qtr_end = nflgame.game.GameClock(qtr, '0:00')
    return plays.filter(time__le=qtr_end).filter(time__ge=qtr_start)

games = nflgame.games(2017, kind='REG')
plays = nflgame.combine_plays(games)

fourth_quarter_plays = filter_quarter_plays(4, plays)

for player in fourth_quarter_plays.players().sort('passing_yds').limit(15):
    print player, player.passing_yds

R.Wilson 1303
D.Brees 1240
B.Roethlisberger 1212
D.Carr 1175
D.Prescott 1139
M.Stafford 1119
M.Ryan 1107
E.Manning 1097
J.Winston 1085
K.Cousins 1053
A.Smith 996
P.Rivers 912
T.Brady 906
D.Kizer 906
J.Cutler 821


System routes - network peering

It would be good to add that when using network peering with Use remote gateway option, VPN gateway ranges get added as 'Virtual network gateway' source routes to the network routes.

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

ID: 38bd69ac-a1b5-a401-184d-37b55188a7c4
Version Independent ID: ef976d45-36eb-8a32-4b29-ae03412165d2
Content: Azure virtual network traffic routing
Content Source: articles/virtual-network/virtual-networks-udr-overview.md
Service: virtual-network
GitHub Login: @malopMSFT
Microsoft Alias: malop;kumud

@JozoSlejko Thank you for the detailed feedback. We are actively investigating and will get back to you soon.

@JozoSlejko Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Please assign to @altambaw for peering routes

I'll work with @altambaw to review this

#reassign: @altambaw

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Support for new layout for Trend Card

Would like an example of an alternate label placement of "Card with Single Trend" shown here
http://www.patternfly.org/angular-patternfly/#/api/patternfly.card.component:pfCard - Trends
similar to this:

The new layout is really close to the 'compact' layout:

We can look at adding a config option to specify 'compact layout label placement' either 'left' or 'right'.  Would that work?

I think that would be pretty efficient to do it that way

Is this what you were suggesting? @dtaylor113
With the help of @jeff-phillips-18 I was able to create this using the compact layout for the TrendsChart demo. I have not added it to the TrendsCard example as of yet.
@serenamarie125

@amarie401 I know Serena is out this week but I think that looks great! FYI I just put up the design for this yesterday to be sure the "right compact" option is documented in PatternFly. I should have tagged you but here is the design PR!

@beanh66 awesome thank you!

Hi @amarie401, yes, that was exactly what I was thinking.  Just please be sure that the default is 'left' when no 'compact label position' param/attribute is specified.  -Thanks!

Yes @amarie401 this is exactly what I was hoping for :)  Thank you!


'Choose File' doesn't work with stock browser in Android 4.4.2

Visit http://fineuploader.com/demos.html#amazon-demo with Android 4.4.2 device and stock browser and press 'Upload a file' button. The file chooser will not open.
According to http://docs.fineuploader.com/browser-support.html Android 4 stock supports S3 uploads.

It doesn't look like you are using an actual Android device.  I've found the virtual devices to be unreliable. Have you verified on an actual device?

I have tested with both, an actual Android 4.4.4 device and Android 4.4.4 virtual device, and both worked.  So I assumed that the 4.4.2 virtual device behavior would also be reproducible on an actual 4.4.2 device as the 4.4.2 virtual device was obtained from the same source (http://www.android-x86.org/download).
I currently do not have access to an actual Android device with 4.4.2 running on it.
Also https://code.google.com/p/android/issues/detail?id=62220 suggests this might be only an issue in 4.4.(1) and 4.4.2 Android devices

Sounds like it was fixed in a hotfix release after 4.4.2. I'll mark this as a browser bug and keep it open so other with a similar issue will be able to easily locate the cause. Thanks for your report.

@rnicholus I believe this can be closed since it hasn't been reported by anyone else since

Thanks!


Bad sort on distinct of single field

select distinct city from zips order by city
MongoDB jumps through some hoops to duplicate the sort from before the distinct to after the distinct, and only in this case (where there’s a single field projected without an alias) does it get it wrong.

Verified this is fixed after the next-major merge into master.


async collection.list() not using arraycursor

See https://github.com/arangodb/arangojs/blob/master/src/collection.ts#L399
I'm pretty sure the list() function should be using an array cursor. Since the underlying endpoint is deprecated, I guess this is a good reason to implement it as an AQL.
I'm sorry I can't PR this, I currently have no time to help.

This will be addressed in the next major release:
https://github.com/arangodb/arangojs/blob/feature/next-major/src/collection.ts#L1176


Add Python 3.11 to the testing

Thanks for submitting a PR!
Please make sure to check for the following items:

[x] Add unit tests and integration tests where applicable.
If you've added an error code or changed an error code behavior,
you should probably add or change a test case file under tests/test_cases/ and add
it to the list under tests/test_definitions.py.
If you've added or changed a command line option,
you should probably add or change a test in tests/test_integration.py.
[ ] Add a line to the release notes (docs/release_notes.rst) under "Current Development Version".
Make sure to include the PR number after you open and get one.

Please don't get discouraged as it may take a while to get a review.

Should help to test  #608

On Python 3.11...
Running Sphinx v1.6.2
making output directory...

Exception occurred:
  File "/opt/hostedtoolcache/Python/3.11.0/x64/lib/python3.11/re/_parser.py", line 841, in _parse
    raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 3

@serhiy-storchaka Your thoughts, please?

Is the full traceback available? This can help identify the regular expression that needs to be corrected.

The failure was happening in Sphinx. Since we have enabled read the docs PR apps, the doc generation in github actions is no longer needed. A larger term fix would involve updating the Sphinx version (from 1.6.x to 6.0)


LED stuttering/glitching

I'm running 300 LED's on a 30A power supply (Though the same problem occurred on 150 LED's) on a ESP-12F over DMA. The controlling computer is an recent i7 so there's plenty of processing power on that end. Every so often all the LED's will freeze or behave very slowly for around a second or so and then resume. Here's a video showing what I mean. It appears to happen on every effect.
https://www.youtube.com/watch?v=QUVJgAYLXdQ

Are your esps connecting to the computer using the mobile hotspot?

I have the same problem, but for it it is freezing sometimes and sometimes I need to reboot the arduino


[Feature]: Extra Annotations/Labels for pods

Is there an existing issue already for this feature request/idea?

[X] I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?
Some times there is a need of adding some extra annotations or labels to database pods
Describe the solution you'd like
Inherit from Cluster metadata or adding spec.podLabels and spec.podAnnotations just file spec.env
Describe alternatives you've considered
Nothing
Additional context
No response
Backport?
N/A
Are you willing to actively contribute to this feature?
Yes
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Does this work for your use case? https://github.com/cloudnative-pg/cloudnative-pg/blob/5ab2763451a6c20bab6b89b234367fe1eacd0355/docs/src/operator_conf.md?plain=1#L38-L39

@achanda
Yes, thanks
I was not able to find them when searching

I was exactly looking for the same config. Thanks!

@achanda I think document improvement is needed :)


"Send To Many" require double-clicking a box to be able to Copy/Paste

This one doesn't work.

The cursor has to show up for this one to appear.

Fixed in 472fccc - you can now paste in a string without editing the cell.


Fix panic for fixBrokenRepoUnits16961

Does doctor commands also have tests?

Does doctor commands also have tests?

Should this be backport?


[Contribution Request] Tutorial on Continuous Monitoring using ML Pipelines

Hi team, I would like to propose a tutorial about creating a pipeline for continuous monitoring.
It describes an advanced use case of running flows in ML pipelines.
Continuous monitoring is necessary to maintain the quality, performance and efficiency of Generative AI applications.
These factors directly impact the user experience and operational costs.
It will run evaluations on a basic chatbot flow, then aggregate the results to export and visualize the metrics.
This contribution is a sharing from ISE Dragon Crew's CodeWith engagement.
PR: #3592

@loubigard thanks for the contribution! For your scenario, we recommend putting under integration folder. Let's discuss more in the PR.

Merged in this PR: https://github.com/microsoft/promptflow/pull/3644


Separate branch for notebook jsn class

Please review, this notebook should be in master.

Pull Request Test Coverage Report for Build 951

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.795%

Totals

Change from base Build 945:
0.0%

Covered Lines:
3147

Relevant Lines:
4152

💛  - Coveralls


The fulfillment provider cannot calculate prices for this option

I'm following the readme, I want to use Rates at Checkout.
I'm getting "The fulfillment provider cannot calculate prices for this option" upon trying to add a Shipping Option.
Am I missing something? Do I need to setup the Packaging in Shippo for this to work?

By the time this line is executed

This is the value of data. There's no type property in data.
{
  token: "ups_next_day_air",
  name: "UPS Next Day Air®",
  supports_return_labels: true,
  id: "shippo-fulfillment-ups_next_day_air",
  carrier_id: "dcfa3c6d63cd4875897f7c12750125d9",
  is_group: false,
  carrier: "ups",
  object_id: "dcfa3c6d63cd4875897f7c12750125d9",
  object_owner<EMAIL_ADDRESS>  account_id: "shippo_ups_account",
  parameters: {
  },
  test: true,
  active: true,
  is_shippo_account: true,
  metadata: "US",
  carrier_name: "UPS",
  carrier_images: {
    "75": "https://shippo-static.s3.amazonaws.com/providers/75/UPS.png",
    "200": "https://shippo-static.s3.amazonaws.com/providers/200/UPS.png",
  },
}

Did you ever figure this out? Also having the same issue.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Sponsorship] Add prospectus description about COVID-19 plan

Many conferences were/are cancelled recently because of COVID-19. It will be great if we could have a plan for it as well. Topics should cover:

[ ] What if we have gotten to sponsorship money and signed the contract? Refund partially?
[ ] What's the prospectus if we turn the conference into a virtual one or cancel it?

off line discussion


fix map keying with 1 or 2 byte integers (#232)

As described in the original bug description, if you keyed a map with a 1 or 2 byte integer value then we segv'd. The reason being that we didn't handle the 1 or 2 byte case inMapKey::argument_value(). The proposed fix is simple and appears to validate OK.
The 2 byte case:
#  grep oom_score_adj /sys/kernel/debug/tracing/events/task/task_rename/format
        field:short oom_score_adj;      offset:44;      size:2; signed:1;

[ In another shell set it's 'oom_score_adj' to something non-zero]:

#  echo 256 /proc/$$/oom_score_adj
256 /proc/3641283/oom_score_adj

# bpftrace -e 'tracepoint:task:task_rename{@[args->oom_score_adj] = count();}'
Attaching 1 probe...
^C

@[0]: 62
@[256]: 296

The 1 byte case:
#  grep ip_summed /sys/kernel/debug/tracing/events/net/net_dev_start_xmit/format
        field:u8 ip_summed;     offset:32;      size:1; signed:0;

#  bpftrace -e 'tracepoint:net:net_dev_start_xmit{@[args->ip_summed] = count();}'
Attaching 1 probe...
^C

@[0]: 7
@[3]: 25929

I also ran the test suite (without the llvm tests as I'm running llvm-6) and everything passes.
NOTE: I added a break statement into the switch although we technically don't need it as we have all the byte values covered.  Having a final break statement is just a defensive measure as it saves pain in the future if code is re-arranged.

LGTM, thanks!


Localization topic

Which topic the localization/pose is published.Please help.

Hi @vimalrajayyappan ,
You can subscribe to /odom topic to obtain the sensor pose.


Adding Support for Heiman HS2WD Flash Siren

Hi to all.
I have this zigbee siren from heiman with id 'WarningDevice'
(http://www.heimantech.com/product/153.html)
Previously using Smartthing and adding it as generic siren or switch i can switch it on and off.
Someone can help me?
I can send log and everything needed!
Thanks a lot

Is this device working with https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/devices.js#L3121?

I remove that device (i create It but don't work)

https://github.com/Koenkk/zigbee2mqtt/issues/1416 can help

Support added https://github.com/Koenkk/zigbee-shepherd-converters/commit/574eb585edc148547630774159f52bfffac75a1b

@JLFN thanks, will close this.


[turborepo] Error while trying to run script with filter when filter eliminates all possible workspaces

What version of Turborepo are you using?
1.8.2
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
In my project, if I'm sitting in the main branch with a clean working copy and I try to run:
turbo --filter "[main]" lint

I get the following output
• Packages in scope:
• Running lint in 0 packages
• Remote caching disabled

No tasks were executed as part of this run.

 Tasks:    0 successful, 0 total
Cached:    0 cached, 0 total
  Time:    66ms

However, if I make a modification to a file in my monorepo's root that is not inside a specific package, and is not an input to any package, such as .gitignore, then I get the following output:
 ERROR  run failed: error preparing engine: Could not find the following tasks in project: lint
Turbo error: error preparing engine: Could not find the following tasks in project: lint

Expected Behavior
I should not be getting this error, and turbo should instead simply run no tasks.
To Reproduce
In a monorepo with turborepo, checkout main/master with a clean working copy, then modify the project's .gitignore and try running turbo --filter "[{branch}]" {script} where {branch} is your main/master branch and {script} is any script configured in the turbo.json pipelines.
I just tested and this can be replicated using the starter monorepo created via npx create-turbo@latest
Reproduction Repo
No response

Hey @trappar, this should be fixed in 1.8.2 (released today)!

Oops, sorry I was mistaken in the bug report. I'm actually already on 1.8.2, and it's still occurring. I'll update my original issue to reflect that.

@tknickman could you please reopen? 😅

Ah, my fault @trappar, sorry about that. We'll take a look.

similar issue, using 1.8.2

I am experiencing this issue as well. Thanks for taking a look!

Thanks for the reporting @trappar and @tkstang! I was able to reproduce and the fix issue in #3951. We should hopefully get a new patch release out shortly! The explanation for the bug is essentially the same as in https://github.com/vercel/turbo/issues/3896#issuecomment-1439193366. Apologies for the inconvenience!

Just an update: we released 1.8.3 with the fix: https://github.com/vercel/turbo/releases/tag/v1.8.3

I just created a new project and quick search on a similar error brought me here.
run failed: error preparing engine: Could not find the following tasks in project: hello
Turbo error: error preparing engine: Could not find the following tasks in project: hello

according to the docs, Understanding turbo.json the expected error is:
task `hello` not found in turbo `pipeline` in "turbo.json".
Are you sure you added it?

dev, lint and `build commands are working as expected.
v: 1.8.3

@Tittoh good catch. Could you file a new issue to update the docs? If you don’t get to it I’ll make a note to do this on Monday! The error message did indeed change

@arantespp //#lint is how to address that root task.

It's working now! It didn't work if I updated manually (yarn add -DW turbo), but it worked when I updated via codemod (npx @turbo/codemod update).

This issue can be resolved by downgrading the version to 1.10.4.
It's not an ideal solution.

I'm seeing this issue as well
yarn lint - works
turbo run link - works
but when either task is run via lint-staged i get:
✖ turbo run lint:
 ERROR  run failed: error preparing engine: Could not find the following tasks in project: _path_to_repo_/.lintstagedrc.js, _path_to_repo/apps/cms/src/globals/Seo.ts, _path_to_repo/apps/cms/src/seed.ts, _path_to_repo/apps/cms/src/singles/About.ts, _path_to_repo/apps/cms/src/singles/Home.ts, _path_to_repo/apps/web/src/app/page.tsx, _path_to_repo/packages/config/eslint/react-internal.js, _path_to_repo/packages/ui/index.tsx

repo: https://github.com/magicspon/next-payloadcms-mono

@magicspon since this is already closed a long time ago, can you please open a new issue (thanks for the repro!)

@mehulkar done ->  https://github.com/vercel/turbo/issues/6358


Create 'security' resource

The security command is the command line interface to keychains and Security framework.
Installing certificates via a new resource is helpful. Currently this can only be done via an execute block with the following:
security import ./somecert.p12 -P secretPassword
There are several other features that the security command is capable of and can be seen in the following documentation

Fixed in release/1.7


Be more strict about capping the number of operations on table_mutable.

This would have caught the mutating-immutable-fields bug in forest_fuzz immediately.

Is the idea that remove() technically counts as a "new value"?

Yes, it inserts a tombstone which is stored in table_mutable.values, so it has to be counted against the max size of that hashmap.

bors r+


Source location hover in CALLSTACK view shows bogus path for internal modules

VSCode Version: 1.8.0 Insiders

The source path starts with the (internal) variable reference used in the debug protocol:

We should find a better path root for this.
Ideally we should use a 'magic world' that could be used in the 'Just my code' feature to filter those modules (see https://github.com/Microsoft/vscode/issues/16918).
But the VS Code frontend should not hardcode this.

@weinand so how do you propose that this magic word is contributed to vscode? Should I come from the source request?
What should ideally appear on the hover? internal_module/module.js?

@weinand
Finally, Thanks.
I've opened a bug about this before: https://github.com/Microsoft/vscode/issues/17301
but couldn't reproduce.
This happens all the time when stepping in.

@isidorn the frontend should not have to know anything about this case. So the 'magic word' would be introduced by the backend (debug adapter) and for the debugger UI it would just appear as a regular  path segment.

@weinand the frontend currently simply takes the fs path for each uri in the callstack. For internal modules this uri is fake and looks something like 'debug://internal/1056/module.js' so the fs path is 1056/module.js, namely the reference and the name.
Different internal modules need to have different uris so we decided in the past to include the reference when generting this fake uri.
Instead of using a fsPath for internal modules the frontend could use anything coming from the adapter. Should we add something to the protocol or is there already something we can use?

It seems like the UI should only show module.js even if it uses the reference as a unique ID internally. Why do we need a magic word instead of only showing module.js?

We will continue to show only module.js in the CALLSTACK. But on hover we currently show the full path and the frontend manufactures a (fake) path by using the source ID. This is wrong.
Instead of doing this we should show something that makes clear that module.js is not a file the user will find in his workspace, but is an internal module.
If we do not want to extend the debug protocol, we could manufacture a 'better' fake path that says something like "core_modules/module.js". This would be shown on hover and we could use the core_modules in skipFiles glob patterns as well, e.g. "core_modules/**/*.js". This would be a nice consistent story.
Alternatively we could introduce some optional information attribute on the Source debug type and communicate 'internal core module' from the debug adapter to the hover. For skipFiles we would have to invent a corresponding mechanism so that the user could configure to skip internal core modules.

As usual, I prefer the more pragmatic approach, the first one you proposed - manufacture a 'better' fake path.
Though I do not have strong feeling and the alternative approach would also work for me here.

$/module.js, %/module.js, &/module.js? A symbol is simple but might not be clear what it means. <node_internals>/module.js

@isidorn as a first step towards a solution I suggest that we try to remove the path magic in the debugger UI.

When the debug adapter returns a source object without a path, the UI manufactures a path from the sourceReference of the form /1000/module.js. Since sourceReference is an implementation detail of the debug adapter, it does not make sense to surface it to the user.-> I suggest to use the value of the name attribute for the hover if path is missing.
When I return a source object with a path attribute <node_internals>/module.js it shows up in the UI as /<node_internals>/module.js-> I suggest to show the path as is, without any modification.
If I click on a stackframe with a <node_internals>/module.js path, the debugger UI tries to open the path in the editor. This fails which is ok because the debug spec says: "It is not guaranteed that the source exists at this location". However, the UI should not show this as an error if a sourceReference is provided.-> I suggest that you try to load the source via the sourceReference if the load via the path fails.

@isidorn do you see any issues with this approach?

@weinand thanks for the suggestion, however there are limitations to what we can customise in how our workbench is display a uri.
First thing we need to consider is what internal URI representation does an internal module have. Every resource in the workbench needs to have a unique uri. Once we know that everything flows automtically from there. Currently this uri for internal modules lookes like debug://internal/1002/module.js
As for the last point I agree that it always makes sense to give priority to the source reference and this is fully in our control.

@isidorn You can continue to use your current URI representation for internal modules (as long as you are not persisting soureReferences across sessions because that would be a violation of the protocol spec).
My proposal from above only talks about what the user should see, not how this is implemented.

@isidorn I've delivered feature #16918 for node-debug. Since this change will return a <node_internals>/module.js path for internal modules it will result in the errors explained above in my comment https://github.com/Microsoft/vscode/issues/16913#issuecomment-270666642

@weinand I tried out your change with my latest changes and it looks good.
We need to update the documentation as previously we would "declare" something an internal module if it does not have a path. Now this has changed, something is an internal module if it has sourceReference > 0 which makes sense IMHO

@isidorn perfect timing!
Yes, I've updated the protocol spec already (but need to push the change).

@weinand great 😉

@isidorn the protocol spec never talked about 'internal modules'. It only alluded that the content of a source is loaded either via a path or a sourceReference (but left unspecified what happens if both are given).
I tried to make this more precise by tweaking the comments for path and sourceReference:

path: "The path of the source to be shown in the UI. It is only used to locate and load the content of the source if no sourceReference is specified (or its vaule is 0)."
sourceReference: "If sourceReference > 0 the contents of the source must be retrieved through the SourceRequest (even if a path is specified). A sourceReference is only valid for a session, so it must not be used to persist a source."

Looks good to me


Question regarding: sc.rank_genes_groups()

When I run sc.rank_genes_groups() on my gene expression data, I do get separate matrices for names, scores, pvals, and pvals_adj. However, the scores don't match the pvals. In other words, with decreasing pvals, we don't always have increasing score. I did check out the description on the main documentations page, and they say they're calculating the zscores underlying the distribution, however if that's the case shouldn't it always be higher with decreasing pval? Also, I went through the code: it looks like they're calculating the scores on the absolute values instead of the real values--why is this? Are the scores basically U1 values corresponding to the pvalues, in whcih case once again lower pvalues should always have higher scores right?
ares calculated from the p-values? What'e the relation between the two.
I have ran sc.rank_genes_groups() on my gene expression data, and I have generated the matrix for cluster-1 versus the rest, for reference. You can see that one, the pavlues don't increase as we go down the rows; and two, the scores seem kinda arbitrary to the p-values. What am I missing here? Thanks a lot, and sorry for the wordy question.
ClusterOneVsRest.csv

hey @suryadipto , you mean sc.tl.rank_genes_groups ? if so, this is an issue for scanpy, please open this issue there