Can't configure wss on my live server

Hello guys,
I'm trying to configure laravel websockets with ssl for so long, but can't do it.
My SSL Configuration looks like this.
I covered passphrase of my cert file with * just for this issue.
I still can not connect my app with websockets.
This is the list of my SSL files (located at /etc/ssl/):
tumboservice_ge.ca-bundle  tumboservice_ge.crt  tumboservice.ge.csr  tumboservice.ge.key  tumboservice_ge.p7b
Can someone help me?
'ssl' => [                                                                                /*                                                                                * Path to local certificate file on filesystem. It must be a PEM encoded file which                                                                                * contains your certificate and private key. It can optionally contain the                                                                                * certificate chain of issuers. The private key also may be contained                                                                                * in a separate file specified by local_pk.                                                                                */                                                                                'local_cert' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT', '/etc/ssl/tumboservice_ge.crt'),                                                                                /*                                                                                * Path to local private key file on filesystem in case of separate files for                                                                                * certificate (local_cert) and private key.                                                                                */                                                                                'local_pk' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_PK', '/etc/ssl/tumboservice.ge.key'),                                                                                /*                                                                                * Passphrase for your local_cert file.                                                                                */                                                                                'passphrase' => env('LARAVEL_WEBSOCKETS_SSL_PASSPHRASE', '************'),                                                                                ],

#962
#920

cURL error 60: SSL certificate problem: unable to get local issuer certificate
That's the error I get.

Check if the file exists and if app has permissions to the folder and directory

-rw------- 1 root root      1743 Mar 22 14:27 tumboservice.ge.key
this is the only fine without read permission. Should I add it?

-rw-r--r-- 1 root root      5653 Mar 22 11:48 tumboservice_ge.ca-bundle                                                                                -rw-r--r-- 1 root root      2195 Mar 22 11:48 tumboservice_ge.crt                                                                                -rw-r--r-- 1 root root      1743 Mar 22 14:27 tumboservice.ge.key                                                                                -rw-r--r-- 1 root root      7612 Mar 22 11:48 tumboservice_ge.p7b
files look like this now, but still same error.

'ssl' => [                                                                                /*                                                                                * Path to local certificate file on filesystem. It must be a PEM encoded file which                                                                                * contains your certificate and private key. It can optionally contain the                                                                                * certificate chain of issuers. The private key also may be contained                                                                                * in a separate file specified by local_pk.                                                                                */                                                                                'local_cert' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT', '/etc/ssl/tumboservice_ge.crt'),                                                                                'capath' => env('LARAVEL_WEBSOCKETS_SSL_CA', '/etc/ssl/tumboservice_ge.ca-bundle'),                                                                                /*                                                                                * Path to local private key file on filesystem in case of separate files for                                                                                * certificate (local_cert) and private key.                                                                                */                                                                                'local_pk' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_PK', '/etc/ssl/tumboservice.ge.key'),                                                                                /*                                                                                * Passphrase for your local_cert file.                                                                                */                                                                                'passphrase' => env('LARAVEL_WEBSOCKETS_SSL_PASSPHRASE', 'Sg743jFv50JGHxvS8g'),                                                                                'verify_peer' => true,                                                                                'allow_self_signed' => true,                                                                                ],

This is my ssl configuration

Imposible to read, First, always put php(js,html depends) after ``` for readability (```php), example
/**
 * Determine whether the user can show the model.
 *
 * @param  \App\Models\User  $user
 * @param  \App\Models\User  $model
 * @return \Illuminate\Auth\Access\Response|bool
 */
public function show(User $user, User $model)
{
    return [
        "test" => "test"
    ];
}

