ImportError: No module named 'cell_workers'`

Expected Behavior
hello, i have this error on windows 10 anyone can help me please ?
C:\Users\Nathan\Downloads\PokemonGo-Bot>python pokecli.py Traceback (most recent call last):   File "pokecli.py", line 41, in <module>     from pokemongo_bot import PokemonGoBot, TreeConfigBuilder   File "C:\Users\Nathan\Downloads\PokemonGo-Bot\pokemongo_bot\__init__.py", line 17, in <module>     import cell_workers ImportError: No module named 'cell_workers'
Other Information
OS: Windows 10 64Bits

did you pip install in virtualenv?

yes

have you made sure to be inside the virtual env by activating?

I believe this problem is from Python 3 where implicit import is turned off completely. One solution is to use Python 2 instead. Another one would be to fix every single import to use the from .. import .. form. I don't think I have the time to submit a pull request today.

Already posted #2700


Final output annotation

Hi @sagnikbanerjee15
Finder is a pretty useful program.
Can you please add --keep-gene-names in when running gffread?
Otherwise, annotations of genes are missing.
Thanks

Hi @ZuyaoLiu,
Thank you for your interest in finder. Absolutely, I will incorporate this in our next release. Please stay tuned, we will make quite a few alterations.
Thank you.


Removal of text relating to fail verdict

Section 1.2 para 8
“To reach a ‘fail’ verdict for the Assurance Component when these Evaluation Activities have been successfully completed would require a specific justification from the evaluator as to why the Evaluation Activities were not sufficient for that TOE.”
Consider removing this text.

Offending text removed.
Fixed in editorial-SD-Fixes-v3_0

Issues resolved with PR #209


Part 1, Step 2 2_refineDNN.py for no GPU Scenario fails

Hi,
I'm new to AML Workbench, so I might be doing something wrong.  In following the listed steps on a PC without a GPU, in Part 1, Step 2, on running script 2_refineDNN.py, the step fails with error:
PARAMETERS: datasetName = fashionTexture
Directory used to read and write model/image files: C:\Users\brain/Desktop/imgClassificationUsingCntk_data/
One-time download of pretrained ResNet_18.model DNN from https://www.cntk.ai/Models/CNTK_Pretrained/ResNet18_ImageNet_CNTK.model (this can take between 5-20 minutes)...
Statistics training data:
Label dotted    (0) has   84 training examples.
Label striped   (1) has  115 training examples.
Label leopard   (2) has   68 training examples.
WARNING: using CPU for CNTK training/scoring.
Traceback (most recent call last):
File "C:\Users\brain\AppData\local\AmlWorkbench\Python\lib\site-packages\azureml\logging_exec_wrapper.py", line 166, in execute
raise exc
File "C:\Users\brain\AppData\local\AmlWorkbench\Python\lib\site-packages\azureml\logging_exec_wrapper.py", line 164, in execute
run_name="main")
File "C:\Users\brain\AppData\local\AmlWorkbench\Python\lib\runpy.py", line 254, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\brain\AppData\local\AmlWorkbench\Python\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\brain\AppData\local\AmlWorkbench\Python\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "scripts/2_refineDNN.py", line 58, in
printDeviceType(boGpuRequired = True)
File "libraries\helpers_cntk.py", line 27, in printDeviceType
raise Exception("Cannot find GPU or GPU is already locked.")
Exception: Cannot find GPU or GPU is already locked.
I went into the script, and changed the line to:
printDeviceType(boGpuRequired = False)
and was able to run the script successfully.  I'm not sure if you need to make a change, or my workaround was the wrong thing to do.
Thanks,
Sohrab

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

ID: c66347d2-1537-5a87-2cf4-5e6d9a0e3ad4
Version Independent ID: 711fdff8-894e-b451-a50b-6069edf5d2c5
Content: Image Classification using CNTK inside Azure Machine Learning Workbench
Content Source: articles/machine-learning/preview/scenario-image-classification-using-cntk.md
Service: machine-learning
GitHub Login: @PatrickBue
Microsoft Alias: pabuehle

@scrampy Thanks for the feedback! We are currently investigating and will update you shortly.

@scrampy Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@PatrickBue Hi, this is a issue around Part 1 , step 2, can you please check it and update the document as necessary? Thanks a lot!

Hi, this is a valid work-around, and thanks for reporting. However, training on CPU is so much slower compared to GPU that for many datasets it is just not feasible. Hence the GPU requirement.

#please-close

So...any advice as to have it compatible with GPU? I have this same issue...I don't know why this thread was closed when the root of the issue was not solved...

So...any advice as to have it compatible with GPU? I have this same issue...I don't know why this thread was closed when the root of the issue was not solved...


Tasks

With the new feature for tasks "Task Link" (solved the link to the origin of the task), adding the feature to not group tasks by file/source it would be helpful.
In that scenario it would be possible to sort and group tasks by others conditions. Or just a clean sorted list of tasks, ungrouped.

As far as I can tell, no grouping is the default now. Can this be closed?

You're right. I'll close it.
Thanks

From version 0.5.0 there's no default file grouping in tasks queries.


Switch over to using pachyderm-sdk over python-pachyderm in jupyter extension

INT-1119

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kevin Yang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


⚠ Samsung has degraded performance

In 2d4b959, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2620 ms

Resolved: Samsung performance has improved in f9b9439.


Feature Request: lowercase all hex values (and possibly other attribute values?)

Reasons:

Gzipping is more efficient with consistent, repeated character case.
There are some browser bugs in which uppercase attribute values throw errors.
All lowercase is a strong convention for most markup and css.
It would make find-and-replace operations consistent.

Well, all these reasons are debatable, but as an option it may be.

Well, there's no debate about gzipping. Compressors get more string matches when case is consistent. Some data:
http://www.websiteoptimization.com/speed/tweak/lowercase/
And in terms of the overall web ecosystem the bias seems to be strongly towards lower case. If you disagree or have conflicting data on this I'd love to see it. I can't find a single CSS styleguide on the web that recommends upper case anything.

Sure, but most values are in lowercase already. Will it give any significant profit? 7-zip or zopfli can give much more. That's why I say it debatable.

Thanks for reporting the issue.
The specific scenario presented here regarding hex colors has been addressed in https://github.com/svg/svgo/pull/1692 and is already in the latest release.
I have not acted on the proposed browser bug for spreadMethod for now, as I see nothing suggesting PAD in uppercase is an acceptable value, and converting an invalid value to a valid one would be a breaking/visible change in the SVG.
If you have any concrete examples of safe case conversions we can do, feel free to open issues, and we can look into them. As the issue as it is written now is fairly open-ended, I'll take it more as a consideration maintainers must have in future rather than something to act on immediately.


[Question] Benefit of Result Storage when running imagor behind a CDN

If I deploy imagor behind a CDN, is there any benefit of configuring Result Storage? My expectation is that subsequent requests for the same URL will have been cached by the CDN, and so the request won't even make it to the imagor service.
I am new to image serving infrastructure, so apologies for the basic question.

Result Storage is kinda the equivalent of caching, so yes a CDN would be more well suited for caching the processed image.
However some people had wanted to retrieve the processed image files, where Result Storage comes in handy other than caching. So Result Storage is just one of the option, and the benefits really depends on the use case.

Hi @cshum , thank you for the response, that all makes sense. Does writing to Result Storage impact latency for the first requester of an asset, or does it happen in the background?

Hope you don't mind me high jacking this question, but mine is of a similar thread.
I'm considering moving away from thumbor and saw this project. The only question i have is if you support Redis for the result storage, or if you have plans to add it in the future?

Hi @steve-marmalade
I would like to give my opinion regarding your first question. In my perspective, the ResultStorage is quite useful, and I'm using imagor behind the CDN. Imagine the scenario where you have a multi-layer processing for the images. Eg: image with 5 watermarks
So, filters(watermark:...) of a filters(watermark:...)
At some point, it fails. Unfortunately, I do not remember exactly all the issues I faced. I think one was related to not being able to have multiple parameters or something like this. The other one was related to the S3 limiting it (https://github.com/cshum/imagor/issues/153)
Another benefit I see on the ResultStorage is that it looks for the images on the bucket, so we do not necessarily need to have quite long URLs. So, instead watermark(https://full-url/image.jpg) you can have /image.jpg
Regarding perfomance, I don't think it has any impact.
https://github.com/cshum/imagor/blob/c11b178d4544ed1cd2870fd33fe57a39840dc1a9/imagor.go#L423-L425C4
https://github.com/cshum/imagor/blob/c11b178d4544ed1cd2870fd33fe57a39840dc1a9/imagor.go#L444-L460
Did you try to run it without setting the ResultStorage? Unless it is required, I do not really think it has an impact there.

@kiithwarrior
The CDN would do a better job IMHO.
If for some reason you cannot use a CDN, I think one option is to proxy imagor, and if the request is sucessful you can know the name of the ResultStorage filename. I'm doing something similar
PHP example:
private const PATH_REGEX =
        '\/*' .
        // meta
        '(meta\/)?' .
        // trim
        '(trim(:(top-left|bottom-right))?(:(\\d+))?\/)?' .
        // crop
        '(((0?\\.)?\\d+)x((0?\\.)?\\d+):(([0-1]?\\.)?\\d+)x(([0-1]?\\.)?\\d+)\/)?' .
        // fit-in
        '(fit-in\/)?' .
        // stretch
        '(stretch\/)?' .
        // dimensions
        '((\\-?)(\\d*)x(\\-?)(\\d*)\/)?' .
        // paddings
        '((\\d+)x(\\d+)(:(\\d+)x(\\d+))?\/)?' .
        // h_align
        '((left|right|center)\/)?' .
        // v_align
        '((top|bottom|middle)\/)?' .
        // smart
        '(smart\/)?' .
        // filters
        '(filters:(.+?\\))\/)?' .
        // image
        // '(.+)?'
        '(?P<imagePath>.+)?'
    ;

// We need to get the Imagor secret and create the suffix which is generated by imagor when creating images
// eg: /path/original.{suffix}.extension
$path = $uri->getPath();

$digest = sha1(ltrim($path, '/'));
$hash = substr($digest, 0, 20);

$endpoint = $this->concatenateUriParts(
            ...,
            ...,
            $this->createSuffixedImagePathHash($path, $hash),
        );

function createSuffixedImagePathHash(string $path, string $hash): string
    {
        $imagePath = $this->getImagePathFromPath($path);

        $fileExtension = pathinfo($imagePath, PATHINFO_EXTENSION);
        if ($fileExtension === '') {
            return sprintf('%s.%s', $imagePath, $hash);
        }

        $dotIdx = strrpos($imagePath, sprintf('.%s', $fileExtension));
        $filenameWithoutExtension = substr($imagePath, 0, $dotIdx);

        // In case there is a format filter, we should look over it as the extension of the file changes
        $pattern = "/.*format\((.*?)\)/";
        preg_match($pattern, $path, $output);

        if (!empty($output[1]) && $output[1] !== '') {
            $fileExtension = $output[1];
        }

        return sprintf(
            '%s.%s.%s',
            $filenameWithoutExtension,
            $hash,
            $fileExtension
        );
    }

function getImagePathFromPath(string $path): string
    {
        preg_match('/' . self::PATH_REGEX . '/', $path, $matchedValues);
        if (key_exists('imagePath', $matchedValues) && $matchedValues['imagePath'] !== '') {
            return $matchedValues['imagePath'];
        }

        return $path;
    }

Thanks for the thoughtful response @jvahldick . We have been using RESULT_STORAGE and I agree that it is useful even when serving behind a CDN, for many of the reasons you've mentioned. I'll close this issue.


Describe how ng-wedge works in a blog post

@bahmutov Looks like it's done already in http://glebbahmutov.com/blog/drive-wedge-into-your-angular-app/ :)
Thank you!


Multithreaded optimisation

The current multithreaded checker performs pretty poorly. Checking tests/long-running2/model.m on a sample platform with 4 threads:

single threaded, unoptimised: 64 seconds
4 threads, unoptimised: 348 seconds
single threaded, optimised: 8 seconds
4 threads, optimised: 314 seconds

This is not surprising as I expected the initial implementation to be pretty terrible. The multithreaded checker uses a single mutex-protected queue and a single mutex-protected seen set. Execution is completely dominated by contention on these two mutexes.
For the queue, one possibility would be to switch to per-thread, mutex-protected queues with work stealing. A second option would be a multi-headed, lock-free queue. The multithreaded checker does not need to pop the queued states in any particular order, which gives us a lot of freedom.
For the seen set, it should be possible to implement a thread-safe, lock-free set.

In the current tip (90d134725e7c8b908012a9539e269b75a8b1d5fe) on the same 4 thread platform we get 1164 seconds for checking long-running2, with pretty high utilisation across all threads. Using a single mutex-protected set (96703a3970b6ac845dae443f89f5a16bfbc24527) gives us 361 seconds with lower utilisation (typically only 2 threads). I suspect the latter is due to a superior hash set implementation; i.e. doing less work.
Obviously both of these results are pretty poor. We need to come up with a better algorithm here.

Another data point... as of fc6f7074e906a1ce36b5d6c2d8ca59c4b5ba0fd3 we can comfortably beat CMurphi on long-running2 with a 4GB state set:

CMurphi -m 4096: 38 seconds
Rumur --threads=1 --set-capacity=4294967296: 22 seconds
Rumur --threads=4 --set-capacity=4294967296: 39 seconds

It's not strictly an apples-to-apples comparison here:

We haven't implemented the "undefined" semantics yet.
CMurphi's using a fixed size queue, while we're using a dynamic one.

Our multithreaded implementation is still pretty naive. I believe we could go significantly faster here. In particular for this model we could probably use something like double-checked locking with cmpxchg on the state set entries given they are <128 bits.

Interestingly, the latest results from the C checker in branch "c-checker2" (commit f67cf8c8f3cbdda2dac63d790ec51aa597b5af02) are more in line with the results prior to implementing static allocation (the 1164 seconds and 361 seconds quoted above). The figure for the C checker is around 453 seconds. This is with a single thread and none of the optimisation tricks we've played in the C++ checker. My hope is that once we implement multithreading, the C checker will beat the C++ checker on this trivial example and easily trounce it on more complicated models.

As noted in 5637524b6beba60829ad8b45aea0d52e170ee6c8, we hit 79 seconds in "c-checker2" now. Although this is still not beating the C++ checker, this looks like a promising approach for multithreaded scalability.

We comfortably outperform CMurphi and have done so for some time. Closing as done.


Store execution status for a block

We should know what the status of the execution layer is for a Block. Possible statuses: Valid, Invalid, Optimistic.
Also, when querying a block through the Beacon Api, we should return the appropriate execution_optimistic flag.

Hey @mpaulucci status is returning "VALID" | "INVALID" | "SYNCING" | "ACCEPTED" | "INVALID_BLOCK_HASH" in most of the cases are you sure optimistic flag returns in status been reading the specs but couldn't find the related field

We don't need to store the execution status, we can derive it


fix for LlmChain OutputKey.

The result of CallAsync was always contaning only ["text"] key, ignoring OutputKey. This was causing an error when used with SequentialChain.
To reproduce try to run SequentialChain example.

Thank you very much for noticing and sending PR! I'll release this now


Add mempool request

I added GetMempool function that sends an 'mempool' request.
the answer will come in 'inv' message.

So to move to this repo for p2p networking?


Uncaught RangeError: Maximum call stack size exceeded

CSS file of 3500 lines of code
Atom Version: 1.8.0
System: Ubuntu 14.04.4
Thrown From: css-clean package, v2.4.0
Stack Trace
Uncaught RangeError: Maximum call stack size exceeded
At /home/theo/.atom/packages/css-clean/main.js:1614

RangeError: Maximum call stack size exceeded
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:844)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)
    at h (/home/theo/.atom/packages/css-clean/main.js:1614:969)

Commands
     -0:07.7.0 core:close (atom-text-editor.editor.is-focused)
     -0:06.1.0 core:select-all (atom-text-editor.editor.is-focused)
     -0:05.5.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:03.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:03.1.0 css-clean:convert (atom-text-editor.editor)

Config
{
  "core": {
    "autoHideMenuBar": true,
    "destroyEmptyPanes": false,
    "disabledPackages": [
      "pinned-tabs"
    ],
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages
# User
css-clean, v2.4.0
emmet, v2.4.3
minimap, v4.24.6
project-manager, v2.9.7

# Dev
No dev packages

I'm going to close this issue, but I will re-open it if you can supply the CSS which caused the error. I did push a recent update. This error may be solved.


Fix reels in inbox

I noticed that the current impl of reels don't work we don't get the information related to a sended reels through private message.
So i investigate and i found out that instagram named it as clip in their JSONs

Thanks for the contribution. Has this been renamed in all reel contexts, not only the DM ones?
Is the reel_share JSON field now completely obsolete?

I have no clue.....

I made a mistake in my commit reel_share is for story answer not for actual reel share

@3l0w Are you very interested in the clips (reels)? I was just browsing through the requests and noticed that they now use /api/v1/clips/discover/, which hasn't been implemented yet

I just needed to get the reels from the inbox


sp_execute_kql and TDS

Is sp_execute_kql present in all TDS endpoints? It does not work for me. I cannot see this listed as a limitation in Supported operations and data types

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

ID: eed42031-4dbf-b3d2-7488-cf202c7a2722
Version Independent ID: af054c90-d722-d422-a5f2-41bef3ad2f40
Content: Kusto Query Language over TDS - Azure Data Explorer
Content Source: data-explorer/kusto/api/tds/tdskql.md
Service: data-explorer
GitHub Login: @shsagir
Microsoft Alias: shsagir

@rajyraman  Thanks for the question! We are investigating and will update you shortly.

Thanks for contacting us with feedback about our product documentation. Depending on the complexity, it could take from a few business days to a few weeks to look further into your question, issue, or suggestion. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
Thanks again for submitting your feedback. Your suggestions help improve our documentation.

@rajyraman sp_execute_kql is very rarely used feature that allows to execute KQL queries via TDS endpoint. It is documented here:  sp_execute_kql
Notice that this special stored procedure is not supported in T-SQL language and can be used with ADX only for opting to KQL language while connected with TDS endpoint (exactly as documented, not more, not less).
What exactly do you try to achieve and what exactly doesn't work?

@yosefd - In Power Apps we have a TDS endpoint (https://docs.microsoft.com/en-us/power-apps/developer/data-platform/dataverse-sql-query). When I try sp_execute_kql via C#, I get an error that it is not supported. I am not sure if this capability has to be/not enabled on Power Apps side, or if it is not supported in the TDS endpoint exposed by Power Apps.

I can execute SQL queries without any issue on this TDS endpoint.

Dataverse is completely different product than ADX. sp_execute_kql is ADX's feature.
Dataverse doesn't have any support for KQL.

@yosefd -  Are you saying that sq_execute_kql can be only run against a ADX cluster with SqlConnection?

Of course. KQL is ADX's language. It is supported only by ADX.

@yosefd - Thank you for the clarification. I was thinking that it can be run against any TDS endpoint. Closing the issue.


Can't choose custom log levels for Dev Tools

In Chrome, you can select what level or individual (warnings, errors, etc.).  Custom Levels is disabled in Edge.  Is there a workaround for this?

You can select custom levels in Microsoft Edge too. For this to work, you first need to close the console left sidebar. Indeed, there are 2 ways to filter logs:

Either you open the left sidebar, and then choose one of the categories.
Or you close the left sidebar, and then use the toolbar dropdown.

Only one of these filtering mechanisms can be used at a time. This works the same in Chrome by the way.

thanks


Fix memory format

Summary
The Braket result().measurement field returns shot results using np.array(). Qiskit expect memory to be a list of bitstring. This MR modifies how the results are passed to ExperimentResultData.
Details and comments
Closes #53
Closes #59 (as memory=True is not needed)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Reformat C++ to match MLIR style

As per this comment: https://github.com/metagraph-dev/mlir-graphblas/pull/121#discussion_r694568857
We can use clang-format to format our C++ in the style used by MLIR.  We should do this once to bring everything up to spec, and then verify formatting in CI, just as we do with black for Python.
clang-format is in the clang-tools conda package.

OK, I think we've now finished this out.  The repo has been updated to use the MLIR style in clang-format (#126) and we have CI automation now to verify correct formatting of PRs (#134).  Instructions for how to reformat code locally are in the README.


Improve Spreadsheet Navigation

It would be nice to have a way to search for and go to a column based on it's header.
With the headers not being alphabetical, and ctrl+f only working for the text currently displayed in the viewport, it can be frustrating trying to navigate to a specific column. E.g. I know I want to edit 'host age' but I can't recall where it is in the spreadsheet, so I have to slowly scroll through the sheet to find it. This gets tedious quickly and will only get more frustrating overtime as we add more fields.
Is there a way we could have a header search of some sort? When the user types input, it pulls from a header pick-list and then takes you to your selection. Perhaps using something like scrollViewportTo() - with the header names mapped to a header col number that it jumps you to?
scrollViewportTo jsfiddle example

nice feature idea.  Possibly it could be a pulldown list of all columns in sheet, organized hierarchically.


Links for Spec files need to be updated.

Hello team, looks like these spec files are pointing to dead links.

https://github.com/splunk/security_content/tree/develop/docs#content-spec-files

-Chris.

fixed: https://github.com/splunk/security_content/pull/1616. Thank for reporting the bug


Bumping mesos version to 1.7.0

This PR bumps the mesos container version to the latest reseased version.

Closing due to inactivity


[Feature Request] Add documentation for Next13 SSR

Is your feature request related to a problem? Please describe.
No SSR documentation or examples for Next13
Describe the solution you'd like
Currently there is only documentation on how to setup SSR in Next12 but not 13.
Describe alternatives you've considered
Currently it seems SSR only works in the pages directory
Screenshots or Videos
No response

NextUI v2 now offers both setup instructions + templates, please check https://nextui.org/docs/frameworks/nextjs


demo live version not working

That’s an error.

Error: redirect_uri_mismatch
The JavaScript origin in the request, http://gsuitedevs.github.io, does not match the ones authorized for the OAuth client
link

@sqrrrl - Looks like the gh-pages branch is out of date, and perhaps a client ID needs to have the JavaScript origins updates. Can you PTAL?


validate.py does not check that changed files also have a bumped version number

This was brought up a while ago in #13 but has not been addressed as of yet.
If @czlee doesn't have the time to get around to it I'd be happy to submit a PR.

I'll do this eventually but if you have time you'll probably be faster 😊


I have an issue migrating my flutter project to Androidx. I always get the message 'no usage found'

Steps to Reproduce

Run flutter create bug.
Update the files as follows: ...
...

Expected results:
Actual results:

Logs

Closing this as self-duplicate of https://github.com/flutter/flutter/issues/84789.
Please don't create multiple issues for same reason.


Ability to order feeds by date

It'd be very helpful to be able to order the feeds chronologically by Last New Story for quicker health assessment, especially for sources with tens of feeds.

Option B is fine with me. I was thinking newest first since I usually want to see what is working before I want to see what’s not.
Anissa Pierre
Collections Curator, Media Cloud
Center for Civic Media, MIT Media Lab

On Mar 19, 2019, at 11:12 AM, rahulbot<EMAIL_ADDRESS>wrote:
Do you want (a) the ability to sort by last-new-story and other columns, or (b) to have sorted by last-new-story be the default view? (b) is less work technically.
And do you mean oldest first or newest first? I'd guess oldest first is more helpful to surface "broken" feeds.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/mitmedialab/MediaCloud-Web-Tools/issues/1503#issuecomment-474415767, or mute the thread https://github.com/notifications/unsubscribe-auth/AYUDOh6dvZq9N0NEG1kQ1jRNCL_TU6Oeks5vYP5kgaJpZM4b8L1u.


Get overload to consider compiler flags in cache lookup

as titled

/azp run

https://github.com/numba/numba/pull/6898 may provide new facility that this PR can depend on. Also, not sure if this smaller PR will conflict with the work in the larger #6898.

@sklam IIRC you ran the test suite to check this and None for flags in the cache key was quite rare and seemed like a harmless recompile?

Correct. It only happens from our testsuite using compile_isolated()


Updating the updater process

Does velopack support updating the update.exe process itself?
Can you document what is the purpose of update, stub and install binary crates? (In rust version)
Which of them are used in windows and which or macOS / Linux?

Thanks!

Does velopack support updating the update.exe process itself?
Yes, update.exe is updated along with your app each time you publish an update

Can you document what is the purpose of update, stub and install binary crates? (In rust version)

Update is for updating your app (cross platform), eg. installing new .nupkg updates
Setup is for installing your app on Windows
Stub is only included in portable apps on Windows, it provides a nice shortcut for users to click on to run your app
Also see https://docs.velopack.io/reference/cli

Which of them are used in windows and which or macOS / Linux?
See above


feat(dynamicWidgets): send facets * and maxValuesPerFacet by default

Summary

The default additional search parameters of { facets: ['*'], maxValuesPerFacet: 20 } prevents an extra network request when widgets mount/unmount, as both queries will be identical, and thus cached.
If a refinement is set, this still results in two network requests, as the refinements can't be applied before it's known if the widget should be mounted.
Result

When dynamic widgets is used without an explicit configure widget with facets: ['*'] and maxValuesPerFacet: highestLimit an extra network request happens on load, which has a negative impact on performance. With the new additionalParameters default value, widgets mounting or unmounting no longer require a separate network request
Two new parameters are added to connectDynamicWidgets and dynamicWidgets:
dynamicWidgets({
  // ... other parameters
  // overridden with the default value
  facets: ['*'],
  maxValuesPerFacet: 20,
});

The default behaviour can also be avoided, and the previous default (non-matching parameters, which does two network requests) can be done like this:
dynamicWidgets({
  // ... other parameters
  // overridden default to ensure two requests are sent,
  // and that not all facets are requested
  facets: [],
});

Reviewing 🤓

@tkrugg I addressed this by not allowing values other than [] and [*], as passing specific facets wasn't a main use case, and has other possible solutions (virtual widgets, specific parameters on configure) that we can document later if people want that


docs: fix broken link to getting start page

Switched the "Getting Started" link so it points to the Atmo one instead of a non-existent subo one. h/t to @ramonh for figuring that was all that was needed! This will close Issue #76.

It doesn't make any sense that this works (but it does), because the file website/docs/subo/subo.md referencing ./atmo/get-started.md should reference the non-existing url website/docs/subo/atmo/get-started.md (and this should instead reference ../atmo/get-started.md, note the .. for parent directory). I assume this is some sort of Docusaurus URL magic :shrug:
Nevertheless, looks good otherwise!

That is indeed odd! But nice one, thanks @LauraLangdon!

Yeah, I didn't expect it work and was surprised that it did! Docusaurus magic for sure.


Some bases are not correctly unlocked for the player when their quests are failed

[x] Desolace
[x] Gnomeregan
[ ] Ironforge

desolace is intended

il fix the 2 dwarf ones

nothing seems wrong with the ironforge one


This is a big issue

I am tesiting cool stuff here. Using forge with Magit in emacs!

Another comment here


Enable GitHub Issues in .asf.yaml

This is an automated PR to enable GitHub Issues in the .asf.yaml file.

Thanks, @porcelli I will merge this to have this enabled.


Raw query breaks with Laravel 5.7.14+

Describe the bug
ErrorException: Undefined index: operator appears when it tries to parse select queries,
presumably because of the new types added in 5.7.14 (InRaw, NotInRaw, IntegerInRaw, IntegerNotInRaw) in the name of improving eager-loading performance.
Ref: https://github.com/laravel/framework/compare/v5.7.13...v5.7.14
Related Laravel PRs from changelog: (#26434, #26453, 3992140, #26471, a3738cf, #26531)
Eloquent Query
        return WeekendAssignments::select('weekend_assignments.*', 'weekend_roles.RoleName', 'weekend_roles.sortorder')
            ->join('weekend_roles', 'weekend_assignments.roleID', '=', 'weekend_roles.id')
            ->where('weekendID', $this->id)
            ->where('confirmed', true)
            ->withoutGlobalScope('visibleWeekendsOnly')
            ->orderBy('weekend_roles.sortorder', 'asc')
            ->orderBy('weekend_roles.id', 'asc')
            ->get();

which generates:
select "weekend_assignments".*, "weekend_roles"."RoleName", "weekend_roles"."sortorder"
from "weekend_assignments"
   inner join "weekend_roles" on "weekend_assignments"."roleID" = "weekend_roles"."id"
where "weekendID" = ? and "confirmed" = ?
order by "weekend_roles"."sortorder" asc, "weekend_roles"."id" asc

where WeekendAssignments is a basic Eloquent model with the following:
class WeekendAssignments extends Model
{
    protected $with = 'role';

    public function getRouteKeyName()
    {
        return 'weekendID';
    }
    protected static function boot()
    {
        parent::boot();
        static::addGlobalScope('visibleWeekendsOnly', function (Builder $builder) {
            $builder->whereIn(
                'weekendID',
                Weekend::where('visibility_flag', '>=', WeekendVisibleTo::Community)->get()->pluck('id')
            );
        });
    }

    //
    public function role()
    {
        return $this->belongsTo(WeekendRoles::class, 'roleID');
    }
    //
}

and WeekendRoles (note: "Roles" here refers to "a position held on a team, such as 'food server'" and not related to app permissions):
class WeekendRoles extends Model
{
    use GeneaLabs\LaravelModelCaching\Traits\Cachable;

    protected $with = 'section';

    protected static function boot()
    {
        parent::boot();

        static::addGlobalScope('rolesBySortOrder', function (Builder $query) {
            $query->orderBy('sortorder', 'asc');
        });
    }

    //

    public function section()
    {
        // Section is a simple basic Eloquent model
        return $this->belongsTo(Section::class, 'section_id');
    }
}

Stack Trace
/SITE/vendor/genealabs/laravel-model-caching/src/CacheKey.php:102
/SITE/vendor/genealabs/laravel-model-caching/src/CacheKey.php:262
/SITE/vendor/genealabs/laravel-model-caching/src/CacheKey.php:167
/SITE/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1388
/SITE/vendor/genealabs/laravel-model-caching/src/CacheKey.php:170
/SITE/vendor/genealabs/laravel-model-caching/src/CacheKey.php:36
/SITE/vendor/genealabs/laravel-model-caching/src/Traits/Caching.php:76
/SITE/vendor/genealabs/laravel-model-caching/src/CachedBuilder.php:86
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php:155
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php:144
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:564
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:533
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:501
/SITE/app/Weekend.php:405
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:444
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:344
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:317
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1513
/SITE/app/Weekend.php:416
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:444
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:344
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:317
/SITE/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1513
/SITE/app/Http/Controllers/WeekendController.php:94
/SITE/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
/SITE/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45
/SITE/vendor/laravel/framework/src/Illuminate/Routing/Route.php:212
... (usual bootstrap stuff)
/SITE/tests/Feature/WeekendStatusTest.php:135
Environment

PHP: 7.2.12
Laravel: 5.7.14+
Model Caching: 0.3.3

Additional context
In feature tests, had to add withoutExceptionHandling() to see the Exceptions being thrown.

@drbyte Thanks for the detailed report. I will look into this soon. Your report helps a lot.

@drbyte Would you be able to help me out a bit? I'm trying to come up with queries that would trigger each of the new query types. Any help you could provide in coming up with different queries to test each of the types would be helpful. :)

Apologies - I was AFK when you were working on this.

@drbyte no worries ... I think it's all resolved :)


Support scaling of Sink

Typically this should be trivial and covered in #5740 as the Sink is an alternative to Materialize. But do we also need to manage and reassign the "splits" for scaled sink nodes?
Any insights are welcome. 😄 cc @tabVersion @shanicky @nanderstabel

I think we do not need to do that. Actually, we write data to kafka without specifying a specific partition of the topic.
To some extent, we should see the sink module as a suffix for the mv operator. In my design, the sink operator should scale out and in together with the upstream. I want to ensure that each sink operator receives no data intersection, so that we can avoid as many as possible conflicts when writing to the downstream, which is now secured by keeping the sink and mv operators at the same parallelism level

In my design, the sink operator should scale out and in together with the upstream.

Great. This assumption is held naturally under the current scheduling strategy.

@BugenZhao any updates? Now we are  working on remote sink, may check the design with @KivenChen

No update yet.

I've tested scaling the Console sink, and it seems that the meta part works very well, which acts the same as scaling an MV on MV in #5740. However, we don't have sufficient e2e tests for the correctness of Sink itself or the scaling of Sink.

I've tested scaling the Console sink, and it seems that the meta part works very well, which acts the same as scaling an MV on MV in #5740. However, we don't have sufficient e2e tests for the correctness of Sink itself or the scaling of Sink.

Sounds like the next step is to add more test cases?


Wrong labels in the GAN example "Writing a training loop from scratch"

In the last part of the example (End-to-end example: a GAN training loop from scratch) should not we use 1 for the real examples and 0 for the fake examples.
It creates labels for the discriminator as
    labels = tf.concat(
        [tf.ones((batch_size, 1)), tf.zeros((real_images.shape[0], 1))], axis=0
    )

and for the generator
misleading_labels = tf.zeros((batch_size, 1))
I believe these should be:
    labels = tf.concat(
        [tf.zeros((batch_size, 1)), tf.ones((real_images.shape[0], 1))], axis=0
    )

and
misleading_labels = tf.ones((batch_size, 1))

Bekci, you are right, it think as same with you. it should be an inadvertently error while coding.
because the output of discriminator is 1 for real and 0 for fake images. as coded here reversed.

Hi,
Please refer the comment in the linked PR and feel free to close the issue. Thanks!


Consider moving RunTransaction to Client::RunTransaction.

As a standalone function RunTransaction does not have access (though I guess we could make it a friend?) to any policies for retries and/or backoff and/or logging.

This now looks like a duplicate of #557?  I am going to close it as such.


[Question] Is there a way to edit clipboard entry from rofi?

you can

go on an entry
ctrl + space to "select" it in rofi
once selected you can navigate left/right in order to edit what you want
type enter to select it in the clipboard

Doesn't work for me. It just selects the entry, edit doesn't sustain.


Roll Flutter Engine from b83172a4e995 to a011cae2ff05 (8 revisions)

https://github.com/flutter/engine/compare/b83172a4e995...a011cae2ff05
2023-07-31<EMAIL_ADDRESS>[Impeller] Add a descriptive blurb about newer Impeller components and fix links. (flutter/engine#44183)
2023-07-31<EMAIL_ADDRESS>Roll Skia from 06174bc8f4d5 to db813f4043fe (1 revision) (flutter/engine#44182)
2023-07-31<EMAIL_ADDRESS>[Impeller] Create a wrapper Impeller context for each Vulkan surface and its swapchain (flutter/engine#44171)
2023-07-31<EMAIL_ADDRESS>Roll Skia from ea0c9c0935ae to 06174bc8f4d5 (2 revisions) (flutter/engine#44179)
2023-07-31<EMAIL_ADDRESS>Roll ANGLE from 2755f73a3461 to faca95f7e81b (1 revision) (flutter/engine#44178)
2023-07-31<EMAIL_ADDRESS>Roll Skia from 9c12eb0e158a to ea0c9c0935ae (4 revisions) (flutter/engine#44177)
2023-07-31<EMAIL_ADDRESS>Roll Skia from 685e29df6704 to 9c12eb0e158a (2 revisions) (flutter/engine#44173)
2023-07-31<EMAIL_ADDRESS>Roll Skia from cb61dd4af8a5 to 685e29df6704 (2 revisions) (flutter/engine#44170)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


[docs] Add example for how to import the library

There is a fix needed in the upstream. When CMAKE_BUILD_TYPE is not defined, the release library and debug library could be the same.

@RobertIndie Have you fetched the submodule? Please note that this PR also updates the commit of the vcpkg submodule.  Please note that this PR also updates the commit of the vcpkg submodule. Could you run the following command and show the output?
cd vcpkg && git log --pretty=oneline | head -n 1

If you only ran git apply 379.diff, maybe it won't work.

Thanks. It works now!


Samsung LE40A856 (2008) not found.

I tried to pair Samsung LE40A856
pi@homebridge:~ $ homebridge-samsungtv-control legacy <IP_ADDRESS> 00:12:fb:1f:86:99
Sending the mute key to see if your device is controlable with the legacy protocol over port 55000.
Device is off or unreachable
That didn't work unfortunatelly. Here are some other possible solutions:
	1. Try pairing method 1 npx homebridge-samsungtv-control pair1 <IP_ADDRESS> 00:12:fb:1f:86:99
	2. Try pairing method 2 npx homebridge-samsungtv-control pair2 <IP_ADDRESS> 00:12:fb:1f:86:99

pi@homebridge:~ $ homebridge-samsungtv-control pair1 <IP_ADDRESS> 00:12:fb:1f:86:99
That didn't work unfortunatelly. Here are some other possible solutions:
	1. Try pairing method 2 npx homebridge-samsungtv-control pair2 <IP_ADDRESS> 00:12:fb:1f:86:99
	2. Try the legacy protocol npx homebridge-samsungtv-control legacy <IP_ADDRESS> 00:12:fb:1f:86:99

pi@homebridge:~ $ homebridge-samsungtv-control pair2 <IP_ADDRESS> 00:12:fb:1f:86:99
Ok... sending the pairing request to your tv. Please click allow when asked
(node:19221) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
TV is off or unavalible
/usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/lib/samsung.js:66
                throw new Error('Error send Key');
                ^

Error: Error send Key
    at /usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/lib/samsung.js:66:23
    at WebSocket.<anonymous> (/usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/lib/samsung.js:299:17)
    at WebSocket.emit (events.js:315:20)
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/node_modules/ws/lib/websocket.js:551:15)
    at ClientRequest.emit (events.js:315:20)
    at TLSSocket.socketErrorListener (_http_client.js:426:9)
    at TLSSocket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:92:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

So i made a portscan
Port Scanning host: <IP_ADDRESS>

	 Open TCP Port: 	52396

Then I tried to pair again
pi@homebridge:~ $ homebridge-samsungtv-control legacy <IP_ADDRESS> 00:12:fb:1f:86:99 --port 52396
Sending the mute key to see if your device is controlable with the legacy protocol over port 52396.
(node:19515) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.

That didn't work unfortunatelly. Here are some other possible solutions:
	1. Try pairing method 1 npx homebridge-samsungtv-control pair1 <IP_ADDRESS> 00:12:fb:1f:86:99
	2. Try pairing method 2 npx homebridge-samsungtv-control pair2 <IP_ADDRESS> 00:12:fb:1f:86:99

pi@homebridge:~ $ homebridge-samsungtv-control pair1 <IP_ADDRESS> 00:12:fb:1f:86:99 --port 52396
error: unknown option '--port'

pi@homebridge:~ $ homebridge-samsungtv-control pair2 <IP_ADDRESS> 00:12:fb:1f:86:99 --port 52396
Ok... sending the pairing request to your tv. Please click allow when asked
(node:19561) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.

/usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/lib/samsung.js:66
                throw new Error('Error send Key');
                ^

Error: Error send Key
    at /usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/lib/samsung.js:66:23
    at WebSocket.<anonymous> (/usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/lib/samsung.js:299:17)
    at WebSocket.emit (events.js:315:20)
    at ClientRequest.<anonymous> (/usr/local/lib/node_modules/homebridge-samsungtv-control/node_modules/samsung-tv-control/node_modules/ws/lib/websocket.js:551:15)
    at ClientRequest.emit (events.js:315:20)
    at TLSSocket.socketErrorListener (_http_client.js:426:9)
    at TLSSocket.emit (events.js:315:20)
    at emitErrorNT (internal/streams/destroy.js:92:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

Nothing found.

Hi. This model seems to be from 2008. I therefore unfortunately doubt it won't be possible to control it with the plugin as the remote control procotol seems to have been added to samsung tv's from 2011+.

I thought that 2008 models are supported.

That's at least how it looks like at the moment. I know for sure that one of my test devices from 2011 supports the legacy protocol and we tried to use the legacy protocol on a 2010 tv on every open port without success. Therefore it seems like this is the magic line for legacy protocol support. Sorry for not adding this information to the readme yet.

No problem!

I have Samsung tv 2010 and use homebridge_upnp to control volume and samsung_tv for on/off state. Try it!
Gastón

El 1 ago. 2020, a la(s) 15:33, Pauzi2304<EMAIL_ADDRESS>escribió:

No problem!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you for the hint. These plug-ins do not work with Samsung LE40A856 (2008). But now i can control Volume and see the on/off state of my Sasmung STB-E7900.


⚠ REMOVE extension api from main branch

Description

The intent is to remove this API and its controllers for the v1.0.0 release. Once we've released 1.0.0, we plan to re-introduce the Extension API and controllers.
@joelanford, please take a look and tell me if that's what you had in mind. I did a flat removal of all the references to the api as well. Didn't try to circumvent or redesign around any errors. Any suggestions or changes are welcomed. Saving this as a draft PR to be safe.
My question, and I think it's an important one, would we pull the main branch's code to some secondary branch as a reference for after v1.0.0 before merging this if we plan to reintroduce it?
Solves #735
Reviewer Checklist

[ ] API Go Documentation
[ ] Tests: Unit Tests (and E2E Tests, if appropriate)
[ ] Comprehensive Commit Messages
[ ] Links to related GitHub Issue(s)

I don't think we need to save the code off. The git history is there, so we can just come back to the commit prior to this PR if necessary.
But I suspect we don't even do that. I think it is more likely that we'll essentially copy ClusterExtension back over to Extension and make the few tweaks necessary for it to work as a namespace-scoped API. And we'll do a similar thing for the controller.

IMO the lint failures can be addressed via a //nolint:unused comment for now and be updated in #747 when they are used again.
This should help keep the scope of this PR smaller

@everettraven good idea. I just added the comments there. I think no more lint issues are found. Thanks.


Support for OpenSIPs or Kamailio

I am new to VoIP and still learning.
I have a requirement to handle SIP calls through a nodejs server.
I wanted to know if its possible to use drachtio-srf with any other SIP server than drachtio.
If yes, whats the benefit of using Drachtio server over Kamailio etc then?

No, drachtio-srf works specifically with the drachtio server.
My sense is that the people who choose to work with drachtio do so because they are familiar with & prefer writing applications in Node.js, as opposed to learning the unique configuration file syntax of the other products you mention

The question then is: Is Drachtio server as stable, scalable, and feature rich as OpenSIPs or Kamailio?
Can Drachtio server itself work as proxy for Kamailio/OpenSIPS?

feature rich?  Totally depends on what features are important to you
stable?  Hmm, drachtio is much earlier in its development than those products, which have each been around > 10 years.  I would guess they are more stable.
scalable? No.  Both opensips and kamailio can scale to greater numbers of calls on a single server, assuming that is your measure.  You can think of drachtio server as handling hundreds of incoming calls per second on an quad core VM, opensips/Kamailio as handling thousands of calls per second.  That said, I have deployed at fairly massive scale using horizontal scaling
proxy to kamailio/opensips: yes, you can build a proxy application to anything using drachtio.

However, positioning drachtio as a proxy to Kamailio/openSIPs would probably not be a common thing -- more likely the other way around, or only drachtio.
The value of drachtio is to allow you to build many kinds of SIP applications -- not just proxies.  If you are looking for a proxy only, then that is exactly what Kamailio is good for and is typically used for.  Bit of a learning curve, in my opinion, but good product so if you have time to invest and you simply want a proxy, I would recommend you go that route.  People that use drachtio are typically building SIP server applications that involve more application logic, including such things as webrtc signaling/media proxies, back to back user agents, siprec recording applications, etc.


Rename ConnectorKey and ConnectorKeys to CryptoKey and CryptoKeys.

We should also locate these inside of connector-crypto so that just that module can be imported into other projects, such as spsp-server

After discussion in the team sync today, I'm going to replicate these in the ilp-spsp-server project so that these two can diverge.


pid:2166 worker[none:2237] exit with status 134

FreeBSD 12.1-RELEASE-p2 GENERIC  amd64
php 7.4.5
last version of worker

Please run command php -v and php -m and show the output.
exit with status 134 means process get a signal SIGABRT which maybe a bug for your php version or some extensions's bug.

$ php -v PHP 7.4.5 (cli) (built: Apr 23 2020 01:30:48) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies     with Zend OPcache v7.4.5, Copyright (c), by Zend Technologies $
`$ php -m
[PHP Modules]
bz2
Core
ctype
curl
date
dom
ev
exif
fileinfo
filter
gd
gmagick
hash
iconv
json
libxml
mbstring
memcache
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache
$
$
`

Remove ev extension and try again.

Stack trace: #0 /usr/local/www/apache24/data/libs/workerman/Worker.php(2336): Workerman\Events\Ev->add(Resource id #726, 1, Array) #1 /usr/local/www/apache24/data/libs/workerman/Worker.php(2374): Workerman\Worker->resumeAccept() #2 /usr/local/www/apache24/data/libs/workerman/Worker.php(1541): Workerman\Worker->run() #3 /usr/local/www/apache24/data/libs/workerman/Worker.php(1371): Workerman\Worker::forkOneWorkerForLinux(Object(Workerman\Worker)) #4 /usr/local/www/apache24/data/libs/workerman/Worker.php(1345): Workerman\Worker::forkWorkersForLinux() #5 /usr/local/www/apache24/data/libs/workerman/Worker.php(1675): Workerman\Worker::forkWorkers() #6 /usr/local/www/apache24/data/libs/workerman/Worker.php(1624): Workerman\Worker::monitorWorkersForLinux() #7 /usr/local/www/apache24/data/libs/workerman/Worker.php(548): Workerman\Worker::monitorWorkers() #8 /usr/local/www/apache24/data/ws-server.php(130): Workerman\Wor in /usr/local/www/apache24/data/libs/workerman/Events/Ev.php on line 83" 2020-05-10 08:16:55 pid:2266 worker[none:2973] exit with status 65280 2020-05-10 08:16:55 pid:2974 Worker[2974] process terminated with ERROR: E_ERROR "Uncaught Error: Class 'Ev' not found in /usr/local/www/apache24/data/libs/workerman/Events/Ev.php:83

show your codes please

i have another installation on freebsd 11 with php71, and this codes work fine there.
https://we.tl/t-tlKHojtlmo

Try to remove Worker::$eventLoopClass = '\Workerman\Events\Ev'; from ws-server.php.

Thank you very match), seems to be all ok.


create api to support insertall

Hi,
I have adjusted the create/save api of model.js to support insertall for multi-documents creation.
I have also added tests to validate the post save event for multiple documents and all the existing tests are working fine.
Please review it.
Thanks.

i remember why we don't have this now. we have save() tightly coupled to its persistence method along with the dependence on the hooks system which can't be triggered any other way. getting around that (as you have) is a hack.
gonna close this and open a ticket for version 3x.


Can't edit CodeEdit's arrays from the inspector

Godot version
Godot v4.2.beta2 - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - integrated Intel(R) Graphics (ADL GT2) () - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)
System information
Godot v4.2.beta2 - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - integrated Intel(R) Graphics (ADL GT2) () - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)
Issue description
When I try to add elements to arrays in CodeEdit (e.g. the arrays of string/comment delimiters, bracket pairs) I just can't. For example, string delimiters, which are by default an array of size 2 with " and ' just flips around.
Steps to reproduce
Create a CodeEdit and try to add more string or comment delimiters
Minimal reproduction project
N/A

See #77618.


feat(#2318): install CLI by default

Pull Request Checklist

[ ] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR

Description

Install required CLI dependencies and CLI script as part of the base package
Update docs to reflect above
Add jsbeautifier group
Handle missing optional dependencies gracefully in the litestar cli
Add deprecation message to the CLI group in the docs

Close Issue(s)

Closes #2318

There are a few things:

Do we want to include uvicorn by default? I think we should not, and instead revisit support for different servers in the run command
Should jsbeautifier be included by default? IMO we can have an extra for this, and if it's not present, just don't use it. It can go in the standard extra.
The cli group should remain for now, to not break things. Not sure if poetry allows empty groups though

@litestar-org/maintainers @litestar-org/members thoughts?

Should jsbeautifier be included by default? IMO we can have an extra for this, and if it's not present, just don't use it. It can go in the standard extra.

+1 for not default

1. Do we want to include `uvicorn` by default? I think we should not, and instead revisit support for different servers in the `run` command

No

2. Should `jsbeautifier` be included by default? IMO we can have an extra for this, and if it's not present, just don't use it. It can go in the `standard` extra.

No

3. The `cli` group should remain for now, to not break things. Not sure if poetry allows empty groups though

Agreed until V3

@lsanpablo Please see the Sourcery suggested refactorings:
https://github.com/litestar-org/litestar/pull/2356/commits/cdff023f688af866464f91371019f1991ba678cd

Thanks for the feedback. I made the following changes:

re-added the cli group which includes jsbeautifier and uvicorn to offer equivalent functionality to what it was before
refactored the litestar run and litestar schema typescript commands to gracefully handle the fact that the script may be installed but uvicorn and jsbeautifier might not
updated the documentation accordingly

Looks good except for a few comments

Setting PR to draft while I resolve the poetry.lock merge conflict.

lgtm. sorry for all the nits 😛

@all-contributors add @lsanpablo code tests docs


Clarify component syntax

As [] just describes an option <ComponentName>[--modifierName|-descendentName] would only allow classes like .Component--modifier { ... } or .Component-descendent { ... }.
Classes like .FlexEmbed-ratio--16by9 would not be allowed here.

Nice spot, thanks


use Rack::Builder.parse_file instead of eval

http://rack.rubyforge.org/doc/classes/Rack/Builder.src/M000168.html

Good stuff, thx.

I've released 0.9.9 with your patch.


React native globals

I simply copy-pasted it from the react-native repo .eslintrc (https://github.com/facebook/react-native/blob/58c3bc490143b8d7831a00289e2565f49f5389ef/.eslintrc#L19-L52).
I think this is where it should be and I updated README. I haven't had the time to write any tests for this though...

Coverage remained the same at 71.91% when pulling 90cc3ac3a00b495bf9334f403cc78d97f39eeec0 on maxaggedon:react-native-globals into d239966ddc87fc1415d41fd60b9f7a1c3117fe73 on Intellicode:master.

@maxaggedon Looks good, have you tested if it works though?

@Intellicode yes it did the job on my current react native project =)

@maxaggedon Alright, sounds good to me, I'll create a new release soon, hopefully this week!


Polymer.dart has an unused import (path package)

Originally opened as dart-lang/sdk#18677
This issue was originally filed by<EMAIL_ADDRESS>
What steps will clearly show the issue / need for enhancement?

add polymer to the pubspec and init polymer in your dart script
run dartanalyzer for your dart script with --package-warnings option

What is the current output?
unused import of path package
What would you like to see instead?
clear log from dartanalyzer
What version of the product are you using? On what operating system?
Dart SDK 1.3.6
Windows 7
Please provide any additional information below.
Output:
'''
[hint] Unused import (C:\Users\Pavel\Tvorba\pavel-dvorak\web\packages\polymer\po
lymer.dart, line 56, col 8)
[hint] Unused import (C:\Users\Pavel\Tvorba\pavel-dvorak\web\packages\polymer\po
lymer.dart, line 56, col 8)
'''

 Comment by sigmundch

fix on its way... https://codereview.chromium.org/270693005/
Turns out that in polymer-0.10.pre.9 the warning didn't show up because there was a stale comment that referred to [path], which was resolved to the import (it used to resolve to an argument on that function before).

 Comment by jmesserly

Removed Area-Polymer label.
Added Pkg-Polymer, Area-Pkg labels.

 Comment by sigmundch

thanks for letting us know. For some reason the analyzer is not reporting this warning for me, but indeed it seems like an unused import. I still need to look more at why the analyzer is misbehaving though.

Added Area-Polymer, Type-Defect, Priority-Medium, Triaged labels.

This comment was originally written by<EMAIL_ADDRESS>
Is it fixed in the O.10.0 release?

 Comment by sigmundch

yes :)

Added Fixed label.


Captcha interval

Fixed the Captcha Timing Issue#57

@VinayGadKerkar Please resolve the conflicts.

you merged different PR for the same issue couple of minutes ago

can you merge this because this is more optimal

@VinayGadKerkar There is small issue with this pr, while reloading the page captcha is not reloading.

Fixed?

@VinayGadKerkar There is small issue with this pr, while reloading the page captcha is not reloading.

fixed(can you merge with labels?)


Update mypy to check entire package and fix fga module

Description
mypy wasn't configured to check the entire module. I've updated it to check the entire module, and I fixed the ensuing errros.
Documentation
Does this require changes to the WorkOS Docs? E.g. the API Reference or code snippets need updates.
[ ] Yes

If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.

Hey @tribble I just merged my PR with a fix to the FGA files

https://github.com/workos/workos-python/pull/328

Since @atainter has as fix ready, I'm closing this PR.


TST: Improve coverage.

Covering additional cases, and marking no coverage for some others.

OK - this is the last one - I promise!


Add option to change the underlying type of Array

Before it was Float64Array, which might be not what the user want.
Maybe he wants unsigned integers.
A new test has been added
Doc has been updated to reflect the change

Maybe it would be nicer to actually put it in the second parameter. If it's a ndarray we use it, if it's an array Type we create it. Or is it fine this way ?


use local repository path from maven settings

Ah and one more thing... If feel like it we could add some notes in the documentation.

Thanks for your feedback, I've made the changes.

Great! One more thing - update the documentation authors with your name :D Keep the surname order :) Once the tests pass I'll merge the PR. Great work and awesome stuff!


[Feature request] Custom driver name

Instead of using a random temporary file name, it should be possible to use that file as a directory name only, then read the user-specified name in the load command.

Yeah, it'll be nice to have something other than 4.tmp on the BSoD... Technically it should be possible even now, if you load the driver yourself.
Anyway, I'm not really maintaining this, but you're more than welcome to open a PR :)

Did try, but got some cryptic error messages at Util.h line 61 when I tried on Visual Studio 2022.
In the end I just merged two screenshots using Paint: One with the desired QR code, one with the desired driver name.


opam packages for examples, use Dune for opam ci, add Nix ci

Dune is much more flexible for opam-based CI. To test regular make builds in CI, we use Nix.

This seems to not just use Dune for CI, but generally for all opam-based installs? The makefile is not tested at all any more, is it better to remove it then?
I am okay landing this, but I am also entirely unfamiliar with Dune and nix and a bunch of other things you are using here. But if you want to keep maintaining this, @palmskog, that's good enough for me.

@RalfJung the main reason I use Dune for CI is that it would take quite a lot of Makefile hacking to make the examples build and install separately (without having to rebuild autosubst itself multiple times). Just adding the dune scripts means I can leave the makefiles alone.
I actually do test the regular autosubst makefile build through Nix, the output here shows that make and make install are being invoked:  https://github.com/coq-community/autosubst/runs/1581105386?check_suite_focus=true#step:5:357
The only non-standard (non-templated) part of the setup is the incremental Docker-based CI, that in turn builds all three opam packages. So I wouldn't expect a lot of CI maintenance going forward except for testing new Coq and SSReflect versions.

So opam uses Dune but Nix uses make directly? That also seems like a strange setup, doesn't it?
Ideally we'd have just one build system, I feel.^^

I used Dune in the opam packages for the Docker-based CI so I could sidestep all the problems in the old and near-unusable makefiles. The goal here is to enable simple testing in isolation of all the examples for a single Coq version in the Docker CI. Using makefiles is the standard way to build packages in Nix. We have used a combination of opam and Nix in many projects, and it has worked out fine.
I'm sure the ideal is to have a single build system and script, but essentially we are working with legacy tooling in a majority of Coq projects right now, and I believe full testing in CI is more important that build uniformity.

Well, but we can have full testing in CI with just makefiles. I'd say that describes the situation on master without this PR.
I get the motivation for dune, but only if it can replace the makefile. Otherwise it seems more like this XKCD.

Without significant refactoring the current Makefiles, you can't have fully separated builds of the examples. The current makefiles require that the main autosubst .vo files in the repo are the ones used by the examples. You can't have, for example, the ssr examples use an already-installed autosubst library.
If you look at the diff closely, you can also see that using an already-installed autosubst for the ssr example was actually impossible before due to having Require Import Autosubst. instead of the correct Require Import Autosubst.Autosubst..

you can't have fully separated builds of the examples.

But why would you want that?

If you look at the diff closely, you can also see that using an already-installed autosubst for the ssr examples was actually impossible before (regardless of makefiles) due to having

That seems like a bug that one can fix. Using -Q instead of -R would be better anyway.

So you're saying you do not want users to be able to install and depend on autosubst and its examples separately from each other? To me, this is like saying users should not be able to install mathcomp-algebra and mathcomp-solvable separately, but should always get the full mathcomp, or only ssreflect.

I don't think the examples should ever be installed. They are examples, so basically documentation. They are not designed to be things that one can import or so, they are designed to be copy-pasted and adjusted. That is my interpretation anyway.

I disagree that the examples are not something anyone would want to install - in particular many of the Ssreflect example files are generally useful:

https://github.com/coq-community/autosubst/blob/master/examples/ssr/AutosubstSsr.v - general instantiation of ssreflect functions for Autosubst
https://github.com/coq-community/autosubst/blob/master/examples/ssr/ARS.v - general lemmas for working with small-step reduction relations.

I think if these are things one might want to install, they should not be called "examples". If parts of these examples are generally useful, they should be moved to the main library (or an autosubst-ssr library) so it becomes clear that these are "public API" that shouldn't be changed lightly.

I think if these are things one might want to install, they should not be called "examples". If parts of these examples are generally useful, they should be moved to the main library (or an autosubst-ssr library) so it becomes clear that these are "public API" that shouldn't be changed lightly.

I would tend to agree with this, though it wasn't done so far. So, if the conclusion was to close this PR, I suggest hitting the close button. Otherwise, this PR needs to be updated, because it is not up-to-date with the latest Nix CI templates.

I would tend to agree with this, though it wasn't done so far.

I think the current makefile does not install the examples. So what "wasn't done"?

To move interesting files to the autosubst package or a new autosubst-ssr one.

Yeah, I think files that users want to depend on should be moved from "examples" to a more aptly named place. I don't have a clear idea which of the examples could be useful as libraries, but when someone shows up and says they want to import one of these files that sounds like clear sign. :D
But I don't think we should do this for all examples without further consideration. So I'll close this PR for now, but I'll happily pick this up again in the future if someone wants to work on it again. :)

It's disappointing that this PR that focused improving CI and testing of the project was left in limbo and then closed after some random interval, in essence for not completely refactoring a large chunk of the project. We use opam packages for testing reasons all the time in the general Coq community. I think the chance that someone else will pick up something similar in the near future is vanishingly small.

@palmskog I'm sorry to have disappointed; the PR was left in a limbo after my last comment so I figured you had lost interest. If you are still interested I am happy to continue the discussion.
The reason I objected to the PR is that it does perform a major refactoring, namely installing the "examples" files. If it had just updated the CI it would have been a no-brainer!

The way we run/test any file(s) is by installing them, that's just how opam and Nix works for Coq. There is no feasible way to avoid that, in my view. The content of the core autosubst package was completely unchanged. Also, anyone who runs the examples will currently have them placed in the inappropriate Ssr namespace, which was something else I fixed in this PR.
If you want to revive the PR, that's fine by me, and I can review a revived PR from a Coq automation standpoint, but I don't think this discussion is going to go anywhere productive.

The way we run/test any file(s) is by installing them, that's just how opam and Nix works for Coq.

In Iris we have an opam package that contains files that are build to be tested but not installed. It's totally possible to do that.
But I guess the shared infrastructure you are using here does not support this, so we have to work around that limitation by adding a new opam package. We could however possibly still make the install step of that opam package a NOP? Or if that is not possible, make it clear in the description that this package is not meant to ever be imported anywhere and is just an internal implementation detail of autosubst CI.

Our idiom is to completely delegate the details of whether or not a package will be installed (and where) to Dune. If you look in the proposed opam packages, they only have a build clause and no install clause. Emilio is also working towards completely compositional builds of the whole Coq universe (duniverse), where it won't matter whether something resides in user-contribs or not. Hence, the only feasible long-term configuration option is probably to put a disclaimer ("DO NOT INSTALL") in the opam package synopsis. But this seems pretty redundant to me, since almost nobody installs random package definitions in Coq projects - they either use the default make && make install or install via the Coq opam archive.

If you look in the proposed opam packages, they only have a build clause and no install clause

According to the docs, dune just uses a different approach to install files:

This field can be skipped if your package generates a .install file, like is the case when using dune.

I don't quite understand why a "compositional build" would be unable to have build steps that do not correspond to install steps (that seems like a fairly fundamental feature of any package manager to me, and also entirely orthogonal to user-contribs concerns)... but I also don't think this matters very much for this discussion. This is a digression.

All I want to ensure is that nobody thinks that these "examples" packages (which exist solely to fit into the limitations of he shared CI infrastructure) can be imported and be expected to keep working in future versions of autosubst. You now make it sound like nobody would expect that from the mere existence of an autosubst examples opam file in this repo, but you also said yourself last year (further up this thread) that you actually wanted to import those examples -- so back then it very much looked like you were arguing for making those files installable.
My other concern with this PR is that it adds a 2nd build system without removing the old one -- I'd rather not maintain both a dune and a makefile-based build system.
The first issue can be solved with appropriate package descriptions, if there is no technical solution. For the second issue, I don't know what it takes to avoid having 2 build systems.

The first issue can be solved with appropriate package descriptions, if there is no technical solution. For the second issue, I don't know what it takes to avoid having 2 build systems.

The main problem with not keeping the legacy build system around is that Dune doesn't yet properly offer editor support, so you have to end up using a hackish _CoqProject to work around that. But there is no fundamental reason beyond that AFAICT.


Mistakes usually in the first character on custom data

I am training system on custom data, more than 500000 synthetic examples. I have fairly good accuracy on real data (>80% full text accuracy), but there are some mistakes, and 90% of the mistakes are in the first character! On real test data, the first characters don't seem to be any special.
I train None-ResNet/RCNN-BiLSTM-CTC models.
Any ideas @ku21fan ?

You can wait until the fitting is better, and I didn't do that when I identified 700 commonly used Japanese characters

same situation here, what is the sequence length for ctc in your case?

same situation here, what is the sequence length for ctc in your case?

i use data is not fixed length ,you can try

same situation here, what is the sequence length for ctc in your case?

i use data is not fixed length ,you can try

what is the downsample ratio of height and width, or your output shape of h and w if using (100,32) input for your network?

My parameters are  (32, 400) height and width, and input images are 64 height and width between 500-900 @DietDietDiet any thoughts?


Wrong url is beeing inserted in emails

Bug report
Describe the bug
Supabase docker, is inserting http://auth into the url in emails as it should insert GOTRUE_SITE_URL from env
To Reproduce

Install new supabase inside docker
Add email details into .env
Set GOTRUE_SITE_URL to something
Try sending your self an email

Expected behavior
You should recieve this email which will be starting with http://auth/v1/verify in the recovery / invite / etc
Screenshots

System information

Client OS: Win11
Server OS:  Ubuntu 20.04
Browser all browsers
Docker: 20.10.12
Docker-compose: 1.25

Hey @OceanTechnic  This would get more visibility on the main repo as we host the self-hosted set up there. Transferring so we can track it better there.


Mint stuck at busy.

When I upload and try to mint on the matic, or the test polygon network that are indicated in the video and I mint from the contract in Visual studio it mints, but when I try to mint from the site it says busy and does not proceed any further. It says Minting Your ..... and the button says busy

Hello @Devdecian  A support ticket has been opened for you. Talk to a Polygon Dev on the Live support page so that your issue can be looked CLICK HERE

I got the same issue.. I can't mint from my deployed website on Netlify but actually works mint from contract

Has anyone found a solution to this?

nope :/

Hey, i solved this by deplying a new contract and building a new app from scratch.
The issue for me was in the contract, try to check it


Document that system TLS cert stores are not used by Erlang

Frequently, users are surprised that Erlang's TLS implementation does not use the system certificate stores for establishing the trust chain. Most recently this came up in the public slack channel with regard to the use of Let's Encrypt certificates -
https://rabbitmq.slack.com/archives/C1EDN83PA/p1591967717131700
This page should be updated to make this clearer, and perhaps provide an example using Let's Encrypt -
https://github.com/rabbitmq/rabbitmq-website/blob/live/site/ssl.md

We did it in https://github.com/rabbitmq/rabbitmq-website/commit/40a9185d19e8a0df8ea80c3930846570c0f02efb

Thanks for pointing that out @michaelklishin - https://www.rabbitmq.com/ssl.html#peer-verification-trusted-certificates
@ydbondt - please review the documentation to see if it is explained well-enough - https://www.rabbitmq.com/ssl.html#peer-verification-trusted-certificates

We would definitely consider a new section that covers Let's Encrypt, if contributed.


Looking for beta tests and reviews

Hey !
I'm looking for beta-testers for this parser, if anyone can test this and make some feebacks here (or open an issue) it would be awesome!
Also, if you're a tree-sitter expert, I'm also interested in feedbacks on the implementation of this parser :pray:
Thanks !

After having executed the given commands in the readme and pasting the contents,
:TSEditQueryUserAfter highlights gitcommit
:TSEditQueryUserAfter injections gitcommit

:TSInstall gitcommit gives:
nvim-treesitter[gitcommit]: Failed to execute the following command:
{
  cmd = "mv",
  opts = {
    args = { "tree-sitter-gitcommit-tmp/tree-sitter-gitcommit-master", "tree-sitter-gitcommit" },
    cwd = "/home/user/.local/share/nvim",
    stdio = {
      [2] = <userdata 1>,
      [3] = <userdata 2>
    }
  }
}
mv: cannot stat 'tree-sitter-gitcommit-tmp/tree-sitter-gitcommit-master': No such file or directory

On another note, I think the paths should be renamed?
From:
~/.config/nvim/queries/*

to:
~/.config/nvim/after/queries/*

My bad, something is missing in install documentation : I've forgot to set branch in install_info, I update the readme !
Using queries or after/queries is the same as this state of development.

Commit title
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Changes to be committed:
#	modified:   Cargo.toml
#
# ------------------------ >8 ------------------------
# Do not modify or remove the line above.
# Everything below it will be ignored.
diff --git a/Cargo.toml b/Cargo.toml
index 19c7b36..4b78df4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "hello_cargo"
-version = "0.1.0"
+version = "0.2.0"
 edition = "2021"

 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

The commit's title is captured as:

{ "text.title" }

The lines containing the comments as:

{  "comment" }

The lines containing On branch master as:

On: { "comment", "text" }
branch: { "comment", "text" }
master: { "comment", "text.reference" }

Everything that follows the comments is {}.

Thanks for your feedback
To have a complete highlight, you must also have diff and git_rebase parsers installed. (Just do TSInstall diff git_rebase).

Using git commit -vv adds these extra comment lines:
#
# Changes to be committed:
diff --git ...
...
# --------------------------------------------------
# Changes not staged for commit:
diff --git ...
...

These should not be in diff, but parsed as (generated_comment (title)).
The diff injection may use @combined and #exclude_children! if needed.

Thanks for the feedback @ObserverOfTime
I try to fix it

@ObserverOfTime Last commit fix this issue. However, @combined injection on diff does breaks highlight...

However, @combined injection on diff does breaks highlight...

You could parse it this way then (with #exclude_children! for the injection):
(diff
  (generated_comment
    (title)))

Ok I'll try

I close this issue, feel free to open an issue to send feedbacks


Feline needs to be changed

feline origin difficulty needs to be changed it should the ber a 3 dot difficulty possibly even a warning in the description calling it a 4 dot difficulty, the weak arms debuff makes it so you cant mine at all, and it makes the game purely RNG based if you don't get lucky and find a cave that provides you with both coal iron and diamond you can't do anything but run around looking for resources
i think the weak arms debuff need to be tweaked like you cant mine stone but just really slow when at full hunger

The Blazeborn should also be at difficulty 3. Unless I got something wrong surviving the Nether is nearly impossible or at least highly RNG based as well, probably impossible if you dont find enough loot to build a Portal back etc


[DNSMasq]Check delete before creating ServiceAccount

When the namespace is deleted ServiceAccount creation will fail and because that runs before checking if the DNSMasq is being deleted too the DNSMasq will never be deleted. This patch moves the check before the SA creation.
Fixes: OSP-27793

Together with https://github.com/openstack-k8s-operators/keystone-operator/pull/370 this fixes the namespace hanging issue


Change font size

Added a new Customise Command to change font size.
Example: customise fs/FONT-SIZE
FONT-SIZE: xsmall, small, normal, large, xlarge

useful feature


Use Parse This

I have been trying to rebuild Parse This ( https://github.com/dshanske/parse-this into a WordPress library for parsing Microformats 2 and more into simple jf2/mf2.
It is already being used in a Microsub project, and wondering if it worth merging the code from here that does a similar thing and using the same library. We already have php-mf2 as a dependency, why not a wrapper around it?
Parse This isn't quite ready for this yet, but wanted to discuss the possibility in the interest of consolidation.

@pfefferle Wanted to bring this up to reduce admin cost. I am working to make dependencies optional and redo the code so that you don't have to include the feed code in a project for it to work. What would make you comfortable with this idea?


Extend completion to support recommended completion items

Extend completion to support recommended completion items

@barryt2 Can I close this?


Include an example of a policy near the top of this page

As an overview, describing what Azure Policy is, this page would benefit greatly by making the concept of a policy concrete with one or two examples near the beginning of the discussion. The descriptions are fairly abstract and generalized, making it hard to understand just what is subject of Azure Policy.

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

ID: 07fab47b-3b7a-c02e-c863-2c60f0e06f94
Version Independent ID: f1643e7a-14eb-c372-8099-2f412c954717
Content: Overview of Azure Policy - Azure Policy
Content Source: articles/governance/policy/overview.md
Service: azure-policy
GitHub Login: @timwarner-msft
Microsoft Alias: timwarner

@visualstuart
Thanks for your feedback! We will investigate and update as appropriate.

Thanks for the feedback, @visualstuart. I'll do it :) Warm regards, Tim

#please-close


A CLI that generates a library supporting the new and old architecture

This repo is a very great reference for building a new library that supports the new and old architecture at once and it would be really great if we had a CLI that generates the library automatically kinda like create-react-native-library and create-react-native-module or better yet have it in one of those already existing CLIs.

Thanks for raising this point.
I suggest you open an issue on those two repos, linking this repo. I believe they could update their templates using this repo as a reference.
Closing as there is nothing actionable on this for us.


为什么不提供中文版？Why is there no Chinese Edition

为什么不提供中文版？Why is there no Chinese Edition

Why is there no Chinese Edition
Because Code is still in beta, translations are planned for GA.
This is the corresponding plan item #2041.


Add !highfive to let chat viewers give you a high five for doing a great job!

Also add !pat for getting a pat on the back

Add a sound effect to play prior to the high five so the streamer has ample time to prepare for it (suggested by @onel0p3z)

Done


FeatureLayer.applyEdits(addFeatures=[],updateFeatures=[]) incorrect response

ArcRest or ArcRestHelper
ArcRest
Version or date of download
3.5.3
Bug or Enhancement
Bug
Repo Steps or Enhancement details
Running applyEdits from the REST page with [] in either addFeatures or updateFeatures, returns:
{ "addResults" : [ ], "updateResults" : [ ], "deleteResults" : [ ] }

However, in arcREST, running FeatureLayer.applyEdits(addFeatures=[],updateFeatures=[]) returns:
{"error":{"code":400,"message" : "","details":[ "Invalid parameters"]}}

This occurs because there is no parameter added unless the list contains features.To mimic the REST page, the applyEdits arguments defaulting to "[]" would have to change to None and two instance checks would have to be added:
    def applyEdits(self,
                   addFeatures=None,
                   updateFeatures=None,
                   deleteFeatures=None,
                   gdbVersion=None,
                   useGlobalIds=False,
                   rollbackOnFailure=True):

        editURL = self._url + "/applyEdits"
        params = {"f": "json",
                  "useGlobalIds" : userGlobalIds,
                  "rollbackOnFailure" : rollbackOnFailure
                  }
        if gdbVersion is not None:
            params['gdbVersion'] = gdbVersion
##Add##
        if isinstance(addFeatures,list):
            params['adds'] = json.dumps([])
#####
        if len(addFeatures) > 0 and \
           isinstance(addFeatures[0], Feature):
            params['adds'] = json.dumps([f.asDictionary for f in addFeatures],
                                        default=_date_handler)
##Add##
        if isinstance(updateFeatures,list):
            params['updates'] = json.dumps([])
####
        if len(updateFeatures) > 0 and \
           isinstance(updateFeatures[0], Feature):
            params['updates'] = json.dumps([f.asDictionary for f in updateFeatures],
                                           default=_date_handler)
        if deleteFeatures is not None and \
           isinstance(deleteFeatures, str):
            params['deletes'] = deleteFeatures
        return self._post(url=editURL, param_dict=params,
                             securityHandler=self._securityHandler,
                             proxy_port=self._proxy_port,
                             proxy_url=self._proxy_url)

This would still ensure FeatureLayer.applyEdits(addFeatures=None) returns the correct "invalid parameters" error. In my case, addFeatures was an empty list variable and the script was looking for "addResults" from applyEdits results.

@DShokes - should be fixed.  Tested on both 10.4, and 10.3.1. Please pull the latest.

Looks good thank you.
>>> flTrees.applyEdits()
{u'addResults': [], u'deleteResults': [], u'updateResults': []}
>>> flTrees.applyEdits(addFeatures=[])
{u'addResults': [], u'deleteResults': [], u'updateResults': []}


Russellseymour/aks version upgrade

Updated the build with the following:

Using latest supported version of AKS
Build no uses Ubuntu-20.03
Secrets for credentials are now pulled from Azure KV (using a variable group)
Added YAML linter

The deployment of the DNS has been disabled and these are now held in a different resource group. This is controlled in the AzDo build pipeline file.

/azp run

LGTM :shipit:


ModuleNotFoundError: No module named 'dask_bigquery' with Client(cluster)

Hi!
I'm hitting into a peculiar error. When I try running the following:
from dask_kubernetes.operator import KubeCluster
from dask.distributed import Client

cluster = KubeCluster(name="lolwut",
                      image='ghcr.io/dask/dask:latest',
                      n_workers=3,
                      resources={"requests": {"memory": "2Gi"}, "limits": {"memory": "64Gi"}})

client = Client(cluster)

import dask_bigquery

ddf = dask_bigquery.read_gbq(
    project_id="sandbox",
    table_id="customer_balance_record",
    dataset_id="data_analytics"
)

ddf.head()

I get the following:
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-29-92e93eb48fbd> in <module>
      7 )
      8
----> 9 ddf.head()

~/.local/lib/python3.8/site-packages/dask/dataframe/core.py in head(self, n, npartitions, compute)
   1261         # No need to warn if we're already looking at all partitions
   1262         safe = npartitions != self.npartitions
-> 1263         return self._head(n=n, npartitions=npartitions, compute=compute, safe=safe)
   1264
   1265     def _head(self, n, npartitions, compute, safe):

~/.local/lib/python3.8/site-packages/dask/dataframe/core.py in _head(self, n, npartitions, compute, safe)
   1295
   1296         if compute:
-> 1297             result = result.compute()
   1298         return result
   1299

~/.local/lib/python3.8/site-packages/dask/base.py in compute(self, **kwargs)
    313         dask.base.compute
    314         """
--> 315         (result,) = compute(self, traverse=False, **kwargs)
    316         return result
    317

~/.local/lib/python3.8/site-packages/dask/base.py in compute(traverse, optimize_graph, scheduler, get, *args, **kwargs)
    598         postcomputes.append(x.__dask_postcompute__())
    599
--> 600     results = schedule(dsk, keys, **kwargs)
    601     return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])
    602

~/.local/lib/python3.8/site-packages/distributed/client.py in get(self, dsk, keys, workers, allow_other_workers, resources, sync, asynchronous, direct, retries, priority, fifo_timeout, actors, **kwargs)
   3094                     should_rejoin = False
   3095             try:
-> 3096                 results = self.gather(packed, asynchronous=asynchronous, direct=direct)
   3097             finally:
   3098                 for f in futures.values():

~/.local/lib/python3.8/site-packages/distributed/client.py in gather(self, futures, errors, direct, asynchronous)
   2263             else:
   2264                 local_worker = None
-> 2265             return self.sync(
   2266                 self._gather,
   2267                 futures,

~/.local/lib/python3.8/site-packages/distributed/utils.py in sync(self, func, asynchronous, callback_timeout, *args, **kwargs)
    337             return future
    338         else:
--> 339             return sync(
    340                 self.loop, func, *args, callback_timeout=callback_timeout, **kwargs
    341             )

~/.local/lib/python3.8/site-packages/distributed/utils.py in sync(loop, func, callback_timeout, *args, **kwargs)
    404     if error:
    405         typ, exc, tb = error
--> 406         raise exc.with_traceback(tb)
    407     else:
    408         return result

~/.local/lib/python3.8/site-packages/distributed/utils.py in f()
    377                 future = asyncio.wait_for(future, callback_timeout)
    378             future = asyncio.ensure_future(future)
--> 379             result = yield future
    380         except Exception:
    381             error = sys.exc_info()

~/.local/lib/python3.8/site-packages/tornado/gen.py in run(self)
    760
    761                     try:
--> 762                         value = future.result()
    763                     except Exception:
    764                         exc_info = sys.exc_info()

~/.local/lib/python3.8/site-packages/distributed/client.py in _gather(self, futures, errors, direct, local_worker)
   2126                             exc = CancelledError(key)
   2127                         else:
-> 2128                             raise exception.with_traceback(traceback)
   2129                         raise exc
   2130                     if errors == "skip":

/opt/conda/lib/python3.8/site-packages/distributed/protocol/pickle.py in loads()

ModuleNotFoundError: No module named 'dask_bigquery'

However, if I were to drop the client = Client(cluster), I get the right results. Any ideas?

The ghcr.io/dask/dask:latest image you're using for you cluster doesn't have dask-bigquery installed in it by default. However, the docker images Dask maintains are extensible and allow for installing additional packages you may need. See  https://docs.dask.org/en/stable/deploying-docker.html#extensibility for more details

That was exactly it! I just had to build a new image with dask-bigquery and problem solved. Thank you!


Error if db-directory cannot be created or is not writable

@lava I have re-requested your review after integrating your feedback.


raidboss: ASS/S change teleport direction to final

This is a subjective change, but I think it's much more useful to know which direction the teleport is going to teleport you, rather than which direction it is pre-rotation.

also cc @Legends0 here for opinions on this change

This works for me. I think it provides additional information without additional complexity.

This is going to be subjective, but I expect some people will find this to be a confusing change because one of the more popular strategies (JP braindead) is taught by looking at which way your teleport starts pre-rotation (E or W) along with it's color (orange or blue), and not which way it will finish after rotation.

This is going to be subjective, but I expect some people will find this to be a confusing change because one of the more popular strategies (JP Banish) is taught by looking at which way your teleport starts pre-rotation (E or W) along with it's color (orange or blue), and not which way it will finish after rotation.

Hmm!  How does this strategy work?  The way we did it was "oranges north, blues south" + "if post-rotation is pointing outside then you start on the far outside".
I'm glad I posted this for a conversation.

it's the same resolution, but instead of thinking where you will be pointing post-rotation, a lot of people only look at where they are pointing pre-rotation (so less mental pre-visualization).  Pre-rotation pointing West end up far N (orange) or far S (blue), and pre-rotation pointing East end up middle-N (orange) or middle-S (blue).  There are several guides that use this way of thinking instead of visualizing the post-rotation, here is one sample:

Okeydoke.  Maybe I'll just close this and not merge it then, especially if this is a known strat.  Thanks for the feedback.