[linux_can] Would it be possible to add CAN FD support to linux_can ?

Hi,
first of all, great work on your repositories, I have checked out and played with the linux_can and it looks very good, I plan to use that together with the flutter-pi. Thanks for all that great work.
I am noob programmer, so can't do it myself really, unless there is someone willing to provide some guidance.

Yep, sure. I actually thought about adding it myself, but I wasn't sure if anyone needed it. So it's good that you created an issue :smile:

Great, any idea you might get to this? I can help with testing & coding ...

@RadkMcku Can't really provide a time-frame, could be next week but could also be only in 2 months unfortunately :/
The testing would really help though, I don't have a CAN FD transceiver at home so I can't really test myself.


Circular dependency

Describe the bug
Not sure is it bug, but looks like it is. Circular dependency

src/components/checkboxes/_checkbox-macro.njk imports
src/components/input/_macro.njk imports
src/components/mutually-exclusive/_macro.njk imports
src/components/checkboxes/_checkbox-macro.njk

To Reproduce
yarn test shows few warnings
Expected behavior
Dependencies is not circular

 Issue #689: Circular dependency

I don't think we can fix this easily.
The issue is a warning when running tests. There's 3 warnings which are all due to the mutually exclusive macro calling the checkbox macro. What happens is:
checkbox can call input -> input can call mutually exclusive -> mutually exclusive will call checkbox
If I remove the checkbox import from mutually exclusive the warning is removed but its a dependency of the component.
Without re-writing the dependency structure of these components I don't think it can be fixed. I don't know if it's fixable with how our components work. If we care enough we may need to re-think things completely.


Slows incredibly down in some files (tabs as possible reason)

I'm currently working with files that have about 50 lines and in each line about 50 float values that are separated by a tab.
When I open one of those, everything in that buffer gets unbearably slow.

Performance issue is known issue, such as #58, maybe you can set 'let g:indentLine_faster = 1'  in your vimrc to have a try.

That did the trick. Thanks!


kafka-source-dispatcher pods are not running, they are getting deleted after 1 minute once the statefulset object is first created

Describe the bug
kafka-source-dispatcher statefulset object is not able to spin up the new pods. It gets deleted immediately after it is first provisioned. Here is the result of kubectl describe kafka-source-dispatcher -n knative-eveting.

Expected behavior
kafka-source-dispatcher pods are not spinning up. Here below is the steps that I have done to install knative and knative-extensions.
To Reproduce
Write-Host "Installing serving-crds"
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.16.2/serving-crds.yaml
Write-Host "Installing serving-core"
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.16.2/serving-core.yaml
Write-Host "Patching namespace and hpa for serving deployments"
kubectl label namespace knative-serving istio.io/rev=prod-stable --overwrite
kubectl patch hpa activator -n knative-serving -p '{"spec":{"minReplicas": 2}}'
kubectl patch hpa webhook -n knative-serving -p '{"spec":{"minReplicas": 2}}'
Write-Host "Installing eventing-crds"
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.16.2/eventing-crds.yaml
Write-Host "Installing eventing-core"
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.16.2/eventing-core.yaml
Write-Host "Patching namespace and hpa for eventing deployments"
kubectl label namespace knative-eventing istio.io/rev=prod-stable --overwrite
kubectl patch hpa eventing-webhook -n knative-eventing -p '{"spec":{"minReplicas": 2}}'
Write-Host "Installing net-istio"
kubectl apply -f https://github.com/knative/net-istio/releases/download/knative-v1.16.0/net-istio.yaml
Write-Host "Installing eventing-kafka-controller"
kubectl apply -f https://github.com/knative-extensions/eventing-kafka-broker/releases/download/knative-v1.16.1/eventing-kafka-controller.yaml
Write-Host "Installing eventing-kafka-channel"
kubectl apply -f https://github.com/knative-extensions/eventing-kafka-broker/releases/download/knative-v1.16.1/eventing-kafka-channel.yaml
Write-Host "Installing mt-channel-broker"
kubectl apply -f https://github.com/knative/eventing/releases/download/knative-v1.16.2/mt-channel-broker.yaml
Write-Host "Installing eventing-kafka-broker"
kubectl apply -f https://github.com/knative-extensions/eventing-kafka-broker/releases/download/knative-v1.16.1/eventing-kafka-broker.yaml
Write-Host "Installing eventing-kafka-source and sink"
kubectl apply -f https://github.com/knative-extensions/eventing-kafka-broker/releases/download/knative-v1.16.1/eventing-kafka-source.yaml
kubectl apply -f https://github.com/knative-extensions/eventing-kafka-broker/releases/download/knative-v1.16.1/eventing-kafka-sink.yaml
Knative release version
1.16,2
Additional context
Add any other context about the problem here such as proposed priority
kafka-channel-dispatcher and kafka-broker-dispatcher pods are not coming up. We are getting the error as below:
create Pod kafka-channel-dispatcher-0 in StatefulSet kafka-channel-dispatcher failed error: Pod "kafka-channel-dispatcher-0" is invalid: spec.containers[0].volumeMounts[1].name: Not found: "contract-resources"
Please let me know how to deploy this. I have been blocked with this for a week now.

@pierDipi  Any help on this will be highly appreciated . Our team is completely reliant on this and we are blocked being unable to upgrade to the latest version of broker.

@raswinraaj, if before installing the data plane (the files eventing-kafka-broker.yaml or eventing-kafka-source.yaml) you wait for the control plane to be ready, do you still get the error?
he installation expectation is that whenever a new statefulset pod is created, the Knative Kafka webhook is ready and the admission webhook is configured

You need to confirm whether the label in pods.defaulting.webhook.kafka.eventing.knative.dev is configured in the namespace or statefulset:
namespaceSelector:
  matchExpressions:
  - key: webhooks.knative.dev/exclude
    operator: DoesNotExist
  matchLabels:
    kubernetes.io/metadata.name: knative-eventing

It requires the namespace to include kubernetes.io/metadata.name: knative-eventing.

Do you mean the knative-eventing namespace ? If yes, I have this label on my namespace already
This is the response
Name:         knative-eventing Labels:       app.kubernetes.io/name=knative-eventing               app.kubernetes.io/version=1.16.2               istio.io/rev=prod-stable               kubernetes.io/metadata.name=knative-eventing

You need to confirm whether the label in pods.defaulting.webhook.kafka.eventing.knative.dev is configured in the namespace or statefulset:
namespaceSelector:
  matchExpressions:
  - key: webhooks.knative.dev/exclude
    operator: DoesNotExist
  matchLabels:
    kubernetes.io/metadata.name: knative-eventing

It requires the namespace to include kubernetes.io/metadata.name: knative-eventing.
Do you mean the knative-eventing namespace ? If yes, I have this label on my namespace already

This is the response
Name:         knative-eventing Labels:       app.kubernetes.io/name=knative-eventing app.kubernetes.io/version=1.16.2 istio.io/rev=prod-stable kubernetes.io/metadata.name=knative-eventing

@raswinraaj, if before installing the data plane (the files eventing-kafka-broker.yaml or eventing-kafka-source.yaml) you wait for the control plane to be ready, do you still get the error?
The installation expectation is that whenever a new statefulset pod is created, the Knative Kafka webhook is ready and the admission webhook is configured

HI @pierDipi  thanks for your reply, do you mean I need to wait for a few minutes after the installation of the eventing-kafka-controller.yaml?