cURL error 60: SSL certificate problem: unable to get local issuer certificate
try download cacert.pem, and put it on php.ini
curl.cainfo = "/etc/ssl/cacert.pem"
openssl.cafile  = "/etc/ssl/cacert.pem"

    'ssl' => [                                                                                /*                                                                                * Path to local certificate file on filesystem. It must be a PEM encoded file which                                                                                * contains your certificate and private key. It can optionally contain the                                                                                * certificate chain of issuers. The private key also may be contained                                                                                * in a separate file specified by local_pk.                                                                                */                                                                                'local_cert' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT', '/etc/ssl/tumboservice_ge.crt'),                                                                                'capath' => env('LARAVEL_WEBSOCKETS_SSL_CA', '/etc/ssl/tumboservice_ge.ca-bundle'),                                                                                /*                                                                                * Path to local private key file on filesystem in case of separate files for                                                                                * certificate (local_cert) and private key.                                                                                */                                                                                'local_pk' => env('LARAVEL_WEBSOCKETS_SSL_LOCAL_PK', '/etc/ssl/tumboservice.ge.key'),                                                                                /*                                                                                * Passphrase for your local_cert file.                                                                                */                                                                                'passphrase' => env('LARAVEL_WEBSOCKETS_SSL_PASSPHRASE', 'Sg743jFv50JGHxvS8g'),                                                                                'verify_peer' => true,                                                                                'allow_self_signed' => true,                                                                                ],

sorry, this is how websockets.php looks like in my project.
I added cacert.pem file, but it didn't change anything, unfortunately.

DO NOT enable SSL in Laravel Websockets
Let your web server to do SSL/TLS handshaking
Configure your web server to proxy websocket traffic to Laravel Websockets service


⚠ ClamAV has degraded performance

In 4354437, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 441 ms

Resolved: ClamAV performance has improved in 93d648c.


browser-sdk: Add toggleBreakout(), and togglePeople() to embed element

Description
Summary:
Add support for new commands: openBreakout, closeBreakout, and togglePeople. Syntax fix in toggleChat command definition
Related Issue:
Reliant on this PR
https://github.com/whereby/pwa/pull/4100
Testing
In sdk repo, apps/embed-element-app example

Imported WherebyEmbedElement
Point roomUrl to local stack/room
adjust const elmRef = useRef(null);
Adjust attributes in to disable minimal, and include people tab and breakout
Add buttons testing new functions. Example:
<button onClick={ () => elmRef.current?.openBreakout()}>breakout

Then in terminal:
yarn dev:embed-element-app
Screenshots/GIFs (if applicable)

Checklist

[ ] My code follows the project's coding standards.
[ ] Prefixed the PR title and commit messages with the service or package name
[ ] I have written unit tests (if applicable).
[ ] I have updated the documentation (if applicable).
[ ] By submitting this pull request, I confirm that my contribution is made
under the terms of the MIT license.

Additional Information
Gotcha:
The openBreakout() command will still work for non-host participants. However, the user can't actually edit or initiate any breakout settings.
The above note will be clarified in our documentation and expected that customers development teams manage this from their side. i.e., if (host = true){show/enable button} else {don't show}

For the record, the "Test / Test (pull_request)" is failing do to an flagging of the use of 'event' in this line:
https://github.com/whereby/sdk/blob/db7a3eada3bf3f28be0ba36f5df2f9907970b247/apps/embed-element-app/src/App.tsx#L52
That's not code I've written or anything I changed, so figured we can move past it for now and try to refactor later

This has been deployed:
https://github.com/whereby/pwa/pull/4100
merging


Migriate ignis-based benchmarks to qiskit-experiments

What is the expected behavior?
The Qiskit benchmarks in test/benchmarks have several benchmarks which rely on code from Ignis to build, compile, and simulate circuits, and analyze results (e.g https://github.com/Qiskit/qiskit/blob/9d2359525d34e7ab67b1ac00dc5aa3cfedf4f2ff/test/benchmarks/state_tomography.py#L24 and https://github.com/Qiskit/qiskit/blob/684dfe5dbf25caff27081fe3d78331837d908f72/test/benchmarks/randomized_benchmarking.py#L63 ). With the release of qiskit-experiments, these should be updated to use the corresponding methods, and likely expanded to cover some use-cases from qiskit-experiments.
@gadial and @chriseclectic Any thoughts on what would pieces of experiments would be useful to benchmark here?

RB and QST have direct replacements in qiskit-experiments.
Another thing that would be good to benchmark are ParallelExperiments of 1-qubit experiments across a larger number of qubits. We are thinking more about benchmarkings so maybe can add some more to here in the future


Fix stability of options that exist in rustfmt stable

Rustfmt has always been unstable, it just used to work with a stable toolchain (and will do again soon). When we go to 1.0 we can't change stable options, and it is not clear to me that any of these options are close enough to perfect that I want to stabilise them forever.

These options were used in bindgen's tests, so that broke its CI. We will make bindgen not use these options anymore but it would be nice to not change behaviour without making a breaking bump next time.

It is fine to make these options unstable, but again this should have been released as 0.3 to not break code out there.


Unable to load  type dicom with python library.

Description
Hello. I am running into an error processing a medical image DICOM file from The Cancer Imaging Archive. When I call ITKReader.read() on the datapoint, the reader returns an error: KeyError: (<itkCType signed int>, 3).
The python SimpleITK library can load and process the data.
Steps to Reproduce
1. itk.imread(image_file)

Expected behavior
Dicom file is loaded into an image.
Actual behavior
Log from crash
>>> img[0]
'/nvdata/NSCLC-Radiogenomics-Fresh/NSCLC Radiogenomics/R01-041/09-07-1992-CT THORAX WO DYE-33339/4.000000-THIN LUNG WINDOW-58024/1-001.dcm'
>>> itk.imread(img[0])
Traceback (most recent call last):
  File "/home/gagan/anaconda3/envs/monai/lib/python3.8/site-packages/itkTemplate.py", line 336, in __getitem__
    return(self.__template__[tuple(cleanParameters)])
KeyError: (<itkCType signed int>, 3)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/gagan/anaconda3/envs/monai/lib/python3.8/site-packages/itkTemplate.py", line 340, in __getitem__
    return(self.__template__[tuple(cleanParameters)])
KeyError: (<itkCType signed int>, 3)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gagan/anaconda3/envs/monai/lib/python3.8/site-packages/itkExtras.py", line 645, in imread
    reader = TemplateReaderType.New(**kwargs)
  File "/home/gagan/anaconda3/envs/monai/lib/python3.8/site-packages/itkTemplate.py", line 469, in New
    return self._NewImageReader(itk.ImageFileReader, False, 'FileName', *args, **kwargs)
  File "/home/gagan/anaconda3/envs/monai/lib/python3.8/site-packages/itkTemplate.py", line 579, in _NewImageReader
    ImageType = itk.Image[PixelType, dimension]
  File "/home/gagan/anaconda3/envs/monai/lib/python3.8/site-packages/itkTemplate.py", line 342, in __getitem__
    raise TemplateTypeError(self, tuple(cleanParameters))
itkTemplate.TemplateTypeError: itk.Image is not wrapped for input type `itk.SI, int`.
To limit the size of the package, only a limited number of
types are available in ITK Python. To print the supported
types, run the following command in your python environment:
    itk.Image.GetTypes()
Possible solutions:
* If you are an application user:
** Convert your input image into a supported format (see below).
** Contact developer to report the issue.
 When configuring ITK with CMake, you can set
`ITK_WRAP_${type}` (replace ${type} with appropriate pixel type such as
`double`). If you need to support images with 4 or 5 dimensions, you can add
these dimensions to the list of dimensions in the CMake variable
`ITK_WRAP_IMAGE_DIMS`.
Supported input types:

Reproducibility

I am using CT scan image data from this NSCLC Radiogenomics TCIA dataset. The error happens every time I try to load a file.
Environment
Debian Buster, Cmake == 3.16.3, itk == 5.1.1, python == 3.8.3
Additional Information

As the error message says, int is not wrapped by default to keep the package size reasonably small. Can you try reading it in as a larger type, e.g. long or long long?
PixelType = itk.LL
image = itk.imread(input_filename, PixelType)

See more in the quick start guide.
@thewtex I tought that reader and cast filter were wrapped for all the supported pixel types? Or nearly all, at least.

Thank you @dzenanz. I was able to load my images with a different pixeltype.
But my machine did not have itk.LL or itk.L datatypes.
I loaded my images in with itk.D <itkCType double>.


Update scm.contribution.ts

requested by reviewer

@lszomoru is this ok?

Closing the PR as I made the necessary changes in the original PR.


waybar fonts issue

After the update I receive this. Have been tried to reset setings/use from .skel/reinstall waybar

Do you have nerd-fonts-roboto-mono installed?

I can see that it's not the latest config, because you have microphone percentage enabled and it was removed yesterday. Can you update your manjaro-sway-settings to the latest version and then exec cp -rf /etc/skel/config/* ~/.config/ as suggested by the post-install hint? Make a backup, because it could replace some of files you've modified

I did that already and that cp does not replaced my files. css was updated while ~/.config/waybar/config is not. Now I've fixed it. rsync is much reliable vs cp

So, is the issue with icons resolved?

yes


config: fix data race in config manager

What problem does this PR solve?
Fixes #2309.
What is changed and how it works?
This PR adds some *Locked functions to avoid using lock outside of the config manager.
Release note
Fix a data race when getting the version from the config manager.
Check List
Tests

Unit test

/run-all-tests

/merge

/merge

/merge

/merge


moving legend from right to the bottom

before:

after:

With this new organisation, what happens over time as new items enter the top-k, and others are pushed off?
What the "correct" behavior is may be ambiguous. But what I was imagining was that the plot itself includes some finite window of previous time, and maybe the legend only shows the union of items that are visible currently in the plot.  Or perhaps a legend is inherently problematic because over time the union of items that have been on the top-k can grow without bound.  Maybe there is an alternative, where you can slide a vertical line/cursor back and forth over the time-axis, and whereever that cursor is, it shows what the top-k items are at that point?

what happens over time as new items enter the top-k, and others are pushed off?

bad things :) I was assuming this can't happen so if the data is not present in the next interval, the logic fills it with its previous value. This needs to be changed.

union of items that have been on the top-k can grow without bound

right, but at the same time I am forgetting the oldest data. The graph displays only last 60 data points, where 1 data point represents last 3 seconds, because it polls the JDG each 3 sec. Now, it's misbehaving because of the previous issue ^

alternative, where you can slide a vertical line/cursor back and forth over the time-axis, and whereever that cursor is, it shows what the top-k items are at that point?

This is actually there:


poe.com (web) API mode?

Is that possible to add poe.com (web) option? From what I understand, poe.com allows people to use more variants of ChatGPT models such as sage etc. Also, Claude from Anthropic is available there.
This is a great and super helpful project. Thank you very much!

Perhaps there are some difficulties, I will try to add

poe很好用 速度很快 限制比较少

Second this! I just wanted to make this suggestion. Then, I searched here with Bing chat.

v2.2.7 has added poe.com, including Sage, GPT4, ClaudePlus, Claude, ChatGPT, Dragonfly, and jailbreak mode of Bing (Sydney)

Sorry, but can you add Poe's user preset prompt custom bot? If you can, ourself can add a lot of preset characters or use the latest jailbreak prompt. Anyway, thank you in advance.
@josStorer

@JinxAgain 👌 next version

@JinxAgain v2.2.8


Flatbuffers  Supports .fbs output in flatbuffers format

Supports .fbs output in flatbuffers format.
Fix make  release-linux

Thanks!


Create Select components

We will create a dropdown/select component for use in EDS
We will create a new Select component with two variants:

Single
Multi

Notable behaviour;

Typeahead for filtering options in select.
Selected values in multi-select will disappear from dropdown when selected
Selected values will be displayed using chips in multi-select

@akvam We should have a concrete design ready before starting to code. Dropdown is complex to create, so a simple dropdown (select) is recommended to start with. Like the one from the Pagination design

Parent for #508 , #510 , #509

I would like to have a EDS design for search inside the dropdown, above the options.
Microsoft has an example of this in the careers page.
https://careers.microsoft.com/us/en/c/business-development-strategy-jobs

Typeahead in a multiselect which is not text based is extremely hard because we can't have chips inside an input.
You would need to use a div that imitate an input. Making this accessible with keyboard navigation and mouse (and touch) events is a lot of work. It also has to be cross browser compatibility.

I would like to have a EDS design for search inside the dropdown, above the options.
Microsoft has an example of this in the careers page.
https://careers.microsoft.com/us/en/c/business-development-strategy-jobs

Typeahead in a multiselect which is not text based is extremely hard because we can't have chips inside an input.
You would need to use a div that imitate an input. Making this accessible with keyboard navigation and mouse (and touch) events is a lot of work. It also has to be cross browser compatibility.

Yeah, we are aiming to support typeahead. Due to the complexity of a select, especially from a accessibility point of view we are currently looking into just re-skinning react-select to EDS style 🤔

We already have all building blocks to make a multi select as I suggested, just need a design or guidelines.  The table is also just building blocks in the design system.
I would think twice to officially support a react-select skin, which itself is a huge hack/workaround. The production minified file is actually larger than both react and react-dom. If a searchable multi-select release in eds is months ahead, I don't see why not having an alternative in figma can be an option.

We recently had a design meeting about this and have added a Select design  to Figma, Still missing docs and such, but you can have a look :)
Yeah, we are still a little bit on the fence on how we are going to implement the select in code. It is hacky but the alternative is months of work to maybe make on that work kinda the same. Don't underestimate the small yet complex components 😅

Yeah, that typeahead design is what forces the workaround, either by override styles in a lib or implement from scratch. Have you considered put this react component i a separate package? It is going to add a lot of code in the core-react package.

Also a parent for #896  and #897

Ready for review @lucasveil @wenche

Good for me @benkeq

We should consider to show the hover effect inside the options panel as well? In code we use the same as in the Menu. Beyond that it's OK for the 1. version! 👍

Like this.

That would be shown in Patterns or Examples I think. The users in Figma would just change the state since all items in the select component are instances of the menu component.


Password Recovery outdated - report

password recovery is outdated with firefox and other updated browsers.

duplicate of https://github.com/quasar/QuasarRAT/issues/589


Drop CAP_KILL, use + prefix for ExecReload= instead

CAP_KILL seems a bit too much privileges for the sole purpose of being able to make ExecReload= work.
Use the + prefix on ExecReload= instead to run "/bin/kill -HUP $MAINPID" with full privileges, ignoring the restrictions from CapabilityBoundingSet=.
See https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStart= for further details about the + prefix in ExecReload=.

Thanks for the fixup, less permissions sounds good.  Merged.


[Question] using docker.io/openswoole/swoole:php7.4-alpine, but can't find swoole_version()

Hello, I want to ask, does the docker swoole, isn't a full blown swoole? I tried to call swoole_version, but seems I can't. I check the function that registers using
<?php

$function = get_defined_functions()["internal"];

$result = array_filter($function, function($d) { return strpos($d, "swoole") !== false; });

var_dump($result);

The output is
array(23) {
  [1227]=>
  string(23) "swoole_coroutine_create"
  [1228]=>
  string(22) "swoole_coroutine_defer"
  [1229]=>
  string(27) "swoole_coroutine_socketpair"
  [1230]=>
  string(28) "swoole_test_kernel_coroutine"
  [1231]=>
  string(40) "swoole_internal_call_user_shutdown_begin"
  [1234]=>
  string(16) "swoole_event_add"
  [1235]=>
  string(16) "swoole_event_del"
  [1236]=>
  string(16) "swoole_event_set"
  [1237]=>
  string(18) "swoole_event_isset"
  [1238]=>
  string(21) "swoole_event_dispatch"
  [1239]=>
  string(18) "swoole_event_defer"
  [1240]=>
  string(18) "swoole_event_cycle"
  [1241]=>
  string(18) "swoole_event_write"
  [1242]=>
  string(17) "swoole_event_wait"
  [1243]=>
  string(17) "swoole_event_exit"
  [1244]=>
  string(18) "swoole_timer_after"
  [1245]=>
  string(17) "swoole_timer_tick"
  [1246]=>
  string(19) "swoole_timer_exists"
  [1247]=>
  string(17) "swoole_timer_info"
  [1248]=>
  string(18) "swoole_timer_stats"
  [1249]=>
  string(17) "swoole_timer_list"
  [1250]=>
  string(18) "swoole_timer_clear"
  [1251]=>
  string(22) "swoole_timer_clear_all"
}

Is it by design that some of the function isn't available (based on https://www.php.net/manual/en/ref.swoole-funcs.php)? What should I do to make swoole_version available inside the container? Thanks

Please use https://openswoole.com/docs/modules/swoole-util-get-version


Pipelines not working Android Galaxy S8

Another drive bug to be aware of. After digging into it, it seems it can't properly the wireframe shader with VK_PIPELINE_CREATE_DERIVATIVE_BIT set

@SaschaWillems you said you were reporting these to Samsung? I can't find a public issue report for anything Android graphics related

Can you add some details? There are different S8s out there and the sample works fine on all my Samsung devices, but none of them supports WideLines so that pipeline is disabled.
So what GPU and what driver version?

Sorry, Adreno 540, in picture, Also the WideLines isn't the issue, I can toggle those off and on and it fine. The issue is when I toggle VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT part of the pipeline building

Can you also add the build number reported by the device?

R16NW.G950USQU3CRD4

If you haven't done already can you upload or post a Vulkan Caps Viewer report for that device?

https://vulkan.gpuinfo.org/displayreport.php?id=2830

The Samsung GS8 (M-G950u, with Adreno 540) Android 9.0 drivers will include the fix for this.   Not sure if Samsung has released those drivers already.  The driver problem was related to derivative pipelines.

Thanks @jackohound I will update all the issues status when I get the update


Support for RequestCopy

Rework the CompletedRequest class to add a simple .copy() class method that returns a object with the same call structure that isn't backed by a libcamera.request object. This allows users to keep the useful save_* and as_* methods without holding a reference to a request object and keep the stream moving.
This required the following:

Movement of is_***() methods to a top level module named formats.py to resolve circular import issues.
Making a common ABC that both CompletedRequest and RequestCopy derive from

Hi, thanks for this PR. I must confess I don't know what these changes do and why they are helpful. Could you perhaps explain? Thanks.

As an aside, the way picam2 is passed into basically every object in this repository is a pretty strong anti-pattern in the OO world, this is referred to as a "god object".
Its hard to refactor right now, in a bunch of places because of this. One example of why this is fraught is that presently a CompletedRequest will reference the mutable object picam2.camera_config in several places to learn what the length/width/format is, but it could have changed since the class was instantiated, leading to unpredictable behavior/crashes.


Use named routing

I was actually experimenting with vuejs and tried to remove the hashbang from url so it looks pretty.
I got an answer from : http://stackoverflow.com/questions/34623833/how-to-remove-hashbang-from-url#34624803
It brings me to here.
And also I wonder whether this is a bug .
With history turned on, you have something like http://localhost:8080/news/1  . Then try to refresh the page and all you get is Cannot GET /news/1, now when you click back button also it is not working.
What do you think ?

This has nothing to do with using named routes or not - it has to do with how the server is setup. Your server needs to know to serve the same page on GET /news/1, if it's just a static file server then you cannot use HTML5 history mode.

@yyx990803 thank you.
But don't you think the named routes is useful so users can turn on / off history ?
Regarding the route on server.
What I was thinking was use the server only to return results via api, no rendering and use some frontend tool like vue.js to handle the rendering. But it looks like my idea will not work in that case. I am new to vue.js.
Thank you for your time.

But don't you think the named routes is useful so users can turn on / off history ?

Named routes are not needed for using history mode. What makes oyu think that?

@LinusBorg I was just fixing the other routes. Please try the app and see if that works or not ;-) .


