Release 2022-07-13

There was some merge conflict because the line changed in https://github.com/usdigitalresponse/arpa-reporter/pull/418/files has apparently been changed a couple times. I resolved the conflict to be the updated code (with forceQuotes enabled) and that automerged that blank merge commit for some reason?


Release hax

We should release a version of hax soon.
Karthik and I were thinking about the following release calendar: two weeks after each Rust release (each six weeks).

[ ] #639
[ ] Update all crates that need to be release to be release-ready
[ ] Make OCaml code release ready
[ ] Set release GH team
[ ] Write release docs
[ ] Release OCaml
[ ] Release Rust
[ ] Update Readme
[ ] Blog post

Solving rough edges:

#196, #15
traits:

associated types, constants

stealing issue? (rustc bump before)
fix https://github.com/hacspec/hax/issues/622

Still relevant

Let's start with a minimal pre-release. @W95Psp please define the minimum tasks required for that.

Shall we close this @franziskuskiefer? I don't think we want to make a blog post just yet, let's wait for v1?

Let's close this when #980 is done.

@W95Psp what's the state here?


BUG: Debugging any shapely module fails due to name clash causing circular import of the enum module (at least on PyCharm)

Expected behavior and actual behavior.
Expected behavior:
It should be possible to run shapely modules in debug mode in PyCharm without getting errors
Actual behavior:
C:\Python311\python.exe "C:/Program Files/JetBrains/PyCharm Community Edition 2022.3/plugins/python-ce/helpers/pydev/pydevd.py" --multiprocess --qt-support=auto --client <IP_ADDRESS> --port 52915 --file C:\dev\shapely\shapely\errors.py
Traceback (most recent call last):
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.3\plugins\python-ce\helpers\pydev\pydevd.py", line 16, in <module>
    from _pydevd_bundle.pydevd_collect_try_except_info import collect_return_info
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.3\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_collect_try_except_info.py", line 12, in <module>
    from _pydevd_bundle.pydevd_constants import IS_PY38_OR_GREATER
  File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.3\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_constants.py", line 5, in <module>
    import platform
  File "C:\Python311\Lib\platform.py", line 117, in <module>
    import re
  File "C:\Python311\Lib\re\__init__.py", line 124, in <module>
    import enum
  File "C:\dev\shapely\shapely\enum.py", line 1, in <module>
    from enum import IntEnum
ImportError: cannot import name 'IntEnum' from partially initialized module 'enum' (most likely due to a circular import) (C:\dev\shapely\shapely\enum.py)

Process finished with exit code 1

Steps to reproduce the problem.
Run any shapely module in debug mode in PyCharm, say, errors.py (or choose any other module).
Operating system
Windows 11 or MacOSX
Shapely version and provenance
Shaply main branch

Out of curiosity, what is the use case for passing a specific file from the shapely package to a debugger?

Out of curiosity, what is the use case for passing a specific file from the shapely package to a debugger?

One very common use case is to add a  if __name__ == "__main__" section for some quick tests at the bottom of a module (https://realpython.com/if-name-main-python/#:~:text=Syntactically%2C Python's if __name,line 1 evaluates to True .)

Also - if you wanted to evaluate some expression or const in some module it's very easy just to debug that file.

Another use case - debugging a docstring test (i.e. the tests embedded in the docstrings)


Error and warnings gets overrided by dependencies projects

From @supchi31 on October 31, 2016 15:12

VSCode Version: Code 1.6.1 (9e4e44c19e393803e2b05fe2323cf4ed7e36880e, 2016-10-13T15:43:46.054Z)
OS Version: Linux x64 4.4.0-45-generic
Extensions: christian-kohler.path-intellisense-1.1.0, ms-vscode.csharp-1.4.1, qinjia.seti-icons-0.1.2

Steps to Reproduce:
1.Create 2 projects, write basic code in each, reference project 1 in project 2
2.Make unecessary using in project 1
3. Type an error in project 2, project 2 shows error for a brief moment, then just shows warning of project 1
Very annoying
Copied from original issue: Microsoft/vscode#14762

@supchi31 you are talking about C# projects?

From @supchi31 on October 31, 2016 15:40
Yes, indeed
I guess the problem comes from omnisharp, I might have posted the issue in the wrong place.
Sorry.

@supchi31 I'll move the issue.

The omnisharp 1.5 beta 4 solved the issue.

Glad to hear that 1.5-beta4 worked for you. Thanks for verifying!

#812 is the primary issue tracking this.


Fix ms.topic to enable correct article perf measurements

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


Release version 1.0.6

Questions
Answers

Description?
Releases version 1.0.6 to fix version mismatch which can cause upgrade problems. Does not need QA and can be merged immediately.

Type?
critical

BC breaks?

Deprecations?

Fixed ticket?

How to test?

Since the update of module 1.6, the description of the module is no longer displayed, as well as the price, just on the first product (prestashop <IP_ADDRESS>)

screenshot

@Peter26100 This is nothing to do with this release, it only changed the version number. It's an issue on your shop.

I just clicked on module update in Prestashop, and now it doesn't work anymore... whereas it worked very well before

@Peter26100 did you have changes in module files before the update? They would have been replaced by the update. If you want to change modules behaviour to fit your theme then you should make a proper override. Never change modules directly in /modules directory.
Anyway this looks like a misconfiguration in your theme's module files.


File not found

Hey so i dont know if your maintaining this but after build and when running, after the laugh plays its shows file not found error of Form1.vb line 61 i think and payload.vb line 8?
Been trying to fix this all day but im not coming right

I'm not updating or giving support to that project anymore, did you fix it tho.?

I havent managed to, but i understand. If i manage to fix it will push the fixes 🙂


Is it possible to show which layer is the current layer connected to?

The current version of model summary works perfectly on sequential model. However, sometimes the architecture could be complex. In keras, when summarize the the model created by the callable layer instance, there is an additional column that shows where the layer is conntected  to. Could pytorch_model_summary also support this?
An example of summary() in keras:

@keykeykeykeyk I planned to have this, but when I created the first version I didn't find an easy way to do this. Unfortunately I haven't worked with pytorch for the last months and I didn't have time later to implement this. I also created this issue #1 to remember to add this later.
I really liked that information in keras and I would like to add this in this library as well. If you have any idea or implementation doing this, feel free to send a PR.
thanks for the feedback :D


Different heroModifiers for present/dismiss?

Is there a way to apply different heroModifiers depending on whether a view is presented or dismissed?
Example:
// Move in from the right when pushed
view.heroModifiers = [.translate(x: 50, y: 0, z: 0)]
// Exit to the left when popped
view.heroModifiers = [.translate(x: -50, y: 0, z: 0)]

I think you could either set the heroModifiers in viewWillAppear or viewWillDisappear. Or implement the HeroViewControllerDelegate as shown below
extension ViewController: HeroViewControllerDelegate {
    func heroWillStartAnimatingTo(viewController: UIViewController) {
        view.heroModifiers = [.translate(x: 50, y: 0, z: 0)]
    }

    func heroWillStartAnimatingFrom(viewController: UIViewController) {
        view.heroModifiers = [.translate(x: -50, y: 0, z: 0)]
    }
}

1.0.0-alpha.1 now provides .whenPresenting & .whenDismissing modifiers.


error in format in row with  language   arabic

await SunmiPrinter.printRow(cols: [
ColumnMaker(
text: 'الاجمالي',
width: 6,
align: SunmiPrintAlign.LEFT),
ColumnMaker(
text: 'الكمية',
width: 6,
align: SunmiPrintAlign.CENTER),
ColumnMaker(
text: 'الوحدة',
width: 6,
align: SunmiPrintAlign.RIGHT),
ColumnMaker(
text: 'الاسم',
width: 20,
align: SunmiPrintAlign.RIGHT),
]);}

