Error in JSON-LD with external @context link

Converting JSON-LD file with external context link renders error, for example, "@context": "https://linked.art/ns/v1/linked-art.json", caused by "https" ssl certification.

SOLVED!
The issue was independent of CRITERIA. It was an error of Python environment caused by an update to MacOS Catalina 10.15. It has been fixed by reinstalling Python version 3.7.0.

SOLVED!
The issue was independent of CRITERIA. It was an error of Python environment caused by an update to MacOS Catalina 10.15. It has been fixed by reinstalling Python version 3.7.0.


PR: Fix changing color scheme and UI theme (Appearance)

Description of Changes

Show a restart message whenever there is a mismatch between the selected UI theme and color scheme in preferences. That functionality broke in #16012.
Don't apply color scheme changes when there's a mismatch, only show the restart message mentioned above. This was not working under all circumstances.
Fix observers that need to react to changes in color scheme. This was not working as expected for all plugins the need it (i.e. editor, help and history).
Add tests for the Appearance config page so its UX to change color schemes and UI themes doesn't break yet again (that UX is tricky to get right).
In Preferences, don't add section to changed and restart options when it is None. This allow us to send the set of changed options to plugins in the same way as before #16012 was merged (not only Appearance but several other things were broken due to that).
Cleanup unused imports.

Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

Hello @ccordoba12! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file spyder/plugins/preferences/api.py:

Line 229:80: E501 line too long (80 > 79 characters)


The garbage in Editor is in a absolute position

Repro steps:
• Navigate to https://pxt.microbit.org/beta
• Zoom out the page until the Editor shows up a scrollbar
• Drag the "On Start" block to Editor and a garbage will show up
• Pull down the scrollbar and darg one block to Editor again
Expect result:
The garbage should show up with the scrollbar
Actual result:
The garbage didn't show up

Won't fix


Custom tag to include/insert pages from existing PDF?

Have a series of existing PDF files that need to be interwoven throughout my document.  Is there some sort of pdf:insertpdf or other custom tag that allows this?  Like a pdf:nextpage tag, it would immediately go to the next page, but it would insert every page in the referenced PDF file (any HTML content following this tag would assume a pdf:nexttag and process HTML-to-PDF content as usual).
Other python libraries like PyPDF already support PDF merging, but trying to insert PDFs after the fact would be nearly impossible and would break pagination/tables of contents.  Would be great to inline PDFs as needed during document creation.  Hoping there's a hidden tag or workaround for this somewhere?

I have a similar requirement, @dmkallan did you find a way to do this using xhtml2pdf? or any other method?

Not as such.  I originally tried creating placeholder pages with identifiers and crafting some awkward Acrobat JavaScripts, but it didn't work well and took ages (each insertion triggered long housekeeping activities in Acrobat itself).  Ultimately I had to go back to the drawing board and rethink the entire approach from the beginning, which meant not using PDFs and insertions, instead doing everything in HTML with WeasyPrint.  Was able to work for my use case, but if you're stuck with existing PDFs, not much help at all.


trusted publishing: repo owner in emails

Rounds out #13667.
Fixes #13577.

Whoops, done.

@di looks like you'll need to re-do the automerge because I don't have the commit bit 🙂


resolve ozontech/cute/#14

Add two new functions and tests.
I don't think a separate function AssertArray is needed, add test to TestEqual which shows how to assert array.

@siller174, please, do the review or some comments about it

I'm sorry, I was in vacation. Thank you for new asserts. MR will merged with https://github.com/ozontech/cute/pull/17


Upgrading from 3.x to 4.x without replacing ASGs is not possible; workarounds?

Description
I'm looking to upgrade usages of version 3.x module in my company to 4.x so we can use some of the new features (for example, multiple initial lifecycle hooks). Unfortunately the upgrade process is unnecessarily risky; the documentation claims simply re-creating ASGs should be okay, but in practice is not. Introducing such risk to services running in production, or that are stateful, is a non-starter.
Versions

Terraform: 0.13, not relevant
Provider(s): AWS, not relevant
Module: irrelevant

Reproduction
Create any autoscaling group with any version of this module before 4.0.0. Upgrade to 4.0.0 and run plan. You will see something like:
# module.whatever.aws_autoscaling_group.this[0] will be created
  + resource "aws_autoscaling_group" "this" {
...
# module.whatever.aws_autoscaling_group.this_with_initial_lifecycle_hook[0] will be destroyed
  - resource "aws_autoscaling_group" "this_with_initial_lifecycle_hook" {

The this_with_initial_lifecycle_hook resource has been renamed to this.  Which makes sense, but wrecks havoc in any sane upgrade path.
Expected behaviour
Some upgrade path is provided that does not involve ASG recreation. I understand the desire to leave legacy behind, but I fear many setups will be stuck in 3.x indefinitely if there is no possible solution.
Possible solutions

Use terraform state mv to rename existing resources. This should work, but is error-prone, manual, and not easily reversible.
Make it possible to use the old resource names somehow. I am not a TF expert, so I am not sure if this is feasible given interpolating resource names is usually not a thing.

hi @danielkza - the comment on "re-creating ASGs" does not intend to dictate to users how they re-create their autoscaling groups. typically in this situation, I would recommend bringing up a new autoscaling group alongside the existing, perform any testing/validation, and then cut traffic over to this new ASG. you may choose to leave the prior ASG running for some time until you are comfortable with the new solution before removing.
in addition, you can perform terraform state mv safely by either first taking a backup copy of your statefile or if you use something like S3 for your remote backend, you can enable versioning for backup copies.
unfortunately we are unable to provide clean, easy, safe upgrade paths for all breaking changes; its just the nature of these types of changes as we try to move the modules forward. either way, the upgrades are completely optional for users depending on what set of functionality you are looking for


fixes fallback condition where VCAP_SERVICES is not found

This was defaulting to None but None is not iterable so the following block of
get_database_url_from_vcap() (lib/buildpack.py:77) crashes.

LGTM!


Update-properties updates to latest dependency from repository not specified

Update-properties updates to latest dependency from repository not specified
[INFO] --- versions-maven-plugin:2.3:update-properties (default-cli) @ bla-project ---
[INFO] artifact se.something.commons:commons: checking for updates from development
[INFO] artifact se.something.commons:commons: checking for updates from external
[INFO] Updated ${commons.version} from 5.0.6622 to 5.0.6626
The version called 5.0.6626 is not in repository development or external. Its in a repository called release. And i don't want that version at the moment. I want the latest from development.

So you mean you would like to have a SNAPSHOT ? Correct? Currently there is no option to make separation between repositories...The differences between developer (SNAPSHOT) and releases are simply not ending with -SNAPSHOT?

No I don't want a SNAPSHOT version! The output say correctly its looking in development and external! But the version it updates to is from another repository not specified in the output. So it looks in other repositories not specified!

At the moment there is no option etc. to control from which repository a dependency is resolved...Apart from that to me it looks like a problem that you seemed to be having two repositories which contain artifacts with the same groupId/artifactId/... which is in general not a good idea.
The repository might be not in the output if it's not explicitly requested separately. This version could already been on the local cache ...?Furthermore in such situation a debugging output via mvn -X ... could help...

Well if update properties say it looks in two repositories but resolves stuff from other repositories not listed in the output! That means who ever can make a artifact that will be resolved instead of the stuff that should be. Because its looking basically in all repositories that exist! So basiclly if you are unlucky and somebody have an artifact with the same name as yours then it will be resolved.

I didn't wrote from repository. I wrote from local cache which is something wrong. Apart from that it will be true as you mentioned. GroupId/ArtifactId must be unique...to identify exactly one artifact (plus version)...

Well as it is now its kind of confusing that it getting stuff from repositories not listed. Its imposible to debug where stuff is comming from then.

Can you make a run with -X and send me the output maybe privately if you don't like to post here in public....otherwise I can't help ...cause it looks like something wrong in your setup...using two repositories which contains the same artifact using the same coordinates...and not to forget the local cache (~/.m2/repository)....

I will try to reproduce it again when I have time. You might be right that
I had forgot the local repository. Thats easy to forgot.
Regards
Anders
Den 15 juni 2017 16:03 skrev "Karl Heinz Marbaise"<EMAIL_ADDRESS>
:

Can you make a run with -X and send me the output maybe privately if you
don't like to post here in public....otherwise I can't help ...cause it
looks like something wrong in your setup...using two repositories which
contains the same artifact using the same coordinates...and not to forget
the local cache (~/.m2/repository)....
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mojohaus/versions-maven-plugin/issues/127#issuecomment-308741157,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG51XGU6AGejJp6r64tqC1jubTQNqgnhks5sETmggaJpZM4LoLp8
.

At the moment there is no option etc. to control from which repository a dependency is resolved...Apart from that to me it looks like a problem that you seemed to be having two repositories which contain artifacts with the same groupId/artifactId/... which is in general not a good idea.
The repository might be not in the output if it's not explicitly requested separately. This version could already been on the local cache ...?Furthermore in such situation a debugging output via mvn -X ... could help...

Is there now an option to control from which repository a dependency is resolved in latest 2.7 version?


Date type  data insert clickhouse is not correct

JDBC version in pom.xml
com.github.housepower:clickhouse-native-jdbc:2.3-stable
ClickHouse version
20.10.1
Error  logs
spark clomn is string
i use spark  to_date() transfer date and insert clickhouse
clickhouse is date
Steps to reproduce
i use spark  syn data from hive to clikhouse ;
i find hive  date is  2020-11-05
but i use spark syn clickhouse  then date is 2020-11-04
spark version 3.0
Other descriptions

i use com.github.housepower:clickhouse-native-jdbc:1.7-stable is correct

@maimaip By default, we use server timezone, try append jdbc parameter use_client_time_zone=true on url switch to client timezone.

@maimaip I find it does has issue on mainline as your description, investigating on it.

@sundy-li thanks

@maimaip We just release 2.4.0, this bug should be fixed, please have try.


Added fix for Publish Target Label Position

PR fixes #17747
This adds the checkbox to its own container so that it's in a column form, while adding the label and column container in a row fashion and aligned at the baseline for consistency.

please add screenshot of the updates

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
11 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.004%) to 41.661%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/contrib/notebook/browser/cellViews/markdownToolbar.component.ts
11
1.6%

Totals

Change from base Build<PHONE_NUMBER>:
0.004%

Covered Lines:
27180

Relevant Lines:
59208

💛  - Coveralls

@llali @kisantia please let me know when the final design has been approved so that I can close or merge this PR based on what is needed.

@llali @kisantia please let me know when the final design has been approved so that I can close or merge this PR based on what is needed.

I talked to @kisantia about the design. Raden sent me the design for this page before he leaves and the UI I created does't match it completely, so if we want to clean up the UI with your I change I think it's fine and later we need to go back and make the UI match with the design,


Added entity participant; Adopted README.MD for local DB setup

Added entity for participant
Added types for unified usage in the data model (URL, Answer Options)
Adopted types of entities to match semantics
Exposed participant entity via Admin service as projection
Added section on DB initialization for local development in README.MD

Would think we should stick with the EventDate, StartTime and EndTime being a Timestamp as then calculation for different timezones is easier. But maybe we reduce to Start and End. And show Start as the EventDate.


stdout rotation causes the framework to stop receiving offers

I have seen quite a few times with the existing framework that when Mesos(0.27.0)  tries to rotate STDOUT in executor sandbox environment, the kafka-mesos framework freaks out. It stops receiving slaves/agent offers. Thereby not able to provision any new brokers.
Maybe it looks like the framework is not able to handle HUP gracefully. I have to restart kafka-mesos framework everytime this happens.
-Imran

any updates to this? this is happening for me every few days.


How to list dependencies of a package?

How can I use ament in order to list all packages a package depends on? The command ament list_packages only has an option that list all packages that depend on a given package.

There is currently no such functionality on the command line. You have to fall back to read the package.xml of the package.
ament_tools only provides the minimum functionality to perform the processes of building, testing and summarize test results. There are likely many higher level  / convenience features missing atm.

I managed to create debian packages with checkinstall. In order to add dependencies to the debian packages it would have been nice to read the dependencies of a package.
Perhaps I can add this functionality by myself (I'm not that good with python).

The Python API of ament_package already exposes the information. There is just no command line option in ament_tools for it. Adding a new verb similar to one of the existing ones should be straight forward.

closing this question and adding a TODO ticket in #113


Pattern macros

at the top of the file, put %define {IDENTIFIER} = {PATTERN}%
then in a pattern can put #{IDENTIFIER} to macro to the pattern
ex: % Var: #Macro | "Hello" | ident %

done in latest (uncommitted) changes


Billing metrics

billing metric includes:

refactor of client used for observatorium
addition of new environment varaible for prometheus token (necessary to access Pormetheus server with our web client)
change of test base to rely on prometheus instead of observatorium (if necessary)
utilities for multiple consumers
tests
utils to obtain token (script in hack and kubernetes resources to be applied)

next steps  and observations:

up until now 100% success rate but we will monitor long run firstly from main later from main periodic.
test suite will be added accordingly.

unused util methods removed.
also i Added the suite for billing as part of default profile so it can be run periodically (as mentioned in PR description)


Tooltip is under my finger on Tooltips Controls page in Gallery

Repro:
Long press the telephone handset on the Tooltip page in the Gallery.
Notice in the photo below that the tooltip is underneath the phone icon. This position is usually covered up by your finger. A tooltip above the phone icon would be better.

Yes, I agree with you, but the spec says to prefer putting the tooltip below the button and we confirmed that was the behavior the design team wants.


About the settings required for VoLTE

Hi @herlesupreeth
I'm trying VoLTE and please let me ask you a few questions.
I have a plan to use real devices for 4G RAN and smartphones.
If I don't use 5G NFs, are these following changes in the config files enough?
1) .env
DOCKER_HOST_IP
SGWU_ADVERTISE_IP
UPF_ADVERTISE_IP

Should the value of UPF_ADVERTISE_IP is set to the value of DOCKER_HOST_IP?
Also I will change MCC and MNC in .env and tac in mme/mme.yaml.
2) Is it OK to uncomment the following for docker-compose.yaml and nsa-deploy.yaml?
mme section
...
    # ports:
    #   - "36412:36412/sctp"
