Issue with ES Modules in firebase functions

Current behavior:
Works fine in express in a traditional nodejs app
When deployed to firebase, tried both ts and vanilla js, getting this error. Have tried a number of workaround

src/index.ts:14:27 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@passwordless-id/webauthn")' call instead.
To convert this file to an ECMAScript module, change its file extension to '.mts', or add the field "type": "module" to ____unctions/package.json'.

The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("@passwordless-id/webauthn")' call instead.
To convert this file to an ECMAScript module, change its file extension to '.mts', or add the field "type": "module" to '/_____unctions/package.json'.ts(1479)

Errors

____.min.js:1 Uncaught (in promise) FirebaseError: require() of ES Module
<EMAIL_ADDRESS>from /workspace/lib/index.js not supported.

Instead change the require of<EMAIL_ADDRESS>in /workspace/lib/index.js to a dynamic import() which is available in all CommonJS modules.

Also got this one
code: 'ERR_REQUIRE_ESM'

See https://github.com/passwordless-id/webauthn/issues/35#issuecomment-1900264705
Does that help?

I just tried that and it did give me a different error so it's a step in the right direction
here is the tsconfig file
{
  "compilerOptions": {
    "module": "NodeNext",
    "noImplicitReturns": true,
    "noUnusedLocals": true,
    "outDir": "lib",
    "sourceMap": true,
    "strict": true,
    "target": "ESNext",
    "moduleResolution": "NodeNext"
  },
  "compileOnSave": true,
  "include": [
    "src"
  ]
}

node_modules/@passwordless-id/webauthn/dist/esm/parsers.d.ts:1:133 - error TS2835: Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './types.js'?
1 import { AuthenticatorInfo, ClientInfo, RegistrationEncoded, RegistrationParsed, AuthenticationEncoded, AuthenticationParsed } from './types';
~~~~~~~~~
node_modules/long/umd/index.d.ts:1:18 - error TS1479: The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("../index.js")' call instead.
1 import Long from "../index.js";
~~~~~~~~~~~~~
Found 2 errors in 2 files.
Errors  Files
1  node_modules/@passwordless-id/webauthn/dist/esm/parsers.d.ts:1
1  node_modules/long/umd/index.d.ts:1
Error: functions predeploy error: Command terminated with non-zero exit code 2

@dagnelies That issue did help, but we had to do some slight changes https://github.com/passwordless-id/webauthn/issues/35#issuecomment-1900264705
3 Changes: Sharing in case you're interested, we needed to modify the build script, update package.json, and create a  function which handles dynamic imports
1. Modified build script
++ "type": "module"

<change> "build": "esbuild src/index.ts --platform=node --bundle --target=es2022 --outfile=lib/index.js --external:util --external:cors",

2. Created function to handle the dynamic import and return the parsedRegistrations
index.ts
/**
 * Handles the registration process for a user.
 *
 * @param {RegistrationEncoded} registration - The encoded registration data.
 * @param {string} challenge - The challenge string.
 * @return {RegistrationParsed} The credential object for the registered user.
 */
async function handleRegistration(
  registration: RegistrationEncoded,
  challenge: string,
) {
  // Import the webauthn module
  import("@passwordless-id/webauthn").then(async (module) => {
    const {server} = module;
    console.log("nodejs said, module was loaded successfully");
    const registrationParsed: RegistrationParsed =
      await server.verifyRegistration(registration, {
        challenge: challenge,
        origin: origin,
      });
    return registrationParsed;
  }).catch((error) => {
    // Handle any import errors
    console.log(error);
    return null;
  });
}

3. Return credential
const credential = await handleRegistration(registration, challenge);
return credential;

Now the packages work fine

Thanks for the detailed workaround. 👍


Smoke test failures on PR are no longer causing build failure in Jenkins

@jlongstaf
What issues does this address?
Fixes #774
What's this change do?
Made the change to capture the rc from the smoke test run. Also, changed
the smoke test that is run on this target invocation.
Where should the reviewer start?
Any background context?
This may be due to a change in the Makefile, as this was working at one
time. I've made a more obvious change to capture the rc of the test run
and pass it up to the caller in the agent Makefile. I think that change
may be in order here to ensure we produce a non-zero rc if tests fail.
Testing in our jenkins. Will test success and failure modes.

retest this please

retest this please

@jlongstaf: tested the failure mode in the previous iteration. Now testing a successful build. If this turns green, we're good to go. Thanks.

@jlongstaf: ok, it's good to go.


blobxfer not uploading the backup files correctly

Summary
I am trying to backup a postgres database to azure using blobxfer. On the first run everything works fine and the backup files are uploaded. On subsequent runs the uploaded backup files have the correct file size but do not contain any useful data. They are filled with nulls. The checksum files contain some readable checkusum data.
The checksum of one broken data file:
2a1a8a40495c8f95bb6cc64fb4db71274d83cc3c  pgsql_hhzb_auth_db_20231209-143122.sql.gz
The checksum stored in the related checksum file:
730d0bba4d54f9725b6bc930a0f99aab4dce5bdd  pgsql_hhzb_auth_db_20231209-143122.sql.gz
The backup is stuck at Moving backup to external storage with blobxfer.
Steps to reproduce

Create a Postgres database and configure a backup job using blobxfer
Run the backup job -> Works correctly
Stop the database and backup containers
Restart the database and backup containers

What is the expected correct behavior?
Expected behavior is that the files are getting uploaded correctly.
Relevant logs and/or screenshots
db_backup                      | 2023-12-09.14:31:22 [NOTICE] ** [01-auth_db__hhzb] Dumping PostgresSQL database: 'hhzb' and compressing with 'gzip'
db_backup                      | 2023-12-09.14:31:22 [INFO] ** [01-auth_db__hhzb] DB Backup of 'pgsql_hhzb_auth_db_20231209-143122.sql.gz' completed successfully
db_backup                      | 2023-12-09.14:31:22 [NOTICE] ** [01-auth_db__hhzb] Generating SHA1 sum for 'pgsql_hhzb_auth_db_20231209-143122.sql.gz'
db_backup                      | 2023-12-09.14:31:22 [NOTICE] ** [01-auth_db__hhzb] Backup of 'pgsql_hhzb_auth_db_20231209-143122.sql.gz' created with the size of 1953026 bytes
db_backup                      | 2023-12-09.14:31:22 [INFO] ** [01-auth_db__hhzb] Synchronize local storage from S3 Bucket with blobxfer
db_backup                      | 2023-12-09 14:31:22.774 DEBUG - credential: account=XXXX endpoint=core.windows.net is_sas=False can_create_containers=True can_list_container_objects=True can_read_object=True can_write_object=True
db_backup                      | 2023-12-09 14:31:22.778 INFO -
db_backup                      | ============================================
db_backup                      |          Azure blobxfer parameters
db_backup                      | ============================================
db_backup                      |          blobxfer version: 1.11.0
db_backup                      |                  platform: Linux-6.5.6-76060506-generic-x86_64-with
db_backup                      |                components: CPython=3.11.6-64bit azstor.blob=2.1.0 azstor.file=2.1.0 crypt=41.0.7 req=2.31.0
db_backup                      |        transfer direction: Azure -> local
db_backup                      |                   workers: disk=4 xfer=3 (msoc=8) md5=0 crypto=0
db_backup                      |                  log file: None
db_backup                      |                   dry run: False
db_backup                      |               resume file: None
db_backup                      |                   timeout: connect=10 read=200 max_retries=1000
db_backup                      |                      mode: StorageModes.File
db_backup                      |                   skip on: fs_match=False lmt_ge=False md5=False
db_backup                      |                    delete: extraneous=True only=False
db_backup                      |                 overwrite: True
db_backup                      |                 recursive: True
db_backup                      |             rename single: False
db_backup                      |          strip components: 0
db_backup                      |          chunk size bytes: 0
db_backup                      |          compute file md5: False
db_backup                      |        restore properties: attr=False lmt=False
db_backup                      |           rsa private key: None
db_backup                      |         local destination: /backup
db_backup                      | ============================================
db_backup                      | 2023-12-09 14:31:22.778 INFO - blobxfer start time: 2023-12-09 14:31:22.778579+01:00
db_backup                      | 2023-12-09 14:31:22.778 DEBUG - dest is_dir=True for 1 specs
db_backup                      | 2023-12-09 14:31:22.778 INFO - downloading blobs/files to local path: /backup
db_backup                      | 2023-12-09 14:31:22.779 DEBUG - spawning 3 transfer threads
db_backup                      | 2023-12-09 14:31:22.795 DEBUG - spawning 4 disk threads
db_backup                      | 2023-12-09 14:31:23.436 DEBUG - 0 files 0.0000 MiB filesize, lmt_ge, or no overwrite skipped
db_backup                      | 2023-12-09 14:31:23.436 DEBUG - 2 remote files processed, waiting for download completion of approx. 1.8626 MiB
db_backup                      | 2023-12-09 14:31:23.562 INFO - MD5: SKIPPED, hhzb-test-db-backup/pgsql_hhzb_auth_db_20231209-143000.sql.gz.sha1 None <L..R> None
db_backup                      | 2023-12-09 14:31:24.600 INFO - MD5: SKIPPED, hhzb-test-db-backup/pgsql_hhzb_auth_db_20231209-143000.sql.gz None <L..R> None
db_backup                      | 2023-12-09 14:31:24.601 INFO - attempting to delete 0 extraneous files
db_backup                      | 2023-12-09 14:31:24.601 INFO - elapsed download + verify time and throughput of 0.0018 GiB: 1.497 sec, 9.9520 Mbps (1.244 MiB/sec)
db_backup                      | 2023-12-09 14:31:24.601 INFO - blobxfer end time: 2023-12-09 14:31:24.601382+01:00 (elapsed: 1.823 sec)
db_backup                      | 2023-12-09.14:31:24 [INFO] ** [01-auth_db__hhzb] Moving backup to external storage with blobxfer

