text:
Old UI loading into the Popup window?

What would cause the old UI to load into the new popup window generated by this script? I just had this happen. It is pretty random, but wondered if there was something I could do to make this not happen .... ever.
I did notice that it took a long time to load, then it's like it gave up and showed the old crap standard UI.

Is it happening on sandbox or production env?

Production

On May 10, 2017, at 4:16 PM, Daniel Brain notifications@github.com wrote:
Is it happening on sandbox or production env?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Do you happen to see any errors in the browser console?
This experience is shown when we encounter a fatal error with the checkout app, and have to go into recovery mode. It's due to be phased out in the coming months -- it should be pretty rare, but if we can narrow down the specific error that should give us some more info.

No, but I will try and reproduce to see if I can reproduce.
But, if this is a non-issue in a few months, then it may not be worth your time to fix anyway.
I will post anything I find here if it happens to me again.
Thanks.

On May 10, 2017, at 4:58 PM, Daniel Brain notifications@github.com wrote:
Do you happen to see any errors in the browser console?
This experience is shown when we encounter a fatal error with the checkout app, and have to go into recovery mode. It's due to be phased out in the coming months -- it should be pretty rare, but if we can narrow down the specific error that should give us some more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/paypal/paypal-checkout/issues/333#issuecomment-300610363, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFVW4lBmKZx9akkyAAGeeL-calrjwj3ks5r4iTcgaJpZM4NXIlA.

authors: bluepnume yabdab

repo: paypal/paypal-checkout


text:
Reinvigorate remote_archive to support automatic backup of data from ephemeral scratch storage

