Connect to the network

Hi, i am using an a7670E module and want to connect to the network and use mqtt to post/submit topics. however, i do not understand if i am actually connected to the network. The status led is blinking very fast
`Risposta ricevuta: AT+CFUN=1
OK
Risposta ricevuta: AT+CPIN?
+CPIN: READY
OK
Risposta ricevuta: AT+CSQ
+CSQ: 14,0
OK
Risposta ricevuta: AT+CREG=1
OK
Risposta ricevuta: AT+COPS?
+COPS: 0,2,"22201",3
OK
Risposta ricevuta: AT+CREG?
+CREG: 1,1
OK
Risposta ricevuta: AT+CGATT?
+CGATT: 1
OK
Risposta ricevuta: AT+CPSI?
+CPSI: GSM,Online,222-01,0x46C2,43674,1021 PGSM 900,25,0,15-15
OK
Risposta ricevuta: AT+CGDCONT= 1,"IP","apn.fastweb.it","<IP_ADDRESS>",0,0
OK
Risposta ricevuta: AT+CGACT=1,1
+CME ERROR: requested service option not subscribed (#33)
+CGEV: ME PDN DEACT 1
Risposta ricevuta: AT+CGACT?
+CGACT: 3,0
OK
Risposta ricevuta: AT+CGPADDR=1
OK
Risposta ricevuta: AT+NETOPEN
OK
+NETOPEN: 0
Risposta ricevuta: AT+CPING="www.google.com"
ERROR
`
best regards for the support

+CPSI: GSM,Online,222-01,0x46C2,43674,1021 PGSM 900,25,0,15-15

The above indicates that it has been properly registered in the GSM network.
AT+NETOPEN
OK
+NETOPEN: 0

This indicates that the network has been opened normally
AT+CPING="www.google.com" is incorrectly used. You must specify whether the address type is IPV4. The correct one is
AT+CPING="www.google.com" ,1

The connection to the network seems ok, now I want to try connecting to the mqtt broker. it is a secure connection but does not require checking the certificate (at least on the esp-wifi side), the connection attempt returns ok, but with an error.
`
Rx<<<: AT+CFUN=1
OK
Rx<<<: AT+CPIN?
+CPIN: READY
OK
Rx<<<: AT+CSQ
+CSQ: 12,0
OK
Rx<<<: AT+CREG=1
OK
Rx<<<: AT+COPS?
+COPS: 0,2,"22201",3
OK
Rx<<<: AT+CREG?
+CREG: 1,1
OK
Rx<<<: AT+CGATT?
+CGATT: 1
OK
Rx<<<: AT+CPSI?
+CPSI: GSM,Online,222-01,0x46C2,438,9 PGSM 900,21,0,11-11
OK
Rx<<<: AT+CGDCONT= 1,"IPV4V6","apn.fastweb.it","<IP_ADDRESS>",0,0
OK
Rx<<<: AT+CGACT=1,1
OK
+CGEV: ME PDN ACT 1,0
AT+CGACT?
+CGACT: 1,1
+CGACT: 3,0
OK
Rx<<<: AT+CGPADDR=1
+CGPADDR: 1,<IP_ADDRESS>
OK
Rx<<<: AT+NETOPEN=1
OK
+NETOPEN: 0
Rx<<<: AT+CIPSRIP=1
OK
Rx<<<: AT+CMQTTSTART
OK
+CMQTTSTART: 0
Rx<<<: AT+CMQTTSSLCFG=0,1
OK
Rx<<<: AT+CMQTTCONNECT=1,"tcp://xxxxyyycloud.ddns.net:8883",120,0,"yyyyyyyyy","xxxxxxxxxxxxxxxxxxxxx"
+CMQTTCONNECT: 1,20
ERROR`
how i can fix it ?
thanks for the support

 Rx<<<: AT+CFUN=1 OK Rx<<<: AT+CPIN? +CPIN: READY OK Rx<<<: AT+CSQ +CSQ: 13,0 OK Rx<<<: AT+CREG=1 OK Rx<<<: AT+COPS? +COPS: 0,2,"22201",3 OK Rx<<<: AT+CREG? +CREG: 1,1 OK Rx<<<: AT+CGATT? +CGATT: 1 OK Rx<<<: AT+CPSI? +CPSI: GSM,Online,222-01,0x46C2,43674,1021 PGSM 900,24,0,14-14 OK Rx<<<: AT+CGDCONT= 1,"IPV4V6","apn.fastweb.it","<IP_ADDRESS>",0,0 OK Rx<<<: AT+CGACT=1,1 OK +CGEV: ME PDN ACT 1,0 AT+CGACT? +CGACT: 1,1 +CGACT: 3,0 OK Rx<<<: AT+CGPADDR=1 +CGPADDR: 1,<IP_ADDRESS> OK Rx<<<: AT+NETOPEN=1 OK +NETOPEN: 0 Rx<<<: AT+CIPSRIP=1 OK Rx<<<: AT+CMQTTSTART OK +CMQTTSTART: 0 Rx<<<: AT+CMQTTSSLCFG=1,1 OK Rx<<<: AT+CSSLCFG="sslversion",2,3 OK Rx<<<: AT+CSSLCFG="authmode",2,0 OK Rx<<<: AT+CSSLCFG="enableSNI",2,1 OK Rx<<<: AT+CDNSCFG="<IP_ADDRESS>","<IP_ADDRESS>" OK Rx<<<: AT+CMQTTACCQ=1,"10061C843E36",1 OK Rx<<<: AT+CMQTTCONNECT=1,"tcp://xxxxx.ddns.net:8883",120,0,"xxxxx","xxxxxxxxxxxxx" +CMQTTCONNECT: 1,32

Port 8883 needs to be encrypted to use encrypted transmission, please check the provided example operation.
https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/examples/MqttsBuiltlnEMQX/MqttsBuiltlnEMQX.ino

Hi, I am currently using the Esp-Idf framework so without arduino and the example is not of much help to me. Is it possible to know the correct AT command sequence ?

You can open https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/01925ece37dad7d66b27c4b5c3224da6f67f5cd7/examples/MqttsBuiltlnEMQX/MqttsBuiltlnEMQX.ino#L15 to print all interaction logs

ok, but from the example i don't see user and pass. for my broker ( mqtts) it is necessary to enable ssl ( the certificate is not necessary), but i have to report user and pass to access the command ‘ AT+CMQTTCONNECT=1, “tcp://xxxxx.ddns.net:8883”,120,0, “user”, “password”’ is correct ?

https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/examples/MqttsBuiltlnAuth/MqttsBuiltlnAuth.ino
This example matches your description

unfortunately i cannot use the example provided with arduino for my c application with esp.idf, is it possible to get support on the commands to use and the correct formatting ?

If you run the example you get all the interactions, don't you want to or can't you? I can only run it again and submit it to you, hopefully you can figure it out.
Start modem...
AT
AT
AT
AT
.
AT
AT
AT
AT
.
AT
AT
AT
AT
.
AT
AT
AT
AT

OK

AT+CPIN?
AT+CPIN?

ERROR
AT+CPIN?

*ATREADY: 1
AT+CPIN?
+CME ERROR: SIM failure
AT+CPIN?
AT+CPIN?
+CME ERROR: SIM busy

+CPIN: READY
SIM card online
AT+CNMP=2
AT+CNMP=2

OK
AT+CNMP?

+CGEV: EPS PDN ACT 1
AT+CNMP?

+CNMP: 2

OK
Current network mode : AUTO
Wait for the modem to register with the network.AT+CGREG?
AT+CGREG?

+CGREG: 0,1

OK
Online registration successful

Registration Status:1
AT+CPSI?
AT+CPSI?

+CPSI: LTE,Online,460-11,0x7764,102547543,168,EUTRAN-BAND8,3740,3,0,20,68,67,14

OK
Inquiring UE system information:LTE,Online,460-11,0x7764,102547543,168,EUTRAN-BAND8,3740,3,0,20,68,67,14
AT+NETOPEN
AT+NETOPEN

OK

+NETOPEN: 0AT+IPADDR

SMS DONE
AT+IPADDR

+IPADDR: <IP_ADDRESS>

OK
Network IP:<IP_ADDRESS>
AT+CMQTTSTART
AT+CMQTTSTART

OK

+CMQTTSTART: 0
Connecting to test.mosquitto.org
AT+CSSLCFG="authmode",0,0
AT+CSSLCFG="authmode",0,0

OK
AT+CMQTTREL=0
AT+CMQTTREL=0

+CMQTTREL: 0,20

ERROR
AT+CMQTTACCQ=0,"A76XX",1
AT+CMQTTACCQ=0,"A76XX",1

OK
AT+CMQTTCFG="version",0,4
AT+CMQTTCFG="version",0,4

OK
AT+CMQTTCONNECT=0,"tcp://test.mosquitto.org:8885",60,1,"rw","readwrite"
AT+CMQTTCONNECT=0,"tcp://test.mosquitto.org:8885",60,1,"rw","readwrite"

OK

+CMQTTCONNECT: 0,0
successed.
AT+CMQTTDISC?

AT+CMQTTDISC?

+CMQTTDISC: 0,0
+CMQTTDISC: 1,1

OK
MQTT has connected!
AT+CMQTTSUBTOPIC=0,21,0
AT+CMQTTSUBTOPIC=0,21,0

>
GsmMqttTest/subscribe

OK
AT+CMQTTSUB=0
AT+CMQTTSUB=0

OK

+CMQTTSUB: 0AT+CMQTTTOPIC=0,19
,0
AT+CMQTTTOPIC=0,19

>GsmMqttTest/publish

OK
AT+CMQTTPAYLOAD=0,10
AT+CMQTTPAYLOAD=0,10

>RunTime:26

OK
AT+CMQTTPUB=0,0,60
AT+CMQTTPUB=0,0,60

OK

+CMQTTPUB: 0,0

I used an example borker without user and pass, and actually managed to publish,
however if i use my broker with user and pass i get ’
Rx<<: AT+CMQTTCONNECT=0, ‘tcp://mybroker.ddns.net:8883’,60,1, ‘user’, ‘pass’
+CMQTTCONNECT: 0,32’

Are you testing the same server?

yes if I use the mqtt side esp32 configured in this way everything works correctly
esp_mqtt_client_config_t mqtt5_cfg = {         .broker.address.uri = BROKER_URL,         .broker.address.port = BROKER_PORT,           .buffer.size = 1024,                 .broker.verification.skip_cert_common_name_check = true,         .session.protocol_ver = MQTT_PROTOCOL_V_5,         .network.disable_auto_reconnect = true,         .credentials.username = MQTT_USER,         .credentials.authentication.password =MQTT_PASS,         .session.last_will.retain = true,         .credentials.authentication.certificate=NULL,         .broker.verification.use_global_ca_store = false,               .credentials.client_id=ID_CODE,     };

Before connecting AT+CMQTTCONNECT, send AT+CSSLCFG="enableSNI",0,1  to try

still not working
+CMQTTSTART: 0 Rx<<<: AT+CSSLCFG="sslversion",0,4 OK Rx<<<: AT+CSSLCFG="authmode",0,0 OK Rx<<<: AT+CSSLCFG="enableSNI",0,1 OK Rx<<<: AT+CMQTTACCQ=0,"ID_CODE",1 OK Rx<<<: AT+CMQTTCONNECT=0,"tcp://broker.ddns.net:8883",60,1,"user","pass" +CMQTTCONNECT: 0,32

Is the firmware version you are using the latest one? Send AT+SIMCOMATI to check
Can you provide me with a test account to test it?
If you are using the latest version and cannot provide me with a test account, then you need to provide the modem log, and I need to submit the log to SIMCOM for analysis. How to capture logs and upgrade please see here

https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/update_fw.md
https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/a7670x_capture_log.md