Environment

Image ID:  c59afd3e3bf8
Host OS: Ubuntu

docker-compose.yaml:
version: '3.8'
services:
  auth_db:
    image: postgres:latest
    environment:
      POSTGRES_USER: hhzb
      POSTGRES_PASSWORD: hhzb
      POSTGRES_DB: hhzb
    ports:
      - "5432:5432"
    volumes:
      - pgdata:/var/lib/postgresql/data
    networks:
      - db
  db_backup:
    container_name: db_backup
    image: tiredofit/db-backup
    environment:
      - TIMEZONE=Europe/Berlin
      - CONTAINER_ENABLE_MONITORING=FALSE
      - DEFAULT_BACKUP_LOCATION=blobxfer
      - DEFAULT_BLOBXFER_STORAGE_ACCOUNT=XXX
      - DEFAULT_BLOBXFER_STORAGE_ACCOUNT_KEY=XXX
      - DEFAULT_BLOBXFER_REMOTE_PATH=/hhzb-test-db-backup
      - DB01_TYPE=postgres
      - DB01_HOST=auth_db
      - DB01_NAME=hhzb
      - DB01_USER=hhzb
      - DB01_PASS=hhzb
      - DB01_DUMP_INTERVAL=5
      - DB01_DUMP_BEGIN=+1
      - DB01_CLEANUP_TIME=60
      - DB01_CHECKSUM=SHA1
      - DB01_COMPRESSION=GZ

    restart: always
    networks:
      - db

volumes:
  pgdata:

networks:
  db:

Possible fixes
The root cause could be that blobxfer does not upload the files correctly. I conclude this because the checksum of the uploaded file does not match the checksum in the .sha1 file.

This is a troublesome report. My apologies if you have experienced some sort of data loss.
I'm not entirely familiar with blobxfer as it's outside of my actual use cases, but I can break down what happens.
After the backup occurs locally on the system in a folder called TEMP_PATH (env variable) it synchronizes your Azure bucket with local download folder with this command:
blobxfer download --mode file --remote-path <BLOBXFER_REMOTE_PATH> --storage-account <BLOBXFER_STORAGE_ACCOUNT> --storage-account-key <BLOBXFER_STORAGE_ACCOUNT_KEY> --local-path <FILESYSTEM_PATH> --delete
Then, after completion db-backup moves the newly made backup from TEMP_PATH to FILESYSTEM_PATH (usually /backup).
Then, we run blobxfer again, and synchronize the changes from FILESYSTEM_PATH to blobxfer bucket:
blobxfer upload --mode file --remote-path ${backup_job_blobxfer_remote_path} --remote-path <BLOBXFER_REMOTE_PATH> --storage-account <BLOBXFER_STORAGE_ACCOUNT> --storage-account-key <BLOBXFER_STORAGE_ACCOUNT_KEY> --local-path <FILESYSTEM_PATH>
Then the backup is complete.
Then, there is a cleanup phase:
We look for files that are older than _CLEANUP_TIME in minutes that match the pattern of the files you are backing up from FILESYSTEM_PATH
find "${backup_job_filesystem_path}"/  -type f -mmin +"${backup_job_cleanup_time}" -iname "${backup_job_filename_base}*" -exec rm -f {} \;
and then following that perform a synchronize with the filesystems again with blobxfer this time including the delete commands to delete only whats changed:
blobxfer upload --mode file --remote-path ${backup_job_blobxfer_remote_path} --remote-path <BLOBXFER_REMOTE_PATH> --storage-account <BLOBXFER_STORAGE_ACCOUNT> --storage-account-key <BLOBXFER_STORAGE_ACCOUNT_KEY> --local-path <FILESYSTEM_PATH>  --delete --delete-only
Maybe you can see with these steps where this could be going sideways?
DEBUG_CLEANUP_OLD_DATA=TRUE and DEBUG_MOVE_DBBACKUP=TRUE might give you some output which may give hints, or you can try troubleshooting to stop the cleanup by not setting a cleanup time..


fix(web): zoom to layer could go underground on first trigger

Overview
There's one issue from core (from cesium in the end)
Currently i don't have a good solution, for workaround just trigger a second fly for certain type of layers. The delay time could be related with internet speed so it could be not stable as well.
What I've done

When zoom to geojson or kml layer, trigger a second flyTo after hardcoded 800ms. (applied to layers panel zoom to layer function only)

What I haven't done
How I tested
Which point I want you to review particularly
Memo

Summary by CodeRabbit

New Features

Improved zoom functionality for layers with "geojson" and "kml" data types, introducing a delay for better performance.

Bug Fixes

Addressed potential timing issues related to layer zooming, considering internet speed variability.

Works for me. Nice fix!


Styling of "Send Invite" button is broken in IE11

Sending group invites with IE11, users will see broken styling for the "Send Invite" button
004.zip

Closing because IE11 is no longer supported.


browser compatibility

Hey @anseki,
I'm using your library for a project and would like to know if it is compatible with the latest version of every modern browser?
Unfortunately I can not check for myself.
I didn't find anything regarding support for different browsers on your website.
Thanks for your help in advance!
PS: I'm also using LeaderLine, for which I would have the same question.

Hi @Bokay6000, thank you for the comment.
As described in the document, modern web browsers are supported. Web browsers that don't meet the W3C web standards (e.g. IE10) are not supported.

Thank you for your help!

:smile:


Is Choo supposed to call a route handler twice on loading the page?

When loading my app, I experience that Choo calls the route handler twice in immediate succession. Any idea why this is?
It's causing some trouble, as I load data before rendering a route first, and the second render happens before the state has had time to update itself (via a reducer, which Choo invokes asynchronously). The result is that I load data for the route twice, seeing as my route handler can't tell from the state that it's already been called.

It'd be good to see some code for your example, but on first guess you need to be using the onload lifecycle event to send the effect to load the data, that way, when your route is called for the first time, the effect is sent and your view is rerendered when the data has loaded. Using the onload lifecycle event will prevent the effect from sending on the second render.

@josephluck Hm.. I would have to reconcile that with the scenario of switching to another route in the client, where you also need to load the data first before rendering the route.
I would like to know, still, however, why it is Choo thinks it's necessary to render twice in a row without any state change (AFAICT).

If your switching route and loading data, you should try using the onload hook on the target route so it loads data after first render.
In frameworks like vue, you get an API specifically for loading route data (which prevent render until the asynchronous request is returned), but these APIs are not necessary when you have a single direction data flow like react + redux, elm, choo etc.
Is it possible to see a requirebin reproduction of your case? I haven't experienced choo calling a route handler twice unnecessary in my experience so I'm intrigued :-)

@josephluck So choo has an onload hook, is that a recent development? Wasn't aware there is one. The project in question is closed source unfortunately, but I'll see if I can figure out why choo is rendering twice and come back with more info.

Choo's HTML module is built upon yoyo, bel and hyperx and I believe onload and onunload are part of yoyo.

Actually, I stand corrected, it's built into choo, not yo-yo, as per choo's readme

Thanks @josephluck, so I should add an onunload property to my DOM elements to benefit from this lifecycle event. I'll keep it in mind.

Yeah, at least that's the way I have dealt with this problem in both choo and react projects. It gives you the opportunity to render a placeholder / loading UI whilst you're waiting for the async request to finish too.

I was having this exact issue. @josephluck your suggesting on checking out bel's lifestyle hooks saved me a lot of time.
@aknuds1 here are the docs: https://github.com/shama/bel#lifecycle-events

@josephluck When you say that onload should be a hook on the target route, do you actually mean it should be an attribute on a rendered DOM element? That's how I understand the bel documentation.
I don't use bel though, and I can't see that onload gets invoked on my DOM elements. Is onload specific to bel?

Yeah, to answer my own question, it's a wrapper to on-load that's built into bel. @axelav @josephluck

@josephluck I'm trying your suggested approach. However, it's not working since the views corresponding to different routes aren't loaded into the DOM when you switch routes, they are just diffed (or morphed) into it if you see what I mean.
The onload hook is only called when the app is loaded, after that it's dead in the water as I switch routes.

I solved the latter by foregoing on-load and instead using MutationObserver to detect when a new route view is inserted into the DOM, via a custom data attribute. I think this is a much more robust approach than relying on on-load.

I'd be interested in your routing framework.
IIRC, onload uses mutation observer under the hood to call a method when a node is added to the dom. It shouldn't only be called on app load, it should be called every time the node is added to the dom. It's the inverse for onunload.
I did see some issues if you have the same top level node in your views. From what I can tell, morphdom doesn't treat the top level node as a change (because it's technically has not been changed despite being in another route) and consequently, onload is not called. As an interim solution, I've been adding unique id attributes on the top level node of each route. It's not the ideal solution but it kinda works.
@yoshuawuyts - is this something choo can resolve?