ENH: Added analytical formula for truncnorm entropy (#17748)

Reference issue

What does this implement/fix?

Additional information

capitalized variables are usually used for constants

True, but information for the distribution gives it as a capital Z, so I think it's best to leave it like that. Even though it's not exactly correct from a style point of view, I know that there's other parts of Scipy where capitalized variables are used, so it's acceptable.

@mdhaber Does this look good enough now?

The rest of truncnorm was rewritten very carefully (twice) because we received bug reports about extreme values of the parameters. (The rewrite in gh-10104 helped, but gh-16586 rewrote it again because we received several new bug reports.) This implementation isn't really consistent with all of that; e.g.
        A = _norm_cdf(a)
        B = _norm_cdf(b)
        Z = B - A

could be:
        logZ = _log_gauss_mass(a, b)

which avoids underflows and follows @dschmitz89's suggestion to work in the log space.
That said, we haven't received any complaints about entropy in particular, so maybe a basic speed enhancement like this is OK. Is this at least as robust as the default implementation?

Is this at least as robust as the default implementation?

Seems to be a fair bit more. I tested the function on values that the default implementation under/overflows on, and it worked fine.


⚠ ku-s has degraded performance

In ff78bdd, ku-s ($KU_API_STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 11572 ms

Resolved: ku-s performance has improved in 81224c3 after 49 minutes.


Saving the parameter tree settings in the h5 when launching scan/acquisition

Following the discussion on the saving of meta data, I would like to save the state of my parameter tree settings for my detector when launching a scan or an acquisition (maybe not all of it but still, some choice for the parameters would be welcome). The parameter tree would be saved as metadata in the h5.
This seems a good way to also store the relevant parameters used for each scan, both for reproducibility and comparison.
Is there already a function/class to do that?

Well it is already done actually. When you open a file using the H5Browser, clicking on a node will display its metadata. If there is one called settings in those, it will be rendered just like the settings tree. Each scan node saved the scan settings. Within these scan nodes, you'll find the detectors and actuators node each having their settings saved from the time the scan was done.

It has been discussed in our recent workshop that it could be interesting to also save the settings of the control modules not actually used in a scan but active in the dashboard as they represent the status of an experiment at a given time.

Perfect, that is exactly what I needed!

Alright then I'm closing the issue


ci: relax hard-coded version check for git

Issue
CircleCI contains a check for a fixed version of git, however this version is not under control of the factory build process. This causes unplanned workflow failures when new versions of git are released.
This is the hard-coded check:
https://github.com/cypress-io/cypress-docker-images/blob/dc421e766155fb3096646cf04108c61d3afb587e/circle.yml#L132-L141
The version of git depends on the BASE_IMAGE:
https://github.com/cypress-io/cypress-docker-images/blob/dc421e766155fb3096646cf04108c61d3afb587e/factory/.env#L9
and so far this is a Debian image, it depends also on the currently distributed package version according to Package git which is picked up by the build process:
https://github.com/cypress-io/cypress-docker-images/blob/dc421e766155fb3096646cf04108c61d3afb587e/factory/factory.Dockerfile#L33-L34
causing a refresh each time the cypress/factory image is rebuilt. This is what breaks the workflow job check-factory-versions from time to time.
Change
Remove the check for a specific version of git and report the version of git found.
This method is already used in the ssh check in the workflow lines of code following the git version check.

See https://app.circleci.com/pipelines/github/cypress-io/cypress-docker-images/2257/workflows/5e89adcb-aa45-428f-9cc0-ecf17d4ea550/jobs/69070/parallel-runs/0/steps/0-111

Version git version 2.39.5 confirmed

@jennifer-shehane

We can relax the exact version match check, but we do need to exit the process if NO version of git exists to ensure we don’t release an image that does not have git installed, which happened before here: #874
Can you update the check to exit if a git version is not found at all?

I tested in a dummy PR https://github.com/cypress-io/cypress-docker-images/pull/1212 that the workflow fails if there is no git configured

The logic is the same as for ssh which follows in the workflow.


Players can still walk normally while blocking (1.9+ on 1.8 servers)

Sorry for bad english
What is the output link of /viaversion dump?
https://gist.github.com/6e9d5d354f9bda3d73ee79be70aaeee4
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
BungeeCord, lastest version (Waterfall)
How does this error happen? login? Using an item?
when a player is playing on a 1.8 server using 1.9+ versions, it is supposed to walk slowly while blocking with the sword, but instead of that the player still can walk normally and get kicked by the anticheat
Is there an error in the console? Use pastebin.com. Is there a kick message?
nope

Blocking isn't fully supported at a Bungee level. You'd have to downgrade to the Bukkit version to fix this.
This is something we don't plan to add (because we'd have to track inventory items etc).

i also tried using viaversion on spigot, but still happens

Did you also remove it from Bungee?

No i didn´t, should it has to be removed from bungee? i would try it at night

It's much less complicated if you do, but essentially Bungee will handle the protocol if it's installed on both.


macOS target cannot build with Firebase version 10.23.1

Description
I have a macOS Cocoa app and I updated Firebase to version 10.23.1 and it immediately failed with these warnings:

Command CodeSign failed with a nonzero exit code

Couldn't resolve framework symlink for '/Users/JohnAppleseed/Library/Developer/Xcode/DerivedData/MyApp-bnecjqkjbdbylgeoluktplyutzlr/SourcePackages/artifacts/googleappmeasurement/GoogleAppMeasurementIdentitySupport/GoogleAppMeasurementIdentitySupport.xcframework/macos-arm64_x86_64/GoogleAppMeasurementIdentitySupport.framework/Versions/Current': readlink(/Users/JohnAppleseed/Library/Developer/Xcode/DerivedData/MyApp-bnecjqkjbdbylgeoluktplyutzlr/SourcePackages/artifacts/googleappmeasurement/GoogleAppMeasurementIdentitySupport/GoogleAppMeasurementIdentitySupport.xcframework/macos-arm64_x86_64/GoogleAppMeasurementIdentitySupport.framework/Versions/Current): Invalid argument (22)

Couldn't resolve framework symlink for '/Users/JohnAppleseed/Library/Developer/Xcode/DerivedData/MyApp-bnecjqkjbdbylgeoluktplyutzlr/SourcePackages/artifacts/firebase-ios-sdk/FirebaseAnalytics/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/Current': readlink(/Users/JohnAppleseed/Library/Developer/Xcode/DerivedData/MyApp-bnecjqkjbdbylgeoluktplyutzlr/SourcePackages/artifacts/firebase-ios-sdk/FirebaseAnalytics/FirebaseAnalytics.xcframework/macos-arm64_x86_64/FirebaseAnalytics.framework/Versions/Current): Invalid argument (22)

Couldn't resolve framework symlink for '/Users/JohnAppleseed/Library/Developer/Xcode/DerivedData/MyApp-bnecjqkjbdbylgeoluktplyutzlr/SourcePackages/artifacts/googleappmeasurement/GoogleAppMeasurement/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/Current': readlink(/Users/JohnAppleseed/Library/Developer/Xcode/DerivedData/MyApp-bnecjqkjbdbylgeoluktplyutzlr/SourcePackages/artifacts/googleappmeasurement/GoogleAppMeasurement/GoogleAppMeasurement.xcframework/macos-arm64_x86_64/GoogleAppMeasurement.framework/Versions/Current): Invalid argument (22)

I tried:

Build.
Clean Build Folder.
Deleting Project Build Data and Indexes.
Deleting /MyApp/MyApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved file.

None of that helped.
When I reverted Firebase to 10.23.0 using the "Exact Version" in Package Dependencies, it works perfectly fine. I have not submitted it to App Store Connect, I hope that it will pass the build processing. I was able to run the app locally on my Mac computer.
Reproducing the issue

Update Firebase to version 10.23.1 using Swift Package Manager.
Try to run the app locally on the Mac computer.
Can't run the app because of aforementioned warnings.

Firebase SDK Version
10.23.1
Xcode Version
Version 15.3 (15E204a)
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics
Targeted Platforms
macOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

Replace this line with the contents of your Package.resolved.

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Hi @anosidium, thanks for reporting. There is a dupe of https://github.com/firebase/firebase-ios-sdk/issues/12668. there is a manual workaround described in https://github.com/firebase/firebase-ios-sdk/issues/12668#issue-2216710400's OP that may unblock you until 10.24.0 is released (due out next week).


Adding_QS_cannot_disable

Adding a note that customer cannot disable QS

@ahmedmahmoudMSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@WilliamDAssafMSFT Could you review the proposed update? Avoiding "stacked" alerts (two alerts without content between them) is a preferred practice. Is there a way to take that into consideration if the information should be added to the article? Thanks.

Thanks @ahmedmahmoudMSFT for the suggestion! We already have this limitation and error message documented in the appropriate place here in ALTER DATABASE. I believe that suffices and this doesn't need to be repeated in a performance article.


Update image-builder buildspec to use colo vsphere

Description of changes:
Update image-builder buildspec to use colo vsphere
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve

/hold

/unhold


Add ProjectReference?

One major issue with the original F# fsi is lacking the ability to add reference to local fsproj.
There is 3rd implementation like https://github.com/ThisFunctionalTom/DependencyManager.FsProj
This should be much easier to implement with FSharpPacker. What do you think about providing the ability of #r "fsproj: a.fsproj" like DependencyManager.FsProj, or using an extra commandline arguments like --projectref a.fsproj?

I think is nice, given that some interest is presented in https://github.com/dotnet/fsharp/issues/8764. For now I can start with --projectref so at least something can be used. Maybe I can iterate on the #r "fsproj: syntax too. Do not sounds too complex.


Zipkin UI span names have incorrect CSS left value

Zipkin UI don't show span names in correct place. CSS left value has "minus" value, which causes them to be out of the screen.

Using: openzipkin/zipkin:latest. Image ID: a62fb9056a9a

Could be related to this https://github.com/openzipkin/zipkin/issues/1906

Hi, sorry, issue was caused by server time being not in sync.


[Bug report] Audit information is empty of PG schema

Describe what's wrong
curl -X POST -H "Content-Type: application/json" -d '{"name":"db3","comment":"comment"}' http://localhost:8090/api/metalakes/test/catalogs/pg_catalog/schemas
{"code":0,"schema":{"name":"db3","properties":{},"audit":{"creator":"anonymous","createTime":"2024-01-15T13:56:10.815100Z"}}}%

➜  [/Users/yuqi/project/graviton] git:(main) curl http://localhost:8090/api/metalakes/test/catalogs/pg_catalog/schemas/db3
{"code":0,"schema":{"name":"db3","properties":{},"audit":{}}}%

Audit information is missing when loading PG table
Error message and/or stacktrace
Please see above.
How to reproduce
Please see above.
Additional context
No response

ok


Backup Verification

Hi,
Is Corso able to do some backup verification? Means that whatever being backup, its integrity is intact and will be able to be restored later?
This is just a general question but it is commonly asked in backup solutions. Maybe we already have thoughts about doing this with Corso. Thanks.

Hey @aldycool , we unfortunately don't have any provision as of now to just check the integrity of the backup.
That said, one suggestion would be to export the data out of corso. You can find the documentation in the export section of each service. This will provide guarantees about being able to read and process the data within the backup. Also, since exports write out the data to the fs, you can run additional checks on the exported content if necessary.

Hi @meain , alright, thank you for your explanation. I'll look into the export functions. Thanks.


VTOL transition helper class

A helper class for VTOL transitions.
Navigator modified to wait until transition has finished before proceding to next waypoint.

Nice! @sjwilks @AndreasAntener FYI


SDI-71: 🔥 Remove nhs project as has been archived

Eeek I was to hasty ... yes looks like @karenmillermoj is right?


tag attribute on autoscaling_group is deprecated

Describe the Bug
The autoscaling_group_tags output takes data from aws_autoscaling_group.default[0].tags but tags is deprecated and triggers a warning
Expected Behavior
Does not use deprecated values and doesn't trigger warnings
Steps to Reproduce
create a ECS cluster using the module
Screenshots

Environment
No response
Additional Context
No response

also come across to this deprecation notice, looking forward for an update!

not a deprecation notice anymore, now it's a full scale error.

@metropolis-ameer @dgokcin @etienne-napoleone is there any way around this error?

I went vanilla terraform.  You could use the main.tf file from the cloudposse repository and leave out the auto scaling resource for quicker turnaround.  On a phone, so can't be more specific at this moment.

@metropolis-ameer @dgokcin @etienne-napoleone is there any way around this error?

I pinned the module I am using to 4.x

@dgokcin, can you describe in more detail how you pinned the module please?

@lancekuo sure
we are using terragrunt as a wrapper on top of terraform. after the provider 5 upgrade, I made the following change in my versions.tf file so that IT uses 4.x but not 5.x

Brilliant! Thank you so much! @dgokcin

I think we can update the asg module used internally to include the following commit? https://github.com/cloudposse/terraform-aws-ec2-autoscale-group/releases/tag/0.34.2 .


feat: support neovim

Add neovim editor support #60.
This will be a Draft PR until the previous fix PR #95 is merged.

Thanks, I did a little simplification, hope you don't mind :)

That was a logic difference. It's okay


Style polish for 0.0.1

[x] Border radius should be 1.0
[ ] Page selector spacing between buttons with columns
[ ] Disabled state styles (black text, no border)
[x] Active state styles (black border)
[ ] All non-testing page buttons that are currently in the hidden vec should be displayed by default, but disabled

Is it apt to have the disabled buttons carry a 'Disabled' PageType, which contains nothing?  Or is there a more idiomatic approach

Is it apt to have the disabled buttons carry a 'Disabled' PageType, which contains nothing?  Or is there a more idiomatic approach

I think it'll be best to keep the PageType the same and instead use a separate boolean property.

I think it'll be best to keep the PageType the same and instead use a separate boolean property.

Thanks.  I attempted to go down this path and somehow ended up going down both.  I'll get your thoughts on it if it doesn't work out

Thanks.  I attempted to go down this path and somehow ended up going down both.  I'll get your thoughts on it if it doesn't work out


The program doesn't work

Good afternoon, I launch the program with the command floss.exe 1.exe and after a short download it finishes its work.
Console ouptut:
C:\Users\user\Downloads>floss.exe 1.exe
INFO: floss: extracting static strings
/ analyzing program
C:\Users\user\Downloads>floss.exe 1.exe
INFO: floss: extracting static strings

C:\Users\user\Downloads>floss.exe 1.exe
INFO: floss: extracting static strings
\ analyzing program
C:\Users\user\Downloads>

Can you share the example 1.exe?

Please reopen if additional context is available.


Wrap pd.read_csv()

Might still want to do this to ensure a DataFrame is returned, but might not be as useful after #175

replaced by #266


Update DGCollectionViewLeftAlignFlowLayout.swift

Adding public allows to create variable of type DGCollectionViewLeftAlignFlowLayout and modify properties

Hi,
We'll get back to you on Monday on your pull request.
Thanks for you interest on our lib.
What is your feeling on it?
Cheers

Good catch @Enter91! Glad you enjoyed using our layout. Can you make another PR for the problem with 1 element ? Do you want us to patch it directly ?


Fixed a grammatical error in configuration doc

Coverage increased (+0.009%) to 87.258% when pulling 0e532b0b71ed59e9536aedb771cec2dd7810d6bf on davidwu1010:fix-a-grammatical-error into 717bba5d1494d0c044dd397107b29f994dc7aa2b on mybatis:master.

@davidwu1010 Thank you!


Miscompilation of std::thread::scope on x86_64 with llvm sysroot

fn main() {
    std::thread::scope(|s| {
        s.spawn(|| {});
    });
}

$ ./y.sh build --sysroot llvm
$ dist/bin/rustc-clif foo.rs
$ RUST_BACKTRACE=1 ./foo

thread 'main' panicked at foo.rs:2:5:
a scoped thread panicked
stack backtrace:
   0: rust_begin_unwind
             at /rustc/65ea825f4021eaf77f1b25139969712d65b435a4/library/std/src/panicking.rs:619:5
   1: core::panicking::panic_fmt
             at /rustc/65ea825f4021eaf77f1b25139969712d65b435a4/library/core/src/panicking.rs:72:14
   2: std::thread::scoped::scope
   3: foo::main
   4: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Aborted (core dumped)

This blocks an update of the regex version we test.

Somewhat reduced version:
fn main() {
    std::thread::scope(|s| {
        std::thread::Builder::new().spawn_scoped(s, || {}).expect("failed to spawn thread");
    });
}

https://github.com/bytecodealliance/wasmtime/issues/7210 seems to be the root cause of this.


Create Class from OperationEditor

Create data btn should:

prompt base type
set default name/prompt name

The base type shouldn't need to be prompted; it can be parsed from the code. Same goes for the data type name.
It would be nice to have a title somewhere showing what data type is being updated...

the base updating is another issue: https://github.com/dfst/deepforge/issues/412


clippy fails without Cargo.lock present

Hello,
Was trying trunk out on a rust library and per best practices for libraries, Cargo.lock is not part of the repository. So while trunk runs fine locally after I have built the library once, it fails in CI. It also fails locally if I delete Cargo.lock first. This happens because the command for the clippy linter has "--locked" as part of the command which doesn't permit changing (or creating by extension?) the Cargo.lock file. And because of this, clippy errors.
I looked through your documentation but what I saw about configuring plugins appeared to be only what options are defined in the plugin.yaml file. However, the locked flag is hard-coded and not affected by any values that I saw when looking in the plugins repo.
If I'm missing something, I apologize but I did investigate as best I could.
trunk output:
trunk_cli_version: 1.18.1
title: "Error while executing: lib"
report:
  - Unable to find lib for Cargo.lock in any parent directory of /Volumes/LaCie/Repos/dfraw_json_parser/lib
  - linter:
      command: |
        /Users/nwesterhausen/.cache/trunk/tools/rust/1.65.0-e995c0a94cbb3cb0410a49183f3ef2b7/bin/cargo clippy --message-format json --locked -- --cap-lints=warn --no-deps
      stdin_path: (none)
      run_from: /Volumes/LaCie/Repos/dfraw_json_parser/lib
      timeout: 10m
      rerun: (cd /Volumes/LaCie/Repos/dfraw_json_parser/lib; env -i PATH=/Users/nwesterhausen/.cache/trunk/tools/rust/1.65.0-e995c0a94cbb3cb0410a49183f3ef2b7/bin:/Users/nwesterhausen/.opam/default/bin:/Users/nwesterhausen/.bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/nwesterhausen/.opam/default/bin:/Users/nwesterhausen/Library/pnpm:/Users/nwesterhausen/.bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/nwesterhausen/.cargo/bin CARGO_TARGET_DIR=/Users/nwesterhausen/.cache/trunk/repos/a3e74e59ed19111a76af0d59e8fcaafe/results/clippy-current/cargo_target_dir CARGO_HOME=/Users/nwesterhausen/.cache/trunk/repos/a3e74e59ed19111a76af0d59e8fcaafe/results/clippy-current/cargo_home HOME=/Users/nwesterhausen /Users/nwesterhausen/.cache/trunk/tools/rust/1.65.0-e995c0a94cbb3cb0410a49183f3ef2b7/bin/cargo clippy --message-format json --locked -- --cap-lints=warn --no-deps)
      affects_cache:
        - Cargo.toml
      direct_configs:
        []
      exit_status: exited
      exit_code: 101
      stdout: (none)
      stderr: |
            Updating crates.io index
        error: the lock file /Volumes/LaCie/Repos/dfraw_json_parser/Cargo.lock needs to be updated but --locked was passed to prevent this
        If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.

    parser: |
      (none)

It looks like the Rust team has changed their guidance on this issue, please see the following: https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html
If you want to continue to not commit your Cargo.lock, you can modify the command that trunk uses to run clippy by merging the following into your trunk.yaml:
lint:
  definitions:
    - name: clippy
      commands:
        - name: lint
          run: cargo clippy --message-format json --locked -- --cap-lints=warn --no-deps

This is the current command we run, so you would want to remove --locked. Note that this should be merged into your config, and not appended. You will already have a lint: section, so you would nest the definitions in the current one.
Thanks for your interest in trunk and please let us know if this works for you.

Thank you for the response! I will change to committing my lockfile, I somehow missed the announcement/news on the change to their suggested best practices.
I appreciate that you let me know what yaml to add to my trunk config to solve this if I were to keep my lockfile checked out of git. That is very helpful 😄


added python.py

Issue: #3

Hey @sahsudhanshu
Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.
Thanks for contributing in OpenCode'24 ✨✨!


Linux  CPU ID get problem

Good project,  Thanks.    I found  Line 238,  should init cpuinfo[0] = 0x1
Otherwise, the obtained ID is a non unique attribute of the CPU, and the similarity is very high on different CPUs,     quote:
https://blog.cubieserver.de/2018/query-cpuid-with-inline-assembly/

Starting from the Pentium 3 CPU, Intel no longer provides a unique CPU serial number from a privacy perspective. The CPU ID we get is the description of the model


VoxelGI albedo color is white with custom shaders

Godot version
4.0.3
System information
MacOS - 4.0.3 - Forward+ - Vulkan
Issue description

On a more complex scene

VoxelGI does not take custom shader albedo into account, resulting in white voxels.
It's possible to fix it by setting the mesh as Dynamic, but I don't think it's a good solution.
Steps to reproduce

Add a MeshInstance3D with a Sphere geometry, and a custom shader material
Set the albedo of the custom shader to red
Add VoxelGI to the scene
Bake VoxelGI
Either use a reflective material, or use debug view VoxelGI albedo

Minimal reproduction project
VoxelGI bug.zip

Can confirm this on Windows 10, godot 4.1 RC3, nvidia GTX 1660Ti.
In the picture below it's three spheres, starting from left:

StandardMaterial3D
ShaderMaterial, visibility set to Dynamic
ShaderMaterial, visibility set to Static

Thanks for the report! Consolidating in https://github.com/godotengine/godot/issues/64124.


Verify prospective user's identification

Problem Statement
As a prospective user, I'm unable to complete onboarding to use ReportStream in production unless my identification has been verified by ReportStream or a public health authority.
For prospective users who are not referred by a public health authority to Reportstream, as an organization, ReportStream is responsible for identity verfication.
Prospective user can be someone who works at a reporting facility (sender) or public health authority (receiver).
Describe the solution you'd like
When necessary, a prospective user is able to easily provide the necessary document(s) to verify their identity.
Describe alternatives you've considered
Prospective users who find out about ReportStream independently:
Solution 1: Video session with a ReportStream admin
Solution 2: Outsource verification work to a third-party organization
Prospective users who discover ReportStream via a referral from a public health authority
Solution 1: Channel referral tool for public health authorities to easily make a referral and for ReportStream to automate the referral process

@drew-usds Can you provide any guidance on this regarding:

Who does the user ID/verification process?
Did this problem get solved?
Is it still a problem for our users/RS-admins?

This is being encompassed by Dylan's current work on engagement. Ref: #10035
Closing.


GPX export strips out XML tag

It seems that the export as GPX option is not supplying the  tag in the gpx document which means that browsers cannot open the file. The ORS API adds this information correctly
See https://github.com/GIScience/openrouteservice/issues/168

New GPX generation is still buggy


Please invite me to the GitHub Community Organization

Name
Haseeb Asif
Discord Username (if applicable)
haseebloll
Additional Context
From the creator Eddie Jaoude yt channel . Want to join for collaborations

joined the server


Mast: Watch mygradechecker.com

Mast requests the watch of the watch_keyword mygradechecker\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

mygradechecker\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


TypeScript + Vue.extend()

Component:
export default Vue.extend({
  computed: {
    availableLocales() {
      return this.$i18n.locales.filter((i: any) => i.code !== this.$i18n.locale)
    }
  }
})

I'm getting an error:

Is there a way to fix this?

The procedure is the same for all packages and it's also explained at https://nuxt-community.github.io/nuxt-i18n/setup.html

@rchl i already added it to types, but it has no effect.

You'd have to provide your tsconfig.js configuration at least and if that looks right, a reproduction repo.

tsconfig.json:
{
  "compilerOptions": {
    "target": "es2018",
    "module": "esnext",
    "moduleResolution": "node",
    "lib": ["esnext", "esnext.asynciterable", "dom"],
    "esModuleInterop": true,
    "allowJs": true,
    "sourceMap": true,
    "strict": true,
    "noEmit": true,
    "experimentalDecorators": true,
    "baseUrl": ".",
    "paths": {
      "~/*": ["./*"],
      "@/*": ["./*"]
    },
    "types": ["@types/node", "@nuxt/types", "@nuxt/content", "nuxt-i18n"]
  },
  "exclude": ["node_modules", ".nuxt", "dist"]
}

That looks correct so a repro would be necessary to figure out what's wrong.

Does order of nuxt-i18n matters here?

Not really unless some other types before it are missing or have errors.

Ok, i've restarted VSCode and it works now, thanks!


using drag handle for test brakes it

import { create } from 'ember-cli-page-object';
import dragSortList from 'my-app/tests/pages/components/drag-sort-list'

export default create({
  sortableList: dragSortList({}, '[draggable]'),
});

using this as page object for my tests it just doesn't run it and ignore it.
but just when using '[draggable]', when I just use sortableList: dragSortList, it doesn't break the test, but in my case isn't working because I use the handle for it and it shows me just one item on the list. I tried to check on the tests that are already on the repo to find some light but there is no test with the drag handle.

Can you share your code in a runnable app? Or fork the addon and use the dummy app to add a test case that isn't working?


bug report

Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
(6/6) Loading renter...
Finished loading in 0.037199685 seconds
goroutine 403459 [running]:
runtime/debug.Stack(0x10437e7, 0x0, 0xc42020dc80)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Severe(0xc42020de78, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/build/critical.go:32 +0x92
github.com/NebulousLabs/Sia/persist.(*Logger).Severe(0xc420297500, 0xc42020de78, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/persist/log.go:71 +0xe0
github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit.func2(0xc42bd5d1a0, 0xc420085628, 0x0, 0x0, 0x0, 0x1ac2e18, 0x0, 0x0)
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:196 +0x236
created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:209 +0x1e5
Severe error: ERROR: unable to create write-ahead-log: open /Users/XXX/Library/Application Support/Sia-UI/sia/host/contractmanager/contractmanager.wal_temp: no space left on device
goroutine 403458 [running]:
runtime/debug.Stack(0x10437e7, 0x0, 0xc42030bd68)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Severe(0xc42030bec0, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/build/critical.go:32 +0x92
github.com/NebulousLabs/Sia/persist.(*Logger).Severe(0xc420297500, 0xc42030bec0, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/persist/log.go:71 +0xe0
github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit.func1(0xc42bd5d1a0, 0xc420085628)
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:167 +0x227
created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:184 +0x15d
Severe error: Unable to open temporary settings file for writing: open /Users/Yadin/Library/Application Support/Sia-UI/sia/host/contractmanager/contractmanager.json_temp: no space left on device
goroutine 403459 [running]:
runtime/debug.Stack(0x10437e7, 0x0, 0xc42020dc80)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Severe(0xc42020de58, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/build/critical.go:32 +0x92
github.com/NebulousLabs/Sia/persist.(*Logger).Severe(0xc420297500, 0xc42020de58, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/persist/log.go:71 +0xe0
github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit.func2(0xc42bd5d1a0, 0xc420085628, 0x0, 0x0, 0x0, 0x1ac2e18, 0x0, 0x0)
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:201 +0x357
created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:209 +0x1e5
Severe error: Unable to properly initialize WAL file, crashing to prevent corruption: unable to write WAL metadata: invalid argument
goroutine 403459 [running]:
runtime/debug.Stack(0x10437e7, 0x0, 0xc42020daa0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Severe(0xc42020dc18, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/build/critical.go:32 +0x92
github.com/NebulousLabs/Sia/persist.(*Logger).Severe(0xc420297500, 0xc42020dc18, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/persist/log.go:71 +0x

Can you verify you have hdd space left on your device?

On Jun 2, 2017, at 9:41 PM, tigerz7z<EMAIL_ADDRESS>wrote:
Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
(6/6) Loading renter...
Finished loading in 0.037199685 seconds
goroutine 403459 [running]:
runtime/debug.Stack(0x10437e7, 0x0, 0xc42020dc80)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Severe(0xc42020de78, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/build/critical.go:32 +0x92
github.com/NebulousLabs/Sia/persist.(*Logger).Severe(0xc420297500, 0xc42020de78, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/persist/log.go:71 +0xe0
github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit.func2(0xc42bd5d1a0, 0xc420085628, 0x0, 0x0, 0x0, 0x1ac2e18, 0x0, 0x0)
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:196 +0x236
created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:209 +0x1e5
Severe error: ERROR: unable to create write-ahead-log: open /Users/Yadin/Library/Application Support/Sia-UI/sia/host/contractmanager/contractmanager.wal_temp: no space left on device
goroutine 403458 [running]:
runtime/debug.Stack(0x10437e7, 0x0, 0xc42030bd68)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Severe(0xc42030bec0, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/build/critical.go:32 +0x92
github.com/NebulousLabs/Sia/persist.(*Logger).Severe(0xc420297500, 0xc42030bec0, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/persist/log.go:71 +0xe0
github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit.func1(0xc42bd5d1a0, 0xc420085628)
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:167 +0x227
created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:184 +0x15d
Severe error: Unable to open temporary settings file for writing: open /Users/Yadin/Library/Application Support/Sia-UI/sia/host/contractmanager/contractmanager.json_temp: no space left on device
goroutine 403459 [running]:
runtime/debug.Stack(0x10437e7, 0x0, 0xc42020dc80)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Severe(0xc42020de58, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/build/critical.go:32 +0x92
github.com/NebulousLabs/Sia/persist.(*Logger).Severe(0xc420297500, 0xc42020de58, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/persist/log.go:71 +0xe0
github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit.func2(0xc42bd5d1a0, 0xc420085628, 0x0, 0x0, 0x0, 0x1ac2e18, 0x0, 0x0)
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:201 +0x357
created by github.com/NebulousLabs/Sia/modules/host/contractmanager.(*writeAheadLog).commit
/home/jrh/go/src/github.com/NebulousLabs/Sia/modules/host/contractmanager/writeaheadlogsync.go:209 +0x1e5
Severe error: Unable to properly initialize WAL file, crashing to prevent corruption: unable to write WAL metadata: invalid argument
goroutine 403459 [running]:
runtime/debug.Stack(0x10437e7, 0x0, 0xc42020daa0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Severe(0xc42020dc18, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/build/critical.go:32 +0x92
github.com/NebulousLabs/Sia/persist.(*Logger).Severe(0xc420297500, 0xc42020dc18, 0x2, 0x2)
/home/jrh/go/src/github.com/NebulousLabs/Sia/persist/log.go:71 +0x
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

right, my mistake.
however, i still cannot see my coins after reinstalling and restore from seed.. any suggestions?

Is your blockchain synced? From UI look at top right. Does it say "Synchronized". For straight CLI siac consensus.

Yes it is say synchronized but not showing coins
On Jun 4, 2017, 03:40 +0200, John Drogo<EMAIL_ADDRESS>wrote:

Is your blockchain synced? From UI look at top right. Does it say "Synchronized". For straight CLI siac consensus.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Still No coins
On Jul 28, 2017, 23:19 +0200, Luke Champine<EMAIL_ADDRESS>wrote:

Closed #1872.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

try using the recovery tool posted here: https://github.com/NebulousLabs/Sia-UI/issues/581#issuecomment-299747969

will try

On 1 Aug 2017, at 20:57, Luke Champine<EMAIL_ADDRESS>wrote:
try using the recovery tool posted here: NebulousLabs/Sia-UI#581 (comment) https://github.com/NebulousLabs/Sia-UI/issues/581#issuecomment-299747969
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/NebulousLabs/Sia/issues/1872#issuecomment-319464195, or mute the thread https://github.com/notifications/unsubscribe-auth/AZ1VAyjRmt45SJM6bblVyyxaavqRMxzSks5sT3UngaJpZM4Nu73_.


Bug: Homekit ESP-ME Switcher array invisible

Describe The Bug
ESP-ME Switcher array not visible
To Reproduce
Open Home App, Select ESP-Me Switcher, List of all switcher should appear. but the list is just empty.Only sometimes, after many many attempts, the switches are displayed. Not concretely reproducible
Expected behavior
Array of switcher should be visible to be able to control the system
Relevant log output
Plugin 1.7.1
iOS 15.4.1
but looks the same on MacOS
No difference on 2nd Phone

Config for homebridge-rainbird
{
            "name": "RainBird",
            "devices": [
                {
                    "ipaddress": "192.168.xxxx",
                    "password": "",
                    "showRainSensor": true,
                    "showValveSensor": true,
                    "showStopIrrigationSwitch": true
                }
            ],
            "disablePlugin": false,
            "platform": "RainBird"
        }

Screenshots

Device & Model
iphone 13Pro, 15.4.1
Node.js Version
16.15.0
NPM Version
8.9.0
Homebridge Version
1.4.1
Homebridge Rainbird Plugin Version
1.7.1
Homebridge Config UI X Plugin Version
4.43.2
Operating System
all

Hi @akustikrausch,
This is a known bug (see issue #200)
In summary:

Apple introduced a bug in iOS 15.4 & macOS 12.3 which can cause the zone switches to be invisible
To workaround this issue a new option was added to the plugin ("Show Zones as Valve Accessories"). With this option enabled it will show a separate Valve Switch in the Home app for each RainBird zone you have.

Hope that helps you out.


MacOs problem

First of all, thank you for sharing your project openly.
You wrote that it is for linux and android, but I tried it on my mac and got this error.
How can it be resolved?
Sni vs tunneling options are very necessary but there is nothing that can do this in macos. application, library, etc.
I would be very happy if you could help.
Good luck best wishes

@yunusemreyazici dm on telegram to suggest some solutions for your issue
My id @Abdoxfox_official


Update 6.0/stable, 6.0/sc and 6.1/testing versions

Changes proposed in this pull request:

Update 6.0/stable to 6.0.28
Update 6.0/sc to 6.0.28-39f3b98a31
Update 6.1/testing to 6.1.20-07a45f3da7

@goofball222

I noticed I forgot to update the README and CHANGELOG, I'll update the pull request accordingly :wink:

Sorry for force-pushing two times, this is one of my very first contributions on GitHub and I thought a clean repository history would be nice when you accept the PR :slightly_smiling_face: :angel:

Appreciate the PR!

Thanks! :slightly_smiling_face:


[NextLS] sqlite3 error: NOT NULL constraint failed: references.start_line

I've installed elixir-tools.vscode from the marketplace, and it's working, but there are tons of errors in the NextLS output.
statement: INSERT INTO 'references' (identifier, arity, file, type, module, start_line, start_column, end_line, end_column)
    VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?);
[Error - 10:12:27 AM] [NextLS] sqlite3 error: NOT NULL constraint failed: references.start_line

elixir-tools: 0.6.0
elixir: 1.15.4-otp-26
erlang: 26.0.2
OS: MacOS Ventura (13.4.1)
VSCode: 1.81.0

Thanks for the detailed report!
I've noticed these as well, it shouldn't effect anything really, unless you notice poor results in the Find References feature.
It should probably say warn instead of error.
Let me know if you see any inaccuracies there.

I should clarify that these are alarming and I will look into them, but the presence of them means the LSP should still be functional rather than broken.

I think for these, these are functions that are generated by elixir and don't have a spot in the source code, so we coalesce the nil line into 1 (or 0, whatever it is supposed to be)


Uploading videos

With the current media upload example, when trying to upload a video, the API returns a 413 Payload Too Large error.
Looking at the Upload API, for larger files they require chunked media uploads.
This requires multiple API requests to:

Initialize the upload using the INIT command
Upload each chunk of bytes using the APPEND command
Complete the upload using the FINALIZE command

I've tried sending the required init params, but I keep getting 401 Unauthorized errors. So I'm not sure if it's something I'm doing wrong, it's an issue on Twitter's end or if something needs tweaking in this library
upload_client = X::Client.new(base_url: "https://upload.twitter.com/1.1/", **x_credentials)
upload_client.post("media/upload.json?command=INIT&media_type=video/mp4&total_bytes=4430752")

Any ideas? Or could you add an additional example? Thanks

@deanpcmad Thank you for opening this issue! As I started looking into this and found a couple bugs in the library.
The main bug is that I’m not escaping query parameters from URLs. I’ve already fixed this bug and will release gem version 0.9.1 shortly. In the mean time, you can apply this patch to your code as a workaround (as soon as 0.9.1 is released, you can revert back to your original code):
 upload_client = X::Client.new(base_url: "https://upload.twitter.com/1.1/", **x_credentials)
-upload_client.post("media/upload.json?command=INIT&media_type=video/mp4&total_bytes=443075")
+upload_client.post("media/upload.json?command=INIT&media_type=video%2Fmp4&total_bytes=443075")

Ah neat, thanks!

@imack I’ve added a new X::MediaUpload helper and updated the examples to show how to use it. This should allow you to greatly simplify your code. This will be included in the next release of this gem (version 0.10.0).
Note: this helper will automatically split videos into 5 MB chunks. You can adjust the chunk size, if you like.

So I've just had chance to test this out, but I'm having encoding issues when trying to upload through this.
I've tried both downloading the video as a TempFile in my app and by downloading via Firefox and setting the path, but it always returns this error:
gems/x-0.12.0/lib/x/media_uploader.rb:75:in `write': "\xDA" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)

Any ideas?

@deanpcmad This should be fixed by https://github.com/sferik/x-ruby/pull/13. I’ve just released version 0.12.1, which includes this fix.


basic Player class

Basic Player class which handles:

Player movement
Camera angle change

For now these only change the values on the Renderer class.

Progress towards #3 and #8


Akka.Monitoring.PerformanceCounters

I've created monitoring implementation for performance counters. Used for my own project propuse, but I think it could be included here. At the moment it contains handlers for built-in counters . I'm going to implement PC for custom counters/rates etc. later on.

Hi @MaciekLesiczka - this looks awesome. Any reason why you closed the PR?
I also just realized that our build server didn't have the correct settings on and guests can't see the reasons why the build failed. Just fixed that a moment ago.

Hi Aaron,
Now I see the problem, thanks. I will reopen PR once the issue is fixed

@MaciekLesiczka could you also send your PR into the dev branch instead? master branch will kick off a new NuGet release right away :p

got it:) added new PR

Awesome! Now one last thing - I don't have a contributing.md doc for this repo yet but traditionally we follow this process for squashing commits as part of a pull request:
https://github.com/akkadotnet/akka.net/blob/dev/CONTRIBUTING.md
Essentially you'd need to squash your commits and then do a forced update to this branch. Would you mind doing that? It makes it easier to review all of the changes.

Hi Aaron, makes sense:) Commits squashed. Will try to follow all the rules next time:)

Replacing this with #13


日本語の方が問題作成は得意？

もしかして、試験の形式に似せて上げると良いのかも？
以下の文を読み、問題に答えなさい。

＜本文＞

みたいな

https://beta.openai.com/playground/p/default-chat?model=text-davinci-003 で試行錯誤中
Human: 以下の英文の中にある英語学習者（中級）にとって難しい単語を全て挙げて、それぞれの用例を英語で挙げつつ説明してください。

Lucid Group (NASDAQ:LCID) soared 43% amid a report that Saudi Arabia's Public Investment Fund may be preparing to acquire the remainder of the electric vehicle maker it doesn't already own.

There's speculation that the Public Investment Fund is working on a plan to buy the remainder of Lucid (LCID), according to a Betaville "uncooked" alert. The fund may be working with JPMorgan on a possible plan to buy the remainder, though it's not clear when a formal offer will be made.

PIF's long term plan appears to be to take Lucid (LCID) private and re-list the company on the Saudi Arabian stock exchange in some years time, according to the report, which cited people speculation people following the matter have heard.

Lucid told Seeking Alpha in an email that it doesn't comment on rumors or speculation.

The PIF currently owns more than 62% of Lucid (LCID).

In November Lucid (LCID) announced Lucid announced a $600M at-the-market program, $915M investment by unit of Saudi's PIF.

Lucid (LCID) came public through a SPAC deal in July 2021, which including PIPE funding from Saudi Arabia's Public Investment Fund. The PIF first invested $1 billion in Lucid in 2018.

Morgan Stanley's well known auto analyst Adam Jonas and his team in October opined if investors fully appreciate the supportive role of the Kingdom of Saudi Arabia when valuing LCID.

"It is our working assumption that the relationship between the Kingdom of Saudi Arabia and Lucid could extend beyond a controlling shareholder status," Jonas wrote at the time.

Lucid (LCID) short interest is 25%.


Output Helper with Instance deployment

Hi,
It's possible using output helper with instance deployment?
Because the output helper uses the following syntax:
output("DEPENDANT_STACK.OUTPUT_KEY", options={})
And the helper will look for the variable in .terraspace-cache/region/env/stacks/DEPENDANT_STACK but in an instance deployment the folder created it's .terraspace-cache/region/env/stacks/DEPENDANT_STACK.INSTANCE.
How can i use the Output helper in this kind of deployment? If it's not possible, i would like to request this feature and in the meanwhile i would be highly appreciated any ideas for workaround.
Thanks

Tks @tongueroo


chore: bump dependencies

I tried fixing https://github.com/denoland/fresh/issues/1421 by increasing the version to 0.18.15, but I was getting a type error complaining about 0.17.19. I see we're still using that here, so I thought I'd increase the versions here.

@lucacasonato, what do you think about this?

@lucacasonato, any thoughts? You can close this or start the tests to make me go away, otherwise I'll continue with my exponential backoff and try again in four weeks.

If I want to use the X version of esbuild in my project, I may not be able to as the imported types for esbuild within this project appear to be pinned to a specific version.
I wonder whether it would make sense to use the types that come with the version of esbuild that is ‘installed’ by the user?
In this way, the user will be able to see whether there is some genuine problem with the Plugin type (like the provided plugins are in some way not compatible with that version of esbuild). If that is the case, then users could deal with this problem directly.
What do you think?


layers.pop no longer removes the last layer

Hi,
I am stuck on this issue where layers.pop() no longer removes the last layer. My workaround was to use _layers.pop but this has now been deprecated. I am aware that the new usage should be to get the output from Model.layers[-2] (or whichever layer you would like as the output) and define a new model with this as the output.  The issue with this is it is now impossible to load weights saved by a model which had used the original .pop() method to remove the last n layers. Is there any workaround to get the old _layers.pop() behaviour back?
Thank you in advance

The issue with this is it is now impossible to load weights saved by a model which

Will it work, skip_mismatch=True
Model.load_weights(filepath, by_name=False, skip_mismatch=False, options=None

@PolarBean Please refer to the comment above and let us know?
Thank you!

by_name and skip_mismatch set to False does not work however both set to True does load the weights. See the two attached scripts for replication.
scripts.zip
I will now test whether the model with these two options behaves as expected.

But I doubt that it will work since the model summary created in 1.15  is
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
input_2 (InputLayer)         [(None, 299, 299, 3)]     0
_________________________________________________________________
xception (Model)             (None, 1000)              20861480
_________________________________________________________________
dense (Dense)                (None, 256)               256256
_________________________________________________________________
dense_1 (Dense)              (None, 256)               65792
_________________________________________________________________
dense_2 (Dense)              (None, 9)                 2313
=================================================================
Total params: 21,185,841
Trainable params: 21,131,313
Non-trainable params: 54,528

And the model summary created in 2.10 is
_________________________________________________________________
 Layer (type)                Output Shape              Param #
=================================================================
 input_2 (InputLayer)        [(None, 299, 299, 3)]     0

 model (Functional)          (None, 10, 10, 2048)      20861480

 dense (Dense)               (None, 10, 10, 256)       524544

 dense_1 (Dense)             (None, 10, 10, 256)       65792

 dense_2 (Dense)             (None, 10, 10, 9)         2313

=================================================================
Total params: 21,454,129
Trainable params: 21,399,601
Non-trainable params: 54,528

So it appears in 1.15 ._pop does not modify the model in place.... 🤦

@PolarBean
Are you sure it's correct? tf.keras is happeded after tf 2.0.
"""
@filename = 1_15ModelBuild.py
This script has been tested and works with tensorflow 1.15.0
"""

from tensorflow.keras.applications.xception import Xception
from tensorflow.keras import Model
from tensorflow.keras.layers import Dense, Input

Apart from it, about ._layer.pop(), please check. https://github.com/keras-team/keras/issues/15542 cc. @qlzh727

https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/keras
Seems that tf.keras is indeed part of 1.15
But yes it seems that you have had a similar issue. Hopefully there is a workaround :)

Any help with this would be amazing as this issue prevents me from releasing my package on PyPi

I think overall, layers.pop will not be supported on functional models. As generally speaking a functional model is a directed graph, a pop function is not really well defined. Sounds like the issue here is really finding a workaround for load_weights() from a older "popped layers" model to a newer "sliced" functional model. Is that right?
I would highly suspect there is the way to either modify the weights to fit your needs here, or run your own loading code shim for these old weights. But we probably don't have the bandwidth on the Keras team right now to poke around with what that would need to look like. This may require digging into the guts of Keras load_weights call and seeing where things go south.
Anyone in the community who has insights please chime in here!


Fix F-DROID error

Hi!
I can't find your app easily in f-droid because your app posses a vulnerability...
Can you fix your app please:
error 1: https://f-droid.org/wiki/page/Antifeature:KnownVuln
error 2: https://f-droid.org/wiki/page/AntiFeature:DisabledAlgorithm
Regards
PS: You can now add a preview in f-droid app

I don't support f-droid, and it's unclear to me what the problem here is
supposed to be. Please get releases from Play Store or the releases page
here on GitHub.
I never uploaded any APK to f-droid, so it's possible someone else did so
with one they built themselves and used an obsolete signing method.
On Mon, Dec 10, 2018, 18:49 borrougagnou<EMAIL_ADDRESS>wrote:

Hi!
I can't find your app easily in f-droid because your app posses a
vulnerability...
Can you fix your app please:
error 1: https://f-droid.org/wiki/page/Antifeature:KnownVuln
error 2: https://f-droid.org/wiki/page/AntiFeature:DisabledAlgorithm
Regards
PS: You can now add a preview in f-droid app
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/klausw/hackerskeyboard/issues/699, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABU-3990KXUJczGxAnL_OFLic7Cu3rRQks5u3x04gaJpZM4ZMkMX
.

The weak algorithm issue is relevant only for old APKs. The most recent version (1.41.1) is safe.

@Relan It still shows antifeatures "weak security signature" & "known security vulnerability."  If you say the latest version's safe, could these be removed?

@TPS knownVuln (and with it the weak signature) to my knowledge are added automatically by fdroidserver, and not manually by us. Apart from that, I don't see that AntiFeature on the latest version (1.41.1), check for yourself: https://f-droid.org/packages/org.pocketworkstation.pckeyboard/

OIC:  @borrougagnou: If 1 has F-Droid Archive setup in F-Droid app's repos, these antifeatures show (correctly) about the < v1.39.× versions from there.  Disable the Archive, & the antifeatures automagically vanish.  I think you can close this issue FTW.
@IzzySoft @Relan:  Thanks for the assistance. 🙇  Has there been any discussion of clarifying this kinda situation in F-Droid app re: these antifeatures?
@KlausW Sorry for the unsupported chatter.  You should know that HK is a critical part of the F-Droid ecosystem & we're all deeply indebted to you for it. 🙇:bowing_woman:

@TPS I just have heard multiple times that for some reason enabling Archive has the strangest side-effects: icons disappearing I knew, unrelated AntiFeatures added is new to me. AFAIR it is discussed somewhere, but nobody could figure out yet what's the reason. Add to that our permanently being understaffed, and you get an idea why things take that long …

@IzzySoft I'm sure this behavior w/ the antifeatures in this case isn't necessarily incorrect, just unclear.  I'll eventually propose better behavior over @ https://forum.f-droid.org/.

@TPS care to explain why it shouldn't be incorrect to show AntiFeatures for an app that has none – just because some other repo got enabled? Unless that "other repo" has a newer version coming with AntiFeatures, of course.

@IzzySoft Example: In the last release or few, KlausW had to upgrade API compatibility.  Depending on user's hw/OS config, the antifeature might be relevant for the available build.
So, the flag isn't necessarily incorrect, but F-Droid app would need more smarts built-in to determine it case-by-case/per-version/per-APK, &, as you say, there's permanent understaffing.…

@TPS I still don't get it. What does the API update got to do with signing? DisabledAlgorithm relates to old signing algorithms such as MD5. As does KnownVuln. So both are "caused" by the signing process. Nothing to do with what API level the app targets.

I think this means that a user may need to use an old APK because their
device isn't compatible with the new API level required by current APKs,
and the old APK from the archive is using an old signature algorithm for
which the warning would indeed be appropriate.
That warning no longer applies to current versions, but it can't
retroactively fix old versions.
On Wed, Dec 12, 2018, 11:41 Izzy<EMAIL_ADDRESS>wrote:

@TPS https://github.com/TPS I still don't get it. What does the API
update got to do with signing? DisabledAlgorithm
https://f-droid.org/wiki/page/AntiFeature:DisabledAlgorithm relates to
old signing algorithms such as MD5. As does KnownVuln
https://f-droid.org/wiki/page/Antifeature:KnownVuln. So both are
"caused" by the signing process. Nothing to do with what API level the app
targets.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/klausw/hackerskeyboard/issues/699#issuecomment-446717807,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABU-34YNNLjQCZfRlAQV2uKKQRGo13qPks5u4VwFgaJpZM4ZMkMX
.


Build and compile fixes

Hi,
For this to run on my system I had to

update some dependencies
fix the typescript errors:

    ng2-semantic-ui/components/search/search.ts(42,24): error TS7006: Parameter 'isOpen' implicitly has an 'any' type.
    ng2-semantic-ui/components/select/multi-select.ts(161,24): error TS7006: Parameter 'isOpen' implicitly has an 'any' type.
    ng2-semantic-ui/components/select/multi-select.ts(261,46): error TS7006: Parameter 'o' implicitly has an 'any' type.
    ng2-semantic-ui/components/select/select.ts(157,24): error TS7006: Parameter 'isOpen' implicitly has an 'any' type.
    ng2-semantic-ui/components/select/select.ts(235,57): error TS7006: Parameter 'o' implicitly has an 'any' type.
    ng2-semantic-ui/components/transition/transition.ts(45,5): error TS7008: Member '_isVisible' implicitly has an 'any' type.
    ng2-semantic-ui/components/transition/transition.ts(57,5): error TS7008: Member '_isHidden' implicitly has an 'any' type.

This all looks good - thanks for sorting this. Will do a patch release now with these changes.


Use cloud-init rh_subscription module to register and auto-attach subscriptions

What this PR does / why we need it:
This PR removes the registration of the machine from the setup script (run by a systemd unit) and attempts to use rh_subscription cloud-init module as a replacement.
The advantage of doing this is that the module attempts the registration only if the system is not already registered.
Which issue(s) this PR fixes (optional, in fixes #<issue number> format, will close the issue(s) when PR gets merged):
Fixes #777
Special notes for your reviewer:
Optional Release Note:

/test ?

@irozzo-1A After testing the new change regarding the rh-subscription module, it appears that, if the cloud init script fails at some point the subscription won't be cleaned. So I am not sure about the value of this change?

@irozzo-1A After testing the new change regarding the rh-subscription module, it appears that, if the cloud init script fails at some point the subscription won't be cleaned. So I am not sure about the value of this change?

@moadqassem  Let me explain the issue this PR solves to avoid misunderstandings.
The registration of the machine is currently performed in the setup script, that gets re-run in case of failure. The problem is that when an error occurs after the node registration, the script is re-run (potentially lot of times as we observed) ending up in multiple registrations for the same machine. This basically means the script is not idempotent.
In order to fix this I found two main options:

Fix the setup script to be idempotent either by re-subscribing cleanly et each run or by checking if a registration is already present.
Move the registration out from the setup script, and the rh-subscription module is intended for this purpose. It also verifies if the node is already registered and in this case it does not register again.

IMO the second option is simpler and cleaner.
Note that currently we are not unregistering the systems in any case with the setup script, so nothing changes in that respect. Anyway this is not the central point of this PR as mentioned above.

@irozzo-1A

It also verifies if the node is already registered and in this case it does not register again.

But actually this is not happening. I have tested it and I saw that whether the node is registered or not the subscription is recreated.

But actually this is not happening. I have tested it and I saw that whether the node is registered or not the subscription is recreated.

The test that is performed is here, and relies on this command:
subsctiption-manager identity

It does not make use of the subscription management API if this is what you mean, it just checks locally. Note that this is not required to solve the issue reported here.

/approve
/lgtm


Sync mutliple settings profiles

Settings sync is recently introduced in insiders.
(I don't run insiders, I just saw the announcement in the release notes so this may already be present)
To date I have used an extension for this that operates very well (mega props to the dev): https://github.com/shanalikhan/code-settings-sync
This extension uses private GitHub gists to sync settings, this means that there can be multiple gists for multiple settings "profiles". This is super handy for example where I have settings that I use across machines at work, and different settings that I use across personal machines.
Does, or can, the settings sync feature support similar?
Thanks!

@wolf99 can you give an example of what sort of profiles you use and how they differ (just settings, or extensions too)?

Sure, different settings are useful in cases where:

Work may have internal services instead of the generally available ones I use for my own work (e.g. SonarQube, PMD rule-sets, etc), so extensions and extension settings will be different
Common settings that differ, I need to use for work but that I don't want to use at home (e.g. eg layout may change due to different screen count, size and resolution).
Extensions that are useful in one setting but not in the other (e.g. I might use Java and Maven extension set at work, but at home it is just unused bloat; and vice-versa for the C set).
Or even down to the level of the version of or permissions for Windows (e.g. one environment may allow and have latest update for WSL, other environment does not allow WSL, or is held back version of windows meaning WSL is not of required version)

I'll add my own use-cases here too as this is a feature that is very important to me (and it made the Settings Sync extension less useful until support for multiple gists was added).
As @wolf99 mentioned, there are scenarios where one machine (or one version of Code, say Insiders vs regular) needs to have different settings and extensions than another.
For instance, I have different extensions installed across my Macs and my PCs (similar to what Chris mentioned in #88625) and my work-around is to have a different sync profile/gist for Mac and PC.

In addition to workspace settings for a project, I sometimes find it better to have a separate "profile" with a set of included/configured extensions for  a specific purpose. That way, I can avoid extension bloat (as @wolf99 mentioned) when it is only needed in certain scenarios.
I like to have work/personal profiles of specific settings and extensions. There are some extensions I only use at work, as an example.
I have a "blank" profile which is useful when doing in-person or online demos. Yes, I can just use a portable version of VS Code or delete my settings file altogether, but when I'm doing a training or workshop, I want to have the same experience as the class and go through the process of setup together. Having this "blank" profile is really useful in this context.
There are sometimes differences in extension settings based on the context of where it is being used.
I like to keep different extensions and settings for VS Code vs VS Code Insiders, as I often use Insiders to test more bleeding-edge things and know stuff can break.

We discussed about this partially (especially from insiders vs stable perspective) and decided not to separate them - https://github.com/microsoft/vscode/issues/89066. Recommendation was to use different user accounts/profiles in such cases.

Hi @sandy081, as #89066 has been closed with a resolution that does not facilitate  this aspect (nor does it seem to rule it out), can this issue be considered again?

For similar, see Profile Switcher extension.

@theAkito we changed our mind so we have a completely separate service with a separate backing database to roll changes out to first. Switching to stable is available so you can still sync between stable and insiders as we know that's something people want to do.

Two more data points on this:

Container image repositories. At work we, and I imagine most orgs that develop proprietary containerised s/w, use internal image repos rather than public ones. This means settings such as repo URL and credentials are different, specifying them all on the command line every time in either work or home reduces the usefulness of both settings sync and also extensions tat would use such settings.
With the release of WSL 2, the gap between settings in vscode that work for for using WSL 2 vs WSL 1 (on held back installs of Windows)  is now getting quite noticeable.

Microsoft should have hired Shan and used this extension as a base of their own sync logic, that's my five cents.

Recently, I am having the same issues in VS Code extension as well. It was really troublesome if I switch javascript project to Java project or vice versa. I need to look around for the extension, enable and disabled it. So troublesome.
Currently, my solution is using vs code for javascript projects and IntelliJ IDEA for Java projects.
Is there any update on multiple settings profiles? 😄

If anything I would call that one a duplicate of this 😄

Yeah this was first but that one consolidates other related issues and has some ux explorations.


Add Bitbucket OAuth provider

Hello, this is my first commit. If there's any issues let me know!
I tested with JS-SDK and I managed to sign in.
I ran make test and it seems to work fine.
I also ran make lint and no new errors was found.
You can create a new OAuth app here https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/

I was able to test the integration and everything seems to work fine!
I've squash-merged the PR locally in the develop branch with some minor modifications:

added checks for the account_status:active field in case the account is suspended for some reason
refactored the primary email function to ignore only the request errors for consistency with the other similar providers and to help with the debugging in case something else has gone wrong

The provider will be part of the next v0.21.0 release (there is no ETA yet).


Parsing different types in the same node for different items

I'm parsing an API which JSON responses are the greatest but sadly I cannot change it.
So, I have an array and the "in_library" node can bring a false (Bool) or an object that, inside, has a "status" as a String.
I want to parse that "in_library" node and, if it is an object, get the value in "status". If "in_library" is false I don't mind having it as nil.
Error Messages
Not any error actually, I'm trying to figure a way to do this.
Sample JSON
With "in_library" as an object (trimmed the JSON just to keep this):
"in_library": {
			"status": "done",

With "in_library" as Bool (not hard to guess)
"in_library": false,

Models
I believe it is not relevant, although I'm using classes so I can have inheritance
Argo Version
Argo 3.0.1
Dependency Manager
Cocoapods

oof. Mismatched types in JSON are usually a bad time.
The specific issue here is that while missing keys are a failable parsing operation, type mismatches are not. This means that you won't be able to do something like j <|? ["in_library", "status"]. which would work if in_library consistently held a dictionary. But since it isn't, you'd get a type mismatch while trying to access "status" and so the operation would fail.
Luckily for us,. we actually have a pretty straightforward way out with <|>! We can use alternative here (along with <|? to make the initial parsing completely failable while providing a sane default in case the key doesn't hold a dictionary. You can use this like so:
// in your decode function
<*> (j <|? ["in_library", "status"]) <|> pure(.None)

So the left hand side tries to parse out the status key from the in_library dictionary, and succeeds unless the in_library key holds something other than a dictionary. In that case, we fall back to the right hand side, which simply returns .None wrapped in Decoded.Success.

Another option is, if you've got a type like this:
enum InLibraryStatus { // or whatever it's called
    case Done
    case NotDone
    case NotInLibrary
}

You can create a custom decode for it, which checks if the value is a Bool or Object, and parses the enum value based on those.

yep, that's also a great idea and would allow you to avoid the optional property.

Thanks for the idea guys!
In truth, I'm converting the status to an enum with this implementation (I actually reached an answer before seeing your feedback):
enum MovieStatus: Decodable {

    case Waiting
    case Downloaded
    case NotDownloaded

    static func fromString(string: String?) -> MovieStatus {
        var status: MovieStatus = .NotDownloaded
        if string == "active" {
            status = .Waiting
        } else if string == "done" {
            status = .Downloaded
        }
        return status
    }

    static func decode(json: JSON) -> Decoded<MovieStatus> {
        switch json {
        case .Bool:
            return pure(.NotDownloaded)

        case .String(let string):
            return pure(MovieStatus.fromString(string))

        default:

            let stringStatus = curry("".stringByAppendingString)
                <^> json <| "status"

            let status = MovieStatus.fromString(stringStatus.value!)
            let pureStatus = pure(status)
            return pureStatus
        }
    }
}

basically, on my default, I'm assuming it is an object. I don't expect anything different so it should be fine. However, I think it is more failure prone when comparing to the usage of <|>. In any case, I'll need some sort of decode function for the MovieStatus.
Thanks for the help guys! very very helpful

@gfontenot Any documentation on all the available operators, how they can be used and so on? Or is that the documentation still in //TODO in the repo?

As of Argo 3.0 we have inline documentation for (I believe) the full public interface. You can see it generated on CocoaDocs


Unable to fetch latest episodes on BatchFetchPodcasts call

Hello!
There is a problem with method for batch fetch podcasts with latests episodes.
Expected due to docs https://www.listennotes.com/api/docs/?lang=go#post-api-v2-podcasts
func main() {
  client := listennotes.NewClient("<SIGN UP FOR API KEY>")
  resp, err := client.BatchFetchPodcasts(map[string]string{
    "ids": "3302bc71139541baa46ecb27dbf6071a",
    "show_latest_episodes": "1",
    "next_episode_pub_date": "1557394247000",
  });
  if err == nil {
    // Print out the entire response data as a string
    fmt.Println(resp.ToJSON())

Actual method interface:
func (c *standardHTTPClient) BatchFetchPodcasts(ids []string, args map[string]string) (*Response, error) {
	return c.post("podcasts", args, url.Values{
		"ids": []string{strings.Join(ids, ",")},
	})
}

So, i cant pass additional body parameters.

@zzzux Do you use a real API key? Or do you sending requests to API mock servers for testing?

@wenbinf real API key

@wenbinf real API key

Thanks for your reply. Looks like it's a bug on our end. Looking now.
Using curl or SDKs of other non-go languages is working.

@zzzux It should be fixed now. Please try again.

@wenbinf Thank you for quick reply! Working fine now.


NPC South-Western square shower

Describe the solution you'd like
An indicator (like tile tagging) that shows the most southern western square of NPCs that are larger than 1x1.
Additional context
In OSRS the most southern western square of a large NPC determines where splash damage is applied (chins, barraging etc.). For example, to kill Kree'ara with chinchompas, the southern-western square of the minion must be adjacent to the southern-western square of Kree'ara for the splash damage to apply correctly.
This is also important for determining how monsters are 'blocked' by scenery. For example, in the Inferno, to safespot a melee creature you must line their southern-western square up with your character.
By adding this in, it will make such activities more convenient

You can already just tag the monster, use tile highlighting to see whole tile and then just use compass


vite-plugin-iso-import is broken from SvelteKit 146 onward

See https://github.com/sveltejs/kit/issues/2371.
Describe the bug
I was using vite-plugin-iso-import successfully just fine for a few weeks. Today I updated SvelteKit from .144 to .162 and now I am getting this error when trying to start the server:
> The following dependencies are imported but could not be resolved:

  text-field-edit?client (imported by /Users/kevin/Workspace/cn-sveltekit/src/lib/components/Textarea.svelte)
  fit-textarea?client (imported by /Users/kevin/Workspace/cn-sveltekit/src/lib/components/Textarea.svelte)

Are they installed?

Reproduction
My (simplified) Textarea.svelte component:
<script>
  import { onMount } from "svelte";
  import { insert, wrapSelection, getSelection } from "text-field-edit?client";
  import fitTextarea from "fit-textarea?client";

  export let value = "";
  let textarea;

  onMount(() => {
    fitTextarea.watch(textarea);
  });
</script>

<textarea rows="3" bind:value bind:this={textarea} />

My svelte.config.js file:
import md from "vite-plugin-markdown";
import { isoImport } from "vite-plugin-iso-import";

/** @type {import('@sveltejs/kit').Config} */
const config = {
  kit: {
    vite: {
      plugins: [md.plugin({ mode: md.Mode.HTML }), isoImport()],
    },
  },
};

export default config;

After some trial and error it turns out it broke in SvelteKit .146 - it still works with .145.

The issue is that during Vite's prebundling, it's not able to resolve package?client as package. Currently I'm trying to add a custom esbuild plugin to intercept it but I'm having issues as build.onResolve requiring us to do the entire resolving ourselves instead of the "modify path and fallthrough" technique I'm familiar in rollup. Gonna have to investigate this again tomorrow.

This should be fixed in 0.1.2. Hope the fix works on your end too!

Great, thanks! I'll test tonight.

It works, thanks for the quick update!


Services not found exceptions whith phpstan 1.4.5

I get this exception, like dependency injection is not able to resolve services.neon dependencies:
In Resolver.php line 452:

  Service of type Symplify\PHPStanRules\Composer\ComposerAutoloadResolver: Service of type Symplify\SmartFileSystem\
  SmartFileSystem required by $smartFileSystem in ComposerAutoloadResolver::__construct() not found. Did you add it
  to configuration file?

Here's my phpstan.neon includes part
includes:
    - vendor/symplify/phpstan-rules/config/string-to-constant-rules.neon
    - vendor/symplify/phpstan-rules/config/regex-rules.neon
    - vendor/symplify/phpstan-rules/config/services/services.neon

Using php 8.1.3 & composer 2.2.6

Hi, you might need to register this services manually,
or better use https://github.com/phpstan/extension-installer
That way you don't have to care about dependencies and installer adds them for you.

@TomasVotruba thank you, I've installed  https://github.com/phpstan/extension-installer and all is :ok_hand:


Updating cosign version to fix signatures fetching

PR https://github.com/sigstore/cosign/pull/287 changed the signature
extension from .cosign to .sig.
As we are using Cosign:v0.2.0, the manager was not able anymore to fetch
signatures signed with latest version of Cosign.
Fixes: #3
Signed-off-by: Youssef Azrak<EMAIL_ADDRESS>

Thanks!


Configuration to automatically install packages on new env

Is there a way to automatically add a list of packages after virtualenv creation?
For example I always install debug, konch and cookiecutter package after virtualenv creation with pip
It could be a global config file or environment

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/23381321-configuration-to-automatically-install-packages-on-new-env?utm_campaign=plugin&utm_content=tracker%2F335155&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F335155&utm_medium=issues&utm_source=github).

There's no such feature at least for now. I think it should be implemented aspyenv plugins, or custom pyenv hooks.

I have a plugin for exactly this use case: pyenv-default-packages.

@jawshooah Cool :+1:  Why would I remove that from Wiki!!

The wording on the Plugins page seemed to indicate that all plugins listed there must first be approved by maintainers, so I just wanted to make sure you were cool with it :beers:

Nice! I didn't know about this plugins page! I think this issue could be closed!
Thank you

@jawshooah maybe we should add support of https://github.com/yyuu/pyenv-virtualenvwrapper too at your plugin

I haven't used that plugin, but feel free to open an issue on the plugin repo (or better yet, submit a PR!)

@jawshooah I havent used that plugin either, it was just an idea :smile:


Get a sample with MongoDB replication

Would be nice to have this through docker.

@tugberkugurlu what is the concern here?

This was purely based on assumption that people who engage with ASP.NET Core Identity would need guidance on how to achibe high availibility with MongoDB. However, not a huge concern at all. Can be closed safely I believe.


Qivium material very imbalance

Maybe it only my bug, but qivium material looks like a cheat. They have very hight damage (exemple: sword have 56.88 damage). Does he have a debuff? Because i dont have any debuf. But I see in description "half hp", maybe this is debaf? But I don't get the debuff when I use the Qivium item.
Version mc: 1.12

the material make you lose 10 hearts while holding it. by lose i mean you literally can't use these hearts, they're gone. unless a mod is messing with it you should lose these hearts. i tested the material myself

Strange, maybe some mods change something. I have only 10 hearts (I have no mods that increase this value). And in theory I should die with this item (qivium)


Model zoo fix doctstring format

Suggest correct format for model_id adhering to assertion in function.

thanks abdul. @davidsebfischer is this the correct format now in the docstring?

Yes, thanks!


Update webpage-html-web-resources.md

Updating the pass parameters content to include that parameters are now automatically encoded.

@chmoncay Closing this without merging as you have another PR (https://github.com/MicrosoftDocs/powerapps-docs/pull/663) to fix the same content.


Fallback to correct language when language+region is weird fails in toRelative()

I'm using iOS 12.1 simulator (also checked on device). On app start I have:
Locale.current.languageCode == "fr"
Locale.current.regionCode == "US"
Locale.preferredLanguages == ["fr-CA", "uk-US", "en-GB", "en"]
My app supports "en", "fr", "it", etc. So according to stackoverflow:

Under iOS 11, [NSLocale currentLocale] only returns languages supported by your app's localizations.

My Locale.current.languageCode is equal "fr" (because no "fr-CA" support).
In SwiftDate func language(forLocale locale: Locale) returns incorrect RelativeFormatterLang.
On input I have locale.collatorIdentifier == "fr_US" (because "US" is my regionCode).
The code tries to break the string localeId.components(separatedBy: "-") and fails. After that returns English...
Expected result:
func language(forLocale locale: Locale) returns French.

Would you make a PR for this?

Sure. I’ll get to it tomorrow...

I have created a pull request, that to the best of my knowledge, fix the issue at hand. I had to adapt my fix to also cover the original authors issue.
I was only able to verify this issue by manually creating a fr_US locale, so I would be glad to see this verified by the author of this issue.
The proposed PR should not be breaking any existing cases though, only return potentially more precise language tables.


Shader error in 'Hidden/PostProcessing/FinalPass'

We are accepting issues and we want your feedback.

Description
Shader error in 'Hidden/PostProcessing/FinalPass': '#extension' : extension not supported: GL_AMD_vertex_shader_layer at line 4 (on vulkan)
Compiling Vertex program with STEREO_INSTANCING_ENABLED
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_SCREENSPACE_SHADOWS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_HARDWARE_TIER1 UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
Expected behavior
No error.
Current behavior
Followed by -
Shader error in 'Hidden/PostProcessing/FinalPass': '#extension' : extra tokens -- expected newline at line 4 (on vulkan)
Compiling Vertex program with STEREO_INSTANCING_ENABLED
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_SCREENSPACE_SHADOWS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_HARDWARE_TIER1 UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
Then -
Shader error in 'Hidden/PostProcessing/FinalPass': '' : compilation terminated at line 4 (on vulkan)
Compiling Vertex program with STEREO_INSTANCING_ENABLED
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_SCREENSPACE_SHADOWS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_HARDWARE_TIER1 UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
Possible solution
This is not obligatory but if you have a preference, please suggest a fix for the bug.
FinalPass_20190322135626.zip
Steps to reproduce
Provide an unambiguous set of steps to reproduce this bug. Include code snippets if relevant.

Followed installation steps, although on top of vs2015, redirected unity's default code editing to vs2017 afterwards.
cloned gdk and fps sample ok, opened fps sample ok
started build workers process which failed with the above error, plus lots of warnings.

Environment
What were you trying to accomplish?
Please include your spatial diagnose output in full.
Please detail your OS and Unreal Engine versions.
x64 arch windows 10 and unity 2018.3.5f1, dotnet core 2.1.402
Provide a general summary of the issue in the title field above.

Repeated 4 hours later

Repeated again and it worked - maybe timing is an issue? But during a build?

Working now in any case.


Trying to load fonts from file protocol in dev

This is due to the less plugin rewriting the urls. We should do it differently on the server.

Probably should be using the renderingLoader in this case.

Have a PR for this: https://github.com/donejs/css/pull/17

This is fixed in done-css 1.1.9


[Feature request] Add shortcut to copy OTP

General information

Operating system + version: any
Browser + version: any
Browserpass extension version as reported by your browser: 2.0.22

First of all, thank you for this extension.
Now, unless I am mistaken, there is no keyboard shortcut to copy the OTP token; would it be possible to add it?
That would really speed up logins, as no mouse would be required:

CTRL+SHIFT+L: raise browserpass
fuzzy search: search for the pwd
CTRL+SHIFT+O (example): copy the OTP, too

I'm aware that in referring to https://github.com/browserpass/browserpass/issues/256 you suggested an external script to do the job; a shortcut would be ... well ... shorter :-)

Instead of copying, it would be great to insert the OTP into the currently focused field. This way, you don't need to involve the clipboard.

The entire OTP functionality will not be part of v3, sorry. I'll put up an explanation in README, but for now refer to #322.


[US-14-1] Identify the group of objects

Need for tech decomposition
https://jdi-family.atlassian.net/wiki/spaces/JDN/pages/22347797/US-14-1+Identify+the+group+of+objects
Design: https://www.figma.com/file/BVIiVfeuQfQuD1fi7HP99K/JDN-(v.2)?node-id=0%3A1

This US was moved to Backlog, because we won't include multiple selection


chore: bump all charts except tekton

Signed-off-by: ankitm123<EMAIL_ADDRESS>

/approve

/hold

/hold cancel


feat(ingest/bigquery): usage for views

BigQuery Audit logs contain tableDataRead events for only tables  even if a Query contained a BigQuery View. Due to this, usage for views is applied to its base tables.
This PR attempts to extract usage statistics for views by parsing the query, at the same time keeping it configurable in recipe, if old behavior (attributing view's usage to its base tables) is preferred. (apply_view_usage_to_tables: True).
The only limitations with such parsed usage (apply_view_usage_to_tables: False, set as default behavior) are due to limitations in sql parsing. For example - we can not extract field level usage with this.
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[x] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@asikowitz yes, I have tested with with connector tests for both cases apply_view_usage_to_tables: False and apply_view_usage_to_tables:True and this seems to be working fine.


fix(genAI): set loading dots to atomic-primary

Huge change to set loading icon to atomic-primary instead of the hardcoded #1372ec. The default color of atomic-primary is also #1372ec.
https://coveord.atlassian.net/browse/SVCINT-2527

@y-lakhdar or @louis-bompart could you merge this major CSS update for me 🙏

@y-lakhdar or @louis-bompart could you merge this major CSS update for me 🙏

no u. (fixed the access)