This row cannot print in arabic =(

I have the same issue here, can there be away to fix it? or what do you prefer us to do?

https://file.cdn.sunmi.com/SUNMIDOCS/SunmiPrinter-Developer-Docs-1-1.pdf

Thanks @brasizza, I found this repository that supports Arabic for Sunmi printers (I tested it on Sunmi v2):
https://github.com/andrey-ushakov/flutter_sunmi_printer
@tebalink just add the master branch on pubspec.yaml, and then the method names need some refactoring afterwards:
flutter_sunmi_printer:
git:
url: https://github.com/andrey-ushakov/flutter_sunmi_printer.git
ref: master

Thanks @brasizza, I found this repository that supports Arabic for Sunmi printers (I tested it on Sunmi v2):
https://github.com/andrey-ushakov/flutter_sunmi_printer
@tebalink just add the master branch on pubspec.yaml, and then the method names need some refactoring afterwards:
flutter_sunmi_printer:
git:

  url: https://github.com/andrey-ushakov/flutter_sunmi_printer.git

  ref: master

He uses the other method that support arabic but doesn't work well in otherzz cases. I can put a propertie in printrow to say if you are print arabic (true/false) and change internally between this 2 methods. This suits you?

Thanks @brasizza, I found this repository that supports Arabic for Sunmi printers (I tested it on Sunmi v2):
https://github.com/andrey-ushakov/flutter_sunmi_printer
@tebalink just add the master branch on pubspec.yaml, and then the method names need some refactoring afterwards:
flutter_sunmi_printer:
git:

  url: https://github.com/andrey-ushakov/flutter_sunmi_printer.git

  ref: master

He uses the other method that support arabic but doesn't work well in otherzz cases. I can put a propertie in printrow to say if you are print arabic (true/false) and change internally between this 2 methods. This suits you?

Thanks, that would be actually really good to have that feature, and actually solves the problem.

Thanks @brasizza, I found this repository that supports Arabic for Sunmi printers (I tested it on Sunmi v2):
https://github.com/andrey-ushakov/flutter_sunmi_printer
@tebalink just add the master branch on pubspec.yaml, and then the method names need some refactoring afterwards:
flutter_sunmi_printer:
git:

  url: https://github.com/andrey-ushakov/flutter_sunmi_printer.git

  ref: master

He uses the other method that support arabic but doesn't work well in otherzz cases. I can put a propertie in printrow to say if you are print arabic (true/false) and change internally between this 2 methods. This suits you?

Thanks, that would be actually really good to have that feature, and actually solves the problem.

Can you try this git ?
https://github.com/brasizza/sunmi_printer.git
now in SunmiPrinter.printRow you can have a second argument called  isArabic. this is default as false and you can turn to true if you are printing only arabic text.
If you can try and give me the feedback, and then i can put in pub.dev because i dont have this sunmi with me at this moment!
Best regards!

@brasizza
i tried the new changes(isArabic) in sunmi v2 pro
but the result is what space no matter the text is arabic or not
                         await SunmiPrinter.initPrinter();
                          await SunmiPrinter.startTransactionPrint(true);
                          await SunmiPrinter.line();
                          await SunmiPrinter.printRow(cols: [
                            ColumnMaker(
                                text: 'اسم المشترك',
                                width: 6,
                                align: SunmiPrintAlign.LEFT),
                            ColumnMaker(
                                text: 'اسم المشترك',
                                width: 6,
                                align: SunmiPrintAlign.RIGHT),
                          ], isArabic: true);
                          await SunmiPrinter.line();
                          await SunmiPrinter.lineWrap(5);
                          await SunmiPrinter.exitTransactionPrint(true);

i tried different situations but the result is the same
it seems this command doesn't do any thing

I checked and tested before update it.
i will be able to test this again only on thursday, but i will check and give you the feedback @bonaparta13

@brasizza  ok thanks , i'm waiting

@bonaparta13  its working here .
are you using 2.1.2 ?

@brasizza
i'm using the plugin like this
  sunmi_printer_plus:
    git:
     url: https://github.com/brasizza/sunmi_printer.git

i tested it again and i got the same result i got before
here is my device

Hmmmm maybe its the vs2. Its a small device isn't it? I have only the k2 and k2 mini

Thanks @brasizza, I found this repository that supports Arabic for Sunmi printers (I tested it on Sunmi v2):
https://github.com/andrey-ushakov/flutter_sunmi_printer
@tebalink just add the master branch on pubspec.yaml, and then the method names need some refactoring afterwards:
flutter_sunmi_printer:
git:

  url: https://github.com/andrey-ushakov/flutter_sunmi_printer.git

  ref: master

He uses the other method that support arabic but doesn't work well in otherzz cases. I can put a propertie in printrow to say if you are print arabic (true/false) and change internally between this 2 methods. This suits you?

Thanks, that would be actually really good to have that feature, and actually solves the problem.

i used this plugin and it works
but as you said you currently use the same function he uses
and when i read the code i found that
but i don't know why your plugin don't work in my device
may be different versions of sunmi sdk between you and him
i don't know 🥲
...

Hmmmm maybe its the vs2. Its a small device isn't it? I have only the k2 and k2 mini

yeah it's small device
but every thing is work well except Arabic letters in row


Fix counter placement with new style

Github changed the releases structure. Check the style works properly in your extension.

Can confirm this pull request fixes #34

Thanks for this PR 👍 that does, indeed, restore the downloads count!
When I load
https://github.com/ytdl-patched/yt-dlp/releases/tag/2<IP_ADDRESS>298
in my browser, this is what I get:

i.e. there's a very wide gap between the number of downloads and the DL icon itself...
Sadly, I don't master CSS code myself, but upon trial-and-error I found that commenting out
https://github.com/addshore/browser-github-release-downloads/blob/03309fdb31337ad1cc0d91e1a4b109ed91293099/app/scripts/contentscript.js#L48
will make it look as below:

i.e. much closer to the way it looked before GH's latest, totally uncalled for 😞 , change...
If you asked me, I'd also hope for a CSS "way" to

Align in the same vertical column all the DL icons; when the DL number becomes 2-digit (3-digit, etc.), the DL icon for that number is shifted to the right accordingly...
Do away completely with the newly added, far-right, "20 hours ago" column; it's basically redundant, since that info is already available previously:

@Vangelis66 better create an issue for this.

Hi
could you please update the chrome extension with the patch in the google web store?

after downloading zip from https://github.com/aonez/chrome-github-release-downloads/tree/patch-2 and from chrome extension load unpack ex, i don't see dll count from release

very strange, to be sur i added
console.log(el.href);
i see correctly the download file in the list from chrome console
the var downloadMap have it too, but with also download count.
but never enter this if :
if (el.href in downloadMap) {

Hi could you please update the chrome extension with the patch in the google web store?

Hi, sorry I have been off traveling.
Let me take a look at this now!

Looks better than nothing!


problem starting new file

ˆ7¼^,23:59:59
2022-05-03,00:00:00,13:24:31

There is no longer a problem starting a new file, this problem has migrated to appending to an existing file it seems.
ex1:
2022-05-09,09:31:33,09:34:40,09:34:48U,10:11:25,10:11:27A,10:11:30,10:11:33

ex2:
2022-05-09,10:12:48,10:12:48�U,10:13:33,10:13:35

I've narrowed this down to the trim_file function. So either the regex is messing up the file somehow.. or quick consecutive write-write operations are. I've disabled the trimming for the time being


Track performance of turing_model

Thanks for the nice improvements, @devmotion. It’ll be great if we can track performance regression for TuringGLM (e.g. using a notebook similar to tutorials), but that can be done in a separate PR.
Originally posted by @yebai in https://github.com/TuringLang/TuringGLM.jl/issues/45#issuecomment-1055540632

Would pretty printing some outputs to a log be a solution or do we need something more fancy such as a static website or an automatic performance report comment? Static website is gonna be difficult since this repo already has Documenter in the gh-pages branch and automatic comment is gonna be annoying because bot comments are always annoying

Maybe we can add one issue about performance and automatically add comments to that issue with the benchmark results and a ref to the PR or to a commit on a branch. That way people can unsubscribe from the issue and not get notifications but still see results by clicking on the issue cross-ref. Also, the benchmark history is easily visible by scrolling through the issue comments.

We use BenchmarkCI in KernelFunctions: https://github.com/JuliaGaussianProcesses/KernelFunctions.jl/pull/399


Set Monday as first day of week

Hey, is it possible to make a Monday as a starting day of a week?

Hmm
In current version,
Unfortunately, Setting to starting day feature are not supported.
But i list up this feature and will be updated within few days.
Thank you for asking!

Thaks a lot!

Hello @quotetoxic.
Recently, [1.4.4](https://github.com/KennethanCeyer/PIGNOSE-Calendar/releases/tag/v1.4.4) version are updated.
In this version, week option are give Starting day of week by the number (0 is Sunday ~ 6 is Saturday).
EX) week: 1 means Monday first

This issue will be closed tomorrow.
If you have other issues, Please create a new issue 🍺


remove atProvider and forProvider

Crossplane convention for managed external resources includes the spec field forProvider and the status field atProvider.
In this unconventional provider, there is no external API. forProvider and atProvider, while conventional, are not appropriate in this provider.
Remove these field levels bringing all of the sub-fields to the parent level.

Hrm, it might require some mental backflips but I could convince myself that "cloud init" was the "provider" in this case and that forProvider/atProvider are appropriate.
I think if we had a do-over we might replace forProvider/atProvider with something more like nesting Crossplane machinery like deletionPolicy under spec.crossplane or similar. However, at the time of writing it is considered at least idiomatic, if not outright required, for v1beta1 and higher managed resources per https://github.com/crossplane/crossplane/blob/39217a2c44c73d32e16364bf6a8bbcab72910ed3/design/one-pager-managed-resource-api-design.md

I opened this issue to provoke this kind of discussion. It's certainly fair to leave forProvider/atProvider alone.
A convention for spec.crossplane.deletionPolicy sounds like what I'm looking for in https://github.com/crossplane/crossplane/issues/2258 ("How?" bullet 2,  a place to define resource manager behaviors that are not defined by the forProvider spec).
Thinking on #5 may influence this further. I'll close this for now.


testing problems

Hi, thanks for your great job
I have some questions after training and testing on the brats dataset

Did you normalize the seg part(data/brats/training/000001/brats_train_001_seg_080_w.nii.gz) during preprocessing? I see that the training sample set you gave has not been normalized. Will this affect the cross_entropy calculation during classifier training?

I found that the results generated by using the brats2update010000.pt and modelbratsclass010000.pt saved at the beginning of the training are better than those of the model saved in the later training. What is the reason for this? (What are the specific model parameters you used in the test?)

When testing one by one, the dice coefficient fluctuated greatly, but the auc was always high (0.98~0.99) could you please tell me why?

Hi

The ground truth segmentation is not used during the training. This is only used to compute the dice score during evalutation. All class labels >0 get the class label 1 as "anomalous", as indicated in the line 34 of the file scripts/evaluation_metrics.py. All MR slices of the BRATS dataset are normalized to values between 0 and 1.
There seems to be a mistake in the example image you gave for brats2update050000.pt and modelbratsclass070000.pt. Do you compare the right input vs. the right output?
I would check in what cases the dice score was so bad. were these the images where the tumor was really small?

Hi, Thank you for publishing your work. Im trying to reproduce your work for a week now and couldn't figure out what's wrong with my reproduction. After I trained the classifier and diffusion model, I run the classifier_sample_known.py with checkpoint brats2update050000.pt and modelbratsclass020000.pt. However, I got the results as below. The sampled_output is just the black and white image. I didn't change anything from your code. Could you figure what I'm doing wrong here? Thank you.

can you run the script classifier_sample_known.py with a classifier_scale of 0? then the output should show the same image as the input.

I still got output as back and white image. What do you think of in this situation? The input is clearly correct, but the sample output is wrong.

Do you mind uploading your checkpoints?

https://www.dropbox.com/sh/up4sqmeqrlwrxkw/AACqgnSCR8p20r6aO_3_Jy94a?dl=0

Thanks for your advice  and I rechecked the results
2. I found that the results generated by using the beginning of the training are still better than those of the model saved in the later training.
3. After checking the low dice score, it was found that the original mask was very small.
But I want to know why the auc is still so high when the dice score calculation is low?

Thank you very much for your sharing but I encountered a similar problem.
I used the checkpoints in your link above, but still output black and white images. For the code, I just modified bratsloader.py.
Can you give me some advice?

I still got output as back and white image. What do you think of in this situation? The input is clearly correct, but the sample output is wrong.

hello, have you solved this problem after using the checkpoints uploaded?

There is something going wrong with your noise encoding and decoding. How large did you choose L? The image "reversesample" should show a noisy image of noise level L. If you put s=0, the final images should show the same images as the input. Could you check four function "ddim_sample_loop_known"?

--dataset brats --classifier_scale 100 --noise_level 500 --image_size 256 --num_channels 128 --class_cond True --num_res_blocks 2 --num_heads 1 --learn_sigma True --use_scale_shift_norm False --attention_resolutions 16 --diffusion_steps 1000 --noise_schedule linear --rescale_learned_sigmas False --rescale_timesteps False --image_size 256 --classifier_attention_resolutions 32,16,8 --classifier_depth 4 --classifier_width 32 --classifier_pool attention --classifier_resblock_updown True --classifier_use_scale_shift_norm True --batch_size 1 --num_samples 1 --timestep_respacing ddim1000 --use_ddim True
This is my test set.
I feel like my denoising and denoising process is reversed. I run classifer_sample_known.py with "--dataset brats --classifier_scale 100 --noise_level 1000 --image_size 256 --num_channels 128 --class_cond True --num_res_blocks 2 --num_heads 1 --learn_sigma True --use_scale_shift_norm False --attention_resolutions 16 --diffusion_steps 1000 --noise_schedule linear --rescale_learned_sigmas False --rescale_timesteps False --image_size 256 --classifier_attention_resolutions 32,16,8 --classifier_depth 4 --classifier_width 32 --classifier_pool attention --classifier_resblock_updown True --classifier_use_scale_shift_norm True". The result is as follow:

it seems that it add noise when use p_sample()

There is something going wrong with your noise encoding and decoding. How large did you choose L? The image "reversesample" should show a noisy image of noise level L. If you put s=0, the final images should show the same images as the input. Could you check four function "ddim_sample_loop_known"?

Hello, the function "ddim_sample_loop_known" has not changed. Can you give me more advice?


Pod init SSL certificate issue in iOS

POD init Issue:

While installing the fcm library and when we use to install via pod then we are getting SSL certificate issue.
after searching the net we found that its due to if some certificate expires but in our case it's working and showing trusted.
https://stackoverflow.com/questions/18964175/how-to-fix-curl-60-ssl-certificate-invalid-certificate-chain/19706191#19706191

RN - 0.44 and react-native-fcm - 6.2.3
iOS simulator

installing FirebaseAnalytics failed. so it is saying Google's ssl has issue (which is more likely your network has issue). perhaps use another network?

@evollu  I have tested in two IMAC machine with same network router. In one machine it's working and on another machine it's not.
Are these configurations correct?
My system info:
Os version - 10.12.6 Macos sierra
Node - 7.2.0
Npm- 5.0.4
Pod - 1.3.1
react-native-cli: 2.0.1
react: 16.0.0-alpha.6,
react-native: 0.44.0,
react-native-fcm: ^6.2.3
Xcode: 9.1
And please tell me about manual  pod install specific required version for me.
I want to know following for installing react native fcm with my react native version 0.44:
firebase sdk version = ?
react-native-fcm version = ?

you can use latest version for both.
as for ssl error, it has to do with your network. can't help here


Download and build instructions not working

Go n00b here.  Followed instructions verbatim; no worky.  Request/recommend adding some robustness to the instructions to ease adoption/usage by plebes like me.  Thanks!
username@machine:~/Downloads$ git clone https://github.com/tmccombs/hcl2json
Cloning into 'hcl2json'...
remote: Enumerating objects: 245, done.
remote: Counting objects: 100% (123/123), done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 245 (delta 48), reused 90 (delta 24), pack-reused 122
Receiving objects: 100% (245/245), 63.10 KiB | 923.00 KiB/s, done.
Resolving deltas: 100% (112/112), done.
username@machine:~/Downloads$ cd hcl2json/
username@machine:~/Downloads/hcl2json$ go build
main.go:11:2: cannot find package "github.com/tmccombs/hcl2json/convert" in any of:
/usr/lib/go-1.10/src/github.com/tmccombs/hcl2json/convert (from $GOROOT)
/home/username/go/src/github.com/tmccombs/hcl2json/convert (from $GOPATH)

what version of go are you using?

Closing due to inactivity.


Helm Chart is broken

In Catalog page, we get this error (for all 3 charts):
Clone failed: Cloning into 'management-state/catalog-cache/f0157389f88ff77e66750b762de6b4960fddfc49445b5f4787dc1a6b1d492c6c'... fatal: unable to access 'https://git.rancher.io/system-charts/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none : exit status 128
Rancher Server Setup

Rancher version: 2.4.12
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): K3s

Proxy/Cert Details:

Information about the Cluster

Kubernetes version:
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

Describe the bug

To Reproduce

Result
Expected Result

Screenshots

Additional context
<!--Add any other context about the problem here.—>

The root certificate for LetsEncrypt expired and has broken many things around the internet today.  The git server has been updated with a new cert from a different chain and root as of a couple hours ago.


Slash in git execute fix

Pre-review checklist

[x] I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
[x] I've added or updated automated unit tests to verify correctness of my new code.
[ ] I've added or updated integration tests to verify correctness of my new code.
[x] I've confirmed that my changes are working by executing CLI's commands manually on MacOS.
[ ] I've confirmed that my changes are working by executing CLI's commands manually on Windows.
[x] I've confirmed that my changes are up-to-date with the target branch.
[ ] I've described my changes in the release notes.
[x] I've described my changes in the section below.

Changes description
Fixed git execute for branches with / in name.
Fixed execute command for files with space in name.

Add to release notes


Get error in window 10 python3.7 harfang 1.2.0

I have a problem during model training:
Harfang core has crashed! Version: 1.2.0, build SHA: 1538b3acd3c9351b7b9108742a5f352c98b7845d
but, I do not know where Harfang went wrong

Hi, thanks for your interest!
Unfortunately, this project is not maintained anymore as it was replaced by a new version that can be found here:
https://github.com/harfang3d/dogfight-sandbox-hg2
If you have any question, feel free to contact us on<EMAIL_ADDRESS>


Google Analytics - The Great Tracking Optimization

While we have basic SEO in place, it's time for us to begin implementing Google Analytics into our app in the places that need it.
Tagging @twblack88 for this one.
Please list out what we'd want to track and any features (like A/B testing) we'd want integrated below:

First thoughts without notes, just a data dump:

Action pages, especially if they result in a button
button trigger's result in a goal page (maybe needs a design spec)
even better button triggers redirect and then trigger a GA tag
probs a GA tag (frontmatter or component) element as a result which would then open more cans of worms

@twblack88 Because we're using Google Analytics, I'm going to need a privacy policy for the site.
Will we use MakerDao's existing privacy policy or write our own?

Google Analytics is forever a work in progress. My work on #95 closes this issue for the time being.
I recommend making new issues for those specific cases.


Unable to find settings. D&D 4.0.2

The module is currently enabled, the item is there in the compendium, but the settings don't pop up in the menu.
I already disabled all modules, tried it in a blank test world, and reinstalled, but it keeps persisting.
Attached images showing errors and proof:

Thx for reporting but I'm not able to reproduce, I've also tried to reproduce your setup with the modules you have enabled in your screenshots.

also I cannot see the error you got in your console screen also in the screen I cannot see the module causing it.
usually when you get a warning or an error, somewhere in the error stack is possible to see the file name where the error originated in the file list, for example with those modules enabled i see some warning showing the module causing it:

anyway I need some more details to find the error. Are you on foundry v12.331?
What browser are you using?

Yes, I am currently running on Foundry version 12 build 331, using Firefox as the browser, and the game is being hosted by The Forge.

Update, I have tried it on another Browser too: Chrome, and the problem is still the same.

I don't see this error being related with "dnd5e-spellpoints" module.
Failed to execute 'define' on 'CustomElementRegistry': the name "copyable-text" means that somewhere in the code there are 2 reference to the same thing, it usually happens when you have something like this:
require("copyable-text");
require("somefolder/copyable-text");

Are you sure that if you create a new world with just the spellpoints module enabled it doesn't work?

I have, and I have even done it again, but the settings just don't want to appear.

So, I checked with foundry support and other devs, the issue you are experimenting doesn't look is comingi from the spellpoints module and could be something specific on the forge. I do not have a forge account where to test it anyway. I wonder why only the spellpoints module settings do not appear...

I have no idea either. I tried to login to the server a few times, even stopped it and restarted it, but nothing seems to work.

Just to confirm or exclude the forge being the issue here, are could you try to setup a local foundry on your machine, cloning your world in it and check if the issue persist there? I cannot find someone to try it on the forge.

Then it indeed seems to be the forge, as when I load the game on my own pc, the settings appear.

thanks for taking your time checking it. You should try asking the forge support for help.
those errors looks like are coming from them, anyway I don't like that my module settings are not functioning on the forge so if they say I should do something to workaround that issue I'd like to know. So I'll be grateful if you could report me if they need me to make some changes to the module.
meanwhile I sent them an email requesting a developer account on the forge to test my modules, since I've read that should be possible. Hope it's true and fast.
thank you.
let me know if you get an answer from them

Hi there @misthero
I believe the issue is stemming from a double import of the dnd5e system file here to https://github.com/misthero/dnd5e-spellpoints/blob/9567b6df348acedf814b2c70e0501ff0bc078efb/scripts/main.js#L1
Since it's a relative import, when dnd5e-spellpoints is installed via the Forge Bazaar the relative path will point to the path of the dnd5e system file on the Bazaar, rather than from the root of the file structure. This leads to a double import of the dnd5e.mjs file, which is where that error referenced in the image here https://github.com/misthero/dnd5e-spellpoints/issues/106#issuecomment-2366107781 comes from.
Would it be possible to change that line from relative path import
import { DND5E } from "../../../systems/dnd5e/dnd5e.mjs";

to an absolute path import?
import { DND5E } from "/systems/dnd5e/dnd5e.mjs";

I believe that keeps functionality the same but will avoid the double import.
The Forge should get back to your email soon with a dev account for testing!

Oh, great! Thank you. I probably would never have guessed that. I'll test the code and push an update as soon as possible.

Ok, new release is ready: https://github.com/misthero/dnd5e-spellpoints/releases/tag/v2.4.21
will soon appear on foundry.
The import was relative since is perfectly possible to have foundry in a subfolder, anyway I have worked around it so no import is necessary anymore.
I still cannot test on The Forge, but this way it should work regardless.

Thank you so much for the swift work! I just tested it on the forge, and the settings are there!


The button to expose the relay indicators didn't do anything for me, however the entities did appear on the disabled list. I just had to enable them manually

The button to expose the relay indicators didn't do anything for me, however the entities did appear on the disabled list. I just had to enable them manually
Originally posted by @cavazosomar in https://github.com/edwardtfn/TX-Ultimate-Easy/issues/57#issuecomment-2562121886

Could you please update and try again?


Store reference to the dropdown's active item

Avoids the array Array#find call, fixing IE11 support.
Fixes #124

Thanks! I'll relax codeclimate's threshold in another PR

Published<EMAIL_ADDRESS>to npm


Libyami V4L2 decoder: Stop the decoder only if it is has been started…

… In the Yami Close sequence, it closes V4L2 CodecBase that calls V4L2decoder::Stop() The decoder is only started in case the Yami device is opened during media decode. If the Yami device is opened only to obtain the configuration information like supported profiles then the decoder is not started. So the decoder::Stop should only be called if decoder_started flag is set to avoid segmentation fault.
Signed-off-by: Manasi Navare<EMAIL_ADDRESS>

+1 lgtm

+1

merged as 3b872f5f0a4edfb6e1b83692e4005ddd8d39916c


Install the snippet file into wrong directory

After sync the code snippet repository, and cd into the source code directory, I just gem install the files. Unfortunately, the rb script install the translated code snippet into the subdirectory (~/Library/Developer/..../) of working directory. Forgot to expand the ~  directory ?
And when gem install *.m, just got one file generated.

Fixed by 07d86c7e07598aa3a1c0a77a0e4f5960d3ccda30.


About how the tableview cell cancels getting focus. Implement click events

Hello! How can your tableview cancel the first click event to get the focus. If I want to implement the click event in the table, I need to double-click it. How to make it a click. Thank you!

please check  #147 issue

请检查 ＃147问题
I'm a novice. Can you tell me how to deal with it in more detail?


Jagged Alliance 2

https://store.steampowered.com/app/1620/Jagged_Alliance_2_Gold/
https://github.com/dariusk/ja2
Jagged Alliance 2 is a tactical role-playing game for PC released in 1999. It is the third entry in the series. Due to high demand an updated version of the game with numerous changes and improvements called Jagged Alliance 2: Wildfire was released in 2004. The box for this version also contained the games source code with a non-commerical license.

The game is open-source but clearly not floss


Importing issue for bls12377

I am just getting started with go and gnark. I want to write a circuit that captures a ZK relation involving both hashes and BLS12-377 group elements. I have been able to run my code successfully in the gnark playground, but cannot independently run the code outside of the playground due to a package issue that I haven't been able to resolve.
A simplified and easily reproducible version of my problem is as follows:
I start by directly taking the code from the readme of the Consensys/gnark repo:
package main

import (
	"github.com/consensys/gnark-crypto/ecc"
	"github.com/consensys/gnark/backend/groth16"
	"github.com/consensys/gnark/frontend"
	"github.com/consensys/gnark/frontend/cs/r1cs"
)

// CubicCircuit defines a simple circuit
// x**3 + x + 5 == y
type CubicCircuit struct {
	// struct tags on a variable is optional
	// default uses variable name and secret visibility.
	 However, because I need to work with ZK relations about elliptic curve group elements, I need to import "github.com/consensys/gnark/std/algebra/native/sw_bls12377".
However, if I then simply include that line as an import and run the program, I get the following error:
no required module provides package github.com/consensys/gnark/std/algebra/native/sw_bls12377; to add it: 	go get github.com/consensys/gnark/std/algebra/native/sw_bls12377.
If I then run the suggested go get command, I have the error:
go: module github.com/consensys/gnark@upgrade found (v0.8.1), but does not contain package github.com/consensys/gnark/std/algebra/native/sw_bls12377
I have googled around a bit and seen various advice about go mod tidy and go clean -modcache, but none of these have worked.
This must be a newbie issue. Can someone please help me out with this? Many thanks.

Hi, I think if you import gnark v0.9.0-alpha instead of v0.8.1 it should work

Thank you; this worked. For my own edification, how should I have found this version independently?

 It uses the recursive dependencies from gnark to set the repository dependencies. gnark is still v0.XX and we do not enforce API stability strongly, so when upgrading transitive dependencies we may have conflicting versions between gnark and gnark-crypto.
Next time update only gnark dependency, then it should be good 👍


Including a file multiple times does not re-build the file

I would like to define a template html file with variables in it, then include it multiple times with different variables during the build. The issue is the first time a file is included with build:include, the contents of the file is processed and included correctly. I then update the variables and include the file again, but it just included the same content as was generated by the first time it was built. Is there some caching going on or something?
Example:
template.html

index.html

result:

my_var is: foo

my_var is: foo

Could you provide your grunt configuration or how are you processing the files?
A runnable example would be best so I can reproduce the issue.

Simplified example: https://github.com/skylarmb/grunt-processhtml-example
just npm install && npm run build and check out the output in _build/index.html


Fix assumption that python links to python3

Currently, the .bat files assume that the python command links to python3 while on many systems, it might link to python2
This pull request fixes that behavior

sadly python3 on current windows with the stock install of python on Windows 10 causes the Microsoft store helper to open for me, even with it in PATH. python does not suffer the same bug... I don't think I wanna merge this as a result as it'd break for people who installed using the guide :(

That's a rather strange behavior.
You might want to update the README about this though, as my system assumed Python2, which caused quite a mess with pip.


Pipe automount's stdout and stderr to logging

This PR makes it so that automount's stdout and stderr are now piped to driver's logging.
Two new cmd parameters added:

--automount-startup-timeout
--automount-unmount-timeout

Log level 4 enables automount verbose logging.
Log level 5 enables CVMFS client debug logging.

automount --foreground breaks triggering mounts in certain cases. See https://github.com/cvmfs-contrib/cvmfs-csi/pull/61. This feature is reverted for the moment.


[RFC] docker debug sub-command

Debugging the daemon can be quite gruesome work.
Even one of the simplest things like collecting a goroutine stack dump (most common request) is difficult to explain and even more difficult to collect.
We already have some API endpoints to aid in debugging but it's only available if debug mode is actually enabled.... forcing a daemon reload (also difficult to explain and perform) to enable it can even mess up the results.
I propose:

Enable debug endpoints (namely /debug/pprof/*) by default.
Add a new CLI subcommand docker debug which includes a suite of subcommands for pulling the desired information
i. docker debug stack -> generates a goroutine stack dump
ii. docker debug profile <blah> -> generates pprof formatted reports (whatever happens to be supported by the language runtime)
ii. docker debug profile ls -> List available profiles (this requires a call to the daemon, otherwise would include in --help output)

These commands either send output directly to stdout or optionally to an output file.
Potentially also interesting is grabbing a trace or a cpu profile (explicitly not supported above), perhaps by adding a --trace or --cpu-profile to a docker command.... but this may be left as another exercise.
note: not tied to the layout/naming of those commands
Anything under /debug or docker debug should be considered non-formal API that is subject to change outside the scope of API versioning.
In the future these endpoints can be used to generate something like a support tarball via docker debug support.

would this command still work if the daemon hangs? Or do we need the same on dockerd?

@thaJeztah It would still work.
The daemon typically hangs because it's trying to read from a container object but can't take the lock on it.
This would not require any such locking.

@thaJeztah it should still work if the daemon hangs since it's usually due to a deadlock somewhere. This would be a fresh request which won't need to take any locks.
I personally like this RFC.
:+1: / SGTM

I'm +1 as well for this feature, as it makes things a lot less complicated to request additional information for debugging. Next up; a more easy way to get daemon logs :smile:

Can we have docker debug daemonlogs which is a cross platform equivalent of journalctl -u docker? (Only for local daemons)

My comment seems a dupe of @thaJeztah s suggestion 😅

#32453 enables the pprof endpoints by default.

I'd love a sub-command variant that is perhaps even simpler: docker debug build to drop into a terminal in a running container after the last failed command in a Dockerfile.
(apologies if I missed an existing solution; I'm a docker newbie, but have asked around in a room full of relatively experienced users and most people seem to have their own custom makefiles or scripts to do the several manual steps required -- roughly this SO answer)

So I am thinking we should add an endpoint to the daemon to generate basically a support dump, because we also need containerd stacks and possibly other things in the future (buildkit?)


Build error for automatically created build_runner.zig file from zls

It seems the plugin (with auto-build on) will complain about build_runner.zig having build errors (despite the project building without issue) and populate the "Problems" tab with an error about it:

This is a recent development that I've only noticed happening with the latest zls and zig-0.8-dev branches and it seems to happen in all of my repositories. Given the low impact (builds are still checked properly for errors and zls works) I'll be leaving this on, but it probably ought to be looked at.
Version info:
OS: Windows 10
Zig: 0.8.0-dev.878+e4b8148e9
zls: eefee4759c9f376d33efe9e7460d25a1aeb94345

I don't think this should be a problem anymore with the way zls handles build_runner.zig.


Adds some basic support for editing V1 recipe files

It has occurred to me that it shouldn't take a lot of work to make the recipe parser capable of editing both V0 and V1 recipe files. You can already make some modifications to V1 recipe files, but this is untested and there will be bugs.
This is the first PR of many that will allow us to edit both V0 and V1 recipes programmatically. The parser is now able to detect which format of a recipe it has been given. Using that knowledge, it will branch on logic that is version specific.
To start, this PR fixes logic around JINJA variable management and starts adding unit test coverage for V1 recipes.
This unit test coverage is not extensive, but I wanted to break this work into multiple PRs before it got too big.

I guess nobody including conda-forge parses v1 recipes into a real syntax tree including comments and jinja stuff?

I guess nobody including conda-forge parses v1 recipes into a real syntax tree including comments and jinja stuff?

I'm not currently aware of any project capable of editing V1 recipes programmatically like this. I think it is worth the time to support given how close conda-recipe-manager is already at parsing V1 files.

Super cool


zplug fails to load zdharma/fast-syntax-highlighting

Describe the bug
zplug fails to load zdharma/fast-syntax-highlighting. I can manually source it without any errors, but if I try to load it with zplug I get the error message
[zplug] These repos have failed to load:
- zdharma/fast-syntax-highlighting

To Reproduce
Steps to reproduce the behavior:

$zplug "zdharma/fast-syntax-highlighting", from:github
$zplug load

Expected behavior
The repository should load without problems (did so until recently).
Env (please complete the following information):

zplug --version: 2.4.2
zsh --version: zsh 5.6.2 (x86_64-apple-darwin18.0.0)
uname -a: Darwin Nucleus.local 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64 x86_64

Minimal zshrc (with less than 30 lines)
#!/usr/bin/zsh
source /usr/local/opt/zplug/init.zsh
zplug "zdharma/fast-syntax-highlighting", from:github
zplug load

As I understood it, fast-syntax-highlighting needs to come after a compinit, and you should use a defer:2, this is what I have in my .zshrc:
#-----supposed to come after compinit
zplug "zdharma/fast-syntax-highlighting", from:github, defer:2

It works for me on a similar system to yours:
❯ uname -a
Darwin Aristotle.local 18.2.0 Darwin Kernel Version 18.2.0: Fri Oct  5 19:41:49 PDT 2018; root:xnu-4903.221.2~2/RELEASE_X86_64 x86_64

❯ zplug --version
2.4.2

❯ zsh --version
zsh 5.6.2 (x86_64-apple-darwin18.0.0)

Thanks, I tried it with different defers, but without success, maybe it is conflicting with another package. When I have time I will look into that.


Secure Cadence and Import Placeholders

Closes https://github.com/onflow/flow-ft/issues/61

Updated the dependencies to use the secure cadence versions of Cadence, emulator, and Go SDK.
Also added flow.json with the standard addresses
Updated the rest of the import addresses to use the string format
Commented all of the tests, cleaned up some code, and made some utility functions for repeated code in the tests

having git issues, so I'm closing this


Set initial alt text from exif data if available

Is your feature request related to a problem? Please describe.
A lot of images already contain description metadata which could be used to set sane default alt text when uploading that image.
Describe the solution you'd like
App should read description, title, or other appropriate metadata from images when uploaded and use that as the default alt text so creators don't have to repeat themselves so much.
Describe alternatives you've considered
The only current alternative is copying and pasting the existing metadata or re-typing it from scratch
Additional context
None.

I would absolutely love to see this happen and would be willing to open a PR. If someone could point me to the correct part of the codebase that would save me some time.

There is also: "Extended Description (Accessibility)"
https://iptc.org/std/photometadata/specification/IPTC-PhotoMetadata-2023.1.html#extended-description-accessibility
I propose using both fields, though I'm not sure what the separator should be. I'm leaning towards prepending the extended text with "- Extended Description: " so it's explicit. You'd end up with something like:
"this is some basic alt text - Extended Description: and this is the extended description"


[e2e]: go release main config-ldflags-noassets slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v17.0.320
Run: https://github.com/slsa-framework/example-package/actions/runs/4792881140
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Trigger: release
Branch: v17.0.320
Date: Tue Apr 25 02:12:42 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/v17.0.321
Run: https://github.com/slsa-framework/example-package/actions/runs/4793450537
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Trigger: release
Branch: v17.0.321
Date: Tue Apr 25 03:53:50 UTC 2023
Tests are passing now. Closing this issue.


Reduction Ops: Adds tf.all to the API

Description
This PR adds tf.all to the API. This partially fixes https://github.com/tensorflow/tfjs/issues/430.

For repository owners only:
Please remember to apply all applicable tags to your pull request.
Tags: FEATURE, BREAKING, BUG, PERF, DEV, DOC, SECURITY
For more info see: https://github.com/tensorflow/tfjs/blob/master/DEVELOPMENT.md

This change is

Thanks @ManrajGrover !   It appears that some of the test you wrote failed in some environments.  Can you take a look?  Thanks.
https://travis-ci.org/tensorflow/tfjs-core/jobs/392629562

@bileschi It seems like the error is related to precision and is specific to Mobile Safari 11.0.0 (iOS 11.0.1). It looks like precision is set to highp for float yet the shader fails in compilation. I would need some inputs from @nsthorat on this.

I don't know exactly why the error is happening, but I checked out your branch and fixed it by not using bools in the updateSnippet.
      updateSnippet = \`
        float reducedAllValue = dot(vec4(1.0), values);
        allValue = float(
          allValue >= 1.0 && float(reducedAllValue) >= numValues);
      \`;

"numValues" should be 4 when using full vec4, 3 when using vec3, etc.
        vec4 minMaxValue = vec4(${initializationValue});
        float sumValue = 0.0;
        float allValue = 1.0;
        // Add this line
        float numValues = 4.0;

and then before each updateSnippet call, change "numValues", e.g.:
} else if (${windowSizeVec4Remainder === 3}) {
          ${vecType} values = ${vecType}(
            getValue(batch, inIdx),
            getValue(batch, inIdx + 1),
            getValue(batch, inIdx + 2),
            initializationValue
          );

          numValues = 3.0;
          ${updateSnippet}
        }

But of course in all the places.
Try this and your unit tests should pass!

@nsthorat Thanks for looking into it. I was thinking of debugging it a little. If the current approach doesn't work, I'll make changes as per your approach. :)

@nsthorat It seems to be fixed. This must be because of implicit typecasting of reducedAllValue from boolean to float on line:
allValue = float(allValue >= 1.0 && float(reducedAllValue) >= numValues);

Making it explicit fixes the precision issue:
float floatedReducedAllValue = float(reducedAllValue);
allValue = float(allValue >= 1.0 && floatedReducedAllValue >= 1.0);

Review status: :shipit: complete! 1 of 1 LGTMs obtained

Comments from Reviewable


heart for favorites in es_carbon

Yesterday I made git clone and build the whole system. As in detailed gamelist view in es_carbon, near below video I see [heart] in case of games with favourite tag.

Because the theme you use had md_favorite defined, which is a flag that was created once years ago in a ES retropie alternate fork. Some old themes were adapted for this fork. But no one removed it or fixed it as it did not show.
Simply update the theme to the latest version on my git ( if it's carbon ). Or remove "md_favorite" element in the theme.
Note : this is also true for md_kidgame & md_hidden.


Display test indicators in sticky scroll headers

I love the pass/fail/running test indicators in the gutter.
How feasible would it be to display them in the sticky scroll header as well? Try the editor.stickyScroll.enabled setting:

Hi @macbookandrew! Thanks for your interest in the extension.
Unfortunately, the location and behaviour of the test indicators in the editor is controlled by VS Code itself, as opposed to the framework, so there's not much I can do for this one sorry.
I like the idea though - it might be a good idea to raise the ticket in the vscode repo as a feature request.

Thanks! Opened an issue here


detect if user is alex or steve?

detect if user is alex or steve? I used https://crafatar.com/skins/853c80ef3c3749fdaa49938b674adae6?default=MHF_Alex for a steve skin and it resulted in no 404 error.
The point of your site it for when mojang's cooldown isn't right you have to use your site the issue is the model of the player doesn't get stored anywhere and there is no model(steve/alex) section so confused.
I think you should have a json section where it tells you the user's name,uuid,model,cape everything about said player

The default model depends on the UUID. The function that calculates it can be found here: https://github.com/crafatar/crafatar/blob/1816b18b1292fca7ae123212b2b516a7532a332a/lib/skins.js#L137-L141
The model type of a player is stored, as can be seen here: https://github.com/crafatar/crafatar/blob/1816b18b1292fca7ae123212b2b516a7532a332a/lib/cache.js#L73-L74
Your text isn't very accurate and I don't really understand what you're trying to say. Are you reporting a bug? In that case, please specify steps to reproduce and the expected vs. actual outcome.

parseInt() without showing a method and using index array rather then showing how to get that array that doesn't help me.
Also players can change their model with a skin change your telling me their uuid changes each time I think not

The default skin (Alex/Steve) is based on the UUID. The model type used by a player is returned by the Mojang API and retrieved here: https://github.com/crafatar/crafatar/blob/1816b18b1292fca7ae123212b2b516a7532a332a/lib/networking.js#L102
I'm still not sure what you're asking for or trying to do. Can you please specify?

that's if and only if they don't set their model and skin

I'm still not sure what you're asking for or trying to do. Can you please specify?

I want the entire skin data info to be cached from craftar but, your api doesn't provide enough info:
https://bugs.mojang.com/secure/attachment/133164/Skin Issue.png
issues:
alex isn't detectable since there is no crafatar.com/uuid.json
alex model can be set on skin so saying it's based on uuid is not accurate if the user has an actual skin
the only way to test if player has cape is to do the whole url connect process which takes up to a whole second rather then just having a json file per player that I can see what all the data is.
What craftar needs to become a replacement for mojnang api:
https://pastebin.com/Fsgd71VA

I see. Feel free to submit a PR for something like /info/<uuid>.json that exposes our cached information (after fetching it from Mojang, if necessary).

in issues or where?

https://help.github.com/articles/creating-a-pull-request-from-a-fork/

yeah I don't code html but,you people can


Add function to determine ceiling

Ceiling is defined as:

"(Abbrev. CIG) - The height of the cloud base for the lowest broken or overcast cloud layer." (http://forecast.weather.gov/glossary.php?word=CEILING)

"Ceiling. The lowest layer aloft reported as broken or overcast; or the vertical visibility into an
indefinite ceiling." (http://www.ofcm.gov/fmh-1/pdf/I-CH9.pdf)

"Ceiling means the height above the earth's surface of the lowest layer of clouds or obscuring phenomena that is reported as “broken”, “overcast”, or “obscuration”, and not classified as “thin” or “partial”." (https://www.law.cornell.edu/cfr/text/14/1.1).

We can determine the ceiling given a METAR by looking at its sky_condition_group vector.  Example function prototype below:
cloud_layer get_ceiling() const;

Fixed in #18


[maint-16.x] Changelog

Which issue does this PR close?

Part of https://github.com/apache/arrow-datafusion/issues/4948
Rationale for this change

What changes are included in this PR?

Manually written changelog
Are these changes tested?

Are there any user-facing changes?

🎉


Cucumber java plugin unable to recognize step definitions after refactor of @When interface

When using cucumber java plugin none of the step definitions are recognized since the @When annotation is not in the expected package.
Impact:
All feature file step definitions are treated as warnings by IDE.
Cucumber java plugin is still needed since free karate intellij plugin does not support java breakpoints and this is a hard requirement.
https://github.com/karatelabs/karate-intellij-plugin/issues/30
Actual

Expected

this is a wontfix. the reasons are clearly explained in this ticket: https://github.com/karatelabs/karate/issues/2214


Square frequency with positive offset ?

Hello
Is it possible, with the help of one of your plugins, to have a, let's say, square frenquency of 200 Hertz with a positive offset (from 0V to 1V, with no negative voltage) ?
Does this setup generate a positive offset square frequency (of 15 Hz here) ?

I modified the script by adding 2 lines at the end of it, and I use it with the setup that I posted in the screenshot in my previous message.
desc:       Test Signals
version:    1.8.2
author:     chokehold
tags:       utility synth noise tone
link:       https://github.com/chkhld/jsfx/
screenshot: https://github.com/chkhld/jsfx/blob/main/assets/screenshots/test_signals.png
about:
 # Test Signals

 A collection of things that make noises.

 I needed a suite of tools that help me examine plugins and hardware
 devices, so I made one. The output from this plugin is added on top
 of the input signal, so it's possible to chain several in a row.

 There are 14 possible signals that can be generated on each channel
 individually: silence, sine, rising or falling saw, triangle, three
 pulse widths (50% creates a rectangular wave), noise colours white,
 pink and purple, digital noise (random -1/0/+1 samples), as well as
 positive and negative DC offset.

 The Output Channels setting allows not just regular stereo signals,
 but also two L/R-only mono modes. The idea was to let two different
 signals run, and have the possibility to quickly switch them.

 Because having just one wide-range slider to set the frequency will
 give essentially zero resolution below ~1000 Hz, and too fine steps
 above ~1000 Hz, I decided to make the frequency setting easier, but
 maybe not immediately understandable.

 You set a base frequency first, then you increase the multiplier to
 multiply (Base Hz x Multiplier) which will be the actual frequency.

 Example:
   Base  10 Hz  x  Multiplier 10   =   100 Hz
   Base 100 Hz  x  Multiplier 4.4  =   440 Hz
   Base 100 Hz  x  Multiplier 10   =  1000 Hz

 The Volume L+R slider changes the levels of both L+R channelsby the
 the same amount. The L/R Offset sliders will change volume for each
 channel individually.

 Flipping a channel's polarity is also often called inverting phase,
 or rotating the phase by 180°. Having the same generator and volume
 both channels and flipping the polarity while the L+R Summed output
 mode is selected will result in silence from phase cancellation.

 The generators are trivial i.e. not band-limited or oversampled, so
 some of them (or their combinations) could cause DC offset. I added
 an optional DC blocker just before the output to remove this again.

// ----------------------------------------------------------------------------
slider1: generatorL=1<0,13,1{None,Sine,Saw rising,Saw falling,Triangle,Pulse 25%,Pulse 50% / Square,Pulse 75%,White Noise,Pink Noise,Purple Noise,Digital Noise,DC Offset positive,DC Offset negative}> Generator L
slider2: generatorR=1<0,13,1{None,Sine,Saw rising,Saw falling,Triangle,Pulse 25%,Pulse 50% / Square,Pulse 75%,White Noise,Pink Noise,Purple Noise,Digital Noise,DC Offset positive,DC Offset negative}> Generator R
slider3: viewFreq=1000<10,22000,0.1> Frequency [Hz]
slider4: frequency=1<0,2,1{10 Hz,100 Hz,1 kHz}> Frequency base [Hz]
slider5: multiply=10<0.1,22,0.1> Frequency multiplier
slider6: volume=-12<-48,48,0.01> Volume L+R [dB]
slider7: volumeL=0<-48,48,0.1> Volume L offset [dB]
slider8: volumeR=0<-48,48,0.1> Volume R offset [dB]
slider9: invertL=0<0,1,1{Normal,Flipped}> Flip Polarity L
slider10:invertR=0<0,1,1{Normal,Flipped}> Flip Polarity R
slider11:outRouting=0<0,3,1{Stereo,Mono (left),Mono (right),Mono (summed)}> Output Channels
slider12:blockDC=1<0,1,1{Disabled,Enabled}> DC Blocker

// This is a generator and doesn't need input monitoring
out_pin:left output
out_pin:right output

@init

  // Stop Reaper from re-initializing the plugin every time playback is reset
  ext_noinit = 1;

  // Used for oscillator phase calculations
  twoPi      = 6.28318530717958647692528676656;

  // Oscillator center frequency, default to
  // 1 kHz @ 44.1 kHz in case something goes wrong.
  oscFreq    = 0.02267573696145124716553;

  // Parameter value containers
  oscType    = 1000;
  oscPhase   = 1010;
  dcStateIn  = 1020;
  dcStateOut = 1030;
  outGain    = 1040;

  noiseState  = 10100;
  noiseBuffer = 10200;

  // Converts dB values to float gain factors
  function dBToGain (decibels) (10.0 ^ (decibels / 20.0));

  // BASE FREQUENCY SELECTION
  //
  // Converts the slider's 0,1,2 values into
  // 10,100,1000 Hertz base frequency values.
  //
  function baseFrequency ()
  (
    frequency == 0 ? 10 : (frequency == 1 ? 100 : 1000);
  );

  // PHASE RESET
  //
  function resetPhases ()
  (
    oscPhase[0] = (oscType[0] == 4) ? 0.25 : 0.0;
    oscPhase[1] = (oscType[1] == 4) ? 0.25 : 0.0;
  );

  // DC BLOCKER
  //
  function dcBlocker (channel)
  (
    dcStateOut[channel] *= 0.99988487;
    dcStateOut[channel] += spl(channel) - dcStateIn[channel];
    dcStateIn [channel]  = spl(channel);
    dcStateOut[channel];
  );

  // SINE WAVE
  //  _     _
  // / \   / \
  //    \_/   \_/
  //
  function tickSine (channel)
  (
    oscPhase[channel] += (twoPi * oscFreq);

    // Wrap phase >2π around from 0
    oscPhase[channel] += ((oscPhase[channel] >= twoPi) * -twoPi) + ((oscPhase[channel] < 0.0) * twoPi);

    sin(oscPhase[channel]);
  );

  // SAW WAVE (+1 rising, -1 falling)
  //
  //           /| /| /|
  // Rising:  / |/ |/ |
  //
  //          |\ |\ |\
  // Falling: | \| \| \
  //
  function tickSaw (channel, direction)
  (
    oscPhase[channel] += direction * oscFreq;
    oscPhase[channel] += ((oscPhase[channel] > 1.0) * -1.0) + ((oscPhase[channel] < 0.0) * 1.0);

    ((oscPhase[channel] * 2.0) - 1.0);
  );

  // TRIANGLE WAVE
  //
  // /\  /\  /\
  //   \/  \/  \/
  //
  function tickTriangle (channel)
  (
    oscPhase[channel] += oscFreq;
    oscPhase[channel] += ((oscPhase[channel] > 1.0) * -1.0) + ((oscPhase[channel] < 0.0) * 1.0);

    ((oscPhase[channel] < 0.5) * (4.0 * oscPhase[channel] - 1.0)) + ((oscPhase[channel] >= 0.5) * (1.0 - 4.0 * (oscPhase[channel] - 0.5)));
  );

  // PULSE WAVE
  //      ___
  // 25%: | |
  //        |________|
  //      ______
  // 50%: |    |
  //           |_____|
  //      _________
  // 75%: |       |
  //              |__|
  //
  function tickPulse (channel, width)
  (
    oscPhase[channel] += oscFreq;
    oscPhase[channel] += ((oscPhase[channel] > 1.0) * -1.0) + ((oscPhase[channel] < 0.0) * 1.0);

    ((oscPhase[channel] < width) * 1) + ((oscPhase[channel] > width) * -1);
  );

  // WHITE NOISE
  //
  // Just random values between -1 and +1
  //
  function tickWhite ()
  (
    ((rand() * 2)-1);
  );

  // PURPLE NOISE
  //
  // Harsh sounding, increases at +6 dBfs per octave across the whole
  // spectrum.
  //
  // Implementation inspired by Judd Niemann's ReSampler project:
  // https://github.com/jniemann66/ReSampler/blob/master/ditherer.h#L353
  //
  function tickPurple (channel) local (random)
  (
    random = tickWhite();

    noiseBuffer[channel] = random - noiseState[channel];
    noiseState [channel] = random;
    noiseBuffer[channel];
  );

  // DIGITAL NOISE
  //
  // My own creation, random picks of [-1, 0, +1]
  //
  function tickDigital () local (factor1, factor2)
  (
    factor1 = tickWhite() > 0;
    factor2 = tickWhite() < 0;

    factor1 + factor2 - 1;
  );

  // PINK NOISE
  //
  // "Warm" sounding, volume falls off at -3 dBfs per octave across the
  // spectrum. Often said to be similar to the optimal mix balance, and
  // to be generally pleasing to the human ear.
  //
  // Implemented after Larry Trammell's "newpink" method:
  // http://www.ridgerat-tech.us/tech/newpink.htm
  //
  function tickPink (channel) local (offset, break, sample)
  (
    offset = channel * 50;
    break = 0;

    sample = rand();

    break == 0 && sample <= 0.00198 ? (noiseState[offset+1] = tickWhite() * 3.8024; break = 1);
    break == 0 && sample <= 0.01478 ? (noiseState[offset+2] = tickWhite() * 2.9694; break = 1);
    break == 0 && sample <= 0.06378 ? (noiseState[offset+3] = tickWhite() * 2.5970; break = 1);
    break == 0 && sample <= 0.23378 ? (noiseState[offset+4] = tickWhite() * 3.0870; break = 1);
    break == 0 && sample <= 0.91578 ? (noiseState[offset+5] = tickWhite() * 3.4006; break = 1);

    noiseState[offset] = 0;
    noiseState[offset] += noiseState[offset+1];
    noiseState[offset] += noiseState[offset+2];
    noiseState[offset] += noiseState[offset+3];
    noiseState[offset] += noiseState[offset+4];
    noiseState[offset] += noiseState[offset+5];

    noiseState[offset] * dBToGain(-15);
  );

@slider
  oscFreq  = baseFrequency() * multiply / srate;
  viewFreq = baseFrequency() * multiply;

  outGain[0]  = dBToGain(volume + volumeL);
  outGain[1]  = dBToGain(volume + volumeR);
  oscType[0] != generatorL ? (oscType[0] = generatorL; resetPhases());
  oscType[1] != generatorR ? (oscType[1] = generatorR; resetPhases());

@sample

  // I know it would be more economical to NOT
  // calculate two channels but then only send
  // one channel out, and instead just not let
  // the second channel be calculated. But the
  // CPU overhead is so low in this case, that
  // it won't result in a relevant difference.
  //
  // There are probably more efficient ways to
  // handle all those conditional cases below,
  // but it also doesn't generate any relevant
  // CPU overhead, so this will do just fine.
  //
  // Generator left
  generatorL == 1 ? (spl0 += tickSine(0));
  generatorL == 2 ? (spl0 += tickSaw(0,1));
  generatorL == 3 ? (spl0 += tickSaw(0,-1));
  generatorL == 4 ? (spl0 += tickTriangle(0));
  generatorL == 5 ? (spl0 += tickPulse(0,0.25));
  generatorL == 6 ? (spl0 += tickPulse(0,0.5));
  generatorL == 7 ? (spl0 += tickPulse(0,0.75));
  generatorL == 8 ? (spl0 += tickWhite(0));
  generatorL == 9 ? (spl0 += tickPink(0));
  generatorL == 10? (spl0 += tickPurple(0));
  generatorL == 11? (spl0 += tickDigital(0));
  generatorL == 12? (spl0 += 1);
  generatorL == 13? (spl0 -= 1);
  //
  // Generator right
  generatorR == 1 ? (spl1 += tickSine(1));
  generatorR == 2 ? (spl1 += tickSaw(1,1));
  generatorR == 3 ? (spl1 += tickSaw(1,-1));
  generatorR == 4 ? (spl1 += tickTriangle(1));
  generatorR == 5 ? (spl1 += tickPulse(1,0.25));
  generatorR == 6 ? (spl1 += tickPulse(1,0.5));
  generatorR == 7 ? (spl1 += tickPulse(1,0.75));
  generatorR == 8 ? (spl1 += tickWhite(1));
  generatorR == 9 ? (spl1 += tickPink(1));
  generatorR == 10? (spl1 += tickPurple(1));
  generatorR == 11? (spl1 += tickDigital(1));
  generatorR == 12? (spl1 += 1);
  generatorR == 13? (spl1 -= 1);

  // Polarity inversion
  invertL    == 1 ? (spl0 *= -1);
  invertR    == 1 ? (spl1 *= -1);

  // Output volume with channel sum compensation
  spl0 *= outGain[0] * (generatorR == 0 ? 2.0 : 1.0);
  spl1 *= outGain[1] * (generatorL == 0 ? 2.0 : 1.0);

  // Output channel routing
  outRouting == 1 ? (spl1 = spl0);
  outRouting == 2 ? (spl0 = spl1);
  outRouting == 3 ? (spl0 = spl1 = (spl0 + spl1) * 0.5);

  // DC Blocker
  blockDC == 1 ?
  (
    spl0 = dcBlocker(0);
    spl1 = dcBlocker(1);
  );

spl0>=0 ? spl0=1 : spl0=0;
spl1>=0 ? spl1=1 : spl1=0;

I close the issue as I found a solution.


chore: add script to generate component structure

Description
This PR adds a util that quickly generates the supporting structure necessary to create a new component.
https://user-images.githubusercontent.com/13763558/211708251-c7a47782-9196-4b76-8971-44d957db8256.mov
Type of change

Chore (housekeeping or task changes that don't impact user perception)

How Has This Been Tested?

Manual on storybook

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

This feature has been added via plop.


Full SQL Model: remove events enriched

Removing this step will duplicate a lot of the SQL, but make the full model more performant.

Closing because not relevant anymore.


can i extract ip address from http request and add it to tags?

when i use jaeger-collector to receive spans, by using Thrift over HTTP,
can i extract ip address from request header and add it to tags?
like this:
{
  "traceId": "something",
  "spanId": "something",
  "operationName": "something",
  "flags": something,
  "startTime": "something",
  "tags": [
    { "key": "key1", "vStr": "value1" },
    { "key": "ipaddr", "vStr": "<IP_ADDRESS>" } //from request header
  ],
  "process": {
    "serviceName": "something",
    "tags": [
      { "key": "key2", "vStr": "value2" },
    ]
  }
}

if jaeger-collecot can't did it, perhaps some soluations?
Looking forward to advice, Thanks in advance
And forgive my poor english  :)

That's currently not possible: while you can add tags to the spans seen by a collector, the values are static. The agent can also add tags, but again, not with dynamic values.
What you could be doing is to make your application send trace information to an agent on the same host, and then make the agent add the IP to all spans it processes. We do something similar in the Jaeger Operator to add the Kubernetes pod's name/namespace to the spans.

That's currently not possible: while you can add tags to the spans seen by a collector, the values are static. The agent can also add tags, but again, not with dynamic values.
What you could be doing is to make your application send trace information to an agent on the same host, and then make the agent add the IP to all spans it processes. We do something similar in the Jaeger Operator to add the Kubernetes pod's name/namespace to the spans.

Thanks for your answer. I will try another way.
Hava a nice day!


[WIP] CI testing for release-1.0 branch

I merged https://github.com/openshift/ansible-service-broker/pull/760 missing the fact that this was open. @rthallisey, does #760 help with this? It looked like it fixed the CI.

closed in favor of https://github.com/openshift/ansible-service-broker/pull/760


feat(woodpecker-server): add monitoring resources

@pat-s please review this time faster.
https://github.com/woodpecker-ci/helm/pull/22
fix #21

some things already merged by #77

Changelog
BREAKING CHANGES

split metrics.enabled and the PodMonitor deployment to prometheus.podmonitor.enabled

move metrics.interval to prometheus.podmonitor.interval

Features

metrics port also on services
prometheus.podmonitor.interval optional (for use global server value)
prometheus.podmonitor.label for dedicated labels only on pod-monitor
first prometheus rule with alerting (is there a worker)
prepare to ship grafana-dashboard

Bugfixes

allow usage of extraVolumeMounts without persistence.enables

chore

replace if with with
use named ports in services
remove metrics.path (user should not change that value)

charts/server/grafana_dashboards/.gitkeep was created, because otherwise git does not create this directory charts/server/grafana_dashboards/, because there are not yet any files inside.
Of course i could delete the support of grafana_dashboards (and prometheus-rules, because we did not have any dashboards (and rules) yet.
or i need

wow for the fast review (multiply times a day, my last just get a "please rebase" after four mouth).
i do not know, how you create / generate changelogs. It does not look like convention-commit based ... so i write some in the description.

wow for the fast review (multiply times a day, my last just get a "please rebase" after four mouth).

I am just contributing since some months - I wasn't (really) active during your last PR.

i do not know, how you create / generate changelogs.

It's done automatically by a release bot - which scrapes the commit message/PR titles and merges them with the labels assigned.
But for this one we should add a upgrade changelog in the README - so it would be good to do it there, i.e. in README-main.md.gotmpl.

So should i split this PR in several PRs to get a nice CHANGELOG like in my description.

Can you please add a new section to the README (below "Versioning") as follows
## Upgrading

<details>

<summary>To 1.0.0</summary>

YOUR CONTENT HERE

</details>

and replace YOUR CONTENT HERE with the user-facing upgrade notes? That would be awesome. No need for another PR, can go in here.
No features, just what users need to change if they were already using parts of the old implementation. Features etc. go into the release changelog then.

done, i have also improve the with/if on a place in the agent (but not change any logic)

done
sorry, i understand your workflow (with squashing on merge) now
i use the main branch ... should i go back in commits?

how does it released?

When WP 2.0 gets released


fix for ipad and ipad pro vertical drag stopped by page scrolling

Trying this again hopefully without any built files. This patch adds an event listener to the document to stop page scroll triggering instead of vertical dragging.

We're close, but not quite there. Did this work in your testing?

I ended up creating an ipad_fix branch for us, and going back to the way I did it initially. Putting back the 'scrolling' state and putting the add event in handleDrag. That works for us and keeps the internal scrolling.
I'll continue to look at this master branch and try to improve the solution, and get rid of the scrolling state, in my spare time.


Implement preprocessing layers at model stage

https://keras.io/guides/preprocessing_layers/

Adding additional reference to improve the segmentation tools class https://www.tensorflow.org/tutorials/images/data_augmentation?hl=en


How about an optional trailing semicolon?

I understand that Rhai tries to mimic Rust, but what about an optional trailing semicolon? Just like in Swift.
Is is purely a design decision or is it hard to implement?

Rhai always take the last statement's value as the return value of a block.  It doesn't matter whether the last statement terminates with a semicolon or not.  That's because Rhai has no types and so does not require the distinction as per Rust.
{ foo } and { foo; } both return the same value.

I was talking about semicolons in general, not only in the return statement. I would really like to have the same logic as in Swift.

Not sure how Swift does it... do you mean terminate statement by line ending?

I just found https://forums.swift.org/t/what-are-the-rules-of-automatic-semicolon-insertion-in-swift/43532/12
Personally, I think this is more trouble than is worth...  Swift has to add more rules to parsing in order to be able to skip some semicolons...  I'd rather just keep those semicolons...
Not that it would be hard to implement - actually probably quite easy, but the additional parsing rules will be hairy as they skip through multiple statements, i.e. the second statement is not a statement if it is half of a binary operator which must have white-spaces around...

Hm... I see. I just thought maybe it was purely a stylistic choice. Personally, I think it makes code that easier to read. And I  do use Rust and Swift extensively, so I can compare. But I do agree that some rules are a bit weird.
Anyway, it's up to you. This is just a suggestion.

Closing this for now.