@josephluck I created a repo for it. It's in a very rough state though, I haven't done anything to make it stand alone as a package of its own! I'm also working out the kinks through experience with my own app, it's quite difficult to get it right :(

Closing because choo@5 will introduce a new API. See #425 for the merged PR. Thanks!


How to use the wgsd on Windows

hi，
I've been trying to use the wgsd recently, and I understand how to use it on linux.But I have trouble using it under windows.
DEVICE is the name of the WireGuard interface, e.g. wg0
can you tell me how to set 'DEVICE' on windows?
Thanks.

hi @styfstr, I haven't tried wgsd/wgsd-client on windows, but we use wgctrl-go under the hood which should support it:

wgctrl can control multiple types of WireGuard devices, including:
Linux kernel module devices, via generic netlink
userspace devices (e.g. wireguard-go), via the userspace configuration protocol
both UNIX-like and Windows operating systems are supported
Experimental: OpenBSD kernel module devices (read-only), via ioctl interface
See https://git.zx2c4.com/wireguard-openbsd/about/ for details.

WireGuard on Windows uses https://www.wintun.net I think, which should surface the tun interface as another network adapter? Do you not see another adapter?

Sorry, my English is not good.
Windows installs the official version of wireguard, which exists in the directory wg.exe Command, wgshow, output “interface:xxxx ”xxxx Name of network card
After using wgsd client in window, I can't connect to two Nats. Here are the output information and configuration information
Dig in server
$dig @<IP_ADDRESS> -p 53 _ wireguard._ udp.example.com . PTR +noall +answer +additional
output
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_ 9.4 <<>> @<IP_ADDRESS> -p 53 _ wireguard._ udp.example.com . PTR +noall +answer +additional ; (1 server found) ;; global options: +cmd
registry "wg show" output
`[root@cvm14394 ~]# wg
interface: wg1
public key: dp5UhIpRw6JBDbFoVeI7gCLpaUTT332WRMsfPVCEYVI=
private key: (hidden)
listening port: 51820
#peer1
peer: 6TIxBFP8A4oOJovaZJwYJmgpV1UiNm1WsYy2rN7lDx4=
endpoint: xxx.xxx.xx.xx:22519
allowed ips: <IP_ADDRESS>/32
latest handshake: 52 seconds ago
transfer: 3.89 KiB received, 1.08 KiB sent
#peer2
peer: 0uQXq733ROaitW0/KDdrGUlK046OawBSp1u4VQKyNWg=
endpoint: xxx.xxx.xxx.xxx:22523
allowed ips: <IP_ADDRESS>/32
latest handshake: 1 minute, 6 seconds ago
transfer: 3.89 KiB received, 1.08 KiB sent
`
DNS settings
.:53 { wgsd _ wireguard._ udp.example.com . wg1 { self <IP_ADDRESS>/32 } }
window output
C:\Program Files\WireGuard>wgsd-client -device test -dns <IP_ADDRESS>:53 -zone example.com . 2021 / 04 / 07 14:31:44 [dp5uhiprw6jbdbfovei7gclpautt332wrmsfvvceyvi]) no SRV records found 2021 / 04 / 07 14:31:44 [0uqxq733roaitw0 / kddrgulk046owbsp1u4vqkynwg]) no SRV records found


gc: c4m_collect_arena(): fix segfault

