Problem with Supported devices via SPI / Board ESP32 (non mini)

Hello,
currently the sensor MPU-92.65 is working in betaflight and the sensor MPU-9250/6500 is not working (Flag: NO_GYRO)
The interesting part is, if I plug in the sensor MPU-92.65 open betaflight and connect  & then unplug the sensor and plug in the
sensor MPU-9250/6500 gyro is working. I think there is a problem during initialization. But I'm not sure how to fix.
MPU-92.65 is working

MPU-9250/6500 is not working (Flag: NO_GYRO)

Hi @ghehssalto, write here your connections between gyro and esp board.

yes sure:

ADO to pin 19
SCL to pin 18
SDA to pin 23
NCS to pin 5

@ghehssalto It seems that your gyro module is based on MPU-6555. I've never meet such chip so far. I have to chek if it is comatible with MPU-6500 or MPU9250. In few days I can prepare special firmware to verify, but At the moment assume, it is not supported.

@ghehssalto It seems that your gyro module is based on MPU-6555. I've never meet such chip so far. I have to chek if it is comatible with MPU-6500 or MPU9250. In few days I can prepare special firmware to verify, but At the moment assume, it is not supported.

Thank you very much for your research. How did you figure that out that it is based on the MPU-6555. Do you have a Link to taht page?
I bought that one MPU-9250/6500:
https://de.aliexpress.com/item/4001201664263.html?spm=a2g0n.order_detail.order_detail_item.3.44e463682DCVEh&gatewayAdapt=glo2deu
(Note Pic is not matching the pic from above to the MPU-9250/6500 sensor.

@ghehssalto I googled symbols on a chip. It is probably compatible, but retuns diferrent id so that it is not detected. With chinese counterfeit you never know what you get. I need to verify datasheet first.

hi @ghehssalto this is MPU6500.
Many modules from Cina of this are MPU6500.
Few or none are MPU9250.

@ghehssalto I googled symbols on a chip. It is probably compatible, but retuns diferrent id so that it is not detected. With chinese counterfeit you never know what you get. I need to verify datasheet first.

okay, are you looking @ the datasheet for mpu 6555?

hi @ghehssalto this is MPU6500. Many modules from Cina of this are MPU6500. Few or none are MPU9250.

how do you know that or do u just assume? And If so why I have to do a workaround (see my first message above) to get them work? Because of de decide id?

hi @ghehssalto ...
I just added the mpu6555 ID to this firmware, you can try flashing it with this firmware
firmware.zip

@AutoPlantBali
Thank you, but the connection is not made properly. It keeps like that:

@ghehssalto  Is there a serial monitor running in another application besides betaflight configurator?

@AutoPlantBali no, did you modify the most recent firmware version? Or an older one?

@ghehssalto I used v0.2.0-alpha5 and modified it, adding ID mpu6555 (0x7C) to the 6500 library. The chip can be read but can't use the library on the 6500 so it crashes when connected in betaflight

Could we try the same approach using v0.2.0-RC1?

@ghehssalto  I have made it with base v0.2.0-RC1.. flash with this firmware, if you still can't connect to the betaflight configurator, try opening the serial monitor (115200) and press the reset button, copy the log that appears.
firmware.zip

@AutoPlantBali still not connecting to betaflight:
Serial monitor output:

@ghehssalto problem flash firmware, esp32 boot loop
same isssue
https://github.com/rtlopez/esp-fc/issues/82#issuecomment-1711475791

fix-imu.zip

using all file in fix-imu.zip

0x00 when flash firmware

@AutoPlantBali still not connecting to betaflight:
Serial monitor output:

Thank you, now it is connecting to betaflight but still no gyro is showing up. Same behavior as before.
"if I plug in the sensor MPU-92.65 open betaflight and connect & then unplug the sensor an plug in the
sensor MPU-9250/6500 gyro is workings."

using all file in fix-imu.zip

Thank you, now it is connecting to betaflight but still no gyro is showing up. Same behavior as before.
"if I plug in the sensor MPU-92.65 open betaflight and connect & then unplug the sensor an plug in the
sensor MPU-9250/6500 gyro is workings."

Go to CLI, type reboot then enter... copy all the logs that appear here

Getting that log:
//# reboot
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
I UART 0 0 1 115200 1 3
I UART 1 1 1 115200 33 32
I UART 2 2 64 100000 17 16
I F_CPU 240000000
E EEPROM wrong magic
I SPI SETUP 18 23 19 1
I I2C SETUP 21 22 1000 1
I SPI DETECT MPU9250 5 0
I SPI DETECT MPU6500 5 0
IMU MPU6555
I SPI DETECT MPU6555 5 0
I SPI DETECT ICM20602 5 0
I SPI DETECT LSM6DSO 5 0
I I2C DETECT MPU9250 0
I I2C DETECT MPU6500 0
I I2C DETECT ICM20602 0
I I2C DETECT MPU6050 0
IMU MPU6555
I I2C DETECT MPU6555 0
I I2C DETECT LSM6DSO 0
I MOTOR CONF 9 0 480 0
I MOTOR PIN 0 27
I MOTOR PIN 1 25
I MOTOR PIN 2 4
I MOTOR PIN 3 12
I MOTOR PIN 4 -1
I MOTOR PIN 5 -1
I MOTOR PIN 6 -1
I MOTOR PIN 7 -1
I FUSION MAHONY 50
I RX SBUS

I SPI DETECT MPU6555 5 0
I I2C DETECT MPU6555 0
not detected in spi and i2c for mpu6555, has this sensor ever been used and is working normally? Or is this the first time you use it when you buy it?

Yes it is the first time, I use it. If I read the register 117 (who_am_i) i receive the following integer values respectively.
sensor MPU-92.65 -> 112 (as it should be)
sensor MPU-9250/6500 -> 117
Maybe it's helpful.

@ghehssalto MPU-92.65 response 112 this is MPU6500
MPU-9250/6500 response 117 this is Unknown or fake Invensense IMU, use 'IMU_Generic'
reference:
https://github.com/AutoPlantBali/FastIMU/blob/17ade12e96c771c1a5fccb142871a039a173061f/examples/IMUIdentifier/IMUIdentifier.ino#L40C29-L40C78

@ghehssalto do you want to try again, I made a response ID set to 117..
--> set flash address 0x10000

-->use this file:
firmware.zip
Go to CLI, type reboot then enter... copy all the logs that appear here

@AutoPlantBali thx.
Now it is working! gyro is reachable!
Did u just changed the Device ID? Could you pls send my the source files of that specifc firmware pls?
current log:
//# reboot
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
I UART 0 0 1 115200 1 3
I UART 1 1 1 115200 33 32
I UART 2 2 64 100000 17 16
I F_CPU 240000000
I EEPROM loaded
I SPI SETUP 18 23 19 1
I I2C SETUP 21 22 1000 1
I SPI DETECT MPU9250 5 0
I SPI DETECT MPU6500 5 0
IMU MPU6555
POWER UP  1
SET CLOCK
SET CLOCK  1
SET SLEEP
SET SLEEP  1
I SPI DETECT MPU6555 5 1
SET DLPF MODE
SET DLPF MODE  1
GET RATE
I MOTOR CONF 9 0 480 0
I MOTOR PIN 0 27
I MOTOR PIN 1 25
I MOTOR PIN 2 4
I MOTOR PIN 3 12
I MOTOR PIN 4 -1
I MOTOR PIN 5 -1
I MOTOR PIN 6 -1
I MOTOR PIN 7 -1
SET DLPF MODE
SET DLPF MODE  1
GET RATE
SET RATE
GET RATE
SET RATE  1
SET FULL GYRO RANGE
SET FULL GYRO RANGE  1
I GYRO INIT MPU6555 0 GET RATE
8000 8000 125
SET FULL ACCEL RANGE
SET FULL ACCEL RANGE  1
I ACCEL INIT MPU6555 501 1995 1
I FUSION MAHONY 50
I RX SBUS
I GYRO BIAS 3.57 1.02 -0.18

@ghehssalto some of the articles I read used the mpu9250 library, do you want to try again... this time I used the mpu9250 library... follow the method above and use the files I included
base on mpu9250.zip
Which of the two firmwares I made works well? I'll pull it over here later
same isssue:
https://github.com/kriswiner/MPU9250/issues/486

@ghehssalto some of the articles I read used the mpu9250 library, do you want to try again... this time I used the mpu9250 library... follow the method above and use the files I included
base on mpu9250.zip
Which of the two firmwares I made works well? I'll pull it over here later
same isssue: kriswiner/MPU9250#486

works perfektly fine!!!
Dude you are awesome thx!
Could you pls share your modded src files?

@ghehssalto is the magnetometer working properly?

@AutoPlantBali no, but its fine because I bougth the MPU-9250/6500 as 6 axis gyro (description of the seller).
But the MPU-92.65 should be a 9-axis gyro but the magnetometer is also not showing up, do I have to change someting?
thx

@skimans both sensor do not show the magnetometer:

:(, is there anything else?

@ghehssalto MPU9250 with ID 0x75 (117) without magnetometer, only 6-axis

@AutoPlantBali yes also according to the seller description.
But what is with the MPU-92.65, that one should work but it's not :(

GY-91 module have compass inside MPU9250

but is not good use this compass beocuse there are many noises in the fly.

@skimans thank you for the information. So you are alway switching off the magnetometer?
But the point is I bought the MPU-92.65 as a 9-axis gyro so I want to use alle features. If not possible I have to contact the supplier :(.

@ghehssalto usually i use magnetometer of module GPS..for example Beitian 880.
Mag is important to use only with GPS for Return to Home of quad using Gps_Rescue function in Betaflight.
For now is not important and you can disactivate.

@skimans Thanks know I got to Idea.
But anway I want check that the magnetometer of MPU-92.65 is working

@ghehssalto some of the articles I read used the mpu9250 library, do you want to try again... this time I used the mpu9250 library... follow the method above and use the files I included
base on mpu9250.zip
Which of the two firmwares I made works well? I'll pull it over here later
same isssue: kriswiner/MPU9250#486

Hello, I just checked today again and Heading is still increasing by +1 every 10 sec. using base on mpu9250.zip

@ghehssalto disconnect and reconnect betaflight configurator...

@AutoPlantBali yes Heading keeps increasing by 1 deg/4 sec.

@ghehssalto did you wait, until gyro calibration is finished? During this time gyro should not move. When finished you should see line "gyro bias ..." in terminal. Normaly it takes 2 seconds after powering board, but if gyro is poor or moving, it may never finish. Drift is symptom of lack callibration.

@rtlopez Thank you for your suggest. Yes I did it like that all the time, Heading is still increasing.

Could it be possible that neither my "MPU-92.65" nor my "MPU-9250/6500" has a magnetometer (tried via I2C & SPI BUS @ betaflight, with enabled magnetometer).
and device id 0x00 is responding random values

Read Reg. 0x00:

while Reg. 0x75 is returning 0x70 like it should be

Read Reg. 0x75:

@ghehssalto If it retuns 0x70 it is mpu6500, mpu9250 should return 0x71, so none of your boards have mag. In 9250 compas is connected through external i2c bus, so you cannot access it directly, but only in bypass mode. So by reading reg 0x00 you accesed gyro, not mag.

@rtlopez Okay thanks.

The chips seem to be rebranded / relabled MPU6555 (at least they seem to be the same functionally).

The Gyro is connected and seems to be working, though I did not yet test it in flight.

Sorry @AutoPlantBali already discovered that 👍🏻

I just continue this issue here, the gyto seems to work fine when connected to the PC, but as soon as I lift off, the quad starts spinning on the yaw axis quite fast

Hi @Mathew3000 check these things first

ensure that model i setup tab moves exacly in the same way as your device
ensure that motors spin in direction presented in motor tab
ensure that motors are connected in specified order like in motors tab
verify setting "Motor direction is reversed" in motors tab

Hey, after calibration, the random drift got better. For your suggestions:

I did, the model does move as I would expect
They spin in correct order
and I guess it was 2. and 4. combined, when I started the motors did not spin as I expected so I set "Motor direction is reversed" BUT that did not reverse the motors. My mistake was that after that I changed the pins on the motor but forgot to unset the reverse setting. I will try to check that tomorrow morning.

"Motor direction is reversed" desn't reverse the motors, it only tells firmware that motors are configured in that way, so can correctly command motors. Motors direction can only be set in esc configuration or rather by swapping motor wires (because there is no esc serial passthrough in this firmware).

I use Betaflight for 4 Years and have never needed it 🤦🏻♂

@Mathew3000 you can change direction of motors also in Bhleli Configurator of your Esc's.

So after resetting the Motor direction is reversed switch the copter flew. I managed to crash it after a barrel-roll, the controller seemed to have had a runaway and at the end of the roll it flipped away. I' will try the next attempts with my EFC32 when it arrives

GY-91 module have compass inside MPU9250

but is not good use this compass beocuse there are many noises in the fly.

Yours should be a refurbished gyroscope module. The refurbished chip does not have a magnetometer. Their prices are also different.


Update PHEE version in Mojafos to release 1.13.0

https://mifos.gitbook.io/docs/payment-hub-ee/release-notes/v1.13.0

@tdaly61 I have started working on this.

This was addressed in pull request #26


Second tuning for thomaswue

Check List:

[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
[x] All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
[x] Output matches that of calculate_average_baseline.sh

Execution time: 0.80s
Execution time of reference implementation: 120.37s

This incrementally improves upon the previous version and uses now a long value at a time searching for the delimiter and also for the hash collision check. Improves ~15% over previous version on my machine and runs now < 800ms.

@merykitty Your clever number parsing trick is the major aspect missing here I think. Let's join forces ;-).

@thomaswue Yes I think it would be helpful, since the branches are quite unpredictable.

That's awesome, loving this spirit! Exactly what I was hoping to get out of it, folks exchanging with and inspiring each other, which IMO is way more important than who ends up on number #1. Way to go! Still working on rebootstrapping the new eval machine, will get to running this (and all the other pending entries) later this week. Thanks for your patience!

@gunnarmorling sorry for cross-posting here, but what did you think running an GitHub Runner on the eval machine? and integrate the runner into the CI of the repo?

@jkroepke, I think that's an interesting idea. Could you open an issue for discussing it separately? Thx!

Alrighty, finally back to evaluations :)
This brings your time on the new machine (using 8 of its cores) from 00:03.911 (as per current version on main) down to 00:03.044 as of this branch! Will do a run of the Top 10 on all 64 cores a bit later this months, should be below 1 sec for sure.
I'll add @merykitty and @mukel as co-authors to the entry on the loeaderboard.

Cool, thank you!


Broken footer key highlighting feature

On app startup there is no highlighted footer keys.
the keys are highlighted when pressed, but going into search mode and coming back breaks the highlighting.

fixed by c9d5cc7fc84e0e416d86589984cc73136c244b18


Not working at all

Not seeing any chat message, no options, nothing. Getting this error in the f12 console:
Uncaught (in promise) TypeError: Cannot read property 'endTracking' of undefined
    at index.js:71
    at Function._call (foundry.js:194)
    at Function.callAll (foundry.js:153)
    at ClientDatabaseBackend.callback (foundry.js:9062)
    at foundry.js:9002
    at Array.map (<anonymous>)
    at ClientDatabaseBackend._handleDeleteDocuments (foundry.js:9002)
    at ClientDatabaseBackend._deleteDocuments (foundry.js:8912)
    at async Function.deleteDocuments (document.mjs:402)
    at async Combat.delete (document.mjs:463)
(anonymous) @ index.js:71
_call @ foundry.js:194
callAll @ foundry.js:153
callback @ foundry.js:9062
(anonymous) @ foundry.js:9002
_handleDeleteDocuments @ foundry.js:9002
_deleteDocuments @ foundry.js:8912
async function (async)
_deleteDocuments @ foundry.js:8903
delete @ backend.mjs:215
async function (async)
delete @ backend.mjs:212
deleteDocuments @ document.mjs:402
delete @ document.mjs:463
callback @ foundry.js:20505
submit @ foundry.js:20449
_onClickButton @ foundry.js:20412
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2

That's a very interesting bug, it is caused by game.users.players containing an entry with a false character id.

Turns out it is caused by a player user not having selected a character. A quick fix would be to see which user hasn't selected one and select a character for them. I'll add a check and fix for it in the next update.

It is not working for me either getting this error at the end of combat
index.js:71 Uncaught (in promise) TypeError: Cannot read property 'endTracking' of undefined
at assets.forge-vtt.com/bazaar/modules/ammo-tracker-fvtt/0.1.2/index.js:71
at Function._call (eval at  (assets.forge-vtt.com/bazaar/modules/lib-wrapper/<IP_ADDRESS>/lib-wrapper.js:1), :4:14)
at Function.callAll (foundry.js:153)
at ClientDatabaseBackend.callback (foundry.js:9062)
at foundry.js:9002
at Array.map ()
at ClientDatabaseBackend._handleDeleteDocuments (foundry.js:9002)
at ClientDatabaseBackend._deleteDocuments (foundry.js:8912)
at async Function.deleteDocuments (common/abstract/document.mjs:402)
at async Combat.delete (common/abstract/document.mjs:463)

It is not working for me either getting this error at the end of combat
index.js:71 Uncaught (in promise) TypeError: Cannot read property 'endTracking' of undefined
at assets.forge-vtt.com/bazaar/modules/ammo-tracker-fvtt/0.1.2/index.js:71
at Function._call (eval at (assets.forge-vtt.com/bazaar/modules/lib-wrapper/<IP_ADDRESS>/lib-wrapper.js:1), :4:14)
at Function.callAll (foundry.js:153)
at ClientDatabaseBackend.callback (foundry.js:9062)
at foundry.js:9002
at Array.map ()
at ClientDatabaseBackend._handleDeleteDocuments (foundry.js:9002)
at ClientDatabaseBackend._deleteDocuments (foundry.js:8912)
at async Function.deleteDocuments (common/abstract/document.mjs:402)
at async Combat.delete (common/abstract/document.mjs:463)

Yeah, that's being caused by a user account not having selected a character.

You can check which user it is by pasting this in the console
game.users.players.map(({data: {character}}) => game.actors.get(character))

Turns out it is caused by a player user not having selected a character. A quick fix would be to see which user hasn't selected one and select a character for them. I'll add a check and fix for it in the next update.

Very strange because I'm logging in as the player and she has definitely claimed a character.

That's weird. I'll be able to provide an alternative to that limitation on Sunday/Monday.

I got it working if all of the players have assigned characters, if one of them does not, all of them don't function properly.

Provided a fallback with V0.1.3


Allow more than 1 recipient for email alerts

Will require some logic in clean() function to parse spaces to extract email addresses and validate they are actual email addresses:
https://github.com/rackerlabs/scantron/blob/master/master/django_scantron/models.py#L118

Something like
from django.core.exceptions import ValidationError
from django.core.validators import validate_email

def check_email_address_validity(email_address):

    try:
        validate_email(email_address)
        valid_email = True

    except ValidationError:
        valid_email = False

    return valid_email

def validate_string_of_email_addresses(string_of_email_addresses):

    # .split() handles 2+ spaces between emails. .split(" ") will split only at 1 space increments.
    # string_of_email_addresses.split(" ") results in<EMAIL_ADDRESS>'', '', '', ''<EMAIL_ADDRESS>    email_addresses = string_of_email_addresses.split()

    for email_address in email_addresses:
        if check_email_address_validity(email_address) is False:
            raise ValidationError(f"Invalid email address found, enter space delimited: {email_address}")

string_of_email_addresses =<EMAIL_ADDRESS><EMAIL_ADDRESS>validate_string_of_email_addresses(string_of_email_addresses)

https://github.com/rackerlabs/scantron/pull/198

https://github.com/rackerlabs/scantron/pull/198


Map core and plugin assets within webpack

Hey there, is it possible to map and combine all the plugins and core assets within Sage webpack build?
Aside the theme assets, I'm struggling to find a way to combine the crap enqueued by plugins and core. Let me know if this makes any sense for you.

Hi @huraji,
It looks like the issue template is missing from this issue. Please take a look at the Contribution Guidelines, which will tell you exactly what your ticket has to contain in order to be processable.
Please do not use the issue tracker for personal support requests (use the Roots Discourse to ask the Roots Community for help, or if you want the Roots Team to dedicate some time to your issue, we offer our services as well).


mvn clean install -Dmaven.test.skip=true  is error

I compiled this source code, but it was wrong
command：mvn clean install -Dmaven.test.skip=true
Error log:
[ERROR] Failed to execute goal com.facebook.presto:presto-maven-plugin:0.3:generate-service-descriptor (default-generate-service-descriptor) on project presto-kudu: Execution default-generate-service-descriptor of goal com.facebook.presto:presto-maven-plugin:0.3:generate-service-descriptor failed: A required class was missing while executing com.facebook.presto:presto-maven-plugin:0.3:generate-service-descriptor: ml\littlebulb\presto\kudu\KuduClientConfig (wrong name: ml/littlebulb/presto/kudu/KuduClientConfig)
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>com.facebook.presto:presto-maven-plugin:0.3
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/D:/repository/com/facebook/presto/presto-maven-plugin/0.3/presto-maven-plugin-0.3.jar
[ERROR] urls[1] = file:/D:/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar
[ERROR] urls[2] = file:/D:/repository/com/facebook/presto/presto-spi/0.76/presto-spi-0.76.jar
[ERROR] urls[3] = file:/D:/repository/io/airlift/slice/0.7/slice-0.7.jar
[ERROR] urls[4] = file:/D:/repository/com/fasterxml/jackson/core/jackson-annotations/2.4.2/jackson-annotations-2.4.2.jar
[ERROR] urls[5] = file:/D:/repository/com/fasterxml/jackson/core/jackson-databind/2.4.2/jackson-databind-2.4.2.jar
[ERROR] urls[6] = file:/D:/repository/com/fasterxml/jackson/core/jackson-core/2.4.2/jackson-core-2.4.2.jar
[ERROR] urls[7] = file:/D:/repository/org/codehaus/plexus/plexus-utils/3.0.17/plexus-utils-3.0.17.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>ml.littlebulb.presto.kudu:presto-kudu:0.198.2-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

Closed as obsolete


Update versioning-basics-best-practices.md

Category

[X] Content fix
[ ] New article
[ ] Example checked item (delete this line)

What's in this Pull Request?

add the additional content in article.

Docs Build status updates of commit 773b7ea:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/microsoft-365-community, working directory: W:\rv3y-s, target branch: HEAD, target branch commit: 818a0d4f6d8b1c422640e105ee07acc2b2e7924c, source commit: 773b7eaabbb2cb7bf124ebc53212985401ec5186.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@PatD Can you please review these updates to your article?

Docs Build status updates of commit f9c8f5e:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/microsoft-365-community, working directory: W:\ejpa-s, target branch: HEAD, target branch commit: 818a0d4f6d8b1c422640e105ee07acc2b2e7924c, source commit: f9c8f5e299628993110277b8ecf6846ba9566599.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Thanks, @PrasadKasireddy!

@sympmarc  - Is anything wrong in my PR as it was closed. I just want to rectify if something did wrong as the build failed.
I can see my changes are merged through seperate PR -  https://github.com/MicrosoftDocs/microsoft-365-community/pull/165

@JoanneHendrickson sorted it out, so she will have to explain what the issue was. I think your repo may have been out of date when you issues the PR. I've added you to our list of contributors, which I'll be talking though on our PnP call today. https://twitter.com/SharePointMadam/status/1255834013840875526

Thanks @sympmarc


[BUG FIX] - Making JobInnerError object recursively defined

Based on this PR: Azure/azure-rest-api-specs#1627

We are essentially adding one more property to the JobInnerError object (recursively) in order to capture the additional error information that's returned by the service

This added property has been tested successfully by a team member

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines

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

Testing Guidelines

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

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@ro-joowan,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@shahabhijeet Friendly ping on this :)


Shouldn't the sample use Azure SignalR

Given that this is the docs section for Azure SignalR, shouldn't the sample use SignalR? Currently, it tells us to spin up the service and paste our service URL in the settings file, but the service is never actually hit/used. Or am I totally missing something?

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

ID: 589dec51-5df3-c655-f76e-e009bfbfbb07
Version Independent ID: 03d392c8-cd6c-bd4a-c2e4-653838f81023
Content: Azure SignalR Service serverless quickstart - C#
Content Source: articles/azure-signalr/signalr-quickstart-azure-functions-csharp.md
Service: signalr
GitHub Login: @sffamily
Microsoft Alias: zhshang

Thanks for the feedback! We are currently investigating and will update you shortly.

@MisinformedDNA, you clone the application sample as instructed in https://docs.microsoft.com/en-us/azure/azure-signalr/signalr-quickstart-azure-functions-csharp#clone-the-sample-application. After that, you switch back to the portal to copy the connection string info and paste it into local.settings.sample.json as instructed in Step 5 of https://docs.microsoft.com/en-us/azure/azure-signalr/signalr-quickstart-azure-functions-csharp#configure-and-run-the-azure-function-app as you said.
If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

The issue is that I don't see the connection string being used. The instructions tell us to set the connection string info in "AzureSignalRConnectionString", but if you do a search for "AzureSignalRConnectionString" in the sample code, there are no other results. Is this setting hard-coded into the framework?

The configuration parameter of "AzureSignalRConnectionString" is used by Azure Functions binding with SignalR Service, as you can see from the cloned source code, where it imports Microsoft.Azure.WebJobs.Extensions.SignalRService. Check the source codes for it at https://github.com/Azure/azure-functions-signalrservice-extension/blob/dev/src/SignalRServiceExtension/Config/SignalRConfigProvider.cs, you can find how this parameter is called. With the binding, you only need to set the value in the configuration file, the Azure Functions will be able to find this entry, and read its value.

#please-close

It would be awesome if the documentation could be updated to specify that the connection string name is hard coded.


TS2305: Module '"@mantine/core"' has no exported member 'rem'.

I get this error while running the following:
import  { rem} from '@mantine/core';
I'm using the newest versions of mantine and typescript.

You must update all @mantine/ packages to 6.0 to use rem function.

I already had updated to 6.0. I have removed and reinstalled all node_modules and it worked. Thanks for your help any way.


Serve examples.css via bower

For our project examples.css is exactly what we need, it would be much more convinient to get it via bower instead of copy-pasting.
Please consider to serve examples folder or just single css.

Triaging issues.  Thanks for the suggestion, though I'd rather keep this project to a single js file for now.


Knex Error knew migration, ERROR Empty .update() call detected, last docker image

Issue Summary
Migration failed on last docker image
To Reproduce
I just updated the image, the db migration failed during the process
ERROR Empty .update() call detected! Update data does not contain any values to update. This will result in a faulty query. Table: settings. Columns: value.
7/2/2020 2:27:07 PM
7/2/2020 2:27:07 PM Empty .update() call detected! Update data does not contain any values to update. This will result in a faulty query. Table: settings.  Update data does not contain any values to update. This will result in a faulty query. Table: settings. Columns: value.
7/2/2020 2:27:07 PM     at MigrationScriptError.KnexMigrateError (/var/lib/ghost/versions/3.22.1/node_modules/knex-migrator/lib/errors.js:7:26)
7/2/2020 2:27:07 PM     at new MigrationScriptError (/var/lib/ghost/versions/3.22.1/node_modules/knex-migrator/lib/errors.js:25:26)
7/2/2020 2:27:07 PM     at /var/lib/ghost/versions/3.22.1/node_modules/knex-migrator/lib/index.js:1055:19
7/2/2020 2:27:07 PM
7/2/2020 2:27:07 PM Error: Empty .update() call detected! Update data does not contain any values to update. This will result in a faulty query. Table: settings. Columns: value.
7/2/2020 2:27:07 PM     at QueryCompiler_SQLite3._prepUpdate (/var/lib/ghost/versions/3.22.1/node_modules/knex/lib/query/compiler.js:820:13)
7/2/2020 2:27:07 PM     at QueryCompiler_SQLite3.update (/var/lib/ghost/versions/3.22.1/node_modules/knex/lib/query/compiler.js:175:29)
7/2/2020 2:27:07 PM     at QueryCompiler_SQLite3.toSQL (/var/lib/ghost/versions/3.22.1/node_modules/knex/lib/query/compiler.js:62:29)
7/2/2020 2:27:07 PM     at Builder.toSQL (/var/lib/ghost/versions/3.22.1/node_modules/knex/lib/query/builder.js:72:44)
7/2/2020 2:27:07 PM     at /var/lib/ghost/versions/3.22.1/node_modules/knex/lib/runner.js:31:36
7/2/2020 2:27:07 PM     at /var/lib/ghost/versions/3.22.1/node_modules/knex/lib/runner.js:260:24
7/2/2020 2:27:07 PM     at tryCatcher (/var/lib/ghost/versions/3.22.1/node_modules/bluebird/js/release/util.js:16:23)
7/2/2020 2:27:07 PM     at Promise._settlePromiseFromHandler (/var/lib/ghost/versions/3.22.1/node_modules/bluebird/js/release/promise.js:547:31)
7/2/2020 2:27:07 PM     at Promise._settlePromise (/var/lib/ghost/versions/3.22.1/node_modules/bluebird/js/release/promise.js:604:18)
7/2/2020 2:27:07 PM     at Promise._settlePromise0 (/var/lib/ghost/versions/3.22.1/node_modules/bluebird/js/release/promise.js:649:10)
7/2/2020 2:27:07 PM     at Promise._settlePromises (/var/lib/ghost/versions/3.22.1/node_modules/bluebird/js/release/promise.js:729:18)
7/2/2020 2:27:07 PM     at _drainQueueStep (/var/lib/ghost/versions/3.22.1/node_modules/bluebird/js/release/async.js:93:12)
7/2/2020 2:27:07 PM     at _drainQueue (/var/lib/ghost/versions/3.22.1/node_modules/bluebird/js/release/async.js:86:9)
7/2/2020 2:27:07 PM     at Async._drainQueues (/var/lib/ghost/versions/3.22.1/node_modules/bluebird/js/release/async.js:102:5)
7/2/2020 2:27:07 PM     at Immediate.Async.drainQueues (/var/lib/ghost/versions/3.22.1/node_modules/bluebird/js/release/async.js:15:14)
7/2/2020 2:27:07 PM     at processImmediate (internal/timers.js:456:21)
7/2/2020 2:27:07 PM     at process.topLevelDomainCallback (domain.js:137:15)

Technical details:

Docker Version: https://hub.docker.com/_/ghost?tab=tags latest
Database: sqlite3

Linked issues :

probably linked to https://github.com/knex/knex/issues/3591

Would you be able to share the contents of your members_subscription_settings setting? Please redact the secret_token and public_token values if they're set though

Hello, yep
5ec7e713eea79e0001b8ad66|members_subscription_settings|{"paymentProcessors":[{"adapter":"stripe","config":{"secret_token":"","public_token":"","product":{"name":"....."},"plans":[{"name":"Monthly","currency":"usd","interval":"month","amount":""},{"name":"Yearly","currency":"usd","interval":"year","amount":""}]}}],"allowSelfSignup":true}|members|2019-04-22 08:08:29|1|2020-05-15 17:32:14|1
not used for me I can easily delete it if it is the responsible? but I wanted to go up the info by not finding a trace.

Thanks!
Looks like it's missing a fromAddress property in the JSON, I wonder how that happened :thinking:
I'll look into reproducing this and fixing - in the meantime, seeing as you're not using these settings if you can safely delete that row, and the migration should succeed :relaxed:

It's perfect I confirm that everything is restarted by deleting, thank you for the responsiveness!
I have no idea, it's a very old blog, but nothing special done on it, default style default config, classic migration from 1.x probably.

Awesome, glad I could help, and thanks for the report and giving more info!

Similar issue reported on the forum, whereby members_subscription_settings does not have the expected structure:
https://forum.ghost.org/t/error-starting-ghost-after-upgrade-from-2-38-to-3-22-cannot-read-property-tostring-of-undefined/15586
The migration needs updating to be more robust ahead of 3.23.

Going to timebox a couple hours to fix this on monday :relaxed:


Improve API documentation for AccountType

AccountType description fields
The descriptions of the AccountType fields could use a little extra detail or more information.
There has been some confusion in the community about the use of the term Account. In order to help with this and improve the API documentation generally its required that we update the API descriptions so the documentation site is clearer.
Some suggested wording regarding the margin account:

When you trade on a market, the required initial margin is allocated to that market from your funds, meaning that it can't be withdrawn or used as margin on another market while it is allocated to the first market (note that the Vega protocol uses an internal accounting system to segregate funds held as margin from other funds to ensure they are never lost or "double spent" — read more here).

@guoguojin - should @candida-d need any help in finding where some of the descriptions are held in datanode/protos please can you help direct to the correct locations?

Closed in #472


Create a repo using the cookie cutter tool

The repo is now live at https://github.com/dianna-ai/dianna/
Some issue were generated automatically, for further finalizing the repo. See https://github.com/dianna-ai/dianna/issues
I'll see which ones of those we could already do.

All integrations (zenodo etc) are now set up as far as possible. Remaining tasks can only be finished after the first release so closing this issue.


chore: project addition by Dimple-Choudhary #1549

Related Issue
Issue Number - 1549
close issue:-  #1549

Description
The project is a product landing page designed for an e-commerce website focused on headphones.
Screenshots

@priyankarpal   will you add a level?

@priyankarpal will you add a level?

previously we've added but currently, We are not providing any labels(according to gssoc23 rules) for project additions as they are not associated with solving any issues.

Okay😊


Add autocomplete=off attribute to the studio

When I go to database settings page in studio, my browser automatically fill fields "username" and "password". Maybe you can add attribute autocomplete="off" in these fields?

Browser: Google Chrome, Mac OS.

Totally agree! Furthermore with an email address in the "username" field that can provoke some bugs during the server start.

Hey @kulakowka, sorry for the lack of communication this last few weeks-- but this was for a good reason. I have some interesting news regarding this issue.
We decided to split the Strapi stack in two different projects. Here is the reason:

Strapi is and always will be a Node.js framework-- nothing more.
The built-in features such as the Studio, the admin panel and the built-in APIs are not part of the framework as we call it. They are management features. Those features will be in another project will release soon.

The Strapi framework and the utils are for two different kind of users. This is why we decided to split the current ecosystem in two different projects. Don't worry: the built-in APIs and admin panel will still be open-source, even for the new project.
The Strapi v1.x.x will no longer be supported due to those changes and we'll encourage everyone to migrate to the v2. The migration process will be quick and smooth, easy as possible.
We'll soon write a blog post about our choices and why we unfortunately can't afford to support the v1 anymore, like we expected.
Since your issue concerns the Studio and not the framework, I decided to close it aiming to keep the issue tracker lean and focus on the framework only.
Also, your enhancement has been made in this new project, thanks a lot for your suggestion. :-)


feature request: let user choose from installed apps

(sorry i don't know how to "contribute")
i added a part where the user gets prompted by the applications installed in the /Applictaions Folder and excluded out of scope software
Of course this will only work if the labels are implemented, but i think this will build up, it's very useful script to let standard Users get rid of software without beeing admin.
First comment or delete these sections:
#################
#if [[ -n "$1" ]]; then
#  label=$1
#else
#  label="$selected_app_name"
#fi

#if [[ $# -eq 0 ]]; then
  # "no label as argument -> show all labels
#  grep -E '^[a-z0-9\_-]*(\)|\|\\)$' "$0" | tr -d ')' | sort
#  exit 0
#fi

# check for root
#if [ "$(whoami)" != "root" ]; then
#  echo "not running as root, exiting"
#  exit 1
#fi
#################

then add this .... right before
# Check which event is triggered and add extra information.
case $label in

##################

# Define the path to the Applications folder
applications_folder="/Applications"

# Create an empty array to store app names
APPS=()

# List all .app files in the Applications folder
while IFS= read -r app_path; do
    # Extract the app name without folder names or white spaces
    app_name=$(basename "$app_path")

    # Apps that should be excluded from uninstallation List
    excluded_apps=("Terminal.app" "Self Service.app" "Support.app" "DEPNotify.app" "Company Portal.app" "Color Picker.app" "Jamf Connect.app" "UninstallApplication.app" "Microsoft Defender.app")

    # Check if the app name is in the excluded_apps list
    if [[ ! " ${excluded_apps[@]} " =~ " $app_name " ]]; then
        # Append the app name to the app_names array
        APPS+=("$app_name")
    fi
done < <(find "$applications_folder" -name "*.app" -type d -maxdepth 2)

# Sort the app names alphabetically
IFS=$'\n' sorted_apps=($(sort <<<"${APPS[*]}"))
unset IFS

# Display the list and get the selected app
selected_app=$(osascript -e "set ASlist to the paragraphs of \"$(printf '%s\n' "${sorted_apps[@]}")\"" -e 'return choose from list ASlist with prompt "Select the application you want to uninstall:"')

# Remove the .app extension and any whitespace from the selected app
label=$(echo "$selected_app" | tr '[:upper:]' '[:lower:]' | sed 's/ //g' | sed 's/.app//g')

# Lowercase the label
label=${label:l}

# Debugging: Print the label
echo "Label: $label"

Hi raylinger.
Thank you very much for your contribution and the time you invested in improving this code. We appreciate your efforts.
At first, this seemed like a good idea; however, you can only delete files that you own unless you are an administrator. One of the main purposes of the uninstaller is to remove LaunchDaemons and helper files.
As a standard user, you cannot delete these files by default, as they are typically owned by root. This limitation means that the uninstaller cannot fully complete its job because not all files can be deleted. Therefore, the uninstaller really needs to run as root. So for now we cannot implement this change.
However, we value your input and hope to see more of your ideas in the future. Thanks again for your understanding and interest in contributing!

Closed

thanks!
well i don‘t understand your comment. i did not change anything in the core script. i just let the user choose from a list of installed apps.
If the script runs from i.e. Jamf Self Service it still runs as root.
For me it works.. Thanks anyway :)


Persistent cache

Implement a persistent cache for at least usernames and hashtags.
#12 (Autocompletion) depends on this.

Implemented for usernames and hashtags in 5f0ac01bd79b88e2babd27d0a0203cab0468a6d9


No default Instance is registered and cannot be automatically determined for type

I am using structure map for DI and i get below error while resolving. Do you know how should we configure it?
No default Instance is registered and cannot be automatically determined for type IDBContextFactory

I use something like this and seems to work:
For().Use(new DbContextScopeFactory(null));

Thanks vaizeman. I figured same. I use singleton as its a factory.
For().Use(new DbContextScopeFactory()).Singleton();


added php-cs-fixer configuration file  .php_cs.dist

相关 issue #48

Codecov Report

Merging #49 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #49   +/-   ##
======================================
  Coverage    4.92%   4.92%
======================================
  Files          27      27
  Lines         833     833
======================================
  Hits           41      41
  Misses        792     792

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 52d3899...13720c3. Read the comment docs.

close this.


Feature/179 accessibility audit

Fixing issues raised here:
https://github.com/wagtail/guide/issues/179

Worth noting that the search icon won't display, but there is a fix for this in the dark/light MR (the search svg was being served as an img tag instead of an inline svg)


OpenAI Response is not "spoken" by Vector

Hi, wondering why the OpenAI response is not processed. Thanks.
Log captured:
Feb  9 11:53:48 escapepod start.sh[2700]: Making request to OpenAI...
Feb  9 11:53:52 escapepod start.sh[2700]: OpenAI response: Check GP T stands for General Purpose Technology. It is a type of technology that can be used for a variety of purposes, such as communication, computing, entertainment, and robotics.
Feb  9 11:53:52 escapepod start.sh[2700]: (KG) Bot 1 request served.
Feb  9 11:53:52 escapepod start.sh[2700]: Knowledge graph error
Feb  9 11:53:52 escapepod start.sh[2700]: rpc error: code = Unavailable desc = transport is closing

My guess is that the OpenAI API request took too long and the bot closed the connection before the response made it to wire-pod. Does this happen every time?

Hi Wire, first thanks so much for making this wire-pod for everyone.  Yeah, I tried many times and the error was the same.  Was tailing the log, and the messages only appeared after vector gave up. But the bot gave up really quick - seems like no waiting time.
Feb 11 16:01:38 escapepod start.sh[483]: Bot 1 Stream type: OPUS
Feb 11 16:01:38 escapepod start.sh[483]: (Bot 1, Vosk) Processing...
Feb 11 16:01:43 escapepod start.sh[483]: (Bot 1) End of speech detected.
Feb 11 16:01:43 escapepod start.sh[483]: Bot 1 Transcribed text: question
Feb 11 16:01:43 escapepod start.sh[483]: Not a custom intent
Feb 11 16:01:43 escapepod start.sh[483]: Perfect match for intent intent_knowledge_promptquestion (question)
Feb 11 16:01:43 escapepod start.sh[483]: Checking params for candidate intent intent_knowledge_promptquestion
Feb 11 16:01:43 escapepod start.sh[483]: Bot 1 Intent Sent: intent_knowledge_promptquestion
Feb 11 16:01:43 escapepod start.sh[483]: No Parameters Sent
Feb 11 16:01:43 escapepod start.sh[483]: Bot 1 request served.
Feb 11 16:01:46 escapepod start.sh[483]: Bot 1 Stream type: OPUS
Feb 11 16:01:46 escapepod start.sh[483]: (Bot 1, Vosk) Processing...
Feb 11 16:01:51 escapepod start.sh[483]: (Bot 1) End of speech detected.
Feb 11 16:01:52 escapepod start.sh[483]: Bot 1 Transcribed text: my head who is donald trump
Feb 11 16:01:52 escapepod start.sh[483]: Making request to OpenAI...
Feb 11 16:02:07 escapepod start.sh[483]: OpenAI response: Donald Trump is the 45th President of the United States, who took office in 2017. He is a businessman and television personality who was previously the host of The Apprentice.
Feb 11 16:02:07 escapepod start.sh[483]: (KG) Bot 1 request served.
Feb 11 16:02:07 escapepod start.sh[483]: Knowledge graph error
Feb 11 16:02:07 escapepod start.sh[483]: rpc error: code = Unavailable desc = transport is closing

Hey Wire, after i did a git pull and it is working now. Thanks.


ADBDEV-4907-41: Add NULL check in transformSetOperationStmt function

Add NULL check in transformSetOperationStmt function
In the transformSetOperationStmt function, the leftmostSelect
pointer can be NULL on release builds, so to avoid a
null-pointer reference, I added an additional check.

Allure report https://allure-ee.adsw.io/launch/63289

Failed job Resource group isolation tests on x86_64: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1034094

Failed job Resource group isolation tests on ppc64le: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1034095


Add Animation: Confetti

Add an animation of confetti falling when a button is pressed. This will be made using HTML, CSS, JS.
Please assign this issue under GSSOC

assigned to @its-me-abhishek
Complete this within 3-4 days and
Include a screenshot or deploy link to assess your project and thereafter include your project in the main code following contributing.md guidelines


Build hangs forever if PR is merged before build starts

After https://github.com/jenkinsci/ghprb-plugin/commit/f482b8ff22218a4b400e27c27d3ea7fcb04079e0, if a PR is merged before the triggered build starts, the GHPRB will simply hang forever.
That suggests to me that GHPullRequest.getMergeable() returns null if the PR is merged, and so checking for null is not a good heuristic for "Github is unreachable".
Regardless, we should definitely not busy-wait eternally on this check. It would be better to just abort the build if we can't get a response from Github.

You are right, there should be a certain number of retries before moving on.  The null check is actually waiting for github to finish deciding if the pr can be merged or not.
Have you seen an instance where it hangs forever?

Yes, this is happening frequently on our instance after we upgraded. You should be able to get it by triggering a build, and merging the PR while it is in the queue.

Incidentally, relating to the commented out check below that: if the PR was previously mergeable and now is not, then there's a good chance that github will have removed the ref that it uses to mark the merge commit, and so things won't work. In that case, it may be best to just abort the build.

I was thinking that same thing, about aborting the build, but it is possible that the build won't be relying on the merged version anyways.
I will get a patch out today that limits to one minute of waiting for github to settle.  However, if you merge the PR while it is in the queue that will cause other kinds of issues.  I will have it check for isMerged also for failing.

Well, unfortunately we have a busy instance, so it's very common for developers to add commits or even merge or close PRs while a build is still in the queue. It would be nice if that didn't cause problems, but as it is we have workarounds for most things.
This one we can't work around, however, as it never progresses past the start of the build!

I am going to punt on aborting the build, and just rely on comments to notify the user what is going on when a build fails for strange reasons

It would be significantly preferable for us if the build were to abort rather than failing. Failures usually mean the build or tests failed, which means it needs attention from the developers. This sort of failure is just github and the builder getting out of sync, and can safely be ignored. So it's a pain if it's a "failure", because it means people start ignoring failures.
As a reference point, our current PR builder setup uses its first build step to check exactly what you're checking here - has the PR merge status changed, has the head commit changed? If so, we abort the build, because it's either going to fail or be uninteresting.
Since it sounds like you're considering doing that here, I'd just like to put in a vote for aborting if things look wrong!

I would do that, but there are users that don't really care if the PR is open or closed, or that there is a merge sha or not.  That kind of functionality belongs in an extension or config setting instead so users can decide for themselves what should happen.  You are welcome to open a PR that does so, or write up another issue as an enhancement request for said functionality.


MSSQL DATETIMEOFFSET not roundtripable for timezones other than UTC

Please first make sure you have looked at:

Documentation: https://github.com/mkleehammer/pyodbc/wiki
Other issues

Environment
To diagnose, we usually need to know the following, including version numbers.  On Windows, be
sure to specify 32-bit Python or 64-bit:
Python: 3.11 64-bit
pyodbc: 4.0.35
OS: Windows 10
DB: SQL Server 2019 (15.0.4123.1)
driver: ODBC Driver 18 for SQL Server (2<IP_ADDRESS>
ODBC Trace: SQL.LOG
Issue
The timezone is getting lost somewhere when executing the query DECLARE @INPUT DATETIMEOFFSET=?; SELECT @INPUT AS [output] and passing in a datetime with a timezone other than UTC... I think pyodbc isn't sending it correctly, because the timezone comes back as UTC in the handle_datetimeoffset function. (see the test_round_trip_local test)
I'm not sure what's going on under the hood, but I think python datetimes should always be sent as DATETIMEOFFSET to MSSQL when they have the timezone set. No timezone should fallback to DATETIME2.. MSSSQL does implicit conversions of these to DATE/DATETIME so it should be backwards compatible.
import struct
import unittest
from datetime import datetime, timezone, timedelta
from zoneinfo import ZoneInfo

import pyodbc

cnxn_str = None
def handle_datetimeoffset(dto_value):
    # ref: https://github.com/mkleehammer/pyodbc/issues/134#issuecomment-281739794
    tup = struct.unpack("<6hI2h", dto_value)  # e.g., (2017, 3, 16, 10, 35, 18, 500000000, -6, 0)
    return datetime(tup[0], tup[1], tup[2], tup[3], tup[4], tup[5], tup[6] // 1000, timezone(timedelta(hours=tup[7], minutes=tup[8])))

class DateTimeOffsetRoundtripTest(unittest.TestCase):

    def test_round_trip_local(self):
        #THIS WORKS
        cnxn = pyodbc.connect(cnxn_str, autocommit=True)
        cnxn.add_output_converter(-155, handle_datetimeoffset)
        crsr = cnxn.cursor()
        expected = datetime(2022, 12, 27, 0, 0, 0, tzinfo=ZoneInfo("America/New_York"))
        crsr.execute("DECLARE @INPUT DATETIMEOFFSET=?; SELECT @INPUT AS [output]", [expected])
        actual = crsr.fetchone().output
        self.assertEqual(expected, actual)

    def test_round_trip_utc(self):
        # THIS FALSE
        cnxn = pyodbc.connect(cnxn_str, autocommit=True)
        cnxn.add_output_converter(-155, handle_datetimeoffset)
        crsr = cnxn.cursor()
        expected = datetime(2022, 12, 27, 0, 0, 0, tzinfo=ZoneInfo("UTC"))
        crsr.execute("DECLARE @INPUT DATETIMEOFFSET=?; SELECT @INPUT AS [output]", [expected])
        actual = crsr.fetchone().output
        self.assertEqual(expected, actual)
        self.assertEqual(actual.utcoffset(), expected.utcoffset())

if __name__ == '__main__':
    unittest.main()

Duplicate of #810

Thx. I’ll close


fix path_bounds_decider

fix bug in path_bounds_decider.cc. The previous version updates the boundary twice if a new obstacle enters into the scope, which is  unnecessary.

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

Close due to inactivity.


Don't add tags related data attributes unless enabled

See issue #39

Thanks.  I've been away so I haven't really looked into this. I'll have a play with it in the next week or so to see if we can avoid tags bug.


PackBuilder is missing a 'write' method

Currently, PackBuilder has no way to write a pack + index file back to the repo.
Even though it has write_buf, this does not return an index and I'm not aware of different means to index packs currently.
It seems libgit2 does have this functionality.

Should be fine to add this binding at any time! Bindings are largely added on demand rather than exhaustively all at once

I think the binding is there (in libgit2-sys) but it's not exposed on the public PackBuilder object.

We're not currently tracking unimplemented APIs here in the issue tracker but PRs are of course always welcome to add more bindings!


[Bug] Dynamic data may cause decode_single to panic

Component
dyn-abi
What version of Alloy are you on?
v0.2.0 commit ca37a232
Operating System
Linux
Describe the bug
Description
DynSolType::decode_single will panic when it encounters certain data.
Expected Behavior vs. Actual Behavior
Expected decode_single to result in a Result::Err(..) value if it's unable to decode given data, instead it panics bringing the whole program to a halt.
How to reproduce:
Run the following snippet
use alloy_dyn_abi::DynSolType;
use hex_literal::hex;
use std::string::String;

fn main() -> Result<(), String> {
    let my_type: DynSolType = "(string[],bytes13,bytes13[2])"
        .parse()
        .map_err(|err| format!("Failed to parse: {}", err))?;
    let decoded = my_type
        .decode_single(&hex!(
            "

0000000000000000000000000000000000000000000000000000000000000080
93dd71318b60d9fa85991e714900000000000000000000000000000000000000
4f1a284fd349323201bfb3e41a00000000000000000000000000000000000000
b99bf51f6dbbddbea4defb6b1000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000002
0000000000000000000000000000000000000000000000000000000000000040
0000000000000000000000000000000000000000000000000000000000000080
000000000000000000000000000000000000000000000000000000000000001f
755f382c5a725e095a4d4c57244f433f0d3435360d335d766b712850594a5300
0000000000000000000000000000000000000000000000000000000000000010
475e6272723d456b49225f095e51432b00000000000000000000000000000000
"
        ))
        .map_err(|err| format!("Failed to decode: {}", err));
    println!("decoded: {decoded:?}");

    Ok(())
}

It should result in the following panic:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Overrun', /home/philippe/.cargo/git/checkouts/core-3f428e9ca4699f0e/ca37a23/crates/dyn-abi/src/token.rs:169:65
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Note the above data is valid and will be decoded successfully by decode_params and decode_sequence.

Fixed in #171


Input/output errors when ctrl-c in the middle of a rreaddir

In my project hackernewsfs, if I ls but Ctrl-C before it finishes, v9fs sends a Tflush to my server which causes an error, which causes my whole server to cease function.
I will open a PR to hopefully resolve this.

Actually nevermind, looks like my server needs to implement the method!

Actually nevermind, looks like my server needs to implement the method!

Ok so nevermind, it looks like even with the rflush added, it still causes input/output errors. I'm really not sure why.

Ok so nevermind, it looks like even with the rflush added, it still causes input/output errors. I'm really not sure why.

Hard to say if it's v9fs not responding properly or rust-9p. Additional ls do not cause any rreaddir, which leads me to believe it's a v9fs bug.

Hard to say if it's v9fs not responding properly or rust-9p. Additional ls do not cause any rreaddir, which leads me to believe it's a v9fs bug.

I"m going to say it's v9fs not happy with data being returned even after a Rflush is sent.

I"m going to say it's v9fs not happy with data being returned even after a Rflush is sent.

@pfpacket do you have any ideas what else it possibly could be?

@pfpacket do you have any ideas what else it possibly could be?

I think the issue is the following:
Treaddir is sent
Tflush is sent
Rreaddir sends dirs but are ignored
Rflush is sent
At this point v9fs sees the last Treaddir as unfinished since dirs were returned but subsequent Treaddir was not sent to finish it.

I think the issue is the following:
Treaddir is sent
Tflush is sent
Rreaddir sends dirs but are ignored
Rflush is sent
At this point v9fs sees the last Treaddir as unfinished since dirs were returned but subsequent Treaddir was not sent to finish it.

It would be useful if we could then send back multiple message on the rflush.

It would be useful if we could then send back multiple message on the rflush.

Could you provide the runtime log with the commands like:
RUST_LOG=rs9p=info cargo run or RUST_LOG=rs9p=info ./a.out
That will show you all the T/R messages sent/received.

Could you provide the runtime log with the commands like:
RUST_LOG=rs9p=info cargo run or RUST_LOG=rs9p=info ./a.out
That will show you all the T/R messages sent/received.

@pfpacket it's pretty much what I suspected I think.
out.txt

@pfpacket it's pretty much what I suspected I think.
out.txt

Maybe sending "closing" rreaddir and rread messages always after a rflush will solve the problem?

Maybe sending "closing" rreaddir and rread messages always after a rflush will solve the problem?

@pfpacket I'm going to email the v9fs list to see what they have to say too.

@pfpacket I'm going to email the v9fs list to see what they have to say too.

According to the mailing list, the flush mechanism in v9fs is in need of a rewrite.

According to the mailing list, the flush mechanism in v9fs is in need of a rewrite.


New method of Zscaler integration with Sentinel

This guide documents the method to use DCE and DCRs for ZIA logs: https://help.zscaler.com/zscaler-technology-partners/zscaler-and-azure-sentinel-deployment-guide
Should Microsoft be supporting this? They have removed log forwarder requirements.

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

ID: 127cc9e3-03a4-8e02-6c26-c35ae78fc5b2
Version Independent ID: e9e4933d-c82d-2a93-f1ec-642d980a683e
Content: Zscaler connector for Microsoft Sentinel
Content Source: articles/sentinel/data-connectors/zscaler.md
Service: microsoft-sentinel
GitHub Login: @cwatson-cat
Microsoft Alias: cwatson

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

Hi @applefacts
Microsoft Sentinel does support Zscaler logs, and you can find the official documentation on how to connect Zscaler to Microsoft Sentinel here: https://docs.microsoft.com/en-us/azure/sentinel/connect-zscaler.
The documentation you provided is from Zscaler and provides a deployment guide for integrating Zscaler logs with Microsoft Sentinel. It is always recommended to follow the official documentation provided by Microsoft for the best results.
Regarding the log forwarder requirements, Microsoft has recently added support for direct ingestion of Zscaler logs into Sentinel without the need for a log forwarder. However, this feature is currently in preview and may not be available in all regions.

@SaibabaBalapur-MSFT is the direct method in public preview?

@applefacts Yes, the direct ingestion method for Zscaler logs into Microsoft Sentinel is currently in public preview.
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Duplicated rows in Content Usages list

Example "Expandable small story" ID 1630 (I see it 5x)

Possibly a result of blank Language column. Duplicates are in fact unique representations of same content for various languages.


ARROW-631: [GLib] Import

See also https://issues.apache.org/jira/browse/ARROW-631 and glib/README.md in this change.

This looks like it was an incredible amount of work, I'm very impressed, and it looks very useful for languages that have support for GObject introspection. Did you write the C bindings all by hand or are there any tools to assist with generating the wrapper bindings? How would you like to handle cases where they may be API changes that impact the bindings (e.g. we recently changed int32_t lengths to int64_t)? I agree that maintaining C bindings, especially to the IPC metadata, type objects, and array containers, will be really valuable.

Did you write the C bindings all by hand or are there any tools to assist with generating the wrapper bindings?

I write them all by hand.

How would you like to handle cases where they may be API changes that impact the bindings (e.g. we recently changed int32_t lengths to int64_t)?

I prefer to C compiler detects it. The length type change wasn't detected by C compiler but most cases will be able to be detected by C compiler. (The length type change case was detected by me because I read commits.)

This change includes Travis CI integration. We can detect (C compiler detectable) API changes in C++ implementation automatically.

pretty cool :)

@kou that's really great (re: Travis CI integration), thank you. I am going to check out the branch as soon as I can (hopefully today) to make sure I am familiar with the build/test workflow for this (so that I can help with maintenance in case there are small API changes).
Would it be OK to change the top level folder name to be "c_glib" similar to Apache Thrift (https://github.com/apache/thrift/tree/master/lib) -- this will make it more obvious for users who are looking for C bindings, but are not familiar with glib-based C bindings.
Hopefully it goes without saying you are more than welcome to contribute the Ruby bindings to this codebase if you like.

Would it be OK to change the top level folder name to be "c_glib" similar to Apache Thrift (https://github.com/apache/thrift/tree/master/lib) -- this will make it more obvious for users who are looking for C bindings, but are not familiar with glib-based C bindings.

Sure. Should I rename before you merge this changes? Or after?

Hopefully it goes without saying you are more than welcome to contribute the Ruby bindings to this codebase if you like.

OK. I'll consider about it after .deb/.rpm package support is resolved.

Can you rename it in this patch? Very much appreciated. I'm going to merge this as is once I run through the build/test workflow locally. Travis CI passed but there is a failure from an OS X build slave timing out

Thanks!


gdiObjects.fotoXplorer version 1.0.2108.21

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

the manifests are generated by 'wingetcreate <IP_ADDRESS>' I don't under stand the error message:
"The PR could not be validated because there is a merge conflict which adds bad characters to the manifest. Please address the merge conflict and resubmit."
please advise.

You can close the PR since this package was automatically updated by @wingetbot.

it still says, "Review Required" and "Merging is blocked."  Has the PR been successfully processed?


Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-modified.meta

Describe the bug
[ERROR] Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-modified.meta
** Version of dependency-check used **
5.2.2. (tried 5.2.1. as well)
** Log file **
no log was made
To Reproduce
Steps to reproduce the behavior:

dependency-check.bat
[ERROR] Unable to download meta file: https://nvd.nist.gov/feeds/json/cve/1.0/nvdcve-1.0-modified.meta

Expected behavior

run dependency-check.bat without errors

Additional context
no

duplicate of #2222, please close


Redirection for New Assigments

Redirect to template upload page if the new assignment is visible.

LGTM. Deploying soon!


Remove RuntimeIdentifiers guidance

<RuntimeIdentifiers> no longer has the desired effect of pre-fetching runtime-specific packages for self-contained deployments.
Since the automatic patch version roll-forward, <RuntimeIdentifiers> would for example only fetch the 2.1.0 package, but when you do dotnet publish -r RID, then the roll-forward kick in and a newer patch version will be fetched.
The <RuntimeIdentifiers> property only helps to pre-fetch RID-specific packages until the first patch version is released. Afterwards, it will only fetch unnecessary .0 patch packages for the specified runtimes and no packages that would help when executing with ´-r RID`.

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

ID: 8ee36626-0fc2-20d8-81c5-a3cd212244b2
Version Independent ID: 044ba93c-9ad9-80c7-dc5c-27a80c9bd921
Content: .NET Core app deployment with CLI tools
Content Source: docs/core/deploying/deploy-with-cli.md
Product: dotnet-core
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

the documentation also needs to be updated here: https://docs.microsoft.com/en-us/dotnet/core/deploying/runtime-patch-selection#how-to-avoid-restore-during-publish

Just read this thread after being redirected here from the docs per @psimoneau22's message that those docs need updated. After reading through this, I'm not entirely sure what needs to be changed if I'm getting the following error, which redirects to this docs page:

Error : NETSDK1061: The project was restored using Microsoft.NETCore.App version 1.0.0, but with current settings, version 2.2.3 would be used instead. To resolve this issue, make sure the same settings are used for restore and for subsequent operations such as build or publish. Typically this issue can occur if the RuntimeIdentifier property is set during build or publish but not during restore. For more information, see https://aka.ms/dotnet-runtime-patch-selection.
d:\a\1\s\CassieCoreLibTests\CassieCoreLibTests.csproj : error : NETSDK1061: The project was restored using Microsoft.NETCore.App version 1.0.0, but with current settings, version 2.2.3 would be used instead. To resolve this issue, make sure the same settings are used for restore and for subsequent operations such as build or publish. Typically this issue can occur if the RuntimeIdentifier property is set during build or publish but not during restore. For more information, see https://aka.ms/dotnet-runtime-patch-selection.
Done Building Project "d:\a\1\s\CassieCoreLibTests\CassieCoreLibTests.csproj" (default targets) -- FAILED.
Project "d:\a\1\s\CassieSchemaMigrator.sln" (1) is building "d:\a\1\s\CassieCoreLib\CassieCoreLib.csproj" (3) on node 1 (default targets).

@Adron Have you tried cleaning the project and then rebuilding it? I usually see this error when the obj directory has other runtimes cached.

Microsoft.NETCore.App version 1.0.0 sounds fishy, are you setting any special properties while building?


Regression - choose lowest-bandwidth codec when the browser can do multiple

I seem to recall that we used to choose codecs based on lowest average bandwidth.  Choosing codecs by bandwidth would allow us to prefer, for example, VP9 over H.264 when it would save bandwidth.
Since then, it seems we have regressed.  We currently have no way to prefer codecs based on bandwidth.  Once the initial selection has been made, we stick with it, but the initial selection is based on available bandwidth only.  If there is much bandwidth available, we wind up choosing the least efficient streams.
To reproduce:

Load the demo app in Chrome.  The demo defaults to the multicodec "Angel One" clip.
Open the JS console.
Increase the initial bandwidth estimate: debugConfig = { abr: { defaultBandwidthEstimate: Infinity }};
Click "load".

The system will choose h.264, even though vp9 could have been played and would have saved bandwidth.

Cherry-picked to v2.1.3.


ADR request is not sent

I have a gateway connected to ttn in my office.
I registered a device, sending an uplink every 3 minutes, wait at least 24 hours placed 5 meters from the gateway. When I checked on console, the uplinks are still in SF12.
I checked the downlink : it works.
I was expected in https://www.thethingsnetwork.org/docs/lorawan/adr.html an ADR :
Point 3 :

An ADR request is sent when we have enough measurements and the device is using DR0 (SF12BW125 in most regions).

I've never seen this downlink, my device have ADR bit setted.
So I manage to modify the device to make it set the ADRACKReq even in SF12 and then we receive LinkADRReq and the device switch to sf7.
This is not compliant with LORAWAN : LinkADRReq should be set after 64 uplinks only if not sending in SF12.

This should be better with #758 merged. This isn't deployed yet to the public community network. Assigning @Sypheos to test this. If everything is ok, we can create a PR to master and release+deploy a new version. cc: @johanstokking


2.x Add support for DataCenterInfo delta serialization.

eureka-pull-requests #405 SUCCESS
This pull request looks good


Update docs on cluster verification

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgmt

/approve


chore(main): release 0.32.5

:robot: I have created a release beep boop
0.32.5 (2023-07-12)
Bug Fixes

Remove collections (#367) (b21bab3)

Miscellaneous

Remove collections (b21bab3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-frontend/releases/tag/0.32.5 :sunflower:


SoftAssert duplicates error messages

TestNG version 6.9.6, running in IntelliJ IDEA. Example to reproduce:
@Test
public void test() {
    SoftAssert sf = new SoftAssert();
    sf.assertEquals(5, 4, "5 does not equal 4!\n");
    sf.assertEquals(1, 2, "1 does not equal 2!\n");
    sf.assertEquals(1, 1, "some message");
    sf.assertAll();

}
Output is :
java.lang.AssertionError: The following asserts failed:
5 does not equal 4!
5 does not equal 4!
 expected [4] but found [5],
1 does not equal 2!
1 does not equal 2!

Expected :2
Actual   :1

I tried it in eclipse and I don't see this happening.

I suspect it's a bug with TestNG plugin for IntelliJ Idea.

Did you open an issue on IntelliJ somewhere?
Ping @VladRassokhin

Not yet

Looks like some trouble with stderr/stdout or listeners.
If you think this is bug in IntelliJ TestNG support, please create new issue in https://youtrack.jetbrains.com

Done: https://youtrack.jetbrains.com/issue/IDEA-145327


TSLint complains about > { with generics and one-line.

Bug Report

TSLint version: 5.4.3
TypeScript version: 2.4.1
Running TSLint via: (pick one) VSCode

TypeScript code being linted
// code snippet
export interface MyInterface<
  R extends string,
  D extends string,
  O extends string
> {
   /* ... */
}

with tslint.json configuration:
{
  "rules": {
    "one-line": [true,
      "check-open-brace"
    ]
  }
}

Actual behavior
TSLint complains about misplaced opening brace (one-line)  on the > { line
Expected behavior
No complaint. This is essentially the same as the > ( in the following code, which doesn't trigger a TSLint error.

function test<
  R extends string,
  D extends string,
  O extends string
> (
  required: R,
  default: D,
  optional: O
) {
  /* ... */
}

Duplicate of #2952 and will be fixed by #3004


Attribute Parser C++

Issue Number:
This submission will close the issue #58
Submissions Checklist:

[ yes] Have you followed the guidelines in CONTRIBUTING.md?
[yes ] Have you checked there aren't other open Pull Requests for the same hackerrank problem?
[yes ] Have you successfully submitted your code in hackerrank?
[ yes] Is your file name exactly same as the problem name of hackerrank, followed by the proper extension?
[yes ] Have you ensured that you have put the files in appropriate folders? (Folders are made according to the subdomain of hackerrank practice problems).

Hacktoberfest Contributor:

[ yes] Are you a hacktoberfest contributor?

Hackerrank Problem Link:
https://www.hackerrank.com/challenges/attribute-parser/problem
Submitted Hackerrank Solution Link:https://www.hackerrank.com/challenges/attribute-parser/submissions/code/293583942
https://www.hackerrank.com/challenges/attribute-parser/submissions/code/293583942
Any other changes you made or something you would like to mention?
NA

I have changed as you requested to do so. Kindly check


Signed messages are invalid according to GPG

I'm trying to encrypt and sign messages using kbpgp and while just encrypting works (by following the steps outlined in the docs here), I can't seem to be able to sign messages properly either by signing or signing and encrypting. Output from kbpgp signing the string Hello world is as follows:
-----BEGIN PGP MESSAGE-----
Version: Keybase OpenPGP v2.0.43
Comment: https://keybase.io/crypto

yMGNAnicAUECvv3EDQMACgG7T0fR392PagHLEXUAVd54GUhlbGxvIHdvcmxkwsFc
BAABCgAGBQJV3ngZAAoJELtPR9Hf3Y9qiCsP/1NoR1rmqA3Jl5nvRxWZQH46hG1E
kfi417Jz+KzWMbEtW44H4aBwxyy5xd7Cli4DdVUvakvD4lhwn2mkhY7SruB21Sa/
lDdRJ0fSf5vUQvubt/OP2a5PbTu+k5yio91Uq0u029hCqS4X36o1FOvQBcWeqCW8
Uhm9c1RBGtD1+hltiwD9eJEUdZnE8TRdlkfQqLUf3wL07pzyqK3f7Z+pT/Qy7Ebi
KzEVZLaGkR8cjeDUhES7C/QleQiGeIjhrThXidB2f1ubLry9jgsnFMd9cYl9hyTt
KtWuXrnOuCObO5UZRJ0QZreEGeuN8y1vbRmRLkLAXoY50+UGYT1j9uECikkWrmwS
0WI6d5Ctrnu1rX+18V1dBYNoScDwhayfeOqs7ElakdTthKXgGRE7Z+f6A6E8TTa4
4mfnaZtz8bZky/wf6emZXkX+fzCkPImwJ2y7QbdE4BjCFgJdeN6PZcrRw3QAEB5Y
2YP3tllht5tKkCx4clLEMRgQ4pL+g8GrSiiVnGUYzmOGOqH/Afs4W8PX/4gzj8O7
EtArpJxmUvoJ3zfXoFMMh0GvHndcq9R9CwD94lNKAp3i5Zvf4Mjeh7wnGqGAbKJO
dRGSj9py49sj0zyi3V6VjbPHd1/lKIvSdCAtyKheNpR7aZYWLKdp1sA/9IyutDcO
wmMrTdo9I5BKRN8JWh4ehw==
=1yXu
-----END PGP MESSAGE-----

which is not recognized as a valid signature or even a signature at all by GPG or OpenKeychain and seems instead to be in the format of an encrypted message (even though no encrypt_for parameter was defined). This non-valid behavior is the same for both RSA and ECC keys which the KeyManager API reports as being unlocked and containing a private component.
Perhaps this could stem from the fact that detached signatures are generated in the following format by GPG:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCAAGBQJV3ndLAAoJELtPR9Hf3Y9qf/cQANfq1joQ/YouAo+psr+j/YGq
87QVxlmnwzsTILi3t7me2plyk4QCiSedsKBRnPd5jfn9WRDAO/9fdhB7Ej7ZN/I9
MpN/fp0WtDRoCloFmU50mvmbGTvliFn5ph6fatampcPzgWstKgZDWREWoyghEVg7
PKh9ewwVDu84Y82Y41+W297jixnfLYfRFgoZe+ICd2QFlz50/uCffVINb4l43D7o
wkw8JqPWo7U1NMS3doXS1ZbCwBtqXlb4XoZkHpZ+Af+5fZ3MPycgU7C/y1aB6ceH
0eV2UbNzuBMQG9PNP+Bs26ha9gY03VcMqE3tXe9lt7pSOhfpMp1FPOHoENmiZWwJ
ICQR5rnGZafEYmIpdy2jeMY/rUq7edANFR0NxeOWDm2WEOzqnbJNu764Sf6DlXL0
QGeFSqAuAVPMJ6guIhuTJCy9poFdpufk4+e3QjiIxwvxUjYGMc2BEYdrm2mJB6AT
bEo5Tt/0GwWoXc9ZuJPPQJfacAiBHMlhx90Q/NqoRO04DngWFqpN0iXPkWus5nfk
brUhaUraRm52KGV5CCaKuk+qyoR6W821QIeVCUND7oIra37Fv2562JT5Yty0U24d
60I/sJFzB3lYOCpA+1g/fzfMwZBvISK8uz+30EMrhlDFELZZSelAJrsFb3581F1C
dxeBDqZwrdK5dQydYAoS
=5Z3r
-----END PGP SIGNATURE-----

and like the following by GPG for cleartext signatures?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

"Hello world"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV3nCyAAoJELtPR9Hf3Y9qb9QQAKxza0u/g7qQ1i+A+AW0xitB
2+H+tHu7CeKJPSZ3Hzdvx/KVOLYnCSWir4km1UwTceCC/ksoujdjywmzv64gWqsA
/bVNdUIPOSRs42PypU3TYiI8FcHBpyA2EXruArOcohxW6nv8eqesJyR8BFMHYdgA
Y9daVR1seKLG2L6ms266dS+f+chlXbbTZuJylgJPd44aWwoqEi2cLIsEdyTQuWdZ
NvDp8RXkn/bPR0o9Kq9214pXxPryxTLePddC9JqiyuANVlEXG9FywsaiVfYE2xlu
OzdI111/pket+kqK/QuPszhRyveBzWdsfPpJs2XSizRIU5JGTRQL25og+yMYK20Q
nry0dce2KLpTbiFz2SLF8V70T7DXXKIkH8SNQUldOB6O+2ZN/KyprZ+w9feCtwYJ
B1CIkMKM89oT7FL5cGzKLp6eom42j2x7b5nSGfA9a8klJvoqsP4QZCnN7Jy+I9Bk
klPyBsqiJSq56uun4v3oXQcuUt1D89ZItPFi+gJE/MyDLQ4jkWVQxNsidVtOM9JT
MI9bG7rPs+TtuG4W/G+wMIhJKGFvq+fZY7FroGMtv8+jmkV4peL4JdGh+zg2SeRR
kEFmCWtm2FIaEtvS7E+CLuWfK9OwrGaOFCLhxph4KFIiFmGHOCx0TrYPi5kUvWf7
J1HNtvJ7AMcU3hXH4EXh
=r0Yi
-----END PGP SIGNATURE-----

Is something other than what is stated in the docs required to produce valid signatures?
var params = {
  msg:        "Here is my manifesto",
  sign_with:  alice
};

kbpgp.box (params, function(err, result_string, result_buffer) {
  console.log(err, result_string, result_buffer);
});

Have you tried calling gpg --decrypt on the first message?  That works for me
Weirdly enough for signatures in which the text is included, you have to call decrypt rather than verify.

I haven't yet but it does now seem to work from the command line. Kleopatra (GPG4Win) and OpenKeychain both fail and say something along the lines of no signature exists. Renaming the -----BEGIN PGP MESSAGE----- and -----END PGP MESSAGE----- to -----BEGIN PGP SIGNATURE----- and -----END PGP SIGNATURE----- fixes the issue though. Probably because Kleopatra and OpenKeychain are expecting an encrypted message rather than a signature.


Implement Payment system and Pro settings

Initial thoughts are to include subscription level in the Session ID as well as subscription expiration.
But,
How to update the session with next Auth on subscription in the event the user subscribes.


Files only partially downloading

I'm iterating over a list of links on a page. Mechanize clicks each link and then find the download URL on the resulting page in a transact block. My script runs correctly but all my files are truncated at 24K filesize
transact do
  dlpage = click link
  downloading = false
  if dlbutton
    path = dlpage.links_with(:id => /dlbutton/).attribute(:href)
    filename = URI.decode_www_form_component path.split('/').last
    file = get("http://www.domain.com#{path}")
    file.save("/downloads/#{filename}")
  else
    puts "DEAD LINK"
  end
end

Another thought: are there any sort of callbacks which can determine whether a file has completed downloading? Ideally I'd like to set up a download queue so I don't hammer the server with requests. I suppose a simple sleep() might also work but am open to suggestions

Does this still happen? I have a similar script and cannot reproduce. Closing for now, happy to re-open an investigate (sorry for the delay)


Error using ServiceBusTrigger and Microsoft.Azure.ServiceBus.Message parameter

I've added this function to test ServiceBusTrigger
public static class Function6
    {
        [FunctionName("Function6")]
        public static void Run([ServiceBusTrigger("crashqueue", Connection = "ConnectionStringName")]
                                Microsoft.Azure.ServiceBus.Message message)
        {
            Console.WriteLine(message.MessageId);
        }
    }

When the function is triggered I have the error below (Exception: Unable to convert to Microsoft.Azure.ServiceBus.Message)
Please note:

The function has no error when I use string parameter instead of the Microsoft.Azure.ServiceBus.Message type but to upgrade to .Net 5 I need Microsoft.Azure.ServiceBus.Message parameter.
I've added the package Microsoft.Azure.WebJobs.Extensions.ServiceBus 4.1.0

The error is:
[2020-12-27T08:59:10.210Z] Executed 'Functions.Function6' (Failed, Id=95ddc7fd-ca9c-4c25-879d-05ab6061db75, Duration=14890ms)
[2020-12-27T08:59:10.212Z] System.Private.CoreLib: Exception while executing function: Functions.Function6. System.Private.CoreLib: Result: Failure
Exception: Unable to convert to Microsoft.Azure.ServiceBus.Message
Stack:    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ConvertParameter(ParameterInfo param, TypedData value, ParameterConverterManager converterManager) in D:\a\1\s\src\DotNetWorker\Invocation\DefaultFunctionExecutor.cs:line 114
[2020-12-27T08:59:10.217Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionExecutionContext context) in D:\a\1\s\src\DotNetWorker\Invocation\DefaultFunctionExecutor.cs:line 60
[2020-12-27T08:59:10.219Z]    at Microsoft.Azure.Functions.Worker.FunctionBroker.InvokeAsync(InvocationRequest invocationRequest) in D:\a\1\s\src\DotNetWorker\Broker\FunctionBroker.cs:line 44.
[2020-12-27T08:59:10.237Z] Message processing error (Action=UserCallback, ClientId=MessageReceiver1crashqueue, EntityPath=, Endpoint=.servicebus.windows.net)
[2020-12-27T08:59:10.239Z] System.Private.CoreLib: Exception while executing function: Functions.Function6. System.Private.CoreLib: Result: Failure
Exception: Unable to convert to Microsoft.Azure.ServiceBus.Message
Stack:    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ConvertParameter(ParameterInfo param, TypedData value, ParameterConverterManager converterManager) in D:\a\1\s\src\DotNetWorker\Invocation\DefaultFunctionExecutor.cs:line 114
[2020-12-27T08:59:10.242Z]    at Microsoft.Azure.Functions.Worker.Invocation.DefaultFunctionExecutor.ExecuteAsync(FunctionExecutionContext context) in D:\a\1\s\src\DotNetWorker\Invocation\DefaultFunctionExecutor.cs:line 60
[2020-12-27T08:59:10.244Z]    at Microsoft.Azure.Functions.Worker.FunctionBroker.InvokeAsync(InvocationRequest invocationRequest) in D:\a\1\s\src\DotNetWorker\Broker\FunctionBroker.cs:line 44.
[2020-12-27T08:59:10.283Z] Executed 'Functions.Function6' (Failed, Id=64b73cb1-4916-4b7f-bde7-e5c8cef6f9b2, Duration=14973ms)
[2020-12-27T08:59:10.285Z] System.Private.CoreLib: Exception while executing function: Functions.Function6. System.Private.CoreLib:

Duplicate of #14.
Binding to SDK types is not supported.

Duplicate of #14.
Binding to SDK types is not supported.

Binding to Message Type in future will be supported ?
I've seen that binding to Microsoft.Azure.Functions.Worker.Pipeline.FunctionExecutionContext parameter is working, is it right?
For my scenario Microsoft.Azure.ServiceBus.Message parameter is important but can I read Message Metadata (like UserProperties) from it?
Thank you

Binding to Message Type in future will be supported ?

I'd think so.

For my scenario Microsoft.Azure.ServiceBus.Message parameter is important but can I read Message Metadata (like UserProperties) from it?

A message metadata is part of a message. You can't read one w/o another. Keep in mind, this is a very early preview. Aka not intended for production.
Ideally #14 will be updated when the appropriate bindings are supported. Cheers.

The information shared by @SeanFeldman is correct. This is expected with the current version of the worker and support for rich types will come at a later date.
Duplicate of #14

@fabiocav does "at a later date" mean "in the GA version", "in the .NET 5 timeframe", or later? The comments in this repo are not really clear on this.

@fabiocav does "at a later date" mean "in the GA version", "in the .NET 5 timeframe", or later? The comments in this repo are not really clear on this.


Add a github action workflow for PR build checking

I am going to let this linger for awhile and implement it when a few things slow down on development.

Yeah, that's fine, feel free to even close for now and reopen if you ever feel like it.
Fyi, a middle ground is that if you don't do the branch protection stuff, then it won't be as slow.  The 5 min builds will only happen when someone first does the commit and not the master gets other merges, unless there's a conflict to fix.
But all that does is confirm someone didn't check in something that wouldn't compile in their own branch.


panic: runtime error: index out of range [0] with length 0

Hi,
Some YT urls are not happy.
This one for example: https://youtu.be/ahMRdZ7KnTM?si=LihvNZnzIbji2-IV
yt 'https://youtu.be/ahMRdZ7KnTM?si=LihvNZnzIbji2-IV' | fabric -sp extract_wisdom
panic: runtime error: index out of range [0] with length 0

goroutine 21 [running]:
github.com/danielmiessler/fabric/vendors/openai.(*Client).SendStream(0xc000127200, {0xc00041e5c0?, 0x0?, 0x0?}, 0x0?, 0xc000112700)
        /home/rudi/go/pkg/mod/github.com/danielmiessler/fabric@v1.4.3/vendors/openai/openai.go:78 +0x475
github.com/danielmiessler/fabric/core.(*Chatter).Send.func1()
        /home/rudi/go/pkg/mod/github.com/danielmiessler/fabric@v1.4.3/core/chatter.go:37 +0x3d
created by github.com/danielmiessler/fabric/core.(*Chatter).Send in goroutine 1
        /home/rudi/go/pkg/mod/github.com/danielmiessler/fabric@v1.4.3/core/chatter.go:36 +0x149

It's working great most of the time, sometimes it blows not (not sure how to debug Go lang)

This is an issue I would definitely post on the fabric GitHub, I did base my YouTube transcription on his same method but ported over to typescript. For mesh-ai though we do not use any fabric binaries or libraries.Sent from my iPhoneOn Sep 13, 2024, at 2:44 AM, Rudi Starcevic @.***> wrote:
Hi,
Some YT urls are not happy.
This one for example: https://youtu.be/ahMRdZ7KnTM?si=LihvNZnzIbji2-IV
yt 'https://youtu.be/ahMRdZ7KnTM?si=LihvNZnzIbji2-IV' | fabric -sp extract_wisdom
panic: runtime error: index out of range [0] with length 0
goroutine 21 [running]:
github.com/danielmiessler/fabric/vendors/openai.(Client).SendStream(0xc000127200, {0xc00041e5c0?, 0x0?, 0x0?}, 0x0?, 0xc000112700)
@./vendors/openai/openai.go:78 +0x475
github.com/danielmiessler/fabric/core.(Chatter).Send.func1()
@./core/chatter.go:37 +0x3d
created by github.com/danielmiessler/fabric/core.(Chatter).Send in goroutine 1
@.**/core/chatter.go:36 +0x149
It's working great most of the time, sometimes it blows not (not sure how to debug Go lang)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>


UI displays a different rule option while editing ingress

Rancher versions:
rancher/rancher: v2.0.1-rc2
Case 1:

Create a workload wk1
Create an ingress with rule Automatically generate a .xip.io hostname pointing to workload "wk1"
Verify the ingress.
Edit the ingress and point to a different workload
In the edit screen, UI points to the option Specify a hostname to use.

Case 2:

Create a workload wk1
Create an ingress with rule Specify a hostname to use pointing to workload "wk1"
Verify the ingress.
Edit the ingress and point to a different workload
In the edit screen, UI points to the option Automatically generate a .xip.io hostname.

If the user does not pay attention that the UI is pointing to a different rule, the edited ingress may not function correctly[It will point to pods of the old and new and old workloads]

For case 1, I guess we need to add some filed in backend to let frontend know if it is auto generated.
As a user, I might want to specify a hostname to use such as lb.<IP_ADDRESS>.xip.io.
It doesn't make sense if we reset it to Automatically generate a .xip.io hostname in edit view.
@vincent99 Can I set it to Automatically generate a .xip.io hostname, if the host ends with .xip.io ?

The basic behavior here is correct; you asked for us to generate a name, we did, and on subsequent a subsequent that is now just what the name is.  We don't know or particularly care if we previously generated it.  So it is shown and selected as "specify a hostname to use".  You need to know what it is to use it, and it shouldn't automatically change just because you changed the target (case 2).
To make this a little more clear, on edit there could be a new first option of "Keep the existing hostname: <x.a.b.c.d.xip.io or whatever-they-typed.com>`.
And on edit, "Automatically generate a xip.io name" (which is going to set the value to xip.io and then the server will update it) is not normally very useful (because it will pick the same name), so it could be eliminated if the current value ends in xip.io.  (But that does make it impossible to update it for your case 2 without just typing the new name).

Tested with master. For both the cases mentioned in the issue above, UI points to the correct option in edit screen.
Example below:


feat(datasets): Add option to async load and save in PartitionedDatasets

Description

This PR provides the user to load and save PartitionedDataset asynchronously for partitions provided.
PartitionedDatasets already provide a way to do lazy loading, which solves for memory complexity. With this PR the time complexity is also reduced if the user wants to save/load these partitions in parallel with the help of use_async argument.

Development notes

Additional use_async argument to PartitionedDataset constructor is used to control the async load/save.
Based on this argument, _save and _load methods call different private functions.
Leveraged existing tests for PartitionedDataset by parameterizing value for use_async using @pytest.mark.parametrize("use_async", [True, False])

Checklist

[x] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[x] Updated the documentation to reflect the code changes
[x] Added a description of this change in the relevant RELEASE.md file
[x] Added tests to cover my changes

Hi @puneeter, can you please provide a description and any relevant development notes on the PR? This will make it easier for the team to review.

I updated the description. Please let me know if it needs any refactoring.

Would need team's help to point to the right documentation to be changed because of this change.


SAM-2959; null pointer if no honor pledge value

OK, I'm using booleanutils, though a simpler method from it.

LGTM

Please use the squash and merge feature....

I thought I had. The button claimed it was.
On Jun 30, 2016, at 12:53 PM, Brian Jones <notifications<EMAIL_ADDRESS>wrote:
Please use the squash and merge feature....
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/sakaiproject/sakai/pull/2961#issuecomment-229719628, or mute the threadhttps://github.com/notifications/unsubscribe/AB0aCLOKpAU4MF51gmze0D5mMqBqKrHNks5qQ_R8gaJpZM4JBfjO.

Oh sorry Chuck, my mistake, you are correct. I just didn't look closely enough. My apologies!

That’s actually not the result I had expected. It gave all the separate commit messages. This is the first time I had used it. I was hoping it would let me supply a single commit message, like squash does.
On Jun 30, 2016, at 1:00 PM, Brian Jones <notifications<EMAIL_ADDRESS>wrote:
Oh sorry Chuck, my mistake, you are correct. I just didn't look closely enough. My apologies!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/sakaiproject/sakai/pull/2961#issuecomment-229721811, or mute the threadhttps://github.com/notifications/unsubscribe/AB0aCBT50HgaA2Bf0bcgAQ4VG87lJ2T5ks5qQ_YxgaJpZM4JBfjO.

It does actually give you that opportunity. When you select the option from the drop down, a text box appears underneath with all the different commit messages dumped into the extra info message, with the actual commit message above in another text box. This gives you the opportunity to both amend the commit message along with all the extra (text) details.


Create a page on staying healthy at work

I received  lot of great tips and information from https://twitter.com/RonaiBrumett at the Twin Cities Drupal Camp. She said she was going to send me an email with loads of easily digestible information. I'd really like to share this with the group.

I've recently started a page for this - http://way.wunder.io/working-at-wunderkraut/wunder-fitness/

@huntons Ah nice, do you mind if I build it into multiple sections? Do you think 'WunderFitness' is a sub-section of 'staying healthy at work'? I don't want people to think the whole section is about running.

Yes, this all ties in with the "great reasons to work here" conversation. We should be clear that it's about walking, running, cycling, swimming. FlorianH even counts his pressups!

… yes, and eating healthily, taking regular breaks, some working practice options like standing desks, ergonomic keyboards maybe, etc etc

It's a good chance to include some nice pics in the section to show our home office setups, explain the benefits of each etc


Add projects as children of tenants

Tenants will from this point have both projects and jobs. Both of them are printed and accessed on a similar manner.

Not necessarily, a tenant can have jobs that are not present on any pipeline. They will never be triggered, but they still exist anyway.


Move downstream-compatibility to its own workflow yaml

Downstream compatibility checks are not required and could be flaky, our internal dashboard refers to the status of ci.yaml which could be misleading. e.g. The Bigtable check failed due to network issues.
Consider moving downstream-compatibility to its own workflow yaml.

That Bigtable check failure seems a valid problem to address. I filed: https://github.com/googleapis/sdk-platform-java/issues/2017

Thanks for picking this up @suztomo! Do you mind adding the downstream check to our dashboard as a separate column? Or whatever way you want to visualize it.

Sure. Editing the dashboard...