do you need broker,user,pass and code id ?
I can send it to you privately in case (it's corporate and I don't want to keep it public)
Rx<<<: AT+SIMCOMATI
Manufacturer: INCORPORATED
Model: A7670E-LASE
Revision: A011B12A7670M7
A7670M7_B12V02_220613
QCN:
IMEI:<PHONE_NUMBER>42426
MEID:
+GCAP: +CGSM,+FCLASS,+DS
DeviceInfo:

OK

Please upgrade to the latest version of the firmware first, then try again. If it still doesn't work, send the mqtt test information to my email
https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/update_fw.md#a7670e-lase-no-gps

is there a firmware update guide ?

There is a video https://youtu.be/AZkm-Z7mKn8

You are using T-PCIE.？？？
The USB interface of T-PCIE is here. You need a USB cable to connect the solder joints.

I have updated, with the new version
x<<<: AT+SIMCOMATI
Manufacturer: SIMCOM INCORPORATED
Model: A7670E-LASE
Revision: A124B01A7670M7
A7670M7_B01V01_240722
IMEI:
OK

however, some data were introduced that did not appear before, such as
Rx<<<:
+CGEV: NW PDN DEACT 1

+CIPEVENT: NETWORK CLOSED UNEXPECTEDLY,1

+CGEV: NW REATTACH

+CGEV: EPS PDN ACT 1

+CGEV: ME PDN ACT 8,1

Has the MQTT issue been resolved?

however i have a doubt on the network side. now i am using my sim (whose apn i know). but i would like to make it so that i can use any sim. is there a way to set up the apn independently?

I am carrying out tests by not selecting the apn
Rx<<: AT+CGDCONT= 1, ‘IPV4V6’,"’
is this advisable ? i am seeing that 3/5 connects

Whether to set APN depends on the operator you use. Some operators require APN to be set before allowing network access. In China, it is not necessary because the operator issues the APN.

ok so it would always be better to set it (not knowing the intended use)

Well, you can try it yourself

As far as the pub is concerned, I have no problems. however, if I try to sub-register, I get an error. is the procedure wrong?
+CMQTTPUB: 0,0
Rx<<<: AT+CMQTTSUBTOPIC=0,33,1
OK
+CMQTTSUBTOPIC: 0,0
Rx<<<: AT+CMQTTSUB=0,1,120
ERROR

If an error occurs, please read the manual first

I also solved with the sub, thanks

i use the same topic for convenience. the A7670E modules with gps have arrived, and i am trying to retrieve the position. i switch on the module and wait for the ‘ready’ but get empty values. the sequence seems correct to me
+CGNSSPWR: READY!
Rx<<<: AT+CGNSSTST=1
OK
Rx<<<: AT+CGNSSPORTSWITCH=0,1
OK
Rx<<<: AT+CGPSCOLD
OK
Rx<<<: AT+CGPSNMEARATE=1
OK
Rx<<<: AT+CGNSSNMEA=1,0,1,1,1,0,0,0
OK
Rx<<<: AT+CGPSINFO
+CGPSINFO: ,,,,,,,,

Only when the positioning is fixed will there be valid data. There are many issues in the GPS issue that can be referred to.

I spotted a problem, I have two A7670E boards
one upgraded to version 240927 and it doesn't connect (or at least I can't see) the gnss side prints, however there is one print that I can't figure out what it is
Rx<<<:
+MSTK: 11, "D0819281030113008202818305000607919373652636000B7C41000C9193736500000100046F027000006A0D000000004432310000000000000109082922808379799857020A989380000070799857F083088A2677012724420804088A2677012724710705143F01EDE2119C00078400001F4260000043000000060200D70702214308060001000003000B09082922808379799857"

however it works on the mqtt side.
another board i tested it stock as it came with version 240105 and the gnss works correctly, while the mqtt connection does not ( the strange print is not present).
the AT commands sent to both boards are identical, the t-pcie module was not flashed during the board swap

pcie,a7670 has a separate GPIO to control the GPS antenna switch, have you done it?

Please take a picture of the sticker on the modem

this is the firmware I loaded on the one on the left

I don't have a modem with this PN number now, I need some time

hai bisogno di broker, utente, pass e codice id? Posso inviarteli privatamente nel caso (è aziendale e non voglio tenerlo pubblico)
Rx<<<: AT+SIMCOMATI
Manufacturer: INCORPORATED
Model: A7670E-LASE
Revision: A011B12A7670M7
A7670M7_B12V02_220613
QCN:
IMEI: 8627xxxxxxxxxx
MEID:
+GCAP: +CGSM,+FCLASS,+DS
DeviceInfo:

OK

Questa è la versione del firmware che avevi prima dell'aggiornamento?

no, this is the version of this board (without gps)

Confirm again whether it is as shown in the figure below? The new version (A7670M7_B07V01_240927) GPS is invalid, and the old version (A7670M7_B01V01_240105) is valid?

Are you using the firmware and writing tools I provided?

I used the tools/firmware on this page
https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/blob/main/docs/update_fw.md

in the meanwhile, can I get version A7670M7_B01V01_240105 so that I can upload it to the module and test whether it actually works on the gnss side ?

https://drive.google.com/file/d/10IcmnCdVcRooT8N2r52LK6sUne_WvIti/view?usp=sharing

So the GPS should work fine with the old version, right? I will test it when I get the board.

I used the same PN version to test, B01, B07 can be positioned normally
A7670M7_B07V01_240927

*ATREADY: 1
AT

OK

ATE0
ATE0

OK
ATI

Manufacturer: INCORPORATED
Model: A7670E-FASE
Revision: A7670M7_V1.11.1
IMEI:<PHONE_NUMBER>22945
+GCAP: +CGSM,+FCLASS,+DS

OK
[20690] ### Modem: A7670E-FASE
Model Name:A7670E-FASE
AT+SIMCOMATI

Manufacturer: INCORPORATED
Model: A7670E-FASE
Revision: A011B07A7670M7_F
A7670M7_B07V01_240927
QCN:
IMEI:<PHONE_NUMBER>22945
MEID:
+GCAP: +CGSM,+FCLASS,+DS
DeviceInfo:

OK
Enabling GPS/GNSS/GLONASS
AT+CGDRT=4,1

OK
AT+CGSETV=4,0

OK
AT+CGNSSPWR=1

OK

+CPIN: READY

SMS DONE

+CGNSSPWR: READY!
GPS Enabled
AT+CGNSSIPR=115200

OK
Requesting current GPS/GNSS/GLONASS location
AT+CGNSSINFO

+CGNSSINFO: ,,,,,,,,

OK
Couldn't get GPS/GNSS/GLONASS location, retrying in 15s.
Requesting current GPS/GNSS/GLONASS location
AT+CGNSSINFO

PB DONE

+CGNSSINFO: ,,,,,,,,

OK
Couldn't get GPS/GNSS/GLONASS location, retrying in 15s.
Requesting current GPS/GNSS/GLONASS location
AT+CGNSSINFO

+CGNSSINFO: ,,,,,,,,

OK
Couldn't get GPS/GNSS/GLONASS location, retrying in 15s.
Requesting current GPS/GNSS/GLONASS location
AT+CGNSSINFO

+CGNSSINFO: 3,07,,03,00,22.6562366,N,114.0598297,E,291124,023114.00,118.4,0.679,,3.43,2.74,2.06,06

OK
FixMode:3
Latitude:22.656237	Longitude:114.059830
Speed:0.68	Altitude:118.40
Visible Satellites:7	Used Satellites:0
Accuracy:2.74
Year:2024	Month:11	Day:29
Hour:2	Minute:31	Second:14
Retrieving GPS/GNSS/GLONASS location again as a string
AT+CGNSSINFO

+CGNSSINFO: 3,11,,03,00,22.6564522,N,114.0598373,E,291124,023117.00,120.1,2.647,,3.43,2.74,2.06,06

OK
GPS/GNSS Based Location String:3,11,,03,00,22.6564522,N,114.0598373,E,291124,023117.00,120.1,2.647,,3.43,2.74,2.06,06
Disabling GPS
AT+CGNSSPWR=0

OK

A7670M7_B01V01_240105
*ATREADY: 1
AT

OK

ATE0
ATE0

OK
ATI

Manufacturer: SIMCOM INCORPORATED
Model: A7670E-FASE
Revision: A7670M7_V1.11.1
IMEI:<PHONE_NUMBER>22945

OK
[10675] ### Modem: A7670E-FASE
Model Name:A7670E-FASE
AT+SIMCOMATI

Manufacturer: SIMCOM INCORPORATED
Model: A7670E-FASE
Revision: A110B01A7670M7_F
A7670M7_B01V01_240105
IMEI:<PHONE_NUMBER>22945

OK
Enabling GPS/GNSS/GLONASS
AT+CGDRT=4,1

OK
AT+CGSETV=4,0

OK
AT+CGNSSPWR=1

OK

+CPIN: READY

SMS DONE

+CGNSSPWR: READY!
GPS Enabled
AT+CGNSSIPR=115200

OK
Requesting current GPS/GNSS/GLONASS location
AT+CGNSSINFO

+CGNSSINFO: ,,,,,,,,

OK
Couldn't get GPS/GNSS/GLONASS location, retrying in 15s.
Requesting current GPS/GNSS/GLONASS location
AT+CGNSSINFO

PB DONE

+CGNSSINFO: ,,,,,,,,

OK
Couldn't get GPS/GNSS/GLONASS location, retrying in 15s.
Requesting current GPS/GNSS/GLONASS location
AT+CGNSSINFO

+CGNSSINFO: ,,,,,,,,

OK
Couldn't get GPS/GNSS/GLONASS location, retrying in 15s.
Requesting current GPS/GNSS/GLONASS location
AT+CGNSSINFO

+CGNSSINFO: 3,10,,03,00,22.6554260,N,114.0598373,E,291124,021942.00,183.6,0.821,,7.28,6.05,4.04,06

OK
FixMode:3
Latitude:22.655426	Longitude:114.059837
Speed:0.82	Altitude:183.60
Visible Satellites:10	Used Satellites:0
Accuracy:6.05
Year:2024	Month:11	Day:29
Hour:2	Minute:19	Second:42
Retrieving GPS/GNSS/GLONASS location again as a string
AT+CGNSSINFO

+CGNSSINFO: 3,10,,03,00,22.6553040,N,114.0598526,E,291124,021944.00,170.3,0.561,,7.26,6.04,4.04,06

OK
GPS/GNSS Based Location String:3,10,,03,00,22.6553040,N,114.0598526,E,291124,021944.00,170.3,0.561,,7.26,6.04,4.04,06
Disabling GPS
AT+CGNSSPWR=0

OK

So the GPS should work fine with the old version, right? I will test it when I get the board.

yes, it immediately connects and works normally, I try reloading the new firmware and place the module in the same position

Did you re-flash the new version?

Did you re-flash the new version?

yes i do

Well, surprising