After commit 1e6a017302e4 (#31), running c4test could sometimes produce a segfault:
$ build/c4test tests/basic1.c4m
info: Compiling from: tests/basic1.c4m
zsh: segmentation fault (core dumped)  build/c4test tests/basic1.c4m

Apply John's suggested fix.
Fixes: #37

Since I've already changed this in my branch I'd prefer not to have to deal with the merge issues.


Base for address correction and verification

Description
This is a base for correction and verification to stack separate correction and verification PRs.
Release notes
The title of the pull request will be used as the default release notes description. If more detail is needed to communicate to partners the scope of the PR's changes, use this release notes section.
Checklist
General

[ ] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >
[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

User visible changes

[ ] Wrote browser tests using the validateAccessibility method
[ ] Manually tested at 200% size
[ ] Manually evaluated tab order

New Features

[ ] Add new FeatureFlag env vars to server/conf/application.conf
[ ] Conditioned new functionality on a FeatureFlag
[ ] Wrote browser tests with the feature flag off and on, etc.

Issue(s) this completes
Fixes #<issue_number>; Fixes #<issue_number>...

Codecov Report

Merging #4036 (88e43f7) into main (cb7e9cf) will decrease coverage by 0.51%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main    #4036      +/-   ##
============================================
- Coverage     80.08%   79.56%   -0.52%
  Complexity     2454     2454
============================================
  Files           298      303       +5
  Lines          9803     9867      +64
  Branches        667      667
============================================
  Hits           7851     7851
- Misses         1696     1760      +64
  Partials        256      256

Impacted Files
Coverage Δ

server/app/featureflags/FeatureFlags.java
84.37% <0.00%> (-5.63%)
:arrow_down:

server/app/services/applicant/Block.java
89.83% <0.00%> (-1.55%)
:arrow_down:

server/app/services/geo/AddressAttributes.java
0.00% <0.00%> (ø)

server/app/services/geo/AddressCandidate.java
0.00% <0.00%> (ø)

server/app/services/geo/AddressCandidates.java
0.00% <0.00%> (ø)

server/app/services/geo/AddressLocation.java
0.00% <0.00%> (ø)

server/app/services/geo/esri/EsriClient.java
0.00% <0.00%> (ø)

server/app/services/program/BlockDefinition.java
76.00% <0.00%> (-14.48%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bion and @gwendolyngoetz , this PR has been updated per our conversation and PR suggestions.


My Flutter Application for iOS not wokring. Build Failed.

Steps to Reproduce
Running pod install...
Starting Xcode build...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **

Xcode's output:
↳
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    mkdir -p <url>/build/ios/Debug-iphonesimulator/Runner.app/Frameworks
    rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "<url>/ios/Pods/../.symlinks/flutter/ios/Flutter.framework" "<url>/build/ios/Debug-iphonesimulator/Runner.app/Frameworks"
    building file list ... done
    Flutter.framework/
    Flutter.framework/Flutter
    Flutter.framework/Info.plist
    Flutter.framework/icudtl.dat

Could not build the application for the simulator.
Error launching application on iPhone X.

Logs
flutter run --verbose

[ +125 ms] executing: [/Applications/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +180 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +2 ms] origin/beta
[   +1 ms] executing: [/Applications/flutter/] git rev-parse --abbrev-ref HEAD
[  +40 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] beta
[   +1 ms] executing: [/Applications/flutter/] git ls-remote --get-url origin
[  +47 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[   +1 ms] executing: [/Applications/flutter/] git log -n 1 --pretty=format:%H
[  +51 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[   +1 ms] 3b309bda072a6b326e8aa4591a5836af600923ce
[   +1 ms] executing: [/Applications/flutter/] git log -n 1 --pretty=format:%ar
[  +48 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[   +1 ms] 5 weeks ago
[   +2 ms] executing: [/Applications/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +61 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[   +1 ms] v0.7.3-0-g3b309bda0
[+3412 ms] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/GMS_Front/' (OS Error: Permission denied, errno = 13)
[   +1 ms] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/drupal/' (OS Error: Permission denied, errno = 13)
[        ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/test/' (OS Error: Permission denied, errno = 13)
[        ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/phpmyadmin/' (OS Error: Permission denied, errno = 13)
[        ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/GMS/' (OS Error: Permission denied, errno = 13)
[        ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/mysql/' (OS Error: Permission denied, errno = 13)
[        ] Exception while looking for Android Studio: FileSystemException: Directory listing failed, path = '/Applications/XAMPP/xamppfiles/var/mysql/performance_schema/' (OS Error: Permission denied, errno = 13)
[+3522 ms] executing: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[ +157 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString
[        ] 3.1
[ +323 ms] executing: /Users/karandeepsinghdhaliwal/Library/Android/sdk/platform-tools/adb devices -l
[  +27 ms] Exit code 0 from: /Users/karandeepsinghdhaliwal/Library/Android/sdk/platform-tools/adb devices -l
[   +1 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
[  +46 ms] executing: idevice_id -h
[ +769 ms] /usr/bin/xcrun simctl list --json devices
[ +282 ms] More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.
[  +12 ms] /Users/karandeepsinghdhaliwal/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +88 ms] ro.hardware = ranchu
[  +13 ms] Android SDK built for x86 • emulator-5554                        • android-x86 • Android 9 (API 28) (emulator)
[   +2 ms] iPhone X                  • 42BE8DC6-84B6-481A-81D4-AA400CD50848 • ios         • iOS 11.4 (simulator)
[  +44 ms] "flutter run" took 8,482ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:258:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:334:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:290:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:281:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:194:27)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:347:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:303:19)
<asynchronous suspension>
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109:29)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:109:11)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:211:18)
#24     run.<anonymous closure> (package:flutter_tools/runner.dart:59:20)
<asynchronous suspension>
#25     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#26     _rootRun (dart:async/zone.dart:1124:13)
#27     _CustomZone.run (dart:async/zone.dart:1021:19)
#28     _runZoned (dart:async/zone.dart:1516:10)
#29     runZoned (dart:async/zone.dart:1463:12)
#30     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#31     runInContext (package:flutter_tools/src/context_runner.dart:42:24)
<asynchronous suspension>
#32     run (package:flutter_tools/runner.dart:50:10)
#33     main (package:flutter_tools/executable.dart:52:9)
<asynchronous suspension>
#34     main (file:///Applications/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#35     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:287:32)
#36     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.7.3, on Mac OS X 10.13.4 17E199, locale en-CA)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Community Edition (version 2017.2.4)
[!] VS Code (version 1.27.2)
[✓] Connected devices (2 available)

! Doctor found issues in 1 category.
be_men_ship (17:42:00):- flutter doctor -v
[✓] Flutter (Channel beta, v0.7.3, on Mac OS X 10.13.4 17E199, locale en-CA)
    • Flutter version 0.7.3 at /Applications/flutter
    • Framework revision 3b309bda07 (5 weeks ago), 2018-08-28 12:39:24 -0700
    • Engine revision af42b6dc95
    • Dart version 2.1.0-dev.1.0.flutter-ccb16f7282

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    • Android SDK at /Users/karandeepsinghdhaliwal/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4, Build version 9F1027a
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 28.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Community Edition (version 2017.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 21.2.2
    • Dart plugin version 172.4155.35

[!] VS Code (version 1.27.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected devices (2 available)
    • Android SDK built for x86 • emulator-5554                        • android-x86 • Android 9 (API 28) (emulator)
    • iPhone X                  • 42BE8DC6-84B6-481A-81D4-AA400CD50848 • ios         • iOS 11.4 (simulator)

! Doctor found issues in 1 category.

Looks like you having multiple devices connected is preventing the run. Try to specify which device you want to run (flutter run -d <>).

Looks like you having multiple devices connected is preventing the run. Try to specify which device you want to run (flutter run -d <>).

That is correct, or if your lazy just open your project from xcode by typing in the terminal open ios/Runner.xcworkspace and select a emulator device from the upper right corner:

Looks like you having multiple devices connected is preventing the run. Try to specify which device you want to run (flutter run -d <>).

That is correct, or if your lazy just open your project from xcode by typing in the terminal open ios/Runner.xcworkspace and select a emulator device from the upper right corner:

I have both of them, I restarted everything with only one emulator. but still having this issue.
@5ummit

Try to close the android emulator when working on this and mind posting flutter analyze please


Fix TLSA parsing

Fix an overflow and report back a proper error when we hit that limit.

I will try this for real zones and report how it goes.

This fix works for all TLSA records I got. Thank you.

[ Quoting<EMAIL_ADDRESS>in "Re: [dns] Fix TLSA parsing (#211)..." ]

This fix works for all TLSA records I got. Thank you.

Cool. Merging
/Miek
--
Miek Gieben


[Unitary Hack] Qint integer division #27

Hi @ShayanMajumder , thanks for your contribution; CI are failing, can you please fix them before my review? Let me know if you need help for fixing it.
You can test locally by following the CONTRIBUTING instructions: https://github.com/dakk/qlasskit/blob/master/CONTRIBUTING.md#working-on-the-code
I also need to ask you to use meaningful commit messages for the next commits.


feat: Update Artsy Address GRO-744

I just did this:
$ replace "26th" "24th"

And ran the tests which went green so I think this is fine.
https://artsyproduct.atlassian.net/browse/GRO-744
/cc @artsy/grow-devs @jpoczik

Warnings

:warning:

❌ An error occurred while validating your changelog, please make sure you provided a valid changelog.

  Generated by :no_entry_sign: dangerJS against 024723155c51eaafe20ff1f26ca47b8704eb298d


feat(First Visual Studio Marketplace release)

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


How to parse markdown?

How should one parse markdown content of a content folder like you do in your website?
I was guessing it had something to do with marked dependency in your website -- but I was able to uninstall it and your site still built, so it seems to be happening somewhere else ...

acknowledged and will look at this tonight


Navigation - fix X, too big

X in sidebar is too big and spacing looks off ( /to @abeck000 to provide specifics — may just want to use smaller image with large tap-target)

@camelburrito and i need to pair on this one.

Ok so i made a new mock up that should work for desktop and mobile. we need to:
[ ] increase the X size on mobile
[ ] increase the type size to 24px for both
[ ] increase tap target on mobile and desktop to min 40px box around the X, maybe more like 60px
[ ] make sure the X and hamburger menu are left aligned and take up the same size square. Right now they are off.

i will probably need to work closely with @camelburrito because i still dont quite understand what the problem was with implementation.

assigning back to @ericlindley-g to prioritize

I think this has been fixed


Please invite me to the community

Name
Daniel
Discord Username (if applicable)
No response
Additional Context
I want to join to team

Thanks


Fix mbedtls entropy configuration.

Signed-off-by: Jiewen Yao<EMAIL_ADDRESS>This was added to enable ARM_DS2022 build, but in wrong way.
The entropy is not related to compiler, but related to platform.

@jyao1 Why did you open and close this a bunch?

@jyao1 Why did you open and close this a bunch?

@steven-bellock , that is because clang in CI/CD is very unstable. clang keeps failing due to network issue.
I have to close/open to trigger CI/CD again and again to hope it can pass some time.


Polybar giving 'Dropped  Characters' error, none of suggested fixes working

I'm using polybar's MPD module, and for some reason it's dropping all of the japanese characters that appear in the module. I've put in all my fonts properly, tried using wuncon siji, the whole shebang. Fc-match returns my fonts perfectly. I checked my unicode tables locally, and it shows the characters properly. Any idea what's happening?

Config please

Oops, my bad!
font-0 = "Ubuntu Condensed:size=10;2"
font-1 = "icomoon-feather:size=10;2"
font-2 = "xos4 Terminus:size=12;2"

Which characters are getting dropped?
Which of the fonts you listed are supposed to provide japanese characters? Because on my system none of them do. Did you enable Show only glyphs from this font in gucharmap?

You're right, upon further inspection none of the fonts contain japanese characters. It was supposed to be ubuntu condensed though. Do I just find a font with the given characters and assign it to font-3?

That's the idea. Unifont has some japanese glyphs (though not good quality I think) and noto sans cjk is probably the go-to.


fix #5680

Description
Make sure proper url is produced
closes #5680
Mypy
I introduced a type error, but I think this is the pydantic mypy extension being imprecise, because it works just fine and the way I use it now is the way it is documented....
(e.g. the example here )
+ src/inmanta/protocol/openapi/converter.py:75: error: Argument "url" to "Server" has incompatible type "str"; expected "AnyUrl"  [arg-type]

Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Merged into branches master in 25033f2342ec0949c65b351cf019b86b02e474c0

Processing #6620.


linux-yocto-onl/5.10: update to 5.10.78

Update to 5.10 to the newest release, 5.10.78, and update kernel-meta
accordingly.
Signed-off-by: Jonas Gorski<EMAIL_ADDRESS>

Booted successfully on Questone 2A

Causes a "regression" on as4610 (actually a bug in the iproc code that now causes a deadlock)

Fix verified to be working.


Scalar where clauses

Fixes #87.
Additionally, also fixes a nasty bug in boolean literals, which turned the SQL "False" to the python "True"...

Codecov Report

Merging #89 (e4cfadc) into main (ad53a36) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #89   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           34        34
  Lines         1381      1393   +12
  Branches       189       192    +3
=========================================
+ Hits          1381      1393   +12

Impacted Files
Coverage Δ

dask_sql/mappings.py
100.00% <100.00%> (ø)

dask_sql/physical/rel/logical/filter.py
100.00% <100.00%> (ø)

dask_sql/physical/rel/logical/join.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Build runner failing to handle column aliases

Describe the bug
I'm not quite sure what the root cause is, but after upgrading to the latest drift_dev and sqlparser, I've run into an issue where I can no longer run builds. Moreover, I can't seem to get everything downgraded to run again.
When I use a query like the following:
getCarsWithRacers: SELECT cars.*, driver.**, codriver.** FROM cars
  JOIN persons driver ON driver.id = cars.driver
  JOIN persons codriver ON codriver.id = cars.codriver

It used to work just fine, but now I get two warnings (and the same two for codriver)
For the second line:
Unknown table or view: driver
|    JOIN persons driver ON driver.id = cars.driver
|                           ^^^^^^^^^

And for the first line, it reads:
Nested star columns must refer to a table directly. They can't refer to a table-valued function or another select statement.
|    getCarsWithRacers: SELECT cars.*, driver.**, codriver.** FROM cars
|                                     ^^^^^^^^^

I will investigate this some more when I have time tomorrow, so I can get my app working again, but perhaps you already have an idea what might be causing this issue.
As an aside, these are obviously not my actual tables, and have been made a lot simpler than my actual queries, but using the actual names for tables/columns would only throw in some confusing jargon.
All these queries seem to work just fine in my local SQLite database browser on my PC.
For ease of testing:
CREATE TABLE persons (
  id INT NOT NULL PRIMARY KEY,
  name TEXT NULL,
  job TEXT NULL
);

CREATE TABLE cars (
  id INT NOT NULL PRIMARY KEY,
  wheels INT DEFAULT 4,
  driver INT NULL REFERENCES persons(id),
  codriver INT NULL REFERENCES persons(id)
);

Thanks for the report, I'll take a look tomorrow as well.

Moreover, I can't seem to get everything downgraded to run again.

Downgrading to sqlparser: <0.30.1 in your pubspec and running build_runner clean once should hopefully get things working again until I come up with a fix.

So I figured out when this happens. The example I posted above does not do the trick. It happens when you JOIN the same table twice, once with an alias, and once without an alias. Moreover, it only happens when you first join with an alias, and second join directly.

Note on downgrading the dependency
Even after cleaning and doing various things, including downgrading Flutter/Dart, getting it to run again seems to be a struggle. After downgrading Flutter to 3.3, and my app to a version from january, that version runs. If I then upgrade to the version from 2 weeks ago, it runs, if I then go to my latest version before the dependency update, it breaks. When I go back to the version from 2 weeks ago, it remains broken. Very confusing stuff.

I've refactored the way sqlparser resolves columns recently, so I've thought yesterday's update was to blame for this. However, it looks like the issue here has already been there before.
As you've said, this issue occurs if there are two references to the same table in a join clause, where the first one has an alias and the second one doesn't. I'm working on a fix, but it's a bit complicated...
Perhaps adding an explicit alias (transforming thisFails into the scheme of twoAliasesWorksFine) on the failing queries could work around this issue until I release a proper fix.

I think e481f29138a77d737aa78f0769bd286bf24609ab should fix this issue. Could you try it out and let me know if you encounter and other regressions? You can try it by upgrading to the latest drift version and then adding this to your pubspec:
  sqlparser:
    git:
      url: https://github.com/simolus3/drift.git
      ref: develop
      path: sqlparser

This new commit works perfectly with all of the queries that were failing before for me! In the meantime I had  indeed already refactored my code to use the explicit aliases as you proposed.
I'm not sure why I didn't encounter the problem any earlier, since I do check/update my dependencies quite regularly.
Thank you for now, and I'll let you know if there are other issues I run into


Play audio segments as soon as we move to next segment

Is your feature request related to a problem? Please describe.
Consider the following scenario,
An ASR system is giving a segment and we populate it in label studio. Now the person who is doing labeling needs to listen to the region and write text in textarea with is per region. To iterate over the region he would be using Alt + . to go to the next region. Doing this still it doesn't play the audio region automatically. So we need to click on the audio pane to actually play the audio region. Which slows down the labeling process.
The current process step looks something like this

We select the region to play it. And write the transcript in textarea.
After completing the first step to move to the next region we press Alt + .
Next segment is selected but the audio is not played to actually hear the audio region, we need to go to mouse move the cursor to the start of the region, and hit play

Ideally, steps should be this

We select the region to play it. And write the transcript in textarea.
After completing the first step to move to the next region we press Alt + . . The audio region started playing

TLDR
Want audio segment to be played automatically as soon as we press Alt + .

Hi @makseq, thanks for the reply and sorry for the delay in reply from my side. Yeah, that makes sense to have this feature configurable and it's the user's call if they want to enable it or not.
Just to be clear LSF settings is this panel, right?

@kaustuk Yes, LSF Settings is what we can see on this screenshot. "Autoplay next region" makes sense.

Hi @makseq, I have created the PR with this feature implemented. I tested it manually and it's working as expected.
I haven't added any unit test case. Since I am not completely aware of the codebase and newbie in react, Can you provide some pointers around which test case I should refer to write testcase for this feature?

Hi @makseq , it's been a long time I have created PR with this feature, any approx timeline when PR would get reviewed or this feature would get added?

@kaustuk Sorry for this long waiting, I'll force our frontend team to merge it.

Hi @makseq, sorry to bother you. Just wanted to check the status on this. Any thought by when this feature/PR would get reviewed?

@kaustuk Thank you for pinging, I've asked to review your PR, then we will merge it.

Hey! Thanks for contribution! We already have this implemented in new Audio along with other convenient improvements! Please, check it, it's enabled by default. https://labelstud.io/tags/audio
Thus I have to close this issue.


Do not show Output on LSP completion error

Stop VSCode from showing Output channel on error.

if it's an error why not show it out?

When editing, malformed AST will create error. This is annoying, since the error should be dropped.
An alternative is to patch nimlsp to behave, but I'm not good at that.

thanks for explain , I think it should be resolve in nimlsp or identify this kind of error on client side

Sometimes nimlsp will not return result or error for a request.
There is some code in vscode-lsp-client that raise the error.

yeah that's annoying, it should silently log out , I ll merge this


[TEST] run the pands udf using cudf on Databricks

Is your feature request related to a problem? Please describe.
Right now we don't run the pandas udf using cudf tests on Databricks because we haven't setup the conda environment.
We should test this at some point at least manually during release process but ideally running nightly.
We have documentation on how to make that work here: https://confluence.nvidia.com/display/SPARK/How+to+enable+cuDF+Pandas+UDF+on+Azure+Databricks
If there is anything special the end user would need to do we should put in our regularly released documents.

docs should be covered by https://github.com/NVIDIA/spark-rapids/pull/2025

Working on the issue


Manual approval required for workflow run<PHONE_NUMBER>6

Workflow is pending manual review.
URL: https://api.github.com/pushpendrasingh3/manual-approval/actions/runs/12143989266
Required approvers: [pushpendrasingh3]
Respond "approved", "approve", "lgtm", "yes" to continue workflow or "denied", "deny", "no" to cancel.

approve

All approvers have approved, continuing workflow and closing this issue.


BRS-221: Issues with Variance Report

Jira Ticket:
BRS-221
Jira Ticket URL:
Ticket-221
Description:
Limit the decimal points in Variance % to 2.
Account for possibility of commas in Park Name, and Notes on the variance report.

@Christopher-walsh22 This likely won't get eyes on it for a review until the merge conflict has been resolved FYI.


plugin JS in admin resolves to 404

We are currently seeing this old issue https://github.com/udx/wp-stateless/issues/143 in a fresh install within a bitnami/wordpress docker container.

Wordpress 6.1.1
wp-stateless 3.2.2

In wp-admin there is a call to ud-dismiss.js located at
{THEME_FOLDER_URL}/bitnami/wordpress/wp-content/plugins/wp-stateless/vendor/udx/lib-wp-bootstrap/static/scripts/ud-dismiss.js. In our case this resolves to http://localhost/wp-content/themes/{theme}/bitnami/wordpress/wp-content/plugins/wp-stateless/vendor/udx/lib-wp-bootstrap/static/scripts/ud-dismiss.js?ver=6.1.1

Hello @hatsumatsu
Is this issue still relevant?
Does bitnami/wordpress add {THEME_FOLDER_URL} to the URL?

We have not received any response for past 3 weeks.
Closing the ticket.
Please let us know if you have any further questions


[BUG] org-export to latex shows disruptive prompts

When using the org-export to export an org-file to PDF via LaTeX an annoying buffer shows up.
The new buffer at the bottom of the window reads Please enter text to be indented: (press CTRL+D when finished).
This seems related to the latexindent (see the commit f1d622e) as this has been deactivated there already.

No backtrace available.

Steps to reproduce

Inside an org file press localleader e l l
Enjoy the new buffer inside your windows.

System information

emacs   version    26.3
        features   XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2
        build      Aug 29, 2019
        buildopts  (--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now)
        windowsys  x
        daemonp    daemon
doom    version    2.0.9
        build      HEAD -> develop 9cb535043 2019-11-05 18:48:34 -0500
system  type       gnu/linux
        config     x86_64-pc-linux-gnu
        shell      /usr/bin/zsh
        uname      Linux 5.3.7-arch1-1-ARCH #1 SMP PREEMPT Fri Oct 18 00:17:03 UTC 2019 x86_64
        path       (~/perl5/bin ~/perl5/bin /usr/local/sbin /usr/local/bin /usr/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /bin /usr/bin /usr/local/bin //home/david/.config/bin /usr/local/sbin /usr/local/bin /usr/bin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl ~/.emacs.d/bin ~/.gem/ruby/2.6.0/bin /usr/lib/emacs/26.3/x86_64-pc-linux-gnu)
config  envfile    nil
        elc-files  0
        modules    (:completion company ivy :ui doom doom-dashboard doom-quit hl-todo modeline nav-flash ophints (popup +all +defaults) pretty-code treemacs vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors rotate-text snippets :emacs (dired +ranger +icons) electric vc :term eshell :tools docker eval flycheck (lookup +docsets) magit pdf :lang data emacs-lisp (latex +latexmk) markdown (org +dragndrop +ipython +pandoc +present) ruby sh :app (rss +org) :config (default +bindings +smartparens))
        packages   (n/a)
        elpa       (n/a)

This should've been fixed with f1d622e. Do you have a link to your private config? Have you changed the value of +format-on-save-enabled-modes in your private config?

Have you changed the value of +format-on-save-enabled-modes in your private config?

That was it, good catch. Was some leftover.
Thanks for the great work on the whole project by the way!

I have worked around the issue by stripping the "Please enter text to be indented" line from latexindent output.
;; latex formatter prints a random error message, so we filter it out
(set-formatter! 'latexindent '("bash" "-c" "latexindent 2> >(grep -v 'Please enter text to be indented:'>&2)")
  :modes
  '(latex-mode LaTeX-mode))

@fydai Perhaps this should be reported upstream, to format-all


Switch back to pillow for jp2

Codecov Report

Merging #295 (e1ee9a8) into develop (a9ba881) will increase coverage by 0.42%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #295      +/-   ##
===========================================
+ Coverage    88.74%   89.17%   +0.42%
===========================================
  Files           49       49
  Lines         4515     4499      -16
===========================================
+ Hits          4007     4012       +5
+ Misses         508      487      -21

Impacted Files
Coverage Δ

sentinelhub/decoding.py
93.20% <100.00%> (+15.89%)
:arrow_up:

sentinelhub/data_collections.py
93.44% <0.00%> (+0.40%)
:arrow_up:

Continue to review full report at Codecov.

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


issue with multiple streams

trying to setup two cameras and I'm running into an issue. Main one is the video does not update in either instance after the initial load, if I remove a camera the other shows live video as expected.
config for the two instances
{
  module: "MMM-RTSPtoWeb",
  position: "bottom_right",
  header: "Front Door",
  config: {
    width: "63%",
    url: "http://xx.xx.xx.xx:8083/stream/xxx/channel/0/webrtc"
  }
},
{
  module: "MMM-RTSPtoWeb",
  position: "bottom_left",
  header: "Front Driveway",
  config: {
    width: "25%",
    url: "http://xx.xx.xx.xx:8083/stream/xxx/channel/0/webrtc"
  }
},

never mind turns out the issue was with the RTSP stream from Blue Iris, once i switched to picking the RTSP stream directly for the camera the issue went away.


DZO: changed DZO actors data and DZO intervals

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


ENH: Avoid unnecessary function evaluations if guess is already in tolerance (scipy.optimize.newton)

Is your feature request related to a problem? Please describe.
If the initial guess x0 in scipy.newton.optimize results in an answer within tolerance, execution still continues, resulting in additional function calls.
The example below result in 3 function calls.
def func(x):
    return x

out = scipy.optimize.newton(func, 0, full_output=True)

print(out[1].function_calls)
>> 3

Describe the solution you'd like.
The initial guess could be checked for convergence before additional function calls to save time.
In the above example (secant method with no x1 input), there is no need to perform the second call to the evaluation function, which appears to be done just for getting the finite difference. I'm not sure why the 3rd call is needed.
Ideally this would work when x0 is an array. If it worked with Newton and Halley methods (specifying fprime and fprime2) that'd be nice as well.
Describe alternatives you've considered.
No response
Additional context (e.g. screenshots, GIFs)
No response

Hi @kcharlie2, thanks for the proposal.
I would argue that you should not call an optimize function in your code if you already have a satisfactory solution. In the end calling these optimizers generate quite some overhead over a simple comparison like that since they are doing more things. Let see what others think.

The condition for convergence isn't when func(x) is close to zero (np.isclose(func(x), 0, atol=tol, rtol=rtol)). Rather the condition for convergence is when x generated by successive iterations are within a tolerance: np.isclose(p, p0, rtol=rtol, atol=tol). Therefore I think it's unavoidable that there are going to be a minimum number of iterations, you have to go at least once through the iteration loop in order to be able to compare those values.
Where you under the impression that the tol and rtol keywords referred to how close func(x) was to zero? If so, then there may be potential to make that clearer.

The condition for convergence isn't when func(x) is close to zero (np.isclose(func(x), 0, atol=tol, rtol=rtol)). Rather the condition for convergence is when x generated by successive iterations are within a tolerance: np.isclose(p, p0, rtol=rtol, atol=tol). Therefore I think it's unavoidable that there are going to be a minimum number of iterations, you have to go at least once through the iteration loop in order to be able to compare those values.
Where you under the impression that the tol and rtol keywords referred to how close func(x) was to zero? If so, then there may be potential to make that clearer.

The default relative tolerance is 0.0, in which case only the first solution is needed when checking for convergence, not the second - the np.isclose comparison becomes strictly absolute since the newton iteration is searching for zeros. I'm not sure I understand see why there couldn't be a check for convergence after the first function evaluation when rtol=0.
As @tupui pointed out, I think the actual issue is if it's worth the time savings. In my use-case I am performing newton iteration on thousands of sets of data. The function evaluation is very expensive but iteration converges quickly, Only ~half of the cases actually need the iteration, but I cannot determine before hand which ones need iteration. Adding an initial check myself before calling newton significantly increases the total time since it does not help reduce the number of calls when the solution needs iteration.

Why not using a cache (LRU for instance) for your function? This way repeated calls would be free.

caching is not straightforward when a function argument is an array with floating point numbers. It is possible (e.g. joblib does this), but the cache lookup does add overhead. Still, if the function evaluation is very expensive then it may still be worth it.

I'm not sure I understand see why there couldn't be a check for convergence after the first function evaluation when rtol=0.

@kcharlie2, if I understand correctly, you want a convergence check that will halt if it's within a set tolerance of zero?

caching is not straightforward when a function argument is an array with floating point numbers. It is possible (e.g. joblib does this), but the cache lookup does add overhead. Still, if the function evaluation is very expensive then it may still be worth it.

Yes, it really depends on the problem. Even with complex inputs, you should be able to construct a custom hashing function.


How to program the ATMega8535

Hello again,
I have an atmega8535 on my desk, which i can be ISP programmed with my other arduino using the arduino IDE.
Does anyone know which cargo-features i need on avr-hal and which .json file would i need to adjust in order to compile rust for that chip?
thanks in advance!

Hi, the ATmega8535 is not yet supported in avr-hal.  If you want to add support for it, you need to start by adding support for this MCU in the avr-device crate.  The README contains some instructions on how that works or maybe take a look at recent pull requests which also added support for new chips.


convert icon outlines to paths

Once we get DOIs, could use a service like doi2bib or citation-js.

Hi @yelper. In the desktop version of the site, it generates a citation in IEEE and bibtex formats. What would those libraries add?

It would create a "full" bibtex citation from metadata on IEEE's servers (adding page, issue, and volume info, you wouldn't have to scrape it yourself), just given the DOI of each paper.  It would be a one-time thing once the issue is online.


invalid_auth

Using rslack 0.2.5 on macos 13.1, I've installed the application to my workspace with the necessary permissions and added my OAUTH token as $RSLACK_TOKEN to my zshrc and then sourced it. But when I run rslack I got invalid_auth. Shouldn't I also add some env vars like Client Secret, Client ID or Verification Token? And how do I name these if so? I've also tried writing the token as an unquoted string to a .token file in /opt/homebrew/Cellar/rslack/v0.2.5.

Hi @154pinkchairs !
Thanks for your reporting !
I found a problem with the method of passing the new token...
I fixed in #148 and release new version v0.2.6 (also homebrew)


Upgrade pyyaml to 6.0.1 to support ppc64le

Description
Upgrade pyyaml to 6.0.1 to support ppc64le
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/3122
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

There are issues with the python test which needs to take some more digging.

Waiting for IBM team to resolve this.

Close this in favor of the #4413


chore: update mysql cc to support updating default_time_zone

fix https://github.com/apecloud/kubeblocks/issues/8719

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (e97d07c) to head (ee4bfe7).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1377   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files         69      69
  Lines       6685    6685
=====================================
  Misses      6685    6685

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

/cherry-pick release-0.9


backstage-cli: add config:schema command.

Signed-off-by: Andreas Stenius<EMAIL_ADDRESS>Hey, I just made a Pull Request!
The config:schema part of #4496
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

Tugboat has finished building the preview for this pull request!
Link:

https://pr4559-vdy3eeex8stl2g4u2enkdu2ot1kam8gt.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/602cfb32f285af4cc490b995

@Rugvip do you want any docs, tests or screenshots for this PR? (thinking of the three un-ticked checkboxes from the PR template)

Now we get this schema output:
$schema: https://backstage.io/schema/config-v1
title: "@backstage/cli"
type: object
required:
  - app
  - backend
  - costInsights
  - sentry
  - techdocs
description: >-
  TechDocs schema below is an abstract of what's used within techdocs-backend
  and for its visibility

  to view the complete TechDocs schema please refer: plugins/techdocs/config.d.ts
properties:
  app:
    type: object
    required:
      - baseUrl
    description: Generic frontend configuration.
    properties:
      baseUrl:
        type: string
        visibility: frontend
        description: The public absolute root URL that the frontend.
      title:
        type: string
        visibility: frontend
        description: The title of the app.
      googleAnalyticsTrackingId:
        type: string
        visibility: frontend
        description: Tracking ID for Google Analytics
        examples:
          - UA-000000-0
      listen:
        type: object
        description: Listening configuration for local development
        properties:
          host:
            type: string
            visibility: frontend
            description: The host that the frontend should be bound to. Only used for local
              development.
...

Tugboat has finished building the preview for this pull request!
Link:

https://pr4559-vdy3eeex8stl2g4u2enkdu2ot1kam8gt.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/602cfb32f285af4cc490b995

haha, I notice that the doc comment for the exported config of the techdocs backend is picked up at the top level... perhaps it doesn't have to be a doc comment, there?
https://github.com/backstage/backstage/blob/master/plugins/techdocs-backend/config.d.ts#L18

I'll address the type issues after the weekend..

Tugboat has finished building the preview for this pull request!
Link:

https://pr4559-vdy3eeex8stl2g4u2enkdu2ot1kam8gt.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/602cfb32f285af4cc490b995

the yarn lint:type-deps failed here, but passes when I run it locally.. also, it suggests moving a devDep to deps.. I'm not sure that is the correct approach here; or have it changed as I'm exporting more type (not really typescript knowledgable yet, so don't want to mess things up too much :) )

haha, I notice that the doc comment for the exported config of the techdocs backend is picked up at the top level... perhaps it doesn't have to be a doc comment, there?
https://github.com/backstage/backstage/blob/master/plugins/techdocs-backend/config.d.ts#L18

Let's add in a hardcoded title and description for the root schema object

Tugboat has finished building the preview for this pull request!
Link:

https://pr4559-vdy3eeex8stl2g4u2enkdu2ot1kam8gt.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/602cfb32f285af4cc490b995

Tugboat has finished building the preview for this pull request!
Link:

https://pr4559-vdy3eeex8stl2g4u2enkdu2ot1kam8gt.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/602cfb32f285af4cc490b995

Just need to move @types/json-schema over to dependencies in config-loader/package.json, since we're now exporting types from that package and need to make sure our dependents have access to those types

@Rugvip done. :)

Tugboat has finished building the preview for this pull request!
Link:

https://pr4559-vdy3eeex8stl2g4u2enkdu2ot1kam8gt.tugboat.qa

Dashboard:

https://dashboard.tugboat.qa/602cfb32f285af4cc490b995


Server Error on Interface disconnect

Environment

Python version:  v3.5.2
NetBox version:  v2.4.6

Steps to Reproduce

Create two devices
Connect some interfaces
Try to disconnect an interface and confirm this operation
Server error is displayed

Sometimes it is working  but in 9 of 10 cases we get those errors for up to 10 minutes and then the same disconnect operation is working fine.
Expected Behavior
The operation should not produce a internal server error.
Observed Behavior
Server Error
There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'ValueError'>
Cannot assign "<django.contrib.auth.models.AnonymousUser object at 0x7f91c9aaae48>": "ObjectChange.user" must be a "User" instance.
Looks very familiar to issue 2621

After updating to v2.4.8 I encountered still the same issue after the first try.
Next step would be a clean install and test it again. Will keep you updated.

I believe I'm hitting the same bug/it may be related.
Environment
Python 3.5.2
Netbox v2.5-beta2 (clean installation)
We're trying to document ODF-panels between different racks only using component "Rear ports".

It works alright. However, when trying to delete/disconnect a cable we're hitting an error message.

Server Error
There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'dcim.models.FrontPort.DoesNotExist'>
FrontPort matching query does not exist.

We are probably not going to use FrontPorts, only Rear.

Closing due to inactivity. Please request to re-open if this issue is found to be reproducible on a recent stable release.


Use Route53 resolver endpoint security group AWS best practices, or allow BYO security group for the outbound endpoints

Currently, the Route53 module uses the "default" security group.
Many companies have locked down the default security group. In our AWS environment, we have deleted all the inbound and outbound rules on the default security group (intentionally, to force each application to use a security group specific to it).
Additionally, the default security group does not follow AWS Best Practices for Route53 Outbound Endpoints.
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/best-practices-resolver-endpoint-scaling.html
This PR stops using the default security group, and creates a security group that follows the aws best practices.
It also allows a bring your own security group for the endpoint.
Existing formats were followed.

Hi @jmolnar-zscaler , can I ask why this one was closed? We require it for zpa to work in our environment.

apologies for lack of response. I took these commit proposals and are running them through validation for our next release as well. https://github.com/zscaler/terraform-aws-cloud-connector-modules/pull/101

Thank you!


Generation detection unary endpoint

This PR addresses #122.
As I'm not very proficient in Rust, it is likely that I am not doing things in the optimal way. I'll point out the ones I think that can probably improve, but I would like to also request feedback on what can be done better.

This is a very early WIP. I'm opening a draft PR to allow discussion throughout development.

Error handling might not be appropriate yet.
Scenarios tested:

Single detector -> works fine.
Multiple detectors -> works fine, but does not sort results by the order detectors were listed on the request.
Detector without threshold on request -> works fine, using the default threshold in the config file.
Unexisting detector -> orchestrator returns 404 (if at least one of the detectors do not exist)
Wrongly implemented detector (one that does not provide an answer in accordance with the API) -> orchestrator returns 500
Detector returns 404 -> orchestrator returns 500
Detector returns 422 -> orchestrator returns 500
Detector returns 500 -> orchestrator returns 500

Scenarios 6, 7 and 8 don't look right to me. Not sure about scenario 5. Should it stay be like that? Maybe a message better than "unexpected error occured while processing request" could be returned.

Also, another point of discussion - as of now, here's how the config for detectors look like:
  my_detector_name:
    service:
      hostname: http://my_host.com/api/v1/text/generation
      port: 8000
    chunker_id: my_chunker # not being used
    default_threshold: 0.5

The chunker is not used for detectors in this endpoint, as the whole prompt and generated text are needed. Having said that, do we want to leave the configuration as is, or change it in any way?
P.s.: I'm raising some points, but they don't necessarily need to be addressed in this PR. We can open up new issues as needed.

@evaline-ju do these scenarios look right?

@evaline-ju Can I open up an issue for this, so we don't have the PR hanging for too long?

Hi @evaline-ju, after so many rebases I decided to start again from main and copy the code changes in a single commit.
Could you take a look at the code gain and let me know if I missed anything?
Also, error handling is in place:

Detectors returning 503 are propagated back in the response.
Detectors returning 404 are propagated back in the response.
Other errors are returned as 500.

@evaline-ju I've just incorporated changes from #143.


feat: add coreutils toolchain

uutils/coreutils is a rust port of gnu coreutils that works across mac, windows, and linux.
I discovered it while looking for coreutils alternatives to address https://github.com/bazel-contrib/rules_oci/issues/41.
I figured since we are doing a lot of bash scripting, this might be useful for more than one ruleset therefore should be here.

if it lands; this would eliminatetools/sha256sum completely within the repo.

Did you take a look at Tweag rules_sh? Curious if they have anything similar.

Do you think it's worth creating a rule to wrap the toolchain?

Did you take a look at Tweag rules_sh? Curious if they have anything similar.

I looked into rules_sh. it has a similar semantics to the built-in xcode repository bazel creates for cc toolchain. helps binary paths to be included in the input hash if you just use rules_sh.
However, though rules_nixpkgs, it allows cmds to be fetched hermetically.  so the combination of rules_nixpkgs and rules-_sh is equivalent to this toolchain.

Do you think it's worth creating a rule to wrap the toolchain? I guess these typically wouldn't be used as build targets, so maybe not?

i don't see how much value that would add to the toolchain. it's really genrule friendly, so we'd be creating a genrule like rule for this toolchain. Let's not add until we need it?


Typography not looking professional of AboutUs page

Describe the feature
the typography of the about us page is not looking professinal it's UI can be made more visually appealing, i want to work on it.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@alpharsh you are assigned


BC break: typehint UserInfo constructor parameter

The League\Uri\Components\UserInfo constructor accepts mixed parameters (Object, string, null).
The constructor should only accept

League\Uri\Interfaces\User for the user parameter
League\Uri\Interfaces\Pass for the pass parameter

to be more consistant.

This issue was resolve when the URI Components where decoupled from the main league URI library in the league uri components package


Version 6.5

Adding two sub-versions for v6.5 (A and B)
v6.5a changes:

Adding 'Next in series/Previous in series' labels
Amending position of next and previous to sit with full hierarchy information
Centring CTAs within the sticky navigation bar, as well as style of accompanying elapsing panel links
Small stylistic changes to font-sizes and border-widths

v6.5b changes:

Adding 'Next in series/Previous in series' labels
All other parts of the interface stay the same

These changes were internal feedback from 1 meeting with product team and 1 meeting with stakeholders.


Globalnet: Ensure that iptable rule is actually deleted before trying ipset deletion

In a Globalnet deployment on OCP, while running e2e tests, the following errors are noticed.
I0322 10:00:37.535555       1 global_egressip_controller.go:138] Processing created GlobalEgressIP "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg", NumberOfIPs: 1, PodSelector: (*v1.LabelSelector)(nil), Status: v1.GlobalEgressIPStatus{Conditions:[]v1.Condition(nil), AllocatedIPs:[]string(nil)}
I0322 10:00:37.535594       1 global_egressip_controller.go:197] Allocating 1 global IP(s) for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg"
I0322 10:00:37.535622       1 ipset.go:349] Running ipset [create SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ hash:ip -exist]
I0322 10:00:37.536664       1 iface.go:249] Installing iptable egress rules for Namespace "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg": -p all -m set --match-set SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ src -m mark --mark 0xC0000/0xC0000 -j SNAT --to <IP_ADDRESS>
I0322 10:00:37.541254       1 global_egressip_controller.go:258] Allocated [<IP_ADDRESS>] global IP(s) for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg"
I0322 10:00:37.641854       1 global_egressip_controller.go:351] Started pod watcher for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg"
I0322 10:00:37.641883       1 base_controllers.go:202] Updated: &v1.GlobalEgressIPStatus{Conditions:[]v1.Condition{v1.Condition{Type:"Allocated", Status:"True", ObservedGeneration:0, LastTransitionTime:time.Date(2022, time.March, 22, 10, 0, 37, 541247789, time.Local), Reason:"Success", Message:"Allocated 1 global IP(s)"}}, AllocatedIPs:[]string{"<IP_ADDRESS>"}}
I0322 10:00:46.408867       1 egress_pod_watcher.go:96] Pod "e2e-tests-dataplane-gn-conn-nd-qlkvg/custom7lc89" with IP <IP_ADDRESS> created/updated
I0322 10:00:46.408893       1 ipset.go:349] Running ipset [add SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ <IP_ADDRESS> -exist]
I0322 10:03:59.906507       1 egress_pod_watcher.go:110] Pod "e2e-tests-dataplane-gn-conn-nd-qlkvg/custom7lc89" removed
I0322 10:03:59.906533       1 ipset.go:349] Running ipset [del SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ <IP_ADDRESS>]
I0322 10:04:00.203880       1 global_egressip_controller.go:138] Processing deleted GlobalEgressIP "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg", NumberOfIPs: 1, PodSelector: (*v1.LabelSelector)(nil), Status: v1.GlobalEgressIPStatus{Conditions:[]v1.Condition{v1.Condition{Type:"Allocated", Status:"True", ObservedGeneration:0, LastTransitionTime:time.Date(2022, time.March, 22, 10, 0, 37, 0, time.Local), Reason:"Success", Message:"Allocated 1 global IP(s)"}}, AllocatedIPs:[]string{"<IP_ADDRESS>"}}
I0322 10:04:00.203931       1 base_controllers.go:161] Releasing previously allocated IPs [<IP_ADDRESS>] for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg"
I0322 10:04:00.203952       1 iface.go:263] Deleting iptable egress rules for Namespace "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg": -p all -m set --match-set SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ src -m mark --mark 0xC0000/0xC0000 -j SNAT --to <IP_ADDRESS>
I0322 10:04:00.206445       1 ipset.go:349] Running ipset [destroy SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ]
E0322 10:04:00.210974       1 global_egressip_controller.go:298] Error destroying the ipSet "SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ" for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg": error destroying set "SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ": exit status 1 (ipset v7.1: Set cannot be destroyed: it is in use by a kernel component
)
I0322 10:04:00.221252       1 global_egressip_controller.go:138] Processing deleted GlobalEgressIP "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg", NumberOfIPs: 1, PodSelector: (*v1.LabelSelector)(nil), Status: v1.GlobalEgressIPStatus{Conditions:[]v1.Condition{v1.Condition{Type:"Allocated", Status:"True", ObservedGeneration:0, LastTransitionTime:time.Date(2022, time.March, 22, 10, 0, 37, 0, time.Local), Reason:"Success", Message:"Allocated 1 global IP(s)"}}, AllocatedIPs:[]string{"<IP_ADDRESS>"}}
I0322 10:04:00.221288       1 base_controllers.go:161] Releasing previously allocated IPs [<IP_ADDRESS>] for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg"
I0322 10:04:00.221306       1 iface.go:263] Deleting iptable egress rules for Namespace "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg": -p all -m set --match-set SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ src -m mark --mark 0xC0000/0xC0000 -j SNAT --to <IP_ADDRESS>
I0322 10:04:00.223218       1 ipset.go:349] Running ipset [destroy SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ]