Max Range of columns , Hue can handle to sample

Hello,
Let's say if i have 1000 columns for a table and run a simple query like below in hue it doesn't return any results like 10 records at least.
select *
from  databasename.tablename
limit 10 ;
We running 3.12 Hue.
Thanks,
Bharath

3.12 is extremely old, 4.2 is the latest release and contains a lot of perf improvements on the grid result.
Also, it is difficult to visually visualize 1000+ columns, so most of the time people select only a subset


refactor: Use a state machine for data fetching logic

For a while, we've had some quirky edge case bugs with our fetching logic. This is partly because entities can be retried and refreshed, leading to several possible states. These were originally tracked with a combination of variables (hasLoaded, isLoading, lastError). But a more appropriate implementation is a state machine with specifically defined transitions.
To clean it up, I changed useFetchableData to mostly lean on a xstate state machine for handling the states and transitions. The hook became smaller and simpler, and I was able to eliminate the strange edge case behaviors. Some additional benefits are the potential to use xstate to manage other complicated flows (such as the LaunchWorkflow form), and the ability to visualize our state machines and design new user flows with statecharts before implementing.
Full breakdown:

Added xstate and xstate/react.
Added fetchMachine, which is a generic state machine representing fetchable data. It also tracks the last error received, and the current value
Updated useFetchableData to remove a lot of the logic which is now managed by the state machine.
Added tests for useFetchableData
Fixed a bug in useDebouncedValue which was uncovered during this work and added tests for that hook.
Updated WaitForData and all other places where we rely on the state of a FetchableData object to now use logic based on the discrete state values.
Cleaned up some logic in LaunchWorkflowForm and its state hook which broke due to the changes in useFetchableData.
Updated useExecutionLaunchConfiguration to compose fetch functions inside of a single useFetchableData hook instead of attempting to emulate the behavior of that hook with complicated useEffect statements.
Updated some mock data functions to create full cloned copies to prevent tests interfering with each other by changing their mocks.

Codecov Report

Merging #90 into master will decrease coverage by 0.02%.
The diff coverage is 78.88%.

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
- Coverage   66.22%   66.19%   -0.03%
==========================================
  Files         367      368       +1
  Lines        5860     5917      +57
  Branches      893      916      +23
==========================================
+ Hits         3881     3917      +36
- Misses       1979     2000      +21

Impacted Files
Coverage Δ

src/components/Launch/LaunchWorkflowForm/types.ts
100.00% <ø> (ø)

src/components/Tables/DataList.tsx
31.37% <ø> (ø)

src/components/Tables/DataTable.tsx
28.26% <ø> (ø)

src/components/hooks/index.ts
100.00% <ø> (ø)

...nchWorkflowForm/useExecutionLaunchConfiguration.ts
26.08% <15.78%> (+5.25%)
:arrow_up:

src/components/Executions/useWorkflowExecution.ts
28.57% <27.27%> (+0.57%)
:arrow_up:

src/components/Tables/LoadMoreRowContent.tsx
50.00% <33.33%> (+2.94%)
:arrow_up:

src/components/common/WaitForData.tsx
89.47% <84.00%> (-6.69%)
:arrow_down:

src/components/hooks/useFetchableData.ts
92.85% <89.74%> (-0.30%)
:arrow_down:

...s/Launch/LaunchWorkflowForm/LaunchWorkflowForm.tsx
100.00% <100.00%> (ø)

... and 14 more

Continue to review full report at Codecov.

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

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


Input component emphasise label option

We should add an option to the label component to add the govuk-label--m class to the label.
This is necessary for pages like https://www.gov.uk/find-local-council (in frontend) where the label should visually stand out more. I recently rebuilt this using a component and the option isn't available.
Used to look like this:

Now looks like this:

Could look like this:

See https://design-system.service.gov.uk/get-started/labels-legends-headings/#styling-options-for-labels-and-legends

Note to self: https://github.com/alphagov/govuk_publishing_components/pull/1131

Closing as no longer relevant.


Moved broadcast logic to BroadcastManager.kt

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The app still freezes for me with the latest update. I can partially reproduce it on a Galaxy S10 with the following steps:

Reset the app to first-time state (uninstall/reinstall)
Complete the onboarding
From the home view in portrait orientation, start a broadcast
During the broadcast, rotate to landscape orientation and back to portrait

At this point, the app UI becomes unresponsive and the camera shows a black screen. This doesn't seem to happen 100% of the time however, so I'm trying to come up with better steps to reproduce.

