Catalyst NSStatusBar with NSStatusBar not working

Hi guys, I've tried to have the NSStatusBar working with a NSStatusBar on a project developed with React Native and Catalyst, but the icon doesn't appear.
Here is the code, it compiles and the app runs successfully, but no icon appear on the top right corner of the screen
import UIKit
import Dynamic

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
  var window: UIWindow?
  var bridge: RCTBridge!

  let statusItem = Dynamic.NSStatusBar.system.statusItem(withLength:Dynamic.NSStatusItem.squareLength)

  func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    let jsCodeLocation: URL

    jsCodeLocation = RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index", fallbackResource:nil)
    let rootView = RCTRootView(bundleURL: jsCodeLocation, moduleName: "myModule", initialProperties: nil, launchOptions: launchOptions)
    let rootViewController = UIViewController()
    rootViewController.view = rootView

    self.window = UIWindow(frame: UIScreen.main.bounds)
    self.window?.rootViewController = rootViewController
    self.window?.makeKeyAndVisible()

    statusItem.button.image = Dynamic.NSImage(named:Dynamic.NSImage.Name("iconbar"))

    return true
  }
}

Do you have any idea what I'm missing?

You are using Swift methods.  For Dynamic, use Objective-C methods
let statusItem =
Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength
Dynamic.NSStatusItem .SSquareStatusItemLength)
etc.

You are using Swift methods.  For Dynamic, use Objective-C methods
let statusItem =
Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength
Dynamic.NSStatusItem .SSquareStatusItemLength)
etc.

@polymerchm thanks for the fast answer.
I've tried what you suggested but couldn't have it working too.
I only changed the 2 lines of code affected by Dynamic and simplified the second one.
import UIKit
import Dynamic

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
  var window: UIWindow?
  var bridge: RCTBridge!

 let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(Dynamic.NSStatusItem.NSSquareStatusItemLength)

    /* same as before */
    // To simplify I tried
    statusItem.button.title = "Text"
    // option 2: statusItem.button.image = Dynamic.NSImage.imageNamed("iconbar")
    return true
  }

But again nothing shows. Did I forget something?

@polymerchm thanks for the fast answer.
I've tried what you suggested but couldn't have it working too.
I only changed the 2 lines of code affected by Dynamic and simplified the second one.
import UIKit
import Dynamic

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
  var window: UIWindow?
  var bridge: RCTBridge!

 let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(Dynamic.NSStatusItem.NSSquareStatusItemLength)

    /* same as before */
    // To simplify I tried
    statusItem.button.title = "Text"
    // option 2: statusItem.button.image = Dynamic.NSImage.imageNamed("iconbar")
    return true
  }

But again nothing shows. Did I forget something?

Not obvious.   Try a float for the argument for the size.   Otherwise, wait for the master to respond.
Lately it occurs to me, what a long strange trip its been  - Garcia/Weir/Lesh/Hunter

On 01/23/2021 7:47 AM tommycarpi<EMAIL_ADDRESS>wrote:

@polymerchm https://github.com/polymerchm thanks for the fast answer.
I've tried what you suggested but couldn't have it working too.

I only changed the 2 lines of code affected by Dynamic and simplified the second one.

import UIKit
import Dynamic

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
  var window: UIWindow?
  var bridge: RCTBridge!

 let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(Dynamic.NSStatusItem.NSSquareStatusItemLength)

    /* same as before */
    // To simplify I tried
    statusItem.button.title = "Text"
    // option 2: statusItem.button.image = Dynamic.NSImage.imageNamed("iconbar")
    return true
  }

But again nothing shows. Did I forget something?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mhdhejazi/Dynamic/issues/9#issuecomment-766101857 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ57EV2TFGFXPYFBM6EESLS3LVSPANCNFSM4WPWVYCQ .

Not obvious.   Try a float for the argument for the size.   Otherwise, wait for the master to respond.
Lately it occurs to me, what a long strange trip its been  - Garcia/Weir/Lesh/Hunter

On 01/23/2021 7:47 AM tommycarpi<EMAIL_ADDRESS>wrote:

@polymerchm https://github.com/polymerchm thanks for the fast answer.
I've tried what you suggested but couldn't have it working too.

I only changed the 2 lines of code affected by Dynamic and simplified the second one.

import UIKit
import Dynamic

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
  var window: UIWindow?
  var bridge: RCTBridge!

 let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(Dynamic.NSStatusItem.NSSquareStatusItemLength)

    /* same as before */
    // To simplify I tried
    statusItem.button.title = "Text"
    // option 2: statusItem.button.image = Dynamic.NSImage.imageNamed("iconbar")
    return true
  }

But again nothing shows. Did I forget something?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mhdhejazi/Dynamic/issues/9#issuecomment-766101857 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ57EV2TFGFXPYFBM6EESLS3LVSPANCNFSM4WPWVYCQ .

This actually works:
let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(-1.0)
Thanks

This actually works:
let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(-1.0)
Thanks

Thank you @polymerchm for the help! Highly appreciated!
For the last bit, NSSquareStatusItemLength is only part of NSStatusItem in Swift (as NSStatusItem.squareLength), but it's just a global constant in ObjC. That's why you needed to use the actual constant value (-1) as we can't access ObjC constants by name.
P.S. I usually prefer defining those constants in Swift (instead of using the actual values). You know, it makes the code a bit cleaner and easier to understand.
let NSSquareStatusItemLength = -1.0
let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(NSSquareStatusItemLength)

Thank you @polymerchm for the help! Highly appreciated!
For the last bit, NSSquareStatusItemLength is only part of NSStatusItem in Swift (as NSStatusItem.squareLength), but it's just a global constant in ObjC. That's why you needed to use the actual constant value (-1) as we can't access ObjC constants by name.
P.S. I usually prefer defining those constants in Swift (instead of using the actual values). You know, it makes the code a bit cleaner and easier to understand.
let NSSquareStatusItemLength = -1.0
let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(NSSquareStatusItemLength)

How did you know the constant was -1?   Is that documented anywhere?
Lately it occurs to me, what a long strange trip its been  - Garcia/Weir/Lesh/Hunter

On 01/23/2021 9:20 AM Mhd Hejazi<EMAIL_ADDRESS>wrote:

Thank you @polymerchm https://github.com/polymerchm for the help! Highly appreciated!

For the last bit, NSSquareStatusItemLength is only part of NSStatusItem in Swift (as NSStatusItem.squareLength), but it's just a global constant in ObjC. That's why you needed to use the actual constant value (-1) as we can't access ObjC constants by name.

P.S. I usually prefer defining those constants in Swift (instead of using the actual values). You know, it makes the code a bit cleaner and easier to understand.

let NSSquareStatusItemLength = -1.0
let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(NSSquareStatusItemLength)

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mhdhejazi/Dynamic/issues/9#issuecomment-766144293 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ57EUGEZVFVSGJG45XSDTS3MAONANCNFSM4WPWVYCQ .

How did you know the constant was -1?   Is that documented anywhere?
Lately it occurs to me, what a long strange trip its been  - Garcia/Weir/Lesh/Hunter

On 01/23/2021 9:20 AM Mhd Hejazi<EMAIL_ADDRESS>wrote:

Thank you @polymerchm https://github.com/polymerchm for the help! Highly appreciated!

For the last bit, NSSquareStatusItemLength is only part of NSStatusItem in Swift (as NSStatusItem.squareLength), but it's just a global constant in ObjC. That's why you needed to use the actual constant value (-1) as we can't access ObjC constants by name.

P.S. I usually prefer defining those constants in Swift (instead of using the actual values). You know, it makes the code a bit cleaner and easier to understand.

let NSSquareStatusItemLength = -1.0
let statusItem = Dynamic.NSStatusBar.systemStatusBar.statusItemWithLength(NSSquareStatusItemLength)

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mhdhejazi/Dynamic/issues/9#issuecomment-766144293 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ57EUGEZVFVSGJG45XSDTS3MAONANCNFSM4WPWVYCQ .

I found it on a post on StackOverflow, so I guess it should be documented somewhere, but I couldn't find it in the official documentation.

I found it on a post on StackOverflow, so I guess it should be documented somewhere, but I couldn't find it in the official documentation.

Here's a resource.    But it says is -2.    Must be anything negative is value.   I guess.
Lately it occurs to me, what a long strange trip its been  - Garcia/Weir/Lesh/Hunter

On 01/23/2021 12:00 PM tommycarpi<EMAIL_ADDRESS>wrote:

I found it on a post on StackOverflow, so I guess it should be documented somewhere, but I couldn't find it in the official documentation.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mhdhejazi/Dynamic/issues/9#issuecomment-766170855 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ57EROZVZ44PEPIBQSLE3S3MTFXANCNFSM4WPWVYCQ .

Here's a resource.    But it says is -2.    Must be anything negative is value.   I guess.
Lately it occurs to me, what a long strange trip its been  - Garcia/Weir/Lesh/Hunter

On 01/23/2021 12:00 PM tommycarpi<EMAIL_ADDRESS>wrote:

I found it on a post on StackOverflow, so I guess it should be documented somewhere, but I couldn't find it in the official documentation.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mhdhejazi/Dynamic/issues/9#issuecomment-766170855 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQ57EROZVZ44PEPIBQSLE3S3MTFXANCNFSM4WPWVYCQ .

I usually check how it's defined in the SDK headers. In Xcode, File -> Open Quickly... and type the constant name.
This is how NSSquareStatusItemLength is defined:

I usually check how it's defined in the SDK headers. In Xcode, File -> Open Quickly... and type the constant name.
This is how NSSquareStatusItemLength is defined:

Thanks. Great resource.
Sent from Xfinity Connect App
------ Original Message ------
From: Mhd Hejazi
To: mhdhejazi/Dynamic
Cc: Steven Pollack, Mention
Sent: January 23, 2021 at 3:17 PM
Subject: Re: [mhdhejazi/Dynamic] Catalyst NSStatusBar with NSStatusBar not working (#9)
I usually check how it's defined in the SDK headers. In Xcode, File -> Open Quickly... and type the constant name.
This is how NSSquareStatusItemLength is defined:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/mhdhejazi/Dynamic/issues/9#issuecomment-766180632), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ABQ57ETDSF2XA3ID2WSSFNDS3M4GPANCNFSM4WPWVYCQ).

Thanks. Great resource.
Sent from Xfinity Connect App
------ Original Message ------
From: Mhd Hejazi
To: mhdhejazi/Dynamic
Cc: Steven Pollack, Mention
Sent: January 23, 2021 at 3:17 PM
Subject: Re: [mhdhejazi/Dynamic] Catalyst NSStatusBar with NSStatusBar not working (#9)
I usually check how it's defined in the SDK headers. In Xcode, File -> Open Quickly... and type the constant name.
This is how NSSquareStatusItemLength is defined:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (https://github.com/mhdhejazi/Dynamic/issues/9#issuecomment-766180632), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ABQ57ETDSF2XA3ID2WSSFNDS3M4GPANCNFSM4WPWVYCQ).

Hi, @tommycarpi, even though it's not completely related to this thread, I'd just like to ask if you're still able to build your React Native app with Catalyst. I'm trying to do exactly the same thing, i.e. use NSStatusBar with a RN app using Catalyst, but the build failed due to the Typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t') error in Folly-RCT as seen at https://github.com/facebook/flipper/issues/834 None of the solutions posted there seems to work for me. Really appreciate it if you could help on how you managed to build the app. Thanks!

Hello @x-ji, I had to disable flipper too, but did not edit Time.h.
Here is an extract of my podfile, I commented it all:
  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  # add_flipper_pods!
  # post_install do |installer|
  # flipper_post_install(installer)
  #end

Hi @tommycarpi thanks for the info! Would it be fine for you to take a look at your Podfile.lock and see whether you have RCT-Folly listed there, and if yes, what version it has? I wonder whether the issue could have been caused by a particular version of this pod, as people seemingly have discussed in the aforementioned issue. And I wonder which iOS version your project specifies as the build target. Thanks again!

Hi @x-ji ,
iOS 13+
macOS 11+
Here is my Podfile.lock for RCT-Folly
- RCT-Folly (2<IP_ADDRESS>):
    - boost-for-react-native
    - DoubleConversion
    - glog
    - RCT-Folly/Default (= 2<IP_ADDRESS>)
  - RCT-Folly/Default (2<IP_ADDRESS>):
    - boost-for-react-native
    - DoubleConversion
    - glog

let me know if you need anything more specific.

Hi @tommycarpi thanks for the prompt reply. I see that my RCT-Folly has the version 2<IP_ADDRESS>-v2 so it seems to be much newer. I tried to specify your version in my Podfile, but the following error occurs:
[!] There are multiple dependencies with different sources for
`RCT-Folly` in `Podfile`:

- RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
- RCT-Folly (= 2<IP_ADDRESS>)

I guess the version is somewhat locked by React Native itself. Could I know what version of React Native you are using for the project? Guess I'll try to build my project with that version of RN as well. Thanks!

Hello @x-ji, I'm running RN 0.64.2!
Cheers


Missing slash on endpoint concatenation

Found in query for getting proposal vote, there's a missing slash on the endpoint concatenation which results an invalid endpoint.
https://github.com/cosmology-tech/interchain/blob/aa89c361f19d605022748465f10cfa832b3e37a0/src/codegen/cosmos/gov/v1/query.lcd.ts#L50
https://github.com/cosmology-tech/interchain/blob/aa89c361f19d605022748465f10cfa832b3e37a0/src/codegen/cosmos/gov/v1beta1/query.lcd.ts#L50

Also for deposit queries:
https://github.com/cosmology-tech/interchain/blob/aa89c361f19d605022748465f10cfa832b3e37a0/src/codegen/cosmos/gov/v1/query.lcd.ts#L76
https://github.com/cosmology-tech/interchain/blob/aa89c361f19d605022748465f10cfa832b3e37a0/src/codegen/cosmos/gov/v1beta1/query.lcd.ts#L76


Missing semicolon.

Addition of a missing semicolon in the code.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Duplicate of #28845


Sat queues

Note: This PR shouldn't be merged.
This PR has a script that runs the end_to_end_benchmark script and measures + reports out some other information about thread usage.
To run:

pull from this branch
feel free to adjust the variables in src/logging_constants.hpp
get redis running
deploy a model-container (for instance, run ./bench/setup_noop_bench.sh)
change the cifar_data_path, benchmark_report_path, and thread_counts_report_path variables in config.json. If you're not using the set_noop_bench.sh script, change the model_version and model_name fields to match that of the model-container you just deployed
./configure --release && cd release && make
./src/benchmarks/end_to_end_bench -f ../config.json

The script ends with a std::terminate() so don't be surprised if you see libc++abi.dylib: terminating \n Abort trap: 6 at the end.
The output thread info report  exist in the location specified by thread_counts_report_path. Go ahead and open it. You should see something like:
---Configuration---
num_batches: 10000
poisson_delay: false
request_batch_delay_micros: 10
num_threads: 1
sleep_afer_send_time_sec: 5
latency_objective: 25000
benchmark_report_path: /Users/nishadsingh/Documents/clip/thread_reports/r_sendrate_10_numbatch_250000.txt
model_version: 1
cifar_data_path: /Users/nishadsingh/Documents/clip/dataset/cifar-100-binary/test.bin
report_delay_seconds: -1
model_name: bench_noop
prevent_cache_hits: true
request_batch_size: 1
thread_counts_report_path: /Users/nishadsingh/Documents/clip/thread_reports/t_sendrate_10_numbatch_250000_test.txt
-------------------
SHORT_CIRCUIT_TASK_EXECUTOR: 0, SEND_REQUESTS: 1, IGNORE_OVERDUE_TASKS: 0, USE_FIXED_BATCH_SIZE: 0, FIXED_BATCH_SIZE: 5

-----------------------------------Number of times each thread executed each event------------------------------------

thread id       bench script        tasks completed     timer expired       response ready      bench continuation
----------------------------------------------------------------------------------------------------------------------
                1 unique threads    13 unique threads   1 unique threads    17 unique threads   18 unique threads

0x70000f0dc000: 0                   7                   0                   101                 238
0x70000eed0000: 0                   880                 0                   319                 1144
0x70000f2e8000: 0                   1                   0                   3                   18
0x70000f471000: 0                   0                   0                   0                   4
0x70000ef53000: 0                   125                 0                   9055                283
0x70000ee4d000: 10000               12                  0                   1                   11
0x70000f889000: 0                   0                   0                   1                   0
0x70000f265000: 0                   0                   0                   25                  11
0x70000ecc4000: 0                   0                   10000               0                   0
0x70000f4f4000: 0                   0                   0                   1                   0
0x70000f059000: 0                   121                 0                   290                 162
0x70000f15f000: 0                   7                   0                   5                   74
0x70000f98f000: 0                   0                   0                   0                   1
0x70000f36b000: 0                   3                   0                   7                   3
0x70000efd6000: 0                   172                 0                   166                 8026
0x70000f1e2000: 0                   2                   0                   16                  15
0x70000f3ee000: 0                   1                   0                   5                   5
0x70000f577000: 0                   0                   0                   2                   1
0x70000f5fa000: 0                   0                   0                   0                   2
0x70000f783000: 0                   0                   0                   1                   1
0x70000f700000: 0                   1                   0                   2                   0
0x70000f806000: 0                   0                   0                   0                   1
0x70000f90c000: 0                   1                   0                   0                   0

Some results of running the script with different parameters have been documented in "Thread creation results" under the Performance Benchmarking folder on our Google Drive.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/572/
Test FAILed.


Add block-protection component

This function solves the problem (这个功能解决的问题)
For confidential content, it is forbidden to take photos or screenshots, and watermarks can be added; In case of leakage, it is convenient to confirm the source
Expected API (期望的 API)
Like : https://procomponents.ant.design/components/water-mark
Of course, it's best to disable ctrl-s to save the page content. It may be difficult, but I hope Naive will become more and more perfect!

We may implement it later.

I will have a try.


Request example dataset

Hi  the ohioT1DM dataset now is not public. I request the data use agreement for the ohioT1DM dataset. But I am not sure they will approve, as I am just a student, not a researcher. I wonder if you could share another example dataset on Github.

Hi there,
Thanks for you interest in the repo. Unfortunately, due to the restriction imposed by OhioT1DM application, we, as the applicants, could not redistribute the dataset.
There are few other ways to use the code.

If you would like to use OhioT1DM, I encourage you to apply with the help of your academic advisor, who is a PI. There is no cost for the application, so I think this is the best solution.
If you just want to test some time-series data, there are readily available time-series data in the author implemented TImeGAN repo.

Hope this helps!

My friend @yixiangD I also have the same problem as my colleague. However, I do not know if you could share the dataset with us but with a line of record, I have no problem that the only record is with fictitious data (not to violate the sensitive data), what I want is that the folder that I must put in "data" has the same structure and formats. The truth is that I am a student who loves the world of deep learning and I am fascinated with your project.
Thank you very much in advance for reading me.

Hi there,
Apologies for the late response. I recommend exploring some T1D simulators for example UVA/Pandova (based on a compartment model) to generate glucose data. One possibly useful repository on GitHub is simglucose. Good luck!


(spike) Follow the style of commit message

Please following the Semantic Commit Message to write your commit messages & branch name.
Ex:
Branch: feat/openai-integration
Commit Message: feat: store message to database.

Shared in 2023/11/17.


fix: certificate renewal

Description
Fix the renewal of the certificates on the VPS.
Fixes

docs.nantral-platform.fr should not be handled by us.
We should use the prod.yml file when reloading Nginx.

TODO:

[x] Adjust the crontab for the new location of the script.
[ ] Make sure that the script does not output to /etc/letsencrypt/nantral-platform.fr

Wrong account dummy


crossing ids

Related to #222 - maintaining the unique, range-defined aggregated_crossings_id in the crossings table is awkward, and becomes more difficult when we bring in features with UUIDs from CABD (dams).
Options:

Keep aggregated_crossings_id but support text based ids as input
It appears we are not actually using the intarray extension on the crossing ids - arbitrary types within the upstream/downstream arrays may be fine.

Use serial integers autocreated on creation of bcfishpass.crossings
This would make things super simple but the ids would change on every model run. Fine if they are only used internally.

Use unique integers based on network position
Combining blue_line_key and downstream_route_measure (to nearest mm) as per segmented_stream_id, but as an integer

For options 2 and 3, applications can include logic to label a crossing with the source id - ie PSCIS stream_crossing_id, bcfishpass modelled_crossing_id, CABD cabd_id etc.   Usage of the database is more cumbersome because the indexed ids (ie, list of crossings upstream or downstream) will no longer correspond to source id values, they would have to be cross referenced - ie it would no longer be possible to tell exactly which PSCIS barriers are downstream of a given crossing with a quick scan of barriers_anthropogenic_dnstr

https://github.com/smnorris/bcfishpass/commit/8ac22d59c7e48c9a06700437de804f447f3be7bd changes aggregated_crossings_id to text type as per option 1.

8ac22d5 changes aggregated_crossings_id to text type as per option 1.

I agree that this is best solution at this point - keeps things nice and easy for stream crossings, while also allowing for the CABD ids and keeping everything stable. If there are hiccups in the future and you want to re-evaluate, let me know.

There are a few more changes required to support the text based ids - I'm working through a test model run to find the issues.
It should work but I am not yet certain.

For reference, here is the code for option 3 - unique id generation using blkey and measure :
https://github.com/smnorris/bcfishpass/blob/main/scripts/model/sql/barriers_gradient_05.sql#L16
(((b.blue_line_key::bigint + 1) - 354087611) * 10000000) + round(b.downstream_route_measure::bigint) as barrier_load_id

Everything seems to be working with option 1.
Any references to the Elko dam in various WCRP queries need to be updated with the new id, hopefully that is the last change.


Update value example and description to include AMP

To quote from the lnd 0.13-beta announcement:

AMP is the successor to the widely used “keysend” protocol as it enables payments to be sent in multiple shards similar to Multi-Path Payments (MPP). Unlike MPP, the receiver cannot pull the payment until all the payment shards arrive. This trait makes the new payment type more useful for payment-splitting aware probing.

Nothing in the specification has to change to support AMP. Just specify amp as the method instead of keysend.
To quote from the announcement again:

Sending a spontaneous AMP payment requires specifying the amount and pubkey of the destination

I have linked to Multipath Payments page of Bitcoin Optech. It includes all relevant information.

Additional resources on AMP that might be useful:

https://wiki.ion.radar.tech/tech/research/atomic-multi-path-payments
https://bitcoin.stackexchange.com/a/89476

Looks great.


Use Azure AD workload identity with CSI Secrets Store driver example needs significant clarification

The example for how to use Azure AD workload identity with CSI Secrets Store driver seems like it's missing steps; at a minimum it needs significant clarification.
Under step 5, it says:

Then add the federated identity credential by first copying and pasting the following multi-line input in the Azure CLI.
cat < body.json
{
"name": "kubernetes-federated-credential",
"issuer": "${SERVICE_ACCOUNT_ISSUER}",
"subject": "system:serviceaccount:${SERVICE_ACCOUNT_NAMESPACE}:${SERVICE_ACCOUNT_NAME}",
"description": "Kubernetes service account federated credential",
"audiences": [
"api://AzureADTokenExchange"
]
}
EOF

ok, I'm creating a body.json file, presumably for the next step.
Next it says:

Next, use the az identity federated-credential create command to create the federated identity credential between the Managed Identity, the service account issuer, and the subject. Replace the values resourceGroupName, userAssignedIdentityName, and federatedIdentityName.
az identity federated-credential create --name federatedIdentityName --identity-name userAssignedIdentityName --resource-group resourceGroupName --issuer ${AKS_OIDC_ISSUER} --subject ${SERVICE_ACCOUNT_NAMESPACE}:${SERVICE_ACCOUNT_NAME}"

Concern 1:  What happened to the body.json file that I created earlier in this step?  It's never referenced.  Do I need to create it?  Or is that functionality superseded by the az identity federated-credential create command?
This is followed by step 6:

Deploy your secretproviderclass and application by setting the clientID in the SecretProviderClass to the client ID of the Azure AD application.
clientID: "${APPLICATION_CLIENT_ID}"

Concern 2:   This step also is missing something.  a)  the env variable ${APPLICATION_CLIENT_ID} is not referenced anywhere else on the page.  b) There should be a full example of a working SecretProviderClass (just like is provided with the other examples).
EDIT:  Concern 3: After posting the above, I also noticed that step 3 also references $APPLICATION_CLIENT_ID, which as I noted, is never set.

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

ID: ec9ff712-aa4c-4e95-ba96-2405010d9f83
Version Independent ID: f553a5a4-a20f-8efd-3712-e64112c35676
Content: Provide an access identity to the Azure Key Vault Provider for Secrets Store CSI Driver for Azure Kubernetes Service (AKS) secrets - Azure Kubernetes Service
Content Source: articles/aks/csi-secrets-store-identity-access.md
Service: container-service
GitHub Login: @Nickomang
Microsoft Alias: nickoman

@larryclaman
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@Nickomang
Can you please check and add your comments on this doc update request as applicable.

Document was updated.  closing this issue


Sleek won't start at win 10

Sleek version 1.1.7 / 1.1.8-rc2 and Microsoft Store version won't start.
Terminal output have error:
Persisted data located at: C:\Users\user\AppData\Local\Programs\sleek\user-preferences.json TypeError: Cannot create property 'functionName' on string 'Error in getTranslations(): TypeError: Cannot read properties of undefined (reading 'translation')'     at createWindow (C:\Users\user\AppData\Local\Programs\sleek\resources\app.asar\src\main.js:896:24) [12180:0404/103117.376:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is

@kden416 thanks for reporting this. I installed it from Windows Store and didn't see any error popping up. Are upgrading from an old version? And if so would mind sharing your preferences file with me? It's located at C:\Users\user\AppData\Local\Programs\sleek\user-preferences.json and you can either post it here or send it to ransome [at ] duck dot com.
Also can you backup this file and then delete the original one and try to start sleek again?

user-preferences.json deletion has no effect
v1.1.8-rc.3 started, but blank window with controls.

user-preferences.json:
{   "width": 1100,   "height": 700,   "horizontal": 160,   "vertical": 240,   "maximizeWindow": false,   "darkmode": true,   "notifications": true,   "useTextarea": false,   "compactView": false,   "matomoEvents": false,   "drawerWidth": "500",   "showDueIsPast": true,   "showDueIsFuture": true,   "showDueIsToday": true,   "showHidden": false,   "showCompleted": true,   "sortCompletedLast": false,   "invertSorting": false,   "zoom": "100",   "tray": false,   "showEmptyFilters": true,   "sortByFile": false,   "dismissedNotifications": [],   "dismissedMessages": [],   "hideFilterCategories": [],   "files": [],   "sortBy": [     "priority",     "due",     "contexts",     "projects",     "date"   ],   "selectedFilters": [] }

@kden416 what language did you set in Windows itself?

@ransome1 my language is russian

That's odd. Let's see if I can reproduce this somehow.

@kden416 are you experiencing the same issues when you switch your language to english?

@ransome1 apparently, problem with system language. If I set english as system language, all works fine with 1.1.7 and 1.1.8-rc2 versions.

I think the problem is that the auto detection of the russian language doesn't work and that the default fallback (english) for some reason is not being set. But this I think I can fix somehow. I will add this to the backlog, thanks for reporting this.
As a temporary workaround you can do what you already did: Start sleek with your Windows set to english (like this sleek will detect the english language and persist it in its settings) and then switch back to Russian.

Thank you for this amazing app!

tested on Sleek 1.2.1 on mac os.
~/Library/Application\ Support/sleek/user-preferences.json
In the user preference json, there is "language": "ko" which is automatically added by system.
Same error is occurred
TypeError: Cannot read properties of undefined (reading 'translation')
    at createWindow (/Users/casper/Tools/sleek/src/main.js:629:75) {
  functionName: 'createWindow'
}

To fix issue as a workaround, change language value in ~/Library/Application\ Support/sleek/user-preferences.json "language": "en" . Now It works.

@kden416 @7loro could you guys take a look at this test release (https://github.com/ransome1/sleek/releases/tag/v1.2.2-rc.3) and give me a feedback if it solves the issue on your side?

@kden416 @7loro could you guys take a look at this test release (https://github.com/ransome1/sleek/releases/tag/v1.2.2-rc.3) and give me a feedback if it solves the issue on your side?

tested on Sleek 1.2.2-rc.3 on mac os.
Now it works fine 👍
When I install app, In the user preference json (~/Library/Application\ Support/sleek/user-preferences.json), there is "language": "en" which is automatically added by system even if my system language is korean. There is no crash now.

I'm closing here as this has been resolved.
@7loro if you have some time on your hands and would like to use sleek in your native language, you can simply translate this file (https://github.com/ransome1/sleek/blob/master/src/locales/en/translation.json) and send me a pull requestes. Makes you a contributor and sleek one language richer :)


PR: Fix on the fly completions inside parens and add test

Description of Changes

[x] Wrote at least one-line docstrings (for any new functions)
[x] Added unit test(s) covering the changes (if testable)

[x] Included a screenshot or animation (if affecting the UI, see Licecap)

Word under cursor selection fails (Qt issue 🤷♂?) if the cursor is next to a parens. Added a workaround for this and a test.
Issue(s) Resolved

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

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

Hi @its-dhung could you test if this PR fixes the issue you saw?
Thanks!

@ccordoba12 I checked and it works for [ ] and { } it seems the issue is with parens only

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

In the file spyder/plugins/editor/widgets/tests/test_introspection.py:

Line 252:5: E303 too many blank lines (2)


NoneType object is not an iterator

Fetching domain organisation for google.com using WHOIS.

WHOIS lookup done, performing horizontal enumeration for {if found}: Google LLC

[*] Extracting from: https://viewdns.info/reversewhois/?q=Google+LLC
[!] Couldn't send query, error: {e} exiting...
Traceback (most recent call last):
File "fransRecon.py", line 152, in
sys.exit(main(sys.argv[1]))
File "fransRecon.py", line 147, in main
horizontalEnum()
File "fransRecon.py", line 116, in horizontalEnum
next(scrapedData)
TypeError: NoneType object is not an iterator

Hi,
Which python version are you using?

I am using python 2.7

Might be that viewdns is catching you scraping. Did it work for other domains? Is this the only domain you've tried? Maybe PM me on twitter then we can debug properly.
I will also run the same enumerating for company when I get home.

I'm unable to reproduce your issue.
You must be missing dependencies. Either on python or the bash side. Try to put some prints in to debug.

Works flawless.

Closing the issue as I cannot reproduce. Not a bug in the code.

Ok  i will check the dependencies .

Perfect, I've added the directory structure.
Perhaps check that you replicate it fully.

pip install pandas
The folder structure is as follow once installed:
✘ ⚡ root@pentest  ~/Tools/fransRecon  ls -la
total 96
drwxr-xr-x  4 root root  4096 May 27 18:29 .
drwxr-xr-x 14 root root  4096 May 26 12:48 ..
-rwxr--r--  1 root root  5545 May 26 22:17 fransRecon.py
drwxr-xr-x  2 root root  4096 May 26 21:00 subbrute
drwxr-xr-x  3 root root  4096 May 26 21:00 Sublist3r
-rwxr-xr-x  1 root root 36120 May 26 21:00 sublist3r.py
-rw-r--r--  1 root root 36642 May 26 21:00 sublist3r.pyc

Having a similar issue,
Python v2.7.15+
I have all the dependencies.


Clarify / Support default entrypoint with vault webhook

The readme says this about the mutating webhook:

The command of the container has to be explicitly defined in the resource definition, the container's default ENTRYPOINT and CMD will not work (to overcome this is a work-in-progress).

A brief look at the code, and I really can't say why this would be the case, but I believe you that it is.
Is there a better explanation to why adding an init container changes the entrypoint of existing primary containers? Is there a milestone or any progress toward working around that limitation? Thanks!

Hi Craig, this is because the webhook is not just inserting the init-container but also rewrites (or adds if there isn't any) command and args parameters in the PodSpec, directly from the blog:

The init-container also changes the command of the container to run vault-env instead of the application directly. vault-env starts up, connects to Vault (using the Kubernetes Auth method, checks that the environment variables have a reference to a value stored in Vault (vault:secret/....) and replaces that with the value read from Vault’s Secret backend. After that, vault-env executes (with syscall.Exec()) the original process, which can use the secret that was originally stored in Vault.

So since we overwrite the "implicit" entrypoint baked in directly to the Docker image of your application, it is required to make it "explicit". I hope this clarifies your question.

@captncraig Let me know if you have any questions (reopen the issue).


Schema should show what full error response looks like

all error code bodies look the same

Should show what each error looks like
e.g.
{
  "title": "Authentication credentials were not provided.",
  "http_status": 401,
  "details": {
    "content": {
      "message": "Authentication credentials were not provided.",
      "code": "not_authenticated"
    }
  }

Note, if different message returned for the same error code, just show string in the value field. At a minimum should always show the http_status value in the schema examples

Sadly its a bit trickier than the same message on all endpoint
400
The server did not understand the request or filter parameters (for endpoints with URL filtering params)
The server did not understand the request (endpoints with no URL params)
401
The client needs to authenticate (all endpoints)
403
The client does not have access to this resource (/taxii2/, /{api-root}/,/{api-root}/status/{status-id}/
The client does not have access to this collections resource (/{api-root}/collections/, /{api-root}/collections/{id}/)
The client does not have access to this manifest resource(/{api-root}/collections/{id}/manifest/)
The client does not have access to this objects resource (All GET object endpoints)
The client does not have access to write to this objects resource (POST /{api-root}/collections/{id}/objects/{object-id}/)
The client has access to the object, but not to delete it (DELETE /{api-root}/collections/{id}/objects/{object-id}/)


Fixed Python dependencies from scratch, reverted to buster from sid, using golang image to avoid system python

Codecov Report
Base: 28.35% // Head: 2.79% // Decreases project coverage by -25.56% :warning:

Coverage data is based on head (268f79c) compared to base (69a58bc).
Patch coverage: 0.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #53       +/-   ##
==========================================
- Coverage   28.35%   2.79%   -25.56%
==========================================
  Files          22       5       -17
  Lines        2469     715     -1754
==========================================
- Hits          700      20      -680
+ Misses       1692     692     -1000
+ Partials       77       3       -74

Impacted Files
Coverage Δ

store-and-forward/bubblesgrpc-server/main.go
0.00% <0.00%> (ø)

sense-go/main.go

sense-go/modules/a2dconverter/adc_mock.go

sense-go/globals/globals.go

sense-go/modules/camera/picture_upload_mock.go

sense-go/modules/a2dconverter/etape.go

sense-go/modules/distancesensor/hcsr04_mock.go

sense-go/modules/camera/uploader.go

sense-go/messaging/message.go

sense-go/modules/phsensor/ezo_mock.go

... and 8 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


App crashing without stacktrace!

Hi, im trying to use the library and this is my code:
Box(
        modifier = Modifier
            .haze(appState.hazeState)
            .fillMaxSize()
            .statusBarsPadding()
            .imePadding()
    ) {
            Column(modifier = Modifier
                .hazeChild(
                    state = appState.hazeState,
                    shape = RoundedCornerShape(8.dp),
                    style = HazeDefaults.style(
                        backgroundColor = Red
                    ),
                )
                .fillMaxWidth()
            ) {
                Text(text = snackTitle, fontSize = 16.sp, fontWeight = FontWeight.Bold,color = Color.White)
                Text(text = snackState.currentSnackbarData?.visuals?.message.orEmpty(),color = Color.White, fontSize = 13.sp)
            }
    }

But app killing proccess without any stacktrace but:
Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x770225b30ee8 in tid 10310 (RenderThread), pid 10273

Im getting this in 0.9.0-alpha03 version
it seems its ok in 0.7.4

This sounds like a device specific issue. What device are you using?

Also, are you trying to use a single HazeState for the entire app? HazeState's should be used by exactly 1 Modifier.haze instance.

Im using it on android sdk emulator Android 14 x86_64
Yes i just used the Modifier.haze just there

Have you reproduced this anywhere else? I can't reproduce this on any device, or the Mac arm64 emulator. Sounds like it might be an emulator issue.

I have the problem in A52s android 14 too
But wait, am i using correctly?
when i putting column inside a composable which have haze modifier this problem is producing
im just trying to make a composable with blurred background

Ah no, the haze and hazeChild can not be descendants of each other. Check the samples.

im just trying to make a composable with blurred background

"just trying" 🙄

@chrisbanes can this be included in the documentation?

I already plan on doing a full refresh of the docs to update them for 0.9.0. Even better though, we now throw an exception in this situation via #357


define dedicated GTS topic

As part of transition from GTS to WIS2, it is important to be able to clearly articulate what data is coming from GTS vs. WIS2.

Option 1. Something "clever" using https://github.com/wmo-im/GTStoWIS2/blob/main/GTStoWIS2/TableCCCC.json
and https://github.com/wmo-im/GTStoWIS2 . TTAAii will end up in something like cache/a/wis2/mus/mauritius_plaisance/data/core/weather/surface-based-observations/upperair
for TTAA FIMP
Option 2. Something "basic" TTAAii mapped directly onto a topic like cache/a/gts/TTAAii . Assuming here that GTS -> WIS2 gateway will be operated by Global Cache (JMA? DWD? ...)
Option 1 is more elegant (debatable...) but create yet another table to maintain and is prone to error.
Option 2 is plain and simple. When data is not sent by the source using WIS 2 solution, we keep it on a GTS like topic.
Some name and shame benefit as well. And if you want to receive TTAAii data subscription is obvious.

I suppose that during the transition we want to have GTS islands amid the WIS 2.0 sea and the inhabitants of those islands shall see no difference. For them, the whole world should seem to be GTS. Therefore I think that the @golfvert 's option two is the only way. In option 1, part of the AHL (abbreviated heading line) is lost and is not recoverable. The conversion of AHL to the WIS 2.0 topic is still a valuable part of the transition. However, I think that GTS gateways shall advertise the data with topics like cache/a/wis2/gts/TTAAii_CCCC_YYGGgg_BBB (accidentally, in ISO 3166 no country has code "GTS" :-) ). But it can be also origin/a/gts/TTAAii_CCCC_YYGGgg_BBB, the point is, that this way another GTS gateway could seamlessly send the bulletin to a centre on a GTS island.
On second thought, the topic is not so important, it could even be just origin/a/gts, important is that the AHL (TTAAii_CCCC_YYGGgg_BBB) is in the data_id property of the notification (gts/TTAAii_CCCC_YYGGgg_BBB or wis2/gts/TTAAii_CCCC_YYGGgg_BBB or something like that).
PS: All this presumes that the GTS bulletins will be sent without AHL in the data (payload), which means that GTS gateway will transform the following GTS bulletin:
TEST01 TEST 050600 CCA
correction of a testing bulletin

into
correction of a testing bulletin

sent with data_id containing TEST01_TEST_050600_CCA and (possibly) to a topic containing the same.
If that is not true, i.e. if the GTS gateways sent the whole bulletin as the payload their operation would be even simpler. That would make the topic (and data_id) unimportant, it could even be a constant value (gts).

The use case here is "I have completed my transition from GTS to WIS2 I want to receive data from members still (and only on the GTS). So, it is ONLY GTS -> WIS2. As Kai points out WIS2 -> GTS in another can of worms.
If we consider that GTS data (GTS not yet available on WIS2) should be available for GTS users only, then having somehow to subscribe to TTAAii is not really a problem and is very simple (I think).
As a NMHS, I know which TTAAii I am/was receiving on the GTS, if I have a 1-to-1 mapping to a topic hierarchy, it is very easy...
If we do that we accept that non-GTS users (they have no clue on TTAAii) will not get GTS data (same definition as above) during the migration. It seems acceptable to me and it is yet another potential motivation for the migration.

I agree that we are looking at bringing the GTS data into WIS2 during transition phase.
Since we want to be open in the WIS2 world and don't want to discourage new users, I would also prefer to have speaking topics (option 1). But a separation in the topic hierarchy is certainly useful (e.g. .../wis2/... versus .../gts/...).
However, we must also consider that centers that have already been migrated no longer want to send data to the GTS. This means that the GTS data of these centers would no longer be available to centers that have not yet been migrated. So we should think about a return path to the GTS (only during transition phase with fixed ending date). As far as I know, there were file naming conventions for the old GTS data according to which TTAAii is included in the file name. If this is correct this should also make it possible to assign the old TTAAii products to speaking topics. In my opinion it may be acceptable that newer products (without TTAAii) then only would be available in WIS2.
AHL in the data (payload) would be useful.

I think, that for GTS->WIS2 transition we do not need a special topic for the GTS data, on the contrary, we should try to seamlessly categorise all data into the one canonical data_id/topic hierarchy. The WIS2 early adopters shall be able to subscribe to e.g. */a/wis2/*/*/data/core/weather/surface-based-observations/upperair/# without taking care about old GTS AHLs and file naming conventions.
I thought that the purpose of this task is to define a specific branch in the tree to advertise GTS data in a way that allows WIS2->GTS data forwarding to support not yet migrated centres. As notifications are quite "cheap" my understanding was that the role of the GTS gateways will be to publish notifications about GTS data to this secondary branch even if the same data is already published in the main branch by the originating centre.
@antje-s You are right that there is a file naming convention that allows assigning AHL to the file name. If I understand you right, you are proposing that the procedure for GTS gateways could be to use the main data_id branch (the "speaking topic") and just append a GTS-like file name at the end of it (which is more or less the current procedure in the WIS2 pilot). @tomkralidis would this be a "dedicated GTS topic" for you? The disadvantage that I see in such a solution is that it requires client-side filtering. As far as I know, MQTT does not allow partial wildcards i.e. subscription is not possible to */a/wis2/*/*/data/core/weather/surface-based-observations/upperair/A_USDL#, am I right?

In other words, @tomkralidis @golfvert , could you clarify why we want to "clearly articulate what data is coming from GTS"? Is it to:

ease operation of GTS gateways?
ease the definition of subscriptions to people familiars with GTS?
other reasons?

BTW, point 2 would "cement" the use of AHLs in WIS2, which seems counterproductive.

If we don't have the same understanding of the problem to solve, it is going to be hard :)
We shouldn't mix the two issues GTS -> WIS2 and WIS2 -> GTS.
Here it is about GTS -> WIS2 (aka - I have completed my transition from GTS to WIS2 I want to receive data from members still (and only on the GTS) ).
We have to open a different issue for WIS2 -> GTS
@tomkralidis if you agree on the point above, can we rename the issue as something clear about GTS -> WIS2 transition.

@josusky the main objective for me is to make the GTS -> WIS2 operations as easy as possible for gateways operators and ex-GTS users (they have done the WIS2 and avoid having to maintain "special stuff" for that purpose.
So the Option 1. in my first comment we will need to maintain these mapping tables. And mauritius_plaisance may not be the final centre_id for this center. So, it creates (potentially) another difficulty.
I am making the assumption that users of "GTS->WIS2 gateway" are ex-GTS users and know what a TTAAii is. This is obviously debatable. But, in the grand scheme of things, it seems reasonable to me.

@antje-s no, no, if we have a separate branch in the topic hierarchy for GTS data, the notifications for the same data shall be published also in the normal (speaking) branch.

@josusky You're speaking about two messages in two different topics for the same data?

For publishing to normal (speaking) branch we also would need the mapping table CCCC to country/centre-id....
The values contained in TableA (mapping TTAAii to topic) could also be different to the WIS2 branch topics. Here, too, a regular comparison would be important. That's why, from my point of view, a separate branch has advantages. But the separate branch should be speaking, so that users can get along without instructions and also use these data.

@kaiwirt yes, the WIS2 nodes shall publish notifications (messages) under normal/pretty topics (and with pretty data_id) not cluttered with any TTAAii_CCCC_YYGGgg_BBB relics, while GTS gateway could use different ones. Otherwise, we would not need a specific topic for GTS data.
@antje-s yes, the mapping tables are still needed to help to transition the current GTS routing tables.

I'm not sure I understand @josusky points above.
In the context of GTS -> WIS2 gateway, the subject at hand here...
GTS data sent by site X under TTAAii will need to be injected onto WIS2 using an (yet to be) agreed topic. This will be the sole location of this data on WIS2.
Then again for GTS -> WIS2 we may decide to put the TTAAii somewhere in the topic hierarchy. So, no mapping table required. Purely automatic...
For WIS2 -> GTS, it may be another story. But, let's not mix the two.

@golfvert there are mapping tables, that @antje-s created, which are used by some centres in WIS2 pilot to translate AHL (TTAAii...) into a nice topic, i.e. to insert data into the overall data hierarchy. The overall hierarchy is still under development, but that is a separate issue. Antje's mapping tables can be improved but in general, there is nothing special needed to be done for data coming from GTS. Whether you use Antje's tables or not, the GTS data are data as any other and have their place in the data_id/topic hierarchy. In WIS 2.0 we do not need to keep AHL in the topic.
The reason why I kept mentioning the opposite gateway (WIS2 -> GTS) was that I thought that you wanted to keep AHL somewhere in the topic (probably in a separate branch distributed in separate notifications) to make the work of such gateways easier. If it is out of scope, then we can close this issue, as there is nothing to be done here.

Thanks, only one correction...the mapping tables are included in GTStoWIS2 and therefore work results of the whole TT-Protocols team ;-)

TT-WISMD 2023-01-11

use case / starting point?
cache.a.wis2 or cache.a.gts to delineate
can use wildcards for subscription (cache.a.*)

Needs to be discussed further with @golfvert

The ET-W2AT discussed this on 15 May see meeting minutes on Confluence and wmo-im/wis2-notification-message#24

Should we close this issue as related to https://github.com/wmo-im/wis2pilot/issues/10


Error occurred during computer-CER in examples/HKUST

2022-03-22 10:40:24,635 INFO 20041028_124231_A013309_B013310-B-058899-059281 呃我觉得挺好的
2022-03-22 10:40:24,792 INFO 20041028_124231_A013309_B013310-B-059611-059928 巴塞罗纳我一开始我就不喜欢巴西
Traceback (most recent call last):
File "tools/compute-cer.py", line 414, in
default_cluster_name = default_cluster(word)
File "tools/compute-cer.py", line 231, in default_cluster
unicode_names = [unicodedata.name(char) for char in word]
File "tools/compute-cer.py", line 231, in
unicode_names = [unicodedata.name(char) for char in word]
ValueError: no such name

How should I solve this mistake?

Maybe some chars have no names in unicodedata. Please provide the hyp.

What is the hyp?

Sorry. The decode result.

This is my decode result.
@.***
From: 彭震东
Date: 2022-03-22 11:31
To: wenet-e2e/wenet
CC: LBY-bamboo; Author
Subject: Re: [wenet-e2e/wenet] Error occurred during computer-CER in examples/HKUST (Issue #985)
Sorry. The decode result.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Please print the word before line 231 unicode_names = [unicodedata.name(char) for char in word] in tools/compute-cer.py.

The decode result after print (the word before line 231 unicode_names = [unicodedata.name(char) for char in word] in tools/compute-cer.py)
@.***
From: 彭震东
Date: 2022-03-22 11:36
To: wenet-e2e/wenet
CC: LBY-bamboo; Author
Subject: Re: [wenet-e2e/wenet] Error occurred during computer-CER in examples/HKUST (Issue #985)
Please print the word before line 231 unicode_names = [unicodedata.name(char) for char in word] in tools/compute-cer.py.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hello, I have solved the problem in the morning. At present, I pay attention to the related work of wenet. Can you share the chime4 data set with me? I want to compare our work with wenet by the chime4 data set. thank you！
@.***
From: 彭震东
Date: 2022-03-22 11:36
To: wenet-e2e/wenet
CC: LBY-bamboo; Author
Subject: Re: [wenet-e2e/wenet] Error occurred during computer-CER in examples/HKUST (Issue #985)
Please print the word before line 231 unicode_names = [unicodedata.name(char) for char in word] in tools/compute-cer.py.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Sorry. We do not share any data sets except wenetspeech.
Could you share you solution of this problem and close the issue?


HHH-17132 Added test case.

https://hibernate.atlassian.net/browse/HHH-17132

Included in #7376.


dist: Add packit rpm infra

Signed-off-by: Enrique Llorente<EMAIL_ADDRESS>

We don't know if we are going to be able to deliver nmpolicyctl


Log for keeping track of V2 contract breaking changes

Can we keep a log of the breaking changes here?

OH I THOUGHT YOU ADDED CONSOLE.LOG

From a security perspective we need a list of all changes that are made to the contracts and narrative on why they are made. We can follow the same format we currently use in the release notes.


feat: update forge-std, use some new features in cli

While working on #309 I found the very old (and disjointed across .vscode's settings, global node_modules, and cli's node_modules) forge-std to be an issue, so this updates and syncs it.
There're some minimal cli changes mostly to use Script instead of DSTest, but do tell if you want that in a separate PR.

rebased to incorporate #357, and updated forge-std to latest (StdInvariant just got added to Test base)


Text replacement

Please allow text substitution like it is mostly everywhere on Mac. In my opinion, I's an essential function of a chat application.
Thank you:)

Ugh I would love this too though unfortunately isn't supported in Electron (is also is missing in Slack, whatsapp, etc).
Will leave ticket open as I personally do want to fix this myself.
As a workaround, I currently use aText for substitutions but I know they're other apps (TextExpander etc) which also do the job

Oh it's duplicate of #333 so closing this issue.  Looks like there's a solution for #333 too so will hopefully be in v3.4.1


Youtube video poster is black once the slider goes through single rotation

Maybe I created the layers incorrectly? Or is it a youtube thing?
http://businessendeavor.com/tmi/
Thanks!

Hi. Try to set the layer to be static instead of animated.
Cheers!


Feature limiting in get_nhdplus()

get_nhdplus for large AOIs (like the entire state of VA) appears to be feature-limiting;
library(nhdplusTools)
#> USGS Support Package: https://owi.usgs.gov/R/packages.html#support
library(AOI)
library(sf)
#> Linking to GEOS 3.9.1, GDAL 3.4.3, PROJ 7.2.1; sf_use_s2() is TRUE
va <- aoi_get(state = "VA")
va_cats <- get_nhdplus(AOI=va, realization='catchment')
#> Spherical geometry (s2) switched off
#> Found invalid geometry, attempting to fix.
#> although coordinates are longitude/latitude, st_intersects assumes that they are planar
#> Spherical geometry (s2) switched on

Viewing results shows big areas w/ no data such as in Amherst county-
mapview(va_cats)

However using get_nhdplus for just a county with lots of missing catchments returns those missing catchments:
amherst <- aoi_get(state='VA', county='Amherst')
amherst_cats <- get_nhdplus(AOI=amherst, realization='catchment')
mapview(amherst_cats)

Hi Marc -- sorry to be slow here. I'm working through a backlog and need to figure out a solution to this still. Just wanted to drop a line in here and say that I've not lost track of it.

@dblodgett-usgs  - no rush!  Mike McManus who I work with pointed it out so just wanted to pass it along. Happy to help but likely would be slow for me to dig into.

Well this is frustrating. I got the above all implemented and have been debugging some things. Now I find that even if I have paging working, geoserver won't let me request more than the setting in maxFeatures. I guess I'll just up the max features to even more and leave paging implemented here so this client is well behaved. I'll have another commit coming on the linked PR to clean some stuff up.

Alright -- proper fix is incoming. I'm now tiling my requests spatially so we never request a huge domain.

@mhweber can you guys test out the fix I just merged?

Dave, the fix is working.  Below is the output from my console, it appears it had to go through the tiling twice as it found an invalid geometry.
Thanks,
Mike

va_nhd1 <- get_nhdplus(AOI = va_poly, realization = "all")
Spherical geometry (s2) switched off
Getting tile 2 of 10
Getting tile 3 of 10
Getting tile 4 of 10
Getting tile 5 of 10
Getting tile 6 of 10
Getting tile 7 of 10
Getting tile 8 of 10
Getting tile 9 of 10
Getting tile 10 of 10
Found invalid geometry, attempting to fix.
Spherical geometry (s2) switched on
Spherical geometry (s2) switched off
Getting tile 2 of 10
Getting tile 3 of 10
Getting tile 4 of 10
Getting tile 5 of 10
Getting tile 6 of 10
Getting tile 7 of 10
Getting tile 8 of 10
Getting tile 9 of 10
Getting tile 10 of 10
Spherical geometry (s2) switched on

Great! I think that is just the tiling for the flowlines and catchments, but year. This is good to see!


I changed the call point of the startTimer method.

@CoderJackyHuang  Could you please check.

这是拖动图片后自动轮播的时间不再正常的问题吗？如果是就不能合并过来，我已经fix掉了！

I has found this question, and I have tried to fix it, now the newest version has fixed! enjoy it!


ARROW-12924: [Gandiva][C++] Implement CONVERT_TIMEZONE SQL function in Gandiva

@pprudhvi, can you please review this PR?

Closing because it has been untouched for a while, in case it's still relevant feel free to reopen and move it forward 👍


Parse VSCode-vars in config

Description
Replace the VSCode-internal variables with their value instead writing the variabel as text.
Code example
"doxdocgen.generic.authorName": "${env:USERNAME}",

Expected result
/**
 * @author USERNAME
 */

Actual result
/**
 * @author ${env:USERNAME}
 */

We could parse actual env vars but I couldn't find a way to access the VS Code internal ones.
Would this be fine as well?

Yes sure, actually this is an environment-variable from system...


[Feature] Drag and Drop Component Import respects tsconfig path aliases

When tsconfig is configured with "paths": { "@/*": ["src/*"] }, drag /src/components/HelloWorld.vue into /src/App.vue and it should be imported @/components/HelloWorld.vue instead of ./components/HelloWorld.vue.

I'm trying to implement this feature.
How is it supposed to access tsconfig inside a volar language service ?
I didn't find anything useful in the context object.
Maybe it involves some changes of volar.js project ?
@johnsoncodehk

@newVincentFong You can start with https://github.com/vuejs/language-tools/commit/74c3e85d4dca927fbe93f8100ad4aed979734d92.
The main operations are located at https://github.com/vuejs/language-tools/commit/74c3e85d4dca927fbe93f8100ad4aed979734d92#diff-1754a4c09f9ad2611310f617ea9e28f2e060a76f8b1515158ee60c04d198a86fR12.


Page Navigator Heading IDs missing

Category

[X] Question
[ ] Bug
[ ] Enhancement

Authors
@aakashbhardwaj619
Expected or Desired Behavior
After deploying the page navigator one should be able to navigate the page by means of the corresponding headings.
Observed Behavior
We have deployed the web part and it successfully generated the list of headings on the page. However, by default the headings have no id attribute, therefore the navigation is not working (i.e. clicking on a heading from the navigator web part does nothing)
Can you please let me know how to set up the id's on the page headings? I watched the demo and it does not seem like anything additional is required?

Hi Chris,
Thanks for reaching out. You are right that the web part does not require any additional configuration.
Could you please provide me a screen shot of the page? I would also like to confirm if anchor links are getting created for headings that you add on the page and to what URL does any of the Nav link redirect to when you click on it?
Regards,
Aakash

Hi @aakashbhardwaj619
thanks for replying. Here is a screenshot:

You can see that the link in the navigator does have an anchor id but the heading does not, same for the other headings. I added the web part after the page was created but I also tried adding headings after the web part was put on the page to no result.
Thanks for the help.

Hi @hristochr ,
Since you say that the headings do not have an anchor tag associated with them, it seems that the On Page Anchors feature has not been rolled out to your tenant yet. The roadmap says that it is still rolling out so once it is rolled out to your tenant the web part should start working successfully.
Regards,
Aakash

Hi @aakashbhardwaj619,
Thanks for the input! I am following the roadmap but I thought your solution had a workaround :)

Hey @hristochr I hope you found a workaround for this?
i'll mark this issue as closed because this issue has been pretty quiet for a while.
Feel free to re-open it if you need more help.


Editing the Default Domain Policy

In step one : Define your network it's written:
To configure a GPO that defines your intranet address space
Open the Group Policy Management snap-in (gpmc.msc) and edit the Default Domain Policy.

Best practice is to NEVER edit the default Domain Policy.

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

ID: 2309112b-8c2d-02fb-d797-d28c87ca0b63
Version Independent ID: 575ae0dd-122a-fdf8-0157-9d3180589751
Content: Isolating Microsoft Store Apps on Your Network (Windows 10)
Content Source: windows/security/threat-protection/windows-firewall/isolating-apps-on-your-network.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@officedocsbot assign @mypil

@Mrkuff - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.


Ignore unknown fields when deserializing Job object

Without this, masters will reject calls from newer clients which have
additional fields. This allows us to deploy new helios jobs on older
clusters when running helios integration tests using TempJobs.

:+1:


Gamescope Session Plus with WSI increases powerdraw and requires so much cpu time it lags out games that otherwise run fine

Describe the bug
When playing Forza Horizon 4 the deck (steamos / bazzite on gamescope legacy) idles on ~2-3W (low preset) when sitting still, and generally manages 60FPS with slight dips.
However, when using the current bazzite defaults (ENABLE_GAMESCOPE_WSI + return (default) 1 from /usr/libexec/gamescope-sdl-workaround) it jumps at 8-10W sitting idle, while the framegraph is all over the place.
This increased powerdraw is bad enough that FH4 goes from "mostly 60 with short dips for loading" to "40 average" in most places while moving.
If i override ENABLE_GAMESCOPE_WSI in /usr/share/gamescope-session-plus/gamescope-session-plus to 0 i drop down to 5W idle, if i also force /usr/libexec/gamescope-sdl-workaround to return 0 (and thus force gamescope legacy) i am back to the original powerdraw (at the cost of properly working tonemapping).
This is reducing the time i can play on battery by almost half, significantly increases heat and the uneven frametimes are so beyond terrible in races i almost get motion sick.
What did you expect to happen?
Gamescope Session Plus with WSI  should take equal resources to the legacy gamescope.
Output of rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
                   Digest: sha256:bfd698a496a41a55255d03270e7c3cdbe996c62c62fb7dde81dde9ef4b214eb9
                  Version: 40.20240922.0 (2024-09-23T05:03:03Z)
          LayeredPackages: sunshine

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
                   Digest: sha256:de80c8782dab06226afd3c4f9b5a6911cfc6ecf0c3168e14f416914af93c42a4
                  Version: 40.20240921.1 (2024-09-22T12:36:37Z)
          LayeredPackages: sunshine

Hardware
Jupiter
Extra information or context
No response

WSI is enabled by default by Valve. It is required for frame rate control to function properly. Additionally, that SDL workaround function is not called on a steam deck. It is only used for legacy GPUs broken by the current gamescope release.

I will see if I can reproduce the behavior you're reporting.

I've taken some screenshots to show it more clearly.
Here's FH4 and Hades with GS Plus and WSI enabled - almost all cores clock high at all times, and the frametimes, even sitting idle, are all over the place, even in Hades:

bindmount edited sdl-workaround, return 0, return to gaming mode and now, in gamescope-legacy:
(Sorry, i cant control the Weather in Forza, but these Numbers are the same across weather and season):

In Forza as mentioned it is the most clearly visible, but even in Hades it goes from jittery presentation time to a flat framegraph, while also clocking some cores lower (although it doesnt come down to lower battery use in Hades).
This is more equal with my steamos experience.

I have fully clean installed bazzite and steamos - and it remains the same, FH4 on bazzite takes more performance on its own away from the game and it never has a smooth framegraph and stutters unbearably while driving - on steamos its flat 60 with only short and acceptable loading stutters.
Despite trying scx, pstate on/off, mititgations on/off, selinux off/on - even in the most insane config i'd never daily drive it never reaches close.


Added queries and mutations with next-redux-wrapper

Closes #25
I have added Queries and Mutations for the application with the help of next-redux-wrapper.

@vinayak-trivedi take a look into this. I have updated the types for members response.

Great work @satyam73 🚀

Thanks for guiding throughout the steps🙂 @vvaibhavdesai and @vinayak-trivedi also


[Feature Request] - Split pulseaudio module into sink and source modules

Hi, most of all, thanks for all the work on waybar.
For most mobile system the way the pulseaudio module currently works is perfectly practical, but as soon as you start using multiple sinks and sources you run into configuration problems. That's why I wanted to ask if it was feasible to split it into separate modules for sink and source and make the actual device it's referring to configurable and just use default/fallback if no device is specified by the user.
That way you could also have separate left-, middle-, right-click and on-scroll actions for sinks and sources.

Any progress on this? Currently, there is no way to control the the source (microphone) volume using waybar. Scrolling on any pulseaudio module results in changing the sink (speaker) volume, which is very unintuitive IMO.

@subnut Controlling source volume works for me when repeating the module twice. volume.sh is a custom script which is a wrapper for pamixer.
...
"pulseaudio#input": {
        "format-source": "",
        "format-source-muted": "",
        "format": "{format_source}",
        "on-click": "volume.sh input-mute",
        "on-scroll-up": "volume.sh input-up",
        "on-scroll-down": "volume.sh input-down",
        "tooltip": false
    },
    "pulseaudio#output": {
        "format": "{volume} {icon}",
        "format-icons": {
            "default": [
                "",
                "",
                "",
                ""
            ]
        },
        "on-click": "volume.sh mute",
        "on-scroll-up": "volume.sh up",
        "on-scroll-down": "volume.sh down",
        "scroll-step": 1,
        "tooltip": false
    },
...

Thanks for that - it's not a complete solution though since both will be styled 'muted' whenever the sink is; ignoring the state of the source.

@OJFord You can use
#pulseaudio.output.source-muted {
  background: red;
}

Thanks @subnut, (though that should be .input.source-muted if using the names above) ok as a workaround then but I still agree this would be more convenient if they were separate.

Thanks @subnut, (though that should be .input.source-muted if using the names above) ok as a workaround then but I still agree this would be more convenient if they were separate.

Does this work now? In my testing it does not.

Thanks to the comments above, I was able to control the icons for input and output separately. Here's my config:
  "modules-right": [
    "pulseaudio#output",
    "pulseaudio#input",
  ],

  "pulseaudio#input": {
    "format-source": "",
    "format-source-muted": "",
    "format": "{format_source}"
  },

  "pulseaudio#output": {
    "format": "{icon} {volume}%",
    "format-muted": " ",
    "format-bluetooth": "{icon} {volume}% {format_source}",
    "format-icons": {
      "headphone": "",
      "headset": "",
      "phone": "",
      "hdmi": "",
      "default": ["", "", ""]
    },
    "on-click": "$HOME/.config/waybar/scripts/module-actions/pulseaudio click-left",
    "on-click-right": "$HOME/.config/waybar/scripts/module-actions/pulseaudio click-right",
    "on-click-middle": "$HOME/.config/waybar/scripts/module-actions/pulseaudio click-middle",
    "on-scroll-up": "$HOME/.config/waybar/scripts/module-actions/pulseaudio scroll-up",
    "on-scroll-down": "$HOME/.config/waybar/scripts/module-actions/pulseaudio scroll-down",
    "smooth-scrolling-threshold": 5
  },

...and style.css:
#pulseaudio.input.source-muted {
  color: @fg-inactive;
  background: @bg-inactive;
}

#pulseaudio.output.muted {
  color: @fg-inactive;
  background: @bg-inactive;
}

Just adding an alternative solution -- to change the text color based on the muted status of sink/source separately, one can also use Pango markup in the format- strings directly, rather than relying on the CSS muted classes. Here is an expamle:
    "pulseaudio": {
        "format": "{icon}{volume} {format_source}",
        "format-bluetooth": "{icon}{volume} {format_source}",
        "format-bluetooth-muted": "{volume} {format_source}",
        "format-muted": "{volume} {format_source}",
        "format-source": "   {volume}",
        "format-source-muted": "{volume}",
        "format-icons": {
            "headphone": "",
            "hands-free": "",
            "headset": "",
            "phone": "",
            "portable": "",
            "car": "",
            "default": ["  ", "  ", ""],
        },
        "on-click": "pavucontrol",
    },

Pango markup docs: https://docs.gtk.org/Pango/pango_markup.html


Notes for quickly getting a DLL list from Process Explorer using Visual Studio REGEX

Setup
Ctrl+H
Enable Use Regular Expressions
Clearing all non-DLL files
Find: ^(?:(?!dll).)*$
Leave Replace box empty and press "Replace all"
Format start of each line with Markdown for template.
Find: ^.*(?=C:)
Replace Box:
    -

This is simply a note for anyone wishing to quickly get a DLL list from a program with proper formatting.

@lawndoc I hope this helps when you add your own submissions! :3

Updated 1st regex to now also remove .dll.mui files.

I moved this documentation to the [Contributing Tips wiki page]. Thanks for the detail and GIFs!


apt-get update fails in python runtimes due to jessie missing Release file

Error
Sending build context to Docker daemon  3.689MB
Step 1/3 : FROM mcr.microsoft.com/azure-functions/python:4-python3.10
 ---> f29700f10b0e
Step 2/3 : RUN apt-get update
 ---> Running in 2d5be5eb8c82
Ign:1 http://security.debian.org/debian-security jessie/updates InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Err:3 http://security.debian.org/debian-security jessie/updates Release
  404  Not Found [IP: <IP_ADDRESS> 80]
Get:4 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:5 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Get:6 https://packages.microsoft.com/debian/9/prod stretch InRelease [1917 B]
Get:7 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [236 kB]
Get:8 https://packages.microsoft.com/debian/9/prod stretch/main amd64 Packages [137 kB]
Reading package lists...
E: The repository 'http://security.debian.org/debian-security jessie/updates Release' no longer has a Release file.
The command '/bin/sh -c apt-get update' returned a non-zero code: 100

Expected behavior
I expect to be able to use apt-get update to get the latest version of dependencies.
Example code
Example Dockerfile which triggers this:
FROM mcr.microsoft.com/azure-functions/python:4-python3.10
RUN apt-get update

Workaround
Within /etc/apt/sources.list, one of the sources is
deb http://security.debian.org/debian-security jessie/updates main

One workaround is to remove the line, like so:
FROM mcr.microsoft.com/azure-functions/python:4-python3.10

RUN sed -i '/jessie/d' /etc/apt/sources.list \
 && apt-get update

This allows apt-get update to succeed.
Root cause
As previously mentioned, the file /etc/apt/sources.list contains a line for jessie.
It seems that Debian has removed the Release file for jessie, which is understandable given that security updates for jessie stopped more than two years ago.
The odd part is - given that these images are based on either buster or bullseye, why is it attempting to add security updates for jessie, which is two releases earlier? The answer seems to be this comment:
https://github.com/Azure/azure-functions-docker/blob/d5afd1dc6df70e43ad0025064ce79af8d039672f/host/4/bullseye/amd64/python/python310/python310.Dockerfile#L70-L71
Wrapping up

Is there any way you could remove or comment this line from sources.list in published images, after you've installed the software you need?
Distributing a copy of libss1.0.0 from a distribution which no longer receives security updates seems not great? Is there any way you could use something more recent, from a distribution which does get security updates?

Thank you, we just found this today when all of our pipelines failed to build docker

Additionally to the original problem, line above https://github.com/Azure/azure-functions-docker/blob/d5afd1dc6df70e43ad0025064ce79af8d039672f/host/4/bullseye/amd64/python/python310/python310.Dockerfile#L69 also seems that can become a problem soon...

This is not great practice, but the package list are not empty on the base image. I was able to install what I needed (not much, so YMMV) without the apt update.

Got the same error - switching to the nightly build worked mcr.microsoft.com/azure-functions/python:4-nightly-python3.10

How quickly does Microsoft usually react to these kinds of problems? Even though that workaround probably works, the existence of that jessie line is concerning, as it comes with the lack of security updates.
Hopefully someone from Microsoft responds to this thread. We can't currently build our functions app because of this, and we would like to know if it's necessary to make a new ticket about this.

I have the same issues, for now i am running apt update -m ignoring the missing file and upgrading the rest, but i dont think is the best solution. Hope someone will answer soon.

How quickly does Microsoft usually react to these kinds of problems? Even though that workaround probably works, the existence of that jessie line is concerning, as it comes with the lack of security updates.

Looking at closed issues on this tracker of similar size, it generally seems to take 1-2 weeks for a response. At that point we'll have a timeline for a fix. If you need it before then I would suggest finding a workaround.

seeing the same for 3.0-python3.8 image.. Hopefully within the next 2 week there is a better approach then
RUN sed -i '/jessie/d' /etc/apt/sources.list
and then apt-get update.

We have the same issue, solved with the sed approach, but quite a drawback - can @microsoft @ahmelsayed @pragnagopa please get this thread some attention.  Thanks

Ran into the same problem today while trying to build my project using docker file

Faced the same issue today and the workaround was able to solve the problem currently. Hope to hear from microsoft soon

public images listed in https://github.com/Azure/azure-functions-docker#readme have been updated. Closing this addressed.

PR https://github.com/Azure/azure-functions-docker/pull/877 addressed the issue

Problem isn't solved by #877 for Buster - only Bullseye code path has been addressed there.


HassOS - "Repostitory structure for v008 is not compliant"

Tried to add your repository on my HassOS, but get this error. Maybe its not working with HassOS?

Just be patient! I'm working on an official Home Assistant release. Hope the PR will be approved soon! I'll keep you posted, I'm sure it's worth waiting for!

Hello,
no i gat the same but v009 ;-)))
Waiting, thanks a lot)

Is fixed already.


Multi-Screen setup

Thanks for this great tool. I'm using it for a research project and I like how easy it is to create a nice overlay on my desktop.
For the next step in my project, I would like to create overlays over multiple screens (physical monitors), but I struggling to achieve that. Considering I have a main screen in the middle and one more on either side.
How would I set up the coordinates of the OverlayWindow or should I use multiple windows?

Hey,
my best guess would be that this is only possible using PInvoke.
It was planned to implement Window (size, position...) and Monitor information into a class but i needed to drop these things to focus on my actual "job".
I believe you could use
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getsystemmetrics
or
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-systemparametersinfoa
for this case. You can search (CTRL + F) on these pages for Monitor or Screen.
You will need to handle possible negative resolutions from the "logical" left monitor if you calculate a size or layout from these.
The Main screen has 0:0 coordinates on the upper left corner (if i remember rigth).
The OverlayWindow itself has no problem with moving in between different screens (even if one screen ends and another starts).

Would it be better (or even possible) to have one OverlayWindow spanning over all screens or create one for each screen?

I just ran a quick test and found out that it doesnt make any difference.
You might even benefit a bit from just having one really big window.
I made modifications to the Basic example in this repository to fit my 2 monitor setup:
https://gist.github.com/michel-pi/15aefcdde845ba41738d84f86996a6f0
and it made no difference on the FPS counter at all.
See:
https://gist.github.com/michel-pi/15aefcdde845ba41738d84f86996a6f0#file-fullscreenexample-cs-L26
https://gist.github.com/michel-pi/15aefcdde845ba41738d84f86996a6f0#file-fullscreenexample-cs-L44
https://gist.github.com/michel-pi/15aefcdde845ba41738d84f86996a6f0#file-fullscreenexample-cs-L86
https://gist.github.com/michel-pi/15aefcdde845ba41738d84f86996a6f0#file-fullscreenexample-cs-L86
I changed the windows position and size, disabled vsync, made the overlay transparent and draw the image on the 1 monitor.
I got the size and position by using GetWindowRect(IntPtr.Zero)
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getwindowrect

Great. Thank you for the help.
I have another question, but I'll open a separate issue as it is not related to a multi-screen scenario.


Disable undef input for alive2

since this is unsound, just doing it unconditionally is bad
if it's absolutely necessary to default to unsound behavior, then you should make souper print a warning about unsoundness and also you need a flag to go back to the right behavior


Update Composer dependencies (2022-02-26-00-04)

Visual regression test passed!
View the visual regression test report


Production: Voice file not being found

@rudigiesler @smn the mystery of the registration file solved.
Typos and missing non-english files.
Ready for review.


decreased ds DNA binding

ntr decreased ds DNA binding
standard def
PMID:26446992

decreased double-stranded DNA binding FYPO:0005018

edit file: e3d1b713aa95d645445e05c97850f44e29b33b5c
release: 9d851f2dcd57ad8363ea4df4506fc965481b8033


Add definition locations for file decorations [phab:D809]

Created by schroederc at 2016-04-04 18:58:14:
If the DecorationsRequest.reference_definitions switch is true, each
reference in the DecorationsReply will have an associated definition
location for the reference's target.  The target definition is only
populated if it is unambiguous.  For certain nodes, the definition may
be indirect.  The only such indirection is through callableas edges
right now.
NOTE: this is currently experimental and the implementation is slow

fromberger commented inline (context lost during migration) at 2016-04-04 19:04:19:
I think it'd be better to echo the name in the reply, as it does for source_text and references: target_definitions say.

fromberger commented inline (context lost during migration) at 2016-04-04 19:04:19:
This function is getting quite large.
Maybe not in this change, but consider for the future splitting out the pieces that populate parts of the reply so they'd be easier to write tests for.

schroederc wrote at 2016-04-04 19:59:28:
Review changes

schroederc commented inline (context lost during migration) at 2016-04-04 19:59:51:
TODO

fromberger accepted this revision at 2016-04-04 20:12:09

schroederc closed via commit c77545d9708f4cfa1975e35a9326609a69e734f6 at 2016-04-04 20:39:11


priority_queue implementation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The exponential growth behavior and the static behavior are relayed to the array_list and we already have tests for those.
I think what I'm missing is mixing push and pop as well as unit testing the swap operation in array_list.

That's a fair point, my only concern is that array_list is an implementation detail, the growth behavior is part of the contract. How do we verify the contract didn't break if we ever swap out the implementation?

A unit test, in addition to verifying behavior, sets the contract in explicit terms


Creating a new file in "$env:TEMP" using New-Item doesn't work in PowerShell 5.1 only works in PowerShell 7.x while this page asks users to use $env:TEMP as temporary folder for the sandbox.

[Enter feedback here]

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

ID: bf4da869-3f32-d2bb-d804-62679c1c3cbd
Version Independent ID: 49ec3073-a31e-a0ab-882d-17d3a7a420b0
Content: Runbook execution in Azure Automation
Content Source: articles/automation/automation-runbook-execution.md
Service: automation
Sub-service: process-automation
GitHub Login: @SnehaSudhirG
Microsoft Alias: sudhirsneha

// Runbook Content
"==AA"
"$env:TEMP"
"==BB"
dir "$env:TEMP"
"==CC"
New-Item -ItemType "File" -Name "test.txt" -Path "$env:TEMP"
"==DD"
dir .
"==EE"
New-Item -ItemType "File" -Name "test.txt" -Path .
"==FF"
dir .
// Output
==AA
C:\Users\Client\Temp
==BB
==CC
Directory: C:\Users\Client\Temp
Mode                LastWriteTime         Length Name

------        2/21/2023   4:06 PM              0 test.txt
==DD
==EE
Directory: C:\Temp\3hu3yuyp.vdw
Mode                LastWriteTime         Length Name

------        2/21/2023   4:06 PM              0 test.txt
==FF
Directory: C:\Temp\3hu3yuyp.vdw
Mode                LastWriteTime         Length Name

------        2/21/2023   4:06 PM              0 test.txt

@kentoyo11
It looks like your issue is resolved since you closed this thread.
If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Some minor changes to README

Fix the formatting of $HOME
Use "Markdown" instead of "markdown", as that is the proper casing for the term

Thanks!


1 Item Still Swipes

Depending on certain properties, there may be only 1 item for the CarouselView to load.  When 1 item is loaded, you can still swipe the view slightly off the screen.  Is there anyway to disable swiping so they cannot swipe but still use the view?

@ryanherman hi :) yes, of course
But you can achieve it by several ways.

If carousel.ItemsCount == 1, set IsUserInteractionEnabled = false, else IsUserInteractionEnabled = true

@ryanherman but the most proper way would be:

Check this class https://github.com/AndreiMisiukevich/CardView/blob/master/PanCardView/Processors/BaseCarouselFrontViewProcessor.cs#L17

Use it like
var carouselView = new CarsouselView(new BaseCarouselFrontViewProcessor { NoItemMaxPanDistance = 0 }, new BaseCarouselBackViewProcessor() );


docs(managedkafka): replace old title with new one

Changes all occurrences of the old title with the new one.
For internal bug http://b/379316147

/gcbrun


Update ujson, upickle to 3.1.5

About this PR
📦 Updates

com.lihaoyi:ujson
com.lihaoyi:upickle

from 3.1.4 to 3.1.5
📜 GitHub Release Notes - Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.lihaoyi" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:semver-spec, commit-count:1

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

Comparison is base (f4176fd) 78.89% compared to head (8b31694) 78.85%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2831      +/-   ##
==========================================
- Coverage   78.89%   78.85%   -0.04%
==========================================
  Files         467      467
  Lines       15950    15950
  Branches     2586     2553      -33
==========================================
- Hits        12583    12577       -6
- Misses       3367     3373       +6

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


thunder.jit: add post_optimization_transform

Fixes: #533

When we make this switch, let us use a different method than __call__ on these, e.g. transform_traces or so.
Then we could have the transforming of the modules (for early transforms) in transform_module, and #483 can add it's methods.


Stability: Communication with clients (listeners endpoint)

Definition: Listeners endpoint must be discovered in a stable way.
Enforcement: A service discovery mechanism exists.
Enforcement Check
The listeners have a default endpoint path and they use service discovery otherwise, which is defined and will remain respected in future Parsec version.
Testing
A test could put the listener endpoint in a non-standard location and make sure that different versions of the client can still access it.

The service discovery mechanism is described here.
This is to be checked on the clients side: different versions of the clients should always support service discovery. The test can consist of a Parsec service with a listener at a non-default location and the client trying to read from there. Should be on the clients' CI so that PRs can not break this behaviour.

On the service side, this is currently tested in our CI. See here. The main tests of this should be on the clients side.


ui-router $state

Hi, how can i inject $state on the controller?
Thanks in advance.

w/ ES6 you have to inject deps as arguments of the constructor of the ES6 class.
if you use preprocessing tools like ng-inject you have to add the string literals "ngInject"; as first line of the constructor.
class AppCtrl {
  constructor($myDependency) {
    'ngInject';
    this.url = 'https://github.com/preboot/angular-webpack'
    this.myDependency = $myDependency
  }
}

feel free to reopen if you have have problems.

Thanks for the answer but i still have problems...
i'm trying to do like that
export default class LoginController {
  constructor($state) {
    'ngInject';
    this.state = $state
  }
  changeState() {
    state.go('app.home')
  }
}

but when i fire changeState nothing happens.

you have missed the this keyword in changeState function. (it's a ES6 class)


Can one ClientSession be used for multiple simultaneous websocket connections?

Long story short
I'm reusing ClientSessions between websocket connections and I'm getting ERROR:asyncio:Unclosed client session, and I don't know if it's a bug in my code or not. For now I'm just going to switch to using one session per connection. But should I expect to be able to reuse sessions in this way?
Environment
aiohttp 0.21.5

ClientSession contains a socket pool inside, so it may be used with several websocket connections without problems.
Unclosed client session means that a session is not closed properly (async with session or await session.close() should be used).


Tasks are now given a handle to themselves.

It wasn't possible for a task to get its own handle, making features like wait_for_notification unusable without the aid of some dangerous juggling of global variables.
Tasks are now handed their handle as an argument, making it so they can safely make use of such features.
I also cleaned up some warnings that have cropped up with updates to Rust and ran cargo fmt on the project.

Thanks a lot for the PR.

You're welcome. I'm actually a little surprised to see the request accepted.
I've started working on my own fork with radical breaking changes in an attempt to make sharing reaources with ISRs safer and more convinent.
Should I bring that here when I'm comfortable with them?

Sure, you are very welcome. At the moment we are not using the crate in productive code but we are planning to use more RUST and FreeRTOS in embedded development in future. Until then I'm very open to any kind of improvements. Once we are using the code in production I might the a closer look into breaking changes :)


Support for XE2/3/4/5

Is there anything stopping this library from being used with XE2 or later?
I'm considering using it in the IDE plugin for my package manager project, which supports XE2 or later.
At the moment I'm using png's for displaying package icons, but with HighDPI support in mind for later versions I think switching to png's would be a good idea.

Apart from the missing packages, is there anything else missing in the code to support those older versions. I know there is a dependency on Indy (just for base64 decode), I can work to remove that dependency.

OK, several issues.
Getting TSVG to compile in XE2 wasn't too difficult, deal with lack of record/string helpers etc.. replaced base64 decode with borrowed code from 10.4 (trimmed to just what was needed).
But that's where this journey ends I think. XE2-5 lack System.Messaging - and replacing that is a mega task.
I think what I will do is just keep a copy of TSVG in my project as I am custom painting in my package list control anyway, I just won't be able to use svg for toolbars etc. I'll deal with that issue later.

I tried the same thing with XE3 but with minor problems: the main one is the lack of System.Message some other little problems with some missing helpers (string.IsWhiteSpace, TRect.FitInto): if we replace the implementation of System.Message with another messaging system we can add support for XE2/3/4/5.

How can we solve this problem, to offer these components for previous versions of Delphi?

I've committed a new version that can be compiled also with Delphi  XE3, and maybe XE2, XE4 and XE5.
i can test only with XE3, and it works fine ;-)
I've create a unit SVGMessage similar to the VCL one to maintain compatible with all the code that require messaging.
@vincentparrett if you want to use this library with XE2 or other versions, can you give me a feedback?
Thanks.

With 2.4.0 version I've fixed some problems compiling 2.3.0 with XE3...

Sorry I haven't had time to look at this yet, will try when time permits

I've testes with XE3 and It works fine... I'm closing this issue, if we found some other issues we can reopen it.

I like to use it with XE2 but it results in errors .
[DCC Error] SVGTypes.pas(161): E2029 'END' expected but 'CONST' found
[DCC Error] SVGTypes.pas(163): E2029 'IMPLEMENTATION' expected but ';' found
[DCC Error] SVGTypes.pas(165): E2029 '.' expected but 'IMPLEMENTATION' found
[DCC Warning] SVGTypes.pas(165): W1011 Text after final 'END.' - ignored by compiler
[DCC Error] SVGTypes.pas(193): E2029 $IFEND expected but $ENDIF found
[DCC Error] SVGTypes.pas(145): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.Create'
[DCC Error] SVGTypes.pas(146): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.FromGPMatrix'
[DCC Error] SVGTypes.pas(148): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.IsEmpty'
[DCC Error] SVGTypes.pas(149): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.IsIdentity'
[DCC Error] SVGTypes.pas(150): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.ToGPMatrix'
[DCC Error] SVGTypes.pas(152): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.CreateRotation'
[DCC Error] SVGTypes.pas(153): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.CreateScaling'
[DCC Error] SVGTypes.pas(154): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.CreateTranslation'
[DCC Error] SVGTypes.pas(156): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.Multiply'
[DCC Error] SVGTypes.pas(157): E2065 Unsatisfied forward or external declaration: 'TAffineMatrix.Multiply'
[DCC Fatal Error] SVG.pas(59): F2063 Could not compile used unit 'SVGTypes.pas'
TAffineMatrixConstants = record helper for TAffineMatrix
const Empty: TAffineMatrix = (m11: 0; m12: 0; m21: 0; m22: 0; dx: 0; dy: 0);
const Identity: TAffineMatrix = (m11: 1; m12: 0; m21: 0; m22: 1; dx: 0; dy: 0);
end;
I have no idea how to fix these errors. The $ENDIF i changed in $IFEND but the other errors i do not know how to fix.


Support Dotenv

Similar to CRA, I've found it useful to have that supported out of the box.

I'd propose https://webpack.js.org/plugins/environment-plugin/#dotenvplugin. Ideally .env works well together with webpack.Environmentplugin (when set in the graphpack.config.js)