Some of the e2e tests create GlobalEgressIPs with PodSelectors. After the test is completed, when the e2e test tries to delete the GlobalEgressIPs, Globalnet controller initially deletes the associated iptable rules and then tries to delete the corresponding ipset. However, its seen that deleting the iptable rule is taking few milliseconds for the actual deletion to happen in the kernel and in the meantime when Globalnet controller tries to delete the ipset, it gets an error message as shown below.
I0322 10:04:00.203880       1 global_egressip_controller.go:138] Processing deleted GlobalEgressIP "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg", NumberOfIPs: 1, PodSelector: (*v1.LabelSelector)(nil), Status: v1.GlobalEgressIPStatus{Conditions:[]v1.Condition{v1.Condition{Type:"Allocated", Status:"True", ObservedGeneration:0, LastTransitionTime:time.Date(2022, time.March, 22, 10, 0, 37, 0, time.Local), Reason:"Success", Message:"Allocated 1 global IP(s)"}}, AllocatedIPs:[]string{"<IP_ADDRESS>"}}
I0322 10:04:00.203931       1 base_controllers.go:161] Releasing previously allocated IPs [<IP_ADDRESS>] for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg"
I0322 10:04:00.203952       1 iface.go:263] Deleting iptable egress rules for Namespace "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg": -p all -m set --match-set SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ src -m mark --mark 0xC0000/0xC0000 -j SNAT --to <IP_ADDRESS>
I0322 10:04:00.206445       1 ipset.go:349] Running ipset [destroy SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ]
E0322 10:04:00.210974       1 global_egressip_controller.go:298] Error destroying the ipSet "SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ" for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg": error destroying set "SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ": exit status 1 (ipset v7.1: Set cannot be destroyed: it is in use by a kernel component
)

