Problem with HA Supervisor 2022.08.03

Describe the issue you are experiencing
22-08-10 21:02:04 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon RaspberryMatic CCU is unhealthy, restarting...
After some minutes since supervisor update, looping restart of raspimatic addon.
Describe the behavior you expected
No restart.
Steps to reproduce the issue

...
What is the version this bug report is based on?
<IP_ADDRESS>20723
Which base platform are you running?
ha-addon (HomeAssistant Add-on)
Which HomeMatic/homematicIP radio module are you using?
n/a
Anything in the logs that might be useful for us?
22-08-10 21:02:04 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon RaspberryMatic CCU is unhealthy, restarting...

Additional information
No raspimatic update, just a supervisor update from 2022.07.xx to 2022.08.03.

It seems the HA developers have enabled their docker environment to respect docker-based health checks starting with supervisor 2022.07.1 (see https://github.com/home-assistant/supervisor/pull/3725). And as the RaspberryMatic docker container in fact comes with a health check definition which seems to become unhealthy HA is immediately restarting the RaspberryMatic docker container.
Thus, we need to identify the root cause why the health check does not seem to work in case of HomeAssistant and correct that for the next release.

Same problem here with HA Supervisor 2022.08.03. Contant reboots and error messages about missing devices. It seems that it cannot find any HM-RF devices.

BTW: see here for the Docker healthcheck statement which seem to return false for some reason:
https://github.com/jens-maus/RaspberryMatic/blob/64e4ae409e635aaa5e81e52a314c0e69da977c1c/buildroot-external/board/oci/Dockerfile#L21-L22
Thus, as can be seen the healthcheck is fully based on asking monit if all enabled services are correctly started and if not the healthcheck is returning false and HA seems to start the docker container then.

Can someone (@ProfDrYoMan or @Baxxy13) please try to reproduce if this issue even happens in a clean RaspberryMatic CCU add-on installation within HomeAssistant?

I may be able to test that later today. Strangely, I had left the add-in shutdown overnight and I started it up about an hour ago. It started fine and detected all HM-RF along with HM-IP devices. It's still running and I'll keep an eye on it.
The problem started immediately after updating the supervisor yesterday, as I got an alert from HA that it had lost the connection to RaspberryMatic. The RM dashboard was giving alerts that some devices were missing (all the HM-RF devices) so I guess that was the reason that the healthcheck was failing?
I'm using the HB-RF-ETH board with firmware 1.3 and the RPI-RF-MOD module.

It’s not an issue on the Raspimatic side.
Disable the watchdog on the addon page of Raspimatic in HA and it just keeps working.

I thought I had done that last night and it made no difference, but I could be wrong as it was late. It's still working now, but that doesn't explain why it could not find my HM-RF devices.
I don't have many, so perhaps I should just get rid of them given their age.

My one and only old HM-RF device is working and updating sensor data.
That

helped me for now, although it should not be a permanent fix.
Log output of the add-on:
Mounting /data as /usr/local (Home Assistant Add-On): OK
Identifying host system: oci, OK
Initializing RTC Clock: onboard, OK
Running sysctl: OK
Checking for Factory Reset: not required
Checking for Backup Restore: not required
Initializing System: OK
Starting logging: OK
Init onboard LEDs: init, OK
Starting irqbalance: OK
Starting iptables: OK
Starting network: eth0: link up, fixed, firewall, inet up, <IP_ADDRESS>, OK
Identifying Homematic RF-Hardware: ....HmRF: HM-MOD-RPI-PCB/HB-RF-USB@usb-0000:00:1d.0-2, HmIP: HM-MOD-RPI-PCB/HB-RF-USB@usb-0000:00:1d.0-2, OK
Updating Homematic RF-Hardware: HM-MOD-RPI-PCB: 2.8.6, not necessary, OK
Starting hs485dLoader: disabled
Starting xinetd: OK
Starting eq3configd: OK
Starting lighttpd: OK
Starting ser2net: disabled
Starting ssdpd: OK
Starting sshd: OK
Starting ha-proxy: OK
Starting NUT services: disabled
Initializing Third-Party Addons: OK
Starting LGWFirmwareUpdate: ...OK
Setting LAN Gateway keys: OK
Starting hs485d: disabled
Starting multimacd: .OK
Starting rfd: .OK
Starting HMIPServer: .........OK
Starting ReGaHss: .OK
Starting CloudMatic: OK
Starting Third-Party Addons: OK
Starting crond: OK
Setup onboard LEDs: booted, OK
Finished Boot: <IP_ADDRESS>20723 (raspmatic_oci_amd64)

I had the same problem.
After supervisor update to 2022.08.03 always connection aborts. Raspberrymatic always restarted.
Then I deactivated the watchdog.  The system did not restart anymore.
Since a few hours I have enabled the watchdog again and the system runs stable again.
My system is running on a PI 4 with HmIP-RFUSB

Good to read that disabling the HA watchdog seems to workaround this new issue. However, some investigation seems to be necessary why monit seems to come into a state that it reports false to the monit report down command returns != 0 meaning that some service is down, thus HA decides to restart the container.

I actually cannot reproduce this problem in my 3 Testsystems.
2x Homeassistant-OS as VM on Proxmox
1x Homeassistant-OS on Pi4B
All with RaspberryMatic AddOn (but only actual Nightly's on the VM's and latest stable + nightly on Pi4B).
All Systems:
Home Assistant 2022.8.2
Supervisor 2022.08.3
Operating System 8.4
Frontend 20220802.0 - latest

Are you sure the problem depends on "Supervisor 2022.08.3" or maybe "Homeassistant Core 2022.8.3" which i havn't installed yet?

Update for Core 2022.08.03 was installed on my side one day before Supervisor 2022.08.03.
The issue started after the supervisor restarted all the dockers. There was also an issue with MariaDB for recorder that needed a restart, but worked flawless afterwards. Raspimatic got restarted all 3 to 5 min.

Hmm, i've updated The Pi4B...
Home Assistant 2022.8.3
Supervisor 2022.08.3
Operating System 8.4
Frontend 20220802.0 - latest

Neither the nightly nor the stable RM-HA-AddOn shows problems with "Watchdog enabled" in the AddOn settings.
Restart of the AddOn / HA / Host also shows no problems.

Stopped addon, enabled watchdog, started addon, after 3 min watchdog hit with log message above. Nothing else in any logs that might help.
20220723 Raspimatic
2022.8.3 core
2022.08.3 supervisor
8.4 os
20220802.0 fronted
Proxmox latest on 64 Bit i5 with zfs ssd.

@ProfDrYoMan Please start the addon with watchdog disabled, then login via ssh an execute monit report down. Then report the output of it.

I have the same issue. Disabling watchdog helps.
@jens-maus I tried your command, but I was not quite sure how to access raspberrymatic via ssh. So I went via Terminal Add-on, then docker exec. This is what I get:
➜  ~ docker exec -it 8a6d0d3b5d4d /bin/sh
/ #
/ # whoami                                                                                │
root
/ # monit report down                                                                                │
/etc/monitrc:373: Cannot include file '/usr/local/etc/monit-redmatic.cfg' -- No such file or directory '/usr/local/etc/monit*.cfg'

Not sure not if that  is due to the way I get a shell ... if there is more specific advice on how to do this again let me know.

This is already quite fine and seems to show one reason why the watchdog might fail. In your case its because the redmatic uninstall routines did not remove the /usr/local/etc/monit-redmatic.cfg' and left a stale link there which monit now complains about. So please remove that soft link with rm` and then retry the monit command and also re-enabling the watchdog.

➜  ~ docker exec -it 8a6d0d3b5d4 /bin/sh
/ # monit report down
/etc/monitrc:373: Cannot include file '/usr/local/etc/monit-redmatic.cfg' -- No such file or directory '/usr/local/etc/monit*.cfg'
/ # rm /usr/local/etc/monit-redmatic.cfg
/ # monit report down
0
/ #

I'll re-enable watchdog now and see what happens.
Thanks.

I can look into that earliest Sunday, sorry, but will do.

My problem was also caused by /usr/local/etc/monit-redmatic.cfg. Thanks @jens-maus

kann mir jemand helfen die datei zu löschen ich kenn mich mit ssh nicht aus!
was muss ich eingeben im ssh terminal ?

root@de838cd8-raspberrymatic:~# monit report down
/etc/monitrc:373: Cannot include file '/usr/local/etc/monit-redmatic.cfg' -- No such file or directory '/usr/local/etc/monit*.cfg'
Fun part: My config is ages old and in the very beginning running on some raspi I tried (and abandoned) redmatic.
root@de838cd8-raspberrymatic:/usr/local/etc# ls -la  monit*
lrwxrwxrwx    1 root     root            40 Oct 11  2019 monit-redmatic.cfg -> /usr/local/addons/redmatic/etc/monit.cfg
root@de838cd8-raspberrymatic:/usr/local/etc# rm monit-redmatic.cfg
root@de838cd8-raspberrymatic:/usr/local/etc# monit report down
0
Tried with watchdog enabled again. Success.
@jens-maus, you might implement some auto-cleanup for dangling symlinks here.
Feel free to close.

@jens-maus, you might implement some auto-cleanup for dangling symlinks here.

Well, usually this issue should be better solved / rectified in the RedMatic project itself, but as that project seem to have stalled to some extend and I haven't has contact to @hobbyquaker for a long time I will see if I can add a workaround for such a situation somewhere in the RaspberryMatic startup processes...

This issue should now be solved via 34a0fd4fb4a0105915fdd8bd12e263c82d11e542


A raven client "ignore_environment" parameter

The same way the Client parameter ignore_exceptions ignores exceptions, it would be great to have a ignore_environments parameter that ignores everything. It would make it easier to use sentry in development or test environments, where we usually do not want it to report anything.
env = "*******"
dsn = "*************"
try:
    1/0
except:
    raven.Client(dns=dsn, ignore_environments=["dev", "tests"], environment=env)

What do you think?

For raven 7.0 I'll be introducing disabling the client by passing None as dsn value.


Proper CTAN mirror selection

When installing the latest TL, one of the CTAN mirrors is automatically selected and used, which can cause problems immediately after a new version of TL is released (see #248). So, it is desirable to have some workaround in place before the next version release.

I am currently considering incorporating @muzimuzhi's idea:

I think the delay between release and sync is the crux of this issue, but I have no idea of an effective workaround for it.

CTAN has a master host (https://ctan.org/mirrors, right column) and every mirror is set to sync with it.  Perhaps in the first few days of a new texlive release, the master host can be used as a fallback, if the auto chosen CTAN mirror is not in sync yet.
Originally posted by @muzimuzhi in https://github.com/teatimeguest/setup-texlive-action/issues/248#issuecomment-1478937971

If CTAN can be queried to tell ages of each mirror, things will be easier and more flexible I think.
Originally posted by @muzimuzhi in https://github.com/teatimeguest/setup-texlive-action/issues/248#issuecomment-1487379739

Data can be retrieved from this page, but no API seems to be provided.

If CTAN can be queried to tell ages of each mirror, things will be easier and more flexible I think.
Originally posted by @muzimuzhi in #248 (comment)

Data can be retrieved from this page, but no API seems to be provided.

Contact CTAN?

No. The public APIs are listed on this page and no such functionality is described. It is not known if there is a private API, but this seems unlikely as the monitoring page is statically generated by mirmon.

Another aspect: it's better to stick to a specific CTAN mirror once automatically redirected at the first time (when downloading install-tl.zip or install-tl-unx.tar.gz).  I'm not sure if the redirected url is retrievable.
Once retrieved, the setting part is feasible.  install-tl has a -repository url|path option and tlmgr can be configured by tlmgr option repository url.
Using this way, at least one won't encounter the problem that when installing TeX Live itself and installing packages, two different mirrors providing different TeX Live versions are redirected.

In preparation for TeX Live 2024, I have made some improvements in v3.0.2. The current behavior is as follows:

First, the action will always try to setup with a mirror.

Fallback to master in the following cases:

Unable to download install-tl.
Unable to load texlive.tlpdb.
install-tl and texlive.tlpdb versions are inconsistent.

Such fallbacks are likely to occur frequently in the first few days after the release, but should have little impact on CI execution time.

I monitored several mirrors and websites for TL2024. Below are the records, all times are in UTC:
2024-03-13

16:40 – TL2023 appears on tug.org/historic (historic master).

I did not check if it was in usable state, but at least install-tl-unx.tar.gz was there.

17:37 – TL2024 is released on dante.ctan.org (master).

18:25 – tlpretest is removed from ftp.math.utah.edu.

Now removed from all mirrors.

19:53 – Some mirrors have been upgraded to TL2024.

In particular, mirror.math.princeton.edu was synchronized quickly, so it was changed to be used instead of master as a fallback and v3.2.0 was released.

22:18 – The homepage is updated.

22:20 – ctan.math.utah.edu is upgraded.

2024-03-14

03:10 – TL2023 appears on ftp.math.utah.edu.

Now synced to all mirrors.

06:36 – CTAN is updated.

CTAN checks the mirrors each hour. I also have issues with mirrors, but I wonder why.
Here the status page: https://ctan.org/mirrors/mirmon

There is another approach to list active TeXlive mirrors. The resulting json is available at https://zauguin.github.io/texlive-mirrors/mirrors.json.
Beginning of the list:

  "North America": {
    "Costa Rica": {
      "https://mirrors.ucr.ac.cr/CTAN/systems/texlive/tlnet/": {
        "status": "Alive",
        "texlive_version": 2024,
        "revision": 70877
      }
    },
    "USA": {
      "https://us.mirrors.cicku.me/ctan/systems/texlive/tlnet/": {
        "status": "Alive",
        "texlive_version": 2024,
        "revision": 70884
      },

It is updated regularly via following workflow: https://github.com/zauguin/texlive-mirrors/blob/trunk/.github/workflows/pages.yaml
The source for https://github.com/zauguin/texlive-mirrors/pkgs/container/get-tl-mirror-status is available at https://github.com/zauguin/texlive-mirrors/tree/get-tl-mirror-status.

Maybe, this information can be used in this script, too?
Example code to use the data to select a good mirror is provided at https://github.com/zauguin/install-texlive/blob/085918ba6384a0243a7c785c1d42641a66c5c229/src/main.ts#L112.

@koppor Thanks for sharing the info!

There is another approach to list active TeXlive mirrors. The resulting json is available at https://zauguin.github.io/texlive-mirrors/mirrors.json.

I did not know this. I will consider using it for repository selection.

By the way, I found that the raw mirmon data is available at rsync://dante.ctan.org/MirMon/mirmon.state (sample here), but for some reasons it is not used in this action at the moment. I am also considering integrating this in the future.

@teatimeguest Thank you for sharing the links. I am thinking of rebuilding the mirrormon page using the json file. Mirrormon itself is unmaintained - and I like that the JSON contains the TeXLive revision (what mirrormon does not. Which could lead to package downgrades in some situation).

Hi guys,
It wasn't necessary to guess who gets the updates and when. You could have asked CTAN directly. I wasn't aware there was a problem with the TeXlive release. The Updates of the mirrors can be added to the mirroring script. This would still need a polling mechanism, but it could run more frequently than the rsyncs of individual mirrors. CTAN doesn't have direct control over their frequency.


https routes

How can the routes be served over https?

You can change the app url inside your .env file
APP_URL=https://example.com

Got it working now. Thank you!

Thanks @the94air for helping


Fix for issue #3055.

Contains
This is a fix for issue #3055.
How to Test
The fix may be tested using the following steps:

Enter a world in Terasology.
Increase the view distance by pressing the appropriate key binding (by default the "home" key).
A message should pop up in the chat window stating that the view distance has been increased.
Continue to increase the view distance until it reaches the "Mega" setting.
A warning message should pop up in the chat window regarding possible performance issues.
Increase the viewing distance to the "Extreme" setting.
Another warning message regarding possible performance issues should appear.
Decrease the view distance by pressing the appropriate key binding (by default the "end" key).
If all tests pass, the change should be safe to merge.

Can one of the admins please verify this patch?

Hi @floppypanda and thanks! :-)
Will submit a review momentarily, need to trigger our build bot in a normal comment:
@GooeyHub ok to test

Hooray Jenkins reported success with all tests good!

Screenie for the internationalization text:

Hooray Jenkins reported success with all tests good!

I have made changes which update the Javadoc entity parameter descriptions, log view distance changes before they are applied, and translate the view distance strings. I originally decided to have the fireChangeEvent method take a list of entities instead of a single entity in anticipation of other methods within the DebugControlSystem needing to send notifications to multiple entities in the future. The case that I had in mind was debugging a server instance in which we would like to confirm that a parameter change is picked up by the server's clients. If you believe that passing a single entity would be more appropriate, I would be happy to oblige.

Thanks for the changes!
Good thought on the list of entities that way, if there were other users. You got me looking at the class a bit more which made me realize that I have no idea what the view distance changing events are doing in there in the first place - they don't require debug mode (F3) enabled at all. Maybe an oversight from the past. I've submitted separate issue #3141 for that to get some attention. Can also try to determine if we really need that utility method or not via that issue :-)
Merged this and added you to the credits! Feel free to jump on the new issue if interested since you've already worked in that class, or find anything else that looks interesting


When the app is closed, the notification does not disappear.

Hello. When I click clear all button in the recent task view, the foreground task service notification still exists. Could you provide a solution to turn off the front desk service and its notifications when onDetachedFromActivity?

I tried using AppLifecycleListener, calling foreground.stop () in onDetach, but it seems too late. The notification is not successfully shut down before the flutter engine is shut down

hello, @little-alei
Do you want the service to stop when the app is closed? If so, try setting the stopWithTask option as shown below:
<service
    android:name="com.pravera.flutter_foreground_task.service.ForegroundService"
    android:foregroundServiceType="dataSync"
    android:stopWithTask="true"
    android:exported="false" />

hello, @little-alei
Do you want the service to stop when the app is closed? If so, try setting the stopWithTask option as shown below:
<service
    android:name="com.pravera.flutter_foreground_task.service.ForegroundService"
    android:foregroundServiceType="dataSync"
    android:stopWithTask="true"
    android:exported="false" />

Thank you very much. It works well


Possible bug when using Get-TeamChannelUser with a -DisplayName that includes a hyphen

When attempting to automate the populating of our Teams channels, it was discovered that if the -DisplayName includes a hyphen in it, PowerShell encounters an error (see attached image). We tested the same script on numerous other Teams channels, the only ones coming back with this error were the ones with hyphens in the display name

.

@dariomws

Hi @eleighty, thank you for your feedback.
I confirm this error. I want to check if this cmdlet is still in preview, please check the note in the description. I'll try to confirm it.

Afternoon Dario!
Thank you for looking into this, yes, it is a part of the Public Preview for Microsoft Teams.
From: Dario Woitasen @.>
Sent: Wednesday, March 9, 2022 1:31 PM
To: MicrosoftDocs/office-docs-powershell @.>
Cc: Emma Leighty @.>; Mention @.>
Subject: Re: [MicrosoftDocs/office-docs-powershell] Possible bug when using Get-TeamChannelUser with a -DisplayName that includes a hyphen (Issue #8981)
STOP. THINK. VERIFY.
This email was received from an external source that may or may not be trustworthy. Stop, think, and verify the source of the message before you click links, open attachments, or respond. If you believe this may be an email phishing attempt, please report it by using the Report Phishing button in Outlook or by forwarding this email to<EMAIL_ADDRESS>Hi @eleightyhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feleighty&data=04|01|leighty_emma%40salkeiz.k12.or.us|3468b61fde524df4d20f08da02141452|4576c5d9511647a380c9cc3eee950210|0|0|637824582524744315|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=E%2FDhweOWaYbkAVPLCsCX1fCMZ%2FQ7sZQzs7iCfcl22t0%3D&reserved=0, thank you for your feedback.
I confirm this error. I want to check if this cmdlet is still in preview, please check the note in the description. I'll try to confirm it.

Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Foffice-docs-powershell%2Fissues%2F8981%23issuecomment-1063391302&data=04|01|leighty_emma%40salkeiz.k12.or.us|3468b61fde524df4d20f08da02141452|4576c5d9511647a380c9cc3eee950210|0|0|637824582524744315|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=1rQkImAsQkSmK98xKEZlZz%2F5xSyA3z%2BEQEw5qserqNo%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXTSCXSY4AVU3GCH7APGRRTU7EKARANCNFSM5OYXNAFA&data=04|01|leighty_emma%40salkeiz.k12.or.us|3468b61fde524df4d20f08da02141452|4576c5d9511647a380c9cc3eee950210|0|0|637824582524744315|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=EXkhjnw7D0EBQQA1PPfcgahQ0B2txFqDoxRa0%2FP98jM%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|leighty_emma%40salkeiz.k12.or.us|3468b61fde524df4d20f08da02141452|4576c5d9511647a380c9cc3eee950210|0|0|637824582524744315|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=ypa8ofafw9HXUVP%2BcWl32xv7M6A8RWzbFYvf4BYejCY%3D&reserved=0 or Androidhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|leighty_emma%40salkeiz.k12.or.us|3468b61fde524df4d20f08da02141452|4576c5d9511647a380c9cc3eee950210|0|0|637824582524744315|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=J6KVQG2ucKCWH823T9E1JoqMwMbYbunXPHt9NYZ%2Bh%2Bc%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@dariomws

@eleighty @yogkumgit, I'm waiting for confirmation here. Sorry for the delay.

@dariomws thanks for the update!

@dariomws

@pbafna03 @dariomws Kindly address this issue. Thanks

@dariomws Please comment. Thanks

@yogkumgit, this was fixed in a previous release. We can close this issue.


Addition of a flag to exclude some source from the crons

This PR adds a new flag to the server to exclude certain sources from the list of benchmarks we execute in the cron. "cron_tags_14.0.0-rc1" is removed as it does not build due to incorrect flags.

I think along the same line,
we should benchmark only major version and last minor version and ignore anything in between


Edit links on the pages

Is your feature request related to a problem? Please describe.
I would like to be able to easily edit pages.
Describe the solution you'd like
An edit link, perhaps in the form of a pencil icon, to the right of the page header, that takes me to the source document in the repository this page was generated from in edit mode: https://github.com/<user>/<repo>/edit/master/<source>

Great suggestion. I’ll get it in the next release.

This enhancement is implemented in PR #217, which is already merged into the next minor release.


Replace event-stream by through2

event-stream, one of the dependencies of the package, have been backdoored (see https://github.com/dominictarr/event-stream/issues/115).
To avoid potential issues, I would recommend using a smaller package that does just what's needed, like
through or, as proposed in this PR through2. Both are imho valid choices, I just chose through2 because it has a higher download count on npm and its latest update is more recent.

@louis-bompart
Thanks for your PR!
But It seems that your PR causes errors as follows 😢
events.js:183
      throw er; // Unhandled 'error' event
      ^

TypeError: Invalid non-string/buffer chunk
    at validChunk (/Users/hoshino/src/github.com/louis-bompart/gulp-nightwatch/node_modules/readable-stream/lib/_stream_writable.js:304:10)
    at DestroyableTransform.Writable.write (/Users/hoshino/src/github.com/louis-bompart/gulp-nightwatch/node_modules/readable-stream/lib/_stream_writable.js:332:62)
    at write (/Users/hoshino/src/github.com/louis-bompart/gulp-nightwatch/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:623:24)
    at flow (/Users/hoshino/src/github.com/louis-bompart/gulp-nightwatch/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:632:7)
    at DestroyableTransform.pipeOnReadable (/Users/hoshino/src/github.com/louis-bompart/gulp-nightwatch/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:664:5)
    at emitNone (events.js:106:13)
    at DestroyableTransform.emit (events.js:208:7)
    at emitReadable_ (/Users/hoshino/src/github.com/louis-bompart/gulp-nightwatch/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:448:10)
    at emitReadable (/Users/hoshino/src/github.com/louis-bompart/gulp-nightwatch/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:444:5)
    at readableAddChunk (/Users/hoshino/src/github.com/louis-bompart/gulp-nightwatch/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:187:9)


Added Background shell command action

Coverage decreased (-0.02%) to 99.714% when pulling 59932e8dc2fdfa7f11532291c7c1083714a99a9e on davidbrochart:background_process into 62335b05473193303d6ecb5524d65bf1a5a50d7e on pydoit:master.

Thanks. but for such a trivial implementation I dont think it is worth adding this to doit core.


New release

HI @beepsoft  - please build a new react component when you can.
The crate component has had a bit of work done to it:
https://github.com/describo/crate-builder-component/releases/tag/v0.49.4
https://github.com/describo/crate-builder-component/releases/tag/v0.48.0
https://github.com/describo/crate-builder-component/releases/tag/v0.47.0

New release is based on 0.53.0 https://github.com/describo/crate-builder-component-react/releases/tag/0.53.0


fix(List): add block type to private list prop type

Overview

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: ABC-123
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-kit@0.6.14-alpha.a463d0.0@codecademy/gamut-labs@28.0.9-alpha.a463d0.0@codecademy/gamut@40.3.1-alpha.a463d0.0@codecademy/monaco@0.5.11-alpha.a463d0.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://618c459102d27f57bf0f280b--gamut-preview.netlify.appDeploy Logs


CASMINST-5403 update helm to 3.10.0 (latest)

Summary and Scope
update helm to support OCI registry
Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves [issue id](issue link)
Change will also be needed in <insert branch name here>
Future work required by [issue id](issue link)
Documentation changes required in [issue id](issue link)
Merge with/before/after <insert PR URL here>

Testing
Tested on:

Local development environment

Test description:
How were the changes tested and success verified? If schema changes were part of this change, how were those handled in your upgrade/downgrade testing?

Were the install/upgrade-based validation checks/tests run (goss tests/install-validation doc)?
Were continuous integration tests run? If not, why?
Was upgrade tested? If not, why?
Was downgrade tested? If not, why?
Were new tests (or test issues/Jiras) created for this change?

Risks and Mitigations
Are there known issues with these changes? Any other special considerations?
Pull Request Checklist

[ ] Version number(s) incremented, if applicable
[ ] Copyrights updated
[ ] License file intact
[ ] Target branch correct
[ ] CHANGELOG.md updated
[ ] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

~/git/work/hms-build-environment   CASMINST-5403  docker build . -t temp                                                      ✔  4968  15:02:34
[+] Building 37.0s (13/13) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.1s
 => => transferring dockerfile: 2.70kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:latest                                        1.1s
 => [1/9] FROM artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:latest@sha256:fbdaad8949511105ac229197d035d6b3d5b378014a54513c  1.1s
 => => resolve artifactory.algol60.net/csm-docker/stable/docker.io/library/alpine:latest@sha256:fbdaad8949511105ac229197d035d6b3d5b378014a54513c  0.0s
 => => sha256:ceb6b2699dbc689e62bb4530a294e5acd83bb390be0698c946318068702c0650 22.28kB / 22.28kB                                                  0.2s
 => => sha256:fbdaad8949511105ac229197d035d6b3d5b378014a54513cd6a36c60f4fe49c3 737B / 737B                                                        0.0s
 => => sha256:6c91e73b95ea010928f4f5d08e053e971d561e54746094de5f98cdb86f63952f 1.90kB / 1.90kB                                                    0.0s
 => => sha256:213ec9aee27d8be045c6a92b7eac22c9a64b44558193775a1a7f626352392b49 2.81MB / 2.81MB                                                    0.7s
 => => extracting sha256:213ec9aee27d8be045c6a92b7eac22c9a64b44558193775a1a7f626352392b49                                                         0.2s
 => => extracting sha256:ceb6b2699dbc689e62bb4530a294e5acd83bb390be0698c946318068702c0650                                                         0.1s
 => [2/9] RUN set -eux     && apk -U upgrade --no-cache     && apk add --no-cache         bash         python3         py3-pip         git       12.6s
 => [3/9] RUN set -ex     && pip3 install yamale                                                                                3.4s
 => [4/9] RUN wget -q https://dl.k8s.io/release/v1.19.15/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl     && chmod +x /usr/local/bin/kubect  9.5s
 => [5/9] RUN set -eux     && mkdir /tmp/helm     && cd /tmp/helm     && wget -q https://get.helm.sh/helm-v3.10.0-linux-amd64.tar.gz -O ./helm.t  3.2s
 => [6/9] RUN set -eux     && mkdir /tmp/ct     && cd /tmp/ct     && wget https://github.com/helm/chart-testing/releases/download/v3.4.0/chart-t  2.3s
 => [7/9] RUN set -exu     && wget https://github.com/mikefarah/yq/releases/download/v4.14.1/yq_linux_amd64 -O /usr/bin/yq     && chmod +x /usr/  2.1s
 => [8/9] RUN set -eux     && mkdir ~/.ssh     && ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts                                             0.5s
 => [9/9] WORKDIR /workspace                                                                                0.0s
 => exporting to image                                                                                0.9s
 => => exporting layers                                                                                0.9s
 => => writing image sha256:fc1b231c39dd2383d4f00331bcda15811bfbb93c4967ab442183ae7d983a6688                                                      0.0s
 => => naming to docker.io/library/temp                                                                                0.0s
 ~/git/work/hms-build-environment   CASMINST-5403 ●  docker run -it temp /bin/ash                                              ✔  4969  15:04:03
/workspace # helm version
version.BuildInfo{Version:"v3.10.0", GitCommit:"ce66412a723e4d89555dc67217607c6579ffcb21", GitTreeState:"clean", GoVersion:"go1.18.6"}


Develop upstream sync 230403

fixed cwise_ops_test for gpu: https://github.com/tensorflow/tensorflow/pull/60240

due to this new added test https://github.com/tensorflow/tensorflow/commit/df75839646bc17ef9df031efddb88b600098d4a5 and ticket is created https://github.com/ROCmSoftwarePlatform/frameworks-internal/issues/4109

retest Ubuntu-CPU please

retest Ubuntu-CPU please


Bad price returned from getPrice

Using latest version 0.6.2:
> await c.compound.getPrice('ETH', 'USDC')
3951.188255
> await c.compound.getPrice('USDC', 'ETH')
0.00025308842187778775

This makes no sense, given that ETH is currently $3255 and not $3951. It's off by a huge amount.

Never mind, it was a node issue.


Test app build on CI

Also see #942. This attempts to test all elements of the build on macOS. If this works, I will also add more caching.

Compiling wxWidgets + Erlang takes ~30 minutes, we could cache it, but this feels like too much time even for one-off uncached runs. Gonna drop it for now, and revisit once we have enough precompiled stuff and build the app on CI.

@jonatanklosko now that we have a Windows build, we could actually check this on Windows, because their build does have WxWidgets.


Added option to set names in script

Describe your Pull Request
Added option to set names in script.
Also added logging to inform user if their email is not set
Fixes # (issue)
https://github.com/whiteducksoftware/terraform-scaffold-for-azure/issues/8
Please select relevant options:

[ ] 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)

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings

Reviewer: @nmeisenzahl

@tonyeung thank you for your contribution. Do you mind moving your added variable checks (except the existing; those are not set in the .env file) below the .env source section to not break the sourcing option.

@nmeisenzahl does this work? my shell skills are novice at best, so not sure if I delivered the ask.

Hi @tonyeung I just did a full review of your contribution. I like the idea of adding further checks in case the .env file wasn't sourced or does not contain the required variables.
To be honest I don't see the added value of defining the values in multiple places in the script instead of the .env file. Can you please elaborate on this? Can you please describe your use case in more detail?

I ran the script as a test to see what it would create in a temporary VM. rather than messing with environmental variables I could do all my testing in the script itself. If you don't think its necessary that's fine. Like I said, I've already done my testing.


[Bug]: Cannot reproduce the typing example

Describe the bug
I cannot reproduce the mypyexample at the botton of this doc page.
Both detected types are Any.
Bonus: PyLance is getting mad at me for this same example.

Steps or code to reproduce the bug
import polars as pl
import narwhals as nw
from narwhals.typing import IntoDataFrameT, DataFrameT

print(nw.show_versions())

df = pl.DataFrame({"a": [1, 2, 3]})

def func(df: IntoDataFrameT) -> IntoDataFrameT:
    df = nw.from_native(df, eager_only=True)
    return nw.to_native(df.select(b=nw.col("a")))

reveal_type(func(df))

@nw.narwhalify(strict=True)
def func_2(df: DataFrameT) -> DataFrameT:
    return df.select(b=nw.col("a"))

reveal_type(func_2(df))

Expected results
$ mypy f.py
f.py:11: note: Revealed type is "polars.dataframe.frame.DataFrame"
f.py:17: note: Revealed type is "Any"
Success: no issues found in 1 source file

Actual results
vscode ➜ /workspaces/dfutils (main) $ mypy scripts/test.py
scripts/test.py:14: note: Revealed type is "Any"
scripts/test.py:22: note: Revealed type is "Any"
Success: no issues found in 1 source file

Please run narwhals.show_version() and enter the output below.
System:
    python: 3.12.4 (main, Jul 10 2024, 19:05:59) [GCC 10.2.1 20210110]
executable: /usr/local/bin/python
   machine: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.31

Python dependencies:
     narwhals: 1.17.0
       pandas: 2.2.3
       polars: 1.17.0

     cudf:
    modin:
  pyarrow: 18.1.0
    numpy: 2.2.0

### Relevant log output

_No response_

thanks @paulduf for the report
we should change the example to show:
import polars as pl
import narwhals as nw
from narwhals.typing import IntoDataFrameT, DataFrameT

df = pl.DataFrame({"a": [1, 2, 3]})

def func(df_native: IntoDataFrameT) -> IntoDataFrameT:
    df = nw.from_native(df_native, eager_only=True)
    return df.select(b=nw.col("a")).to_native()

reveal_type(func(df))

For me, it then shows:
t.py:13: note: Revealed type is "polars.dataframe.frame.DataFrame"

A PR to fix this would be super-welcome if anyone fancies it 🙏

I'm style getting scripts/test.py:14: note: Revealed type is "Any" with this code.

I just tried it out in a Kaggle notebook and it works fine: https://www.kaggle.com/code/marcogorelli/narwhals-typing/
t.py:14: note: Revealed type is "polars.dataframe.frame.DataFrame"
Success: no issues found in 1 source file

Could you please show the outputs of:

which mypy
which python

?
Thanks


improve version command

I recently saw a tool that had a more extended version output.  Not helpful.

I consider this more useful again now. This is how Docker is doing it.
$ docker version
Client:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 23:26:11 2016
 OS/Arch:      darwin/amd64

Server:
 Version:      1.12.3
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   6b644ec
 Built:        Wed Oct 26 23:26:11 2016
 OS/Arch:      linux/amd64


[WIP] Creation of the files for Configuration Localization in Hindi

Localization of Configuration in Hindi
resolves #43490

/retitle [WIP] Creation of the files for Configuration Localization in Hindi
Converting this Work in Progress. Feel free to change the title (i.e. remove [WIP]) once the PR is ready for review.

Hello @dipesh-rawat Can you please help me why I am getting these Checks fail

Can you please help me why I am getting these Checks fail

@Aryan-Singla I've provided suggestions in https://github.com/kubernetes/website/pull/44794#discussion_r1460698699 and https://github.com/kubernetes/website/pull/44794#discussion_r1460698887 to assist with the build errors, along with some feedback. Please check them out to see if they can help make further progress.

@dipesh-rawat Please check #44847

@dipesh-rawat Please check #44847

Thanks @dipesh-rawat now the all checks have been passed.

Hello @dipesh-rawat I have complete the Localization

@dipesh-rawat Please check is there need of improvement

Hey @dipesh-rawat Please check my comments

Hey @dipesh-rawat Please check my comments

Hey @dipesh-rawat Please check this PR is there a need for any improvement

/remove-lifecycle stale

Hi @Aryan-Singla : Please address the merge conflicts.

Hi @divya-mohan0209, I don't want to proceed with this pull request any further because the reviewers are not active. Last time, when I messaged them a lot and asked for improvements, no one replied. If they cannot provide reviews on time, they should step down from this role.


Add support for using  on schema XML comments

Currently, schema types always set the Description to match the <summary> XML comment. However, OpenApiSchema does have a Title field and in many other places, Title=<summary> and Description=<remarks>. This PR updates the schema filter to align with that. It does however, default to the current behavior if the <remarks> node is not present in the extracted comments.

hi, can you force this to master branch? I found it quite useful, but would like to use a more official nuget package other than fork my own one

Thanks for contributing - if you'd like to continue with this pull request, please rebase against the default branch to pick up our new CI.


How to select gene list

Hi Doc
ex：
gene_list=['Smarca2', 'Rbms2', 'Myo1b', 'Hba-x', 'Yipf5', 'Skap1', 'Smim1', 'Nfkb1', 'Sulf2', 'Blvrb', 'Hbb-y', 'Coro2b', 'Yipf5', 'Phc2', 'Mllt3']
loss_df, cellDancer_df=cd.velocity(cell_type_u_s,
gene_list=gene_list,
permutation_ratio=0.125,
n_jobs=8)
I don't know how to selsect gene_list for my analysis， could you give some advises？
Thanks

Hello,
Thank you for reaching out. The preprocessing example allows you to obtain the top 2000 genes. You can also specify your top n genes.
For finding genes of interest, this issue might be helpful.
Best,
Shengyu


Possibility to respond to https requests without connecting upstream servers

This enables a caching proxy for offline use, which is no problem with HTTP at the moment.
Additionally HTTPS needs the hostname to create a certificate and must suppress the handshake to upstream without a connection.
@jekh Please, let us discuss this.

UnencryptedUDTChainedProxyTest fails in Travis-CI with Java 8, but works with Java 7 and 6. It works in my environment with Java 8, too:
$ java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-1~deb8u1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
$ /usr/lib/jvm/java-8-openjdk-amd64/bin/java -version
openjdk version "1.8.0_45-internal"
OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)
$ uname -sorv
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u2 (2015-07-17) GNU/Linux

I have some reservations about this change. It's very specific to one particular use case, a caching proxy for offline use.
I do see the utility of wanting to avoid making connections to the remote server. For non-SSL connections this is already possible using the filters, but for SSL connections it isn't, because the ConnectionFlow always attempts to establish the remote connection. In the long term, I'd like to see a more flexible way of controlling connections, so that users of LittleProxy can customize the connection flow as needed.
For now, I'm not sure that checking remoteAddress.isUnresolved() is the best way to indicate that we should suppress the connection to the remote server. It's overloading the use of the remoteAddress.isUnresolved() status for an unrelated purpose. Can you think of a better way to indicate in the connection flow that we should not connect to the upstream server? Perhaps it could be integrated into one of the return values of the filters?

For what it's worth, the Betamax testing library also has this requirement, as it works on the basis of replaying recorded responses in place of contacting the target server. I may try the options mentioned in #184 to see if they have an effect. I think this is going to become more and more important as websites default to SSL.

@pledbrook You need special branches of LittleProxy and LittleProxy-mitm to enable MITM while offline. At the moment consider to use https://github.com/ganskef/LittleProxy-parent to build both.
I'm closing this PR since it's replaced with #282.


Pool's Exchange internal function does not allow Call options

https://github.com/primitivefinance/primitive-contracts/blob/8c9d4452e20aaaad44e7d5f4fe6a25e97cf12635/contracts/PrimePool.sol#L318
Description
The _exchange internal function swaps DAI to WETH. In the case that the underlying token is WETH (a call option), this assert would return false.
We need to make a special branch for call options to handle swapping DAI to ETH to WETH.

Implementation
// Swaps tokenS to tokenU
function _exchange
get tokenS
get tokenU
if tokenU is WETH we need to swap tokenS to ETH then ETH to WETH
if tokenU is DAI and tokenS is WETH we need to swap WETH to ETH then DAI

tokenU == WETH
getExchange(TokenS)
getEthToTokenInput Price which is the quantity of DAI per ETH
getMarketPrice in dai per eth
Calculate Slippage
Calculate minimum ETH received
get balance of tokenS to output
exchange tokenS for ETH
deposit ETH into WETH contract to get WETH

tokenS == WETH
getExchange(tokenU)
WETH.withdraw(balance.this)
get market price in dai per eth
get eth to token input price in dai per eth
calculate slippage
get min tokens received for selling ether
calculate out eth using the current ether balance
exchange ether into tokenU


NABirds Dataset Hierarchy

Thanks for the great work!
The hierarchy.txt given with the NABirds contains a mapping from 1010 to 555 categories. In your paper Hierarchy-based Image Embeddings for Semantic Image Retrieval, it is mentioned that 5 levels of deep hierarchy of those classes are provided with the dataset.
I was curious to know how did you structure the hierarchies in hierarchy.svg for the NAbirds dataset  https://github.com/cvjena/semantic-embeddings/blob/master/NAB-Hierarchy/hierarchy.svg??
Thanks in advance!

Thank you for your interest and positive feedback!
The file hierarchy.txt contains is-a tuples. For example, the line 1 0 means "class 1 is a sub-class of class 0". The names of the classes are provided in classes.txt.
The visualization hierarchy.svg has been created using the script plot_hierarchy.py in the root directory of this repository:
python plot_hierarchy.py --is_a \
    --hierarchy NAB-Hierarchy/hierarchy.txt \
    --class_names NAB-Hierarchy/classes.txt \
    --out NAB-Hierarchy/hierarchy.svg

Yeah, I got it. Thanks for your response!


How to let the suggestion list on the center position?

If there is any other UI aside, the portal will be tilting.
Could you let the suggestion list always be on the screen center?

@NeoLSN Thanks for reporting the issue I will take a look.

@NeoLSN Can you share the code I just tried reproducing this & everything works fine

You need to add another UI on the left or right side of the FlutterMention.

Yeah i did as you can see from the image  there are two container one on the left and another on the right which both take about 20.0 width and everything works fine on my end.

Yeah i did as you can see from the image there are two container one on the left and another on the right which both take about 20.0 width and everything works fine on my end.

Can you just do it on one side only?

@NeoLSN so what I did is I have added two new properties called leading & trailing both are List<Widget>, this should do the trick.

Also closing the issue.

@fayeed What do you mean? That's just means I can't add other UI aside FlutterMentions...

@NeoLSN and what is the real issue?

I want to add a button right on the FlutterMentions like bellow codes,
Row(
  children: [
   Flexible(FlutterMentions()),
  SendButton(),
  ]
)

But the suggestion list will be out of the screen. That's the issue.

Yeah, and you can do that using the trailing widget.

OK, I see.

Also before commenting on implementation as just a "trick", please take a look at it and try using it.

Also before commenting on implementation as just a "trick", please take a look at it and try using it.

Yeah, I apologize about this.


Create views for Doctor's dashboard

Create views for Doctor's dashboard. @BrianHHough is taking care of mocks ups.


Side 980 whisper ldk new list whisper type

Go LDK

Fixed panic if *proto.session was nil pointer. NewSessionFromProto now returns an error and is handled gracefully in the service servers.
Added new whisper type

Node LDK

[ ] Add new whisper type "list".

C# LDK

[ ] Add new whisper type "list".

This last round of commits fixed not being able to identify the list element type once it was marshaled. I added custom MarshalJSON methods for each element type that add a "type" field to the JSON. Also added a test to ensure this is working in the future.
This issue also exists with the form whisper type. So I am going to fix it now, improve the whisper-form example to include all types, and add some test for marshaling that type.

[ ] Need to apply these recent changes to the Go LDK over to the Node LDK.

@richseviora You mentioned that you were willing to take on the C# implementation here. Do you want to do that as part of this PR, or would you rather handle it separately?

Rich and I talked and he graciously offered to take over the C# portion of this. So this PR will be on hold until that work is complete.


Using openssl to send request to TSA Server failed

I use command:
openssl dgst -sha256 -binary document.txt > document.hash
openssl ts -query -data document.hash -sha256 -out request.tsq
curl -X POST --data-binary @request.tsq http://localhost:8080 -o response.tsr
But I read the response.tsr file, I get the error message as follows "{"status":500,"message":"The content-type header value did not match the value in @Consumes"}"
Help me please...

Hi there,
you also have to set the Content-Type header to application/timestamp-query and use the /sign endpoint so the request can be matched correctly:
curl -X POST --data-binary @request.tsq --header "Content-Type: application/timestamp-query" http://localhost:8080/sign -o response.tsr

I will nevertheless update the endpoint so the Content-Type header does not strictly have to be set to application/timestamp-query. I also found a bug thanks to your question 😄
PS:  The openssl ts -query -data document.hash -sha256 -out request.tsq seems to hash the document twice. The OpenSSL manpage has some examples where they pass the plain path to the -data parameter: https://docs.openssl.org/master/man1/openssl-ts/#timestamp-request

Thanks for your reply on the above issue.
Now I have encountered another problem, which is in the deployment of tsa-server. When I change the keystore.p12, the container cannot be started, only when using the keystore.p12 available in your git repo located at "https://github.com/dnl50/tsa/tree/develop/app/src/main/resources/keystore" can it run.
But when I send a timestamp request to tsa-server, I receive the following information:
Using configuration from /usr/lib/ssl/openssl.cnf
Status info:
Status: Granted.
Status description: Operation Okay
Failure info: unspecified
TST info:
Version: 1
Policy OID: ISO Member Body
Hash Algorithm: sha256
Message data:
0000 - e4 9a 89 7a ac 4c 98 19-21 27 0a 3f 79 e4 68 85   ...z.L..!'.?y.h.
0010 - c9 95 2f c5 ba 1a b4 c0-cd ef 38 0b e7 73 74 81   ../.......8..st.
Serial number: 0x16EC11CC87D99A4B
Time stamp: Nov 20 07:00:11 2024 GMT
Accuracy: unspecified
Ordering: no
Nonce: 0x0317CB1901830A06
TSA: unspecified
Extensions:
Am I deploying wrong or misunderstanding the problem. I hope you can respond to me soon

The openssl ts -reply -in response.tsr -text command only seems to print the TSTInfo structure as defined in RFC3161 (Page 7). The certificate itself is only contained in the TimestampToken, which is a CMS ContentInfo structure.
You can extract the certificate chain by extracting the Timestamp Token first and then extracting the certificate chain:
openssl ts -reply -in response.tsr -out response_token.der -token_out
openssl pkcs7 -inform DER -in response_token.der -print_certs -outform PEM -out certificatechain.pem

What does the application log say when you use your own .p12 file?

I saw the certificate after running the 2 commands you gave.
When I changed my certificate, it seems that my .p12 file did not satisfy the tsa-server's requirements, so it reported an error.
.
2024-11-21 16:03:13,789 ERROR [io.qua.run.Application] (main) Failed to start application: java.lang.RuntimeException: Failed to start quarkus
at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
at io.quarkus.runtime.Application.start(Application.java:101)
at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:119)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:71)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:44)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:124)
at io.quarkus.runner.GeneratedMain.main(Unknown Source)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.doRun(QuarkusEntryPoint.java:62)
at io.quarkus.bootstrap.runner.QuarkusEntryPoint.main(QuarkusEntryPoint.java:33)
Caused by: dev.mieser.tsa.signing.api.exception.TsaInitializationException: Could not initialize TSA.
at dev.mieser.tsa.signing.impl.BounceCastleTimeStampAuthority.initialize(BouncyCastleTimeStampAuthority.java:115)
at dev.mieser.tsa.signing.api.TsaConfiguration_ProducerMethod_timeStampAuthority_Gdi3NUpRGvLvaKEfS-6G4Rqu1p0_ClientProxy.initialize(Unknown Source)
at dev.mieser.tsa.signing.config.TsaInitializer.onStartup(TsaInitializer.java:21)
at dev.mieser.tsa.signing.config.TsaInitializer_Observer_onStartup_uvjaZHP8x_ZE1Ywmb8mz-qOcLd0.notify(Unknown Source)
at io.quarkus.arc.impl.EventImpl$Notifier.notifyObservers(EventImpl.java:351)
at io.quarkus.arc.impl.EventImpl$Notifier.notify(EventImpl.java:333)
at io.quarkus.arc.impl.EventImpl.fire(EventImpl.java:80)
at io.quarkus.arc.runtime.ArcRecorder.fireLifecycleEvent(ArcRecorder.java:156)
at io.quarkus.arc.runtime.ArcRecorder.handleLifecycleEvents(ArcRecorder.java:107)
at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy_0(Unknown Source)
at io.quarkus.deployment.steps.LifecycleEventsBuildStep$startupEvent1144526294.deploy(Unknown Source)
... 11 more
Caused by: org.bouncycastle.tsp.TSPValidationException: Certificate must have an ExtendedKeyUsage extension marked as critical.
at org.bouncycastle.tsp.TSPUtil.validateCertificate(Unknown Source)
at org.bouncycastle.tsp.TimeStampTokenGenerator.(Unknown Source)
at org.bouncycastle.tsp.TimeStampTokenGenerator.(Unknown Source)
at dev.mieser.tsa.signing.impl.BounceCastleTimeStampAuthority.initialize(BouncyCastleTimeStampAuthority.java:105)