I have a Galaxy S10 and haven't noticed any freezes with the latest code in this branch. Could you please re-verify if that's the same for you @slee-aws ? :)

The changes are working for me now. LGTM - will merge and close this PR. Thank you for the contribution!


Android emulator detection yields false positives

Our Android emulator detection currently looks for the string "emulator" in the output of adb shell getprop ro.build.characteristics
Customer six discovered that on the Samsung Galaxy S8, the output of adb shell getprop ro.build.characteristics is "phone,emulator" even though it is obviously a physical device.
In release mode, this is causing the runner to fail with the message "Release mode is not supported for emulators".
Device details:

Device: Samsung Galaxy S8
Model: SM-G950F
Android 7.0
Samsung Experience 8.1
Kernel 4.4.13-11168760

/cc @jason-simmons

Can someone post (or send to @tvolkert) the full adb getprop log from one of these devices? :)

I have an open request to get that info in the internal sibling of this bug -- I'll paste the output here when I get it (or someone else can -- whichever comes first)

Comments from internal Android expert:

ro.hardware will be "goldfish" or "ranchu" for qemu or qemu2 based emulators

With regards to 3P emulators:

all these props get set as part of the build of the system image. 3ps can redefine
them however they want :(
There is no standard way of communicating whether or not something is 'an emulator' :(

I'm having exactly this case on my device (samsung s7 edge)
$ adb shell getprop ro.hardware
samsungexynos8890

$ adb shell getprop ro.build.characteristics
phone,emulator

$ flutter devices
1 connected device:

SM G935F • ad0616030806e2dbae • android-arm • Android 7.0 (API 24) (emulator)

@aafa I just sent https://github.com/flutter/flutter/pull/11056 to add that device to the known-hardware list.

@tvolkert thank you! 🙇


[Question] Can I add one page from existing PDF ?

I would like to add one page at the end on my pdfs. Is this possible?
Thanks! GJ

No this is not possible right now, but I will open an issue so this will be supported in the future.


vim-airline shows only when NERDTree is active

Hey, i think i have a bug, when NERDTree is opened the bar shows but when :NERDTreeToggle then dissapear. What could be happen here?

It is in the wiki. +1

Hi @jezeniel, I'm wondering if it's still suppose to be there? I couldn't find set laststatus=2  on the referenced wiki page.

Hi @jezeniel, I'm wondering if it's still suppose to be there? I couldn't find set laststatus=2 on the referenced wiki page.

You don't need to set it anymore, airline does it now.


Add ability to run on safari

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SafariTests.cs  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SafariTests.cs  1

Clones added
============
- dotnet/SimpleSauce.Test/SauceSessionTests.cs  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SafariTests.cs  1

Clones added
============
- dotnet/SimpleSauce.Test/SauceSessionTests.cs  2

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 2

Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SafariTests.cs  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 3

Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SafariTests.cs  1
- dotnet/SimpleSauce/Platforms.cs  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 3

Complexity increasing per file
==============================
- dotnet/SimpleSauce/Platforms.cs  1
- dotnet/SimpleSauce.Test/SafariTests.cs  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 3

Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SafariTests.cs  1
- dotnet/SimpleSauce/Platforms.cs  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Complexity increasing per file
==============================
- dotnet/SimpleSauce/Platforms.cs  1
- dotnet/SimpleSauce.Test/SafariTests.cs  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 1

Complexity increasing per file
==============================
- dotnet/SimpleSauce/SauceOptions.cs  9
- dotnet/SimpleSauce.Test/SafariTests.cs  1
- dotnet/SimpleSauce/Platforms.cs  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SafariTests.cs  1
- dotnet/SimpleSauce/SauceOptions.cs  9
- dotnet/SimpleSauce/Platforms.cs  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SafariTests.cs  1
- dotnet/SimpleSauce/Platforms.cs  1
- dotnet/SimpleSauce/SauceOptions.cs  9

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- dotnet/SimpleSauce.Test/SafariTests.cs  1
- dotnet/SimpleSauce/SauceOptions.cs  9
- dotnet/SimpleSauce/Platforms.cs  1

See the complete overview on Codacy


Using Microbit serial VT100 with WSL Ubuntu gives wrong output and early hangup

Microsoft Windows [Version 10.0.17063.1000]

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)
Configure BBC Microbit according to: https://youtu.be/w_-rEYKZ3do
I use WSL Ubuntu (most upgraded).

$ sudo chmod 666 /dev/ttyS3
[sudo] password for pi:
$ sudo cu -l /dev/ttyS3
Connected.

Press button B on BBC micro:bit.
BBC micro:bit VT100 WSL Ubuntu:
https://youtu.be/oUPFZrn_mHw

What's wrong / what should be happening instead:
It should look like this:
BBC micro:bit VT100 WSLTTY 1.8.2 https://github.com/mintty/wsltty :
https://youtu.be/pl-IIPlDeew
Or perhaps even better like this:
BBC micro:bit VT100 Tera Term VT:
https://youtu.be/o8-67Y03hRk

I think one problem is due to that \x1B[2J or \033[2J is not erasing the screen with blanks.
https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#span-idtextmodificationspanspan-idtextmodificationspanspan-idtextmodificationspantext-modification
The other problem is due to that some character codes higher than 127 from the serial port hangs up.
These are problems with WSL Ubuntu (built-in console), but WSLTTY with Ubuntu handles this.

I know it's been a while, but I was wondering if you're still hitting this (or if you've since moved on, I guess). We've definitely made some console changes since 17063 :smile:

I have reported a bug and given very detailed instructions on how to reproduce it. Why do you ask me to test if the bug still exists several years later when you can do it yourself? Surely Microsoft can afford to buy a Microbit.

If we purchased every weird one-off piece of hardware everybody who reported a bug complained about, we would be absolutely swimming in it.
You, on the other hand, already have one.
Seems like a fairly reasonable request.


Change build process

Add UMD modules. Build 1 universal file and components files, so it can be consumed from https://unpkg.com/aitarget-components@latestcomponents/ for example.

Add browser field to package.json. See https://github.com/defunctzombie/package-browser-field-spec

It works. TODO: find a way to lessen final file size.


QF - notify project owner when matching funds are distributed

This can be a stretch goal/nice to have:
When matching funds are sent - we should tell the project owners that were part of the QF round. Notification can say:
"Your project < project name > has just received matching funds from < QF round x >."
or if the QFround is going to be annoying to specify, we can be simple with:
""Your project < project name > has just received matching funds from a recent QF round."

I think this is more complicated than the value add - adding to icebox

@laurenluz @divine-comedian Do you need to send emails just like #1026 or need to send in-app notifications?
If you need just emails, do you need the email to be sent automatically when funds are distributed, or you only need the list?

Lauren can correct me if I'm wrong but we should just get the list, sending emails is done manually, filtered by the list - which can get by the tag. No in-app notifications.

we are currently sending emails manually, as each one has been a custom thing. I think we can keep doing it this way, in which case as @divine-comedian said, we just need the emails.
@oyealmond @koday1 can keep this in mind though... maybe in the future we may want to make some generic email copy that automatically goes out? or maybe we want to do this now?

@RamRamez do you need anything else to implement this change?

@RamRamez do you need anything else to implement this change?

I think emails are sent manually and list can be fetched from Ortto, so maybe we can close this?

@jainkrati This is in Icebox so please ignore it, I will un-assigned @RamRamez
@laurenluz shall I assign it to @koday1 to amend the requirement to make this process better?

sounds good @MoeNick


Add readme

Task name:
Description:
Documentation changes required: (Y/N)
Added unit tests: (Y/N)
Attached related issue: (Y/N)
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

/azp run

@PavloAndriiesh Please stop creating PRs that repeatedly make dummy changes to Packaging tasks. You're emailing my entire team every single time you push to this branch.

@jmyersmsft Sorry for that. Will stop it


Fix #64

This fixes #64. Although, I couldn't check where chunk.initial variable is now so I set everything to 'preload'.

Please see https://github.com/vuejs-templates/pwa/issues/64#issuecomment-344304474 for more context.


Initial commit of node classification

What does this PR do?
This PR creates a graph node classification task. It could also be used for node regression.
Fixes #985
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests? [not needed for typos/docs]
[ ] Did you verify new and existing tests pass locally with your changes?
[x] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

The main challenge right now is understanding how to handle datasets where there is a single graph and nodes are separated by a mask.


Fix #3: Update module to work with oat++ 1.3.0

Update calls of Type::staticCast to cast
Fix calls to String constructor
Convert VectorPolymorphicDispatcher to implement Collection::PolymorphicDispatcher
Requires https://github.com/oatpp/oatpp/pull/634

[FYI]
This PR will take some time to review.
Reason - I have to check weather we can optimize this module using new features introduced in oatpp type system in 1.3.0

Hi @lganzzzo! Is there a plan to support oat++ 1.3.0


Add generic support to allocate spec ids

Specializations ids recorded in metadata

used to generate new descriptor map entries

Changed local memory spec ids to use new allocation method
Added new enum for specialization constants

currently only workgroup size is added to the descriptor map

Example:
spec_constant,workgroup_size_x,spec_id,0
spec_constant,workgroup_size_y,spec_id,1
spec_constant,workgroup_size_z,spec_id,2

clvk error due to unrecognized descriptor map entry.


Add type for css prop

This is necessary for certain properties to work within the css prop object, such as flexDirection. Otherwise, you need to do something like this:

My Div

What:
Typescript support

Why:
Otherwise, weird TS errors when using certain properties within css

How:
Recursive type for css

Codecov Report

Merging #113 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #113   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          10     10
  Lines         124    124
  Branches       32     32
=====================================
  Hits          124    124

Continue to review full report at Codecov.

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

I did a force push with changes!

Let me test before merging though, please

Tested it and caught an error! All fixed now and ready if it looks good to you.

Thanks @quicksnap looks good!

🎊 🎊 🎊 🎊
How often do you cut releases for things like this?

It's usually right after @kentcdodds merges this PR.

Sorry, in the process of merging, there was some kind of glitch and something went wrong with the squash and merge and GitHub didn't use my custom commit message.
The auto-release is possible by parsing the commit messages to know how to release the project. The contributing guidelines show how you're supposed to format your commit message, but it's normally not something I care about because I can fix it when I squash and merge anyway... Except this time... Thanks GitHub 😢
So anyway... Don't worry about it, I'll get things cleaned up in a moment.

Oh, and in the meantime... Would you like to add yourself to the contributors table? You can do this in another PR if you'd like :)

Ok, a new minor version should be out shortly.

Thanks much @kentcdodds! Sorry I didn't format the message.. good to know for next time!
I'll try and do a PR for that table soon!


#MATH-1524: Add package-info.java file in package initialization.

Add package-info.java file in package initialization.

Coverage remained the same at 90.547% when pulling 44aad51796abb03aac084939aa244ae994628643 on chentao106:PackageInfoForClusterInitialization into 6b0395898e9469fda20f011ded8dce3f9d0df907 on apache:master.

Replace with a new PR


why the workflow failed

when I submit the file to task 2, the workflow can be finished. But the file is for cine(task 1) and I organized the file names the same as the example. The job cannot be finished if I submit it to task 1. Why??

when I submit the file to task 2, the workflow can be finished. But the file is for cine(task 1) and I organized the file names the same as the example. The job cannot be finished if I submit it to task 1. Why??

Could you please share the file to hyikesong on synapse？So I can reproduce this issue and investigate it thoroughly.

Thanks for your reply. The issue has been solved.


feat: automation v2.0.0

[x] Have you verified that a previous version of the package is already there in the Windows Package Manager Community Repository?
[x] Have you validated the JSON with the JSON Schema?
[x] Have you verified that the values entered in the JSON are correct?
[ ] The commit message follows the conventional commits guidelines.

Features added/removed

Redesigned logic🙂
Update manifests using PSObject at the once
Support for package_scripts has been removed (reason: hard to maintain)

Merged manually.


[Feature Request] Increase scan size limit for large queries

Feature request
At present, there are three major query limitations for SR, but none of them fully meet our limitation requirements. We hope to limit them based on the size of the scan volume (scanbytes), which is more effective than scanning the number of rows.
##at present
big_query_cpu_second_limit
big_query_scan_rows_limit
big_query_mem_limit
##Describe the solution you'd like
add big_query_scan_bytes_limit ?

Thx for you advice. Both big_query_scan_rows_limit and big_query_scan_bytes_limit are an estimation for big query, Can you tell how do you choose big_query_scan_bytes_limit rather than big_query_scan_rows_limit?

Thx for you advice. Both big_query_scan_rows_limit and big_query_scan_bytes_limit are an estimation for big query, Can you tell how do you choose big_query_scan_bytes_limit rather than big_query_scan_rows_limit?

For column storage, when I scan a large number of rows with few fields, the required resources are not significant, for example: select count (1) from t. If it is big_query_scan_rows_limit, then this SQL will be restricted. Therefore, I hope to adjust large queries based on scan size.


ctypes does not work on Windows and has memory corruption

I tried to use ctypes to interface to some C/C++ code as DLL with IronPython on Windows. I got random segfaults and errors in malloc. I am trying to boil it down and moved to a simple project that works with CPython but fails with IronPython2.7 and IronPython3.4-beta.
The project to test with is Python-using-C-CPP-libraries-with-ctypes. Great shout-out to @sol-prog
I am using Windows 10 21H1 OS build 19044.1865 and Visual Studio Community 2022. Detailed environment information at the bottom.
I used the released IronPython versions and also built IronPython3.4 from source (so trying that the same compiler is used for the DLL and IronPython binaries).
When I compile the DLL using MSVC (cbmp.dll) and run it with IronPython3.4 the code does not run due to some internal memory corruption.
PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python> ..\..\ironpython3\bin\Debug\net6.0\ipy.exe .\test_cbmp.py
Error in function: BMP_fill_region at line: 114
The region does not fit in the image!

PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python> ..\..\ironpython3\bin\Debug\net46\ipy.exe .\test_cbmp.py
Error in function: BMP_fill_region at line: 114
The region does not fit in the image!

When running with Python3 the code works just fine and produces valid output.
PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python> python3 .\test_cbmp.py
500 500 3

In cbmp.py I had to modify the loading of the library to:
# Find the library and load it
try:
    cbmp = ctypes.cdll.LoadLibrary(".\cbmp")
except OSError:
    print("Unable to load the system C library")
    sys.exit()

I compiled the DLL in the following way (from the "x64 Native Tools Command Prompt for VS 2022")
c:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python>cl /LD /std:c++17 /EHsc /W3 /DBUILD_CBMP cbmp.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31332 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

cbmp.cpp
Microsoft (R) Incremental Linker Version 14.32.31332.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:cbmp.dll
/dll
/implib:cbmp.lib
cbmp.obj
   Creating library cbmp.lib and object cbmp.exp

x86 (32-bit) Test
I also build IronPython x86 and the DLL with x86 to test:
From "x86 Native Tools Command Prompt for VS 2022":
c:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python>cl /LD /std:c++17 /EHsc /W3 /DBUILD_CBMP cbmp.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31332 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

cbmp.cpp
Microsoft (R) Incremental Linker Version 14.32.31332.0
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:cbmp.dll
/dll
/implib:cbmp.lib
cbmp.obj
   Creating library cbmp.lib and object cbmp.exp

Build Python for x86. Only the net46 version seemed to be build:
PS C:\Users\Sascha\Desktop\working_directory\ironpython3> .\make.ps1 -platform x86 debug

This gives some access violation. The code works with CPython and the DLL seems to be fine. I guess something in ctypes is broken in IronPython?!
Or what are the best/correct compiler parameters I should use to compile the DLL with? To match calling conventions, pointer sizes, et cetera?
PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python> ..\..\ironpython3\bin\Debug\net46\ipy32.exe .\test_cbmp.py

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at InteropInvoker(IntPtr , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object[] )
   at CallSite.Target(Closure , CallSite , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute10[T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)
   at Microsoft.Scripting.Interpreter.DynamicInstruction`11.Run(InterpretedFrame frame) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Interpreter\Instructions\DynamicInstructions.Generated.cs:line 352
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Interpreter\Interpreter.cs:line 91
   at Microsoft.Scripting.Interpreter.LightLambda.Run12[T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Interpreter\LightLambda.Generated.cs:line 506
   at CallSite.Target(Closure , CallSite , CodeContext , Object , Object , Object , Object , Object , Object , Object , Object , Object , Object )
   at Microsoft.Scripting.Interpreter.DynamicInstruction`12.Run(InterpretedFrame frame) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Interpreter\Instructions\DynamicInstructions.Generated.cs:line 377
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Interpreter\Interpreter.cs:line 91
   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Interpreter\LightLambda.Generated.cs:line 55
   at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\IronPython\Compiler\RuntimeScriptCode.cs:line 64
   at IronPython.Compiler.RuntimeScriptCode.Run(Scope scope) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\IronPython\Compiler\RuntimeScriptCode.cs:line 44
   at IronPython.Hosting.PythonCommandLine.RunFileWorker(String fileName) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\IronPython\Hosting\PythonCommandLine.cs:line 603
   at IronPython.Hosting.PythonCommandLine.RunFile(String fileName) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\IronPython\Hosting\PythonCommandLine.cs:line 558
   at Microsoft.Scripting.Hosting.Shell.CommandLine.Run() in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Hosting\Shell\CommandLine.cs:line 132
   at IronPython.Hosting.PythonCommandLine.Run() in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\IronPython\Hosting\PythonCommandLine.cs:line 113
   at Microsoft.Scripting.Hosting.Shell.CommandLine.Run(ScriptEngine engine, IConsole console, ConsoleOptions options) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Hosting\Shell\CommandLine.cs:line 100
   at Microsoft.Scripting.Hosting.Shell.ConsoleHost.RunCommandLine() in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Hosting\Shell\ConsoleHost.cs:line 384
   at Microsoft.Scripting.Hosting.Shell.ConsoleHost.ExecuteInternal() in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Hosting\Shell\ConsoleHost.cs:line 319
   at PythonConsoleHost.ExecuteInternal() in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\IronPythonConsole\Console.cs:line 165
   at Microsoft.Scripting.Hosting.Shell.ConsoleHost.Execute() in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Hosting\Shell\ConsoleHost.cs:line 297
   at Microsoft.Scripting.Hosting.Shell.ConsoleHost.Run(String[] args) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\DLR\Src\Microsoft.Dynamic\Hosting\Shell\ConsoleHost.cs:line 197
   at PythonConsoleHost.Main(String[] args) in C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\IronPythonConsole\Console.cs:line 199

Environment
PS C:\Users\Sascha\Desktop\working_directory\ironpython3> .\make.ps1 debug

Welcome to .NET 6.0!
---------------------
SDK Version: 6.0.302

PS C:\Users\Sascha\Desktop\working_directory\ironpython3> dotnet --info
.NET SDK (reflecting any global.json):
 Version:   6.0.302
 Commit:    c857713418

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19044
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\6.0.302\

global.json file:
  Not found

Host:
  Version:      6.0.7
  Architecture: x64
  Commit:       0ec02c8c96

.NET SDKs installed:
  6.0.302 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 6.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

PS C:\Users\Sascha\Desktop\working_directory\ironpython3> .\bin\Debug\net6.0\ipy.exe
IronPython 3.4.0b1 DEBUG (<IP_ADDRESS>0)
[.NETCoreApp,Version=v6.0 on .NET 6.0.7 (64-bit)] on win32
Type "help", "copyright", "credits" or "license" for more information.

PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python> ..\..\ironpython3\bin\Debug\net6.0\ipy.exe -m sysconfig
Platform: "win32"
Python version: "3.4"
Current installation scheme: "nt"

Paths:
        data = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        include = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Include"
        platinclude = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Include"
        platlib = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Lib\site-packages"
        platstdlib = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Lib"
        purelib = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Lib\site-packages"
        scripts = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Scripts"
        stdlib = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Lib"

Variables:
        BINDIR = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        BINLIBDEST = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Lib"
        EXE = ".exe"
        EXT_SUFFIX = ".pyd"
        INCLUDEPY = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Include"
        LIBDEST = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0\Lib"
        SO = ".pyd"
        VERSION = "34"
        abiflags = ""
        base = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        exec_prefix = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        implementation = "IronPython"
        implementation_lower = "ironpython"
        installed_base = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        installed_platbase = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        platbase = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        prefix = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        projectbase = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        py_version = "3.4.0b1"
        py_version_nodot = "34"
        py_version_short = "3.4"
        srcdir = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net6.0"
        userbase = "C:\Users\Sascha\AppData\Roaming\Python"

PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python> ..\..\ironpython3\bin\Debug\net46\ipy.exe
IronPython 3.4.0b1 DEBUG (<IP_ADDRESS>0)
[.NETFramework,Version=v4.6 on .NET Framework 4.8.4515.0 (64-bit)] on win32

PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python> ..\..\ironpython3\bin\Debug\net46\ipy.exe -m sysconfig
Platform: "win32"
Python version: "3.4"
Current installation scheme: "nt"

Paths:
        data = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        include = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Include"
        platinclude = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Include"
        platlib = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Lib\site-packages"
        platstdlib = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Lib"
        purelib = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Lib\site-packages"
        scripts = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Scripts"
        stdlib = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Lib"

Variables:
        BINDIR = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        BINLIBDEST = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Lib"
        EXE = ".exe"
        EXT_SUFFIX = ".pyd"
        INCLUDEPY = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Include"
        LIBDEST = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46\Lib"
        SO = ".pyd"
        VERSION = "34"
        abiflags = ""
        base = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        exec_prefix = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        implementation = "IronPython"
        implementation_lower = "ironpython"
        installed_base = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        installed_platbase = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        platbase = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        prefix = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        projectbase = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        py_version = "3.4.0b1"
        py_version_nodot = "34"
        py_version_short = "3.4"
        srcdir = "C:\Users\Sascha\Desktop\working_directory\ironpython3\bin\Debug\net46"
        userbase = "C:\Users\Sascha\AppData\Roaming\Python"

"x64 Native Tools Command Prompt for VS 2022"
c:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python>cl.exe
Microsoft (R) C/C++ Optimizing Compiler Version 19.32.31332 for x64

PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\using_cpp_libs_from_python> python3 -m sysconfig
Platform: "win-amd64"
Python version: "3.10"
Current installation scheme: "nt"

Paths:
        data = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0"
        include = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Include"
        platinclude = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Include"
        platlib = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Lib\site-packages"
        platstdlib = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Lib"
        purelib = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Lib\site-packages"
        scripts = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Scripts"
        stdlib = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Lib"

Variables:
        BINDIR = "C:\Users\Sascha\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0"
        BINLIBDEST = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Lib"
        EXE = ".exe"
        EXT_SUFFIX = ".cp310-win_amd64.pyd"
        INCLUDEPY = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Include"
        LIBDEST = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0\Lib"
        SO = ".cp310-win_amd64.pyd"
        TZPATH = ""
        VERSION = "310"
        abiflags = ""
        base = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0"
        exec_prefix = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0"
        installed_base = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0"
        installed_platbase = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0"
        platbase = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0"
        platlibdir = "lib"
        prefix = "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.1776.0_x64__qbz5n2kfra8p0"
        projectbase = "C:\Users\Sascha\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0"
        py_version = "3.10.6"
        py_version_nodot = "310"
        py_version_nodot_plat = "310"
        py_version_short = "3.10"
        srcdir = "C:\Users\Sascha\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0"
        userbase = "C:\Users\Sascha\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages"

The "simpel_example" from the project already give different results when using msvcrt.dll. So it is not a problem of my DLL.
The code uses pointers and memset
# Add 4 'O' to the string starting from position 6
p = ctypes.cast(ctypes.addressof(mut_str) + 5, ctypes.POINTER(ctypes.c_char))
libc.memset(p, ctypes.c_char(b"O"), 4)

# Print the modified string
libc.puts(mut_str)

The expected result (which is produced by CPython) is XXXXXOOOO. IronPython does not write to the correct memory.
PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\simple_example> $Env:IRONPYTHONPATH="C:\Users\Sascha\Desktop\working_directory\ironpython3\Src\StdLib\Lib"
PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\simple_example> ..\..\ironpython3\bin\Release\net6.0\ipy.exe .\t0.py
Succesfully loaded the system C library from "C:\Windows\system32\msvcrt.dll"
Hello from Python to C
Using the C printf function from Python ...
XXXXX
XXXXX
PS C:\Users\Sascha\Desktop\working_directory\Python-using-C-CPP-libraries-with-ctypes\simple_example> python .\t0.py
Succesfully loaded the system C library from "C:\Windows\system32\msvcrt.dll"
Hello from Python to C
Using the C printf function from Python ...
XXXXX
XXXXXOOOO

The problem also exists on macOS
➜  simple_example git:(master) ~/Dev/ironpython3/bin/Debug/net6.0/ipy t0.py
Succesfully loaded the system C library from "/usr/lib/libc.dylib"
Hello from Python to C
Using the C printf function from Python ...
XXXXX
XXXXX
➜  simple_example git:(master) python3.10 t0.py
Succesfully loaded the system C library from "/usr/lib/libc.dylib"
Hello from Python to C
Using the C printf function from Python ...
XXXXX
XXXXXOOOO
➜  simple_example git:(master) sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15.7
BuildVersion:	19H2026```

At least this code does something expected (on macOS):
import ctypes, ctypes.util
path_libc = ctypes.util.find_library("c")
libc = ctypes.CDLL(path_libc)

x = ctypes.create_string_buffer(10)
z = libc.memset(x, ctypes.c_char(b'X'), 5)

p = ctypes.addressof(x) + 5
# p = ctypes.cast(p, ctypes.POINTER(ctypes.c_char))  # This does break it

libc.memset.argtypes = [ctypes.c_void_p, ctypes.c_char, ctypes.c_long]  # This is necessary
z = libc.memset(p, ctypes.c_char(b'O'), 4)
libc.puts(x)

XXXXXOOOO
10

No idea if it's related, but the simple example issue reminds me of the following (from https://github.com/IronLanguages/ironpython2/issues/653)
import ctypes

class POINT(ctypes.Structure):
    _fields_ = [('x', ctypes.c_long), ('y', ctypes.c_long)]

buf = ctypes.create_string_buffer(ctypes.sizeof(POINT))
ptr = ctypes.cast(buf, ctypes.POINTER(POINT))

ctypes.windll.user32.GetCursorPos(ptr)

print(ptr.contents.x, ptr.contents.y)

If I tweak it to not pass the pointer to the function then it seems to work:
import ctypes

class POINT(ctypes.Structure):
    _fields_ = [('x', ctypes.c_long), ('y', ctypes.c_long)]

buf = ctypes.create_string_buffer(ctypes.sizeof(POINT))
ptr = ctypes.cast(buf, ctypes.POINTER(POINT))

ctypes.windll.user32.GetCursorPos.argtypes = [ctypes.c_void_p]
ctypes.windll.user32.GetCursorPos(ctypes.addressof(buf))

print(ptr.contents.x, ptr.contents.y)

I have a vague recollection that the issue might have been that it was passing the address of the pointer instead of the value of the pointer to the function - but it was a few years ago that I looked at it so I could be wrong. Unfortunately I never came up with a solution.


Yes it does, if you mean with 2D-3D projection data to volume. Please see the parameter files here: http://elastix.bigr.nl/wiki/index.php/Par0013

Yes it does, if you mean with 2D-3D projection data to volume. Please see the parameter files here: http://elastix.bigr.nl/wiki/index.php/Par0013
Originally posted by @mstaring in https://github.com/SuperElastix/elastix/issues/208#issuecomment-559545223
Hai, the website you gave cannot be accessed. What should I do?

I think it was a temporary fluke


forEachFeatureAtPixel() fails to detect feature by alternate geometries (rendered from styles)

forEachFeatureAtPixel() might fail feature detection when pixel belongs to another geometry - not defined by geometry name, but rendered specifically using styles.
In the example below camera (feature) primary geometry is point type while it's visibility cone is polygon type. It was mostly a decoration in the past but I want to make it interactive now. The red area indicates where forEachFeatureAtPixel() successfully works. It appears that extent from primary geometry (extended by some pixel value?) plays major role on feature detection area.
ol v3.12.1

Can you check if this is not related to the renderBuffer setting, see https://github.com/openlayers/ol3/issues/5029#issuecomment-196232162?

@tsauerwein
They are similar, because they are related to renderBuffer.
The problem here relates more to handling multiple geometries on same ol.Feature - only "primary" geometry buffer is taken into consideration on detection. If those geoms were placed on separate feature instances there would be no issue.

The problem here relates more to handling multiple geometries on same ol.Feature - only "primary" geometry buffer is taken into consideration on detection.

True, the hit-detection only checks features inside the feature source that intersect with a bbox of 100px (or the value you have set with renderBuffer) around the position. Geometries that are created inside style functions are not considered.

ps I have workaround my case in a ugly way - because changing polygon to primary would break to many things in my code I'm copying extent value from polygon to point. ;)

You could also use a multi-geometries in your feature source that each contain the point and the polygon.


Custom css class for tooltip

It would be great to customize the tooltip with a custom css class.

+1

+1
This is fairly important so that you can create tooltips for different reasons and leave it up to the user to define the style overrides.

+1

+1

+1

+1

+1

+1

+1

+1

+1

+1.  I'm currently customizing the inner ui-boostrap popover content by using a uib-popover-template. A custom css class would make this much easier.  Additionally, a separate custom class would be useful for customizing the overall popover css on an as-needed basis.

+1.
still no plans to allow this?

Please refrain from adding only +1 to issues as it adds no intrinsic value to the discussion and serves to only clutter up the thread.

I guess that's is fundamentally debatable. Is there another forum or way to
ask if anyone is working in this or call for attention to this missing
piece?
regards
David Vaassen
Managing Director
E-see International Limited
4 Devon Lane  |  Devonport  | Auckland 0624 | NZ
T:  +64 9 44 66 22 5  |  M: +64 21 648 962  |  E<EMAIL_ADDRESS>LinkedIn: nz.linkedin.com/in/davidvaassen | Twitter: davidvaassen  |
Skype: david.vaassen
e-see® Brand File Manager > The easiest way to manage and share your brand
and marketing assets > www.e-see.com http://www.e-see.com
..........................................................................................................................................
This message (including any attachments) contains information that may
be confidential and/or privileged. It is intended only for the person(s) to
whom it is addressed.
On 13 July 2016 at 11:20, Adam Gordon<EMAIL_ADDRESS>wrote:

Please refrain from adding only +1 to issues as it adds no intrinsic
value to the discussion and serves to only clutter up the thread.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/angular-ui/bootstrap/issues/1976#issuecomment-232210863,
or mute the thread
https://github.com/notifications/unsubscribe/AADWS_6WhsL5msoJDivwQen8bcUzvhsWks5qVCE6gaJpZM4BsMnw
.


latest ventura update 13.2.1 error

just updated battery to latest version 1.0.8 after updating my macos and i get error: Error battery limiter: undefined.
i just let my battery drain down to 14% set the limit at 80% and its now charging (i hope up to 80%).
m1 pro user here.

Please use the issue template.


Publish new release on pypi

Could you please publish a new release on pypi? (Perhaps add it to the workflow)
I'm using https://github.com/rndmh3ro/antsichaut-action/ in a workflow, since it's installing antsichaut from pip it's missing #3 and #4

Done. https://pypi.org/project/antsichaut/
I need to automate this.


How to set encryption algorithm/key/checksum in track2? Customer Provided Key

Query/Question
In legacy sdk, we used to do this as a workaround to encrypt the object with a customer provided key and also the chosen algorithm by the customer along with a checksum.
azure::storage::operation_context context;
context.user_headers().add(_XPLATSTR("x-ms-encryption-algorithm"), _XPLATSTR(sseinfo->getSSEAlgo()));
context.user_headers().add(_XPLATSTR("x-ms-encryption-key"), _XPLATSTR(sseinfo->getCPEKKey()));
context.user_headers().add(_XPLATSTR("x-ms-encryption-key-sha256"), _XPLATSTR(sseinfo->getCPEKChecksum()));

Do we have a more direct API options to set those now in track2?
Why is this not a Bug or a feature Request?
A clear explanation of why is this not a bug or a feature request?
Setup (please complete the following information if applicable):

OS: [e.g. iOS] SLES15SP4
IDE : [e.g. IntelliJ]
Version of the Library used
latest

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ ] Query Added
[ ] Setup information Added

Hi @yxiang92128 , there a field CustomerProvidedKey in BlobClientOptions. You set this field and create a client with it, all requests sent from this client will have these headers applied.
@microzchang Can you share a code sample for this scenario?

Hi @yxiang92128 , Here is a code sample for this scenario, FYI.
    // create container client with CPK
    Blobs::EncryptionKey key; // CPK
    Blobs::BlobClientOptions options;
    options.CustomerProvidedKey = key;
    auto containerClient = Azure::Storage::Blobs::BlobContainerClient::CreateFromConnectionString(
        StandardStorageConnectionString(), m_containerName, options);
    containerClient.GetProperties();

    //create blob using CPK
    std::vector<uint8_t> blobContent(512);
    Azure::Core::IO::MemoryBodyStream bodyStream(blobContent.data(), blobContent.size());
    std::string blockBlobName = "test1" ;
    auto blockBlobClient = containerClient.GetBlockBlobClient(blockBlobName);
    bodyStream.Rewind();
    blockBlobClient.Upload(bodyStream);
    std::string blockId1 = Base64EncodeText("1");
    blockBlobClient.CommitBlockList({blockId1});

There are three fields in EncryptionKey, corresponding to those HTTP headers.
Currently only AES-256 is supported.

I wonder why this EncryptionKey is being set at ClientOption level for the BlobContainerClient.  If I were to reuse the client, the encryption key will stay in effect throughout its lifetime; however if there are certain object(s) I don't want to apply the CPEK on, I don't see a workaround but to create a new client.  I think it might be more appropriate to apply the CPEK at the context level just as the legacy SDK does.  Can you guys comment?

@yxiang92128  this is by-design in Track2 SDK. You want to use a new CPEK, you'll have to create a new client.
Note that you don't have to create BlobContainerClient then all the way down to a blob client. BlobClient also takes ClientOptions as parameter.

Can you add an API to update the CustomerProvidedKey (internal field m_customerProvidedKey) for the Client?   Our application creates and uses a BlobContainerClient handle to create blob on the go and each blob could be supplied with different keys.

Can you add an API to update the CustomerProvidedKey (internal field m_customerProvidedKey) for the Client? Our application creates and uses a BlobContainerClient handle to create blob on the go and each blob could be supplied with different keys. A significant rewrite of our code is required if we need to create a BlobClient on each request; I am not sure about the performance impact either.

Adding a new API would be challenging. Unlike legacy SDK, v12 SDK has consistent API interface across all language storage SDKs. If .Net v12 SDK or java/python/js v12 SDK doesn't have such an API, it's hard to justify it in C++.
Can you elaborate on why creating a new blob client from constructor for each blob doesn't work for your scenario?


Failed to enable unit, "multi-user.target[Unit]" is not a valid unit name.

OS: MX Linux 21 KFCE
Keyboard: Keychron K8
Reproduction:

Step 1 & Step 2

Ctrl +O, Enter, Ctrl+ X
systemctl enable keychron

When using systemctl start keychron

Manually changed the values to 0 in /etc/modprobe.d/hid_apple.conf and it works now.

This also works echo "options hid_apple fnmode=0" | sudo tee -a /etc/modprobe.d/hid_apple.conf


fix exceptions.

Summary
I have encountered exceptions when using the Nuget packages for WPF, fixed it in your code and now I offer you the fixes.
Solves
Core/ChartValues.cs
Had source as an array of 6000 item, when the last one (5999) was null.
It is probably a synchronization problem. This is a work around.
Core/Helpers/NoisyCollection.cs
in CopyTo method that was called from a .ToArray() got the following error:
array (length 5998) was smaller than source (length 6000).
My guess is that during the .ToArray() items where added - resulting in a mismatch of the array length.
Thus, if I am correct, it's also a synchronization problem.
So, I added locks and this error didn't return.

Hi, any lick with this? sorry for the late response, I am facing this issue now, did this helped you some how?

locking the collections seems to be working for me

Hi beto,
It sound impossible, but locking all the methods affecting _source in NoisyCollection didn't entirely solve the problem.
This is why I canceled this pull request, and I didn't have the time to dig dipper.
I am glad you are aware of the bug :).

This is already solved and will be included in the next version of the library 0.9.3, #336, thanks for the PR it helped me to fix it faster.


The app references non-public selectors - Unable to upload app

Description
We are using version 10.4.0 and get the error while uploading to AppStore:
"The app references non-public selectors in Payload/{app_name}.app/{app_name}: determineAppInstallationAttributionWithCompletionHandler:, lookupAdConversionDetails:"
Reproducing the issue
No response
Firebase SDK Version
10.4.1
Xcode Version
14.2
Installation Method
Swift Package Manager
Firebase Product(s)
Analytics, App Distribution, Crashlytics
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

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

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

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

@aparnaredbus Thanks for the report. Apple occasionally changes its submission criteria causing issue like this.
Those are symbols from the legacy Google Analytics product and not in Firebase.
Are you using the legacy Google Analytics or Google Tag Manager?

If you are using Google Tag Manager, please upgrade to v7.4.3.

I just got this today after updating from Firebase 8.16.0 to 10.4.0. These are my dependencies:

I'm going to try to submit for review anyways. Not sure if it will go through or not.

Still getting this warning with SDK version 10.5.0. Would like to have it resolved but fortunately it does not seem to prevent app approval.

@willbattel As pointed out above, we addressed this issue in GoogleTagManager 7.4.3.
If you're seeing it in Firebase, please open another issue with the details.

As mentioned in my comment above, we're not using GoogleTagManager (at least not directly, and it doesn't appear in our dependencies either). This issue started happening after we upgraded Firebase from 8.15.0 to 10.4.0. I'd be happy to open a new issue but it seemed like the OP of this issue was also not using GoogleTagManager, and that I was seeing the same problem, but perhaps I am misunderstanding.

Here's an example of using the nm tool to check if a symbol is in the SPM checkout of a particular binary library:
~/Library/Developer/Xcode/DerivedData/ABTestingExample-gxybhvsgstennrbcutwsunxiezzv/SourcePackages/artifacts/firebase-ios-sdk/FirebaseAnalytics.xcframework/ios-arm64_armv7/FirebaseAnalytics.framework  $ nm FirebaseAnalytics | grep maxUserProperties
00000952 t -[FIRAnalytics maxUserPropertiesForOrigin:queue:callback:]
00000994 t -[FIRAnalyticsConnector maxUserProperties:]
00000b48 t ___43-[FIRAnalyticsConnector maxUserProperties:]_block_invoke
00000000000009f8 t -[FIRAnalytics maxUserPropertiesForOrigin:queue:callback:]
0000000000000b54 t -[FIRAnalyticsConnector maxUserProperties:]
0000000000000cb8 t ___43-[FIRAnalyticsConnector maxUserProperties:]_block_invoke


dbadmin: improve failure modes & error handling

Codecov Report

Merging #22 into master will decrease coverage by 0%.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           master    #22   +/-   ##
=====================================
- Coverage       8%     8%   -1%
=====================================
  Files          91     91
  Lines        5146   5166   +20
=====================================
  Hits          422    422
- Misses       4715   4735   +20
  Partials        9      9

Impacted Files
Coverage Δ

cmd/dbadmin/handler/auth.go
0% <0%> (ø)

cmd/dbadmin/handler/credential.go
0% <0%> (ø)

cmd/dbadmin/handler/developerapp.go
0% <0%> (ø)

cmd/dbadmin/handler/handler.go
0% <ø> (ø)

cmd/dbadmin/handler/role.go
0% <0%> (ø)

cmd/dbadmin/handler/statuspage.go
0% <0%> (ø)

cmd/dbadmin/handler/user.go
0% <0%> (ø)

cmd/dbadmin/service/apiproduct.go
0% <0%> (ø)

cmd/dbadmin/service/cluster.go
0% <0%> (ø)

cmd/dbadmin/service/credential.go
0% <0%> (ø)

... and 10 more

Continue to review full report at Codecov.

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


Fast sampling from posterior. Fast (approximate?) posterior_samples_f

Hello! I want to model a rather big sized problem with Gaussian Processes.
1. The process is multi-output with ~100 outputs.
2. I have somewhere around 50000 data points.
3. I want to generate samples of my multi-output GP on a grid of size ~500x500.
I know that SparseGPRegression should help with "2".
For "3" I know only posterior_samples_f and it won't work on a problem this big (it is O(N^3) for N=500*500*100>10^7 for me).
Are there any posterior sampling approximations that could help? I would really appreciate it if somebody could point to where something like this is implemeted in GPy or give links to the literature (papers) on the subject so I could implement this myself.

Me and my colleagues wrote a paper on this problem https://arxiv.org/abs/2002.09309 (to appear in the proceedings of ICML 2020). Though only the single-output case is discussed there, the approach generalizes easily to the multi-output case. The code for GPFlow is available here and the Julia package is available here. We haven't made the code for GPy, however it should be easy to develop given the existence of the GPFlow version. With this, I close the issue.


added car game

please add hacktoberfest and hacktoberfest accepted tag and merge my pull request

Please reference the related issue(#149) in the PR too.

changes applied,
issue resolved-
#149


Add implementation for InventoryMock: getMaxStackSize and setMaxStackSize

Description

Add implementation for InventoryMock.getMaxStackSize
Add implementation for InventoryMock.setMaxStackSize
Modify InventoryMock.addItem to use new maxStackSize field

Checklist
The following items should be checked before the pull request can be merged.

[X] Version number updated in settings.gradle and Readme.md.
[X] Unit tests added.
[X] Code follows existing code format.

Info on creating a pull request
Before the pull request can be accepted, the version number stored in settings.gradle should be updated.
MockBukkit uses semantic-versioning (https://semver.org/)

If the PR fixes a bug in MockBukkit, update the patch version. (if the current version is 0.4.1, the new version should be 0.4.2)
If the PR adds a new feature to MockBukkit, update minor version. (if the current version is 0.4.1, the new version should be 0.5.0)
Make sure that unit tests are added which test the relevant changes.
Make sure that the changes follow the existing code format.

Note that a PR that fixes an UnimplementedOperationException should be considered a new version and not a bugfix.
The version number can be found in settings.gradle.

Can I get some action on this?

You've approved the PR but it still says "Merging can be performed automatically once the requested changes are addressed", and points to a conversation that's already been resolved. Do you know what the deal is with this? I'm less familiar with GitHub


The blue USB Type A port on the front of the NUC is USB 3.0？

https://osy.gitbook.io/hac-mini-guide/post-installation/support#usb-disconnected-on-sleep-wakeup
I can found the document of nuc8i7hvk 2.2.1 said the blue one is USB 3.1 gen2

Yeah it’s 3.1 but it’s alright to refer to 3.1 ports as 3.0.


Encoded videos playback black screen

I imagine this is perhaps an issue with ffmpeg more so than automator itself but I figured this would be a good place to start.
Ive noticed with a lot of my downloads, they download, reencode with automator, and then show up in Sonarr fine. When I go to play them back in Plex they show up as a black screen and no audio at all.
Ive noticed that depending on the originating file will determine if the reecode actually results in a file with video and audio. Any ideas?

UPDATE
I went back through the ffmpeg compilation guide and this time i actually compiled all of the requirements rather than using the repo options. This seems to have fixed my issue. Does that make sense?

I had similar issues and turned off the ios audio option and that seems to have fixed the playback errors i was getting with plex after encoding.  I think it's related to the AAC audio issue a few people have been reporting? Only processed a few files since so can't say for sure but haven't run into issues in the last few days.

I personally use Plex for all my media and use the iOS audio option with all my stuff
Essentially the default settings for the script are based on my own personal setup that I use for direct play with plex and have no issues
I think your experience is probably related to an anomaly in the particular build of FFMPEG you were using. Having multiple audio tracks should not negatively impact playback

On Oct 21, 2016, at 10:19 PM, LastStarFighter<EMAIL_ADDRESS>wrote:
I had similar issues and turned off the ios audio option and that seems to have fixed the playback errors i was getting with plex after encoding. I think it's related to the AAC audio issue a few people have been reporting? Only processed a few files since so can't say for sure but haven't run into issues in the last few days.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/580#issuecomment-255501634, or mute the thread https://github.com/notifications/unsubscribe-auth/ADcO6pddXYhznwRPNvdGz8BebYvGpxg9ks5q2XKygaJpZM4Kdsu_.

That could be the case since I do tend to update my ffmpeg build regularly.
I'll run some tests and see if a older build of ffmpeg gives me the same
issues. Thanks!
On Oct 25, 2016 11:21 AM, "Michael Higgins"<EMAIL_ADDRESS>wrote:
I personally use Plex for all my media and use the iOS audio option with
all my stuff
Essentially the default settings for the script are based on my own
personal setup that I use for direct play with plex and have no issues
I think your experience is probably related to an anomaly in the particular
build of FFMPEG you were using. Having multiple audio tracks should not
negatively impact playback

On Oct 21, 2016, at 10:19 PM, LastStarFighter<EMAIL_ADDRESS>wrote:
I had similar issues and turned off the ios audio option and that seems
to have fixed the playback errors i was getting with plex after encoding. I
think it's related to the AAC audio issue a few people have been reporting?
Only processed a few files since so can't say for sure but haven't run into
issues in the last few days.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <
https://github.com/mdhiggins/sickbeard_mp4_automator/
issues/580#issuecomment-255501634>, or mute the thread <https://github.com/
notifications/unsubscribe-auth/ADcO6pddXYhznwRPNvdGz8BebYvGpx
g9ks5q2XKygaJpZM4Kdsu_>.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mdhiggins/sickbeard_mp4_automator/issues/580#issuecomment-256122157,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANOARWb8Pte6uRqEL7-zLY4LM0RsWX8cks5q3kixgaJpZM4Kdsu_
.

I noticed that this is still happening. No idea why