Globalnet controller has a retry mechanism and on the next retry it succeeds.
I0322 10:04:00.221252       1 global_egressip_controller.go:138] Processing deleted GlobalEgressIP "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg", NumberOfIPs: 1, PodSelector: (*v1.LabelSelector)(nil), Status: v1.GlobalEgressIPStatus{Conditions:[]v1.Condition{v1.Condition{Type:"Allocated", Status:"True", ObservedGeneration:0, LastTransitionTime:time.Date(2022, time.March, 22, 10, 0, 37, 0, time.Local), Reason:"Success", Message:"Allocated 1 global IP(s)"}}, AllocatedIPs:[]string{"<IP_ADDRESS>"}}
I0322 10:04:00.221288       1 base_controllers.go:161] Releasing previously allocated IPs [<IP_ADDRESS>] for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg"
I0322 10:04:00.221306       1 iface.go:263] Deleting iptable egress rules for Namespace "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg": -p all -m set --match-set SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ src -m mark --mark 0xC0000/0xC0000 -j SNAT --to <IP_ADDRESS>
I0322 10:04:00.223218       1 ipset.go:349] Running ipset [destroy SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ]
I0322 10:04:00.226942       1 global_egressip_controller.go:305] Successfully deleted all the iptables/ipset rules for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg"

