All providers 'codes'?

There is a list api_payload.txt with some "codes" for each provider. For example: Netflix is nfx, Google Play Store is ply. Where can I find the codes for others providers, like Amazon Prime Video, Disney+? Or GloboPlay (a provider available in Brazil)?

Hi I think the Globoplay code is gop

I found the codes in the HTML on JustWatch's website, and parsed through it using Python. The result: you can see most of the provider codes here sidward35/letterboxd-justwatch#service-codes


2022-2.4 envs

Has fixes for suitcase-tiff (https://github.com/bluesky/suitcase-tiff/releases/tag/v0.4.0, https://github.com/conda-forge/suitcase-tiff-feedstock/pull/3).
xref https://github.com/nsls2-conda-envs/nsls2-collection/pull/7

Thanks for your review, @danielballan!

Published at https://zenodo.org/record/6555136.


docs: update ng-zorro-antd users

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information
https://github.com/NG-ZORRO/ng-zorro-antd/issues/1142#issuecomment-536197716

don't forget to add it at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/docs/introduce.zh-CN.md and en.md

@vthinkxie  got it

@vthinkxie  update


Biome encountered an unexpected error (semantic_model/scope.rs:115:33)

Environment information
CLI:
  Version:                      1.7.2
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.12.2"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "npm/10.5.0"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Linter:
  Recommended:                  true
  All:                          false
  Rules:                        complexity/noBannedTypes = "error"
                                complexity/noForEach = "off"
                                complexity/noUselessRename = "off"
                                complexity/useArrowFunction = "off"
                                complexity/useLiteralKeys = "off"
                                complexity/useOptionalChain = "off"
                                complexity/useRegexLiterals = "off"
                                correctness/noUnnecessaryContinue = "off"
                                correctness/noUnusedImports = "error"
                                correctness/noUnusedVariables = "error"
                                correctness/noVoidTypeReturn = "off"
                                performance/noDelete = "off"
                                style/noNamespace = "error"
                                style/noNegationElse = "error"
                                style/noParameterAssign = "off"
                                style/noParameterProperties = "error"
                                style/noShoutyConstants = "error"
                                style/noUselessElse = "off"
                                style/useBlockStatements = "error"
                                style/useCollapsedElseIf = "error"
                                style/useConsistentArrayType = {"level":"error","options":{"syntax":"generic"}}
                                style/useFilenamingConvention = {"level":"error","options":{"requireAscii":true,"filenameCases":["kebab-case"]}}
                                style/useForOf = "error"
                                style/useImportType = "error"
                                style/useNamingConvention = "off"
                                style/useNodeAssertStrict = "error"
                                style/useNodejsImportProtocol = "error"
                                style/useShorthandAssign = "error"
                                style/useSingleCaseStatement = "off"
                                style/useTemplate = "off"
                                suspicious/noEmptyBlockStatements = "off"
                                suspicious/noExplicitAny = "off"
                                suspicious/noImplicitAnyLet = "error"
                                suspicious/useAwait = "off"

Workspace:
  Open Documents:               0

Rule name
Unknown
Playground link
https://biomejs.dev/playground/?lineWidth=120&indentStyle=space&lintRules=all&code=ZQB4AHAAbwByAHQAIAB0AHkAcABlACAAUgBlAGMAdQByAHMAaQB2AGUAUABhAHIAdABpAGEAbAA8AFQAPgAgAD0AIAB7AAoAIAAgAFsAUAAgAGkAbgAgAGsAZQB5AG8AZgAgAFQAXQA%2FADoAIABUAFsAUABdACAAZQB4AHQAZQBuAGQAcwAgAEEAcgByAGEAeQA8AGkAbgBmAGUAcgAgAFUAPgAKACAAIAAgACAAPwAgAEEAcgByAGEAeQA8AFIAZQBjAHUAcgBzAGkAdgBlAFAAYQByAHQAaQBhAGwAPABVAD4APgAKACAAIAAgACAAOgAgAFQAWwBQAF0AIABlAHgAdABlAG4AZABzACAAbwBiAGoAZQBjAHQACgAgACAAIAAgACAAIAA%2FACAAUgBlAGMAdQByAHMAaQB2AGUAUABhAHIAdABpAGEAbAA8AFQAWwBQAF0APgAKACAAIAAgACAAIAAgADoAIABUAFsAUABdAAoAfQAKAA%3D%3D
Expected result
This was linting cleanly using biome 1.7.1. It is a regression in biome 1.7.2. Now I get:
Biome encountered an unexpected error

This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:

Source Location: crates/biome_js_semantic/src/semantic_model/scope.rs:115:33
Thread Name: biome::worker_0
Message: no entry found for key

types.ts internalError/panic  INTERNAL  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ processing panicked: no entry found for key

  ⚠ This diagnostic was derived from an internal Biome error. Potential bug, please report it if necessary.

Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Temporary workaround: disabling the rule noRedeclare.


Watcher fails without curly brackets around file extension (css) in sftp.json

Expected Behavior
Watcher should see and upload style.css when it is specified in sftp.json as such::
{
    "name":"name",
    "protocol":"sftp",
    "host": "host.com",
    "port": 2222,
    "username": "david",
    "password": "verysecretpassword",
    "remotePath":"/wp-content/themes/mytheme",
    "uploadOnSave": true,
    "watcher": {
        "files": "styles/style.css",
        "autoUpload": true,
        "autoDelete": false
    }
}

Actual Behavior
Watcher does not see style.css
It does, however, see style.css when it is specified as such:
 "files": "styles/style.{css}",

Notice the curly braces.
Steps to Reproduce the Problem

Specify the watch file without curly braces
Modify the file outside the editor (or using a css preproccessor)
Notice the file does not upload in the output pane
Repeat with curly braces around "css" as shown above, and it works

Requisites (important to diagnose the problem!)
Extension Logs
This is when it fails:
[info] config at c:\Sites\vs-code-showdown {"name":"name","remotePath":"******","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":[],"watcher":{"files":"styles/style.css","autoUpload":true,"autoDelete":false},"concurrency":4,"protocol":"sftp","host":"******","port":2222,"username":"******","password":"******","connectTimeout":10000,"interactiveAuth":false,"sshConfigPath":"~/.ssh/config","secure":false,"passive":false,"context":"c:\\Sites\\vs-code-showdown"}
[info] [file-save] c:\Sites\vs-code-showdown\styles\sections.less
[info] transfer c:\Sites\vs-code-showdown\styles\sections.less

This is when it works:
{"name":"name","remotePath":"******","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":[],"watcher":{"files":"styles/style.{css}","autoUpload":true,"autoDelete":false},"concurrency":4,"protocol":"sftp","host":"******","port":2222,"username":"******","password":"******","connectTimeout":10000,"interactiveAuth":false,"sshConfigPath":"~/.ssh/config","secure":false,"passive":false,"context":"c:\\Sites\\vs-code-showdown"}
[info] [file-save] c:\Sites\vs-code-showdown\styles\sections.less
[info] [watcher] c:\Sites\vs-code-showdown\styles\style.css updated
[info] transfer c:\Sites\vs-code-showdown\styles\sections.less
[info] transfer c:\Sites\vs-code-showdown\styles\style.css

Specifications

Version: 1.26.1
Platform: Windows 10 Pro

This did not occur on Mac OS X with identical configuration.

Does it work with "files": "styles\style.css",
On Wed, Aug 29, 2018 at 10:54 AM James Reichard<EMAIL_ADDRESS>wrote:

This did not occur on Mac OS X with identical configuration.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/liximomo/vscode-sftp/issues/300#issuecomment-416806831,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJXIoU-G5I3cqWTNI8MJH4Ig9j0gLHtcks5uVgJJgaJpZM4WQu8B
.

Does it work with "files": "styles\\style.css" in window.

@davidchoy This is fixed by vscode in #57475


Symbol not found: _BrotliDecoderCreateInstance with Python 3.7.2 and fresh pip install

There seems to be something preventing brotlipy from working on my machine:
$ pip --version
pip 19.0.1
$ virtualenv -p $(which python3.7) venv
$ source venv/bin/activate
$ python --version
Python 3.7.2

$ pip install --no-deps --no-binary :all: --ignore-installed brotlipy
Collecting brotlipy
  Using cached https://files.pythonhosted.org/packages/d9/91/bc79b88590e4f662bd40a55a2b6beb0f15da4726732efec5aa5a3763d856/brotlipy-0.7.0.tar.gz
Skipping bdist_wheel for brotlipy, due to binaries being disabled for it.
Installing collected packages: brotlipy
  Running setup.py install for brotlipy ... done
Successfully installed brotlipy-0.7.0

$ python
>>> import brotli
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "~/test/venv/lib/python3.7/site-packages/brotli/__init__.py", line 3, in <module>
    from .brotli import (
  File "~/test/venv/lib/python3.7/site-packages/brotli/brotli.py", line 5, in <module>
    from ._brotli import ffi, lib
ImportError: dlopen(~/test/venv/lib/python3.7/site-packages/brotli/_brotli.abi3.so, 2): Symbol not found: _BrotliDecoderCreateInstance
  Referenced from: ~/test/venv/lib/python3.7/site-packages/brotli/_brotli.abi3.so
  Expected in: flat namespace
 in ~/test/venv/lib/python3.7/site-packages/brotli/_brotli.abi3.so

This also happens with just plain pip install brotlipy (without the --no-deps --no-binary :all: --ignore-installed options).

same error

IIRC @ikreymer just ended up disabling brotli support in pywb when this error is encountered, so unfortunately I don't know of any workaround at the moment @kukat. Please post back if you do find a way to fix this!

I use anaconda py3.6 / ubuntu
The finial solution
apt-get install python3-cffi-backend


Integration no longer showing up or searchable in HA/Configuration/Integrations.

Hi. Title pretty well says all. I have a fresh install supervised Home Assistant 0.118.3 on Ubuntu 20.04 server. Unable to find your integration. About 6 months ago I had it and was impressed.
Also a suggestion that all would benefit from is the animation of the last 24 hours of the half hourly satellite image. No need for localisation information as it is Australia wide.

Hey mate, can you please paste some screenshots of what you are experiencing so I can understand the issue a bit better?

Not a problem.
[image: Screenshot from 2020-11-25 16-41-19.png]
On Wed, 25 Nov 2020 at 14:34, bremor<EMAIL_ADDRESS>wrote:

Hey mate, can you please paste some screenshots of what you are
experiencing so I can understand the issue a bit better?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bremor/bureau_of_meteorology/issues/41#issuecomment-733441697,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABT6YZS4UGWMQ6TUA57EDYTSRR3M7ANCNFSM4UBV4QEQ
.

Hi. Title pretty well says all. I have a fresh install supervised Home Assistant 0.118.3 on Ubuntu 20.04 server. Unable to find your integration. About 6 months ago I had it and was impressed.
Also a suggestion that all would benefit from is the animation of the last 24 hours of the half hourly satellite image. No need for localisation information as it is Australia wide.

Have you installed this custom component? This component is less than 1 month old so not sure how you used it 6 months ago. I think you might be confused.
Please check the instructions in the readme and preferably install the component using HACS then after restarting, add the integration in the GUI (Search for Bureau not BOM). It will pop right up.


Allow running sighandler logic as part of a cleanup chain

In our code, we need to take certain cleanup actions
after receiving a SIGSEGV. This makes it difficult to
integrate with backward, as our custom sighandler is overriden.
A simple solution is to have backward-cpp expose the
core sighandling logic as a public function, which
we can simply call from within our code. This is not
currently possible since sig_handler is private, and
additionally raises the signal again at the end.
This pull request makes the above possible. The alternative
is to copy handleSignal into our own code, which is just ugly.

Initially the signal handler was so small and simple, that you were to be copy pasting it in your own code. Now that it has some macro magics, it does indeed make sense to make it public for ease of reuse!
Thank you for your contribution!


Create supporting blogs for Ballerina Testing Guide

Description:
Write blogs to support the documentation describing best practices for writing tests.
Draft content:
Link : https://docs.google.com/document/d/1GMHa6POsD1atqzrBPq9oC1H-rr1PzXwcY6_9NGpHC7Q/edit?usp=sharing

Draft content: https://github.com/Ibaqu/CodeBlogs/

Note

Mention the version of Ballerina this is applicable
Revist the blogs periodically and publish updated versions - if applicable
Publish how to guides in own Medium blogs
Publish guidelines / best practices content to ballerina.io
Use attractive titles - REMEMBER to include keywords - keep SEO in mind.   General guidelines https://sites.google.com/wso2.com/wso2rockstar/home?authuser=0#h.628zipq20u0k
Link other relevant articles from your articles (Would help in creating more views)
For blogs we can break down the content and publish as multiple parts
Publish to programs like rockstar and get the help of that team to publish in sites like DZone/InfoQ

We'll be planning all the blog posts around a single use case i.e. an Airline reservation Project.
All the blogs would be linked to complete the best practices for writing tests in Ballerina.

Topics to cover

[ ] Best practices to follow when writing Ballerina tests | @azinneera
[ ] Writing unit tests - enabling code coverage, using configurables, using mocking | TBD
[ ] Writing integration tests | TBD
[ ] Integrate to CICD workflow | TBD
[ ] How to write tests for a [Topic] in Ballerina | TBD
[ ] How to configure a Ballerina project with CodeCov | @Dilhasha
[ ] How to use mocking for testing ballerina code (Function mocking / Object mocking) | @Ibaqu

We have created a new repository to keep track of the blogs henceforth
https://github.com/Ibaqu/testerina-demos
AirlineReservationProject has been added and will be updated as necessary for different scenarios

Draft content: https://github.com/Ibaqu/CodeBlogs/

All content from CodeBlogs repo will be edited/moved to the new repo if required.

Service testing blog is tracked at https://github.com/ballerina-platform/ballerina-lang/issues/32024

Mocking blog is tracked at https://github.com/ballerina-platform/ballerina-lang/issues/32027


Table Data Dialog Size

          This is not working for me with 2.15.0.

Originally posted by @ecchodun in https://github.com/syd711/vpin-studio/issues/186#issuecomment-2025743063

This is still a bug where the  pop-up table window exceeds the top of Vpin Studio (can't grab it to bring it down), but a workaround was to change your screen to portrait mode (from landscape), move the window down and then change the screen back.

The dialog is alway shown centered. So it is too big for your resolution and ends up partly outside the screen, right?

When I load Vpin Studio and click on Asset Manager, the window that pops up is already off screen at the top of my screen.  It looks like the attached.  I can barely see the change table icons at the top right and I'm forced to press Alt-F4 to close it to get back to the main dashboard.  I didn't have this issue with prior versions (prior to the last two updates).

Ok, that's indeed pretty annoying. Sorry for that. I have no idea what have caused this. Can you also attach a full screen screenshot or give me the resolution of your screen?

No worries.  Full screen shot attached.  My resolution is 1920 x 1080.

I think you have and addition scaling of 125% set. Usually the dialogs fit and are never larger than HD.
Anyway, it's a shortcoming on my side. I'll see what I can do to reduce the size of the dialogs.

You're exactly right.  Scaling is set at 125% per recommended in Widnows.   I can always push it down when I used Vpin Studio.

I fixed both dialogs so that they will fit for your resolution again. The only other dialog that has a larger size is the highscore card template designer. But that dialog and be resized and the size is stored, so there should be no issue.
The fixed dialogs will come with the next update.

Thank you.

Fixed with 2.16.0.
I also checked the preferences and fixed a bunch of issues (when used on smaller screens) there too.


[Core] Tying wandb CLI Args in Capacity Search

Issue: wandb config was hardcoded inside capacity search code.
Changes:

Added CLI args to specify wandb-group, should-write-metrics-to-wandb and enable-wandb-sweep.
Updated config.py/BenchmarkConfig object to take in should-write-metrics-to-wandb arg
Updated capacity search code to take in wandb related args
Made boolean arg of should-use-given-dir of BooleanOptionalAction action type.
Updated to_args() logic in BenchmarkConfig class to pass handle boolean parameters.

@anmolagarwalcp810 is this PR ready for merge?

@anmolagarwalcp810 is this PR ready for merge?

Yes, it's ready as it just involved tying CLI args. We can probably take care of wandb sweep issue in a new PR.


Reply timeout handling is broken

TimeoutMixin's setTimeout is never called so timeouts are effectively disabled.

Hi. I've been hit hard by this problem, and I'm working on a solution at https://github.com/arnimarj/txredisapi/commits/master
I've put it through a pathological case where I've put the replyTimeout to 10ms, and it seems to deal with it just fine. Once I've added unit-tests I'll submit a pull request.

Cool! Looking forward for pull request


Stack trace incorrect in go 1.12

Simplest way to reproduce:

package main

import (
	"fmt"
	"github.com/pkg/errors"
)

func main() {
	fmt.Printf("%+v\n", errors.New("fail fast"))
}

Output:
Wrong file name for main.main and includes skipPleaseUseCallersFrames:

fail fast
main.main
	/gocode/src/github.com/pkg/errors/errors.go:104
runtime.skipPleaseUseCallersFrames
	/sdk/go1.12beta1/src/runtime/asm.s:40
runtime.main
	/sdk/go1.12beta1/src/runtime/proc.go:200
runtime.goexit
	/sdk/go1.12beta1/src/runtime/asm_amd64.s:1337

Using

go version go1.12beta1 darwin/amd64

Expected output

fail fast
main.main
	/gocode/src/playground/go12betapkgerrors/main.go:9
runtime.main
	/usr/local/Cellar/go/1.11.4/libexec/src/runtime/proc.go:201
runtime.goexit
	/usr/local/Cellar/go/1.11.4/libexec/src/runtime/asm_amd64.s:1333

Related: https://github.com/golang/go/issues/29526#issuecomment-451117761

Thank you for raising this issue. I'm hoping to have this fixed by the time
1.12 is released.
On Thu, 3 Jan 2019 at 22:35, Bo Sunesen<EMAIL_ADDRESS>wrote:

See golang/go#29526 (comment)
https://github.com/golang/go/issues/29526#issuecomment-451117761
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pkg/errors/issues/180, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcAx7MHg30ZzecArh-3j0PY_qS_E3Vks5u_erqgaJpZM4Zn8b6
.

Fixed in #183


Links can not be opened if PDF file is password protected

Attach (recommended) or Link to PDF file here:
https://download.novapdf.com/download/samples/pdf-example-password.pdf
Password: test
Configuration:

Web browser and its version: Firefox 103 / 105.0a1 (2022-08-08)
Operating system and its version: macOS 12.5
PDF.js version: unknown (the version shipped with Firefox)

Steps to reproduce the problem:

open the PDF file in Firefox and enter the password
try to click one of the page footer links
remove the password protection (I did it with Adobe Acrobat)
open the unprotected file with Firefox
repeat step 2

What is the expected behavior?
You can open the links.
What went wrong?
After step 2 nothing happens if you click on a link. The tooltip contains a "Disabled: " before the URL. After step 5 you can open the links.
The behaviour after step 2 seems wrong to me because a) I don't see why a password protection should restrict the ability to open links and b) Google Chrome and Adobe Acrobat do not restrict the opening of links for password protected PDF files.

This was implemented in PR #11087, and was done for security reasons.[1]

See https://bugzilla.mozilla.org/show_bug.cgi?id=1568071 which unfortunately isn't public.

Since the Bugzilla ticket is not public, could you please summarize why it's important for security to disable links for password protected files? And do other browsers (like Chrome) and PDF viewers (like Acrobat) have the same issue and they don't care or are they protected in some way against that type of security problem?

Since the Bugzilla ticket is not public, could you please summarize why it's important for security to disable links for password protected files?

Given that the bug hasn't been made public, I don't know if it'd be appropriate/correct for me to comment on its details; hopefully that's an understandable position!
And for what it's worth, I don't believe that one or two sentences could accurately capture the contents of that bug.

And do other browsers (like Chrome) and PDF viewers (like Acrobat) have the same issue and they don't care or are they protected in some way against that type of security problem?

My only experience with those PDF Viewers is as a user, so it's impossible for me to say. However, based on the information in the bug they may be affected by those security problems (unless it's been somehow addressed in the years since).


Add optional NORDIC denoising step

What would you like to see added in fMRIPrep?
If possible, it would be great to support NORDIC denoising.
NORDIC is currently written in MATLAB, which might be a problem.
Do you have any interest in helping implement the feature?
Yes
Additional information / screenshots
BIDS now supports separate noRF scans for the no-excitation pulse volumes people often acquire at the ends of their runs for NORDIC.

Would be good to know how NORDIC fits into the fit and transform workflows. Does it need to be done before/after HMC/STC? Is it deterministic/nondeterministic? What's the runtime? Is there a compact set of parameters that can be saved, or is it basically just the noRF files are the parameters?

Pinging @madisoth for his thoughts, but my understanding is that it needs to be done before HMC, STC, or basically anything else. I don't think it's deterministic, unfortunately.
Most parameters are determined from the data (e.g., how many noise volumes, whether there's phase data or not). The only one I can think of that users might want to vary is phase_filter_width, but there's a strong recommendation to use a value of 10 for fMRI data, so even that could be hardcoded.
Not sure about the runtime since I've only ever run it on large numbers of runs in jobs.

Just popping in to say that re the MATLAB implementation, I recently found this package with a python implementation of NORDIC: https://paquiteau.github.io/patch-denoising/ (and associated paper: https://hal.science/hal-03895194/file/isbi2023_denoise.pdf)
I did not have a chance to try it myself (or NORDIC itself), so buyer beware.

Thanks @mvdoc! The repo looks really promising, and even if it's not completely up-to-date with SteenMoeller/NORDIC_Raw (which it very much could be), it would still be a great jumping off point.
I also wanted to note that, for multi-echo data, NORDIC could be run on each echo independently (which I believe is how most folks do it), or we could try the HYDRA-OC approach from this OHBM abstract by Marco Flores-Coronado and Cesar Caballero-Gaudes. In that approach, it looks like you concatenate the multi-echo in a spatial direction (Z in their case), run NORDIC, and then split up the denoised data.

I looked at the patch-denoising code and it doesn't seem like it uses noRF scans for its NORDIC implementation, so I'm not sure how close it is to the "official" method.

@Remi-Gau do you know any tricks for using MATLAB in containers/BIDS apps?

Yeah. Make sure the code is Octave compatible and use Octave.
Otherwise you are down the road of compiling Matlab code...
Where is the Nordic code base?
If it's the one I am thinking of  I may have "opinions" about it...

This one is the one I was planning to use, since it's the one others seem to be using. I don't know if it's Octave-compatible though. It does rely on the nifti/20130306 libary.

It looks like someone has been working on Nipype interfaces for NORDIC (https://github.com/SteenMoeller/NORDIC_Raw/pull/21).

@MoniDoerig have you had a chance to test out the NORDIC Nipype interfaces you wrote in your PR? Do you know what else might need to go into the Docker image to make it work?

@tsalo Yes, I've tested the Nipype interface for the NIFTI_NORDIC script both on lab and open-source data, specifically 7T event-related fMRI data. The tests were conducted on Neurodesk Version 24-04-04.
You can find a Jupyter Notebook showcasing the usage and changes I made to the NIFTI_NORDIC script to make it compatible with Nipype, along with the Nipype interface itself here.
The Nipype interface is specifically for NIFTI_NORDIC, which, unlike the original NORDIC,  does not require a noise-scan or the g-factor map. Also, it uses additional parmeters that can be adjusted. If no additional parameters are provided, the interface uses the default values. These could be hard-coded (e.g., using magnitude images only, specifying output format) to simplify the interface and remove reliance on an additional parameter struct. However, this would reduce flexibility in case other configurations are needed.
Regarding the Docker image:

It depends on MATLAB (tested with version R2022a, although I haven't tested MATLAB Runtime yet)
It also requires Nipype (tested with version 1.8.6) and the Python library scipy (tested with version 1.13.0)  used for initializing the arguments struct in Python.

Thank you @MoniDoerig. It sounds like the best move forward on fMRIPrep's end would be to fork NORDIC_Raw with your changes, compile it into a standalone application with MATLAB Runtime, release that so it can be downloaded easily, and then add it to the fMRIPrep Dockerfile. @effigies does that sound right to you?

When I created an image for NORDIC with MCR it ended up being very large, not sure if that was because I had a licence with all the extensions. I don't think there are not many options to make MCR images much lighter, I tried to track all files used when running the MCR compiled files and removing the one unnecessary but it broke the MCR. Not sure if we want to make fMRIPrep docker images that heavier. And maybe we should try to work with the python implementation above that I just found about here.

Agreed. @Remi-Gau reached out to the Python version's author and he's willing to work through bugs and such.


Extend component to describe schema + packing

Generate a schema definition for components to support introspection
Something like
    fn schema() -> Array<(kind, len)> {
        Array::new([
            ('felt252', 252),
            ('u32', 252),
        ])
    }

We generate the component implementations here:
https://github.com/dojoengine/dojo/blob/fe97850a5ee6b13873b1788dbb121e97a140c486/crates/dojo-lang/src/component.rs#L15
We can iterated over a structs members like this:
https://github.com/dojoengine/dojo/blob/fe97850a5ee6b13873b1788dbb121e97a140c486/crates/dojo-lang/src/component.rs#L57
For the initial implementation, len should always be 252. We can implement bit packing as a follow up.
Once you've edited the codegen you can update the generated output in https://github.com/dojoengine/dojo/blob/main/crates/dojo-lang/src/plugin_test_data/component with
CAIRO_FIX_TESTS=1 cargo test --package dojo-lang --lib -- plugin::test::expand_contract::component --exact --nocapture

Hey @tarrencev
I am working on this right now.
Thank you for the detailed issue, I still have a little question.
Am I not supposed to pass something in the schema() function to iterate through it and output the schema?

Hey @tarrencev I am working on this right now. Thank you for the detailed issue, I still have a little question. Am I not supposed to pass something in the schema() function to iterate through it and output the schema?

Great to hear! If I understand correctly, the schema file shouldn't have any inputs. The internal value should be generated by the compiler and return a static value

So you confirm I will always return an array containing the felt252 representing the name and the u32 representing the length? Only 2 elements then?

Ah no sorry, I was unclear. The existing name and len functions should continue to exist.
The schema function returns a description of the struct members and how they are packed. For example,
struct Position {
    x: felt252,
    y: u32,
    z: u64,
}

Should return (note i've extended the original type to also include the member name, since member ordering is important):
   fn schema() -> Array<(name, kind, len)> {
        Array::new([
            ('x', 'felt252', 252),
            ('y', 'u32', 252),
            ('z', 'u64', 252),
        ])
    }

Since there is no packing happening right now, so a u32 is stored in 252bits.
In the future, when we pack, we might have something like this:
   fn schema() -> Array<(name, kind, len)> {
        Array::new([
            ('x', 'felt252', 252),
            ('y', 'u32', 32),
            ('z', 'u64', 64),
        ])
    }

In this case, we can infer that the y and z are packed into a single felt.
cc @milancermak for feedback

So at the end I am supposed to call something.schema() right?

The generated component contract should have 'schema' as an addition view method that returns the schema definition


Linux Error

python main.py
best list for tournament :
Traceback (most recent call last):
File "main.py", line 254, in
if "DDoS not ready" in checkcluster["ddosready"] and test == "no":
TypeError: 'int' object has no attribute 'getitem'

If I change line 28 in main.py from active_cluster_protection = True to active_cluster_protection = False I get the exact same error, but when I change line 50 in main.py from ddos_cluster = True to ddos_cluster = False I get this error

python main.py
analysing configuration... botnet
updating ipsp level +1
Waiting... in update
Packing IP list 6
Traceback (most recent call last):
File "main.py", line 390, in
c.attack(attacks_normal, maxanti_normal, wait_load, mode, api, active_cluster_protection)
File "/home/deadlybynite/Git/vHackAPI-Python/console.py", line 404, in attack
data = self.getIP(True, max, mode, api, active_protecte_cluster_ddos)
File "/home/deadlybynite/Git/vHackAPI-Python/console.py", line 196, in getIP
wait_for = executor.submit(self.calc_img, ut, list_image[i], uhash, list_hostname[i], max, mode, api)
NameError: global name 'ut' is not defined

I've tried changing both lines to false since I am not in a cluster, but either way, I keep getting an error. I'm not currently in a cluster, and I believe I need to change some things inside main.py, but not sure what.
Any help is greatly appreciated!

Uh weird i'm recheck the code dev WookieNZ

please redownload the new code it's fix

i close se ticket for long time


ownerName filter does not return items for workbooks, datasources, flows, projects, views, metrics

Describe the bug
Providing the owerName filter to an endpoint never returns any items.
Versions
Details of your environment, including:

Tableau Server Version - 2020.3.8, 2021.3.0
Python Version - 3.8.10
Tableauserverclient version - 0.16.0

To Reproduce
from itertools import product
import tableauserverclient as TSC

server = ... # Server sign in details here

def prefix_domain(name, domain):
    return f'{domain}\\{name}'

def suffix_domain(name, domain):
    return f'{name}@{domain}'

def just_name(name, domain):
    return name

user: TSC.UserItem = server.users.get_by_id(server.user_id)
last_first = user.fullname.replace(',', '')
first_last = ' '.join(user.fullname.split(', ')[::-1])
email = user.email
username = user.name
domain = user.domain_name

#                                                    control
string_methods = ['capitalize', 'casefold', 'lower', 'strip', 'title', 'upper']
user_names = [last_first, first_last, email, username]
formats = [prefix_domain, suffix_domain, just_name]
endpoints = ['workbooks', 'projects', 'datasources', 'flows', 'views']

for combo in product(formats, user_names, string_methods, string_methods, endpoints):
    # edit - Added check for case sensitivity on domain
    func, name, method, dom_method, endpoint = combo
    name = getattr(name, method)()
    dom = getattr(domain, dom_method)()
    name = func(name, dom)

    reqopts = TSC.RequestOptions()
    reqopts.filter.add(
        TSC.Filter(
            TSC.RequestOptions.Field.OwnerName,
            TSC.RequestOptions.Operator.Equals,
            name
        )
    )

    endpoint = getattr(server, endpoint)
    items, _ = endpoint.get(reqopts)
    if len(items) > 0:
        print(name)

Results
No results are ever printed, yet at least some combination of that should work.
NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

I should add that for that site, I own multiples for projects, workbooks, data sources, views, and flows, so at least something should have returned.

Per the Filtering and Sorting docs:

Note: Filter expressions can’t contain ampersand (&) or comma (,) characters because these characters are used as field expression separators. This is true even if those characters are encoded.

Would it be possible to enable it server side such that commas and ampersands escaped similar to how salesforce does it will work?
E.G.
server.flows.filter(owner_name="Woods%5c%2c+Jordan")


New package: MackeyGlass v0.1.0

Registering package: MackeyGlass
Repository: https://github.com/JonathanCourtois/Mackey_Glass.jl
Created by: @JonathanCourtois
Version: v0.1.0
Commit: 9e6e77ed7f1608b3479bb43c7ef1a081350355fb
Git reference: master

Needs compat for Julia itself.

Can you also rename the repo? You can do that from the repo settings on GitHub and GitHub will redirect.

I renamed the repo to MackeyGlass.jl inside my repo setting.

Needs compat for Julia itself.
how can I add that?
( sorry I'm new here)

You add e.g.
[compat]
julia = "1"

to the Project.toml file, see https://julialang.github.io/Pkg.jl/v1/compatibility/

Ok it's done, thank you

You also need to retrigger the bot on the new commit to update this PR.


Aki.Launcher not start in wine (GPTK)

General information:
Project issue is for:
Launcher
Expected result:
Launcher is not started, when I run exe aki.Launcher
Actual result:
Nothing, and there is no clieng.log generated
I trying to run EFT with SPT-AKI in wine environment on MacOS Sonoma with GPTK (game porting toolkit, which is regular wine with Metal to DX translator). When I run aki.Launcher there is nothing happend, and there is not any logs
How to reproduce:

Install GPTK and download EFT
winetricks dotnetdesktop6
Install SPT-AKI 3.7.0 using instruction
Run aki.Server and next run aki.Launcher

Originally written by snpwball

I don't know if the launcher will work, you could try building it yourself: https://dev.sp-tarkov.com/SPT-AKI/Launcher
Failing that, you could try launching the game client from command line: https://dev.sp-tarkov.com/SPT-AKI/Launcher/src/branch/master/project/Aki.Launcher.Base/Controllers/GameStarter.cs#L105

Originally written by chomp

The launcher is also what applies the patch to Assembly-CSharp.dll, so that may be problematic in trying to manually run the client

Originally written by DrakiaXYZ

Thanks, running game client whis parameters, and without launcher is working!
https://www.reddit.com/r/SPTarkov/comments/177u5z3/finally_run_on_macos_sonoma_with_gptk_wine/
I think the main problem is running Avalonia in wine...

Originally written by snpwball

Great news!

Originally written by chomp

All steps to make it work (it may be actual for linux too):

Create a new bottle with Whisky (https://github.com/Whisky-App/Whisky).
Install dotnet40 dotnet472 vcrun2017 with winetricks.
Download EFT and install it with official launcher.
Download SPT-AKI-INSTALLER 2.8 (all next versions are not launch, it may be same problem with Avalonia or some graphical stuff), place it to C: and install. It will broke before apply patch.
Next, make SPT directory, and move all created files and folders inside.
Run patch.exe
Use this instruction (https://www.reddit.com/r/SPTarkov/comments/y6bk7g/comment/iso93er/?utm_source=reddit&utm_medium=web2x&context=3) to run Launcher natively from MacOS (or Linux) and get profile token. But it may be not needed, because in user folder you have .json file with same name.
Get winhttp.dll from SPT-AKI release files.
Set native first winhttp in wine bottle config.
Open two MacOS terminals, and cd inside SPT folder.
In first terminal launch aki.Launcher with actual WINEPREFIX.
In second terminal launch EscapeFromTarkov.exe with actual WINEPREFIX and cli parameters from instruction.

I spent a week to make it work:) Maybe there is a good idea to optimize AKI Launcher for wine? There is one project which car run together server and launcher (https://hub.sp-tarkov.com/files/file/1007-spt-aki-alternative-launcher/), but looks like it not patch Assembly-CSharp.dll. Unfortenatly I am not C# coder, and cant help with it, but maybe I try to find some way with Python.

Originally written by snpwball

Huh there is funny problem. When any raid is starts, after few seconds, game is crashing with converting value eror. I found it in profile .json, there is strange bug in Pedometer...

Attachments

Снимок экрана 2023-10-15 в 05.15.54.png (221 KiB)
Снимок экрана 2023-10-15 в 05.18.16.png (58 KiB)
Снимок экрана 2023-10-15 в 05.18.38.png (72 KiB)

Originally written by snpwball

Huh there is funny problem. When any raid is starts, after few seconds, game is crashing with converting value eror. I found it in profile .json, there is strange bug in Pedometer...

Hello! Have you managed to fix this? I'm having the same issue right now thanks

Originally written by heirl00m

closing as we dont support linux

Originally written by CWX


Fix Index Out of Range error for enums with "" empty string as values

This is a work around fix for the IndexError. This issue is blocking us from updating to the latest bikeshed. We have to use a snapshot from last month.
Fix #692

This is a big hack, when the solution is to just do what I'm purposely doing for all the other linkTextVariation cases, and use a range rather than asking for a specific index.  Committing that now; closing this PR.


Add support for the HTTP header X-Download-Options

The X-Download-Options HTTP header has only one option: X-Download-Options: noopen. This is for Internet Explorer from version 8 on to instruct the browser not to open a download directly in the browser, but instead to provide only the ‘Save’ option. The user has to first save it and then open it in an application. The reason for this is that when HTML files download from the application, the browser will render it directly inline. That means that the file renders as part of the application and has direct access to the security context of it, meaning it may run phishing attacks or maybe access critical domain cookies.

https://rorsecurity.info/portfolio/new-http-headers-for-more-security

There is a request for implementation in Edge, https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/18488178/
However, it may be that the security issue is solved in Edge, and that the only benefit of adding this to Edge would be to allow developers to hide the "Open" button after file downloads just for the sake of hiding it.

I think this needs to be documented and can be part of the security category on CanIUse.


error decoding utf-8 string

The  code of  IncomingFrame.prototype.readString  is problematic.
For any long utf-8 string with non-ascii characters, it may break the string as one character's utf-8 bytes  be splitted into two parts, one at the first chunk's end and one at the the second chunk's start, resulting 2 unrecognizable characters.
It should use  require('string_decoder').StringDecoder;
var decoder = new StringDecoder(encoding);
var read = function () {
var chunk = readable.read();
if (chunk !== null) {
buffer += decoder.write(chunk);
read();
}
};
Please refer to
https://stackoverflow.com/questions/12121775/convert-streamed-buffers-to-utf8-string
the part about Streamed Buffers with multiple buffer chunks.

Thanks for reporting the issue and providing a fix.
I've written a test case and indeed readString does not decode a utf-8 string correctly when a multibyte character is received over multiple chunks.


Using front and back keys instead of 'q'

I feel like making buttons for going front and back will make it more user-friendly.

It might be. However, I want to avoid requiring a mouse, and with only the keyboard, buttons sometimes are hard to navigate
Also, the current tui library used in the project, doesn't support buttons, so it would require building our own buttons, or switching over to another tui library like textual

It might be. However, I want to avoid requiring a mouse, and with only the keyboard, buttons sometimes are hard to navigate
Also, the current tui library used in the project, doesn't support buttons, so it would require building our own buttons, or switching over to another tui library like textual

Ohh I get it now, maybe we can just add a small box in the bottom left /right of the screen with 'q' so at least people know what to press on the keyboard!


Docs.MS Release Updates for azure-storage-file-share

Update docs metadata and targeting for release of azure-storage-file-share

Docs Build status updates of commit bafde05:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/preview/storage-file-share-readme.md
:warning:Warning
View (azure-java-preview)
Details

package.json
:white_check_mark:Succeeded

docs-ref-services/preview/storage-file-share-readme.md

Line 2, Column 1: [Warning-ms-prod-and-service] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 9, Column 16: [Warning-ms-prod-technology-invalid] Invalid value for 'ms.technology': 'azure' is not valid with 'ms.prod' value 'azure'.
Line 131, Column 46: [Warning-bookmark-not-found] Cannot find bookmark '#share-service' in 'docs-ref-services/preview/storage-file-share-readme.md', did you mean '#share-services'?
Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.
Line 23, Column 1: [Suggestion-table-syntax-invalid] Table syntax is invalid. Ensure your table includes a header and is surrounded by empty lines. NOTE: This Suggestion will become a Warning on 1/29/21.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


fix: Update Blank bot to Empty bot

Following the longstanding ASP.Net tradition, we must change this to "Empty Bot", just like ASP.Net does for new projects.
Blank Bot, while it aligns with Powerpoint, is a graphical canvas, not a development term.
Description
The name of "Blank bot" doesn't align with ASP.Net and/or other development ecosystems.
Task Item
Fixes #6978

Yes please!

Coverage remained the same at 51.157% when pulling 176e394c553feb64864ecc46333e469f080247c1 on cleemullins-patch-Rename-Blank-bot-to-Empty-Bot into 06c0d6e85098e2cde72a94eafef75a409b5cde3e on main.

@benbrown I thought this was refactored into a separate file that was being served from the Composer repo, rather than coded into Composer itself?

It still uses the hardcoded sort order as a back up if the api call so this PR is still valid

Closing as fixed by Peter in the templates project


Change project summary information styling

Changes
The project summary information view has been simplified to ensure consistency across the different applications within the service
Before

After

Checklist

[x] Attach this pull request to the appropriate card in DevOps.
[x] Update the CHANGELOG.md if needed.

V nice & simple!


updated instructions for clearer instructions

A feedback was that our instructions for starting the app was a bit vague. Updated instructions for clarity.

Did live code review with the team. Approved by all members


Delete .meta.yaml.swp

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

remove meta.yaml.swp. @conda-forge-admin, please rerender


Using MSE instead of Broadway?

Hi,
Great project, creative and awesome.
Question: although Broadway is super cool, did you consider using Media Source Extensions to decode the video using the browser's native decoding API?
I mean, if I am not missing something, eventually you broadcast H264 bytes over Web Sockets to a browser client. If that client supports MSE, we should be able to append the H264 bytes in array buffer form to a MSE buffer, right? At least in theory (if only the NAL units are sent I guess you need to wrap them up somehow but that's pretty much it).
Thanks!

Cool suggestion, and it may be worth looking into this again.
When I experimented with that (a looong time ago), I could not get the video to decode in real time, the browser always insisted on buffering a few seconds - to guarantee smooth playback I guess.
That's what led me to broadway in the first place - the ability to decode a frame as soon as it's available, without worrying much about a coherent move experience.
But things may have changed since then, maybe now we can let the browser decode a NAL unit immediately.
I currently don't have the time to look into this, but as always: pull requests welcome :-)

Got it. Thanks for the feedback. Will be glad to work on a PR when I find some time.


run active calls objects from notifications through normalizeStartTim…

…e, the api is extected to send those values soon

Apparently the incoming api update will make subscription messages send startTime as well, so we need to normalize that the same way we normalize the time in the data we get from call-log api.

Coverage increased (+0.02%) to 39.285% when pulling f8e6f8957b52f1a7d60ec6d9472d020497877484 on u9520107:rcint-4444 into 6318f4d1548e0de6c96ad52975fb21e49402efe2 on ringcentral:dynamics-regression.


How can I run the code in Python?

Thanks for sharing the interesting project.
I've tried to run the code in Python, but the codes for Python which are in src/main/resources could not run.
I think that most of them require "was_wave_3_hhold_eul_final.dta" file.
Where can I download the data? or Could you share the dataset?
Regards,

Hi @aithlab,
Thanks for the interest. In general, unfortunately we cannot share the datasets used, as we are not the owners. Regarding the specific dataset you are asking about, the Wealth and Assets Survey, you can find more information on how to access it via the main UK data service, https://ukdataservice.ac.uk/.
In any case, note that the main point of this repository is to provide the code for the model itself, which is written in java. The python code is used to work with data, estimate and calibrate model parameters and potentially plot model results. As such, most of it is not supposed to run directly, as different users might not have access to the datasets and even if they do, their addresses are bound to be different. The main idea behind sharing that code is to allow researchers and users to see how we worked with data, thus potentially providing them with ideas on how to do their own data work and calibrations. For more information on how we estimated and calibrated the different model parameters, as well as the data sources used, please check the online appendix of our paper at https://www.bde.es/f/webbde/SES/Secciones/Publicaciones/PublicacionesSeriadas/DocumentosTrabajo/22/Files/dt2217e.pdf (also to appear soon published at the Industrial and Corporate Change journal).
Hope this helps.
Best regards,
Adrian Carro.

Thanks for the reply!


[Suggestion]7 second scan delay instead of 10 seconds

According to that https://www.reddit.com/r/pokemongodev/comments/4vxseb/psa_7_seconds_scan_delay_is_enough/
you can change it to 7 seconds or maybe for safety 8 seconds. Always 2 seconds faster than before! :P

as someone else commented in the redditpost it is not always enough to take 10.
If I take 11 I'm getting the best results myself :(

This is in the config now, you can just modify the config to whatever value you want.
The setting is SCAN_DELAY


Reuse client session

implement aenter and aexit in sdk to be able to use the same session for all requests

Seems to be not needed


Add support for Electron 28

Changes:

Extend range of supported Electron versions with Electron 28.
Increase Electron dev dependency version to ^28.0.0.

No code changes required since core doesn't use APIs changed in 28.

@tcobbs-bentley error with Android display-test-app reported in #6263 recurred here.
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
   > Failed to transform mobile-native-android-4.3.5.aar (com.github.itwin:mobile-native-android:4.3.5) to match attributes {artifactType=android-databinding, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
      > Could not download mobile-native-android-4.3.5.aar (com.github.itwin:mobile-native-android:4.3.5)
         > Could not get resource 'https://maven.pkg.github.com/itwin/mobile-sdk-android/com/github/itwin/mobile-native-android/4.3.5/mobile-native-android-4.3.5.aar'.
            > Could not HEAD 'https://maven.pkg.github.com/itwin/mobile-sdk-android/com/github/itwin/mobile-native-android/4.3.5/mobile-native-android-4.3.5.aar'.
               > Certificate for <maven.pkg.github.com> doesn't match any of the subject alternative names: [*.registry.github.com, registry.github.com]

@tcobbs-bentley error with Android display-test-app reported in #6263 recurred here.
Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
   > Failed to transform mobile-native-android-4.3.5.aar (com.github.itwin:mobile-native-android:4.3.5) to match attributes {artifactType=android-databinding, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
      > Could not download mobile-native-android-4.3.5.aar (com.github.itwin:mobile-native-android:4.3.5)
         > Could not get resource 'https://maven.pkg.github.com/itwin/mobile-sdk-android/com/github/itwin/mobile-native-android/4.3.5/mobile-native-android-4.3.5.aar'.
            > Could not HEAD 'https://maven.pkg.github.com/itwin/mobile-sdk-android/com/github/itwin/mobile-native-android/4.3.5/mobile-native-android-4.3.5.aar'.
               > Certificate for <maven.pkg.github.com> doesn't match any of the subject alternative names: [*.registry.github.com, registry.github.com]

I suspect that there is a problem with one or more of the CI Macs, and it succeeds when rerun due to being on a different Mac. @chuckkir: Any thoughts on this?

This StackOverflow answer claims that this certificate error is fixed by updating the local Java version. However, I thought that the CI build process used Java from a upack, so I don't understand why it would fail intermittently.

Java is not intentionally installed on any of the CI machines.
From: Travis Cobbs @.>
Sent: Tuesday, December 5, 2023 12:15 PM
To: iTwin/itwinjs-core @.>
Cc: Chuck Kirschman @.>; Mention @.>
Subject: Re: [iTwin/itwinjs-core] Add support for Electron 28 (PR #6264)
WARNING: This email originated from outside of the organization. DO NOT click links, open attachments, or respond unless you recognize the sender and know the content is safe.

This StackOverflow answerhttps://urldefense.com/v3/__https:/stackoverflow.com/questions/72168009/error-while-generating-build-from-jenkins__;!!F1Q1IbZmrAg!HtziS-NwHNS-aJkXt_k-TCtlI5t2-qaIop2PaFecs-4YX4ko0T39HD7ylljcD-lCoRWe42843_6fIEf4wfZhiVYiM9v2Dtk$ claims that this certificate error is fixed by updating the local Java version. However, I thought that the CI build process used Java from a upack, so I don't understand why it would fail intermittently.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/iTwin/itwinjs-core/pull/6264*issuecomment-1841259589__;Iw!!F1Q1IbZmrAg!HtziS-NwHNS-aJkXt_k-TCtlI5t2-qaIop2PaFecs-4YX4ko0T39HD7ylljcD-lCoRWe42843_6fIEf4wfZhiVYiBkoIodM$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AG62MHS7X6I6R5ZBOAN7IKTYH5I73AVCNFSM6AAAAABAHMENWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBRGI2TSNJYHE__;!!F1Q1IbZmrAg!HtziS-NwHNS-aJkXt_k-TCtlI5t2-qaIop2PaFecs-4YX4ko0T39HD7ylljcD-lCoRWe42843_6fIEf4wfZhiVYi5IrLFe8$.
You are receiving this because you were mentioned.Message ID: @.***>

This email, including any attachments, may contain confidential and/or proprietary information intended only for the use of the recipient. If you are not the intended recipient, any distribution, copying, or use of this email or its attachments is prohibited. If you received this email in error, please reply to the sender immediately and delete this message and any copies.
Bentley Systems has taken all reasonable steps to ensure that this communication is free from viruses, data corruption, and unauthorized alteration. Bentley Systems does not accept liability for any damages that may be incurred as a result of this or any communication by email
[https://cdn2.webdamdb.com/220th_sm_EdpYPzNrja101cmW.jpg?1691764309]

I can't find the failed pipeline run. The successful one seems to have run on BuildMacM1Minion53-A.

I investigated further, and my Python script to build and run display-test-app for Android (which only runs on Macs) installs the openjdk_macos upack, version 11.0.1-0. So this version is indeed one that the StackOverflow answer claimed would cause this problem, but since it usually works, I'm not sure what is going on. I will investigate creating a JDK upack with a newer version.


Connector parameters are not rendered.

Description:
When using a connector without the UI schema it seems the UI form is not loading with the connector parameters.

Please find the connector used attached.
fhirBase-r4-connector-<IP_ADDRESS>-SNAPSHOT.zip
Suggested Labels:

Bug
Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Import the provided connector and use fhirEngageTemplate operation.
Related Issues:

Seems this is still present in v0.9.24062409 (pre-release).

This issue is fixed in the pre release version in vscode marketplace.


Duplicate controller role permissions for CloudWatch logging

Small tidy up we could do, we seem to have the permissions for CloudWatchLogging inside IAMManagedPolicyController twice:
https://github.com/kubernetes-incubator/kube-aws/blob/6c509be4228791ccb3b19083277b2530643b6055/core/controlplane/config/templates/stack-template.json#L198
https://github.com/kubernetes-incubator/kube-aws/blob/6c509be4228791ccb3b19083277b2530643b6055/core/controlplane/config/templates/stack-template.json#L220
As far as I can tell it was like this from the start of this feature so no worries about a bad merge somewhere. Ref https://github.com/kubernetes-incubator/kube-aws/pull/707.

Hello ! Can work on this ? @c-knowles

@A-Hilaly sure, no rush on this one as it doesn’t block a rollout. Should be an easy fix.

Closing as resolved via #1360. Thanks for your supports.


Add support for selecting modules through command line

This would help integrate LibGDX with other tools or game engines that leverage from it.

Can you run the LibGDX formatter on your code additions please.

Did that just now, thanks for the warning, completely forgot about that :)

Thanks!


CI: skip Windows flaky test

Pull Request Test Coverage Report for Build 282071451

0 of 0   changed or added relevant lines in 0 files are covered.
115 unchanged lines in 3 files lost coverage.
Overall coverage remained the same at 57.913%

Files with Coverage Reduction
New Missed Lines
%

internal/agent/event_sender.go
1
72.56%

internal/agent/cmdchannel/handler/featureflag_handler.go
21
13.71%

pkg/config/config.go
93
71.2%

Totals

Change from base Build 280093571:
0.0%

Covered Lines:
10901

Relevant Lines:
18823

💛  - Coveralls


Support the VK_KHR_dedicated_allocation extension.

This is used to declare that a VkDeviceMemory object is for the sole
use of a particular buffer or image.
In fact, until Metal 1.2 on iOS (2.0 on Mac), Metal didn't really
support anything but dedicated allocations. MoltenVK hacks around this
limitation by manually syncing memory between buffers and images that
used the VkDeviceMemory object.
Maybe someday we can use the new MTLHeap object to support some sort
of sub-allocation scheme. But at this moment, it won't let you specify
the exact offset within the heap, nor can it be used for managed or (on
macOS) shared memory, nor will it let you directly map the heap memory
(something that could be worked around with an aliasable MTLBuffer
taking up the entire heap space), all of which makes it unsuitable for
implementing VkDeviceMemory. So, for now, we always prefer dedicated
allocation.

@cdavis5e Thanks!


Platform error sensor.viva - Integration 'viva' not found.

Hi. Have installed component using HACS and added in configuration.yaml but I only get "Platform error sensor.viva - Integration 'viva' not found"

Hi cappadanna,
i had the same problem. the problem is that the newest version of HA (since jan 2021) require a version number in the manifest.
all you need to add in the manifest is "version": "v1.0.0", and it should work. ps dont forget the comma.

Thank you so much Tandolfss! That was it.


linking jest-editor-support

Opening this for discussion.  I think it's close, minus the fact that we need a new release of jest for the jest-editor-support package to be used.

amazing - much simpler than my version of this so far 👍

Any idea if/when jest is going to cut a new version so we can use the changes?

Ah yeah, should have talked to @cpojer about that earlier, I think a Jest release is coming pretty soon. I was testing it out by using npm link earlier over the weekend

We'll publish version 18 likely this week if everything goes smoothly :)

BTW @bookman25 we talk a bit in the reactiflux Jest chat room, you're welcome to pop in for questions there too

Alright - this is good, and I'm going to try and get this landed tomorrow and figure a process that allows us to use master jest-editor-support inside vscode-jest 👍

I think I've got it working (maybe).  Looks like it has a requirement of Jest 18 now because of the outputFile parameter update.  But just tested this in my local TS project and it appears to be working.  Would be good to very on someone else's machine though :)

Alright - this looks good, given it a run locally 👍

time to update the "how to work on this" docs - thanks @bookman25


Warning on setting props.onEventName of React component

Warning: Don't set .props.onClick of the React component <input />. Instead, specify the correct value when initially creating the element. The element was created by TodoItem.

Reason
If you are on React.js v0.13, you might see this warning, since upon 0.13, props will be immutable.
Solution
To make the syntax on(:event_name) still work. We will shift to React.cloneElement (https://facebook.github.io/react/docs/top-level-api.html#react.cloneelement).

This issue was moved to reactrb/reactrb#18


Error 0x87E10BC6 when attempting to run the app

Hey there. I downloaded the msixbundle file from the repo release page but when I try to launch the app it gives me the following error:
Something happened on our end. Here’s the error code, in case you need it: 0x87E10BC6

If you are doing a fully offline install on a machine that cannot reach the Microsoft Store, you must use the preinstall kit. The preinstall kit comes with a license document that you can install with DISM.

If you are doing a fully offline install on a machine that cannot reach the Microspreinsoft Store, you must use the preinstall kit. The preinstall kit comes with a license document that you can install with DISM.

what is preinstall kit?

@showintime , there are preinstallation kits downloadable from GitHub releases, e.g. https://github.com/microsoft/terminal/releases/tag/v1.6.10571.0, which also has links to documentation about preinstallation.


Update Argilla Spaces to docs

Updates credentials and env variables to 1.6.0
Adds a note about data loss when Spaces are rebooted or restarted

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


default cf memtable: sort row keys & insert with hint

Signed-off-by: zhangjinpeng1987<EMAIL_ADDRESS>
What have you changed? (mandatory)

Sort row keys before write to memtable
Insert with hint for default cf memtable

What are the type of the changes? (mandatory)

Improvement (change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)

[ ] benchmark
[ ] WriteBatch level insert hint in RocksDB

Does this PR affect documentation (docs) or release note? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No

/release

cool, how about the performance?

/release

/release

Close PR since it is stale for years.


Feature : generate variable props values

When testing a component, I often use long and small texts to check how the component looks in extreme situtations.
Like this :

To do that I currently pass props to my component :
const eventListItemThesis = {
  researcher: "Researcher's name is very long too",
  category: "this is a long category",
  title: "title very long with a lot of scientific words in it",
  location: "location far far far far away so far away that you'll need 2 lines to display it",
  description: "Short description, but rather long in fact. Maybe a little more text. ",
  date: new Date('2016-09-27'),
  pubDate: new Date('2015-08-20'),
  defenceDate: new Date('2015-08-20')
}

It would be very usefull to have a way to generate random texts which lengh could be modified in storybook's menu or via keyboard shorcuts and plug them into my component story with an API like that :
const eventListItemThesis = {
  myProp: storybook.randomText
}

Do you think it's a good idea ?
Is there already a way to achieve that ?

I think this is a pretty neat feature.
I hope we could build an addon for that as well.
We don't have built in way for this. But I hope we can use some NPM library like faker.

thanks,
the knobs addon seems  like a good starting point to me. It look like all I need is to feed props with fakerJS.
I'll give it a try

@sylvainbannier how are you getting on with this?
Just as an idea, if you want dynamic text: how do you like this way to select the right amount of text by mouse

@UsulPro sorry I don't see the feature you'r talking about. Is there a slider somewhere I didn't noticed ?

@sylvainbannier just select by mouse some 'lorem ipsum' text at the right column and you will see this amount of text in all textarea elements

I think is is a good use-case for addon-knobs


Add photo

I added a photo to my intro post - hopefully it will size correctly!

I think that the "220px" should set this correctly.

Hmm. The size is fine, but check out all the weirdness in alignment.
Partially, that's because your first paragraph is so short.

And the photo is huge once you open the actual blog post! :(


Property 'getValue' in type 'GlideRecordBase' is not assignable to the same property in base type 'SNAPIGlideRecord'

Hello,
I am getting the follow error message everytime i try to save my typescript file while using Sincadia.

Property 'getValue' in type 'GlideRecordBase' is not assignable to the same property in base type 'SNAPIGlideRecord'.

This only occurs when I try to import the servicenow-types.
I have worked around this issue by line 72 in the GlideRecord.d.ts file.
From: getValue(fieldName: FieldType<T>): string | null;
To: getValue(fieldName: FieldType<T>): string;

Hello Kingfapa, thanks for reporting! Can you provide a little more information so that we can investigate?

What version of servicenow-types are you on?
Can you provide example usage where this error is occuring?


align to (shared) cluster chart

support team-turtles in the alignment of cluster charts towards a provider independent one

Adding @glitchcrab as assignee as he did most of the work

closing this as it's done


High Availability support 'Windows Admin Center Preview 1808'

Is High Availability still supported for 'Windows Admin Center Preview 1808'? When we execute a failover to another node users ending up with de default first time welcome message and all connections and configuration is lost.
If we fail back to the original node connections and configuration is restored.
I've checked the files that sme.exe opens and found out that it uses the local sme.edb file (C:\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\ServerManagementExperience\sme.edb).

Hi @rrickrrick This looks like product feedback, not feedback on the topic. Am I interpreting your comment correctly? If so, you have two better options for communicating your feedback. The first is the "product feedback" button right next to the "documentation feedback" button at the bottom of every topic. The second is the product forum where experts and product team members can help.
I'm closing this doc feedback but feel free to reply back if I am missing your point.
Best,
Dawn


[WIP] Data driven toolchain wrappers

This PR is meant to solve the issue of having multiple, conflicting platform-specific sets of wrapper scripts for tools used at different stages of source -> bitstream flow.
The idea is to encapsulate the tools in new, platform-agnostic python scripts and have a file describing a flow for each platform. This is called a platform flow definition. The file lists stages of a flow, each one associated with a certain tool and given a configuration for that tool, such as dependencies that the tool take and produces as well as some named parameters.
The main script symbiflow.py can be then used to request any target that can be generated using a flow for a given platform.
Example:
python3 symbiflow.py flow.json -p arty_100 -t net

Generates net target (packed netlist) for the platform arty_100 given project configuration described in flow.json
This is still an early work in progress

@mkurc-ant - I kind of generally like the idea but can you chat with @rodrigomelo9 about his attempt at doing something in their vein at https://github.com/PyFPGA/symbiflow_cli ? It is also worth thinking about how this compares / overlaps with edalize.

@olofk - I would like your thoughts here...

@umarcor - Do you have any thoughts too?

Hi @mkurc-ant the idea of symbiflow_cli is to replace xc/xc7/toolchain_wrappers and quicklogic/common/toolchain_wrappers bash scripts, as well as Python utilities, by a Python API and a CLI utility. I started supporting ice40 and ECP5, because it was which I had at PyFPGA. These are currently solved using nextpnr and tools from icestorm and prjtrellis (here an overview. Moreover, symbiflow_cli allows to use GHDL and ghdl-yosys-plugin to support VHDL. The currently supported tools can be installed in the system or a container from https://github.com/hdl/containers can be used (is predefined but can be changed). The idea is also a data driven support. Currently, where only two platforms are supported and nextpnr is the backend, it is based on the part name. So, if you specify hx1k-tq144, nextpnr-ice40 and tools from the icestorm project will be used. On the other hand, if you specify 25k-CSFBGA285, nextpnr-ecp5 and tools from prjtrellis are employed.
So... I think that we are working on almost the same. As I said, it started as part of PyFPGA. There, I provide an unified API to use different EDA tools (ISE, Vivado, Quartus, Libero-SoC). I didn't added symbiflow (it is not true at all, there is support in the branch https://github.com/PyFPGA/pyfpga/tree/symbiflow-support) because it does not support ice40 devices.
I believe that symbiflow must provide a tool to "drive" the flow. Then, tools such as edalize, PyFPGA and other, can use the simbiflow_cli API. Currently, it is being performed using the toolchain_wrappers, which are different for each platform, highly dependant on the OS, support for ice40 and ecp5 was not yet added, etc.
You can found a discussion about the current symbiflow_cli at https://github.com/PyFPGA/symbiflow_cli/issues/5 (WIP: I am modyfing/symplifying some CLI arguments based on Tim's suggestions).

I have symbiflow_cli at https://github.com/PyFPGA/symbiflow_cli because it is in an early stage. But the idea is, if the Symbiflow project is interested, donate (and move) it to the SymbiFlow organization. I think that is a good idea to have it in a separate repo, so if you agree, maybe we can define how it must be there, work there together, and have something better in less time :-D
Let me clarify why I think that we need to solve the symbiflow's "flow" and then, tools such as edalize could use it. We can define today how the API looks like, which are the arguments of the CLI, and then, we can perform the changes that we want to support new platforms and tools. We can modify intermediate formats, add utilities for certain situations, etc, without changes at edalize. It will be complex, there will be a lot of tools combined in several ways here. I think that is a good idea to have a buffer, and do not depend on another layer between the low-level tools and the symbiflow's "flow".

@mithro When it comes to edealize I imagine it just using the wrapper scripts (in whatever form they'll have) as it does with all toolchains it supports.
@rodrigomelo9 Thank you for shedding some light at your project. I have to take a more detailed look into it. I'll get back to you with some thoughts.

Hi @rodrigomelo9.
I've seen your implementation of symbiflow_cli - It is very promising. You've taken a wider approach and supported the flows outside symbiflow-arch-defs whereas I mostly focused on the latter. My goal is more towards providing a replacement for current toolchain wrapper scripts in symbiflow-arch-defs as the current ones have a conflict between Xc7 and QuickLogic archs hence those two cannot be used simultaneously. The set of toolchain wrappers I propose is not entirely data driven - it turned out to be more "plugin" driven. For each distinct architecture there is an individual set of python scripts responsible for invoking all the tools like Yosys and VPR plus other helper scripts.
I propose that instead of integrating symbiflow_cli and symbiflow-arch-defs wrapper scrpts we make the former invoke the latter. By doing this we can move out all the intricacies necessary for symbiflow-arch-defs out of symbiflow_cli thus making it cleaner. This will also speed up development process as the only thing that we will have to agree on is the commandline parameters or a kind of a Python API.
What are your thoughts on that?

@mkurc-ant My first thought is... I don't know. Maybe, it depends?
I saw the Files changed Tab at this PR. All the work was done under xc. Is the idea to have another set of Script for Quicklogic? What about other platforms? Or is it only a temporary location?
The synthesis of symbiflow_cli supports some features which are not solved here: VHDL support through GHDL and ghdl-yosys-plugin, specify an architecture (VHDL), specify defines (Verilog), specify generics/parameters, and Verilog include directories (I am not sure if none of them are currently supported by SymbiFlow). The alternatives are to move the functionality here or to create an alternative synthesis wrapper at symbiflow_cli.
What about other platforms? (I saw some files around for iCE40 and ecp5 but not toolchain_wrappers). What about another backend? (nextpnr?). I am asking because you called them the flows outside symbiflow-arch-defs.
On the other hand, symbiflow_cli allows using fine-grain containers from the hdl/containers project, so you only need to install docker/podman and the provided Python package. Moreover, you will download only what you need (if you never use VHDL or iCE40 devices, you will no download GHDL, nextpnr-ice40 or the icestorm tools). To avoid generating new containers (tool + scripts from this project) the engine must be supported in the invocation of the underlaying tool (yosys, vpr, etc). The alternative for that is to support containers here, create a lot of new containers with scripts from this project installed (is not the idea), or a new development (also, is not the idea).
I think that we need to answer these questions (there will be several toolchain_wrappers? support for VHDL and specify arch/defines/parameters/includes? ice40/ecp5/netpnr? Containers support?) to detect if it has sense to work in the same project or in a producer/consume approach.
What I am sure is that I wan't to provide a SymbiFlow alternative. I want to help with the SymbiFlow project. Of course, you know better than me what are the needs of the project, and you have the decision on how it is solved.

@rodrigomelo9 Hi
Yes, this is WIP and the scripts are located temporarly under xc. But the plan is to add QuickLogic flows as soon as xc7 is ready. Then the scripts will be moved somewhere else.
Your way of supporting VHDL via GHDL is indeed a nice to have feature. I'm not sure how to proceed with that as in arch-defs we require pretty customized synthesis flows and techmapping. We could think of a solution where eg. symbiflow_cli does the VHDL stuff, invokes synth_<arch> in Yosys and then immediately writes EBLIF. That EBLIF (or Yosys JSON, does not matter) file would then be passed to the arch-defs wrappers where the specialized part of the flow can continue. That's just an idea.
As for the verilog include directories and other extended synthesis options - it is currently implemented for QuickLogic flow in the current wrappers. Basically there is a Python script which reads those command line switches and outputs a set of Yosys commands responsible for eg. loading cell libraries, setting include directories etc. See https://github.com/SymbiFlow/symbiflow-arch-defs/blob/master/quicklogic/common/utils/convert_compile_opts.py
I haven't considered using any docker-like containers, for now in arch-defs it is assumed that the necessary tools are available in the system or installed via Conda. I'd need to check how we handle rr graph distribution (they are big). We should have separate conda packages for each device / device family.
Certainly the wrapper scripts in arch-defs will not target nextpnr as backend as the whole arch-defs repo is devoted to architectures for VPR. This implies the need for additional techmaps for Yosys and utility scripts that are invoked in between VPR pack, place and route passes. For those reasons I would like those wrappers to support only the architectures supported in arch-defs.
Since your symbiflow_cli aims at using both nextpnr and VPR I'd stick for now with symbiflow_cli invoking arch-defs wrappers whenever a device supported by arch-defs is targetted.

Hi @mkurc-ant first of all, thanks for providing insights into the project that I had not clear (basically, this repo is to be used with VPR).
Yes, I saw that the Yosys synthesis is much more complex with VPR than with nextpnr (no worries, I know why).

I haven't considered using any docker-like containers, for now in arch-defs it is assumed that the necessary tools are available in the system or installed via Conda. I'd need to check how we handle rr graph distribution (they are big). We should have separate conda packages for each device / device family.

A possible solution is to install the scripts at this repo in the containers provided with the hdl/containers project (which will be containers suited to handle things such as the rr graph). To know more, can I ask where are the rr graph used? I guess VPR? (remember, I have experience with ice40 and ecp5 flows, based on nextpnr).

Since your symbiflow_cli aims at using both nextpnr and VPR I'd stick for now with symbiflow_cli invoking arch-defs wrappers whenever a device supported by arch-defs is targetted.

Yes, I agree that seems a good idea, at least at the moment. Of course, I am always around :P so feel free to mention me if you think that I can help. I have not idea about reverse engineering an FPGA, but I know VHDL/Verilog, Python/Bash/Tcl, and I have experience with devices and tools from Xilinx, Intel, Microsemi and Lattice

I just found this document from a long time ago --> https://docs.google.com/document/d/1lNYBP3OVc76WCDI--irPfANDvPdjZwkOuxVt_3PN31o/edit#heading=h.1d2m14ywud9p

You shared with me this document time ago... Maybe from here my "confusion"? about to support also nextpnr :-D

I found the document when looking at other things, so thought I would link it from this thread so everyone could see it.

The current symbiflow backend in Edalize uses the symbiflow_synth, _pack, place, etc entry points. This is not really optimal and is something I have been hoping to find time to fix. The problem is that the symbiflow* wrappers hide a lot of functionality from the underlying tools. Most notably when it comes to yosys where (at least last time I checked) you couldn't inject custom tcl scripts or set toplevel parameters.
I think it would make more sense to have an Edalize backend that calls the EDA tools (yosys, VPR, nextpnr etc) directly and then build symbiflow convenience wrapper on top of this.


Prl 1194 c43

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PRL-1194
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Review done, LGTM


Dragging shuffles images around

When you drag an image, it will attempt to move the other images around as to make room for the new image... but if you drag it onto a new position, the original images don't always move back to their existing positions. This gives a weird experience when sorting items as things shift around too much.

Now this not possible done.
Can you give an example why it is needed?

Need example.


Fix FE API's person record ID key name.

Sent to Eliah.

Is it worth adding a test?

Is it worth adding a test?

Yeah, done.


dev-cmd/pr-pull: fix typechecking error

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Fixes (maybe?)
Error: uninitialized constant Formulary::Formula

https://github.com/Homebrew/homebrew-core/actions/runs/5622415532/job/15237499429#step:8:132

Ok, seems to work: https://github.com/Homebrew/homebrew-core/actions/runs/5622415532


Task_actor Docstring

Summary
Minor changes:

docstring for task_actor
adding types document in in the alarm.py

Todos
None
Checklist

[ ] All existing tests pass.
[ ] Tests have been added for any new features/fixes.
[ ] Docstrings have been added in the Google docstring format.

Tip: Install pre-commit hooks to auto-check types and linting before every commit:
pip install -U pre-commit
pre-commit install

Fixing tests


Version 3.1.2 window-covering bug

The window cover opens for one second and the stop hex is sent and it stops!
Looks like I need the sendStopAt0: false and setStopAt100: false it worked great on version 2.7.4
This is my JSON:
{
"name": "Window",
"type": "window-covering",
"host":"0d:43:b4:ca:be:24",
"totalDurationOpen":35,
"totalDurationClose":14,
"initialDelay":1,
"data":{
"openCompletely":"hex",
"closeCompletely":"hex",
"stop":"hex",
"open":"hex",
"close":"hex"
}
},
{
Log when I try to open window completely:
It is stoped immediately
[2018-3-14 22:15:11] [Broadlink] Window setTargetPosition: 100
[2018-3-14 22:15:12] [Broadlink] Window setCurrentPosition: 100
[2018-3-14 22:15:12] [Broadlink] Window sendHex (<IP_ADDRESS>;...
[2018-3-14 22:15:12] [Broadlink] Window setTargetPosition: (stop window covering)
[2018-3-14 22:15:12] [Broadlink] Window sendHex (<IP_ADDRESS>;...
[2018-3-14 22:15:12] [Broadlink] Window setPositionState: 2
[2018-3-14 22:15:12] [Broadlink] Window setPositionState: already 2 (no data sent - B)

v3.2.0 includes those options again and defaults to false, so you can leave them out.

Thanks a lot!!!


--unfixable is ignored for ISC001

A minimal code snippet that reproduces the bug.

> echo 'print("foo" "bar")' > dummy.py
> ruff --isolated --select=ISC dummy.py
dummy.py:1:7: ISC001 [*] Implicitly concatenated string literals on one line
Found 1 error.
[*] 1 potentially fixable with the --fix option.
> ruff --isolated --select=ISC --unfixable=ISC001 --fix dummy.py
Found 1 error (1 fixed, 0 remaining).
> cat dummy.py
print("foobar")

The current Ruff version (ruff --version).
ruff 0.0.292

Apologies if I failed reading comprehension, but my expectation is for --unfixable to to block the fix here.
Thank you for your attention!

Thanks, that's just a bug!


As a user, I can archive my entire library information.

Implement an archive command that saves the current state of BookFace into a json file.

closing/dropping due to lack of time


Use user user-name and token for GitHub API calls

Implements #2196
@cldwalker @rundis How's this look?

@kenny-evitt Before talking about the code, I'd like to better understand the motivation. I haven't seen this in issues (though I've been less active) and I haven't encountered this issue myself. If this is for one user on gitter and they haven't taken the time to make their case for it on github, I don't think we should be immediately prioritizing it to build. This feature is also somewhat technical e.g. getting an auth token so I don't expect this to be a common user workflow. Probably worth checking if there are other ways to auth besides the url which would then require no change. If there are none, then I'd suggest minimal LT changes to allow GH credentials.

@cldwalker There are a few issues that mention this or seem to involve it:

GitHub responded with a status of 403 · Issue #2065 · LightTable/LightTable
System Tests by justintaft · Pull Request #1996 · LightTable/LightTable
Having Issues Downloading Any Plugins · Issue #1893 · LightTable/LightTable

I created #2196 for the user that mentioned it in Gitter and I was going to point to similar changes, e.g. my adding the Node.js start options behavior, so anyone could work on it. Then I decided 'fuck it, I'll just implement it myself; it shouldn't take long' – and thus this PR. I wasn't prioritizing it as much as trying to kill it off before even adding it to our set of issues. Unfairly of me, I didn't really account for the cost of you or Magnus having to review it – I'm sorry for not doing that.
I also don't expect this to be commonly used. But for anyone that is running into it, there's really no workaround available. If their public IP address is being shared (as I'd expect it is for almost everyone), then it's possible they could run into the limit pretty quickly.
The Technology
There are only three ways to authenticate with GitHub:

Basic Authentication
2a. OAuth2 Token (sent in a header)
2b. OAuth2 Token (sent as a parameter)
OAuth2 Key/Secret

[1], [2a], and [3] involve modifying the URL, which you want to avoid, but [2b] requires adding a header to all of the GitHub API requests, so I don't understand how that helps us "require no change".
I also can't understand how we could (properly) use OAuth because there's no way for us to keep the client secret (that is generated by GitHub when we register our application with them) secret.
The GitHub docs do state:

... OAuth2 tokens can be acquired programmatically, for applications that are not websites.

But I still don't think there's any way for us to get an authentication token securely. The link in the quoted text above starts:

If you need a small number of tokens, implementing the web flow can be cumbersome. Instead, tokens can be created using the OAuth Authorizations API using Basic Authentication. To create tokens for a particular OAuth application, you must provide its client ID and secret, found on the OAuth application settings page, linked from your OAuth applications listing on GitHub. If your OAuth application intends to create multiple tokens for one user you should use fingerprint to differentiate between them. OAuth tokens can also be created through the web UI via the Personal access tokens settings. Read more about these tokens on the GitHub Help page.

So, we can create OAuth tokens for our not-a-website application, but we have to use Basic Authentication to do so. I'm also unclear about what credentials we're expected to or supposed to use. Whatever credentials we use, we can't really secure them if they're distributed with the LT app code.
This blog post describes authenticating via OAuth in an Electron app too:

Electron. oAuth authentication with GitHub

But the author admits that the GitHub application client secret is stored in the Electron app .asar package (and that's not secure).
I can't figure out how we could securely authenticate with OAuth. I asked a question on Stack Overflow about it too:

(GitHub) API OAuth authentication for not-a-website applications?


Locate Command: If person does not have address, an appropriate message should be returned

At the moment when a person who does not have an address is located, the result displayed is "locate successful". An EXCEPTION (red message) should be returned saying that the person does not have an address.

resolved w PR #181


Separate Worker/Client executor service on master side

Is your feature request related to a problem? Please describe.
When users have a large number of clients/workers, since they shared the same executor service, client-master operation may block master-worker communication. We want to have separate executor services for workers and clients.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Urgency
Explain why the feature is important
Additional context
Reported @maobaolong
@ggezer mentioned that it requires changes from the gRPC side

@maobaolong @ggezer Please provide more information about this issue, thanks!

FYI; separate executors means separate gRPC servers, which means binding to separate ports.

@ggezer Yeah, exactly, it just like hdfs which have to port 8020 for client call, 8021 for datanode call

Add a configuration to use separate ports


Can't open files in VS Code from Windows Explorer when an Admin instance is already running

VSCode Version: 0.10.11
OS Version: Windows 10

Steps to Reproduce:
Open VS Code
In Explorer, double click a file that's associated with VS Code or right click and use "Open in Code".
Often, nothing happens unless I close the previous instance of Code. Sometimes, it works.

@roblourens is the previous instance of Code healthy in that moment? Can you try to do the same from the command line like this:

run code.exe --verbose for the first instance (from the directory where code is installed in program files)
run code.exe --verbose for the second instance and pass it a file to open
attach the output in case it fails

I can run it twice from the command line, but after running it the first time, I can't open another instance by double-clicking a file or dragging a file onto the running instance. Sometimes it works but not always.
Here's the log, but nothing shows up when I double click another file.
E:\dv2\inetcore\devtoolbar\v4>"C:\Program Files (x86)\Microsoft VS Code\Code.exe" --verbose .

E:\dv2\inetcore\devtoolbar\v4>
### VSCode main.js ###
c:\Program Files (x86)\Microsoft VS Code\resources\app { pathArguments: [ 'E:\\dv2\\inetcore\\devtoolbar\\v4' ],
  programStart: 0,
  workers: -1,
  enablePerformance: false,
  verboseLogging: true,
  debugPluginHostPort: undefined,
  debugBrkPluginHost: undefined,
  logPluginHostCommunication: false,
  firstrun: false,
  openNewWindow: false,
  openInSameWindow: false,
  gotoLineMode: false,
  pluginHomePath: undefined,
  pluginDevelopmentPath: undefined,
  pluginTestsPath: undefined,
  disablePlugins: false,
  locale: undefined }
Lifecycle#unload() 1
[6572:11528:0411/161230:VERBOSE1:crash_service_main.cc(68)] Session start. cmdline is [--reporter-url=https://ticinocrashreporter.azurewebsites.net/crash --application-name=VSCode --v=1]
[6572:11528:0411/161230:VERBOSE1:crash_service.cc(142)] window handle is 007211D8
[6572:11528:0411/161230:VERBOSE1:crash_service.cc(290)] pipe name is \\.\pipe\VSCode Crash Service
dumps at C:\Users\roblou\AppData\Local\Temp\edv2\VSCode Crashes
[6572:11528:0411/161230:VERBOSE1:crash_service.cc(294)] checkpoint is C:\Users\roblou\AppData\Local\Temp\edv2\VSCode Crashes\crash_checkpoint.txt
server is https://ticinocrashreporter.azurewebsites.net/crash
maximum 128 reports/day
reporter is electron-crash-service
[6572:11528:0411/161230:VERBOSE1:crash_service_main.cc(84)] Ready to process crash requests
[6572:10760:0411/161230:VERBOSE1:crash_service.cc(323)] client start. pid = 11044
[6572:10760:0411/161230:VERBOSE1:crash_service.cc(323)] client start. pid = 37716
[19640:12880:0411/161230:VERBOSE1:crash_service_main.cc(68)] Session start. cmdline is [--reporter-url=https://ticinocrashreporter.azurewebsites.net/crash --application-name=VSCode --v=1]
[19640:12880:0411/161230:VERBOSE1:crash_service.cc(142)] window handle is 00221392
[19640:12880:0411/161230:VERBOSE1:crash_service.cc(290)] pipe name is \\.\pipe\VSCode Crash Service
dumps at C:\Users\roblou\AppData\Local\Temp\edv2\VSCode Crashes
[19640:12880:0411/161230:VERBOSE1:crash_service.cc(294)] checkpoint is C:\Users\roblou\AppData\Local\Temp\edv2\VSCode Crashes\crash_checkpoint.txt
server is https://ticinocrashreporter.azurewebsites.net/crash
maximum 128 reports/day
reporter is electron-crash-service
[19640:12880:0411/161230:ERROR:crash_service.cc(301)] could not start dumper
IPC#vscode-workbenchLoaded

More useful - opening the second instance from the command prompt
PS C:\Users\roblou\.vscode\extensions\vscode-webkit-debug> code .\testapp\ --verbose
PS C:\Users\roblou\.vscode\extensions\vscode-webkit-debug> & 'C:\Program Files (x86)\Microsoft VS Code\Code.exe' --verbo
se .\testapp\
PS C:\Users\roblou\.vscode\extensions\vscode-webkit-debug>
Error: connect EPERM \\.\pipe\Code-ec7481-sock
    at Object.exports._errnoException (util.js:837:11)
    at exports._exceptionWithHostPort (util.js:860:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1060:14)

@bpasero - Still reproes in 1.1.1, but now I can always launch a second one from the command line, but not from windows explorer. In task manager, I see a new Code.exe process appear, then disappear after a couple seconds, and no new Code window.

I can't seem to reproduce. Is there anything special about your system? Corporate managed, for example?
The EPERM error indicates that it can't connect to the named pipe crated by the first instance. Rests to figure out whether that happens because it fails to connect or maybe the first instance drops the named pipe at some point.
If you keep trying repeatedly, it sometimes works, did I get that right?

It's acting a little differently now from when I filed the bug, and I don't see that error anymore.
If I open the first Code instance from the command prompt, then I think I can always open a second one from the command prompt. But, if I try to open the second one from the file explorer, by double-clicking a file or using the context menu option, it doesn't work - I don't get a new instance of Code, and the file isn't opened in the existing instance.
But, if the first Code instance is opened from file explorer, then I can always open more instances from either the command prompt or file explorer with no problem.
So I think I just discovered a workaround - I can first open an instance from file explorer, and leave it open in the background.
Anything I can do to help debug?

And one more thing -
If I open the first instance from the command prompt, I can open a second instance from the same command prompt, but if I have a different cmd window open, I can't open a second instance from that different prompt.

Some other user found out he's using an elevated prompt in #6137, is this your situation too?

Oh yeah, I am. Should have realized that would be significant. So if the first one is opened as administrator, I can't open another from a not-admin window.

Haha, sounds familiar. Look at our user tags "Microsoft member" :)

We gotta fix this...

Related: https://github.com/Microsoft/vscode/issues/6560

#1614

I'm running VSCode Insiders v1.15-0-insider and I'm still experiencing this issue:
Steps to reproduce:

Open a folder from an elevated command prompt with code-insiders path\to\folder\
Try to open a text file from the context menu (Right click on file > Open with Code Insiders)

File does not open, neither on the existing window or a new one.


index error when trying to start homebridge.

I can't figure out why it is not working.
usr/lib/node_modules/homebridge/lib/api.js:50
if (name.indexOf('.') == -1) {
^
TypeError: Cannot read property 'indexOf' of undefined
at API.accessory (/usr/lib/node_modules/homebridge/lib/api.js:50:12)
at Server._loadAccessories (/usr/lib/node_modules/homebridge/lib/server.js:285:42)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:86:38)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:43:10)
at Object. (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)

What did you do to resolve the issue? I'm getting the same error.

Does anyone have a fix for this?