NCI is upgrading its HPC and at the same time changing replacing the short filesystem with scratch, which is time limited.
payu is so well written (props @marshallward) that there is only one mention of the actual path /short in the entire codebase
https://github.com/payu-org/payu/blob/f567db9dad9fdd219ea632b76d7d715e8e65e457/payu/laboratory.py#L57
(we'll ignore hard coded paths in profiler modules)
So at the very minimum to support the new machine default_short_path should be changed to scratch.
However, as scratch is time limited it is no longer a good fit for the current payu pattern, where bin, input and codebase are stored in the same laboratory as work and archive.
https://github.com/payu-org/payu/blob/f567db9dad9fdd219ea632b76d7d715e8e65e457/payu/laboratory.py#L45-L49
With strict time limited deletion of files on scratch, the only directory that is a clear fit for this pattern is work. The archive directory could live on scratch, with some syncing to a permanent data store, but I think payu should also support archive not being physically co-located with `work.
Thoughts?

This sounds good to me. work would be on scratch. archive could be specified either on scratch (while setting up auto-syncing to a permanent data store for archive) or with the rest presumably at /g/data/--project--/--user--/? Sounds like you just need a new default_gdata_path to set this second directory.
If someone uses scratch for their archive, and doesn't set up an auto-sync, can we get a warning setup about the time limit (or will NCI be providing some kind of warning for when files will be deleted)?

There is a function in Experiment named remote_archive which was once used to transfer model output over to MDSS, back when storage limits were so severe that model runs would often go over quota.
As storage became less of a problem, this function became deprecated and is now basically a zombie function which cannot be called.  But it would not be much work to reinstate something like this.
Which is to say that we've been here before, albeit under different constraints (space vs time), but it should not be a problem to either append this function to the end of archive() or integrate into the payu archive command.

Ok. I think this is well overdue to be implemented.

The COSIMA issue linked above refers to adding syncing of restarts to their existing sync script
https://github.com/COSIMA/01deg_jra55_iaf/blob/master/sync_data.sh
This script is called with the postscript hook in the payu
https://github.com/COSIMA/01deg_jra55_iaf/blob/master/config.yaml#L77
Not everything in that script is appropriate for including in payu, but it gives a good overview of what syncing capability is required.
Also important to note the rsync options that are used. It isn't feasible to use -a with rsync, as it automatically changes the group (project in NCI speak) to that of origin, but in general /g/data directories have the setgid bit set, so that folders and files copied there have the same project code as the enclosing folder. It is important to keep this behaviour as files and folder accounting is (mostly) done by the group (project) of the file/folder.
Using -a with rsync undoes this behaviour.

I've created issue #358 and cross-referenced here. Syncing restarts that will late be deleted is an issue.
It could be that the logic for restarts is different than for outputs: could use rsync machinery to delete restarts at the destination once they're deleted/pruned at the source. This is problematic though if restarts are deleted by time based purging of scratch, and then later deleted.
Another possibility is to have an option to not sync restarts, then tidy them in a separate step and then turn on restart syncing and then call something like
payu sync

If payu did support date based restart frequencies then it potentially has the information it needs to make sure it doesn't sync restarts that will later be pruned.
It would probably require inspection of restart files (so retaining a dependency on the netCDF4 python module, or adding a dependency on xarray, and might not work for all models, so might need to be driver dependent.

Just documenting some notes here:
In the COSIMA issue above, it was also referenced that payu doesn't automatically collate the most recent restart. If rsync was set to exclude uncollated files, then the most recent restart wouldn't be synced. So payu collate -d archive/restart<num>. may need to be another step before syncing restarts.
One payu sync command could potentially collate the latest restart if required, then run a user-script before any syncing (to tidy up any restarts) and then finally rsync the restarts.
Otherwise, auto syncing restarts could be setup to only sync restarts using the integer restart frequency (or using date-based restart frequency).
To automatically sync outputs, could run the sync command where the postscript hook is run, which is at the end of archive if not collating otherwise after collation.
The sync config could something look like:
sync:
        - enable: default false
    # PBS specific:
        - queue: default copyq
        - walltime: (e.g 10:00:00)
        - mem: default 2GB
        - ncpus: default 1

    # rsync specific:
        - directory: destination dir to copy data to
        - rsync_flags: string of any additional flags for rsync

        # For exclusions, could add string to rsync_flag (e.g "--exclude *.nc.* --exclude iceh.????-??-??.nc --exclude *-DEPRECATED --exclude *-DELETE --exclude *-IN-PROGRESS")
        # or have a parameter with a list of strings, e.g.:
        - exclude:
            - *.nc.*
            - iceh.????-??-??.nc
            - etc

        # For restarts
        - restarts:
            enable: default false
            collate_latest: default false # collate latest restart prior to rsync

userscripts:
    # User defined scripts/commands to be called before remote syncing model archive
    # e.g. in access-om2: a script to concatenate cice daily files and deleting cice log files with only 105-char header
    sync: tidy_archive.sh ```

source: gharchive/issue

authors: aidanheerdegen jo-basevi marshallward rmholmes

repo: payu-org/payu

license_type: permissive

license_source: github-api


text:
Fix download-artifact workflow security warning

We have a security warning for a workflow
https://github.com/payu-org/payu/security/dependabot?q=is%3Aopen+manifest%3A.github%2Fworkflows%2FCD.yml+package%3Aactions%2Fdownload-artifact
I don’t think it is a big risk, but should be simple to address.

This has been addressed by dependabot updating said file itself!

authors: CodeGat aidanheerdegen


text:
🛑 Departamento is down

In df24ce4, Departamento (http://cca.unb.br/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Departamento is back up in c3b2a4b after 12 minutes.

license: MIT


text:
No Pop-up to select sub-agent under Recharge page(Agent Panel)

Description of the bug
When we enter the Amount and don't select sub-agent from the drop-down menu then no pop-up- "Please select sub-agent" come.
Steps to reproduce the behavior:

Go to 'https://www.pulseptt.com/agent.html'
Login with valid credential:- 1. User name: john 2. Password: 12345678
Navigate to sub-agent management.
Select Recharge agent.
Enter Amount:-10
Click on Recharge button.
See error.

Expected behavior
A pop-up must come :- "Please enter this field."
Screenshots

Desktop (please complete the following information):
OS: Windows 10
Browser :Version 100.0.4896.60 (Official Build) (64-bit)
Version [0.1.1]

Issue Not fixed.


text:
MQTT

It's been suggested the cloud connection for the grill is via MQTT. This guy says he's been successful hijacking DNS to have his devices connect to a local MQTT server instead of the vendor's instance.
If I get on the firewall and sniff the grill's MAC address, I can see the periodic broadcasts to udp:6667 and when I fiddle in the app, I see additional traffic on tcp:8886. Perhaps that's MQTT. I wonder if we could do something similar to get async comm to the grill instead of relying on polling.
# tcpdump -n -i lag0 ether host ec:fa:bc:6a:d1:0e
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lag0, link-type EN10MB (Ethernet), capture size 65535 bytes
12:36:04.068514 IP 10.10.0.116.49154 > 255.255.255.255.6667: UDP, length 188
12:36:05.276415 ARP, Request who-has 10.10.0.116 tell 10.10.0.116, length 46
12:36:09.068083 IP 10.10.0.116.49154 > 255.255.255.255.6667: UDP, length 188
12:36:12.451077 IP 100.21.156.247.8886 > 10.10.0.116.44017: Flags [P.], seq 676013862:676014075, ack 2953521119, win 65535, length 213
12:36:12.595263 IP 10.10.0.116.44017 > 100.21.156.247.8886: Flags [.], ack 213, win 3615, length 0
12:36:12.656234 IP 10.10.0.116.44017 > 100.21.156.247.8886: Flags [P.], seq 1:214, ack 213, win 3615, length 213
12:36:12.739453 IP 100.21.156.247.8886 > 10.10.0.116.44017: Flags [P.], seq 213:282, ack 214, win 65535, length 69
12:36:12.842436 IP 10.10.0.116.44017 > 100.21.156.247.8886: Flags [.], ack 282, win 3546, length 0
12:36:13.967322 IP 10.10.0.116.44017 > 100.21.156.247.8886: Flags [P.], seq 214:427, ack 282, win 3546, length 213
12:36:14.049280 IP 100.21.156.247.8886 > 10.10.0.116.44017: Flags [P.], seq 282:351, ack 427, win 65535, length 69
12:36:14.080555 IP 10.10.0.116.49154 > 255.255.255.255.6667: UDP, length 188
12:36:14.092430 IP 10.10.0.116.44017 > 100.21.156.247.8886: Flags [.], ack 351, win 3477, length 0
12:36:15.298710 ARP, Request who-has 10.10.0.116 tell 10.10.0.116, length 46
12:36:16.154205 IP 100.21.156.247.8886 > 10.10.0.116.44017: Flags [P.], seq 351:564, ack 427, win 65535, length 213
12:36:16.336150 IP 10.10.0.116.44017 > 100.21.156.247.8886: Flags [P.], seq 427:640, ack 564, win 3264, length 213
12:36:16.421209 IP 100.21.156.247.8886 > 10.10.0.116.44017: Flags [P.], seq 564:633, ack 640, win 65535, length 69
12:36:16.595469 IP 10.10.0.116.44017 > 100.21.156.247.8886: Flags [.], ack 633, win 3195, length 0
12:36:17.999128 IP 10.10.0.116.44017 > 100.21.156.247.8886: Flags [P.], seq 640:853, ack 633, win 3195, length 213
12:36:18.082948 IP 100.21.156.247.8886 > 10.10.0.116.44017: Flags [P.], seq 633:702, ack 853, win 65535, length 69
12:36:18.092447 IP 10.10.0.116.44017 > 100.21.156.247.8886: Flags [.], ack 702, win 3126, length 0
12:36:19.067961 IP 10.10.0.116.49154 > 255.255.255.255.6667: UDP, length 188
12:36:21.155307 ARP, Request who-has 10.10.0.116 tell 10.10.0.1, length 28
12:36:21.445076 ARP, Reply 10.10.0.116 is-at ec:fa:bc:6a:d1:0e, length 46

I've got a packet capture from 2020-10 where I joined the grill to my AP and sent some various commands. It's definitely MQTT. I did some reading about it back then and probably forgot most. Here are some of my notes.
The grill made some initial DNS requests for a.gw.tuyaus.com and received 3 different IP addresses during the capture. The MQTT broker seems to be mq.gw.tuyaus.com. I get a not authorized error from that URL with MQTT Explorer when attempting.
MQTT seems to work with topics and has commands to interact like subscribe and publish. The topic broken out by wireshark looks like this: p1234567/mb/az12345678901234AbCd2. Based on what I found in the kDefaultTuyaUserV2 key of the plist I extracted, it appears to be partnerIdentity/mb/uid.

Dug into the capture some more and found what seems to be a key exchange from the grill in HTTP prior to the MQTT traffic.
Request query string to a.tuyaus.com/gw.json looks like this:
a=s.gw.token.get&gwId=xxx123xxx123&other={"token":"1abcdEFg","region":"AZ","tlinkStat":{"configure":"smartconfig","time":4,"source":"station_ap","path":"multicast"}}&t=9&v=3.0&sign=abc999abc999

Then comes another HTTP POST to a.tuyaus.com/gw.json. The gsId and token values are the same between this and the last exchange. The sign value changed.
Looks like this:
a=s.gw.dev.pk.active&gwId=xxx123xxx123&other={"token":"1abcdEFg"}&t=1600000000&v=3.0&sign=abc456abc456
Response to that one in JSON. Interesting note is the localKey in this response does not match the localKey I pulled from my iPhone. The uid is the same value as above in the MQTT topic.
"result":{"schema":"[{\"mode\":\"rw\",\"property\":{\"type\":\"bool\"},\"id\":1,\"type\":\"obj\"},{\"mode\":\"rw\",\"property\":{\"min\":0,\"max\":65535,\"scale\":0,\"step\":5,\"type\":\"value\"},\"id\":102,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":{\"min\":0,\"max\":65535,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":103,\"type\":\"obj\"},{\"mode\":\"rw\",\"property\":{\"min\":0,\"max\":255,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":104,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":{\"min\":0,\"max\":65535,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":105,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":{\"min\":0,\"max\":65535,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":106,\"type\":\"obj\"},{\"mode\":\"rw\",\"property\":{\"min\":-128,\"max\":127,\"scale\":0,\"step\":1,\"type\":\"value\"},\"id\":107,\"type\":\"obj\"},{\"mode\":\"wr\",\"property\":{\"type\":\"bool\"},\"id\":108,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":{\"type\":\"bool\"},\"id\":109,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":{\"type\":\"bool\"},\"id\":110,\"type\":\"obj\"},{\"mode\":\"ro\",\"property\":{\"type\":\"bool\"},\"id\":111,\"type\":\"obj\"}]","devEtag":"00000001ab","uid":"az12345678901234AbCd2","secKey":"zzzseckeyzzz","schemaId":"00000003f4","localKey":"zzzlocalkeyzz"}
In between the request and response in this comment, some tuya MQTT server sends a publish Message with the topic I mentioned in an earlier comment. The JSON response just above follows immediately after.

Edit in above: Correction on device. My notes had wrong IP addresses. My iPhone initiated all this traffic above. The grill didn't come in until later. Unfortunately, it looks like my iPhone and the grill communicated directly over wireless, so it didn't pass through my AP interface to capture in my packets. Seems the iPhone chats with the grill to get the important info, then negotiates with Tuya servers from the app. Once negotiated, it seems like the iPhone tells the grill to then query the mq.gw.tuysus.com domain with a connect and then subscribe MQTT message. Maybe not enough CPU in the grill controller than process all the key exchange stuff?
Lots of info to unpack here, but I think in short it would require a lot more reversing of the key exchange to get data from the MQTT broker. That or perhaps someone else who has experience with the Tuya API knows this is a more common exchange prior to MQTT.
On the plus side, I'm happy to see layers of security applied to what seems to be an otherwise "insecure" IoT protocol.

Looks promising. Making notes on investigations like this public is appreciated. Storage is cheap (free here) so may as well us it, right? I appreciate the effort and sharing.

If anyone can get the android app apk file, we could do a decompile of it and possibly find some of the routines for this process. Chances are pretty good it is implemented the same on both platforms.

authors: JamesHabben pdugas

repo: pdugas/recteq


text:
aws-device-farm-runner (exit code: 255)

We are facing and issue while configuring the aws device farm with the trigger in the bitrise.
following is the log from the bitrise.
`
+------------------------------------------------------------------------------+
| (4) aws-device-farm-runner                                                   |
+------------------------------------------------------------------------------+
| id: aws-device-farm-runner                                                   |
| version: 0.0.7                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: bash                                                                |
| time: 2019-02-04T14:22:37Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[14:22:37]  * [OK] Step dependency (aws) installed, available.
INFO[14:22:37] Start installing (jq) with apt-get
sudo "apt-get" "update"
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:2 https://packages.cloud.google.com/apt cloud-sdk-xenial InRelease [6,372 B]
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:4 https://deb.nodesource.com/node_8.x xenial InRelease [4,646 B]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:6 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]
Hit:7 https://dl.yarnpkg.com/debian stable InRelease
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [779 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [658 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [535 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [464 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Hit:13 https://packagecloud.io/github/git-lfs/ubuntu xenial InRelease
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1,175 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [1,032 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [936 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [856 kB]
Fetched 6,837 kB in 1s (3,730 kB/s)
Reading package lists...
(jq) isn't installed, installing...

[OK] jq installed
INFO[14:22:46]  * [OK] Step dependency (jq) installed, available.
Configs:
access_key_id: ***
secret_access_key: ***
device_farm_project: [REDACTED]
test_package_name: [REDACTED]-development-debug-androidTest.apk
test_type: INSTRUMENTATION
filter:
billing_method: METERED
locale: en_US
platform: android
ipa_path:
ios_pool:
apk_path: /bitrise/deploy/[REDACTED]-development-debug-androidTest.apk

run_name_prefix:

build_version: 6128
aws_region: [REDACTED]
run_wait_for_results: true
run_fail_on_warning: false
AWS region ([REDACTED]) specified!
Setting up device farm run for platform 'android'.
run_platform: android

app_package_path: /bitrise/deploy/[REDACTED]-development-debug-androidTest.apk

upload_type: ANDROID_APP
Initialized upload of package '[REDACTED]-development-debug-androidTest.apk' for app ARN 'ARN'
Beginning upload
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2024k    0     0  100 2024k      0  2442k --:--:-- --:--:-- --:--:-- 2444k
Upload finished. Polling for status.
Upload status: SUCCEEDED
Upload successful! Starting run...
An error occurred (NotFoundException) when calling the ScheduleRun operation: One or more of the resources for this request are not available.
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | aws-device-farm-runner (exit code: 255)                       | 14 sec   |
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...com/peartherapeutics/bitrise-aws-device-farm-runner/issues |
| Source: https://github.com/peartherapeutics/bitrise-aws-device-farm-runner   |
+---+---------------------------------------------------------------+----------+
`

test_package_name should be the name of the test uploaded by the file deploy step as explained in the docs. This should be different from the actual app bundle as specified in apk_path. Please read the wiki and inline step input documentation thoroughly. If you ar still having issues after that you can re-open.

authors: fadookie zebpaysagar

license: mit

license_source: bigquery


text:
Swapping appearance for opacity

Using appearance is broken on iOS/Safari - using opacity instead as it works.

Slate has been superseded by Clay.

source: gharchive/pull-request

authors: orviwan valorin

repo: pebble/slate


text:
Sample app not working with USB Camera on Android 14

Is the sample app tested to be working on Android 14 with USB camera as video source?
I'm asking this because I found Rotation->Video Source->CameraUVC to be working on Android 12, but it failed on Android 14.
The preview section just gets stuck when CameraUVC is selected on Android 14.
From the source code CameraUvcSource.kt, I'm assuming Root Encoder uses the UVCAndroid  project for USB camera support. But that project also didn't work on multiple Android 14 phones and USB cameras that I tested previously, reported this issue there #83.

Yeah no problem, I just wanted to know if that part of root encoder works on Android 14.


text:
Blank Screenshot

I used this function to take photo
rtmpDisplay?.glInterface?.takePhoto {
// save screenshot
}

but the screenshot is blank, just black image

Can you tell me device model and android version?

@pedroSG94
model: Samsung Galaxy j8
version: 9

fixed


text:
Fix memory leak in case start/stop stream multiple times

Fix memory leak in case start/stop stream multiple times:
Before fix:

After fix:

@pedroSG94 do you have any comments on that ^

Sorry for late respose. I was taking a break coding in my repos.
Thank you for the fix


text:
Add a custom clock

Instead of using the default clock, design & implement a custom clock that fits Brooklyn.
In case you're able to design but not implement feel free to report it here 😄

Here are a few suggestions.
-- Optional --
The clock is customisable and optional. And can be toggled on or off.
-- Sample --
(Clock color changes smoothly & slowly; not as fast as the animation itself)

-- Static --
(For static clock color, this is the default static gradient.)

-- PSD --
I'll add a link to the PSD design file, shortly.

Once again, this looks great @sovon! 😍💯
I'm taking a break from Brooklyn during March (currently busy with other projects), but I'll get this done during April.

hi, there is http://www.rasmusnielsen.dk/applewatch/
with all the credits it requires etc, what about having like a merge of those two awesome screensavers ?

Don't think that's a possibility @noniagriconomie, plus I'm not sure if it fits this the "Brooklyn theme". Still, thanks for your suggestion.
In the meantime, I'm not sure I'll be able to deliver this in April.

authors: noniagriconomie pedrommcarrasco sovon

repo: pedrommcarrasco/Brooklyn


text:
When I use this command, Image not showing

I use this flutter run -d chrome --release --dart-define=FLUTTER_WEB_USE_SKIA=true
But '.svg' files not working
Related Link : https://github.com/flutter/flutter/issues/71627#issuecomment-740320874

There's not enough info to triage this issue.  Can you provide what version of flutter, what browser, what SVG, etc.  Also, does it work w/o the FLUTTER_WEB_USE_SKIA flag?

Here is my doctor -v
[✓] Flutter (Channel master, 1.25.0-4.0.pre, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-KR)
    • Flutter version 1.25.0-4.0.pre at /Users/taz/Documents/flutter_channels/flutter_mastar
    • Framework revision a7f5fd5360 (3 days ago), 2020-11-30 13:14:13 +0100
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/taz/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • ANDROID_HOME = /Users/taz/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.51.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.16.0

[✓] Connected device (2 available)
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

and browse is Chrome,
It only happens when I use FLUTTER_WEB_USE_SKI

In that case, the issue is with the core Flutter and my ability to help is pretty limited.
Here's how this plugin works...  When you're running in a web context, the plugin will get the SVG, encode the SVG into a data URI, and then passes that data URI to Flutter's Image.network.  It's Flutter's own Image.network that renders the SVG for the browser (or in this case... doesn't).
If you can give me a full working example that shows the issue, I can champion / update the defect for you.  I had luck getting a separate Firefox issue fixed by the Flutter team this way.  Absent that, there's not much I can do.

Hey @taz1208 if you are using --dart-define=FLUTTER_WEB_USE_SKIA=true flag, should use classic flutter_svg package, which websafe_svg package uses anyway. Since flutter_svg  supports web with Skia.

Oooohhhh...  Can't say I'll mind retiring this plugin in favor of being able to use universal flutter_svg...  Look forward to that landing as the default.

@tsinis : Do you know if there's a way to detect if the web is running in SKIA mode or regular mode?  As a bridge, I'd be happy to update this plugin to fully utilize flutter_svg in SKIA mode but still fall back to Image.network when not in SKIA mode.

@tsinis : Do you know if there's a way to detect if the web is running in SKIA mode or regular mode?  As a bridge, I'd be happy to update this plugin to fully utilize flutter_svg in SKIA mode but still fall back to Image.network when not in SKIA mode.

I didn't write a single word about you have to retire your package :). Web with SKIA enabled is too heavy for most Flutter devs. So your solution is useful. Anyways, in term of your question: you might want to check bool.fromEnvironment or String.fromEnvironment. You can read more about it at:
https://github.com/flutter/flutter_web/blob/master/docs/canvaskit.md
P.S. I've had a problems with Websafe SVG at dev/master channels in production, I mean it was working fine at my machine during development in debug/release/profile but running builded release version on local/online host didn't worked at all. I'll make small reproducible example later at the end of the month. Thank you for your great job anyways!

This should fix it https://github.com/muhleder/websafe_svg/commit/86b1eb374f38e7a140e563e2dba1d264224afd52 Not elegant code but it seems to work so long as the auto option isn't used.
FYI the dart define flag is being deprecated and it will be set with --web-renderer option instead https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/canvaskit/initialization.dart
To support the auto option we'd need to check engine.useCanvasKit but I'm not sure if/how we can access engine from within flutter.

Sorry this one took so long.  Noticed today that the Flutter team resolved the root issue.  This is now fixed via:
https://pub.dev/packages/websafe_svg/versions/2.0.0-nullsafety.0
Unfortunately, it has to stay a pre-release version until flutter_svg releases Null Safety on Stable too.

authors: jpeiffer muhleder taz1208 tsinis


text:
🛑 API MERCADO PUBLICO is down

In 40652bf, API MERCADO PUBLICO (https://api.mercadopublico.cl/servicios/v1/publico/ordenesdecompra.json?fecha=30122022&CodigoOrganismo=7312&ticket=E1951384-BF88-4EE5-8C33-934680281626) was down:

HTTP code: 500
Response time: 531 ms

Resolved: API MERCADO PUBLICO is back up in 8c32d63 after 235 days, 19 hours, 27 minutes.


text:
🛑 API MERCADO PUBLICO is down

In a987b9c, API MERCADO PUBLICO (https://api.mercadopublico.cl/servicios/v1/publico/ordenesdecompra.json?fecha=30122022&CodigoOrganismo=7312&ticket=E1951384-BF88-4EE5-8C33-934680281626) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API MERCADO PUBLICO is back up in dcb2eb5 after 21 minutes.


text:
🛑 Beyond.pl is down

In 92e5430, Beyond.pl (http://www.beyond.pl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Beyond.pl is back up in 764049d.

repo: pejotes/upptime


text:
🛑 Dinas Perhubungan is down

In a524965, Dinas Perhubungan (https://dishub.bekasikota.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dinas Perhubungan is back up in b133ad0.

repo: pemkotbekasi/website-status


text:
🛑 Kecamatan Bekasi Barat is down

In e78c739, Kecamatan Bekasi Barat (https://kec-bekasibarat.bekasikota.go.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Kecamatan Bekasi Barat is back up in 44070e9.


text:
Unhandled Exception: Unsupported operation: Infinity or NaN toInt

Tried with this:
https://www.howtogeek.com/wp-content/uploads/2019/09/2.gif (I downloaded to my sd card..)
return Align(
    child: GifImage(
      image: FileImage(File(path)),
      controller: _gifController,
      onFetchCompleted: () {
        _gifController.repeat(period: Duration(milliseconds: 300));
      },
    ),
    alignment: Alignment.center);

got an exception:
Unhandled Exception: Unsupported operation: Infinity or NaN toInt
E/flutter ( 4817): #0      double.toInt (dart:core-patch/double.dart:194:36)
E/flutter ( 4817): #1      GifImageState.didChangeDependencies.. (package:flutter_gifimage/flutter_gifimage.dart:163:49)
E/flutter ( 4817): #2      State.setState (package:flutter/src/widgets/framework.dart:1148:30)
E/flutter ( 4817): #3      GifImageState.didChangeDependencies. (package:flutter_gifimage/flutter_gifimage.dart:160:11)
E/flutter ( 4817): #4      _rootRunUnary (dart:async/zone.dart:1134:38)
E/flutter ( 4817): #5      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
E/flutter ( 4817): #6      _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
E/flutter ( 4817): #7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
E/flutter ( 4817): #8      Future._propagateToListeners (dart:async/future_impl.dart:709:32)
E/flutter ( 4817): #9      Future._completeWithValue (dart:async/future_impl.dart:524:5)
E/flutter ( 4817): #10     Future._asyncComplete. (dart:async/future_impl.dart:554:7)
E/flutter ( 4817): #11     _rootRun (dart:async/zone.dart:1126:13)

try setting min and max parameters in .repeat() method. Unfortunately I could not make "lowerbound" and "upperbound" work here, but it did work with values like 1 for min and 10 for max for example. Still trying to figure out how to automatically set the last frame index as max value...

Found a workaround: In order to repeat the gif from first to last frame, make use of fetchGif() method before calling .repeast() method. fetchGif returns a List and its .length equals the number of frames. Use this number for max and you're good to go...

I just not added the bounds, so that was the mistake. Closing now.

It still needs a proper error message though


text:
Password Protect

Sorry to bother you in this manner, but I was wondering, this would make a great tool for parents to block unwanted sites so that kids can not access certain sites, making it safe for children to use the internet.
THIS IS AN EXCELLENT EXTENSION, AND IT IS VERY SIMPLE TO USE. I LOVE IT!
Suggestion:

Add a Password protect to remove or modify any sites. No password required to ADD a site
Add a password to modify settings, such as duration of blocked site.
Add a password to remove the extension from either chrome or fire fox once it has been installed.
Sincerely,
OldGrayWolf

Closing this issue as Chrome does NOT allow to password-protect:

Uninstalling of the extension
Disabling of the extension

authors: OldGrayWolf penge

repo: penge/block-site


text:
Sass、LESS和Stylus

这三种 CSS 预处器的语法和 CSS 原生语法差不多，这里对比下 3 中预处理器的特色
Sass
Sass也同时支持老的语法,就是不使用花括号和分号，使用 .sass 扩展名时可以启用简约语法模式，即省略花括号的写法。

Sass 声明变量必须是 $ 开头
赋值使用 : 号
支持嵌套，& 可以引用父元素
支持 Mixins，特别的是需要带声明符号 @mixin ，与调用符号 @include
支持继承，用法与 Stylus 相同 @extend .classname;
支持导入，@import "reset.css";@import "file.{type}";
支持颜色函数，lighten($color, 10%); /* 返回的颜色在$color基础上变亮10% */
支持运算符，无差异
支持属性前缀，个人倾向于使用插件，忽略
支持 3d 文本处理，使用 mixin 非常方便

LESS

声明变量使用是的 @ 字符
赋值使用 : 号
支持嵌套，& 可以引用父元素
支持 Mixin
支持继承，支持使用  .classname; 即可
支持导入，@import "reset.css";@import "file.{type}";
支持颜色函数，lighten(@color, 10%); /* 返回的颜色在@color基础上变亮10% */
支持属性前缀，个人倾向于使用插件，忽略

Stylus
文档参考：http://stylus-lang.com/docs/media.html
Stylus 的语法花样多一些，使用 .styl 的扩展名，Stylus 也接受标准的CSS语法，支持不带花括号和分号的语法

声明变量最好使用 $ 开头，@ 的变量不会赋值
赋值使用 = 号
支持嵌套，& 可以引用父元素
支持 Mixins，调用方式与 Less 类同
支持继承，用法与 Sass 相同 @extend .classname;
支持导入，@import "reset.css";@import "file.{type}";
支持颜色函数，lighten(color, 10%); /* 返回的颜色在'color'基础上变亮10% */
支持属性前缀，个人倾向于使用插件，忽略
可以很方便的通过设置宽度适配出各列布局
注释写法相同

扩展阅读

CSS 技术趋势:https://stateofdev.com/c/frontend
预处器的对比——Sass、LESS和Stylus

Errors
Stylus WIN7 报Path must be a string. Received undefined
解决办法: 升级 stylus-loader

repo: pengkobe/reading-notes


text:
前端的JsBridge这个类怎么调用呢？

JsBridge.ajax({
type:'GET',
url:'xxx.com',
dataType:'text'
data:{a:1, b:'xx'},
success:function(data){
},
error:function(err){
}
})
JsBridge这个类，前端同学不知道从哪里调用

前端需要引用某个库还是JS里边本来就有的呢？前端同学表示很迷茫，谢谢

让他使用chrome中的远程调试手机页面 就可以调用了


text:
feature request: Open new tabs from page graph

Is it possible to implement opening a file in a new tab with middle click and mod+click on a node in the page graph? Right now new page opens in the same tab
Thanks for the great extension!

I think this is something not possible to implement since the click events in the graph view are not possible to be intercepted, this is because the graph is implemented with canvas elements.


text:
PDI-13367 - ETL Metada Injection does not actualize the Source Step in the Inject Metadata tab when renaming the cited step

Added the list of listeners changes steps

Hey @mattyb149. The request has already been closed - it was sent a bit prematurely.

authors: mtseu yuryilyukevich

repo: pentaho/pentaho-kettle


text:
[BACKLOG-32498] Update 'Bulk load into MSSQL' job entry to use enhanc…

…ed VFS browser for browsing and selecting local files

:white_check_mark: Build finished in 10m 51s
Build command:
mvn clean verify -B -e -Daudit -amd -pl \
plugins/file-open-save-new/core,ui

:ok_hand: All tests passed!
Tests run: 1125, Failures: 0, Skipped: 0    Test Results

:information_source:  This is an automatic message


text:
Re-allow consecutively routing over the same route twice

Is your feature request related to a problem? Please describe.
As part of our quickfix (#2667) for the arbitrage loop bug (#2675) , we started discard macro-routes that had been just previously used. This was an acceptable tradeoff to unstuck testnet 53, but is generally a speaking an undesirable regression.
Describe the solution you'd like
A stable solution to the arbitrage loop bug that doesn't discard the best route if it had just previously been routed over.
Describe alternatives you've considered
Instead of fixing it, we could leave it as it is, even if it makes routing worse. We shouldn't do that.

This was an acceptable tradeoff to unstuck testnet 53, but is generally a speaking an undesirable regression.

I'm not sure this is true -- we don't ever want to use the same macro-route twice, because once we fill along a macro-route, we expect that we've consumed up to its spill price, so if the estimation was good, it should no longer be the best route.

authors: erwanor hdevalence

repo: penumbra-zone/penumbra


text:
Refactor TransactionBody to include a TransactionParameters

Is your feature request related to a problem? Please describe.
Conceptually, a Penumbra transaction is just a bundle of actions that have effects on the chain state. In practice, though, transactions have a bunch of other transaction-wide fields, like the encrypted memo, the chain ID, expiry heights, and so on.
Currently, these fields are all put into the transaction body without any organization. Instead, it would be cleaner to bundle them together. Other than the encrypted memo, all of the existing fields in the transaction body specify parameters about when the transaction should be accepted to a chain — for instance, the chain id the transaction is for, the expiry height after which it is no longer valid, etc.
This suggests a way to conceptually clarify the definition of the transaction data, as three items:

a list of actions that have effects on the chain state;
an encrypted memo describing information about the purpose of the transaction;
a set of transaction parameters controlling when the transaction should be accepted.

Describe the solution you'd like
Refactor the transaction data modeling to introduce a TransactionParamaters proto and domain type.
Additional Context
This will also allow us to refactor the effect hash computation so that a signer can consider each of the parts of the transaction in turn, without having to load an entire transaction plan all at once. The effect hash could be computed by, for instance, hashing the memo packet, the parameters packet, and each of the actions.

I guess we should also figure out where the FMD clues fit into this taxonomy.


text:
Add Epoch type

Closes #280

LGTM apart from the one comment

authors: avahowell zbuc


text:
Poisson distribution function is calculating start heights VERY incorrectly

Our Poisson distribution function is used to schedule auction start heights semi-evenly across a given span of blocks. But for some reason, the start heights don't match what's expected.
For example, if I start a clean new devnet chain and schedule auctions with 48 sub-auctions (expected to distribute over 48 hours), they have start times from 17h from now to 33d from now.

@erwanor in case you're looking into it, here are our GDA recipes: https://github.com/penumbra-zone/web/blob/v8.1.0/apps/minifront/src/state/swap/constants.ts
It also seems that, the longer the auction (e.g., 48h), the more the distribution strays from what is supposed to be the original overall length of all the auctions put together. Also, it seems that the longer the auction, the later the first auction starts.

repo: penumbra-zone/web


text:
HTML Page titles

Each route should have these

what is the title format? Penumbra | Send for example

Yes, that's fine

description - For use in interacting with the Penumbra blockchain

No, every page should have a description of what the page is about

use this?

Sure

Can I combine small issues into 1 PR?

No, they should be separate PRs


text:
Most packets named query can return more than one result

 Issue by carlos.garcia
Wednesday Nov 02, 2016 at 13:38 GMT
Originally opened as https://git.tk.informatik.tu-darmstadt.de/SPIN/ID2T-toolkit/issues/2

The named query that returns the IP address with the most packets might return more than one result if different IPs are tied.
PortscanAttack expects only one IP when using this named query and fails if a list of addresses is returned instead.

 Comment by carlos.garcia
Wednesday Nov 02, 2016 at 15:01 GMT

Fix issue #2: most used IP limited to one

 Comment by patrick.jattke
Thursday Nov 03, 2016 at 19:39 GMT

Do you have any idea how we can handle that? My idea was to always require providing an extractor if a single element is expected but it cannot be guaranteed that the result is an single element or a list. Because if the query does not return a list of values, the extractor is not applied, otherwise it reduces the list to one element such that the attack can work with it. But requiring an extractor is not enforced yet, it is no error message printed if the queries result is a list and the parameter becomes therefore invalid.
To be noted, sometimes returning a list of values is desired. For example, as source IP addresses for an DDoS attack.

 Comment by carlos.garcia
Wednesday Nov 02, 2016 at 15:04 GMT

Fix issue #2: most used IP limited to one

 Comment by carlos.garcia
Monday Mar 05, 2018 at 10:40 GMT

 Comment by jens.klein
Wednesday Oct 24, 2018 at 12:44 GMT

fix "None" entries for normalized entropies #2


text:
Wrong error positions on windows

https://snag.gy/60WP23.jpg

Should be fixed with https://github.com/peq/WurstScript/commit/224aa09ace6e15c220ea0a9d20b1eb222304e712


text:
EVEREST-738 psmdb restore statuses fix

PSMDB restore status fix
Problem:
EVEREST-738
Short explanation of the problem.
PSMDB restored db cluster stuck in the "restoration" status.
Cause:
If the PITR is disabled, the latest status of an psmdb-restore object will be requested. It's waiting for oplogs, but since the pitr is disabled they never appear.
Solution:
This is a straightforward fix which considers the requested status differently depending if the pitr is enabled. The problem is under discussion with the cloud team, perhaps it can be improved from the psmdb operator's side in the later releases
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?

Tests

[ ] Is an Integration test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?

Closing it since it only fixes the symptoms but not the main issue

repo: percona/everest-operator


text:
Adding a note on dependencies

During installation of percona-server-server, following the instructions here. I got the following error message:
/usr/share/mysql/mysql-helpers: line 73: 13537 Killed                  mysqld --defaults-group-suffix="$2" --user=mysql --init-file="$
1" --socket="$tmpdir/mysqld.sock" --pid-file="$tmpdir/mysqld.pid" > /dev/null 2>&1
dpkg: error processing package percona-server-server (--configure):
 installed percona-server-server package post-installation script subprocess returned error exit status 137
Processing triggers for systemd (245.4-4ubuntu3.17) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Errors were encountered while processing:
 percona-server-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Getting the same error on both Ubuntu and Debian, configured on a Vagrant virtual environment. The solution was to install GnuPG and curl before installing Percona Distribution for MySQL, as mentioned here.

Note: This PR fixes DISTMYSQL-206

authors: LenzGr mattdark

repo: percona/pdmysql-docs


text:
K8SPG-576 - Update after 1.6.0 release

CHANGE DESCRIPTION
Problem:
Short explanation of the problem.
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Are the manifests (crd/bundle) regenerated if needed?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PG version?
[ ] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

init-deploy
failed

version-service
passed

scheduled-backup
passed

upgrade
passed

demand-backup
passed

scaling
passed

smart-update
passed

recreate
passed

affinity
passed

monitoring
passed

self-healing
passed

operator-self-healing
passed

clone-cluster
passed

tls-check
passed

users
passed

ns-mode
passed

data-migration-gcs
passed

We run 17 out of 17

commit: https://github.com/percona/percona-postgresql-operator/pull/776/commits/398faf8411fcb905eca2f58fb869dbd9858f7125
image: perconalab/percona-postgresql-operator:PR-776-398faf841-pgo-apiserver
image: perconalab/percona-postgresql-operator:PR-776-398faf841-pgo-event
image: perconalab/percona-postgresql-operator:PR-776-398faf841-pgo-rmdata
image: perconalab/percona-postgresql-operator:PR-776-398faf841-pgo-scheduler
image: perconalab/percona-postgresql-operator:PR-776-398faf841-postgres-operator
image: perconalab/percona-postgresql-operator:PR-776-398faf841-pgo-deployer

Test name
Status

demand-backup
passed

scheduled-backup
passed

version-service
passed

init-deploy
failed

upgrade
passed

smart-update
passed

scaling
passed

recreate
passed

affinity
passed

monitoring
passed

self-healing
passed

operator-self-healing
passed

clone-cluster
passed

tls-check
passed

users
passed

ns-mode
passed

data-migration-gcs
passed

We run 17 out of 17

commit: https://github.com/percona/percona-postgresql-operator/pull/776/commits/0087ef129b4e8edddd2d864c9380d8ea2dc71e04
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-apiserver
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-event
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-rmdata
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-scheduler
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-postgres-operator
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-deployer

Test name
Status

scheduled-backup
passed

demand-backup
passed

upgrade
passed

version-service
passed

smart-update
passed

init-deploy
failed

scaling
passed

recreate
passed

affinity
passed

monitoring
passed

self-healing
passed

operator-self-healing
passed

clone-cluster
passed

tls-check
passed

users
passed

ns-mode
passed

data-migration-gcs
passed

We run 17 out of 17

commit: https://github.com/percona/percona-postgresql-operator/pull/776/commits/0087ef129b4e8edddd2d864c9380d8ea2dc71e04
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-apiserver
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-event
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-rmdata
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-scheduler
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-postgres-operator
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-deployer

Test name
Status

scheduled-backup
passed

version-service
passed

demand-backup
passed

init-deploy
failed

upgrade
passed

smart-update
passed

scaling
passed

recreate
passed

affinity
passed

monitoring
passed

self-healing
passed

operator-self-healing
passed

clone-cluster
passed

tls-check
passed

users
passed

ns-mode
passed

data-migration-gcs
passed

We run 17 out of 17

commit: https://github.com/percona/percona-postgresql-operator/pull/776/commits/0087ef129b4e8edddd2d864c9380d8ea2dc71e04
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-apiserver
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-event
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-rmdata
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-scheduler
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-postgres-operator
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-deployer

Test name
Status

version-service
passed

demand-backup
passed

upgrade
passed

scheduled-backup
passed

smart-update
passed

init-deploy
passed

scaling
passed

recreate
passed

affinity
passed

monitoring
passed

self-healing
passed

operator-self-healing
passed

clone-cluster
passed

tls-check
passed

users
passed

ns-mode
passed

data-migration-gcs
passed

We run 17 out of 17

commit: https://github.com/percona/percona-postgresql-operator/pull/776/commits/0087ef129b4e8edddd2d864c9380d8ea2dc71e04
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-apiserver
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-event
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-rmdata
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-scheduler
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-postgres-operator
image: perconalab/percona-postgresql-operator:PR-776-0087ef129-pgo-deployer

authors: JNKPercona tplavcic

repo: percona/percona-postgresql-operator


text:
importer: add Runkeeper importer

I have a lot of data in https://runkeeper.com
Write an importer.
/cc @radkat @mpl

if @radkat isn't already working on it, I think it's free for grabs, yes.

authors: bradfitz mpl

repo: perkeep/perkeep


text:
Access denied when downloading synology package file

I got 403 error when downloading synology package files. I would be grateful if anyone could fix file's permission issue and upgrade to latest version. Thank you!

https://perkeep-review.googlesource.com/c/perkeep/+/17746 now merged.

@mpl download and install successfully, thank you!

authors: mpl xyb


text:
Support division between float and int

The following combination of operands are currently invalid:
> 12.0 / (9 * 60 + 1)
[line 1] Operands must be numbers, not double and int

This should be valid, since double and int are perfectly able to be combined (all 32-bit positive and negative integer values can be exactly represented in double per the IEEE754 specification) => the type of the operation above should be double.
(Side note, but we should probably not postpone implementing a single-precision float type for too long, since it might involve changing quite a lot of the semantics if we do it too late. See #70 for the overall ticket about implementing the missing basic data types.)

(We should check the other basic operations of math as well to ensure they all work, when this is fixed.)

(We should check the other basic operations of math as well to ensure they all work, when this is fixed.)

#316 made the handling of binary operators much more predictable. Now, all combinations of numeric types are explicitly handled. No more surprises; if something is unsupported, we have a test that verifies that it emits the expected type of error (at first, runtime errors, but as of #329 they should all be validation (compile-time) errors). Once a type combination gets supported, we always have to edit the tests => the tests will from now on always depict a true image of the state of what type combinations are expected to work and which ones are expected to fail.

Fixed in #327, closing.

repo: perlang-org/perlang


text:
Pulling policy from private repo only succeeds for newly cloned repos

I'm still experimenting with the Docker Compose example. When first running the OPAL server the repo is cloned, polling interval is set to 30, so every 30 seconds the server attempts to pull from the repo. Shutting it down and restarting it, it correctly detects that the volume with the repo still exists and prints this line:
opaldemo-opal_server-1  | 2023-01-30T12:06:21.169333+0000 | 7 | opal_common.sources.git_policy_source   | INFO  | SKIPPED cloning policy repo, found existing repo at '/opal/regoclone/opal_repo_clone' with remotes: ['git@github.******'])

This time however, every attempt to pull is unsuccessful:
opaldemo-opal_server-1  | 2023-01-30T12:07:03.687480+0000 | 7 | opal_common.sources.base_policy_source  |ERROR  | Error occured during polling task check_for_changes: Cmd('git') failed due to: exit code(1)
opaldemo-opal_server-1  |   cmdline: git pull -v origin
opaldemo-opal_server-1  |   stderr: 'fatal: Could not read from remote repository.'

Waiting does nothing, the poll never succeeds. Deleting the volume and forcing the Server to re-clone the repo works. The same docker-compose file with a public repo works fine.
docker-compose.yml:
version: "3.8"
services:
  opal_server:
    image: permitio/opal-server:latest
    environment:
      - OPAL_POLICY_REPO_URL=git@github.com:******
      - OPAL_POLICY_REPO_SSH_KEY=${OPAL_POLICY_REPO_SSH_KEY}
      - POLICY_REPO_MANIFEST_PATH=policy
      - OPAL_POLICY_REPO_MAIN_BRANCH=main
      - OPAL_POLICY_REPO_POLLING_INTERVAL=30
    ports:
      - "7002:7002"

OPAL version

Version: 0.3.1 (I'm running latest image)

Logs
First startup
[+] Running 1/0
 - Container opaldemo-opal_server-1  Recreated                                                                                0.1s
Attaching to opaldemo-opal_server-1
opaldemo-opal_server-1  | [2023-01-30 12:10:17 +0000] [1] [INFO] Starting gunicorn 20.1.0
opaldemo-opal_server-1  | [2023-01-30 12:10:17 +0000] [1] [INFO] Listening at: http://0.0.0.0:7002 (1)
opaldemo-opal_server-1  | [2023-01-30 12:10:17 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker
opaldemo-opal_server-1  | [2023-01-30 12:10:17 +0000] [7] [INFO] Booting worker with pid: 7
opaldemo-opal_server-1  | 2023-01-30T12:10:17.641947+0000 | opal_server.server                      | INFO  | OPAL was not provided with JWT encryption keys, cannot verify api requests!
opaldemo-opal_server-1  | 2023-01-30T12:10:17.642205+0000 | opal_server.pubsub                      | INFO  | Pub/Sub broadcaster is off
opaldemo-opal_server-1  | 2023-01-30T12:10:17.679295+0000 | opal_server.server                      | INFO  | *** OPAL Server Startup ***
opaldemo-opal_server-1  | 2023-01-30T12:10:17.679595+0000 | opal_server.server                      | INFO  | leadership lock acquired, leader pid: 7
opaldemo-opal_server-1  | 2023-01-30T12:10:17.679698+0000 | opal_server.server                      | INFO  | listening on webhook topic: 'webhook'
opaldemo-opal_server-1  | 2023-01-30T12:10:17.680449+0000 | opal_server.server                      | INFO  | Policy repo will be cloned to: /opal/regoclone/opal_repo_clone
opaldemo-opal_server-1  | 2023-01-30T12:10:17.681145+0000 | fastapi_websocket_pubsub.event_notifier | INFO  | New subscription {'id': 'ee171ffb62194a8ca460fb99740b8fc0', 'subscriber_id': '7addaabf7e764da897b64cbed41c218b', 'topic': 'webhook', 'callback': functools.partial(<function trigger_repo_watcher_pull at 0x7f7591e7ab00>, <opal_server.policy.watcher.task.PolicyWatcherTask object at 0x7f758fc76380>), 'notifier_id': None}
opaldemo-opal_server-1  | 2023-01-30T12:10:17.681328+0000 | opal_server.policy.watcher.task         | INFO  | Launching policy watcher
opaldemo-opal_server-1  | 2023-01-30T12:10:17.681921+0000 | opal_server.data.data_update_publisher  | INFO  | [7] Starting Polling Updates
opaldemo-opal_server-1  | 2023-01-30T12:10:17.684244+0000 | opal_common.git.repo_cloner             | INFO  | Cloning repo from 'git@github.com:********.git' to '/opal/regoclone/opal_repo_clone' (branch: 'main')
opaldemo-opal_server-1  | 2023-01-30T12:10:19.211179+0000 | opal_common.git.repo_cloner             | INFO  | Clone succeeded
opaldemo-opal_server-1  | 2023-01-30T12:10:19.216115+0000 | opal_common.sources.base_policy_source  | INFO  | Launching polling task, interval: 30 seconds
opaldemo-opal_server-1  | 2023-01-30T12:10:19.216622+0000 | opal_common.sources.git_policy_source   | INFO  | Pulling changes from remote: 'origin'
opaldemo-opal_server-1  | 2023-01-30T12:10:20.674853+0000 | opal_common.sources.git_policy_source   | INFO  | No new commits: HEAD is at '434a482c87b4f2d6065290f62a4eb993b9f0f0fa'
Gracefully stopping... (press Ctrl+C again to force)

Second startup
[+] Running 1/0
 - Container opaldemo-opal_server-1  Created                                                                                0.0s
Attaching to opaldemo-opal_server-1
opaldemo-opal_server-1  | [2023-01-30 12:10:26 +0000] [1] [INFO] Starting gunicorn 20.1.0
opaldemo-opal_server-1  | [2023-01-30 12:10:26 +0000] [1] [INFO] Listening at: http://0.0.0.0:7002 (1)
opaldemo-opal_server-1  | [2023-01-30 12:10:26 +0000] [1] [INFO] Using worker: uvicorn.workers.UvicornWorker
opaldemo-opal_server-1  | [2023-01-30 12:10:26 +0000] [6] [INFO] Booting worker with pid: 6
opaldemo-opal_server-1  | 2023-01-30T12:10:27.119227+0000 | opal_server.server                      | INFO  | OPAL was not provided with JWT encryption keys, cannot verify api requests!
opaldemo-opal_server-1  | 2023-01-30T12:10:27.119497+0000 | opal_server.pubsub                      | INFO  | Pub/Sub broadcaster is off
opaldemo-opal_server-1  | 2023-01-30T12:10:27.153773+0000 | opal_server.server                      | INFO  | *** OPAL Server Startup ***
opaldemo-opal_server-1  | 2023-01-30T12:10:27.153964+0000 | opal_server.server                      | INFO  | leadership lock acquired, leader pid: 6
opaldemo-opal_server-1  | 2023-01-30T12:10:27.154009+0000 | opal_server.server                      | INFO  | listening on webhook topic: 'webhook'
opaldemo-opal_server-1  | 2023-01-30T12:10:27.154114+0000 | opal_server.server                      | INFO  | Policy repo will be cloned to: /opal/regoclone/opal_repo_clone
opaldemo-opal_server-1  | 2023-01-30T12:10:27.154487+0000 | fastapi_websocket_pubsub.event_notifier | INFO  | New subscription {'id': '2a3af0060678434cb572d51d3d7bcb21', 'subscriber_id': 'e86c3fdcfd984e0881af2a232de66425', 'topic': 'webhook', 'callback': functools.partial(<function trigger_repo_watcher_pull at 0x7f53e1dd6b00>, <opal_server.policy.watcher.task.PolicyWatcherTask object at 0x7f53dfbd6380>), 'notifier_id': None}
opaldemo-opal_server-1  | 2023-01-30T12:10:27.154621+0000 | opal_server.policy.watcher.task         | INFO  | Launching policy watcher
opaldemo-opal_server-1  | 2023-01-30T12:10:27.155039+0000 | opal_server.data.data_update_publisher  | INFO  | [6] Starting Polling Updates
opaldemo-opal_server-1  | 2023-01-30T12:10:27.158747+0000 | opal_common.sources.git_policy_source   | INFO  | SKIPPED cloning policy repo, found existing repo at '/opal/regoclone/opal_repo_clone' with remotes: ['git@github.com:********'])
opaldemo-opal_server-1  | 2023-01-30T12:10:27.164241+0000 | opal_common.sources.base_policy_source  | INFO  | Launching polling task, interval: 30 seconds
opaldemo-opal_server-1  | 2023-01-30T12:10:27.164853+0000 | opal_common.sources.git_policy_source   | INFO  | Pulling changes from remote: 'origin'
opaldemo-opal_server-1  | 2023-01-30T12:10:31.511693+0000 | opal_common.sources.base_policy_source  |ERROR  | Error occured during polling task check_for_changes: Cmd('git') failed due to: exit code(1)
opaldemo-opal_server-1  |   cmdline: git pull -v origin
opaldemo-opal_server-1  |   stderr: 'fatal: Could not read from remote repository.'
Gracefully stopping... (press Ctrl+C again to force)

Hi @maurice-freitag - thanks for reporting.
@asafc , @roekatz  - who'd be best to look into this?
@maurice-freitag can you try and run Git manually on the server and see if it works / what errors you get?
Might provide additional insight

Could this be the issue?
$ ssh -vT git@github.com
OpenSSH_8.4p1 Debian-5+deb11u1, OpenSSL 1.1.1n  15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to github.com [140.82.121.3] port 22.
debug1: Connection established.
debug1: identity file //opal/.ssh/id_rsa type -1
debug1: identity file //opal/.ssh/id_rsa-cert type -1
debug1: identity file //opal/.ssh/id_dsa type -1
debug1: identity file //opal/.ssh/id_dsa-cert type -1
debug1: identity file //opal/.ssh/id_ecdsa type -1
debug1: identity file //opal/.ssh/id_ecdsa-cert type -1
debug1: identity file //opal/.ssh/id_ecdsa_sk type -1
debug1: identity file //opal/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file //opal/.ssh/id_ed25519 type -1
debug1: identity file //opal/.ssh/id_ed25519-cert type -1
debug1: identity file //opal/.ssh/id_ed25519_sk type -1
debug1: identity file //opal/.ssh/id_ed25519_sk-cert type -1
debug1: identity file //opal/.ssh/id_xmss type -1
debug1: identity file //opal/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
debug1: Remote protocol version 2.0, remote software version babeld-9727ed99
debug1: no match: babeld-9727ed99
debug1: Authenticating to github.com:22 as 'git'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8
debug1: Host 'github.com' is known and matches the RSA host key.
debug1: Found key in //opal/.ssh/known_hosts:1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: //opal/.ssh/id_rsa
debug1: Will attempt key: //opal/.ssh/id_dsa
debug1: Will attempt key: //opal/.ssh/id_ecdsa
debug1: Will attempt key: //opal/.ssh/id_ecdsa_sk
debug1: Will attempt key: //opal/.ssh/id_ed25519
debug1: Will attempt key: //opal/.ssh/id_ed25519_sk
debug1: Will attempt key: //opal/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,ecdsa-sha2-nistp521,ecdsa-sha2-nistp384,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: //opal/.ssh/id_rsa
debug1: Trying private key: //opal/.ssh/id_dsa
debug1: Trying private key: //opal/.ssh/id_ecdsa
debug1: Trying private key: //opal/.ssh/id_ecdsa_sk
debug1: Trying private key: //opal/.ssh/id_ed25519
debug1: Trying private key: //opal/.ssh/id_ed25519_sk
debug1: Trying private key: //opal/.ssh/id_xmss
debug1: No more authentication methods to try.
git@github.com: Permission denied (publickey).

The correct key (~/.ssh/opal_repo_ssh_key) is never mentioned here.

@orishavit @roekatz can one of your please look into it?
(@maurice-freitag has provided a docker compose, start there)

Hey @maurice-freitag, can you check if the value you pass to OPAL_POLICY_REPO_SSH_KEY is encoded as documented here? https://docs.opal.ac/getting-started/running-opal/run-opal-server/policy-repo-location - i.e. one line, replace line breaks with _.

Hey again, I successfully reproduced the problem with your docker-compose file, and created a PR (#366) with a fix, should be available in the next couple of days.

Hey again, I successfully reproduced the problem with your docker-compose file, and created a PR (#366) with a fix, should be available in the next couple of days.

That was fast, thank you 😊

fixed by #366

authors: asafc maurice-freitag orishavit orweis

repo: permitio/opal


text:
Reset signals after Screen wrapper/close

Hi Peter,
I've been using asciimatics for a while now (thank you), and I've finally tracked down a bug involving terminal resize AFTER asciimatics is no longer being used. It looks like a signal handler for terminal resize is set, which disables and re-enables curses, however this signal handler continues to persist for the duration of the python process, causing curses to be enabled and scrambling text whenever the terminal is resized, even after asciimatics wrapper has closed and called endwin is called for curses.
The line in question is:
asciimatics/screen.py:1861:
        signal.signal(signal.SIGWINCH, self._resize_handler)

Perhaps something like signal.signal(signal.SIGWINCH, signal.SIG_DFL) could be in _CursesScreen.close for when restore is True.
I think I may be using asciimatics differently than everyone else (wrapper doesn't last for the entirety of the python process), but perhaps my use-case is valid.
Let me know what you think,
Bryce

Sounds like a good plan to tidy that up properly to me!  Thanks for taking the time to fix up the code.
I've had a quick look and have requested a couple of changes to try to catch all the ways the signal handling could go wrong.

All done!  Thanks for the fix.

authors: brycepg peterbrittain

repo: peterbrittain/asciimatics


text:
Always pass namespaced key to the subscriber of instrumentation API

To be consistent with other events (e.g. read, write), namespaced keys should be passed to the subscribers of the following events:

fetch_hit
generate
read_multi
fetch_multi

@kaorimatz Any chance you could rebase this?

Hi @petergoldstein, I've just rebased on master. Could you please take a look?

Thanks!

Thanks for merging!

authors: kaorimatz petergoldstein

repo: petergoldstein/dalli


text:
Allow tuple return values to include the () type.

Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
If a function returns a tuple with a () type, treat it as valid, but do not emit a binding or set data in output.
This will enable something like:
#[func]
...
pub fn create_blob(request: &HttpRequest) -> ((), Blob) {
...
}

Where $return isn't bound and no return value is set in the InvocationRequest, but the blob is set in the output data.
In theory, this example should create a blob, but the HTTP client should get a 204 response.
Also: check that -> () return is supported (treat as no return).
TODO: investigate a more ergonomic mechanism.
Describe alternatives you've considered
N/A
Additional context
N/A

Confirmed this is supported by the Azure Functions Host to function as expected.
Confirmed that -> () is already treated as no return value by syn.

repo: peterhuene/azure-functions-rs


text:
"Failed to launch the browser process" on Ubuntu

When trying to scrape images from my Ubuntu machine, I get the following error:
Error: Failed to launch the browser process!
[0220/172827.691150:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

Hi @SpeckyYT  , sorry for the late response.
You should use a bash repl instead of a nodejs repl.
Example: https://repl.it/join/hylyxvxc-peterevers

I never used repl in my life.
I have an Ubuntu Machiene.

Woops, I was a little to enthousiastic closing issues.
Do you pass any options?
{args: ['--no-sandbox', '--disable-setuid-sandbox']}

Will not work as root user. So you should either remove that or run it as non-root user

it works correctly now, thanks.

authors: SpeckyYT pevers

repo: pevers/images-scraper

license: isc


text:
Missing "softexco" company from peviitor.ro

URL: https://peviitor.ro/
browser: Microsoft Edge
device: Computer
OS: windows

Steps to reproduce

Open peviitor URL
Put the name "softexco" in the search field
Press the button "Caută"
Pay attention that is no displayed

Expected results

It should displayed on peviitor.ro the company "softexco"

Actual results

There is no displayed the company "softexco" on peviitor.ro

Fixed can you retest?

Retest.

authors: IvanSorina RaresCode

repo: peviitor-ro/JobsScrapers


text:
Verify that "Barasti" is listed in the drop-down menu

Description:
When user writes "Bărăști" the location appears in the drop-down menu next to the comune and the county witch is a part.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Bărăști"

Expected results
The location appears in search bar as "Bărăști" and in the drop-down menu appears as "Bărăști, Alba (Albac)"


text:
"Șimnicu de Sus" , "Albești" , "Cornetu" , "Deleni" , "Dudovicești" , "Duțulești" are listed in the drop-down menu

Description:
When user writes "Șimnicu de Sus" , "Albești" , "Cornetu" , "Deleni" , "Dudovicești" , "Duțulești" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Șimnicu de Sus"
Expected results
The location appears in the drop-down menu as "Sat Șimnicu de Sus, DOLJ (Șimnicu de Sus)"

Step 2
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Albești"
Expected results
The location appears in the drop-down menu as "Sat Albești, CLUJ (Șimnicu de Sus)"

Step 4
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Cornetu"
Expected results
The location appears in the drop-down menu as "Sat Cornetu, DOLJ (Șimnicu de Sus)"

Step 6
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Deleni"
Expected results
The location appears in the drop-down menu as "Sat Deleni, DOLJ (Șimnicu de Sus)"

Step 8
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Dudovicești"
Expected results
The location appears in the drop-down menu as "Sat Dudovicești, DOLJ (Șimnicu de Sus)"

Step 10
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 11
Write in the search bar "Duțulești"
Expected results
The location appears in the drop-down menu as "Sat Duțulești, DOLJ (Șimnicu de Sus)"


text:
"LUGOJ" is listed in the drop-down menu

Description:
"LUGOJ" is listed in the drop-down menu alongside its corresponding county, according to the law
Precondition:
The website is up an running.

Step 1
Type "LUGOJ" in the search bar.
Expected results
The location is listed in the drop-down menu as " Municipiul LUGOJ, TIMIȘ".


text:
Image zoom function

I would like to have a zoom function in Chainer functions.
http://docs.scipy.org/doc/scipy-0.15.1/reference/generated/scipy.ndimage.interpolation.zoom.html
The zoom function enlarges the images into each spatial dimension, possibly with different multiplier.
Zoom has many usecase --- especially, a zoom is the (right-)inverse of pooling, so the zoom can be used to implement the autoencoder for layers that includes pooling. It can also be used to produce new images from the neural network.
By the way, 2x zoom (and theoretically, any integer zoom) can already be implemented using existing Chainer primitives. Here is some tiny implementation together with tests.
https://gist.github.com/nushio3/d87c3bd1bd43eb034955

Great! We would like to discuss and determine detailed specification of zoom function. Your reference code would certainly be useful for the discussion.

We have now unpooling_2d (which does upsampling). http://docs.chainer.org/en/stable/reference/functions.html#unpooling-2d

repo: pfnet/chainer


text:
Perl warning errors when running the check_pgbackrest command

Versions:

OS: Red Hat Enterprise Linux release 8.8 (Ootpa)
Perl: v5.26.3
pgbackrest: 2.47
check_pgbackrest

Hello! It seems that after upgrading my pgbackrest version from 2.46 to 2.47 the output of check_pgbackrest started to contain Perl warnings too:
$ sudo ./check_pgbackrest --service=archives --stanza=db01 --latest-archive-age-alert=12h
Use of uninitialized value $oldest_bck_archive_start in string lt at ./check_pgbackrest line 1047.
Use of uninitialized value $latest_bck_archive_start in concatenation (.) or string at ./check_pgbackrest line 1126.
Use of uninitialized value in concatenation (.) or string at ./check_pgbackrest line 1127.
Use of uninitialized value in concatenation (.) or string at ./check_pgbackrest line 1128.
Use of uninitialized value $oldest_bck_archive_start in concatenation (.) or string at ./check_pgbackrest line 1130.
Use of uninitialized value in concatenation (.) or string at ./check_pgbackrest line 1131.
Use of uninitialized value in concatenation (.) or string at ./check_pgbackrest line 1132.
WAL_ARCHIVES OK - 868 unique WAL archived, latest archived since 49s | latest_archive_age=49s num_unique_archives=868

I can read code but I have 0 experience with Perl, but it seems that by adding: no warnings 'uninitialized'; at the top of the file I get rid of these, but I'm reporting it just in case is something worth fixing!
Thanks for your great job maintaining this project! (L)

Mmmm weird, it seems I can't reproduce the error myself anymore either. I can also confirm that the versions from perl, pgbackrest and check_pgbackrest haven't changed, so maybe a library that the check was using?
Anyways, this can be closed as the issue is gone now.
Thanks for looking into it!

license: PostgreSQL


text:
Delete unnecessary CPP

staged-gg only supports GHC 9.0 or later, making most uses of CPP in the code unnecessary.

I'd rather keep the code 1-to-1 with what is in generic-deriving.

I think that was made because th-abstraction-0.4 wasn't yet released, or some other as silly reason. Happy to accept a patch, I'm not worried about depending on th-abstraction.

I've repurposed the PR to synchronize the generic-deriving–related internals.

authors: RyanGlScott phadej

repo: phadej/staged-gg


text:
ERROR : SH: 1: TS-NOT FOUND

I have deleted cache insert the code 3x ,copy paste the code and ran the npm install 3x before npm run start and I am still receiving an error. Can I please get assistance thank you

Try to check the pin comment on youtube or #106


text:
🛑 proxy index is down

In 3779999, proxy index (https://index.phantomic.live/) was down:

HTTP code: 404
Response time: 227 ms

Resolved: proxy index is back up in a6d5455 after 22 minutes.


text:
Is it possible to have a simple json example??

Using a simple data.json file to populate a simple test case??

Support questions should be directed to stack overflow.
var gulp = require('gulp');
var jade = require('gulp-jade');

var data = require('./data.json');

gulp.task('jade', function(){
    return gulp.src('**/*.jade')
        .pipe(jade({ locals: data })
        .pipe(gulp.dest('build');
});

If you want to submit a PR that adds this example to the readme with some description, I will review it.

authors: miroamarillo phated

repo: phated/gulp-jade


text:
RC Test: Faraday's Electromagnetic Lab 1.0.0-rc.1

RC Test
Mentions: @arouinfar @ariel-phet @kathy-phet @KatieWoe @Nancy-Salpepi
Simulation links

github repository for issues
phet top-level directory
sim: all_phet.html
phet-io wrapper index
link to phet-io zip file

Test Matrices

General Test Matrix
PhET-iO Test Matrix

Features included

PhET-iO
Dynamic Locale
Alternative Input
UI Sound
Sonification
Description
Voicing

Focus and Special Instructions
Be on the lookout for common-code regressions, related to changes announced recently in the Slack#quality-assurance channel.
This sim is part of a suite of 4 sims, all being released and tested at the same time. Faraday's Electromagnetic Lab is the full sim, and should therefore receive a full RC test. The other sims are derivates, and require only an RC spot-check.
The QA issues for the other sims in this suite are:

https://github.com/phetsims/qa/issues/1117
https://github.com/phetsims/qa/issues/1118
https://github.com/phetsims/qa/issues/1119

Issues to Verify
These issues have the "status:ready-for-review" label. Unless an issue says to close after verifying, assign the
issue back to the developer.

[ ] https://github.com/phetsims/faradays-electromagnetic-lab/issues/2

For QA...

General features

What to Test

Click every single button.
Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.

If there is sound, make sure it works.
Make sure you can't lose anything.
Play with the sim normally.
Try to break the sim.
Test all query parameters on all platforms. (
See QA Book for a list of query parameters.)
Download HTML on Chrome and iOS.
Make sure the iFrame version of the simulation is working as intended on all platforms.
Make sure the XHTML version of the simulation is working as intended on all platforms.
Complete the test matrix.
Don't forget to make sure the sim works with Legends of Learning.
Test the Game Up harness on at least one platform.
Check this LoL
spreadsheet and notify AR or AM if it not there.
If this is rc.1 please do a memory test.
When making an issue, check to see if it was in a previously published version.
Try to include version numbers for browsers.
If there is a console available, check for errors and include them in the Problem Description.
As an RC begins and ends, check the sim repo. If there is a maintenance issue, check it and notify developers if there
is a problem.
As the RC ends, please review the QA credits in the about dialog. If the QA credits are complete and correct, please
add a comment in the RC test issue indicating so. If not, please open a new issue and specify what changes should be
made.

PhET-iO features

What to Test

Make sure that public files do not have password protection. Use a private browser for this.
Make sure that private files do have password protection. Use a private browser for this.
Make sure standalone sim is working properly.
Make sure the wrapper index is working properly.
Make sure each wrapper is working properly.
Launch the simulation in Studio with ?stringTest=xss and make sure the sim doesn't navigate to youtube
For newer PhET-iO wrapper indices, save the "basic example of a functional wrapper" as a .html file and open it. Make
sure the simulation loads without crashing or throwing errors.
Load the login wrapper just to make sure it works. Do so by adding this link from the sim deployed root:/wrappers/login/?wrapper=record&validationRule=validateDigits&&numberOfDigits=5&promptText=ENTER_A_5_DIGIT_NUMBER

Further instructions in QA Book
Conduct a recording test to Metacog, further instructions in the QA Book. Do this for iPadOS + Safari and one other
random platform.
Conduct a memory test on the stand alone sim wrapper (rc.1).
Test one platform combination with ?phetioDebug=true on the Studio and State wrapper.
If Pan/Zoom is supported, make sure that it works when set with PhET-iO State.
Test that the sim works offline:

Click the link to the phet-io zip file (at top of issue) to download the zip file.
Unzip it to a spot locally.
Open index.html by double clicking it on your desktop or in a Finder-view.
It should look like the standalone version of the sim in PhET-iO brand.

Accessibility features

What to Test

Specific instructions can be found above.

Make sure the accessibility (a11y) feature that is being tested doesn't negatively affect the sim in any way. Here is
a list of features that may be supported in this test:

Alternative Input
Interactive Description
Sound and Sonification
Pan and Zoom
Mobile Description
Voicing

Test all possible forms of input.

Test all mouse/trackpad inputs.
Test all touchscreen inputs.
Test all keyboard navigation inputs (if applicable).
Test all forms of input with a screen reader (if applicable).

If this sim is not in this list or up to date there, make an
issue in website to ask if PhET research page links need updating. Please
assign to @terracoda and @emily-phet.

Screen Readers
This sim may support screen readers. If you are unfamiliar with screen readers, please ask Katie to introduce you to
screen readers. If you simply need a refresher on screen readers, please consult the
QA Book, which should have all of the information
you need as well as a link to a screen reader tutorial made by Jesse. Otherwise, look over the a11y view before opening
the simulation. Once you've done that, open the simulation and make sure alerts and descriptions work as intended.

Platforms and Screen Readers to Be Tested

Windows 10 + Latest Chrome + Latest JAWS
Windows 10 + Latest Firefox + Latest NVDA
macOS + Safari + VoiceOver
iOS + Safari + VoiceOver (only if specified in testing issue)

Critical Screen Reader Information
We are tracking known screen reader bugs in
here. If you find a screen reader bug,
please check it against this list.

Keyboard Navigation
This sim supports keyboard navigation. Please make sure it works as intended on all platforms by itself and with a
screen reader.
Magnification
This sim supports magnification with pinch and drag gestures on touch screens, keyboard shortcuts, and mouse/wheel
controls. Please test magnfication and make sure it is working as intended and well with the use cases of the
simulation. Due to the way screen readers handle user input, magnification is NOT expected to work while using a screen
reader so there is no need to test this case.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?
Here's a template for making issues:
  Test Device

  blah

  Operating System

  blah

  Browser

  blah

  Problem Description

  blah

  Steps to Reproduce

  blah

  Visuals

  blah

  Troubleshooting Information

  blah

Who should I assign?
We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Memory tests look ok
PhET Brand:

PhET-iO:

Since we'll need an RC spot-check for https://github.com/phetsims/faradays-electromagnetic-lab/issues/194... Yes, please do create an issue for the overlapping pointer areas.

QA is done

Thanks QA! All issues have been addressed, so proceeding with 1.0.0-rc.2 spot check.

authors: KatieWoe pixelzoom

repo: phetsims/qa


text:
Convert PartialPDOMTrail to TypeScript

There are still some scenery files that are in TypeScript. I'll convert one of them, then ask for review from @jessegreenberg or @jonathanolson.

I converted it in the commit, @jessegreenberg does it seem OK to you? Please close if so.

Great, thanks! Closing.

authors: jessegreenberg samreid

repo: phetsims/scenery


text:
Zusätzliche Daten Sonnenaufgang-/untergang Mondphasen usw. ELV 980WIFI aus Box holen möglich?

Hallo Daniel,
ich hab gesehen das Sonnenaufgang/untergang, Mondphasen im Display der Station angezeigt werden kann man diese Daten auch auslesen?
Gruß
Norbert

Leider nein, die kommen nicht mit der API raus.
Ich denke aber mal die wären relativ leicht aus den GEO Koordinaten bestimmbar die ioBroker ja hat.

authors: Nachgefragt phifogg


text:
Add LuaRock package

That would be quite helpful https://luarocks.org/

This basically means "make a stable release". There is none yet. In the meantime you can do:
luarocks install https://raw.githubusercontent.com/philanc/plc/master/rockspec/plc-scm-1.rockspec

I am not sure I understand the relation between "a stable release" and the rockspec file (not familiar enough with Luarocks).
Should/can I just register the current rockspec (plc-scm-1.rockspec) at luarocks.org so that users can luarocks install plc and get the last version?

No, if you do that it will be classified as a development version and not install that way.
The easiest solution is to decide on a release number, add a tag and create a rockspec that installs that tag. See for instance here, in particular the "branch" field in "source", as opposed to the SCM rockspec here. Then you can just register luarocks upload that rockspec.

Thanks for the explanation and for the example. I created a 'v0.5' release, added a rockspec for it and uploaded it to Luarocks.org.
So now, it is possible to install plc (this release) with luarock install plc
Which is what I think Italo Maia suggested in the first post.

Yes, that's great, I just wasn't sure if you wanted to do it yet!

Thanks to Italo for the nudge and to you for the help!

Thanks @philanc @catwell

authors: catwell imaia philanc

repo: philanc/plc


text:
Family App : Reverse the display order and reduce the number of records taken

In https://mvcfamilyapp20191103.azurewebsites.net/DailyLogs
Which has name MVC_FamilyApp_2019_11_02_Core_SQL
Just reverse the sort order so the most recent items are at the top, also reduce the amount of data taken to just 30 records

Have to re-add the environment variable to get the code to work locally on my MAC
Yes found it from Azure, added it to my System Environment variables and rebooted by (Windows Parallels) computer

OK so the firewall was not configured to allow my IP from home so I have found the Azure Server in the right resource group and added the IP to the firewall rules.  The app now works locally; now to push it to Azure!

Publishing to existing resource group MVCFamilyApp201910 and existing app MVCFamilyApp20191103
Job done
This has worked!!!
Hurray !!!
Moving on and gaining progress !!!


text:
Remove println from find_definition

Resolves #655
Couldn't find anything that wrote to stderr, but this println sounded like it might be the problem.
cc @nrc

Adding the clippy lint actually detected another println! I had missed. Will merge as soon as travis passes.

repo: phildawes/racer


text:
Inconsistent behavior when selecting track

When selecting a track in albums or playlists, there is some inconsistent behavior, which depends on whether a track is currently playing or not.
Steps to reproduce, using "squeezer":

First, ensure no track is playing.
Go into an album and touch a track. This track will now play, and after that it will continue playing all tracks of the album. Nice!
Now, with the track still playing, go back and then into a different album and touch a track.  A menu will be presented, to select an action:

Note: There is a similar (but slightly different) inconsistency when using "OrangeSqueeze" but I'm not sure how widespread the use of this app is so I won't expand on it here.
Currently using Deezer Plugin v2.72.0
My server info can be seen in issue #24

This is a LMS feature. Go on the settings (I think player settings) and look to options defeat touch to play

Yes, you're right - just tried it and it works fine. Thanks for the help.
Closing the issue.


text:
Theme prompt?

Is there an option the change the background or foreground of tofi prompt?

Not currently. I'm not sure about adding a background colour, as how that would work is a bit unclear. I might add the option to change the foreground though.

I don't know if this helps but I think bemenu uses a similar protocol and it has prompt theming may be digging into source might help you.
Thanks for the amazing menu :)

Alright, I've done this and much more in 3e11dc2327d70e860b3ad32db386aadd549393b3 - see my comment at https://github.com/philj56/tofi/issues/65#issuecomment-1322826949.

Thanks mate
Shall I close this?

No problem - it is closed already?


text:
Pledge tightening

Hello,
This tightens pledge(2) usage on OpenBSD.  First, it drops the "unix" promise by calling pledge after XOpenDisplay and then, when the initalization is done, drops "rpath" too.  This greatly reduces the number of syscalls that remains available to the program during its main loop, without breaking it of course.  I'm testing it with tiramisu on OpenBSD and seems to work just fine.

Merged!
Thanks for the PR!
I'm gonna bump the version to sync with the changes.

Thanks!
Actually, hum, I have to apologize for sending the pr too soon.  It seems that "sometimes" xnotify ends up re-opening the fonts (I'm not too into fonconfig but I guess that it may need to open other fonts at runtime) so the "rpath" pledge promise needs to be kept.  i.e. the last commit should be reverted (the one adding the second pledge call.)
I'm sorry but I couldn't hit that in a couple of hours of usage, but it happened right now.
In the end, "stdio rpath" is still a very good (and strict) pledge policy, so not big loss :)

Yeah, it has a fallback font system, in the case the font you configured has not the character being drawn (useful for CJK glyphs). So font files can be open after initialization.

Thanks for reverting the commit and tagging a newer release and sorry again for the troubles!
(fwiw i think that I was fine until it tried to display a notification with an emoji that triggered the loading of another font and thus the pledge violation.)

Thanks for reverting the commit and tagging a newer release and sorry again for the troubles!

np :)

I had to remove pledge.
Imlib2 links libraries at run time, like libjpeg and librsvg, which requires more promises (like prot_exec and recvfd) than the ones previously used.
I need to check which promises to add and whether it is relevant to add them before re-adding pledge again.

authors: omar-polo phillbush

repo: phillbush/xnotify


text:
Update new-and-shiny

Now that PHP 7.1 is out, the New and Shiny page wording needs updating.

Cheers!

authors: GaryJones philsturgeon

license: unlicense


text:
Bug in ArrayList

In contains method of ArrayList if condition to check if value is equal  should return false, when the condition is not satisfied.

I don't think that's correct. You have to check each element in the array before you can return false. Maybe I don't follow, what looks incorrect to you?
public boolean contains(T value) {
for (int i = 0; i < size; i++) {
T obj = array[i];
if (obj.equals(value)) return true;
}
return false;
}

Sorry for closing and reopening. I was doing a test this morning. I got NPE when value is not found.

Can you give me an example, I can't think of any situation which'll cause a NPE in the contains method. if obj is NULL that may happen but that shouldnt happen.

What you said is correct, I am getting NPE when the obj in NULL - I am searching for value that is not in the list, which I think is a valid use case. For this instead if returning FALSE I get the NPE.

The only way I can think of to get obj==NULL is if you have inserted NULL which I may not be checking. I'll look at the code later and see if that's possible.


text:
Exponentation algorithms

Hello! I wanted to add some algorithms but I needed these power algorithms first so I made this PR.
By submitting this pull request I confirm I've read and complied with the below requirements.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.

Sure, I'll merge the pull request but it looks like the state of your repository it a bit stale. I see a bunch of old commits included which shouldn't be, can you rebase and reapply your changes?

Shame on me, I made fixed PR.


text:
ASP.NET Core Setup

Is there a full documentation for ASP.Net Core setup?

@matigarowel  Maybe this help: https://github.com/phnx47/dapper-repositories#example-with-aspnet-core-and-di

Thanks a lot for your response I already tried based on documentation. I only have error for "DbFactory", what library would I install in nuget? There are suggestion by visual studio and still an error.

DbFactory - it is your own implementation, not a library.
Alternatives

Register IDapperDbContext from here
Register IDbConnection as Transient, and your repositories based  on DapperRepository<TEntity> as Transient


text:
Twitter (X)

Describe the requested icon(s)

References

Additional context

Closing as duplicate of #309

authors: mejorapress rektdeckard

repo: phosphor-icons/homepage