...

sgwu section
...
    # ports:
    #   - "2152:2152/udp"
...

3) I need to edit sa-deploy.yaml?
Thank you very much in advance.
Best regards,
--Shigeru

Hi @herlesupreeth
I'm sorry for my late response.
After that, I tried various things, but I couldn't find any communication of Create Bearer Request or SIP Registration.
Below, I will tell you about this situation.
If you notice anything, I would be greatly appreciated if you could let me know.
1) Network configuration
  [Real eNodeB]           [Docker Host]
    ---------             -------------
   |         |           |             |
   |         |           |             |
    ---------             -------------
        |                       |
-------------------------------------------------------
       .53                     .7       <IP_ADDRESS>/24

2) Configuration file changes

.env changes

--- .env.orig   2021-10-02 18:11:48.000000000 +0000
+++ .env        2021-10-02 22:02:10.000000000 +0000
@@ -1,11 +1,11 @@
 # Set proper timezone to sync times between docker host and containers
 #TZ=Europe/Berlin

-MCC=001
-MNC=01
+MCC=441
+MNC=90

 TEST_NETWORK=<IP_ADDRESS>/24
-DOCKER_HOST_IP=<IP_ADDRESS>
+DOCKER_HOST_IP=<IP_ADDRESS>

 # MONGODB
 MONGO_IP=<IP_ADDRESS>
@@ -19,7 +19,7 @@
 # SGW
 SGWC_IP=<IP_ADDRESS>
 SGWU_IP=<IP_ADDRESS>
-SGWU_ADVERTISE_IP=<IP_ADDRESS>
+SGWU_ADVERTISE_IP=<IP_ADDRESS>

 # SMF
 SMF_IP=<IP_ADDRESS>

fhoss/Dockerfile changes

--- Dockerfile.orig     2021-10-16 21:39:54.000000000 +0000
+++ Dockerfile  2021-10-16 21:53:04.000000000 +0000
@@ -57,7 +57,8 @@

 RUN mkdir -p /opt/OpenIMSCore && \
        cd /opt/OpenIMSCore && \
-       git clone https://github.com/herlesupreeth/FHoSS
+       git clone https://github.com/herlesupreeth/FHoSS && \
+       cd FHoSS && git checkout auth_fix_exp && git fetch

 ENV JAVA_HOME="/usr/lib/jvm/jdk1.7.0_80"
 ENV CLASSPATH="/usr/lib/jvm/jdk1.7.0_80/jre/lib/"

docker-compose.yaml changes (mme and sgwu sections)

--- docker-compose.yaml.orig    2021-10-16 21:48:26.000000000 +0000
+++ docker-compose.yaml 2021-10-21 06:32:58.376737998 +0000
@@ -235,8 +235,8 @@
     expose:
       - "8805/udp"
       - "2152/udp"
-    # ports:
-    #   - "2152:2152/udp"
+    ports:
+      - "2152:2152/udp"
     networks:
       default:
         ipv4_address: ${SGWU_IP}
@@ -352,8 +352,8 @@
       - "5868/sctp"
       - "36412/sctp"
       - "2123/udp"
-    # ports:
-    #   - "36412:36412/sctp"
+    ports:
+      - "36412:36412/sctp"
     networks:
       default:
         ipv4_address: ${MME_IP}

mme/mme.yaml changes

--- mme.yaml.orig       2021-10-02 18:11:48.000000000 +0000
+++ mme.yaml    2021-10-02 20:56:28.000000000 +0000
@@ -19,7 +19,7 @@
       plmn_id:
         mcc: MCC
         mnc: MNC
-      tac: 1
+      tac: 133
     security:
         integrity_order : [ EIA2, EIA1, EIA0 ]
         ciphering_order : [ EEA0, EEA1, EEA2 ]

3) Open5GS HSS information (IMSI=441900000000511)

4) FHoSS information (IMSI=441900000000511)

5) Open5GS logs and PCAP files
On each terminal, I started NFs other than 5GC as follows.
docker-compose up mongo mysql dns webui
docker-compose up nrf hss mme pcrf sgwc sgwu smf upf
docker-compose up rtpengine fhoss icscf scscf pcscf

After that, I will attach logs of the progress after starting eNodeB and UE.
[eNodeB started and connected to EPC]
                |
                v
[UE(smartphone) started and connected to EPC]
                |
                v
[eNodeB reboot unexpectedly]