Currently my signing timestamp does not match the real time. How do I adjust it in the docker-compose file?

Your certificat is missing the extendedKeyUsage Extension (see README).
To set the correct timezone, you have to set the TZ environment variable to your timezone:
services:
    tsa:
      image: "dnl50/tsa-server:3.3.0"
      environment:
        - TZ=Asia/Bangkok
      volumes:
        - /path/to/keystore.p12:/work/keystore.p12:ro

OpenSSL will still show the timestamp in UTC since it is stored using UTC, but the timestamp should then match your current time when adjusting for your timezone's offset to UTC

Hi, it's me again
I tried changing my own keystore.p12 and tsa-server ran. But when I timestamped with tsa-server and executed 2 commands:
openssl ts -reply -in response.tsr -out response_token.der -token_out
openssl pkcs7 -inform DER -in response_token.der -print_certs -outform PEM -out certificatechain.pem
The certificatechain.pem file returned empty. Do you know what the error is?

Does your query include the flag to include the certificate details in the response? This has to be requested explicitly by using the -cert flag as an option of the openssl ts -query command:
openssl ts -query -data document.txt -sha512 -cert -out request.tsq

Thanks.
After adding the -cert flag, the tsa response has the certificate. But I still don't understand why when running the command
openssl ts -reply -in response.tsr -text
the response.tsr file still gives the result as TSA:unspecified
Accuracy: unspecified
Ordering: no
Nonce: 0x26B5DA898D4C2BEC
TSA: unspecified
Extensions:

When I use the command:
openssl ts -verify -in response.tsr -data "document.txt" -CAfile certificate.pem
I get the following error:
Using configuration from /usr/lib/ssl/openssl.cnf
Verification: FAILED
4077E126BE7F0000:error:17800064:time stamp routines:ts_verify_cert:certificate verify error:../crypto/ts/ts_rsp_verify.c:190:Verify error:unsupported certificate purpose

Sorry for replying so late :flushed:
OpenSSL prints TSA: unspecified since Bouncy Castle (the underlying cryptography library) currently does not set the tsa field in the response. The RFC defines the field purpose as follows:

The purpose of the tsa field is to give a hint in identifying the
name of the TSA.  If present, it MUST correspond to one of the
subject names included in the certificate that is to be used to
verify the token.  However, the actual identification of the entity
that signed the response will always occur through the use of the
certificate identifier (ESSCertID Attribute) inside a
SigningCertificate attribute which is part of the signerInfo (See
Section 5 of [ESS]).

I will look into if Bouncy Castle supports setting the field.
The verification failure is most likely caused because the TSA certificate is self signed. OpenSSL verifies that the certificate passed to the -CAfile parameter has the keyCertSign extension (see https://docs.openssl.org/master/man1/openssl-verification-options/#key-usage), which is probably not set when you did not set it explicitly when issuing your certificate.

fgdfgh

hi you,
I have edited the CA cert to add the keyCertSign extension

But when authenticating the cert from the response.tsr file of tsa, it still cannot be authenticated:
openssl ts -verify -in response.tsr -data "document.txt" -CAfile /root/CA/myca.crt
Using configuration from /usr/lib/ssl/openssl.cnf
Verification: FAILED
40E794020C7F0000:error:17800064:time stamp routines:ts_verify_cert:certificate verify error:../crypto/ts/ts_rsp_verify.c:190:Verify error:unsupported certificate purpose

I created the keystore.p12 file with the self-generated cert-key pair and used the following command to sign the cert for tsa-server
openssl x509 -req -in tsa-csr.pem -CA myca-02.crt -CAkey myca.key -CAcreateserial -out tsa.crt -days 365 -sha256 -extfile tsa.cnf -extensions v3_ca
after having the "tsa.crt" file, I executed the following command to convert the .p12 file
openssl pkcs12 -export -inkey tsa-private-key.pem -in tsa.crt -certfile myca-02.crt -out keystore.p12
then, mounted the .p12 file into the container and signed the document.
After that, I stopped using the CAfile myca-02.crt to authenticate and got the above error

Hey there,
sorry for replying so late. I documented the commands necessary to issue a valid certificate in the README (see commit 298e6da).
With these certificates, I was able to verify the response using OpenSSL:
openssl ts -verify -in response.tsr -data document.txt -CAfile .\cert\cacert.pem
Using configuration from C:/Program Files/Git/mingw64/etc/ssl/openssl.cnf
Verification: OK


UnPublish-NavContainerApp: The specified Extension is not published.

Probably need to pass the name of the tenant.
UnPublish-BCContainerApp -containerName se17 -appName "Demo" -publisher "Demo" -version <IP_ADDRESS> -unInstall -force
Error message: The specified Extension is not published.

BcContainer configuration: Multitenant = "Yes"
NavContainerHelper is version <IP_ADDRESS>
NavContainerHelper is running as administrator
Host is Microsoft Windows Server 2019 1809
Client: Docker Engine - Enterprise
Version:           19.03.2
API version:       1.40
Go version:        go1.12.8
Git commit:        c92ab06ed9
Built:             09/03/2019 16:38:11
OS/Arch:           windows/amd64
Experimental:      false
Server: Docker Engine - Enterprise
Engine:
Version:          19.03.2
API version:      1.40 (minimum version 1.24)
Go version:       go1.12.8
Git commit:       c92ab06ed9
Built:            09/03/2019 16:35:47
OS/Arch:          windows/amd64
Experimental:     false

I think this is fixed in the latest BcContainerHelper - maybe you need the 1.0.7-preview

Thanks.


install bootjdk only if default github runner do not have one

Signed-off-by: Sophia Guo<EMAIL_ADDRESS>

Tests: https://github.com/sophia-guo/runaqa/runs/781035609?check_suite_focus=true
Mac has jdk13 installed, which uses default JAVA_HOME_13_X86. Others will download jdk from AdoptOpenJDK community.

Change to WIP as windows doesn't work

Test:
https://github.com/sophia-guo/runaqa/runs/796987805?check_suite_focus=true


add more debugging to places where PGP keys might be expired

r? @maxtaco
Tested getCkiIfActiveAtTime by hacking that branch in keyfamily.go to be else if true ..., and then doing keybase id max. (I haven't thought of a condition where this branch would normally be hit.)
Tested gpg_index.go by hacking my computer's clock to be a year ago, adding a short-lived PGP key to a test user's account, putting the clock back to normal, exporting the expired PGP private key to a new device, and then trying to login that new device using that PGP key.
There are still several scenarios where subkeys get dropped inside of go-crypto, which we're not currently warning. For example, trying to encrypt a PGP message to someone whose only PGP key is expired.

I'd like to talk with you tomorrow about exactly what was happening in https://github.com/keybase/keybase-issues/issues/1955, so we can make sure to cover that case.

ok!

👍


tests/kernel/mem_protect/protection/: Reached unreachable code

** Description **
Executed asserted false because unreachable code blocks were accessed. It happens at various places
To Reproduce
Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=arduino_due
make
make run

Screenshots or console output
If applicable, add a screenshot (drag-and-drop an image), or console logs
(cut-and-paste text and put a code fence (```) before and after, to help
explain the issue.
***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS zephyr-v1.14.0-70-g8905b0fe2193 (delayed boot 1000ms) *****
Running test suite protection
===================================================================
starting test - exec_data
trying to call code written to 0x20070009
returned from code at 0x20070009
Execute from target buffer succeeded!

    Assertion failed at ./tests/kernel/mem_protect/protection/src/main.c:151: exec_data: (Reached unreachable code)
Execute from data did not fault
FAIL - exec_data
===================================================================
starting test - exec_stack
trying to call code written to 0x200706b9
returned from code at 0x200706b9
Execute from target buffer succeeded!

    Assertion failed at ./tests/kernel/mem_protect/protection/src/main.c:164: exec_stack: (Reached unreachable code)
Execute from stack did not fault
FAIL - exec_stack
===================================================================
starting test - exec_heap
trying to call code written to 0x20070185
returned from code at 0x20070185
Execute from target buffer succeeded!

    Assertion failed at ./tests/kernel/mem_protect/protection/src/main.c:179: exec_heap: (Reached unreachable code)
Execute from heap did not fault
FAIL - exec_heap
===================================================================
starting test - write_ro
trying to write to rodata at 0x00083ca8
rodata modified!

    Assertion failed at ./tests/kernel/mem_protect/protection/src/main.c:109: write_ro: (Reached unreachable code)
Write to rodata did not fault
FAIL - write_ro
===================================================================
starting test - write_text
trying to write to text at 0x0008060c
text not modified
Did not get expected return value!

    Assertion failed at ./tests/kernel/mem_protect/protection/src/main.c:140: write_text: (Reached unreachable code)
Write to text did not fault
FAIL - write_text
===================================================================
Test suite protection failed.
===================================================================
RunID: :o9jw
PROJECT EXECUTION FAILED

Environment (please complete the following information):

OS: fedora29
Toolchain zephyr
Commit SHA or Version used: 8905b0fe219396cf7244341415837ed14f63b185

Fails because I enabled MPU on the Soc level but not at the board definition too (Ibhad a separate PR for that)
Somehow the filter of the test is wrong: selects cpu-has-arm-mpu but instead it should use the user option to enable mpu


Add contributors page

I would add anew page dedicated to all the contributors in this project which will display the stats of this project ex- no. of forks, stars etc. and also show stats of the contributors , no. of contributions done and also i would add cool animation on hovering contributors card.

@kvcops Please assign me this issue

Yep... implement this feature I would like to see it by myself...then I can assign you the level

@Son7c raise the PR by tonight.


Installation for Dummies?

From Plausible's website:

Proxy our script. This is the option for those who want to get more accurate stats. With our step-by-step instructions, the setup is straightforward even for those who don't have any coding experience.

Would they then possibly work with you to provide the step-by-step instructions for this proxy solution? They only currently link directly to the GitHub page?
I've followed the readme - ftp'd all of the files, including hidden - to the subdirectory stats - then, as directed - added the script to my index.html root with
<script defer data-domain="example.com" data-api="/stats/api/event" src="/stats/js/script.js"></script>
Obviously substituting example.com with my own domain?
As Plausible relates, I have no coding experience as far as php or whatever this proxy is supposed to be doing? I'm just trying to follow directions? It appears odd to me that there is no js folder or script.js in the stats directory provided for upload - but I honestly don't understand any of what all of this is supposedly doing?

Very sorry - it appears to be working now?


[AutoPR] iotcentral/resource-manager

Created to accumulate context: iotcentral/resource-manager

@jianghaolu do I need to make any other changes here? can this get merged?


Allow a model to have a 'uniqueMethod' settings

Pull request for #119
This adds an extra option within a model to allow unique suffixes to be generated by the model rather than just incrementing a counter.
The test case uses this to generate posts which are suffixed with a lower case letter, but a more realistic example would be to return a random number (not in use) to hide the number of previous generated entities.

Closing this because #129 is a nicer version of this without the need for an extra option.


[Image] Web - Profile - The white background in the image changes to black

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to URL https://staging.new.expensify.com/
and login with any account
Go to Settings->Profile->Upload photo
Select an image with a white background and click save

Attachment:

Expected Result:
The background on the avatar should remain white
Actual Result:
The white background changes to black
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/190678241-6ef6d543-ecf5-491c-87cd-ec57b6df3b86.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

It's not an issue, it happens because the background is transparent. The result will be the same we try it on other platforms (e.g. Slack, Whatsapp)

Shouldn't the transparent background remain transparent though? Is this because it's being converted to a JPEG at some point (and transparency isn't supported)?

Yes, while saving, image is converting jpeg and jpeg doesn't support transparency.

All right, sounds like this would be an internal issue for us to fix then on the server. It would be nice to support images with transparent backgrounds.

Putting this issue on HOLD and tracking in Image-related feature request and improvements

Issue not reproducible during KI retests. (First week)

I am unable to reproduce this

@MitchExpensify I reproduced with the image provided in the OP:

I reproduced in web, production

Assigning myself too & making Weekly since this is on hold for the image enhancements

Will hopefully get to this later this week

Off hold per this comment.
Tis internal and assigned to Beaman so not much to do here meow

Issue not reproducible during KI retests. (Second week)

Alright well I have some (maybe) interesting findings:

It looks like we hardcode the jpg file type in NewDot here while for native devices we hardcode a .jpg at the end of the filename but set the "type" as image/png here

@JmillsExpensify good question! Currently it looks like we block .svg images from being uploaded as avatars here: https://github.com/Expensify/App/blob/0c65dbef1e97c6b811760b97e32a566e26b2e000/src/CONST.js#L30
I'm definitely willing to try to support .svg if we want though!

Ok yeah it's come up in a couple of contexts, in https://github.com/Expensify/App/issues/12264 most recently. It's fine if it's a separate project. I'm not clear why we block that file type in the first place.

Aah interestingggg, I'm happy to make it another issue in my tracker, though maybe a bit lower priority

Added this project to WAQ - in progress

Final PR for this (https://github.com/Expensify/App/pull/12549) is ready for review!

Issue not reproducible during KI retests. (Third week) Are we ok to close this one?

Found some annoying issues on Mobile where Android & iOS Native Apps don't properly handle bmp & gif file uploads (with the help of @Santhosh-Sellavel 's very thorough tests 👍 ) 🤷 so I'm planning to make a follow-up issue that's external where others can help investigate possible solutions in the 3rd-party library we use, @oguzhnatly/react-native-image-manipulator

Great question. This is a bit of a grey area, since we recently added the ability to support all file types, which pre-dates WAQ. So based on that, given that we now support all file types and we have bugs related to that, I think we should solve them now as part of WAQ.

That's fair, hopefully the PR to support all file types (for web / desktop / mobile web) will get merged soon, then I'll take the issue to fix bmp / gif images off HOLD, and we can get to work on it (probably from contractors since it seems like a big refactor that'll require updating at least 1 3rd-party lib)

Ok cool. That sounds like a plan to me. I think we should put this issue on HOLD in the meantime in any case.

Wait wait taking this off hold b/c https://github.com/Expensify/App/pull/12549 is the PR to fix this issue :D (or am I missing something @JmillsExpensify )?

Ah, haha thanks. I'm with you now.

Have one last thing to figure out before being able to merge (iOS mWeb, .png file format specifically) - calling in @jasperhuangg & @Santhosh-Sellavel to do this last test, being 100% sure we're uploading files of that format

Looks like we're merged here! 🎉
On this follow-up https://github.com/Expensify/App/issues/13038, do we want to add it to the Image tracker?

HECK ya we are.
And yes good idea I'll add that ^ follow-up to the tracker! Still won't take it off HOLD till the PR for this one gets to Production (to make sure there's no weird regressions)

Cool, makes sense!

Please assign me this for tracking payment thanks!

Sent you a contract, @Santhosh-Sellavel.

Cool, settled!


Fix Valgrind Error: Conditional jump or move depends on uninitialised…

… value(s)
Fix Unitialised Memory Valgrind Error:
==30323== Conditional jump or move depends on uninitialised value(s)
==30323== at 0x80C943F: ssl3_read_bytes (s3_pkt.c:1091)
==30323== by 0x80CA0C2: ssl3_get_message (s3_both.c:539)
==30323== by 0x80C9A55: ssl3_get_finished (s3_both.c:246)
==30323== by 0x80C3586: ssl3_connect (s3_clnt.c:549)
==30323== by 0x80DA5BB: SSL_connect (ssl_lib.c:943)
==30323== by 0x80B9585: openSSLConnectionPb (ssl_connection.c:524)
==30323== by 0x4050681: commsOpenClientSocket (bClientSocket.c:126)
==30323== by 0x404F1A4: commsThread (smcomms.c:812)
==30323== by 0x4529A48: start_thread (in /lib/libpthread-2.12.so)
==30323== by 0x21CE1D: clone (in /lib/libc-2.12.so)
==30323== Uninitialised value was created by a heap allocation
==30323== at 0x40072B2: malloc (vg_replace_malloc.c:270)
==30323== by 0x80F244B: default_malloc_ex (mem.c:79)
==30323== by 0x80F29D7: CRYPTO_malloc (mem.c:312)
==30323== by 0x81179E3: EVP_DigestInit_ex (digest.c:210)
==30323== by 0x80FDA44: HMAC_Init_ex (hmac.c:130)
==30323== by 0x815307D: pkey_hmac_ctrl (hm_pmeth.c:198)
==30323== by 0x81207A6: EVP_PKEY_CTX_ctrl (pmeth_lib.c:408)
==30323== by 0x811798D: EVP_DigestInit_ex (digest.c:225)
==30323== by 0x8121C78: do_sigver_init (m_sigver.c:114)
==30323== by 0x80D1679: tls1_PRF (t1_enc.c:179)

Please see https://www.openssl.org/docs/faq.html#PROG14

fixed with 84c1509.  thanks!


neovide: 0.8 -> 0.9

Description of changes
Update to latest release
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I can build this, but result/bin/neovide or result/bin/neovide README.md in my nixpkgs clone simply does nothing (exit code of the program is 0). Am I doing something wrong?

It you be that you faced issue #168769.
What is the output when you run the command neovide --nofork?

@ck3d Correct, I'm getting:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: CreationErrors([OsError("Could not create EGL display object"), OsError("`glXQueryExtensionsString` found no glX extensions")])', src/window/mod.rs:347:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The error is the same, OpenGL can not be initialized. Does neovide-0.8 from master branch show the same error?

Yes, same error. I might not be the best person to review this update then. ;)

if the error was preexisting this PR which I think it does, let's merge. @ck3d you've got the permissions go ahead :)

I don't have merge rights (but I requested them a few days ago), so can you please merge my PR.

this change doesnt build on master here is a fix https://github.com/NixOS/nixpkgs/pull/179858


Update index.md

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

LGTM

What?
On Thu, Nov 1, 2018, 4:19 PM Jaka Kranjc<EMAIL_ADDRESS>wrote:

LGTM
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/pull/29608#issuecomment-435067509,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEThPtudPBri_HLfOoTnLQ3GcZL7xtqzks5uqxERgaJpZM4X8cdh
.


macOS binary missing

wget --no-check-certificate -c https://github.com/marschall-lab/panacus/releases/download/0.2.3/panacus-0.2.3_macos_arm64.tar.gz
--2024-06-20 08:19:21--  https://github.com/marschall-lab/panacus/releases/download/0.2.3/panacus-0.2.3_macos_arm64.tar.gz
Resolving github.com (github.com)... <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-06-20 08:19:21 ERROR 404: Not Found.

I think there is a typo in the URL you used: should be https://github.com/marschall-lab/panacus/releases/download/0.2.3/panacus-0.2.3_macos_x_arm64.tar.gz (macos_x_arm64 instead of macos_arm64)

Dear @pdoris, thanks for the notice. I fixed the issue now-- you should be able to download the binary under the original link.


OPML import

I have a list of RSS feeds exported from Opera 12, which I would like to import to Smart RSS. Is it possible to add such feature? Thanks.

Yes it is available option under settings to import from .OPML or .HTML file.

Excellent! Sorry, I must have overlooked it. Works like a charm.


audio stuff

This PR enables users to transcript audio files and add them to chains using OpenAI's Whisper models on Banana.dev.
TODO

Turn audio_chain_example.py into a notebook

What would be the advantage of using banana vs the OpenAI apis?

stale


Added extra action to Commercial transfer agreement

Based on user research we have added in an extra action to explicitly indicate if they have received the email from the school/trust that shows the CTA has been signed and agreed.
Changes
Added extra action to Commercial transfer agreement
Based on user research we have added in an extra action to explicitly
indicate if they have received the email from the school/trust
that shows the CTA has been signed and agreed.

Checklist

[x] Attach this pull request to the appropriate card in Trello.
[x] Update the CHANGELOG.md if needed.

@SteveMilnes I've fixed the tests so your new copy works. Are you ok to take a look again?
Also I'm guessing that we should apply this wording to the 125 year lease task as well?


Double #Target5 on left-well

Challenge Target the Children of an Element Using jQuery has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

After Loading in the page, without changing any code, there are two #Target5's on the left-well. As soon as any code is changed on the page, the 2nd #Target5 goes away, and if you delete any code you have put on there, as well as "reset to default" it comes back. Doing a hard refresh does not change this.

My code:

jQuery Playground

#left-well

        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>

#right-well

        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

@kofal thanks for the issue but this is a duplicate of #5072. So closing as duplicate. Happy coding!


Some numerators are not up to date for October

OK:

Chapter
Paragraph
Section
Chemical

Not OK:

Product
Presentation

@sebbacon What's the status of this?

thx for nudge


add new entries and translations

@stardustichi could you update (or not update) the PR with @robflop's suggestions so we can merge this?

@stardustichi let me know if I can help with resolving the merge conflicts to get this merged 👀

@stardustichi let me know if I can help with resolving the merge conflicts to get this merged 👀

i think i resolved it, let me know if anything wrong lol, sorry for being late as always


Execute exe after successful injection, but shellcode is not loaded

Execute exe after successful injection, but shellcode is not loaded

Which executable ? more details about the error ?

will be closed for now, feel free to re-open and provide some extra details.


AccountAddressParseError

Hi, I need your help when I use the recent sdk that I met some problems. I called the MoveCall and failed. here is the err:
{"code":-32602,"message":"byte deserialization failed, cause by: AccountAddressParseError"}

Is there wrong with me?
pls, help and Thx~

github.com/block-vision/sui-go-sdk v0.0.0-20230823012313-915da54a6b64

You need to add a gas object field to pay for the Move Call, as shown in the screenshot below.

@0xblockhash Thank you very much!


Fix #12: ansible-base not working

The version check for the legacy pip resolver was slightly off. It was "> 20" but it should have been ">=20".
Note, probably should revisit how versions are listed. Relying on side-effects from pip seems brittle.
May solve #12

❯ ./bats/bin/bats integration-tests.bats
 ✓ install with system python no asdf
 ✓ install with system python via asdf
 ✓ install with asdf python 3.8.10
 ✓ install with asdf python 3.5.10 system python 3.6
 ✓ install with asdf python 3.5.10 no system python3
 ✓ check latest with pip version 19.3
 ✓ check latest with pip version 20.0
 ✓ check latest with pip version 20.1
 ✓ check latest with pip version 20.2
 ✓ check latest with pip version 20.3
 ✓ check latest with pip version 21.3
 ✓ check $ASDF_PYAPP_DEFAULT_PYTHON_PATH works
 ✓ install with local python in direnv
 ✓ install with python plugin integration
 ✓ install with python plugin integration without python plugin installed
 ✓ install with asdf direnv no shims no global python
 ✓ install with asdf direnv no shims with global python
 ✓ check ASDF_PYAPP_VENV_COPY_MODE=1
 ✓ check app ansible latest
 ✓ check app awscli latest
 ✓ check app awsebcli latest
 ✓ check app aws-sam-cli latest
 - check app black latest (skipped)
 ✓ check app black 21.5b2
 ✓ check app conan latest
 ✓ check app doit latest
 ✓ check app flake8 latest
 ✓ check app hy latest
 ✓ check app meson latest
 ✓ check app mypy latest
 ✓ check app pipenv latest
 ✓ check app salt latest
 ✓ check app sphinx latest

33 tests, 0 failures, 1 skipped

asdf-pyapp/test on  issue/12-ansible-base-not-working
❯ git rev-parse --short HEAD
d42b324


[overlay] A tentative fix for the intermittent build failures.

@swift-ci Please test and merge

The failures are unrelated to this change.

Thanks, @lplarson!


Planefinding api returns real world floor with some offset

Issue: I am using SurfaceMeshesToPlane class from Holotoolkit to get the real world floor. I have noticed that floor is always returned with some offset: i.e. when i draw a cursor on detected floor or select a point, it always shows at some height above floor or some depth below the real floor.
Expected: Real world floor and HL detected floor should be as close as possible [5-10 cm offset acceptable].
Query: Do we need to adjust some parameter. [Urgent]
Unity Editor Version
Unity 2017.2.1p4
Mixed Reality Toolkit Release Version

10cm seems like a lot of offset between the real floor and HL floor.
You could have a look at the cursor, it also has a parameter that separates it from the surface it sticks to, that will give you back about 2cm (from default values).

Can you please point me to which cursor script you are pointing to @JoseSantano-ms ? Thanks a lot in advance.

Sure. On that exact same file, line 59. SurfaceCursorDistance: The distance from the hit surface to place the cursor
You should be able to edit that field from the editor

Sure. On that exact same file, line 59. SurfaceCursorDistance: The distance from the hit surface to place the cursor
You should be able to edit that field from the editor

Apologies. I don't use this cursor. I have custom made cursor and i have made sure to keep the y-value 0.
https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/master/Assets/HoloToolkit/SpatialMapping/Scripts/SpatialProcessing/PlaneFinding.cs I am using the function called FindPlane at line 161. Are you aware the best parameters should we pass to get the floor plane very close to the ground.? Thanks @JoseSantano-ms

As far as I'm aware this will find a plane on the mesh, not move the mesh closer to the actual floor and then create a plane. To the Hololens the mesh is the floor and it does a good job sticking to it.
The problem here is that the mesh always has some offset from the physical floor (most of the times above and sometimes beneath) and there isn't much we can do about it. However that offset isn't 10cm, if you're experiencing that then there's something else wrong with your scene.
Given that you've written your own cursor and you've also reported that the cursor isn't where you expect it to be I'm going to ask the obvious question. Have you tried with a simple ray or one of the given cursors? Do you get the same position?

Will check that and come back. So far, i am trying to play around with parameters in PLanefinding(https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/master/Assets/HoloToolkit/SpatialMapping/Scripts/SpatialProcessing/PlaneFinding.cs) & surface plane (https://github.com/Microsoft/MixedRealityToolkit-Unity/blob/master/Assets/HoloToolkit/SpatialMapping/Scripts/SpatialProcessing/SurfacePlane.cs) to getter better floor.
Thanks

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.


Improve Beacon v2

Description
Update Beacon endpoint to run VEP.
The idea is to return output for the following:

IntAct
Mastermind
GO
Phenotypes
DisGeNET
EVE
SpliceAI
frequency data from gnomAD

The Beacon schema does not specify all types of data we want to return so in this PR we return data for the following:

IntAct
GO
Phenotypes
DisGeNET
CADD
frequency data from gnomAD

This change should also be included in release 110.
Some results are not included in the Beacon schema yet (example: pathogenicityPredictions). I created a ticket in the Beacon repo for that: https://github.com/ga4gh-beacon/beacon-v2/issues/76
Use case
Benefits
Return vep data through Beacon, this way users can integrate VEP in Beacon.
Possible Drawbacks
None
Testing
note to submitters and reviewers: documentation-only changes may reflect
changes in other repos that can result in new or different output from
REST endpoints. In turn, these may require new tests or changes to existing tests.
Have you added/modified unit tests to test the changes?
If so, do the tests pass/fail?
Tests pass.
Have you run the entire test suite and no regression was detected?
No regression detected.
Changelog
[/ga4gh/beacon/query] Return VEP data in Beacon output

@dglemos Hi, as we've already branched this repo for Release 110, please would it be possible to create a duplicate of this ticket to push against branch release/110 when this PR is ready to review? Thanks very much

Coverage: 44.885% (+0.02%) from 44.869% when pulling 79cdb881e5ccd4ab242b29f46b41254746df512f on dglemos:improve_beacon_epj into 3c1ca230f29afd362008f292881a1ba97a154c4f on Ensembl:main.

Hi @nuno-agostinho, this is the Beacon PR.

@dglemos @nuno-agostinho Hi both, please could I check the status of this PR (just to get an idea of when this work can be merged into Release 110). Is there much work left to do on this? Thanks a lot.

Hi @nwillhoft, PR is ready on my side.

Hi @nwillhoft, PR is ready on my side.

Hi @dglemos, am I correct in thinking that this PR is for Release 111 as we already merged in the previous Beacon v2 changes for Release 110? Thanks

Yes, this PR is for release 111.


ImportError: No module named iTunesLibrary

Howdy,
I've just installed your library via
pip install iTunesLibrary
Then, I started python and tried the code on your page:
from iTunesLibary import library
And I got the error message:
ImportError: No module named iTunesLibrary
I tried pip list and it's listed there. I tried pip search iTunes and your library is listed and marked as installed.
I've uninstalled/re-installed numerous times. As standard user and as root. I can't get past the import line!

Python 2 or 3? I haven’t used it in a while; Spotify is now my main music
source.
-steve
On Sat, Apr 20, 2019 at 11:00 AM David Nitzsche-Bell <
<EMAIL_ADDRESS>wrote:

Howdy,
I've just installed your library via
pip install iTunesLibrary
Then, I started python and tried the code on your page:
from iTunesLibary import library
And I got the error message:
ImportError: No module named iTunesLibrary
I tried pip list and it's listed there. I tried pip search iTunes and
your library is listed and marked as installed.
I've uninstalled/re-installed numerous times. As standard user and as
root. I can't get past the import line!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scholnicks/itunes-library/issues/2, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AABTKEXIPSCQ4PJH2U3I7ITPRMVYFANCNFSM4HHJ2MMA
.

I get the same issue using both Python 2 and Python 3. I'll look into it.

Version 1.1.2 has been uploaded to PyPi which fixes this error.
Try:
from iTunesLibrary import library

Thanks! I installed it, the import statement works. now it's parsing my gigantic XML file. Fingers crossed.


ADAM Extension to precision medecine

Hello,
I am working on a project to extend the ADAM Framework to precision medecines researches, I would like to open a project in ADAM for this initiative,  what is the process to follow.

Thank you
Fbelghait

Hello @fbelghait, I would suggest starting a discussion about further schema changes on the ADAM Gitter at https://gitter.im/bigdatagenomics/adam.


Swift Package Manager - unsupported layout

Hi I am receiving the following whenever I try to download using SPM.
error: the package has an unsupported layout, unexpected source file(s) found: /Users/Reid/Developer/airbnb_wishlister/Packages/WKZombie-1.0.6/Tests/Tests.swift fix: move the file(s) inside a module

Hi! Thanks for reporting this! It looks like they change something with the latest release of SPM. I'll look into this.

Thank you!

Take a look at 1.0.7 and let me know if it works. Thanks!

If not fixed, please reopen.


LICENSE FILE NOT FOUND UNDER ROOT DIRECTORY

The LICENSE file is not fund in the root directory of this repo, is it ok for the author to fix this issue? It blocks some ppl who want to experiment with DiffIR but very cautious about licensing issues.
There are two LICENSE files under two sub-directories respectively, one sub directory mentions about a license in a .py file, one sub directory-- demotionblur does not have any license information.
Please help, thank you!

Hi, thanks for your interest. I have added a license. There are no restrictions.


Implement Async Big Query Table Existence Sensor

story Id: https://github.com/astronomer/astronomer-providers/issues/68

Implemented Async Big Query Table Existence Sensor (Operator, Trigger, Hook) --> @rajaths010494
Added Unit Test case, code coverage, Doc string For  Big Query Table Existence Sensor, code coverage --> @bharanidharan14

@phanikumv Fixed as per review comment

Let's make sure while merging PR's we edit/make sure that the Commit Message and description contain summarized text, for example for this commit it contains:


HTML5 notify don't work

Home Assistant release (hass --version):
Hassbian 0.63.3
Python release (python3 --version):
3.6
Component/platform:
notify
Description of problem:
After all requirements, i can't see a new slider for Push Notifications through the sidebar Configuration > General
Expected:
See a new slider for Push Notifications through the sidebar Configuration > General
Problem-relevant configuration.yaml entries and steps to reproduce:
notify:

name: my_html5
platform: html5
gcm_api_key: !secret html5_api_key
gcm_sender_id: !secret html5_sender_id

Additional info:
I use domain "zapto.org".
Domain verified:

Firebase:

Can't see the new slider for Push Notifications through the sidebar Configuration > General:

Are you accessing Home Assistant through your external URL when looking for the toggle? It is not shown when you access it via the internal ip address and port combination.

I trying accessing Home Assistant through by my external URL with port, and don't shown the toggle (http://xxxxxxx.zapto.org:8123)

Notifications require HTTPS connection

Yes, thanks for help, I need configure to HTTPS connection!


cleanup add-build-tags

make the contents of the build-file param a cdata section, and replace escaped entities with their corresponding characters, for ease of maintenance and better readability.

don't prompt user for credentials; use teamcity's auth system properties instead.

send plain text instead of xml to teamcity server (and expect 200 status instead of 204).

I'd say it would be better to continue asking for username and password. At least for audit purposes. Also in some setups build does not have permissions to set tags.

@pavelsher - thanx for reviewing!
in my case, asking for user/password would force me to feed the credentials of our dedicated CI user (which is already available through teamcity.auth...), while my own user's credentials didn't work (only the CI user have the proper credentials to use the teamcity server API).
would you say this is the common case (that was my thought when i removed the prompt for credentials)?
if not, and each system is set up quite differently (in terms of credentials), it definitely seems reasonable to still prompt for credentials, and i will put these back.

On the majority of installations build has enough permissions to set tags. But this won't always be the case, we have plans to reduce build permissions. So this is why I don't like removing of the username / password completely.
One more option is to add checkbox whether to use build own authentication or username and password. Checkbox could be turned on by default.

@pavelsher - the checkbox idea is great! i'll try and implement that and push the changes.

i cleaned up this PR, and ended up taking a little different approach to the credentials issue - see this PR.


Some errors and issues with updating/editing monitors

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I have 182 monitors. I keep getting an error I have seen a time or two when searchin

I'm wondering if the Knex timeout could be due to low memory/resources allocated to the AWS instance I'm using? But when I use top to see what is going on I don't get higher than 65% most of the time.
I also got a different error today when attempting to edit a monitor:

I've gotten a couple different errors lately. I was getting very long load times and not finding any monitors at all when loading but that seems to have been resolved. I just occasionally get the Knex error and now getting that other error when attempting to edit one.
I still have several monitors that are in an Unknown state and I can't pause them because I get an error. I've tried to find the error logs but cannot seem to find the correct path.
🐻 Uptime-Kuma Version
Version: 1.10.1
💻 Operating System and Arch
Deep Learning AMI (Ubuntu 18.04) Version 50.0
🌐 Browser
Chrome
🐋 Docker Version
3.3
🟩 NodeJS Version
No response

I think the db is too busy
Check the system load average by top command.


Clean up when devices are removed

When we remove a device from the network we should ensure that we clean up everything that references the device. Currently, if a device has endpoints that are in a group they are left there when removing the device from the network. We should probably clean this up automatically.

We should do this for bindings to groups and bindings to other devices as well once we are tracking those in the database