It would be good if we can figure out a way to ensure that iptable rule is actually deleted before trying to delete the ipset in the first iteration itself as otherwise the error logs could be misleading while debugging any real issue.

Maybe I can work on this :)

Excellent, go for it!

@cyclinder are you still planning on working on this?

Hi @dfarrell07, I'm sorry for the delay, I thought this issue had been fixed, I can work on this next weekend, I'm busy with work these days...

Hi @sridhargaddam @dfarrell07,  Sorry for the delay, I'm working on this.
the iptable rules are actually deleting, so ipset can't destroy. I think we just need sleep or retry, WDYT?

Hi @sridhargaddam @dfarrell07, Sorry for the delay, I'm working on this.
the iptable rules are actually deleting, so ipset can't destroy. I think we just need sleep or retry, refer to weaveworks/weave#3882, WDYT?

We already have a retry mechanism in the code. Wrt adding sleep, I dont think its a good idea.
@yboaron are we still seeing these errors in an OCP deployment?

@sridhargaddam where is the retry mechanism in the code? I haven't found it, Can you tell me more details? thanks.

We use resource syncer mechanism from Admiral project , one of the fields is Transform,   Transform is pointer to Function that returns Boolean if event needs to be requeued
For GlobalNet egress we set resource syncer Trasnform function to controller.process
controller.process Calls to onDelete function
if Delete fails we return True to requeue