open5gs/*.log open5gs_log_20211020.tar.gz
pcap on Docker Host/<IP_ADDRESS> host_1020_05.pcap.gz
pcap on MME/<IP_ADDRESS> mme_1020_05.pcap.gz

The UE Voice setting was as follows according to the pcap.
Voice Domain Preference and UE's Usage Setting
    Element ID: 0x5d
    Length: 1
    0000 0... = Spare bit(s): 0
    .... .0.. = UE's usage setting: Voice centric
    .... ..11 = Voice domain preference for E-UTRAN: IMS PS voice preferred, CS Voice as secondary (3)

I'm also asking the eNodeB vendor about 22. eNB settings in VoLTE Setup with Kamailio IMS and Open5GS.
(According to the eNodeB specifications, it supports VoLTE, so I will expect to be able to use VoLTE.)
If you notice anything, I would be greatly appreciated if you could let me know.
Thank you very much in advance.
Best regards,
--Shigeru

fhoss/Dockerfile changes

These changes is not required imo. Please use the master branch itself

On each terminal, I started NFs other than 5GC as follows.

This is wrong. Since the docker-compose file has defined dependencies, for e.g. pcrf has dependency on mongo so when you do docker-compose up pcrf it will bring up mongo container as well, so there will be duplication of services. So my suggestion is to run just
docker-compose up
the above command will bring up all the required containers
I checked the pcaps and I see attached to 'ims' APN but did not initiate SIP request towards IMS. I would suggest to run the below command on the docker host
sudo ufw disable
Your eNB also supports VoLTE no issues there.
A Tip: I see you are using Baicells eNB, just make sure to ask them the latest firmware. I saw this issue of constant reboot and it bricked one eNB

Hi @herlesupreeth
I haven't resolved the eNodeB restart failure yet, but I got another eNodeB (Baicells) and tried VoLTE on the following IMSI smartphones.

Phone1)<PHONE_NUMBER>00511 (phone number: 1511)
Phone2)<PHONE_NUMBER>00512 (phone number: 1512)

     eNodeB                Docker Host
    ---------             -------------
   |         |           |             |
   |         |           |             |
    ---------             -------------
        |                       |
-------------------------------------------------------
       .53                     .150    <IP_ADDRESS>/24

In addition, I set the static routing of eNodeB as follows.
ip r add <IP_ADDRESS>/24 via <IP_ADDRESS>

The SIP Registrations were successful and the IP addresses of the smartphones were assigned as follows.
Phone1)

internet APN: <IP_ADDRESS>
ims APN: <IP_ADDRESS>

Phone2)

internet APN: <IP_ADDRESS>
ims APN: <IP_ADDRESS>

After that, when I called Phone1-> Phone2, I didn't see the Incoming call on Phone2. Below are pcap and log files from eNodeB startup to smartphone startup and calling.

open5gs/*.log open5gs_logs_1215_02.tar.gz
pcap on Docker Host/<IP_ADDRESS> host_1215_02.pcap.gz
pcap on MME/<IP_ADDRESS> mme_1215_02.pcap.gz

Looking at host_1215_02.pcap, Create Bearer Request / Response seems to be successful. But, it became Status: 408 Request Timeout as follows.

For your reference, I also attach a screen sorted by Protocol name.

Also, when I called self like Phone1-> Phone1, Phone1 became Line busy. The packet at this time was Status: 486 Busy Here as follows.

For your reference, I also attach a screen sorted by Protocol name.

On the other hand, the following logs were output to P-CSCF and I-CSCF.
pcscf        | 98(133) ERROR: <script>: OPTIONS to sip:441900000000511@<IP_ADDRESS>:41226 via sip:<IP_ADDRESS>:41226;transport=tcp...
pcscf        | 98(133) ERROR: <script>: OPTIONS to sip:441900000000512@<IP_ADDRESS>:42666 via sip:<IP_ADDRESS>:42666;transport=tcp...
pcscf        | 102(137) ERROR: <script>: request sent to sip:441900000000511@<IP_ADDRESS>:41226 completed with code: 200, Type 1
pcscf        | 103(138) ERROR: <script>: request sent to sip:441900000000512@<IP_ADDRESS>:42666 completed with code: 200, Type 1

icscf        |  1(29) ERROR: <script>: $ru => sip:1512@ims.mnc090.mcc441.3gppnetwork.org;user=phone
icscf        |  1(29) INFO: ims_icscf [cxdx_lir.c:69]: create_lia_return_code(): created AVP successfully : [lia_return_code]
icscf        | 10(38) INFO: ims_icscf [cxdx_avp.c:137]: cxdx_get_avp(): cxdx_get_experimental_result_code: Failed finding avp
icscf        | 10(38) INFO: ims_icscf [cxdx_lir.c:69]: create_lia_return_code(): created AVP successfully : [lia_return_code]
icscf        |  4(32) ERROR: <script>: $ru => sip:1512@ims.mnc090.mcc441.3gppnetwork.org;user=phone
icscf        |  4(32) INFO: ims_icscf [cxdx_lir.c:69]: create_lia_return_code(): created AVP successfully : [lia_return_code]
icscf        | 13(41) INFO: ims_icscf [cxdx_avp.c:137]: cxdx_get_avp(): cxdx_get_experimental_result_code: Failed finding avp
icscf        | 13(41) INFO: ims_icscf [cxdx_lir.c:69]: create_lia_return_code(): created AVP successfully : [lia_return_code]

If you notice anything, I would be greatly appreciated if you could let me know.
Thank you very much in advance.
Best regards,
--Shigeru

I will apply the following filter to Wireshark and attach pcap files excluding unnecessary packets.
not arp &&
not quic &&
not ip.addr == <IP_ADDRESS> &&
not ip.addr == <IP_ADDRESS> &&
not ip.addr == <IP_ADDRESS> &&
(ip.addr == <IP_ADDRESS>/24 || ip.addr == <IP_ADDRESS>/24 || ip.addr == <IP_ADDRESS>/24 || ip.addr == <IP_ADDRESS>/24) &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/16

host_1215_02_small.pcap.gz
mme_1215_02_small.pcap.gz

Strange I remember fixing this issue on IMS, its not an issue on the EPC, its either an IMS issue or UE issue. I am referring to the trace you sent earlier "host_1215_02.pcap"
I see the PRACK sent from caller to callee (packts 29497) inside IPSec (correctly) and callee replying with 200 OK for it in packet 29613, however the UE is sending the packet outside of IPSec (wrong). Can you please try with a different phone?

Btw, the logs on PCSCF and I-CSCF are normal, they are just printed with wrong logging level, its should have been info level

Hi @herlesupreeth
Thank you very much for your reply!
The two smartphones used are the following model.

SHARP AQUOS sense3

Next Monday, I'll try it on the another following model.

FCNT arrows BZ02

Both of these models are for Japan.
Also, I got it about the P-CSCF and I-CSCF logs.
Thank you very much again!

Hi @herlesupreeth
I tried VoLTE by inserting the two SIMs of the previous IMSI into the following smartphones.
Phone1)<PHONE_NUMBER>00511 (phone number: 1511)

internet APN: <IP_ADDRESS>
ims APN: <IP_ADDRESS>

Phone2)<PHONE_NUMBER>00512 (phone number: 1512)

internet APN: <IP_ADDRESS>
ims APN: <IP_ADDRESS>

Smartphones are the following model.

FCNT arrows BZ02

When I called Phone1-> Phone2, I didn't see the Incoming call on Phone2. Below are pcap and log files from eNodeB startup to smartphone startup and calling. I also tried self calling for Phone1-> Phone1.

open5gs/*.log open5gs_logs_1220_02.tar.gz
pcap on Docker Host/<IP_ADDRESS> host_1220_02.pcap.gz
pcap on MME/<IP_ADDRESS> mme_1220_02.pcap.gz

In 29606, I found a packet similar to the one you pointed out last time.

Also, in 30834, Status: 408 Request Timeout occurred as well.

I disabled (Call settings --> SIP settings -->) Receive incoming calls and set Use SIP calling to SIP calls only.
If there is something wrong with my settings, I would be very glad if you could point it out.
Many thanks!
--Shigeru

I would suggest the following, decrease the following value in kamailio_pcscf.cfg to say 1100 and then please re-try calling
https://github.com/herlesupreeth/docker_open5gs/blob/9445dcf1133c0274968373ecdfdff7df73cc5bba/pcscf/kamailio_pcscf.cfg#L136

Hi @herlesupreeth
Thank you very much for your reply.
I changed docker_open5gs/pcscf/kamailio_pcscf.cfg as below, and tried it with the same configuration without changing other settings.
udp_mtu = 1000

When I called Phone1 -> Phone2, Status: 408 Request Timeout did not occur, but the packet of Status: 500 Server Internal Error was sent from P-CSCF to S-CSCF as shown below. Also, since host_1221_01.pcap size is large, I split it into two files. Please use mergecap [infile1] [infile2] -w [outfile] to join them.

open5gs/*.log open5gs_logs_1221_01.tar.gz
pcap on Docker Host/<IP_ADDRESS> host_1221_01_div_00000_20211221171642.pcap.gz host_1221_01_div_00001_20211221172123.pcap.gz
pcap on MME/<IP_ADDRESS> mme_1221_01.pcap.gz

Also, when I called self like Phone1-> Phone1, Phone1 became Busy as before.
If you notice anything, I would be greatly appreciated if you could let me know.
Best regards,
--Shigeru

I will apply the following filter to Wireshark and attach pcap file excluding unnecessary packets.
(Along with applying this filter, ether type 0x8899 of RRCP(Realtek Remote Control Protocol) was also excluded.)
not icmpv6 &&
not arp &&
not ssh &&
not x11 &&
not quic &&
not ip.addr == <IP_ADDRESS> &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/16 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8

host_1221_01_small.pcap.gz

Also, I changed docker_open5gs/pcscf/kamailio_pcscf.cfg as below, and tried it with the same configuration without changing other settings.
udp_mtu = 1100

The result is that a packet with the same Status: 500 Server Internal Error was sent from P-CSCF to S-CSCF.
I will apply the following filter to Wireshark and attach pcap files excluding unnecessary packets.
(Along with applying this filter, ether type 0x8899 of RRCP(Realtek Remote Control Protocol) was also excluded.)
not icmpv6 &&
not arp &&
not ssh &&
not x11 &&
not quic &&
not ip.addr == <IP_ADDRESS> &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/16 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8 &&
not ip.addr == <IP_ADDRESS>/8

host_1222_01_small.pcap.gz
mme_1222_01.pcap.gz

The following two ERROR logs was found in P-CSCF. I also attached entire P-SCSF log.
pcscf        | 101(135) NOTICE: <script>: PCSCF MT_reply:
pcscf        |  Destination URI: <null>
pcscf        |  Request URI: <null>
pcscf        | 101(135) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
pcscf        | 101(135) NOTICE: <script>: Source IP and Port: (<IP_ADDRESS>:41238)
pcscf        |  Route-URI:
pcscf        | 101(135) NOTICE: <script>: Received IP and Port: (<IP_ADDRESS>:5060)
pcscf        | 101(135) NOTICE: <script>: Contact header: <null>
pcscf        | 101(135) NOTICE: <script>: PCSCF MT_reply:
pcscf        |  Destination URI: <null>
pcscf        |  Request URI: <null>
pcscf        | 101(135) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
pcscf        | 101(135) NOTICE: <script>: Source IP and Port: (<IP_ADDRESS>:41238)
pcscf        |  Route-URI:
pcscf        | 101(135) NOTICE: <script>: Received IP and Port: (<IP_ADDRESS>:5060)
pcscf        | 101(135) NOTICE: <script>: Contact header: <sip:b58df5e6-52be-4e7d-a379-e065639383c7@<IP_ADDRESS>:41238>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";audio
pcscf        | 101(135) NOTICE: <script>: PCSCF MT_reply:
pcscf        |  Destination URI: <null>
pcscf        |  Request URI: <null>
pcscf        | 101(135) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
pcscf        | 101(135) NOTICE: <script>: Source IP and Port: (<IP_ADDRESS>:41238)
pcscf        |  Route-URI:
pcscf        | 101(135) NOTICE: <script>: Received IP and Port: (<IP_ADDRESS>:5060)
pcscf        | 101(135) NOTICE: <script>: Contact header: <sip:b58df5e6-52be-4e7d-a379-e065639383c7@<IP_ADDRESS>:41238>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";audio
pcscf        | 101(135) ERROR: ims_qos [ims_qos_mod.c:935]: w_rx_aar(): No P-Called-Party hdr found in response. Using req URI from dlg - we shouldn't have to do this101(135) INFO: cdp [authstatemachine.c:270]: auth_client_statefull_sm_process(): after callback of event 1
pcscf        | 94(128) INFO: cdp [authstatemachine.c:270]: auth_client_statefull_sm_process(): after callback of event 7
pcscf        | 108(142) NOTICE: <script>: PCSCF MO_reply:
pcscf        |  Destination URI: <null>
pcscf        |  Request URI: <null>
pcscf        | 108(142) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header present.
pcscf        | 108(142) NOTICE: <script>: Source IP and Port: (<IP_ADDRESS>:6060)
pcscf        |  Route-URI:
pcscf        | 108(142) NOTICE: <script>: Received IP and Port: (<IP_ADDRESS>:5060)
pcscf        | 108(142) NOTICE: <script>: Contact header: <sip:b58df5e6-52be-4e7d-a379-e065639383c7@<IP_ADDRESS>:41238;alias=<IP_ADDRESS>~41238~2>;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel";audio
pcscf        | 108(142) INFO: ims_ipsec_pcscf [cmd.c:998]: ipsec_forward(): Destination changed to [2://sip:<IP_ADDRESS>:42596;transport=tcp], from [2:6100]
pcscf        | 108(142) ERROR: ims_qos [ims_qos_mod.c:911]: w_rx_aar(): No P-Asserted-Identity hdr found in request. Using From hdr in req - we shouldn't have to do this108(142) INFO: cdp [authstatemachine.c:270]: auth_client_statefull_sm_process(): after callback of event 1

pcscf_1222_01.log.gz

@s5uishida regarding the error in pcscf logs, please ignore them. Its not the root cause of the call failing.
IMO it needs fixes in kamailio base code, currently I am bit occupied with day job will let you know once I am able to fix this

Hi @herlesupreeth
Thank you very much for your efforts!
I am very much looking forward to hearing from you.
In Japan, the unlicensed sXGP (band39 / 1.9GHz) can be used as private LTE, and I have confirmed that data communication is available for Open5GS CUPS-EPC. Also, I was able to use VoIP by referring to section 12 of VoLTE Setup with Kamailio IMS and Open5GS. On this case I use Open5GS or WiFi to assign IP addresses to smartphones.
If you have any suggestions for configurations to get logs, please let me know.
(Also, I am on year-end and new year holidays until 5 Jan.)
Thank you very much again!
Best regards,
--Shigeru

Regarding the fix for this, I am not sure whether the following fixes it but its worth a try :)
Please revert back the udp_mtu = 1100 in kamailio_pcscf.cfg and then apply the below patch in pcscf/route/mt.cfg and give it a try. Send me the trace and logs on PCSCF and SCSCF
diff --git a/pcscf/route/mt.cfg b/pcscf/route/mt.cfg
index 43bc6fe..40aaebe 100644
--- a/pcscf/route/mt.cfg
+++ b/pcscf/route/mt.cfg
@@ -81,6 +81,9 @@ route[MT_aar_reply]
 # In-Dialog-MT-Requests
 ######################################################################
 route[MT_indialog] {
+    if(!isdsturiset()) {
+        handle_ruri_alias();
+    }
     xnotice("PCSCF MT_indialog: \n Destination URI: $du\n Request URI: $ru\n");
     xnotice("Source IP and Port: ($si:$sp)\n Route-URI: $route_uri\n");
     xnotice("Received IP and Port: ($Ri:$Rp)\n");

Happy holidays and new year!!

Hi @herlesupreeth
OK.
I don't have access to this environment right now, so I'll try it on 6 Jan and send you the logs.
Thank you very much!
--Shigeru

@herlesupreeth Happy new year!
I changed mt.cfg and tried udp_mtu in docker_open5gs/pcscf/kamailio_pcscf.cfg with the following values.
In either case, I couldn't make a call.
The list of logs is as follows.
20220106_XX.tar.gz
---
host_0106_XX.pcap
mme_0106_XX.pcap
open5gs_logs_0106_XX.tar.gz
rtpengine_fhoss_0106_XX.log
icscf_0106_XX.log
scscf_0106_XX.log
pcscf_0106_XX.log

udp_mtu = 1100 (0106_01)
When I called Phone1 -> Phone2, the packet of Status: 500 Server Internal Error was sent from P-CSCF to S-CSCF.
20220106_01.tar.gz

udp_mtu = 1300 (0106_03)
When I called Phone1 -> Phone2, the packet of Status: 408 Request Timeout was sent from P-CSCF to S-CSCF.
20220106_03.tar.gz

udp_mtu = 1000 (0106_04)
When I called Phone1 -> Phone2, the packet of Status: 500 Server Internal Error was sent from P-CSCF to S-CSCF.
20220106_04.tar.gz

You can easily see the *.log files in color with the less -R command.
If you have any suggestions for configurations to get logs, please let me know.
Thank you very much for your efforts!
Best regards,
--Shigeru

I will take a look at trace and get back to you. If it requires any changes in source code will do so and let you know. Thanks for testing :)

Please use the fix_buggy_ue_call branch in this repo and re-compile the kamailio ims base image and give it a try
i.e.
cd ../ims_base
docker build --no-cache --force-rm -t docker_kamailio .

and then docker-compose up

Hi @herlesupreeth
I will try it tomorrow and report the results.
Also, is it necessary to change mt.cfg as before?
And, is it OK to set udp_mtu in docker_open5gs/pcscf/kamailio_pcscf.cfg to 1100?
If I should try other values as well, please let me know.
Thank you very much!

Also, is it necessary to change mt.cfg as before?

Nope, revert  back to original

And, is it OK to set udp_mtu in docker_open5gs/pcscf/kamailio_pcscf.cfg to 1100?
If I should try other values as well, please let me know.

Set it back to 1300

Hi @herlesupreeth
OK.
Thanks!

Hi @herlesupreeth
I tried the fix_buggy_ue_call branch as follows:
I used original mt.cfg as it was, and set the value of udp_mtu to the original 1300.
The version of Open5GS is not the latest version of main, but the following version that does not crash PCRF.

commit 49d9ed03c75e5e8041f5c9668fece1c9215782b8 - [MME] fix the crash (#1263)

base/Dockerfile
---
-    git checkout main && meson build --prefix=`pwd`/install && \
+    git checkout 49d9ed03c75e5e8041f5c9668fece1c9215782b8 && meson build --prefix=`pwd`/install && \

Also, when building, /open5gs/install/include was not found and stopped with an error, so I deleted the following line.
base/Dockerfile
---
COPY --from=builder /open5gs/install/include /open5gs/install/include

The result was that I couldn't make a call.
When I called Phone1 -> Phone2, the packet of Status: 500 Server Internal Error was sent from P-CSCF to S-CSCF.
The log file is as follows. The contents of the log file are the same as before.
20220111-01.tar.gz
If you have any suggestions for configurations to get logs, please let me know.
Thank you very much!
--Shigeru

Thank you for testing it out. I beleive the UE has broken implementation, because as per RFC3261, the UE should have sent the PRACK over TCP but sends over UDP (since the UE didnt ask for MTU in PDNConnectivityRequest). The fix i gave was trying to somehow make it work even in the case of broken UE impl. let me take another look whether i can fix it or not.

@s5uishida If you dont mind, can you please increase the udp_mtu to 1450 and give it a try and send me the trace and logs. I went through the kamailio code and dont see an easy solution at the moment

I pushed one more change to fix_buggy_ue_call branch, please take those changes and give it a try tomorrow.

Hi @herlesupreeth
I was able to make a call! Wonderful!
I set udp_mtu to the original 1300.
Also I use the issues1313 branch for Open5GS.
(Branch for confirming PCRF crash avoidance)
For your reference, the set of logs is attached below.
20220112-01.tar.gz
Also, I was a little worried about the following log of Open5GS when making a call.
open5gs_0112_01.log
---
smf          | 01/12 00:26:19.757: [smf] ERROR: No need to send 'Update Bearer Request' (../src/smf/binding.c:321)
smf          | 01/12 00:26:19.757: [smf] ERROR: bearer_created:0, qos_presence:0, rule_count:0 (../src/smf/binding.c:322)

However, after that, I tried several calls and all calls were successful.
Thank you very much for your efforts!
Many many thanks!!

Awesome!! Thank you for testing it out. Regarding the logs in smf, you can ignore them because an AAR is sent when UPDATE SIP message is exchanged and if the flow description are the same as what was there during INVITE and 183 message exchange then an update wont be necessary (as the log says)

Hi @herlesupreeth
I was able to use VoLTE on the following smartphones that support sXGP in Japan.
Thank you very much.

SHARP AQUOS sense3
FCNT arrows BZ02

But i believe it should be a warning and not an error… need to be fixed in open5gs

As pointed out by you, I think so too.

Hi @herlesupreeth
BTW, do you have any plans to merge fix_buggy_ue_call branch into master?
I'm really looking forward to it!
Thank you very much!

yep, will do definitely

I'm very glad!

Hi @herlesupreeth
Now I have confirmed the operation again with the latest docker_open5gs/master and open5gs/main.
After this, I will close this issue today.
Thank you very much again!

Cool!! This issue had been there for quite some time i guess but i couldn’t get to bottom of it due to lack of traces and logs (i could not reproduce this issue at my end), but with traces and logs you sent i was able to solve it. Thanks a lot for your efforts

its work as DOCKER_HOST_IP=<IP_ADDRESS> and as host <IP_ADDRESS> in my case and both at the same time!! which is better bro?


WIP. Previously Reverted Code with Fix

This is the rest of the reverted code from pull request #1453 and includes some slight fixes for some of the IT's that it broke. This is still a work in progress due to some inconsistencies in my testing of the IT's and I know there are currently some fixes in the works for a few of those.
Most of the code changes are aimed to use TabletMutator in the various state store setLocation functions (some of these functions were already doing so but not all) and deleting unused code. Parts of these changes coincide with my change in #1616 in when we update lastLocation.

The IT's passed. I merged in the most recent changes to accumulo so hopefully everything is aligned. Most of these things are refactors and deletions of unused code. Not sure how wanted some of these things are so there is no rush for review.

@Manno15 Thanks for this. I confirmed all the ITs passed for these changes, and am working through a code review.

@Manno15 I updated the title to reflect what this code is trying to change.

Okay, I was trying to track down this a bit, because it didn't make sense to me that the two methods that previously updated the LAST location would be doing that. I traced the code and saw that the two methods in MasterMetadataUtil that update LocationType.LAST are only ever called by DatafileManager.bringMinorCompactionOnline and DatafileManager.bringMajorCompactionOnline.
So, it seems that the original intent (prior to #1616) was to only update the LAST location if a file was successfully written locally on that server. So, LAST does not represent the last assignment, but the last server where data was written from a major or minor compaction. The intent, it seems, is that the initial assignments on startup should be based on where the data would be local, and not to preserve its previous assignment.
This insight also answers the questions I had in https://github.com/apache/accumulo/pull/1616#issuecomment-665412742 about the intent of the LAST field. Because, if the intent was to simply assign to the last location it was previously assigned to, then assigning it to the last CURRENT location that was written would be sufficient (because that is updated on assignment), and we wouldn't even need a LAST location at all. LAST does not mean "last assignment", it means "last location where data was likely written locally". This is about data locality, not (re)assignment thrashing.
So, we need to go back to the drawing board here, because I'm not sure #1616 even fixed a problem at all... it simply changed behavior to re-assign to a previously assigned location, rather than the last location written to. We need to figure out if the code works as intended without the changes in #1616. If it does, then we need to figure out whether we want to change the behavior or not. If we do, then we can probably change the code to eliminate the LAST field entirely, and just use the CURRENT field, if it exists. If we don't want to change the behavior, then we can revert #1616 and simply do the changes that get rid of some boilerplate by using Ample.
Does all this make sense, @Manno15
If not, feel free to give me a call or ping me on Slack.

@ctubbsii Yes, that makes sense. I misunderstood the intent when I was first working on this, my apologies. Thank you for taking a deeper look into it. I would like to set up a call for Monday if you are available. We can discuss how to proceed with both these issues. Again, my apologies.

@ctubbsii Yes, that makes sense. I misunderstood the intent when I was first working on this, my apologies. Thank you for taking a deeper look into it. I would like to set up a call for Monday if you are available. We can discuss how to proceed with both these issues. Again, my apologies.

No worries. It took me awhile to catch on to what was going on, because I didn't know what this LAST field was for until today. Even now, I'm only 90% certain. :smiley_cat: Monday would be great. Have a good weekend!

I spoke with @Manno15 on Slack, and we came to the conclusion that #1616 should be reverted (which I have done) and that this PR can be rebase'd onto main and updated to reflect only the move to Ample to perform the updates (as well as removing any unneeded code that moving to Ample would obsolete, and updating Ample, as needed, to handle differently serialized port numbers and possibly to reuse a batch writer for updating multiple locations, if needed). I don't know if it is necessary to handle the RuntimeExceptions thrown by Ample and rewrapped as DistributedStoreException, or not... especially since Ample itself is written to wrap all checked exceptions and throw them through as RuntimeExceptions. If Ample doesn't think they should be handled, then maybe these stores shouldn't handle them either. I'm leaving that for @Manno15 to investigate further and come to their own conclusion.

@ctubbsii I believe I made all the necessary changes to this per our discussion yesterday. I am going to run the IT's now.

All the ITs passed when I ran them today. So, I'll merge this now. Thanks @Manno15 !


update for BS Roformer (viperx edition)

When do you plan to update the code in order to support new models like BS Roformer?

Would like to know this too! Going back and forth to MVSEP now, and it's kinda crappy workflow and time consuming if you need to split 3 full albums.. ^^'

Would like to know this too! Going back and forth to MVSEP now, and it's kinda crappy workflow and time consuming if you need to split 3 full albums.. ^^'

I'm running viperx model locally

Would like to know this too! Going back and forth to MVSEP now, and it's kinda crappy workflow and time consuming if you need to split 3 full albums.. ^^'

I'm running viperx model locally

How???

Yeah, How? Would like to know, too.

any update on this?

Would like to know this too! Going back and forth to MVSEP now, and it's kinda crappy workflow and time consuming if you need to split 3 full albums.. ^^'

I'm running viperx model locally

How???

Yeah, How? Would like to know, too.

there's a patched version of UVR. here it is https://docs.google.com/document/d/17fjNvJzj8ZGSer7c7OFe_CNfUKbAxEh_OBv94ZdRG5c/edit


authentication failed

I finished the configure process as Readme.
authentication failed due to: Cannot get AAD Federation metadata

Apologies as this went unattended for so long. Closing this as we are archiving the sample. Please refer to the new sample using MSAL Node: https://github.com/Azure-Samples/ms-identity-node


Hi

Hi! I am Sofa. I would like to recommend you some good online essay writing service. An essay is a piece of writing that presents the author's thoughts, opinions, or arguments on a specific topic. It is a structured and organized composition that typically includes an introduction, body paragraphs, and a conclusion. Essays can be written for various devdiscourse.com purposes, such as informing, persuading, or entertaining readers. They are commonly used in education, literature, journalism, and other forms of communication to convey ideas and engage with readers on a particular subject.


Write a "how to donate to the OSI" doc

For those companies, organizations, and individuals that don't want to contribute code but want to support the project, we should have a doc that explains how to donation to ClearlyDefined at the OSI.

This is written: https://docs.google.com/document/d/1WyZwvjEmXVnIecK2SnEiYoyBF-bsQFH1NoVkm7olvAQ/edit
Getting review from the OSI now.

This has been reviewed by OSI. We may make changes later, but this works for now.


can't mock import.meta in vi.hoisted

Describe the bug
vi.hoisted(() => {
  import.meta.a = 1; // not work
  global.ddd = 2 // works
  return {
    rdt: vi.fn(),
  };
});

Reproduction
https://github.com/HomyeeKing/vitest-repo/tree/importMeta
System Info
System:
    OS: macOS 13.6
    CPU: (8) arm64 Apple M1
    Memory: 76.45 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.19.0 - ~/.nvm/versions/node/v16.19.0/bin/node
    Yarn: 1.22.17 - ~/.yarn/bin/yarn
    npm: 9.9.2 - ~/.nvm/versions/node/v16.19.0/bin/npm
  Browsers:
    Chrome: 122.0.6261.69
    Safari: 16.6

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I'm not too familiar with spec, but I think import.meta is an independent object for each file and it's not something expected to be shared globally within the runtime like globalThis.

The import.meta meta-property exposes context-specific metadata to a JavaScript module.

from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import.meta
Maybe can you explain your use case how you're actually trying to use import.meta? That might help finding an alternative.

@hi-ogawa
// const.ts
export const isServer = import.meta.render === 'server'
export const isServer = import.meta.render === 'client'

// foo.ts
import {isServer} from './const'
export function foo(){
  if(isServer){
// server code
  }else{
  //  client code
	}
}

// foo.test.ts
import {foo} from './foo'
test('foo',()=>{
	foo()
})

First, I want to test code in server case  or  in client , I have alternative that mock ./const
vi.mock('./const', async (importOriginal) => {
  const mod: object = await importOriginal();
  return {
    ...mod,
    isServer: true // or isClient: true,
  };
});

Second, I hope to change import.meta.render（or other variable） in one test file dynamicly,  or change specific setupFile for some test file ( no relative API so far)


cmd/go: go test -c does not respect gcflags sometimes

What version of Go are you using (go version)?
go version go1.11 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/a/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/a/n/go/"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build874739252=/tmp/go-build -gno-record-gcc-switches"

What did you do?
go get github.com/aarzilli/testflags
cd $GOPATH/src/github.com/aarzilli/testflags
go test -c -gcflags 'all=-N -l'
objdump --dwarf testflags.test | grep -A 7 'DW_TAG_compile_unit' | grep 'DW_AT_name\|DW_AT_producer'

What did you expect to see?
All packages except runtime compiled with -N -l
What did you see instead?

This is a regression, it used to work in 1.10, and bisects to 2ce6da0be30c1888120a7f7e2a596c6de1892c0a

Just ran into this issue - any chance we could get a fix as a patch to 1.11?

As far as I can see, this hasn't been fixed on tip yet.  CC @bcmills
@gopherbot please open a backport to 1.11

Thanks Ian!

This is pretty bad for the debugging experience when it hits. Marking as a release blocker; feel free to undo it if I'm overstating things.

I believe @jayconrod is looking in to this.

I cannot tell from the Github issues what patch version of go1.11 the backport resolution of this issue is slated for. I would like to know when this will be/is fixed.

@webern This is not yet fixed in any version of Go.  It has to be fixed on tip first, then we can consider when it will be backported to 1.11.

@jayconrod @aarzilli We are planning on cutting RC1 this week, do you think you can get the fix submitted between today and tomorrow?

@FiloSottile We just need a small change in that CL, then it's ready to go. If the change isn't in by tomorrow morning, we can submit as-is, and I can submit a quick follow-up CL.

So is the fix in go1.12beta1 on this page (https://golang.org/dl/)?
Thanks.

@webern no, 1.12beta1 was cut two weeks ago and this fix was merged 3 hours ago.

@webern This will be in RC1 which will cut soon.


Repo Renaming

What was the feature/problem?
Quick rename of the repo to Infinite Wish Board in the README.md from #46
How does this PR address the above feature/problem?
It performs the rename in README.md
Check lists (check x in [ ] of list items)

[ ] Test passed
[ ] Coding style (indentation, etc)

Additional Comments (if any)
N/A

There isn't anything in the readmes that points to or mentions make-a-wish. Is that a desire?


Attempt to move cron jobs to k8s

Motivation and Context
This moves responsibility for cron jobs in this service from Spring to K8s. The aim is to make it easier to understand which crons we have going on.
It also has some work to continue removing unused code from the service.
What has changed

Added a CronJob to the helm chart
Added an endpoint back in to allow interaction from the CronJob
Removed everything to do with Swagger
Couple of bugfixes in the documentation

/deploy crockerm

/deploy crockerm


Deprecated content Information on the Azure App Service supp

"Azure App Service support" link https://azure.microsoft.com/en-au/blog/new-updates-to-support-site-extension-for-azure-websites/  deprecated content

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

ID: a14de731-a265-1737-4580-67ca6dede020
Version Independent ID: a275bb18-dedc-d41c-3541-224b42487b52
Content: Slow web app performance in App Service
Content Source: articles/app-service/app-service-web-troubleshoot-performance-degradation.md
Service: app-service-web
GitHub Login: @cephalin
Microsoft Alias: cephalin

"For more information on the Azure App Service support portal, see New Updates to Support Site Extension for Azure Websites." links to https://azure.microsoft.com/en-au/blog/new-updates-to-support-site-extension-for-azure-websites/ from 2014, with reference to https://{yoursite}.scm.azurewebsites.net/Support, which reports 'portal deprecated'. "Go to Azure Portal, choose your web app and click on Diagnose and Solve blade. Under the Diagnostic Tools category, you can run the tools based on your technology stack. "

Hi @OzBob, thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@OzBob This has been updated and will be published in the next day (could be delayed due to Thanksgiving holiday). #please-close


.NET workloads fail to install

Describe the bug
Since .NET 5.0, .NET has shipped as a 'slim' SDK with support for optional workloads^1. Optional workloads are expected to be installed by the user.
Steps To Reproduce
Steps to reproduce the behavior:

nix-shell -p dotnet-sdk_6
dotnet workload install android

Error
Unhandled exception: System.IO.IOException: Read-only file system : '/nix/store/r04bnvsq19hpds9i7cdrlzcn2cbrs701-dotnet-sdk-6.0.407/metadata'
   at System.IO.FileSystem.CreateDirectory(String fullPath)
   at System.IO.Directory.CreateDirectory(String path)
   at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallerFactory.CanWriteToDotnetRoot(String dotnetDir)
   at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallerFactory.GetWorkloadInstaller(IReporter reporter, SdkFeatureBand sdkFeatureBand, IWorkloadResolver workloadResolver, VerbosityOptions verbosity, String userProfileDir, Boolean verifySignatures, INuGetPackageDownloader nugetPackageDownloader, String dotnetDir, String tempDirPath, PackageSourceLocation packageSourceLocation, RestoreActionConfig restoreActionConfig, Boolean elevationRequired)
   at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolver workloadResolver, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String dotnetDir, String userProfileDir, String tempDirPath, String version, IReadOnlyCollection`1 workloadIds, String installedFeatureBand)
   at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__6_0(ParseResult parseResult)
   at Microsoft.DotNet.Cli.ParseResultCommandHandler.Invoke(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()

Expected behavior
Workloads to be enabled using nix configuration
Screenshots
N/A
Additional context
With the following .NET SDKs installed
6.0.407 [/nix/store/85fshpgixw0r5a8ar901z9i4xqs6izwg-dotnet-core-combined/sdk]
7.0.202 [/nix/store/85fshpgixw0r5a8ar901z9i4xqs6izwg-dotnet-core-combined/sdk]
8.0.100-preview.2.23157.25 [/nix/store/85fshpgixw0r5a8ar901z9i4xqs6izwg-dotnet-core-combined/sdk]

The following workloads are available
$ dotnet workload search

Workload ID                 Description
--------------------------------------------------------------------------------
android                     .NET SDK Workload for building Android applications.
macos                       .NET SDK Workload for building macOS applications.
maui-android                .NET MAUI SDK for Android
maui-tizen                  .NET MAUI SDK for Tizen
maui-windows                .NET MAUI SDK for Windows
runtimes-windows            workloads/runtimes-windows/description
runtimes-windows-net6       workloads/runtimes-windows-net6/description
runtimes-windows-net7       workloads/runtimes-windows-net7/description
wasi-experimental           workloads/wasi-experimental/description
wasm-experimental           workloads/wasm-experimental/description
wasm-experimental-net7      workloads/wasm-experimental-net7/description
wasm-tools                  .NET WebAssembly build tools
wasm-tools-net6             .NET WebAssembly build tools
wasm-tools-net7             workloads/wasm-tools-net7/description

Notify maintainers
@kuznero @mdarocha
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 6.2.10, NixOS, 23.05 (Stoat), 23.05.20230412.fe2ecaf`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.14.1`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/qyyw6dd6lqlhz3cqap31d071cbyh34bf-source`

A mapping of .NET workload to NuGet packages required is here:

.NET 6
.NET 7
Current (.NET 8)

Related: https://github.com/NixOS/nixpkgs/pull/181636

@mdarocha thanks!
@Smaug123 it looks like you had more success with dotnet workloads in https://github.com/Smaug123/nix-maui. Would you be interested in upstreaming your work to nixpkgs?

I'm afraid this isn't something I'd be happy to maintain - it mostly works but is definitely suboptimal and would probably be a decent amount of work to upstream.

If I'll find the time, I'll attempt to expand on @Smaug123's work

Since the dotnet workload installer now supports installing to a user directory, could it be possible to simply relocate the dotnet-sdk nixpkg to user space?

A possible spanner in the works: PublishAot pulls down some binaries from NuGet, and therefore fails out of the box on NixOS. So there's always going to have to be some amount of Nix wrangling somewhere.

A possible spanner in the works: PublishAot pulls down some binaries from NuGet, and therefore fails out of the box on NixOS because the AOT compiler can't find the linker (or something like that, it's been a while). So there's always going to have to be some amount of Nix wrangling somewhere.

This makes me so very sad, I only recently started using NixOS and I am a .NET developer by trade, I want to daily drive this so badly :(

does no solution to this exist?

@float3 take a look at workaround here, seems to work for some

Copied from: https://github.com/NixOS/nixpkgs/issues/325667
Describe the bug
It is currently impossible to install .NET workloads on NixOS:
❯ dotnet workload install maui
Unhandled exception: System.IO.IOException: Read-only file system : '/nix/store/as1j1inzdjdaca6gdcfdr2bdsppgr3px-dotnet-sdk-8.0.300/metadata'
   at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
   at System.IO.Directory.CreateDirectory(String path)
   at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallerFactory.CanWriteToDotnetRoot(String dotnetDir)
   at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallerFactory.GetWorkloadInstaller(IReporter reporter, SdkFeatureBand sdkFeatureBand, IWorkloadResolver workloadResolver, VerbosityOptions verbosity, String userProfileDir, Boolean verifySignatures, INuGetPackageDownloader nugetPackageDownloader, String dotnetDir, String tempDirPath, PackageSourceLocation packageSourceLocation, RestoreActionConfig restoreActionConfig, Boolean elevationRequired, Boolean shouldLog)
   at Microsoft.DotNet.Workloads.Workload.Install.WorkloadInstallCommand..ctor(ParseResult parseResult, IReporter reporter, IWorkloadResolverFactory workloadResolverFactory, IInstaller workloadInstaller, INuGetPackageDownloader nugetPackageDownloader, IWorkloadManifestUpdater workloadManifestUpdater, String tempDirPath, IReadOnlyCollection`1 workloadIds)
   at Microsoft.DotNet.Cli.WorkloadInstallCommandParser.<>c.<ConstructCommand>b__6_0(ParseResult parseResult)
   at System.CommandLine.Invocation.InvocationPipeline.Invoke(ParseResult parseResult)
   at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)

Steps To Reproduce
Steps to reproduce the behavior:

Install the .NET Core 8 SDK: environment.systemPackages = [ pkgs.dotnet-sdk_8 ];
Try to install a workload: dotnet workload install maui
Observe error

Expected behavior
dotnet workload install maui should install the workload in a user-writeable location.
Additional context
According to https://github.com/dotnet/sdk/pull/18823 this can be fixed by writing a file <DOTNET_ROOT>/metadata/workloads/<sdkfeatureband>/userlocal.  https://discourse.nixos.org/t/dotnet-maui-workload/20370 contains shell code examples how to do that.
Notify maintainers
@kuznero, @mdarocha
Metadata
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.9.7, NixOS, 24.05 (Uakari), 24.05.20240702.706eef5`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.4`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/0z4i8wyg3ymm7kkb1gk2wyh08x230c6z-source`

Add a :+1: reaction to issues you find important.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/dotnet-maui-workload/20370/21

@float3 take a look at workaround here, seems to work for some

thanks, it helped me with android workflow

@EmVee381 have you found a workaround? Could you please share? Safely I never got it to work on my nixos machine

@EmVee381 have you found a workaround? Could you please share? Safely I never got it to work on my nixos machine

i use devenv, but you can use it similar way
is it clear? it is just copy pasted from from your link :) it works for me very well, you just define overrieded package in between "let" block then use it as package in your derivation or shell.nix or anything and set environment variable DOTNET_ROOT
{ pkgs, lib, config, inputs, ... }:

let
  pkgs-stable = import inputs.nixpkgs-stable { system = pkgs.stdenv.system; };
  dotnet-combined = (with pkgs.dotnetCorePackages; combinePackages [
    sdk_8_0
  ]).overrideAttrs (finalAttrs: previousAttrs: {
    # This is needed to install workload in $HOME
    # https://discourse.nixos.org/t/dotnet-maui-workload/20370/2
    postBuild = (previousAttrs.postBuild or '''') + ''
       for i in $out/sdk/*
       do
         i=$(basename $i)
         length=$(printf "%s" "$i" | wc -c)
         substring=$(printf "%s" "$i" | cut -c 1-$(expr $length - 2))
         i="$substring""00"
         mkdir -p $out/metadata/workloads/''${i/-*}
         touch $out/metadata/workloads/''${i/-*}/userlocal
      done
    '';
  });
in
rec
{
  env.GREET = "avalonia";
  env.DOTNET_ROOT = "${dotnet-combined}";
  languages.dotnet.enable = true;
  languages.dotnet.package = dotnet-combined;
  packages = [
    pkgs.git
    pkgs.omnisharp-roslyn
  ];

}


[Request] Image Upload via File Picker

It would be nice if additionally to Image URLs, Webcam and Drawings, images could also be uploaded via a file picker! Especially on mobile devices, the adding of images via URLs is quite cumbersome and an alternative would be appreciated.
Given that webcam and drawings already send images to the server, I assume there wouldn't be much development work...
Thanks!

Sorry - this was an intentional decision. Essentially, storing image files is super expensive. I don't want to encourage it.
Yes, making users store an image somewhere else and then give me a short string URL to store is absolutely a bit of a hassle for them. But it's orders of magnitude cheaper from my running costs perspective.
You're right to point out that I've made an exception for drawings and webcam... and that was a difficult decision to make. Ultimately I'm taking the storage costs hit to enable projects that otherwise couldn't be done. But storing other images is harder to justify in that way.

Yeah - that's perfectly reasonable. To be honest, I'm naturally less motivated to work on features that I'm not going to use myself, so while I don't object to it, I should be clear that it's unlikely this would make it to the top of my todo list any time soon.

I've added this now for local projects where I don't need to worry about the storage implications
https://github.com/IBM/taxinomitis/commit/8511b295f1c6f87f23287f74663ede4628131277


Wikidata field preview just displays [object Object]

URL
No response
How to reproduce the issue?

Edit an object
Select Wikidata from Add field drop-down
Add a Wikidata identifier

Screenshot(s) or anything else?

Which iD Editor versions do you see the issue on?
Released version at openstreetmap.org/edit
Which browsers are you seeing this problem on?
Firefox

Thanks. Need to remember not just to search the open issues!


"Create missing overrides" and "Create field" fixes not available for enums

In this code:
abstract class C {
  void M();
}
enum E implements C {
  one, two;
}

The "create missing overrides" refactoring is not offered.
In this code:
enum E {
  one, two;
}
int f(E e) {
  return e.x;
}

The "create field" refactoring is not offered.

Both would be good to have.

The "create field" refactoring is not offered.

Should we also have a "create enum constant" fix?

The "create field" refactoring is not offered. Enums in Dart cannot have instance variables or fields. They are limited to declaring constant instances only.
To resolve these issues:
For the first scenario, if you need methods associated with enum instances, you may need to refactor your code to use a class hierarchy or a different approach altogether.
For the second scenario, if you need instance variables associated with enum instances, consider using a class instead of an enum.
Enums in Dart are primarily intended for representing a fixed set of constant values, rather than containing methods or instance variables.

Enums in Dart cannot have instance variables or fields.

The enhanced-enums feature, which shipped in 2.17, makes it possible to have instance fields in an enum, though instance fields are required to be final so that the instances can be constants.
But you raise an interesting question. We'd need to decide whether "create field" added an initializer (which isn't possible in all cases), made the field nullable, or added the field as a parameter to every constructor.


Making VariableExplorer column headers movable

The variable explorer currently has the columns as Name -> Type -> Size -> Value, which is kind of annoying as the main thing I usually care about is Value which is way off at the end. There is no way to change this order but a simple one-liner in Qt could make the column headers draggable. In collectionseditor.py, in class BaseTableView's def setup_table(self), simply add the one line
    def setup_table(self):
        """Setup table"""
        self.horizontalHeader().setStretchLastSection(True)
        self.horizontalHeader().setSectionsMovable(True) # <--- NEW LINE HERE
        self.adjust_columns()
        # Sorting columns
        self.setSortingEnabled(True)
        self.sortByColumn(0, Qt.AscendingOrder)

and you're done. Note this is for BaseTableView; you could also do this instead in RemoteCollectionsEditorTableView and CollectionsEditorTableView (not sure which subclass is the best to do this in, or what other things subclass BaseTableView).
FWIW, I'd much prefer it if the default were changed to Name -> Value -> Type -> Size, but that seems more involved and I'd be happy enough with this.
Versions

Spyder: 5.0.5 | Python 3.9.5 64-bit | Qt 5.9.7 | PyQt5 5.9.2 | Darwin 17.7.0

Hi @battaglia01,
This is something we need to discuss with the team, so @spyder-ide/core-developers what do you think about this? I'm afraid that if the value of the variable is too long, then the other columns will not be that visible. And I'm not sure if we want to enable those columns to be movable.

I think there is a restriction in the size that the columns can have at the beginning except for the last one which takes all the remaining available space (unless the user resizes manually the columns). However I think too that changing the default order of the columns could be quite involved (and the current order is probably like that to have more space assigned to the value column by default). Regarding being able to move the columns, I don't have a strong opinion, but maybe it could be handy for some people and also I think the object explorer allows you to move the columns already.

What if we allow to hide certain columns instead of making them draggable?

What exactly is wrong with making the columns movable? I patched it in on
my Spyder and haven't seen any problem.
On Fri, Sep 17, 2021, 10:52 AM Carlos Cordoba @.***>
wrote:

What if we allow to hide certain columns instead of making them draggable?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/16423#issuecomment-921860915,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHZFMR7UU4P3LJMS6YXFJ3UCNI2NANCNFSM5EBBHOXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I think there are several hard-coded things that assume the current column ordering.

I suggested setSectionsMovable because it seems to still internally handle column IDs correctly. e.g. if you drag the "Value" column to position 2, Qt still knows that it was originally the fourth column for when you add new variables into the explorer. But if it's easier to hide columns instead then alright, I'd be happy with that...

Ok, if that's the case, then please submit a pull request about it.

Alright, although I will wait a little to hear if there are any additional comments from @steff456 and @dalthviz.
BTW: is there some way to get some of these top-level Spyder widgets, from within Spyder, at a running kernel? Something like get_ipython() but for the QApplication? I've tried QtWidgets.QApplication.instance() but sometimes that returns NoneType; also spyder_kernels.customize.spydercustomize.SpyderQApplication._instance_list often is empty...

BTW: is there some way to get some of these top-level Spyder widgets, from within Spyder, at a running kernel?

I'm not sure that I understand your question. Do you mean for debugging purposes?

Right.
On Fri, Sep 17, 2021 at 8:38 PM Ryan Clary @.***> wrote:

BTW: is there some way to get some of these top-level Spyder widgets, from
within Spyder, at a running kernel?
I'm not sure that I understand your question. Do you mean for debugging
purposes?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/16423#issuecomment-922147740,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHZFMQCCPCCL26U5ETYMKLUCPNP7ANCNFSM5EBBHOXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

The only way that I know of is to access them from inside a namespace in which they reside.
Do you have a specific example of what you want to look at?
My general procedure is this:

Insert import pdb; pdb.set_trace() somewhere in the source code that I want to probe
launch spyder from commandline using bootstrap and some debug level

(dev) $ python bootstrap.py -- --debug-info=miminal

My terminal will now show a (pdb) prompt that I can use for debugging.

Caveat: depending on where you place your set_trace there may be a Qt event loop running, in which case it will complain at you in the stdout of your terminal, rendering debugging impossible. To avoid this, you can place the following code before your set_trace.
from qtpy.QtCore import pyqtRemoveInputHook; pyqtRemoveInputHook()

Does anyone have a better way of doing it? If so, I'd like to here how others do it.

No specific example, just sometimes I like to try various things, like in this case setSectionsMovable, without having to restart Spyder. It would be nice if there were some way to introspect Spyder itself from within the running kernel - i.e. something like getting the current application from QtWidgets.QApplication.instance(), and from there I should theoretically be able to look at QtWidgets.QApplication.instance().topLevelWidgets() or whatever, but since the kernel is in a different process, it doesn't work.

I see. In that case, I would recommend running the widget by itself so you don't have to run the entire Spyder application. One example of how to do this is in the PYTHONPATH Manager widget: spyder/widgets/pathmanager.py. There you will find a test function and if __name__ == '__main__' protection block at the end of the module, so that you can run just this file as a script to play around with the widget without having to launch Spyder. There may be other examples throughout the source code, but this is one that I remember seeing recently. If the module that contains the widget you're interested in doesn't already have something like that, then try writing it and pushing it up so it can be used by others in the future!
Hope that helps.

Alright, although I will wait a little to hear if there are any additional comments from @steff456 and @dalthviz.

I think is ok :+1: I also tried a little bit setting the movable columns in my local and seems like everything is working (as @battaglia01 says even if the columns move seems like their id remains the same)

@battaglia01, if you want to tinker with Spyder internals at runtime, you can do it with the Internal Console, which can be opened by going to the menu View > Panes.
It exposes an object called spy, which holds a reference to the main window:

(just ignore the warning shown there).
Through it you can access any plugin and then alter its attributes:

Alright, although I will wait a little to hear if there are any additional comments from @steff456 and @dalthviz.

It sounds ok! Please submit the PR :)

Thank you all! I will submit when I get the chance.

OK, implemented in #17022.


Getting value from database, how do I show selected DLRadioButton?

Example, I have 3 radio buttons, ( Goat tag with 1, Horse tag with 2, Cow tag with 3). User selected Horse , which saves "2" in the database. User goes back to edit record, how can I show "Horse" was selected?
Thanks.

Not sure I get the question. You want to show Horse was selected before? I think you need to store this information (which button user selected before) in you controller and set the corresponded button's selected to YES. Hope this helps.

Example, yesterday user selected "Horse" and "2" was saved in database. Today user will edit record by reading in "2" from database.
How do I store that info( the "2") in my controller and set button "selected" to "YES"  so that the screen today will show "Horse" selected , just like "Horse" was selected on yesterday's screen?

This shouldn't be the responsibility of UIControl. However, you can use NSUserDefault to store any persistent value. Please refer to this doc for more information.

As a newbie, I have already spent several hours on this . A code snippet  would be GREAT!

Here is what worked for me- so far.- I hope this helps someone else
On RadioButton, I select '"Reference outlet" and I had
@property (weak, nonatomic) IBOutlet UIButton *horsepr;
In *.m code, in viewDidLoad, I call routine which has
...
switch (mychosen){
case 2:{
UIButton *buttonhorse = self.horsepr;
[ buttonhorse setSelected:YES];
}  break;
default:.....


Driving Behavior Identification #65

Pull Request for DL-Simplified 💡
Issue Title :

Info about the related issue (Aim of the project) :
Name:
GitHub ID:
Email ID:
Idenitfy yourself: (Mention in which program you are contributing in. Eg. For a JWOC 2022 participant it's, JWOC Participant)

Closes: #issue number that will be closed through this PR
Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
Describe how have you verified the changes made
Checklist: ☑

[ ] My code follows the guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added things that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

#65

Check this project, https://github.com/abhisheks008/DL-Simplified/tree/main/Credit Card Fraud Detection. You'll get an idea how to put the files.

i added images section and added code snippets...can u review once @abhisheks008

Please follow the project pattern properly. You need to create three separate folders, Dataset, Model and Images inside your project folder. All the files will be put in the folders as per their positions.
@sid-im

i arranged
dataset
images
model
-->folders in order...still wat should i change?
@abhisheks008

I think you need to understand the major difference between the files and the folders. What you have created is having an extension of .md which means this is a file, not a folder. Do you have any folder in your system which is having any extension? You have different folders in your system, like Downloads, Pictures, Music etc etc, do they have any extension of .something? I don't think so!
I have told you to create a project folder first, named as, Driving Behavior Identification, inside that project folder create sub folders named as, Models, Dataset, Images. Inside those sub folders put the designated files. That's all I wanted from you.
@sid-im
For your reference you can check out other projects which are already done by your fellow contributors.

ok sorry for that...ill make these required changes
thank you @abhisheks008

Changed approved. Your PR is merged. Thanks for contributing in Deep Learning Simplified.
@sid-im


can we fix the rendering of the swiss and nepalese flags?

square flags get stretched:
https://next.okfn.org/get-involved/global-network

WONTFIX


Integrate with HyperHaskell

https://github.com/HeinrichApfelmus/hyper-haskell is a graphical frontend also based on Electron.

I've looked over, and I don't think it's not simple. You could probably adapt h-h frontend to work as an Atom package though, but that's not a project I'm thrilled to dive into at this point. In any case, doesn't have much to do with ghci frontend.
If someone wants to give it a shot, feel free to pick this up.


[BUG] Docker container returns 404 when visiting relative URLs

Describe the bug
When visiting /room/test in the Docker container, the nginx does return a 404.
To Reproduce
Steps to reproduce the behavior:

Deploy the Docker container e.g. using the docker-compose.yaml and the image of this repository
Create a new room called "test"
Open the URL shown in the dialog, e.g. http://localhost:3000/room/test
A 404 is returned

Expected behavior
The index.html is returned, so that Vue router can show the correct view.

I was able to fix this like so:
# /etc/nginx/conf.d/default.conf
server {
    listen       80;
    server_name  localhost;

    #access_log  /var/log/nginx/host.access.log  main;

+    root   /usr/share/nginx/html;
+    index  index.html index.htm;

    location / {
-        root   /usr/share/nginx/html;
-        index  index.html index.htm;
+        try_files $uri $uri/ /index.html;
    }

Did you make this a permanent change by mounting the file to the path? I'm facing the same issue.

I did precisely that, and it worked. Thanks!


feat(client-services): Throw error on metadata version mismatch

copilot:all

Current dependencies on/for this PR:

main

PR #3503   👈

This comment was auto-generated by Graphite.


[Bug]: Global (and local) encoding_model option is being ignored

Do you need to file an issue?

[x] I have searched the existing issues and this bug is not already filed.
[x] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
[x] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the bug
The global encoding_model option is ignored when constructing the LLMParameters for the root llm and all sub llm options. In fact this option is even ignored if it is set explicitly for each section. This leads to the wrong tokenizer being used while indexing.
Possible fix: The create_graphrag_config function needs to set all encoding_model (local > global > default) options when initializing LLMParameters models.
Steps to reproduce
Init a new project via the latest (0.9.0) graphrag version, edit the global encoding_model option in the settings.yaml, run the index command. Have a look at the config dump in the console. All (except the global) encoding_model options will have the default "cl100k_base" entry.
Expected Behavior
The global option should overwrite the default one if set.
GraphRAG Config Used
encoding_model: o200k_base

...

Logs and screenshots
No response
Additional Information

GraphRAG Version: 0.9.0
Operating System: Windows 10, Ubuntu 24.04
Python Version: 3.12
Related Issues: None

We believe this was a bug introducing during our adoption of fnllm as the underlying LLM library. We just pushed out a 1.0.1 patch today, please let if know if your problem still exists with that version.


spell checker

I suggest that you revert to 'spelling checker', as in MMOS 4th edition.
Reason: people do a check of the spelling in a document. They do not do a check of the spells. (Only Harry Potter [https://en.wikipedia.org/wiki/Harry_Potter] and friends need a spell checker.)

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

ID: 6a520382-d6b5-5424-206a-79429264feb9
Version Independent ID: b601cbf9-613e-3d45-1959-40e62145ff1e
Content: spell checker - Microsoft Style Guide
Content Source: styleguide/a-z-word-list-term-collections/s/spell-checker.md
Product: non-product-specific
GitHub Login: @pallep
Microsoft Alias: pallep

Microsoft changed its position about this to align with American Heritage Dictionary, which has added spell checker as a noun.  “Spelling checker” might be more logical, but English is often illogical.
That said, Microsoft still prefers “check spelling” as the verb form because it sounds more human. And ideally, you’d refer to a specific tool by the name used in the UI, especially if the goal is to give the user the information they need to complete a task. It's just that “spell checker” is acceptable when you need a generic term for any tool that checks spelling.


Drop git ls-files in gemspec

Hi @kapoorlakshya (again! :smile:),
Thanks for working on this! :heart:
However, while maintaining this in Debian, we found that this library relies on git to list the files which could be done via pure Ruby alternative -- which is what this PR does.
As an addition, this PR makes sure that this gem only ships the required files to the end-users and not other things which are not needed by them! :rocket:
Also, added rubocop-packaging as a development_dependency which will ensure the best practices.
Here's what it showed us:
➜  webdrivers git:(master) ✗ rubocop --only Packaging

Inspecting 32 files
...............................C

Offenses:

webdrivers.gemspec:25:21: C: Packaging/GemspecGit: Avoid using git to produce lists of files.
Downstreams often need to build your package in an environment that does not have git (on purpose).
Use some pure Ruby alternative, like Dir or Dir.glob.
  s.files         = `git ls-files`.split("\n")
                    ^^^^^^^^^^^^^^
webdrivers.gemspec:26:21: C: Packaging/GemspecGit: Avoid using git to produce lists of files.
Downstreams often need to build your package in an environment that does not have git (on purpose).
Use some pure Ruby alternative, like Dir or Dir.glob.
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

32 files inspected, 2 offenses detected

And this PR fixes the same, which helps us in shipping this in Debian! :tada:
Hope this would make sense and you'll be open to this change :100:
Signed-off-by: Utkarsh Gupta<EMAIL_ADDRESS>

Hi @titusfortner,

The reason for git is so that it respects the gitignore file.

Fair enough. I have tweaked this PR so that it respects the .gitignore file.
Hope that's better now? :smile:

Unless bundler has a new default? rubygems/bundler#5810

We (Debian core devs) are working with bundler/rubygems maintainers to work on this so that it doesn't use git by default!
Both, Bundler and RubyGems, don't use git themselves. So hopefully soon, we'll be changing the defaults, too! :smile:

Hey sorry, I was communicating via phone last night and didn't get all of the context for this and what you are trying to do.
My default is to do what the bundler authors provide by default since it feels weird to try to change things project by project against that de facto recommendation. That said, I see that both Capybara & Selenium avoid using git, so it makes sense for this project to drop it as a requirement as well.
Thank you for the contribution, and sorry for the extra back and forth.


Updates precedence (BANG AND OR) to remove shift/reduce conflicts

Prior to this - anytime the parser.rb file was generated via this command:
racc -l -o lib/predicator/parser.rb lib/predicator/parser.y
The output would include the line:
6 shift/reduce conflicts
This adds a right precedence for the BANG AND and OR tokens to help the parser out in these situations

Coverage remained the same at 94.362% when pulling 12c46de61ebe9bce482d574339d700e049a403ba on jt/update_precedence into 4248de253344783571cfd700980d13a2d4bc59c6 on master.