and I am currently using your same commands AT
AT+CGDRT=4,1
AT+CGSETV=4,0
AT+CGNSSPWR=1
AT+CGNSSIPR=115200
AT+CGNSSINFO  (looping every x seconds if it doesn't read anything)
after 10 minutes he found the position

I was outside for about a minute and he was able to find a spot.

these commands I am not currently using, are they necessary?
AT+CGPSCOLD
AT+CGNSSTST=1
AT+CGNSSNMEA=1,1,1,1,1,1,1,1
AT+CGNSSPORTSWITCH=0,1

This is not necessary, it is used for debugging


[feature] additional recipe metadata

This addresses #4
You can specify recipe metadata keys in following TOML header
[tool.hatch.build.targets.conda.recipe]
...

Recipe metadata is defined in TOML syntax. The metadata is merged using deepmerge with the following strategies
recipe_merger = Merger(
    type_strategies=[
        (dict, ["merge"]),
        (list, ["append"])
    ],
    fallback_strategies=["override"],
    type_conflict_strategies=["override"]
)

Most importantly, this will append list values if the key already exists. For example you can use nested key TOML
syntax:
[tool.hatch.build.targets.conda.recipe]
requirements.run = ["anaconda-anon-usage"]
test.imports = ["my_package"]

will append the package name anaconda-anon-usage to the autogenerated run requirements and inject the test
section into the recipe before it is built.

I'm going to leave this as a draft until #2 is merged


Added transcript highlight feature as audio plays

Issue #105
Description of changes:

Added transcript highlight feature as audio plays
Removed console error of key
Added default parameter
Added HTML best practices

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hi Harsh, I ran a test with the PR.. Can you take a look at the transcript display on the first sample call (Card2_GUID_102_AGENT_AndrewK_DT_2022-03-22T12-23-49.wav)... The highlighting of ISSUE is getting a bit messed up.. Should look like this:  But after applying the PR 111, it looks like this:  Thanks! Bob

Hi Bob,
I have made the changes and issue is fixed.
Kindly review.

Looks great now.. Thanks for the fix!

Hi Bob,
I have reverted duplicate JSON changes and now using [WordConfidence] for text highlighting.

Thanks Harsh.. Andrew is reviewing now.
From: Harsh Pandey @.>
Sent: Thursday, June 23, 2022 9:58 AM
To: aws-samples/amazon-transcribe-post-call-analytics @.>
Cc: Strahan, Bob @.>; Comment @.>
Subject: Re: [aws-samples/amazon-transcribe-post-call-analytics] Added transcript highlight feature as audio plays (PR #111)
Hi Bob,
I have reverted duplicate JSON changes and now using [WordConfidence] for text highlighting.
—
Reply to this email directly, view it on GitHubhttps://github.com/aws-samples/amazon-transcribe-post-call-analytics/pull/111#issuecomment-1164442239, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACTSFHSCNX4PN2C25ZAQSG3VQRUP5ANCNFSM5TYEWCGA.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>


DFGW

Key
Value

ID
DFGW

Source
Vaaran Bhai Gurdas Ji

Page
10

Line
Gir AweI Twkur imly; pYj rhI boly srmWdI [

Correction
srmWdI  ≠ SrmWdI

PROOF (EDITION)
Image:

srmWdI should stay the same.
Though SrmWdI is correct pronunciation.

Master branch shows this line as srmWdI
https://github.com/ShabadOS/database/blob/master/data/Vaaran Bhai Gurdas Ji/10.json#L1893

#375


Filter Repositories on basis of repository's description

What to do:

Filter the repositories returned from GitHub on  the basis of stars of repo, forks and the length of the description. You are free to implement your own algorithms to get this done.
Research the GitHub API properly to understand how this can be done.

Give a description of  how you would like to implement this and I will assign it to you. PR without proper descriptions will not be accepted.

Hello! Newbie here.
Do we have to sort the repositories page-wise or sort all the repos at once and then return 10 repos per page?


⚠ Bofrost.com has degraded performance

In ec07698, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 1050 ms

Resolved: Bofrost.com performance has improved in 812c767 after 10 minutes.


Update layers/meta-balena digest to 2454c53

This PR contains the following updates:

Package
Update
Change

layers/meta-balena
digest
2e4f0c9 -> 2454c53

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

lgtm


Add a tool to generate resource docs using the Pulumi schema

Proposed changes
Add a resource doc generator tool. This tool generates a schema using the provider's tfgen and then calls on the new schema-based docs code generator to generate the docs.
Although this tool is currently generating the schema from the provider, note that there is some pending work to actually update all of the downstream providers to check-in a schema.json file, which this tool could simply import, therefore skipping the part about generating the schema, which is where bulk of the time is spent. See this comment for relevant info.
UPDATE: This PR has been updated to read the schema.json file in the provider repo and use that to generate the docs.
Unreleased product version (optional)
N/A
Related issues (optional)
Part of #2555.

I am so excited to see this landing!! 🎉🎉🎉
Really great work, just a few comments from me (many discussed previously here FWIW)

I was surprised the language chooser remains on the API docs landing page and that there are still differences in the package lists. If we need it for the subset of packages that are still language-specific (like AWSX), it would be good to put those in a separate section on the page.

In fact, all links on that page seem to go to the old docs still? Personally, I think the new docs are so much better already, we should just change those links and get people seeing them and providing feedback, even as we add the finishing touches.

I do question whether we should be using the same breadcrumbs for these as the API docs. Both say Docs > Reference > API > ..., which makes it slightly confusing that we now have two different kinds of AWS packages there. Maybe we should have Docs > Reference > API > (Language) > (Package), and Docs > Reference > Providers > (Provider) as two parallel breadcrumbs.

If I have a non-TypeScript language selected, the examples have titles but are empty. Can we add a "Coming Soon" with a link to the GitHub work item, like we do in other areas where we have a language gap?

We seem to be hiding the JavaScript language chooser element. I understand why we did it, but it's confusing to me, because it's inconsistent with what we do everywhere else in the site. Should we just show it even though it's technically the same as TypeScript today, for consistency? Or are we planning on removing the JavaScript tab elsewhere in the site? (My vote is let's not do that FWIW.)

Minor thing, it would be good to have @zchase look at the titles we're creating programmatically. I suspect something like "AWS S3 Bucket Resource Guide | Pulumi" would be better than the current title of "Bucket | Pulumi" for e.g. this page (in terms of SEO).

Do we plan to make the "Example Usage" section collapsible? It consumes a lot of vertical space. See https://github.com/pulumi/docs/pull/2551#discussion_r385440905 for some prior discussion.

Nit, the alignment of the args table isn't aligned with the language chooser tabs just before it.

Do we plan on making the font for that table smaller? A lot of things wrap and it makes it a bit difficult to read for my eyes (especially as our left/right navs consume so much space).

Can we sort required argument properties to the top of the table?

Can we use smaller indicators than "(Required) " and "(Optional) " for these designations? Maybe one of the chiclets (not orange, as that'd be jarring, but maybe light grey). In fact, if we sort them as suggested above, then I'd simply leave off "(Required) " and make it implied.

Can we omit the output properties that also appear as input properties? The table would be 10x more valuable because then I'd be able to get a sense of what properties are actually computed for me, which I suspect is what people want 99% of the time when looking at this table. It doesn't seem helpful to just mirror the input properties which are always available as an output also.

Nothing here blocking, I'd land as-is and just have follow ups for these, honestly. Again great work!

I noticed some markdown isn't getting rendered; e.g., for the "Look up Existing Resource" table, the id property seems to say _unique_ when I think it should render as unique.

Can we link from the "Look up Existing Resource" section to the programming model docs? One thing that's not clear is what ID to use for a given resource as it varies by resource type (e.g., sometimes the ARN, sometimes the raw name, in Azure the fully qualified subscription name, and so on) -- is that available in the docs somewhere?

Minor suggestion for the long-term (not now, but if you have a laundry list would be good to track), would be nice to have a little description of the module when I hover over it (e.g., hovering over s3 would say "Amazon S3 provides object storage to build and retrieve data from anywhere.")

This is a great list, thanks @joeduffy! This PR doesn't contain any UX treatment from me yet, and most of the items you mention are definitely on my list. Once this merges, you'll see it start to land.

As Christian pointed out, this PR is only for adding docs generation tool to this repo to produce docs. There are separate issues tracking the UX work. Please see #2586 and #2587.
Also, FYI to see all of the work that is remaining for the resource docs, please see this GH project: https://github.com/orgs/pulumi/projects/10.

I see (Optional) The type of volume. Can be "standard", "gp2", or "io1". (Default: "gp2"). on http://content-bucket-de682d9.s3-website-us-east-1.amazonaws.com/docs/reference/pkg/aws/ec2/instance/, but that awkward escaping of the quotes doesn't show up on (e.g.) https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/aws/ec2/#block-devices.  Is this a more general issue with the way we are embedding the content here?

Is this a more general issue with the way we are embedding the content here?

Yes, I believe so. I think this is an issue with rendering something that has double-quotes in it. I wrote-up a note in the docs project to investigate/fix separately.


what shuold I do to make this program run all frame on  mai_city sequence 00?

setting:   name: "maicity_incre_reg"   output_root: "/home/hh/experiments/"   pc_path: "/home/hh/data/mai_city/ply/sequences/01/velodyne"   pose_path: /home/hh/data/mai_city/ply/sequences/01/poses.txt"   calib_path: "/home/hh/data/mai_city/ply/sequences/01/calib.txt"   load_model: False # load the pretrained decoder model (optional)   model_path: "./pretrained/geo_decoder_8dim.pth"    first_frame_ref: False   begin_frame: 0   end_frame: 699   every_frame: 1 # 1 means does not skip   device: "cuda"   gpu_id: "0" process:   min_range_m: 1.5   pc_radius_m: 20.0  # distance filter for each frame   rand_downsample: False # use random or voxel downsampling   vox_down_m: 0.03   rand_down_r: 0.2 sampler:   surface_sample_range_m: 0.5   surface_sample_n: 3   free_sample_begin_ratio: 0.3   free_sample_end_dist_m: 0.8   free_sample_n: 3 octree:   leaf_vox_size: 0.5   tree_level_world: 12   tree_level_feat: 3   feature_dim: 8   poly_int_on: True   octree_from_surface_samples: True decoder:   mlp_level: 2   mlp_hidden_dim: 32   freeze_after_frame: 20 loss:   ray_loss: False   main_loss_type: sdf_bce  # select from sdf_bce (our proposed), sdf_l1, sdf_l2, dr, dr_neus   sigma_sigmoid_m: 0.05   loss_weight_on: False   behind_dropoff_on: False   ekional_loss_on: False   weight_e: 0.1 continual:   continual_learning_reg: True # using incremental mapping with regularization   lambda_forget: 1e6 # the larger this value, the model would be less likely to forget   window_replay_on: False # replay within the sliding window   window_radius_m: 0 optimizer:   iters: 50  # iterations per frame   batch_size: 4096   learning_rate: 0.01   weight_decay: 0 # l2 regularization eval:   wandb_vis_on: False # log to wandb or not   o3d_vis_on: True # visualize the mapping or not   vis_freq_iters: 0    save_freq_iters: 0 # save the model and octree every x iterations   mesh_freq_frame: 5 # reconstruct the mesh every x frames   mc_res_m: 0.2 # reconstruction marching cubes resolution   mc_with_octree: False # querying sdf in the map bbx   mc_vis_level: 1   save_map: False # save the sdf map or not
thanks for your excellent work.
I just want to know that  why I change the parameter "end frame" from 100 to 699 in files config/maicity/maicity_incre_reg,  I get the same result when "end frame=100". I just want to run all frame in mai_city sequence 00.May need to modify another parameter too,could you tell me

Thanks for your interest in our work.
MaiCity sequence 01 only has 100 frames. You may need to change pc_path and pose_path to xxx/sequences/00/xxx to use MaiCity sequence 00, which contains 700 frames.


Java 8 compatible quartz with terracotta

It seems the Java 8 release is being worked on, but is the WIP version in this branch compatible with any version of terracotta server? I found some old compatibility matrix but it did not include any new versions of quartz such as 2.3+.

I actually found quartz 2.4 snapshot to work fine with terracotta 4.3.6... closing issue.


SCB-864

Generalize TransportFactory to support to call SQL component

Coverage increased (+1.6%) to 90.826% when pulling 07edd07d126b354abc01686c95eb576113d850f7 on KomachiSion:SCB-864 into 0ee4c59169224e9a2f4ab76f44216a2784df02bd on apache:master.


feat: moved prev / next buttons into shareable component

update webchat to fix scroll bug

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

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Column 'table_name' cannot be resolved

I am trying to execute a left join, but receive the above error. I believe it occurs because I am trying to use a renamed (by the 'as' keyword) aggregate column as part of the condition for the 'on' statement. I have found SQL samples online which can do this (eg. http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=160475), but I seem to be unable to achieve a similar result with presto. Subsituting date_trunc('minute', start_time) produces the same result as if the left join was excluded.
Sample query:
select
date_trunc('minute', start_time) as timestamp,
count(1) as requests
from table_name
left join (
select a.date
from (
select date_add('minute', -(a.a + (10 * b.a) + (100 * c.a) + (1000 * d.a)), date_trunc('day', now())) as date
from (select 0 as a union all select 1 union all select 2 union all select 3 union all select 4 union all select 5 union all select 6 union all select 7 union all select 8 union all select 9) as a
cross join (select 0 as a union all select 1 union all select 2 union all select 3 union all select 4 union all select 5 union all select 6 union all select 7 union all select 8 union all select 9) as b
cross join (select 0 as a union all select 1 union all select 2 union all select 3 union all select 4 union all select 5 union all select 6 union all select 7 union all select 8 union all select 9) as c
cross join (select 0 as a union all select 1 union all select 2 union all select 3 union all select 4 union all select 5 union all select 6 union all select 7 union all select 8 union all select 9) as d
cross join (select 0 as a union all select 1 union all select 2 union all select 3 union all select 4 union all select 5 union all select 6 union all select 7 union all select 8 union all select 9) as e
) a
where a.date > date '2015-11-22'
and a.date < date '2015-11-28'
) dates
on table_name.timestamp = dates.date
where start_time > date '2015-11-22'
and start_time < date '2015-11-28'
group by date_trunc('minute', start_time)
order by timestamp

count(1) as requests,
the ,should be removed

Thanks, have updated accordingly. Doesn't change the issue, I have more columns in the select statement, but removed them as they weren't relevent to the issue.

As far as I can see, the error shows that you are selecting a column named table_name, but this column can not be found in any related table, please check your sql first.

My understanding is that, for the 'on' clause, you use 'first_table_name'.'column_name' = 'second_table_name'.'column_name' to describe the two columns by which you match up data when performing the join. The table 'table_name' definitely exists, and as you can see from the query, the 'timestamp' column definitely exists too.

I created a table table_name like yours, and the sample query runs fine.

I'm working through airpal, but I don't think that should make a difference (?)


Strange Parser::parseLayers segfault on MacOS ARM64

Describe the bug
Segfault while parsing style layer.
To Reproduce
Steps to reproduce the behavior:

Follow build steps from maplibre-native-qt to build Qt Widgets example app.
Run app.

Expected behavior
The app to parse styles and run as usual.
Screenshots
Attached video of behavior below
https://github.com/maplibre/maplibre-native/assets/63173186/de599d0f-3c3f-4833-ab99-72f74b6c352c
Platform information:

OS: MacOS Sonoma Version 14.3.1
Platform: Qt
Version: 3.0.0

Additional context:
I tracked down the segfault to a line of code in parser.cpp fetching the "id" property of the parsed JSON for a given layer.
If I change the code from:
const JSValue& id = layerValue["id"];

To:
const JSValue& id = layerValue.FindMember("id")->value;

The segfault goes away.
The strange part is that I placed a log prior to the layer id access and with the existing code it doesn't log before it segfaults even though it should be called prior.
I tested taking all of the code from within the loop and putting it outside and just running it on layer 0 and it works just fine. It's only when it's inside the loop that it segfaults.
Since the log prior isn't being logged and it only happens inside of the loop, it makes me think that there may be some compiler optimizations being done that breaks it. My knowledge on that is very sparse though. Let me know what y'all think!

Did you flush the log buffer?

Out of curiosity, how did you track down the crash? What does your workflow look like? Did you use cmake to generate an Xcode config that allows you to step through the main library?
Any chance you could make a PR with this fix? 🙂
cc @ntadej

Note that Qt currently uses OpenGL 2 branch by default so the fix should also be backported there.

I created two PRs for main and opengl-2.

Out of curiosity, how did you track down the crash? What does your workflow look like? Did you use cmake to generate an Xcode config that allows you to step through the main library?

Apple's crash report told me it was coming from Parser::parse so I started there then I basically just binary searched with printf to narrow it down haha.

Closing since the PRs were merged. Thanks guys!


Index, nearcore and endpoint containers keep restarting

hi, I followed the steps from https://github.com/aurora-is-near/partner-relayer-deploy
My setup was complete.
THe dockers got downloaded and blocks seem to be syncing in reverse order.. by the 'mainnet_resilver'
My 'mainnet_resilver' and 'mainnet_database' are up, while the other 3 containers keep restarting. The aurora-nearcode-1 shows the following logs,
aurora-nearcore-1  | Jan 12 15:27:28.998  INFO neard: Version: 1.23.1, Build: 1.23.0-9-gc0551c84b-modified, Latest Protocol: 50
aurora-nearcore-1  | thread 'main' panicked at 'Failed to deserialize KeyFile: Error("EOF while parsing a value", line: 1, column: 0)', core/crypto/src/key_file.rs:37:40
aurora-nearcore-1  | note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I did not make any changes in the configs
The indexer keeps restarting with
| Using config file: /srv/aurora/relayer/config/mainnet.yaml
mainnet_indexer  | panic: rpc call status() on http://nearcore:3030/: Post "http://nearcore:3030/": dial tcp: lookup nearcore on <IP_ADDRESS>:53: server misbehaving

the endpoint container restarts with
aurora-endpoint-1  | bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)
aurora-endpoint-1  | {"level":30,"time":1642001530744,"pid":7,"hostname":"4de69717ba43","msg":"starting server"}
aurora-endpoint-1  | aurora-relayer: Unexpected end of JSON input

mainnet_resilver has to finish first. It's doing data/schema migration.
The nearcore issue however is a bigger problem. Can you delete the files in the near subdirectory (but not the data directory in it)?

ok. Dleeting the json files.. helped . But now I have a new problem --
Jan 14 00:44:17.517  INFO neard: Version: 1.23.1, Build: 1.23.0-9-gc0551c84b-modified, Latest Protocol: 50
Jan 14 00:44:17.527  INFO near: Opening store database at "/home/near/data"
Jan 14 00:44:18.943 ERROR near: DB version 31 is created by a newer version of neard, please update neard or delete data

should I delete the data as well and try ?

Bad luck, you downloaded the data during a migration run on our side. Easy to fix:
Stop the docker-compose, then:
docker image rm nearaurora/nearcore:mainnet
And try again.

Hello, @JonathanLogan, I have faced the same problem :
partner-relayer-deploy-main-nearcore-1  | Jan 14 13:56:28.962 ERROR near: DB version 31 is created by a newer version of neard, please update neard or delete data partner-relayer-deploy-main-nearcore-1 exited with code 0
with the mainnet_resilver start with this message :
mainnet_resilver                        | SKIPPED:<PHONE_NUMBER>1955 sql<PHONE_NUMBER>1955.fixnull.sql mainnet_resilver                        | SKIPPED:<PHONE_NUMBER>1956 goose<PHONE_NUMBER>1956 mainnet_resilver                        | SKIPPED:<PHONE_NUMBER>1957 node lib/data_migrations/2021-12-14-empty-blocks.js mainnet_resilver exited with code 0
And I have tried your solution with deleting containers and images but it still show the same error, could you help me please?

The SKIPPED lines indicate that the database update was completed, so that's good. And that specific container should exit and not restart (mainnet_resilver).
For the nearcore data: If you have already updated to the latest near image (docker image rm nearaurora/nearcore:mainnet before starting compose), the only way is to delete the files in near/data/ and redownload them - please make sure to also delete the .latest file in the base directory and the .version file in the near/data directory for the download to work.

I see, have deleted the .latest file in the base directory and whole near/data/ directory, redownloading the them with ./setup.sh now.

I got it working thanks.. The node is up and running.


CASMTRIAGE-7489: SBPS handle missing "etag"

Summary and Scope
Pull in sbps-marshal-0.0.12
o Gracefully handle the case where an IMS record is missing the "etag"
field, by skipping the record rather than having the app crash.
o Restart the sbps-marshal service after it fails.
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

Resolves CASMTRIAGE-7489

Testing
Tested on:

odin

Test description:
Manually applied the changes to the worker nodes and restarted the sbps-marshal service.  Verified via the journalctl logs that the offending IMS record was identified and ignored.  Also verified via targetcli ls that images were being projected.
Risks and Mitigations
There are no known risks
Pull Request Checklist

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

@mtupitsyn please merge this for the next 1.6.1 build.


Add lukesempire.com

https://gtmetrix.com/reports/lukesempire.com/baB8BmeF/

@kevquirk Do you still need maintainers for this? I’d be willing to help out if you do.


Colorscheme customizable micro-editor syntax issue

Description of the problem or steps to reproduce How can I modify the micro-editor so I can add my own color, customizable in python syntax?
I want to color the if, elif and else conditions a different color
I want to color the while and for loops a different color
I want to color from and import another color
I want to color the following ones with another color return, continue, break with another color
I want different color methan the def
I want to see if the variables can be colored
Specifications

Confirm hash:
SO:
Terminal: Linux, Termux

As you already started defining your own color scheme you now need to placed it under ~/.config/micro/colorschemes/ as documented in the colors.md.
In case you now need some more customized syntax highlight not matching the pre-defined rules per file type, then you need to create your own syntax/file type definition (placed under ~/.config/micro/syntax/) used in that moment.
Afterwards:
set colorscheme {custom-color}
set filetype {custom-ft}

Gracias por intentar ayudarme, podrías explicarme mas detalladamente lo que tengo que hacer como que archivos de bo crear y tod eso porfavor

~/.config/micro/colorschemes/example.micro:
color-link constant "#fd971f,#001e28"
color-link statement.loop "bold #e6aa5a,#281e00"
color-link statement.condition "bold #5aaae6,#001e28"

~/.config/micro/syntax/example.yaml (will be used as user defined default for e.g. CPP file types):
filetype: example

detect:
    filename: "(\\.c(c|pp|xx)$|\\.h(h|pp|xx)$|\\.ii?$|\\.(def)$)"

rules:
    - statement.loop: "\\b(for|while|do)\\b"
    - statement.condition: "\\b(if|else|case|default|switch)\\b"

You can extend your filename: "..." by whatever regex pattern for the files you want to apply. In case you don't want to do that or doesn't know the extension/name yet you can leave it empty.
In case you want to apply this example file type for a dedicated folder add the rule mentioned above within your ~/.config/micro/settings.json:
    "/home/user/*": {
        "filetype": "{custom-ft}"
    },

The rest is just trying out and playing around. The start is given...

S

Please check the various defaults/examples already present e.g. cpp.yaml#L7. You can be inspired by them and modify your rule as you prefer/need it.


Minor improvements for BigInteger and its usage

@huycn Please don't apply that PR at the moment. I seems I introduced an issue that I just saw with the help of the ASAN tool. I need to have a closer look what went wrong.

Fixed.


bug as of 1/10/2017

ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 1005, in _decrypt_signature
video_id, player_url, s
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 932, in _extract_signature_function
cache_res = res(test_string)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 984, in
return lambda s: initial_function([s])
File "/usr/lib64/python2.7/site-packages/youtube_dl/jsinterp.py", line 254, in resf
res, abort = self.interpret_statement(stmt, local_vars)
File "/usr/lib64/python2.7/site-packages/youtube_dl/jsinterp.py", line 55, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/lib64/python2.7/site-packages/youtube_dl/jsinterp.py", line 174, in interpret_expression
return objmember
KeyError: u'qC'
(caused by KeyError(u'qC',));

You are using an outdated version of youtube-dl. Read this FAQ entry if you have troubles updating.


Implemented Common Methods for retrieving Database, TestClass, Execution Status by Name and Id

Please review @HarshadKavathiya

Implemented review comments


The link of bc1 receiving address in BTC (Beta) Balance opens DeFi Scan with an error

What happened:
The link of bc1 receiving address in BTC (Beta) Balance opens DeFi Scan with an error.
What you expected to happen:
The address link should refer to a BTC blockchain explorer, such as Blockchain.com, BTC.com, etc.
How to reproduce it (as minimally and precisely as possible):

Clicking the receiving btc address shown in BTC (Beta) Balance window.
What are your environment parameters:

DeFi Wallet Windows app
Anything else we need to know?:

See the screenshot.

Hi @felixdragon , thanks for your feedback, the team take your feature request into consideration for future updates, there’s no timeline at the moment as we’re prioritising other issues, however we’ll keep this ticket open for tracking. Thank you for your understanding and patience.


can't change the color of leds

Hello,
I wan't to change the color of my leds via webrequests.
I'm not that familiar with programming and tested a bit around and wasn't able to change the color of my leds.
At first I thought: "Maybe I did something wrong", but then I also tried to change the Style, Brightness ans Speed - no problem at all!
Could this be a problem of my Mainboard? (doesn't makes sense to me too tbh)
I've got an MSI MPG x570 gaming plus.
My simple code looks like this:
LightController controller = new LightController("D:\\MSI\\SDK\\");
string device = controller.Devices[0];
Color color = new Color(0,0,255);

controller.SetAllLedColors(device, color);
controller.SetAllLedBrightness(device, 5);
controller.SetAllLedStyles(device, "Steady"); //Rainbow, Breathing etc. is working
controller.SetAllLedSpeed(device, 3);

LED led = controller.GetDeviceLED(device, 0);
Console.WriteLine(led.ToString());

Consoleoutput from led:
LED 0 (device: MSI_MB):
    Current color: (0, 0, 255)
    Current style : Steady
    Current speed: 3 (Max: 3)
    Current brightness: 5 (max: 5)
    Possible Styles: Off, Rainbow, Meteor etc ...

Same for the other leds (I've got 5 on my mb)
Do you have any Ideas why I can't change the color?
Regards,
Daniel

There currently is a small issue with the implementation of changing the color of the LEDs. The linked pull request (#4) should fix this issue when it gets approved and merged. I'll keep you up to date!

ah, okay.
Thanks for the response :)


Add GitHub secrets to action settings

Description

Follow up to this comment: https://github.com/WordPress/openverse/pull/248
We need to add the following values to the action secrets in this repo:

GH_LOGIN
GH_PASSWORD
GH_2FA_SECRET

Additional context

Implementation

[ ] 🙋 I would be interested in implementing this feature.

Ah, I think we may also need to add them to the action environment: https://github.com/WordPress/openverse/blob/9390d3aa594698f4576700025cf08cb545a4a6f4/.github/workflows/label_pr.yml#L9


Codepen fails to load testable bundle

Failed to load resource: net::ERR_CONTENT_DECODING_FAILED

Since yesterday, codepen is failing to load the bundle to test our projects. Just checked old projects which I know the bundle was working and get the same result.
On my local machine works fine.
Using latest Brave browser.

Hello there,
I am unable to reproduce any issue in CodePen on Brave. As such, I am going to close this issue.
If you are still struggling, I suggest you try hard refreshing your page, and/or a different browser.

Hello there,
I am unable to reproduce any issue in CodePen on Brave. As such, I am going to close this issue.
If you are still struggling, I suggest you try hard refreshing your page, and/or a different browser.

was a codepen issue, I reported there a week ago,  is working now. sorry I forgot to comment here


Non-admin changes

@the rest, found a bug where admin UI (edit, delete etc) not hidden from non-users. fixed.

LGTM


Mac hot keys not working properly

I did a fresh install today from your last 30 Jun update.  (HP 650 G1 8 series)
After installation I did the post install HP-ProBook-EliteBook-macOS.pkg for the EFI
Brightness and sound hot keys aren't working anymore without pressing the fn key.
ctrl and window keys seems to be switched
before:
ctrl = ctrl
win = alt
alt = Mac
After update:
crtl = alt
win = ctrl
alt = Mac
I reverted to my old backup EFI from two days ago and the keys are working fine.

Just a sidenote:
I switched my wifi to AirportItlwm.kext and it's working fine maybe you consider adding it as post install menu.

One more thing:
Also noticed that OpenCore Configurator is on 0.8.0 version shouldn't it be on 0.8.2 ?

Please read the post you need provide the complete install LOG if you need help about post install


addEdgeDetail works correctly only for 0.5f values, when setShowPointWhenEmpty(false) is not set

If you use addEdgeDetail() with a value different from 0.5f (for example 0.2f), it works fine only if setShowPointWhenEmpty(false) is set. Otherwise it keeps on drawing edge detail with 0.5f value.
This works correctly:
      SeriesItem seriesItem1 = new SeriesItem.Builder(Color.argb(255, 64, 196, 0))
              .setRange(0, 100, 0)
              .setInitialVisibility(false)
              .setLineWidth(32f)
              .addEdgeDetail(new EdgeDetail(EdgeDetail.EdgeType.EDGE_OUTER, Color.parseColor("#22000000"), 0.2f))
              .setShowPointWhenEmpty(false)
              .build();

This draws a edge detail of 0.5f, instead of 0.2f:
      SeriesItem seriesItem1 = new SeriesItem.Builder(Color.argb(255, 64, 196, 0))
              .setRange(0, 100, 0)
              .setInitialVisibility(false)
              .setLineWidth(32f)
              .addEdgeDetail(new EdgeDetail(EdgeDetail.EdgeType.EDGE_OUTER, Color.parseColor("#22000000"), 0.2f))
              .build();

After some trial and error I was able to reproduce this issue. It only occurs when executing EventType.EVENT_SHOW on the DecoView in addition to the conditions mentioned. I will try to allocate some time to resolve this issue next weekend.

This is resolved in v1.2. Update your gradle file with the dependency:
compile 'com.github.bmarrdev:android-DecoView-charting:v1.2'

Could not HEAD 'https://dl.bintray.com/jlmd/maven/com/github/bmarrdev/android-DecoView-charting/v1.2/android-DecoView-charting-v1.2.pom'. Received status code 502 from server: Bad Gateway
implementation 'com.github.bmarrdev:android-DecoView-charting:v1.2'
allprojects {
repositories {
google()
jcenter()
    maven {
        url "https://dl.bintray.com/jlmd/maven"
    }
    maven { url "https://jitpack.io" }

}

}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'


Implement filters info

This parses the output for ffmpeg -filters and creates corresponding objects.
Created analogue to the codecs() and formats() methods.

Thanks. I appreciate how much effort you are putting it to keep this consistent with the existing code styles.

No worries, I'm currently maintaining four forks of this library (and many, many branches).
Sticking to the original version is about the only reason I can still keep them more or less up to date.

Thanks. Also, while I don't put much effort into this project, I'm happy to try and get all your pull requests in, so you don't need to manage so many external versions.


Auth::attempt and auth()->attempt fail, but Hash::check succeeds.

First:  Thank you for making a MongoDB driver for Laravel. We're really excited to see the performance boosts :)
We have recently converted our Laravel application from MySQL to MongoDB and I have been taking it step-by-step through our unit tests to make sure Mongo is integrating correctly with our application.
After several failed attempts using a previously working LoginController, I went ahead and just set the password directly before attempting. Our user model is extending Authenticatable.
$user->update(['password' => Hash::make('password')]);
[FALSE]  auth()->attempt(['id' => $user->id, 'password' => 'password'])
[FALSE]  Auth::attempt(['id' => $user->id, 'password' => 'password'])
[TRUE]   Hash::check('password', $user->password);
Contents of auth attempt array:
array:2 [
  "id" => "5c1143dd1d41c82686279e1e"
  "password" => "password"
]

I'm also having trouble with auth()->user().  I think maybe I'm missing some configuration or class to override auth to use laravel-mongodb ?

After a successful middleware through our API, the $request->user() is null as well, which was previously filled with the user model.
Any idea what I'm missing?


Allow custom suffix / tag

Currently the TAG is fairly restricted. It would be great if this can be used more broadly.
For example we are releasing frequent "dev" versions which are build from the "develop" branch. Those are suffixed with -dev-SHA_OF_COMMIT to identify them as dev builds from a specific commit. This is needed since we currently using semver and the dev builds do not change the main version string which results in build like 2.1.0-dev-ahka131.
Also the production builds are suffixed with the commit hash which allows us to link them directly with a commit.
Would it be possible to allow more different tags or a custom suffix?

Isn't the ask here for a new part SHA_OF_COMMIT rather than anything to do with the TAG part?

Hmm, I guess the issue with that might be the ordering of versions. 2.1.0-dev-ahka131  > 2.1.0-dev-131ahka though the latter might in fact be more recent.

Yeah, the ordering would be a bit wonky with this... So maybe a completetly custom suffix would be better suited for this situation? Thus when you are using it, you are aware that the ordering might be broken since the data is completetly up to you.
Related to the tag, the question was if it could be more broadly in terms of possible values or if this is restricted by the PEP schema? Any value like pre, dev etc. are useful but are forbidden with the current implementation.

For the TAG part I think it would be ok to have other values. Currently the restriction is applied via this:
VALID_RELEASE_TAG_VALUES = ("alpha", "beta", "rc", "post", "final")
This could instead by taken from a config setting (accepting that pep440 normalization might be an issue).

Hi,
I would also be interested in adding custom tags.
In my case, I would like to tag an intermediate version with a particular feature, even if it's a pre-release, so I can have a reference for this feature later on.
Eg:

2022.06
2022.06.1
2022.06.2-mycustomfeature
2022.06.3
Adding custom tags in the config file would be possible but still, it restricts the tagging possibilities.

I would prefer being able to simply write --tag=mycustomfeature.
The difficulty, I guess, would be how the regex would apply if the tag isn't at the end of the string.

The difficulty, I guess, would be how the regex would apply if the tag isn't at the end of the string.

I'm not sure that's a big issue. The syntax for optional parts translates to optional groups in a regex.
bumpver_pattern = "MAJOR.MINOR[.PATCH]"
regex_pattern = re.compile(r"""
    (?P<major>[0-9]+)
    \.
    (?P<minor>[0-9]+)
    (?:\.
        (?P<patch>[0-9]+)
    )?
""", flags=re.VERBOSE)

As I said with my comment from June 1st, ordering may be an issue. Currently the order for tags is well defined. If you can pick any string, which version is earlier than the other?

Oh, I see. In my case, I always increment the patch (or the last digit part in the general case).
Eg:

2022.06
2022.06.1
2022.06.2-mycustomfeature
2022.06.3-unrelatedfeature
2022.06.4-yetanotherfeature
2022.06.5-rc
2022.06.6-beta
2022.06.7
2022.07

I order the release with digits only.
I guess you can or cannot use lexicographical ordering depending on the versioning logic, and if you want to ensure order in your release, you should use a pattern that should maintain [lexicographical ordering](lexicographical ordering).

Sounds like a foot-gun, but if people know what they're doing, I'm inclined to not stand in their way. If you want to work on a PR for this, I'll be happy to help you along.
For people who don't want to use this feature, I'd prefer to not just accept any value for --tag <NAME>. Instead the config can enable this behavior with a setting allow_custom_tags and only then bumpver would just accept whatever is given as a parameter. I think valid tags would have to match [a-z][a-z0-9_]*

Seems good to me! I'll think about a PR in this way.

Hello,
Sorry but I don't think I will be able to work on it soon.
I'm trying to find out how this works but this takes more time than I expected...
If someone wants to take this one, feel free to spy on my branch: https://github.com/merinorus/bumpver/tree/allow-custom-tag

For the TAG part I think it would be ok to have other values. Currently the restriction is applied via this:
VALID_RELEASE_TAG_VALUES = ("alpha", "beta", "rc", "post", "final")
This could instead by taken from a config setting (accepting that pep440 normalization might be an issue).

I've opened this PR here: https://github.com/mbarkhau/bumpver/pull/199

Thanks @sharonyogev I'll have time to look at this later this month.


The MPQEditor still can't read filelist with Chinese.

I just tested the lastest MPQEditor (web say it is v <IP_ADDRESS>6 (Chinese, 64-bit), however, the help-about say itself is <IP_ADDRESS>2, but it doesn't have a namebreaker so I think it just a little mistake).

As above, I just start the editor, open a mpq and the click the "..." to choose the filelist, and it load failed, but if the filelist in the user folder or the [username(which I add mosaic because I used company's PC)] folder it will be fine.
The OS is window7 64bit.

Please, make an UNICODE text file and paste your listfile path into it. Feel free to remove your user name from the path. Also, please, send me your listfile. I'll try the same situation like you did.

path.txt
That's it, and I just get the listfile from your web (http://www.zezula.net/download/listfiles.zip) and unzip it.
Starcraft BW.txt

Just a heads-up: I didn't forget about you. I identified the problem (SFileAddListFile taking the parameter as "const char *" instead of "const TCHAR *"). Just need some more time to finish this.

Fixed in commit dae0b690f796bd421ab69a0219cb1b46095b9f27. Thank you for the contribution.


Add Http3 kestrel doc

@Rick-Anderson  edit to add internal review URL
Adds doc for requirements/getting started w/ Http/3 for preview7.
What sort of stuff should I include for getting started? Running the sample? Something like https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-5.0#get-started that specifies something like:
                        options.ListenAnyIP(5000, listenOptions =>
                        {
                            listenOptions.Protocols = HttpProtocols.Http3;
                        });

Added a sample that probably needs cleaning up...

Need to add:

Code sample that:

Sets ListenOptions.Protocol to HttpProcols.Http1AndHttp2AndHttp3.
Adds UseQuic
Set EnableAltSvc to true.

How to check whether HTTP/3 is working. Should be able to browse to website using Chrome, open networking tab and see HTTP/3 in protocols column.

You should download preview 7 and verify the sample works in it.

The sample runs w/ preview7 SDK, but I don't see anything HTTP/3 hitting https://<IP_ADDRESS>:5557

Need to add a link to this page from table of contents.
You can preview content via OpenPublishing.Build.

What index/table of contents do I need to update? @Rick-Anderson ?

Updated the sample/doc for some for some of the feedback

What index/table of contents do I need to update? @Rick-Anderson ?

#22983 I'll merge that into this branch when you're ready.

Just merged it in, thanks!

@Rick-Anderson any other concerns?

Thanks @Rick-Anderson! How long does it take for https://docs.microsoft.com/en-us/aspnet/core/fundamentals/?view=aspnetcore-6.0 to get updated?

Never mind, I see it there now


Add Slackmoji prefixes

This should address #126. I'm not super happy that it rearranged some of the slackmoji numbering (e.g. :android: and :android2: had their URLs switched), but it was a minor inconvenience IMO.

Based on the brief conversation in the #126 issue thread, this should be good to merge?

I will merge on Monday if no objections.


Fix deprecation message

Right now, the message this is generating says Since lexik/jwt-authentication-bundle 2.5: [snip] since version 2.15, clearly showing two different versions.  The deprecation actually landed in 2.16, so this updates the message to use a single (and consistent) version number.

Oops, bad c/p. Good catch!

Thank you Michael.


Code block identified as HTML

Version
1.4.8

Test Environment
Chrome78 Windows10

Current Behavior

?name= (Delete . )

Expected Behavior

Show ```?name=<img `` no onerror and =

@keac
I don't know what's wrong with this description. Is it a problem because it looks like this in Markdown?

I want show this code in markdown ?name= (del dot) , not ?name=<img


ci/mobile: Hide CI progress in .bazelrc

This adds a ci bazel config target and sets the noshow...progress settings there
Both mobile and envoy ci use this target and we can add any more common ci config there

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

/retest
...again


add codebeat badge

Hey there, thanks for trying out codebeat. Please let us know how you like it and - more importantly - what we should improve!

Thanks, I was about to add the badge! :D

You can email me directly at marcinw [at] codebeat.co. There's also an Intercom widget in the lower right hand corner of the app screen where you can start a chat with us. We really appreciate you taking time to provide feedback! 🍰


[Fix] Split cpuUsage into systemCpuUsage and jvmCpuUsage

Purpose of the pull request
fix https://github.com/apache/dolphinscheduler/issues/15579
Brief change log
Split maxCpuUsagePercentageThresholds into maxSystemCpuUsagePercentageThresholds and maxJvmCpuUsagePercentageThresholds, to avoid judging overload by CPU might confusion.
Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report
Attention: Patch coverage is 38.09524% with 13 lines in your changes are missing coverage. Please review.

Project coverage is 39.13%.  Consider uploading reports for the commit 7b41e9a to get more accurate results

Files
Patch %
Lines

...rver/master/config/MasterServerLoadProtection.java
37.50%
4 Missing and 1 partial :warning:

...rver/worker/config/WorkerServerLoadProtection.java
50.00%
2 Missing and 1 partial :warning:

...eduler/server/master/task/MasterHeartBeatTask.java
0.00%
2 Missing :warning:

...e/dolphinscheduler/server/master/MasterServer.java
0.00%
1 Missing :warning:

...ler/server/master/metrics/MasterServerMetrics.java
0.00%
1 Missing :warning:

...e/dolphinscheduler/server/worker/WorkerServer.java
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15803      +/-   ##
============================================
- Coverage     39.21%   39.13%   -0.09%
+ Complexity     4912     4888      -24
============================================
  Files          1326     1326
  Lines         45217    45191      -26
  Branches       4817     4797      -20
============================================
- Hits          17731    17684      -47
- Misses        25614    25635      +21
  Partials       1872     1872

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Rename robotinterface singleton with clear name

Lines like:
Handler::getHandler()->setDevice(m_deviceScopedName, &m_baseStateDriver)

are quite confusing, as they do not refer anywhere the robotinterface plugin. We should rename this to make this lines clear.

@traversaro what do you think of
RobotInterfaceSingleton::getHandler()->setDevice(m_deviceScopedName, &m_baseStateDriver)

?

Thanks! Sorry I was in a meeting, I commented directly in the PR.


Backtick (w/ no modifiers) causes terminals to become unresponsive

Windows Terminal version (or Windows build number)
10.0.19041.0
Other Software
Powershell7 7.1.3
WSL2
WIndows Terminal Preview 1.9.1523.0
Steps to reproduce

Enable the wt.exe application alias in Settings > Manage App execution aliases
start windows terminal w/ a windows in quake mode C:\Users\<user>\AppData\Local\Microsoft\WindowsApps\wt.exe -w _quake; split-pane -p "PowerShell7" -V; split-pane -p "WSL" -H
Activate the quake windows via WIN+backtick
In any of the 3 panes press backtick
Note the terminal stops working
Type a backtick in another pane
Note the terminal stops working

Expected Behavior
Pressing a backtick will type a backtick and not cause the panes to stop responding
Actual Behavior
Panes stop responding. Single backticks are useful in Powershell. Hurts not being able to type them sometimes.

I'm assuming you're using an English/US keyboard layout? I'm unable to reproduce this bug unfortunately... 😟
/feedback


Keras ValueError stops autograph building

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
TensorFlow installed from (source or binary):
pip
TensorFlow version (use command below):
2.0.0-dev20190424
Python version:
3.7.1
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
cudatoolkit-10.0.130-0
cudnn-7.3.1-cuda10.0_0
GPU model and memory:
GeForce RTX 2080 Ti

Describe the current behavior
Calling keras layer without calling build() automatically infers the shapes of the trainable variables. This works both in eager mode and graph mode in the current 2.0-alpha version. However, running the provided code in 2.0.0-dev20190424 version, it gives the following error message:
W0425 12:08:40.775576<PHONE_NUMBER>34656 tf_logging.py:161] Entity <function update at 0x7f41dd7038c8> could not be transform
ed and will be executed as-is. Some features (e.g. tensor-dependent conditionals and loops) may not work as expected. Erro
r details can be found in the logs when running with the env variable AUTOGRAPH_VERBOSITY >= 1. Please report this to the
AutoGraph team. Cause: ValueError during conversion: Weights for model sequential have not yet been created. Weights are c
reated when the Model is first called on inputs or `build()` is called with an `input_shape`.

Describe the expected behavior
Code to reproduce the issue
import os

import tensorflow as tf
from tensorflow.keras import layers, models, optimizers

os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

model = models.Sequential([layers.Dense(1, activation='relu')])
optimizer = optimizers.SGD()

# Is this line needed in graph mode?
# model.build((None, 1))

@tf.function
def update(batch):
    with tf.GradientTape() as tape:
        output = model(batch)
    grads = tape.gradient(output, model.trainable_variables)
    optimizer.apply_gradients(zip(grads, model.trainable_variables))

if __name__ == "__main__":

    batch = tf.zeros((1, 1), dtype=tf.float32)
    update(batch)

I could reproduce the issue with tf-nightly. However, there is no error with TF2.0.0-alpha0. Thanks!

Just submitted a fix that should allow your code to work without calling model.build.


The Longest Increasing Subsequence

Problem Link
https://www.hackerrank.com/challenges/longest-increasing-subsequent/problem
Coding platform
Hackerrank
Programming language

[x] C
[ ] C++
[x] Java
[x] Python

Additional context (OPTIONAL)
Add any other context or screenshots about the feature request here.

I want to solve it in python. Please assign me this issue as a part of Cross Woc

I will provide code in C

Please check my pull request

@Nivedita967 is it open for Java??

@Nivedita967 is it open for Java??

No.

@weirdrag08 Are you working?

@Nivedita967 which language is open??

@weirdrag08 Are you working?

yes


Vertical Resize Gradients

Including @catppuccin/core and @sgoudham as this PR might be controversial due to additions.
Relates to: catppuccin #2029.
For those that do not use VS:
Mocha

Machiatto

Frappe

Latte

Hiya 👋
I think as discussed in https://github.com/catppuccin/catppuccin/pull/2029/files, I'd be inclined to say that the vertical gradient should follow the rainbow highlights table (see below for table from style guide).
E.g. Red -> Yellow/Green -> Lavender

So the gardient is limited to 3 colors. If I use red, yellow, and blue - I get:

^Definitely don't like that nearly as much. The "Mauve" is needed to anchor it to the borders around it - otherwise it just looks disjointed. The yellow is also way too strong a color here. Rosewater was understated which makes the gradient tolerable.
For the sake of completion, here is rgb:

^ Better, but not great.
Contrast those with the original:

^ much easier on the eyes. Including the border color first gives a natural flow. The rosewater color lacks the harshness of yellow. The tones are warm enough to feel cozy but not enough to overwhelm. imho :)
Other option is also to not include the gradient. Would be a shame because I think it's awesome, but I could understand the reasoning.

Thanks for the detailed response! Hard to argue with the points listed and I agree with your analysis!
I'm happy with the gradient of your personal preference. Regarding if the gradient should exist or not, I think it really depends on what users expect in the Visual Studio Theme ecosystem, are other themes including gradients there? Even if they're not, I do think it's quite nice, given how the rest of the UI elements have been themed.
Are users able to toggle the vertical gradient at all?

@sgoudham It can be toggled on and off if the windows aren't pinned. For most people, it won't show up. There are other themes using it, most notably Cyberpunk. This would be the only gradient shown and its minimal.
To my knowledge, CP would be the only other theme using it. :)


LinearGradientBrush.GradientStops isn't being set in ControlCatalog's CanvasPage

This was working afaik before we moved to Portable.Xaml, so I suspect the problem is there?

Portable.Xaml doesn't recognize a property as a collection if it's declared type doesn't have Add method. So we need to either figure out how to fix that or don't use IReadOnlyList for stuff that's not actually read only.

https://github.com/cwensley/Portable.Xaml/issues/71

The original issue was fixed, but the gradient still isn't being displayed due to a bug in the renderer. Fixing  now.


Not Support Toolbar

use toolbar will stay two toolbar height ,one is toolbar ,another is white background whitout noting.like this

because the ScrollLayout method onLayout , child onLayout with childTop use the given top.
if use given top = 0 , the issue will be solved. should you fix it ? thx
code ：
@Override
protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
int childTop = top;
// should use
//childTop = 0;
for (int i = 0; i < getChildCount(); i++) {
final View view = getChildAt(i);
view.layout(left, childTop, right, childTop + view.getMeasuredHeight());
childTop += view.getMeasuredHeight();
}
}

Thanks for contribution!)
Merged in fe1e4aaff8ecb6f7a5e333697464d9a1334e14d3


Feature/aboutuspage about us page redesign #211 done

Feature/aboutuspage about us page redesign #211  done
https://github.com/user-attachments/assets/0ef5a8da-e60a-44e3-ac03-f2f49604ab80

video is not looking good because my mouse is not working well.

nicee 👍


More Accurate Migration Timestamps on Install

This change improves on the approach taken here 97cb4785980d5826ac3dce1f1b986228bb3d8c9b by maintaining both the publishing order and relative timing of the migration files created by twill:install.
I noticed that when I created an articles table migration after installing Twill that chronologically it appeared that I had created the articles table before installing Twill, which was not the case. And the timestamp length of the Twill migrations appeared off, so I checked out the code.
2014_10_12_000000_create_users_table.php
2014_10_12_100000_create_password_resets_table.php
2019_09_22_221744_create_articles_tables.php
2019_09_22_30001_create_tags_tables.php
2019_09_22_30002_create_blocks_table.php
2019_09_22_30003_create_related_table.php
2019_09_22_30004_create_twill_users_tables.php
2019_09_22_30005_create_twill_activity_log_table.php
2019_09_22_30006_create_files_tables.php
2019_09_22_30007_create_medias_tables.php
2019_09_22_30008_create_features_table.php
2019_09_22_30009_create_settings_table.php
2019_09_22_30010_change_locale_column_in_twill_fileables.php
2019_09_22_30011_add_locale_column_to_twill_mediables.php

This proposed change would make the Twill migration files accurate down to the minute and use what should be the seconds in a timestamp as the publishing order of the migration.
I think this may be an improvement over 30000 + $this->migrationsCounter.
This assumes: 1) that there are not more than 99 migrations and 2) that more precise timestamps are preferable to an impossible timestamp, which may indicate to a user, "this migration was automated".

Commenting to reference #365 and another suggested fix #372 that I didn't see before.

Thank you so much for your contribution @droplister. After giving this more thoughts, we are going to move forward with the approach Laravel itself is using as seen in #372.


Implement COUNTIF(col, pattern)

Please implement the COUNTIF function
https://exceljet.net/formula/count-cells-that-contain-specific-text
Example
A B C
1 2 "asdasd"
3 2 "asddsa"
3 2 "dddddd"
=COUNTIF(A:A, 3)
=> 2

=COUNTIF(B:B, 2)
=> 3

=COUNTIF(C:C, "asd*")
=> 2

Hi @ada10fl2
Yeah, I think that would be great to implement this feature, unfortunately I am bad at regex, and the second parameters seem to be string pattern which require some knowledge .
But I will try to implement it.
regards
Ikhsan

Hi @ada10fl2
It seem there is a bug in countif and countifs, just push an update and bump the version to 2.0.5
regards
Ikhsan

A easy fix would be to replace * with .*. Which is the Regex equivalent.
Okey, I will try with that. Thanks!


ripCSS base tag issue

On line 80 of respond.src.js, the !base check fails when the document has a base tag. Because it fails, the second part of the && never evaluates. This causes the RegExp.$1 in the ¦¦ to be undefined, which causes that test to fail. The end result is that the requestQueue is never populated and @media queries on the page are ignored. I am using IE8.
Switching the order of the expressions in the && test fixed this for me.

hmm @doctyper - thoughts?
On Feb 4, 2012, at 1:38 AM, rcdarwin wrote:

On line 80 of respond.src.is, the !base check fails when the document has a  tag. Because it fails, the second part of the && never evaluates. This causes the RegExp.$1 in the ¦¦ to be undefined, which causes that test to fail. The end result is that the requestQueue is never populated and @media queries on the page are ignored. I am using IE8.
Switching the order of the expressions in the && test fixed this for me.

Reply to this email directly or view it on GitHub:
https://github.com/scottjehl/Respond/issues/103


Add information on pod webhook namespace selector

What type of PR is this?
/kind documentation

What this PR does / why we need it:

Add information on how to set namespace selector for the pod webhook.

Which issue(s) this PR fixes:

Related issue: #976
Special notes for your reviewer:
Does this PR introduce a user-facing change?

/ok-to-test


tnpu.edu.ua.txt

@DImCKa112 I am closing this request without merging because it duplicates #15317. Thank you.


npm version (package.json)

The version number of package.json of this last merge is the same of previous. This new version can't be download by way of npm.

@McNull are you able to publish the latest to npm?

@McNull are you able to publish the latest to npm via new version?

@McNull are you able to publish the latest to npm via new version?


Add a new clusteerstatus - reconcile_disabled

Description
Add the reconcile_disabled  clusterstatus which should freez reconcilation of the targeted cluster.
Changes proposed:

Add the reconcile_disabled  clusterstatus
Upgrade the openAPI manifest
Upgrade the openAPI README.md

Issues
https://github.com/kyma-incubator/reconciler/issues/188

 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.


Sphinx Changes

TODO: Increase the spawn rate of sphinxes, decrease pyramids, and add air to the sphinx.
Adding this to the issue tracker by request so it's not forgotten about

done


CLA links are broken and there is no human-readable document available

While updating the dotnet/runtime repo's documentation to reference the new CLA bot's rerun command, I found that our links to the .NET Foundation CLA are broken. I cannot find a URL that shows the foundation’s CLA in human-readable form so that we can show potential contributors what the CLA will be if they submit a pull request.
Both the dotnet/runtime repo and https://cla.opensource.microsoft.com/ (which redirects to https://opensource.microsoft.com/cla) link out to https://cla.dotnetfoundation.org/ but that link is defunct, with DNS not resolving the subdomain. I found https://github.com/dotnet-foundation/foundation/blob/master/guidance/net-foundation-contribution-license-agreement.pdf, but it’s an archived project and the document is watermarked as a sample.
With the new policy bot, I know that the source of truth for the CLA is the https://github.com/dotnet-foundation/.github/main/CLA/dotnetfoundation.yml file. Is there a PDF or other human-readable, rich-text format copy of the document that we can link out to in the documentation?
Once we have the right link, I will update the dotnet/runtime repo and look for other repos with broken CLA links too. I’m not sure who needs to fix the https://opensource.microsoft.com/cla/ page.

@jeffhandley A user reported this in ASP.NET Core too: https://github.com/dotnet/aspnetcore/issues/48468
I found references to the defunct link via https://grep.app/search?q=https%3A//cla.dotnetfoundation.org/.

Good thinking using grep.app, @captainsafia!
There are also paths under that domain such as https://cla.dotnetfoundation.org/cake-build/cake (link to content) that will fail now, but would also no longer have a project-specific page.
With a search for cla.opensource.microsoft.com (link to search), I noticed some of these similarly going to paths under that domain, such as https://cla.opensource.microsoft.com/microsoft/winget-pkgs, but those specific paths just redirect back to the main https://opensource.microsoft.com/cla/ page now (link to content).
A search that doesn't include the https but just has the domain (link to search) also shows a CSS content match (link to content).

This issue seems to have been resolved. https://cla.dotnetfoundation.org now responds with the rich-text CLA document.

@isaacrlevin fixed it for us. Thanks!


Add Travis-CI supprt for continuous integration

To support Travis-CI, add .travis.yml to trigger and configure it.

@halton @jondong please review the PR, thanks!

LGTM with the nit comments


Share the hifi training code:  task_cls: tasks.vocoder.hifigan.HifiGanTask

Hi @MoonInTheRiver ,
Thank you for release the Diffsinger code.
Could you share the hifi training code: task_cls: tasks.vocoder.hifigan.HifiGanTask?

Here is a checkpoint of hifigan vocoder "https://github.com/MoonInTheRiver/DiffSinger/releases/download/pretrain-model/model_ckpt_steps_1512000.ckpt", which can be viewed as a universal vocoder. You don't need to train another one.

OK , Thank you!


feat: [OCA-1345] June 10 2024 Marketplace Release

Description 📝
Includes new Marketplace Apps for June release, Apache Kafka Cluster and Couchbase Enterprise Server Cluster.
Changes  🔄
List any change relevant to the reviewer.

adds svg assets
adds oneClickApps.ts entries
adds stackScriptUtils.ts entries

Target release date 🗓
June 10 2024

Could you do us a big favor and merge the latest develop into this PR and then add the new apps to oneClickAppsv2.ts in addition to the existing files? We're in progress of simplifying how things work and for now, we'll need to add apps in both places

The oneClickApps/one-click-apps.spec.ts test is failing ⛔, but I'm not sure why. @jdamore-linode, could you take a look if you have some time?

howdy @bnussman-akamai. small updates. Apache Cassandra is being delayed until further notice, so I have removed it from the PR.
I believe the issue with the gradient is that I set it to pure white as the end color. I've tweaked that value down to a dark gray, but I'm not an expert on the design elements.


'ERROR in Cannot read property 'map' of undefined' without knowing where

this error is showing when running "ng serve"
just this line ERROR in Cannot read property 'map' of undefined
and compilation failed

if you see this problem in your code it may be a problem with one of the dependencies, in my case it was ng-select problem


withRelated callback generating right query but returning empty array

  const story = await Story.fetch({
      withRelated: [
        {
          votes: q => {
            q.sum('polarity')
               .groupBy('story_id', 'celebrity_id')
          }
        }
      ]
    })

  console.log(story.related('votes').toJSON()) // []

debugger:
{ method: 'select',
  options: {},
  bindings: [ 1 ],
  sql: 'select "stories".* from "stories" limit ?' }

{ method: 'select',
  options: {},
  bindings: [ 1 ],
  as: 'votes',
  sql: 'select sum("polarity") from "votes" where "votes"."story_id" in (?) group by "story_id", "celebrity_id"' }

and finally in the psql cli:
postgres=# select sum("polarity") from "votes" where "votes"."story_id" in (1) group by "story_id", "celebrity_id";
 sum
-----
   3
   1
(2 rows)

what have i done wrong?

i am facing the same issue. where you able to find anything

@awebdeveloper unfortunately not, have yet to revisit this portion of my project since.

Hey guys, the problem here is that bookshelf uses the retrieved key column on the related models to associate them with their parent models.
In @zombler's case, this means you need to add a select('story_id') in the query callback to ensure it's included.

@rhys-vdw thanks for that, much appreciated!

Bookshelf should warn or error when relations are missing the required columns. I believe this is a duplicate but the other instances can be tracked down later.

The project leadership of Bookshelf recently changed. In an effort to advance the project we close all issues older than one year.
If you think this issue needs to be re-evaluated please post a comment on why this is still important and we will re-open it.
We also started an open discussion about the future of Bookshelf.js here https://github.com/bookshelf/bookshelf/issues/1600. Feel free to drop by and give us your opinion.
Let's make Bookshelf great again


Object reference not set to an instance of an object.

I tried setting your MixedAuth up in a Visual Studio 2013 MVC WebApplication.  I keep getting "Object reference not set to an instance of an object."  I decompiled your DLL and added it back in as a project to try and determine where the issue was at.  It keeps getting caught on the following line
		if (base.Response.StatusCode != 401)
		{
			return Task.FromResult<object>(null);
		}

in the ApplyResponseChallengeAsync method of the MixedAuthHandler class.
My stack trace looks like
System.Web.PipelineModuleStepContainer.GetStepArray(RequestNotification notification, Boolean isPostEvent) +22
System.Web.PipelineStepManager.ResumeSteps(Exception error) +1324
System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) +95
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +186

I downloaded the source-code and tried it.  I got the same results.

I figured it out.  In the Global.asax.cs, I put the "this.RegisterMixedAuth();" inside of the "Application_Start" method instead of in the constructor.

Great!
Thanks for the feedback.


Update Mmark engine to the latest

A few weeks ago I requested them to support multiple footnote references mmarkdown/mmark#25 as the built-in Blackfriday engine currently does. They implemented, but this feature still seems not functional as of Hugo 0.51.
I'd be happy if the latest version of Mmark would be bundled, as it is getting constant update recently. I couldn't actually figure out how the package is managed in Hugo's code base, so please enlighten me if I'm posting on wrong place.

Note that the current mmark has just the name in common with the "mmark" package we have in Hugo. So this is a question if we should add something new. Or not.

To be clear, Hugo currently supports mmark via the Blackfriday package.  The latest mmark development is not built on Blackfriday and is, therefore, not supported by Hugo at this time.

To be even clearer please see #5124 for the reasons why Hugo cannot switch its Markdown engine at present and support the latest version of Mmark.

Thank you for the information.


leisure=beach_resort

https://wiki.openstreetmap.org/wiki/Tag:leisure%3Dbeach_resort

I'll take this one.


Process finished with exit code 137 (interrupted by signal 9:SIGKILL)

While attempting to execute the code, I encountered the following error message: "Process finished with exit code 137 (interrupted by signal 9: SIGKILL)". Prior to this error, the following log was observed:
"Starting step 0
Dataset is empty; generating initial samples
Processing samples: 0%| | 0/1 [00:00<?, ?it/s]
Setting pad_token_id to eos_token_id:50256 for open-end generation.
Processing samples: 100%|██████████| 1/1 [00:13<00:00, 13.33s/it]
Special tokens have been added to the vocabulary; ensure the associated word embeddings are fine-tuned or trained."
The failure occurred in line 53 of the estimator_llm file:
self.chain = ChainWrapper(self.opt.llm, self.opt.prompt, chain_metadata['json_schema'],
chain_metadata['parser_func'])
This code is being executed on my Ubuntu 20.04 system using HuggingFacePipeline, with attempts made using various Large Language Models. Upon researching the error message online, it appears to be related to a memory issue. Could you please provide guidance on how to address this problem?
Thank you.

Indeed, this is a memory issue.
In order to reduce memory consumption you can:

Reduce the num_workers to 1 (in the config files)
Reduce samples_generation_batch to a smaller number (although if too low, it will degrade the performances)
Also it's important to change the meta_prompt folder to prompts/meta_prompts_completion

Overall I'm not recommending using HuggingFacePipeline as the optimizer llm, but only as the predictor llm


Wrong quoting in “DNS for Services and Pods"

https://github.com/kubernetes/website/issues/21161

/language zh
/assign

/close


Don't prompt to configure when creating a new account from deploy action

Click the deploy icon
Choose new storage account and create all the things
Prompt to configure static website hosting
Enter index document path
Enter error document path
...

Skip step 3 when I've chosen to deploy to a new storage acount. Drop the users immediately into the configuration step.

This issue is still applicable (we always prompt for enable static website in advanced create)

Nope. Just ran through a deployment and it's perfect!


[feat] Load color votes from Postgres

[x] issue https://github.com/keep-starknet-strange/art-peace/issues/11
[x] follows contribution guide
[ ] code change includes tests
[ ] breaking change

Backend: /routes/votableColors

Created a new route for managing votable colors (votableColors).
Added an endpoint to add new votable colors.
Added an endpoint to fetch votable colors based on votes.

Frontend:

Updated files:

App.js: I implemented a function to fetch votable colors from the backend. Additionally, I removed the timer's useEffect because it causes all child components to re-render with each tick, resulting in repeated API calls triggered on every tick.
tabs/tabPanel: Updated to consume the new Timer Component.
voting.js: Consumed the votableColors endpoint data
utils.js/timer: Created a custom render Props component for timer countdown.

New additions:

Created a new utility function (TimerInjector render props) to manage countdown functionality.
Created a service file to handle API calls related to votable colors.

Very cool! Nice work!


adhere to jpms (module-info.java added)

Currently, logging-log4j-kotlin does not adhere to jpms but the rest of log4j does (e.g. org.apache.logging.log4j:log4j-api:2.23.1 does contain a module-info.java).
This makes it very difficult to use logging-log4j-kotlin in kotlin projects that use jpms.
To solve this problem, I added an module-info.java file to log4j-api-kotlin.

Log4j Kotlin, just like all Maven-based Apache Logging Services projects (e.g., Log4j), uses logging-parent, which takes care of the JPMS descriptor generation. Source doesn't contain module-info.java files, they are generated at compile time using BND:
$ unzip -l log4j-api-kotlin-1.4.0.jar | grep module-info
      334  2023-12-18 18:39   module-info.class

$ jar -d <log4j-api-kotlin-1.4.0.jar
<EMAIL_ADDRESS>exports org.apache.logging.log4j.kotlin
requires java.base
requires kotlin.reflect static
requires kotlin.stdlib transitive
requires kotlinx.coroutines.core static
requires org.apache.logging.log4j transitive

Do you experience a particular problem?

Yes, you are right. JPMS support was added in 1.3.0 (but I looked at 1.2.0 by mistake).
Sorry for the noise.


zext.h and packw are both real instructions with overlapping encodings

The functionality of zext.h (Zbb) overlaps with packw with rs2=0 (Zbkb)
Zbkb doesn't imply Zbb. Maybe that the intention but I can't see that in the manual.
It does say it's a subset though:
34.3.1. Zbkb - Bitmanip instructions for Cryptography
These are a subset of the Bitmanipulation Extension Zbb which are particularly useful for
Cryptography.

If Zbb is present without Zbkb then zext.h is a real instruction. If Zbkb is also included then zext.h is a pseudo.
This is a bit weird - how is this supposed to be defined?

What’s your goal in raising this issue? There’s no definitional problem.

Just to understand how this is supposed to work.
It looks like it's been raised before: https://github.com/riscv/riscv-bitmanip/issues/170
I'd say it worth adding note about how to interpret the combination of Zbkb and Zbb - as the instructions overlap. People will continue to trip over this otherwise.
Are there any other examples of duplicate definitions?

packw with rs2=x0 is the same as zext.h, as you pointed out.
Closing this issue as it's not clear what problem we are trying to solve.

packw with rs2=x0 is the same as zext.h, as you pointed out. Same encodings, same semantics.
Closing this issue as it's not clear what problem there is to be solved.

It's packw on RV64 and pack on RV32.
Should the assemblers encode zext.h using the pack encoding if Zbkb is enabled with Zbb? I think right now they will falllback to slli+srli in that scenario.

Yeah, since pack[w] is a superset of zext.h, it makes sense for zext.h to use the pack[w] encoding in any situation that the pack[w] instruction is provided (which for now I guess just means Zbkb).


Save dummy image when in the simulator

This will allow much faster development for me. I'm going to dive in and try to make this work, let me know if there have been previous attempts!

https://github.com/lwansbrough/react-native-camera/pull/47

This has mysteriously disappeared. Why?

I think you fixed this?


Runtime variable default values (with tags.default)

Hello! We're exploring migrating our zod based DTOs to typia/nestia, but while doing a bit of exploring I ran into the following case which I couldn't quite solve yet.
We have an input model that requires a chainId to be passed. chainId is a number, but only valid numbers from an environment variable are acceptable. We currently handling that like so and it works perfect!
type ChainId = tags.TagBase<{
  kind: 'chainId';
  target: 'number';
  value: undefined;
  validate: `String(process.env.SUPPORTED_IDS).split(',').includes(String($input))`;
}>;

export type AddChainToGameRequestInput = {
  chainId: number & tags.Default<13337> & ChainId;
};

Question
What I couldn't figure out however, is how to pass a default value to the chainId that also comes from a runtime environment, for example: an environment variable. The reason we would want this, is because process.env.SUPPORTED_IDS will be completely different per environment we run our application.
In the snippet above, you can see that we simply pass a hardcoded 13337 number now:
export type AddChainToGameRequestInput = {
  chainId: number & tags.Default<13337> & ChainId;
};

Is it somehow possible for typia to process default values based on a runtime variable? or is that outside of the scope for this project? Sorry if it has been asked before, but I couldn't quite find an issue related.
To clarify, we would want something like this, which currently (for obvious reasons) wouldn't quite work
  chainId: number & tags.Default<process.env.DEFAULT_CHAIN_ID> & ChainId;

I could technically see it work  in similar fashion to how tags.TagBase handles validate, so something like a default option to call during runtime, of which the return value gets used as the default value.
Something like:

type Model = {
  chainId: number & tags.Default<{
      dynamic: `process.env.DEFAULT_CHAIN_ID`;
    }>;
}

Let me know if you like this idea, I could give it a swing at developing a PR.

The default tag has been designed to support only the JSON schema generation.

Would there be another way to get a runtime variable to be a default value to a property in a type? We want it to be coming from the runtime, as the default value is different depending on the environment.
With zod, we do it like so:
const chainIdSchema = z
  .number()
  .default(Number(process.env.CHAIN_ID));

Is there an equivalent of that in Typia?

No

https://github.com/samchon/typia/issues/979
I'm planning to implement the default value filling feature through transformer (raw data to class instance).
It is not a matter even the target type is not a class type, but cannot sure when I can start it.

Hi
I have an idea for this.
Instead of adding default variable feature, how about adding a function like this:

When the value is the promised type, return the input value
When it is not, return undefined.

This is similar to the maybe function in unknownutil https://github.com/jsr-core/unknownutil#maybe
We can implement like this.
function maybe<T>(input: unknown): T | undefined {
	return typia.is<string>(input) ? input : undefined
}
const input: unknown = 1;
const res = maybe<string>(input) ?? 'default'
console.log(res) // -> default

We can implement this every time we use it.
It may be even more useful to have this as a built-in function of typia


Blog monthly analytics

@lpgoldstein Blog August monthly analytics are ready for your review.
https://github.com/DOI-ONRR/blog-nrrd/wiki/Analytics
Check sheet access sent via email and can also be accessed here.

@cthomasONRR looks good.


refactor: remove flatModuleId and flatModuleOutFile from library …

remove flatModuleId and flatModuleOutFile from library tsconfig
The autogenerated fiellds are no longer required following this PR https://github.com/dherges/ng-packagr/pull/1024
This has been released in ng-packagr v4.1.0
//cc @filipesilva

@filipesilva, rebase done, need to re-approved.
Thanks

Both tests failures look like flakes

Restarted the flaked CI check.

@alan-agius4 could you rebase on top of master?

@hansl rebase done.

Merging this as Filipe already reviewed.


DateTime Formatting

Forgive me for this (possibly incredibly stupid) question, but I'm not familiar with the datetime format that MintAPI is returning.
I'm using PowerShell to parse the output, so I'm looking for a way to convert it to something that the Get-Date cmdlet would understand.  Any ideas?

As it turns out, my parsing was ruining the formatting of the Unix timestamp!  Disregard!


error occurred

Describe the bug
A clear and concise description of what the bug is.
memgpt/autogen/memgpt_agent.py", line 216
match type:
^
SyntaxError: invalid syntax

[ ] MemGPT version

pymemgpt==0.2.7

[ ] How did you install memgpt?

pip install pymemgpt

[ ] Describe your setup

Linux
Terminal

can you add your autogen version? pip list | grep pyautogen

pyautogen  0.2.2
Python  3.9.18

when
from memgpt.autogen import memgpt_agent as memgpt_autogen

memgpt/autogen/memgpt_agent.py", line 216
match type:
^
SyntaxError: invalid syntax

@cpacker

@ForrestPi this should be fixed by PR #691 (which will be part of the upcoming 0.2.10 release). Should also be fixable by upgrading your python to python >= 3.10.


Copy-paste error in documentation of StatefulWidget

Thanks!

Please add yourself to https://github.com/flutter/flutter/blob/master/AUTHORS