Understood, thanks for the explanation @yboaron
we can eventually delete all these rules, If we don't want the logs could be misleading, a simple way is to change the logs, something like:
Error destroying the ipSet "SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ" for "e2e-tests-dataplane-gn-conn-nd-qlkvg/test-e2e-egressip-e2e-tests-dataplane-gn-conn-nd-qlkvg": error destroying set "SM-GN-BTG66WLFVD3ZAKHSL7T5RIVDJ": exit status 1 (ipset v7.1: Set cannot be destroyed: it is in use by a kernel component), retrying...

I think it's reasonable to internally retry in ipset.DestroySet if a transient "is in use" error occurs to avoid intermittent errors in the log. A maximum of 2 seconds seems safely sufficient based on the timing in the logs above.


How to put wordlist on insta breaker.. Not working.. Plz send me pattern of putting wordlist

Bro password with location kha se leya


chore: bump eslint v9

bump eslint v9
node v22
please review eslint v9 - it had a dep issues with @typescript-eslint/parser

I am really not to sure what I was doing here and how to work on this issue


Update PackageVersion: sylikc.JPEGView version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.5 schema?

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

Microsoft Reviewers: Open in CodeFlow

Hi @KaranKad,
This manifest adds Apps and Features entries that aren't present in previous PR versions. Should these entries also be added to the previous versions?
(Automated response - build 690.)


Compile issue

Hello
Can we compile this project using ABP(Activation By personal)

Yes, replace the OTAA connect with: https://github.com/janjongboom/mbed-simulator/blob/master/demos/lorawan-abp/main.cpp#L90

Hello
I am success in connecting but there is a query regarding update client APP_KEY if i define it as ABP there is no APP_key for my project. what should i replace this.
static LoRaWANUpdateClient uc(&bd, APP_KEY, lora_uc_send);

This is the GenAppKey used for multicast. This is a separate key from your OTAA key (although in this example I used the same key). See https://lora-alliance.org/sites/default/files/2018-09/remote_multicast_setup_v1.0.0.pdf

Thanks.

Can we use internal flash of board as it contain 1MB flash. As of now Binary size for project is not exceeding 300KB.
what changes should I have to made for this.

Yes, use the FlashIAPBlockDevice driver to mount part of your file system on internal flash. Details are here: https://github.com/ARMmbed/mbed-os-example-lorawan-fuota/blob/master/docs/porting-guide.md#storage-layer, but as I no longer work for Arm I personally won't be able to help with the actual porting.

Thanks.


pkgconfig support

It would be great if libqpl built and installed a pkg-config .pc support file
since many open-source projects doesn't directly use cmake and pkg-config would be helpful.

Hi @hsiangkao, we will take a look at this after the next release. Thanks!

Hi @hsiangkao could you please clarify what QPL configuration you would be interested in for pkg-config support?
Would shared library and default QPL build (Release, loading libaccel-config.so with dlopen as opposed to require explicit linking) work for your needs?

Hi @hsiangkao could you please clarify what QPL configuration you would be interested in for pkg-config support? Would shared library and default QPL build (Release, loading libaccel-config.so with dlopen as opposed to require explicit linking) work for your needs?

Hi @mzhukova.  Yes, that is fine. As long as I could dynamic link libqpl.so, it doesn't matter to use whatever configuration since vendors could adjust themselves..

Sounds good @hsiangkao, shared library and pkg-config support should be available in the upcoming QPL 1.5.0 release.

@hsiangkao shared library support is available starting with the https://github.com/intel/qpl/commit/667d4744a3aa834a9934e3addb0a5a9e8d5eddf1 and pkg-config support was introduced with https://github.com/intel/qpl/commit/ccb172bea47f8d538b3f3eff308cbd95f77808ff.

@hsiangkao shared library support is available starting with the 667d474 and pkg-config support was introduced with ccb172b.

confirmed that it works, thanks!


Rename generate_feed into generate_feeds as per Zola 0.19 breaking changes

Current behavior
When building a site with Zola and this theme, or even just running zola check, it currently fails with the following:
Checking site...
Error: Failed to check the site
Error: TOML parse error at line 11, column 1
   |
11 | generate_feed = true
   | ^^^^^^^^^^^^^
unknown field `generate_feed`, expected one of `base_url`, `theme`, `title`, `description`, `default_language`, `languages`, `translations`, `generate_feeds`, `feed_limit`, `feed_filenames`, `hard_link_static`, `taxonomies`, `author`, `compile_sass`, `minify_html`, `build_search_index`, `ignored_content`, `ignored_static`, `mode`, `output_dir`, `preserve_dotfiles_in_output`, `link_checker`, `slugify`, `search`, `markdown`, `extra`

Explanation
As part of the Zola 0.19 release, the support for multiple feeds (Atom, RSS) was added (https://github.com/getzola/zola/pull/2477). This resulted in the renaming of the generate_feed top level configuration key of Zola into generate_feeds (note the +s).
When coupled with the introduction of #[serde(deny_unknown_fields)] on the Zola configuration validation that was shipped at the same time, it not only means that the old name is no longer effective, but that it's now actually denied.
Also see https://github.com/getzola/zola/issues/2566 for the upstream discussion.
Fix
This PR proposes to fix that by renaming all the occurrences of generate_feed into generate_feeds :slightly_smiling_face:
Tested locally and it works fine.

ty very much!


NSE stock market data GUI

Aim
Web scrape stock market data (top 20 gainers/losers, most active equities etc )
Details
display this scraped data in a GUI format where user can chose which market data analysis they want to see from a drop down menu

@kaustubhgupta I would like to work on this

@Ayushjain2205 updates on this?

Will make a PR by tommorow, sorry for the delay had exams

please assign me this


Added initial support for end2end tests

For details, see the commit message.
Tested the initial end2end testcase successfully against the A224 HMC.

Coverage: 31.649%. Remained the same when pulling 6147121cf38b1e1fb1a161ca6aefda440b7d2bf8 on andy/enable-end2end into<PHONE_NUMBER>1e4363b8578279f909ce449334a64a on master.