Error: the specified workspace is not found

Hi there. We are currently using pyadomd to build out a test script in Windows 10, and are receiving the following traceback upon execution:
  File "c:\Users\yuzhang\Documents\pbi-XMLA\python\pbi-XMLA.py", line 40, in <module>
    with pyadomd.Pyadomd(connection_string) as conn:
  File "C:\Users\yuzhang\AppData\Local\Programs\Python\Python310\lib\site-packages\pyadomd\pyadomd.py", line 158, in __enter__
    self.open()
  File "C:\Users\yuzhang\AppData\Local\Programs\Python\Python310\lib\site-packages\pyadomd\pyadomd.py", line 140, in open
    self.conn.Open()
  Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The specified Power BI workspace is not found.

Our code:
from sys import path
path.append(r'C:\Program Files\Microsoft.NET\ADOMD.NET\160')
import pyadomd

url = r'powerbi://api.powerbi.com/v1.0/myorg/UAT'
connection_string = f"Provider=MSOLAP;Data Source={url};\
                                    Initial Catalog=Active_Lgl_Decom-Tree;Persist Security Info=True;\
                                    Impersonation Level=Impersonate;\
                                    Encrypt=False;\
                                    User ID=app{APPLICATION_ID}@{TENANT_ID};Password={SECRET_TOKEN};"
query = """select
               [CATALOG_NAME] as DatabaseName,
               [SIZE] as Size
           from
               $SYSTEM.DBSCHEMA_CATALOGS"""

with pyadomd.Pyadomd(connection_string) as conn:
    with conn.cursor() as cursor:
        cursor.execute(query)
        for row in cursor:
            print(row)

We're sure that our URL is correct as we copied it directly from the workspace's settings in the Power BI interface. While we have reached out to Microsoft, we also wanted to check here as well to see if there are any known issues. Thank you!
@brianzy

Hi there. We are currently using pyadomd to build out a test script in Windows 10, and are receiving the following traceback upon execution:
  File "c:\Users\yuzhang\Documents\pbi-XMLA\python\pbi-XMLA.py", line 40, in <module>
    with pyadomd.Pyadomd(connection_string) as conn:
  File "C:\Users\yuzhang\AppData\Local\Programs\Python\Python310\lib\site-packages\pyadomd\pyadomd.py", line 158, in __enter__
    self.open()
  File "C:\Users\yuzhang\AppData\Local\Programs\Python\Python310\lib\site-packages\pyadomd\pyadomd.py", line 140, in open
    self.conn.Open()
  Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The specified Power BI workspace is not found.

Our code:
from sys import path
path.append(r'C:\Program Files\Microsoft.NET\ADOMD.NET\160')
import pyadomd

url = r'powerbi://api.powerbi.com/v1.0/myorg/UAT'
connection_string = f"Provider=MSOLAP;Data Source={url};\
                                    Initial Catalog=Active_Lgl_Decom-Tree;Persist Security Info=True;\
                                    Impersonation Level=Impersonate;\
                                    Encrypt=False;\
                                    User ID=app{APPLICATION_ID}@{TENANT_ID};Password={SECRET_TOKEN};"
query = """select
               [CATALOG_NAME] as DatabaseName,
               [SIZE] as Size
           from
               $SYSTEM.DBSCHEMA_CATALOGS"""

with pyadomd.Pyadomd(connection_string) as conn:
    with conn.cursor() as cursor:
        cursor.execute(query)
        for row in cursor:
            print(row)

We're sure that our URL is correct as we copied it directly from the workspace's settings in the Power BI interface. While we have reached out to Microsoft, we also wanted to check here as well to see if there are any known issues. Thank you!
@brianzy

Did you find the solution ?


Configuration:catch-all info showing in UI dialog unnecessary

Below info is unnecessary showing in dialog UI when in production model.
Configuration:catch-all ('welcome' dialog disable)
Configuration:catch-all (video)

Thanks for the heads-up, @mani2care!
This should be resolved in 1.8.2-rc2.
Please test and advise.

Thanks @dan-snelson  issue resolve with this new version

Addressed in 1.9.0.


Redefine the domain boundaries

Hi,
I try to make a simulation with a cloth (t-shirt) mesh and I have a problem with the size of the computational domain.
I have this error message:
[mpm.cpp:operator()@130] particle out of box or near boundary. Ignored.
It seems that, the domain size is by default: [0, 1]^3
How can we please, extend the boundaries and make the computation on a larger domain?

This is also my problem.
Could anyone please help?

Hi guys,
I don't think this repo will be further maintained, so this will not be implemented. However, you can always scale your scene to fit everything in [0,1]^3.
Best,
Yuanming


please add compatibilty for encoder-only models

any way to get support for XLM-RoBERTA, DeBERTA et similia models? (asking for those specific models mostly because they have 1+ B parameters versions, but could be extended to all BERT and encoder-only models in general)
i see that there was another issue asking the same things, there were any progress since then?

According to Mike, this is coming in early July

Hopefully :)

any update?

a bit of an offtopic, but longformer support would be nice as well


Adding support to parsing router logs

please wait on this, going to improve grok

@longnguyen11288 Any update? or should I close it for now?

Lets close this for now.
On 27 Mar 2015 00:03, "Ferran Rodenas"<EMAIL_ADDRESS>wrote:

@longnguyen11288 https://github.com/longnguyen11288 Any update? or
should I close it for now?
—
Reply to this email directly or view it on GitHub
https://github.com/frodenas/docker-logstash/pull/3#issuecomment-86809680
.


No tests

It's a shame this module does not have any unit tests. As such, I cannot use it, but good idea.

Yes, you're right. It's a shame that there's no test. Will work on this!

I've added test! Thanks for your opinion 👍


:sparkles: Unit test for securitypolicy

Signed-off-by: naveen<EMAIL_ADDRESS>
Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] PR title follows the guidelines defined in  https://github.com/ossf/scorecard/blob/main/CONTRIBUTING.md#pr-process

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?
Unit test for security policy https://github.com/ossf/scorecard/issues/435

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Thanks for the hard work! Unit tests keep coming!

👍


sort database.json

While you're at it, maybe you can add a test to ensure it's always sorted in the future?

done


Open Loop, Information Set and RegretMatching MCTS (amongst others)

Major change here is a set of MCTS enhancements to implement various algorithmic variants from the literature. This has involved some significant 'refactoring' of SingleTreeNode in particular. The major design point is that child nodes are no longer kept in an array with a fixed order, but in a Map keyed by the AbstractAction that leads to the node.
MCTSParams has also had a fair amount added to it:

SelectionPolicy can be ROBUST or SIMPLE. ROBUST (the old default) picks the final action based on the number of visits, while SIMPLE picks the action with the highest mean value.

RolloutsEnabled has been subsumed into RolloutLength. RolloutLength ==0 implies no rollouts.

OpenLoop can be FALSE or TRUE. FALSE is the old default, which assumes deterministic environments and does not advance the GameState as the Tree is descended. TRUE now supports OpenLoop MCTS, in which the game state is advanced on every iteration as we extend the tree. (For this reason I have added a copyCount as well as fmCallsCount, and for the moment set the fmCallsBudget to apply to the sum of the two; the old code was advancing fmCallsCount as the tree was descended, even though the FM was never called.)

OpponentTreePolicy has 3 values SelfOnly, Paranoid, Paranoid2. SelfOnly means that we ignore our opponents in the Tree, and only construct this using our actions. Paranoid2 is the original version - assuming that opponents are attempting to minimise our score. Paranoid is my version of this - I suspect, subject to feedback/review - that the Exploration bonus was misapplied in Paranoid2.

I have split RolloutLength into two parts: MaxTreeDepth and RolloutLength. MaxTreeDepth limits the depth of the tree (you'd never have guessed!), while RolloutLength now applies purely to the rollout outside the tree. This does mean that currently you cannot restrain  the sum of the two to a specific value - but it does mean that Monte Carlo Search is now supported with MaxTreeDepth=1, RolloutLength = High.

Redeterminise can be TRUE or FALSE. (FALSE is the old functionality). TRUE is a very simple form of Information Set MCTS that redeterminised the root game state used for each iteration. We should expect this to be significantly better on stochastic games.

TreePolicy can be any of UCB, AlphaGo, EXP3, RegretMatching. UCB is the standard logic, AlphaGo replaces the form of the UCB exploration term with that used by AlphaGo (instead of sqrt(logN / n) it uses sqrt(N) / (1 + n)).
EXP3 and Regret Matching implement the bandit algorithms of the same names instead of UCB. These have an exploration term, which is configured using exploreEpsilon as a new parameter (this is not used outside of these variants).

ColtExpress bug fix:
When the state was copied from a player's perspective using copy(playerID), there was an occasional problem with a bullet card being put into the stack of planned actions to replace an unseen card. This has now been fixed.

Exploding Kittens bug fix:
There was an edge case on a Favor action that caused an empty action list to be returned by fm._computeAvailableActions(). This occured when the target had no cards left in hand by the time the Favor triggered. This could occur for example when the target had cards when the Favor was played, but a sequence of Nopes meant it was empty by the time they had to GiveCards. In this case a GiveCard action is now provided with a target of -1 (interpreted as no cards to give..so just move on).

Virus bug fix. A small change to the forward model to prevent duplicate actions being created. For example with two Wild Virus cards in hand, two actions would be generated for each opponent card (this is technically all fine, but the new MCTS changes that key a map on AbstractAction was a little distressed). This also helps any algorithm by removing spurious duplicates from consideration.

Given that there are so many changes to MCTS, can we keep this as a separate algorithm and also leave the simpler version in? For those new to AI/Java/maybe even the framework, it would be useful to have a simple version in that is easier to understand.

@rdgain
I was all set to do this, and then on review of the code I had second thoughts - as actually I don't think the code changes are that major, or essentially more difficult to understand (I admit to being biased though). And having two (plus) separate MCTS algorithms could be more confusing? It could definitely be more bug-prone if we have the same code implemented in multiple places.
(I have now amended MCTS and PlayerParams to default to the original settings.)
Let's talk this over?


SwiftyJSON tvOS and tvOS Tests targets

Support for tvOS framework and test targets

Merged in xcode7.1 branch.


Add support for Matrix and List in LogText.jl

updated the function text_summary
added couple of tests

tensorboard autmatically makes tables and lists. we only have to log the tensors with correct dimensions and values.

Codecov Report

Merging #22 into master will increase coverage by 0.98%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
+ Coverage   75.12%   76.11%   +0.98%
==========================================
  Files          22       22
  Lines         193      201       +8
==========================================
+ Hits          145      153       +8
  Misses         48       48

Impacted Files
Coverage Δ

src/Loggers/LogText.jl
96% <100%> (+1.88%)
:arrow_up:

Continue to review full report at Codecov.

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

Very nice!


Make an OTTR Website

We need a way that's easier for people to get acquainted to the purposes and goals of ottr without overwhelming newbies with all the features.
We can use @carriewright11 's OTTR_Template_Website to make this.
I'll look for a domain name to get started.

domain name is ottrproject.org and here's where I'm working on the website: https://github.com/jhudsl/ottr-website/blob/main/.github/workflows/render-site.yml


Working with except ImportError

I often write code like this, precisely to try to support Pythons such as Transcrypt:
try:
    from reprlib import recursive_repr as _recursive_repr
    _recursive_repr_if_available = _recursive_repr()
except ImportError:
    def _recursive_repr_if_available(function):
        return function

Unfortunately, Transcrypt compilation ignores this. It tries to import reprlib, which tries to import get_ident from _thread, which raises an ImportError as expected. But then it aborts with an error.
Of course, if I'm reusing my own Python libraries with Transcrypt, I'll can manually replace that whole thing with just the except block and compile again. But this is a manual step, which doesn't scale very well, especially for third-party libraries.
It would be nice it Transcrypt identified simple variations of this pattern: is the import in a try? did one of the excepts contain ImportError? then just compile the except body in place of the whole try-catch.

Preempting "Transcrypt doesn't try to support third party Python libraries":
This is an example of library code that is actively trying to do all the work needed to make itself work on Transcrypt.
Are there any alternative ways to write general Python code that can gracefully degrade in the absence of certain imports that would work on Transcrypt?

That last example is particularly interesting because it seems to fail at the dummy_thread import (whereas the reprlib import in the first example fails at its from _thread import).
Which makes me think that you're already support most of this functionality (because how else would you get to from dummy_thread import, if not by following the first two except ImportError clauses?).
So maybe all that's missing is falling through to the polyfilling code case at the end, if there is one?

Ohhhh! I see. Transcrypt compilation is just following all imports, across all the try-except blocks. It only seems like it's falling through in that last example, because it ends up trying or at least reporting the dummy_thread failure first. Then if you implement dummy_thread.py, it fails at the from thread import instead, and so on.
So it's effectively penalizing code which attempts to support two or more different possible imports, and users of that code, because now users of code that does the above triple-fallback have to implement all three (of course they can copy/link the same file with the dummy return 0 implementation into all three module names, but that's still more overhead all because the library tried to do a good helpful thing for implementations like Transcrypt and their users).

To be fair, I think the other side of this argument looks something like this:

libraries generally should assume that the features they want exist, and can be found at their normal paths/names, because

it is an external-to-the-library responsibility to ensure that the stuff it needs (or an acceptably gracefully-degraded polyfill) is present, so

libraries should just not try to do conditional imports like that, and in fact help portability if they keep their imports naive to these issues.

I'm not sure if that holds up in all cases, but I think it's a good perspective, and is compelling enough that I can see how someone might argue that Transcrypt would do more good by actively and deliberately refusing to cooperate with except ImportError, even if the functionality was free, or even by removing the functionality as a deliberate breaking change if it was already available.

I guess the reason is that the Transcrypt imports are compile time. You may be able to approach this from a different angle, using pragma's.
For example, the 'skip' directive can be used to indicate code that should be executed only by CPython (in other words not compiled to js) and 'ecom' can be used to include code that will only be executed by Transcrypt (compiled to js).

Thanks @fzzylogic! That does seem like it could work, and I think that's a sufficient solution and answer from Transcrypt.
I'm increasingly convincing myself of the philosophy expressed in my last comment: that such compatibility is not the library's responsibility, and is more appropriately solved at a higher level. So now I'm thinking that really I should always just unconditionally do things like from reprlib import recursive_repr or from _thread import get_ident as _thread_id, and if someone is using my libraries on Transcrypt, it is fair and in fact good if they themselves polyfill _thread.get_ident or whatever as needed.
Of course, that doesn't have to be a manual thing - if this is a common enough need, there could be another tool, a transpiler kinda like Transcrypt, specifically focused on "backpiling"/"portapiling" new code to more broadly/backwards-portable code, and injecting minimally-sufficient or gracefully-degraded polyfills of the stuff that it finds it used but unavailable.
And of course, such a backpiler/portapiler could generate the Transcrypt pragmas when targetting Transcrypt, and would both remove the need for such conditional imports in code, and would be a better and more natural place to focus all the effort and intelligence of parsing and interpreting conditional imports. And from that vision, it's both justified and in fact better for Transcrypt to stay focused on the problem of Python-to-JavaScript transpiling and not put any effort into handling conditional imports.


How do i add 2 video sources?

I tried to read all of instructor but i can't find the solution to add more source or separated for HQ-video button and SD-video.
I can only add just 1 source video on 1 player. Is it possible to add 2 video sources on 1 player?

Hi @nathapol1992, currently the player only allows 1 video source. The ability to add multiple sources is a feature which will be considered in future versions. Thank you very much for your feedback.


Add support new browsers Mac OS

Added darwin support for the following browsers:

Chrome canary
Chromium
Firefox nightly

Thanks!


No screenshots in custom SelenideDriver using non-Selenide asserts

Code to reproduce:
@Listeners({ScreenShooter.class})
public class Main {
    @Test
    public void main() {
        SelenideDriver driver = new SelenideDriver(new SelenideConfig());
        driver.open("https://google.com");
        assertTrue(false);
    }
}

looks like it's not making screenshots because com.codeborne.selenide.Screenshots is using default static driver only driver()

Good catch.
For me Screenshots as static thing should known nothing about screenshots from non-static SelenideDriver. But now it is coupled with ScreenShotLaboratory that's why we have such strange things.

@vlad-velichko Yes, but I don't see how it could be possible. ScreenShooter listener cannot get access to your  local variable driver.

@asolntsev can ScreenShooter get a list of all started drivers and make screenshots from all? It would be very nice to get a kinda environment screenshot

I don't understand why it's needed. The wish to have access to "current" driver(s) is contradictory to the wish to create your own SelenideDriver instance. The initial assumption was that SelenideDriver  is needed for people who want to explicitly manage the driver and avoid any kind of "magic" (ThreadLocals, static methods etc.)
@vlad-velichko Why do you need to create SelenideDriver instance manually?

I test softphone. I need 2-4 independent browser windows at the same time. Test looks like
    Given user A is logged in
    And user B is logged in
    When user A calls user B
    Then user B is getting incoming call
    ...

If this bug is not possible to fix, then would be nice to have at least a comment about limitations in ScreenShooter

@vlad-velichko Maybe it's easier to use 2-4 browsers using method using. :)
See
https://selenide.org/2019/10/16/selenide-5.4.0/#add-method-using

If this bug is not possible to fix, then would be nice to have at least a comment about limitations in ScreenShooter

Thank you for the suggestion. I added comment to ScreenShooter: https://github.com/selenide/selenide/commit/23c6936c69adcfdfc36532b3da18205816b663f8


Add Persian (Iran) language

@Mahdi-Farhani Looks nice! The only thing i'm concerned - are those version changes in package-lock.json relevant? Looks like you are updating version of the package itself, but you do downgrade some dependencies. Is there any reason for that?

@Mahdi-Farhani Looks nice! The only thing i'm concerned - are those version changes in package-lock.json relevant? Looks like you are updating version of the package itself, but you do downgrade some dependencies. Is there any reason for that?

Hi, I do not change anything and I don't know why the package-lock is changed. You can Ignore these changes.

@Mahdi-Farhani I'm afraid i can't remove file from the PR, but you can.

@Mahdi-Farhani I'm afraid i can't remove file from the PR, but you can.

done

@Mahdi-Farhani Sorry for delay :) Well, you are committing file removal, not removing the file from commit. I think you should go back and cancel that change completely.
I can't guarantee, that it will work for you, but you could try following:
git rebase -i HEAD~3
an editor will open. For the last commit, that deletes the file, replace pick with d and for the middle commit replace pick with e Save the file then and close the editor.
You should be editing the middle commit now. Please issue the following commands:
git reset --soft HEAD~1
git reset HEAD package-lock.json
git commit -c ORIG_HEAD
git rebase --continue
This should remove the 'package-lock.json' file from you PR and then you can do a force push.

@Mahdi-Farhani, just commit original package-lock.json file from master branch and it will be "removed" from your PR.


How to hide mydomain.com/comments and mydomain.com/comments/comment-1 from public view in browser?

Hi there,
I have been hiding a few of the "pages" (folders within the content folder within Kirby's setup) so that no one can reach them from the browser. For example, I have parent pages for each of my image galleries that holds the images as children which are then pulled into the actual post page: I don't want anyone to go to the gallery parent page. I have been using this method from Kirby docs:
https://getkirby.com/docs/cookbook/authentication#protecting-content
which instructs to simply add <?php if(!$site->user()) go('/') ?> at the top of templates to hide.
Then I tried it on the comments and comment templates, located within the site/plugins/comments/plugin folder. However, I get a breaking error of "Undefined variable: site" because $site cannot be recognized in these deep down files, I think.
I do not know PHP (or Kirby?) quite enough to figure out how to define $site from the vantage point of these deep plugin files. Do you know how to fix this? Or if there is another way to prevent the /comments and /comments/comment-1, etc pages from being reached by the public?
Thanks so much!

You can create custom templates for comments- and comment-pages by creating site/templates/comments.php and/or site/templates/comment.php. There you can place any template code you would like, e.g. <?php if (!$site->user()) go('/') ?>.

Wow, thanks! That worked perfectly.


Feature request: start the timer with an initial time, but continue counting up

I have a use case where I want to store the previous time from a stopwatch, and continue counting up. Would it be possible to make a more explicit "mode" prop instead of initialTimeInMs? Thanks!

I don't have time to extend the library atm, but any PRs are more than welcome!

it's a shame really, its a really good component it should support this

A new mode prop has been added to control the component mode.
Available on the latest version https://github.com/rgommezz/react-native-animated-stopwatch-timer/releases/tag/v1.1.0


bluetooth: tester: Fix copy paste issue in config_mod_sub_ovw

stuct btp_mesh_cfg_model_sub_add_cmd was used instead of struct btp_mesh_cfg_model_sub_ovw_cmd for parsing command.

depends on https://github.com/zephyrproject-rtos/zephyr/pull/55737


Feature/add follows

:tada: This PR is included in version 3.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Sort discussions by upvotes

Description
This would allow e.g. getting the most desired features.
Screenshot
No response
Example URL
https://github.com/sindresorhus/got/discussions

Already brought up in #4993, but I guess worth a dedicated issue.

Is this really feasible for RGH?
Unless there's a native implementation that we can make easier to apply or access, doesn't this mean a lot of API calls + replacing a huge chunk of the DOM?

This was also kind of discussed for issues but we ended up implementing it as a link to the best comment instead:

https://github.com/refined-github/refined-github/issues/1898

I think the same reasons apply to discussions, with the addition that discussions are a relatively much rarely-used feature.

?sort=top

🤔 is it not this?
https://github.com/sindresorhus/got/discussions?discussions_q=sort%3Atop

I can't believe it was there the entire time 🙈


request: scroll bar in error window

Sometimes the error messages are very long (greater than the height of my monitor) and i'm unable to read the end of the error messages. It would be helpful if there was a scroll bar in the error message window.
note: error message window refers to the window that pops up when you run invalid sql such as select 1 fromfrom

Good point.


How to do temperature tuning while model inferencing

I am using this code for openchat
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name ="openchat/openchat_3.5"
modelObject = AutoModelForCausalLM.from_pretrained(model_name,device_map="auto", torch_dtype=torch.bfloat16)
tokenizerObject = AutoTokenizer.from_pretrained(model_name)
prompt="<prompt>"
 model_input = tokenizer_open_chat(prompt, return_tensors="pt").to("cuda")
response = tokenizerObject.decode(modelObject.generate(**model_input, max_length=1024*6)[0], skip_special_tokens=True,do_sample=True,temperature=0)
   print(response)

But i am observing that the temparature has no effect in the inference. The strange thing is that if I am wrongly typed the key temperature, still it is not showing any errors.
So how can resolve this issue and tune temperature here?

The temperature should be passed to the generate method instead of tokenizer decode. Here is the corrected code
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_name ="openchat/openchat_3.5"
modelObject = AutoModelForCausalLM.from_pretrained(model_name,device_map="auto", torch_dtype=torch.bfloat16)
tokenizerObject = AutoTokenizer.from_pretrained(model_name)
prompt="<prompt>"
 model_input = tokenizer_open_chat(prompt, return_tensors="pt").to("cuda")
response = tokenizerObject.decode(modelObject.generate(**model_input, max_length=1024*6, do_sample=True,temperature=0)[0], skip_special_tokens=True)
   print(response)


Children shouldn't show up on invite users page

Originally created by Tom Smyth at 2017-01-21 03:49, migrated from redmine-#5751

Category set to Public Release

By Tom Smyth at 2017-01-26 06:30

Status changed from New to Closed

By Tom Smyth at 2017-01-26 07:18

Version set to 3.0.4

By Tom Smyth at 2017-01-26 19:39


Replaces Flask-Cache with Flask-Caching and adds Python 3.7 support

Flask-Cache was failing on Python 3.7 and as the project is unmaintained I replaced it with the maintained fork Flask-Caching.
This also adds Python 3.7 to the tests and setup.py. Python 2.6 tests are removed. The tests for 2.6 were failing and I didn't bother to check why as it is EOL for almost 5 years.
Fixes Flake8 issues which were introduced by updating the linter Python version.

Travis doesn't support Python 3.7 yet, that is why the test failed. See: https://github.com/travis-ci/travis-ci/issues/9069


Updated   Cartoonification  Readme File

Related Issuse or bug
Readme Improvement for Cartoonification Readme File #437
Proposed Changes

Info about changes Goes here

Additional Info

Anything related Issues

Screenshots

Original
Updated

Original Readme File :

|
Updated Readme File :

|

can you add all your images by creating a separate folder named "images" in cartoonifiaction folder

Sure , no problem

hey,@akshitagupta15june I'm Adding All Image Assets Folder


Implemented all the UI Changes

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Looks like an unintentionally public PR, closing.


Replace current playing track in queue

Discussed in https://github.com/doublesymmetry/react-native-track-player/discussions/1628

Originally posted by russriser July 31, 2022
Hiya, I'm working on a problem and would like to know the best way to go about it, as I can think of several ways to do what I want.
I have loaded a playlist of tracks into the queue that should play one-after-the-other if not interrupted by the user. However each track has multiple variants that the user should be able to switch to. If a user starts a track, say a "Guided Meditation," and then selects a track variant e.g. "with music" I believe I need to replace the currently playing audio track in the queue with the new variant, then start playing that new track.
I've tried the following
      await TrackPlayer.remove(trackIndex);
      await TrackPlayer.add(
        {
          url: trackVariant.url,
          title: currentTrack.title,
          album: currentPlaylist.title,
        },
        trackIndex
      );
      await TrackPlayer.play();

However the audio doesn't actually switch, it continues playing the old variant. I've tried adding a skipToPrevious() followed by a skipToNext() but this didn't work either.
Do I need to do a reset() in order for this to work? I am trying to avoid this.
  </div>

Hi, thanks for making the issue. I didn't open one because the root of my problem seems to be intended functionality, as stated here: #1442
I am wondering how other people might be getting around the limitation.
If there is something that is issue-worthy, it's this:
You can't replace the "currently playing track" even after using the TrackPlayer.stop function. Since the current track index remains in place and the remove function doesn't remove anything in that index.
I was able to work around the issue, but I had to run stop, skipToPrevious, remove(index + 1), add(track, index + 1), skipToNext, play ....in that order

Hi,
Just a thought; Could you add(track, currentTrackIndex + 1), skipToNext so the user will hear the new track added, and then run remove(indexToBeRemoved) while the other track already started to play?
That said, remove should perhaps work on the current index as well, or it should be documented that remove indeed does not work for the current index if that's the case?

I agree with @martinmidtsund . It's not clear to me what the library should handle natively, when I think about it handling this natively effectively would just advance the queue position which is the same thing as calling skip, so I'm not sure how valuable it is. So I'm thinking documentation is best.
@dcvz, how do you want to handle an attempt to remove the currently playing track from the queue?

Looks like there's a good workaround for this, so I'm closing it.

@jspizziri and what is the workaround? I just also ran into this problem

const WorkTrackPlayer = async () => {
const path = ${user.cdnPath}fileupload/audiofile/${content?.audioFile}.wav;
try {
  var q = await TrackPlayer.getQueue();

  if(q.length > 0)
    await TrackPlayer.remove(0);
} catch{
  await TrackPlayer.setupPlayer();
}

// await TrackPlayer.setupPlayer();
await TrackPlayer.add({
  url: path,
  id: content?.publicId,
  title: 'Track Title',
  artist: 'Track Artist',
});

};
useEffect(() => {
if (content) {
// const path = ${user.cdnPath}fileupload/audiofile/${content?.audioFile}.wav;
// console.log('audio path -> ', path)
fullSetupTrackPlayer();
  const fullPaths = _.map(content?.gallery, (item: FileBasicDataType) => `${user.cdnPath}${item.filePath}${item.fileName}`);
  setGallery(fullPaths);

  setRegion({...region,latitude: content.lat,longitude: content.lng});

  setAvailableRoutes(content?.routes)
};

}, [content])
I solved the problem on iOS by using try catch in the code above.
I hope someone benefits from it.


Can't edit existing tasks, Exception thrown

If I try to edit a trigger (let's say the time) of an existing scheduled task using this code:

using (var taskEditDialog = new TaskEditDialog(_tlv.Tasks[_tlv.SelectedIndex], true, false))
{
taskEditDialog.RegisterTaskOnAccept = true;

if (taskEditDialog.ShowDialog() == DialogResult.OK)
{
var t = taskEditDialog.Task;
}
}

I get the following error:

System.NullReferenceException was unhandled
Message=Object reference not set to an instance of an object.
Source=Microsoft.Win32.TaskScheduler
StackTrace:
at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTaskDefinition(String Path, TaskDefinition definition, TaskCreation createType, String UserId, String password, TaskLogonType LogonType, String sddl)
at Microsoft.Win32.TaskScheduler.TaskEditDialog.okBtn_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at TaskSchedulerTest.Form1.EditTask() in C:\Projects\Temp\TaskSchedulerTest\TaskSchedulerTest\Form1.cs:line 109
at TaskSchedulerTest.Form1.btnEdit_Click(Object sender, EventArgs e) in C:\Projects\Temp\TaskSchedulerTest\TaskSchedulerTest\Form1.cs:line 95
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at TaskSchedulerTest.Program.Main() in C:\Projects\Temp\TaskSchedulerTest\TaskSchedulerTest\Program.cs:line 18
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
Originally posted: 2012-03-02T12:57:49

First, the third parameter of the constructor for TaskEditDialog sets the RegisterTaskOnAccept property. You could eliminate setting the property separately by simply setting the constructor's parameter to True.
Secondly, I have run this code on both Win7 and XP without any problems. I would check to make sure the value of _tlv.Tasks[_tlv.SelectedIndex] is returning a valid task and that the Task.Definition.Principal does not specify LogonType that requires a password. If so, then the task cannot be automatically re-registered and needs to be done manually after getting the TaskDefinition back from the TaskEditDialog.
Originally posted: 2012-03-02T17:57:27

OK, I have update the code:
using (var taskEditDialog = new TaskEditDialog(_tlv.Tasks[_tlv.SelectedIndex], true, true))
{
if (taskEditDialog.ShowDialog() == DialogResult.OK)
{
var t = taskEditDialog.Task;
}
}
No change in behavior, same exception.
The value if the selected object is of course set, because the edit dialog show the actual Task. As soon as I edit the Trigger Time and click Ok->Ok it crashes. The scheduled task is set to run with my own account, the very same I run my code with.
BTW, I just noticed that the "Run Times" tab in the edit dialog says:
Unable to show the run times for this task.
Error: System.NullReferenceException: Onject reference not set to an instance of an object. at Microsoft.Win32.TaskScheduler.TaskFolder.REgisterTaskDefinition(String Path, TaskDefinition definition, TaskCreation createType, String UserId, String password, TaskLogonType LogonType, String sddl)
Originally posted: 2012-03-03T10:56:10

A small update, I don't even have to change anything. Just open the TaskEdit dialog and  click OK, I get the same Exception.
Originally posted: 2012-03-03T11:02:42

I have attached a simple test program that crashes for me all the time. One thing to note is that is uses folders. What am I doing wrong that causes it to crash?
Originally posted: 2012-03-03T11:07:50

I think your problem has something to do with how you use the 'using' statement all over and the objects are disposed before they can re-register the task and the incorrect use of the HighestSupportVersion test for systems later than XP. I have uploaded a new Form1.cs file with much simpler code using class properties that does not throw the exception. Please try and let me know if your problem still persists.
Originally posted: 2012-03-04T00:04:59

Great, that seems to work better. But How can I persist the changes back to the TaskService?
Edit works on the Task I have given to the TaskEditDialog, but how to save it back?
Originally posted: 2012-03-04T14:50:27

Once you have a task, passing it to the TaskEditDialog with the RegisterTaskOnAccept set to true or through the third parameter on the constructor, will post the changes back to TaskService. If you need to make changes to a task outside of the editor you can call the RegisterChanges method on the task.
Originally posted: 2012-03-04T20:07:18

Originally posted: 2012-03-04T20:08:22


Move term colors to different repository

It would be really nice to have support for other terminals out there.
This site could be helpful generating other configurations http://terminal.sexy/ :)

hi @peteyy, thx for suggestion will do this soon 👍

@dempfi can you submit your themes to https://github.com/mbadolato/iTerm2-Color-Schemes? They have scripts to automatically port to different terminal emulators, too. There seems to be existing themes for ayu-light and ayu-dark, but if this repo contains the official ones they should probably be replaced.

Also, if you do that, the *.termcolors files should be specified using
<key>Color Space</key>
<string>sRGB</string>

instead.

@dempfi How do you want help on this one?


Add new xml styles

Release notes: https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes-v16.3#net-productivity-163P1
Description:
There is now Quick Info style support for XML comments. Place the cursor over the method name. Quick Info will then display the supported styles from the XML comments above the code.
Some styles we will recommend and others we will not (though we do support them). Documentation should only highlight the syntax we recommend: https://github.com/dotnet/roslyn/issues/37505

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

ID: d705255d-06b6-5980-a525-5766f8c60ddc
Version Independent ID: f832369d-1fd1-ebe9-7e64-e098c110f68c
Content: Insert XML documentation comments - Visual Studio
Content Source: docs/ide/reference/generate-xml-documentation-comments.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@mikadumont for review/visibility.

Closed by https://github.com/MicrosoftDocs/visualstudio-docs-pr/pull/6178


stateEngine: Fix two incorrect xml references

When starting a preTest script, console output would be like
"starting preTest script System.XML.XmlElement"
If VM become unable to start after running setupScript, test case
name in test result will be set to "System.XML.XmlElement"

found another incorrect reference, working on it,
closing this pr for now, will return with another patch for that

One more patch for another similar issue


Change 'Value' to 'Values' to be consistent

Not as important, so moved these changes into separate PR. Just to be consistent – seems like most of the rules have "Values" instead of "Value".

Coverage remained the same at 97.69% when pulling 62c34e4f966ce075c53716811d30492e1ac509a9 on MunGell:fix/doc-values-consistent into 038e20ff262cea691e513c9439b948bbbd80c151 on jscs-dev:master.

It seems like It should be value if there is only one choice, and values if there is more.

Agreed with @TheSavior here. Would you mind making that change where appropriate @MunGell? That would be a great win for the docs.

And as a side note, is this something that we could automate ourselves for the future? Anything that can be enforced by linters or tests is better than manual checking and enforcing down the line.

Seems like it would depend on #480.

Not necessarily. I could see us trying to generate those doc blocks automatically, but I could also imagine us trying to figure out what a custom jscs rule (or another system if there was a better way) to validate the contents of docblocks.

I was thinking about changing it to singular form where necessary, but it is looking like we are using just one form in all the rules. I can change it, should I do the same for "Type"/"Types"?

Yes please. The docs should be grammatically correct.
On Mar 17, 2015 4:13 AM, "Shmavon"<EMAIL_ADDRESS>wrote:

I was thinking about changing it to singular form where necessary, but it
is looking like we are using just one form in all the rules. I can change
it, should I do the same for "Type"/"Types"?
—
Reply to this email directly or view it on GitHub
https://github.com/jscs-dev/node-jscs/pull/1174#issuecomment-82195775.

Hey guys,
This should be corrected now, please take a look at the diff.

Coverage remained the same at 99.09% when pulling 51c262649d69ca6aea04e99efe0e960fb1f460ae on MunGell:fix/doc-values-consistent into 8c8b856e3a91af6fa67775efd95d8e3775b09f29 on jscs-dev:master.

@MunGell Great work here! Thanks for contributing. Landed!


Make it possible to specify the sccache storage location via a flag.

This allows the cache to be stored outside the binary cache.

@swift-ci please test

I'm wondering if we want an option or just rely on the user to specify the environment variable?


Ignore the ElseAlignment and FrozenStringLiteralComment cops by default

These two cops which recently have been added to Rubocop do not make
sense for HAML files.
Fixes #114
Fixes #115

Thanks!


Error: Cannot find module '/home/userdir/dunder-lsp/dist/server.js'

When trying to start after install this error is present
$ npm start

<EMAIL_ADDRESS>start
node --max-http-header-size=800000 dist/server.js

node:internal/modules/cjs/loader:943
throw err;
^
Error: Cannot find module '/home/userdir/dunder-lsp/dist/server.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at Function.Module._load (node:internal/modules/cjs/loader:773:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}

Try running npm run build


SupportedEvents

This adds supportedEvents to iOS #272 .
Tested on iPhone 5s and huawei honor 7 with android 6.0.

So to understand this: We want to cache the event emitters for what reason? What problem do the supported events solve and why?

This solves #272

The event emitters probably don't need to be cached. I will change it when i have time.

Hi,
any news on when this might be merged? thanks!

:tada: This PR is included in version 5.3.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Software cursor is buggy on Wayland backend

Oddly, the cursor doesn't show up at all in weston, but I think that is probably related to something completely different.
It now shows up properly in sway.

Thanks!


Creating a custom twitter widget

Description

As twitter has imposed rate limits and is not allowing anyone who has not logged in to read tweets, we are seeing this:

What we can do is, create a custom twitter widget that displays tweet. All we will require is a twitter api key.
Additional Benefit
The dark mode and light mode logic will become much simpler. As I was working on #1242 for dark mode, I encountered several problems and then I had to settle on idea of removing the old and creating a new widget on each toggle switch, which leads to a slight delay, this can be observed in this preview: https://deploy-preview-1256--mesheryio-preview.netlify.app/

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Can someone assign me this issue?

Thanks for raising the issue, but since we have moved on from using the twitter embed for now, due to their public access request, we won't be moving ahead with this enhancement.


Latest 1.19.2 Forge edition crashes with exitcode 1

Latest 1.19.2 Forge edition crashes with exitcode 1

can you provide a crashlog please ?

Ticket closed due to age.
Multiple fixes and updates have since been done


added image details and size details to a node in dimension data driver

Status
Replace this: describe the PR status. Examples:

done, ready for review

Checklist (tick everything that applies)

[x] Code linting (required, can be done after the PR checks)
[ ] Documentation
[x] Tests
[ ] ICLA (required for bigger changes)

LGTM, :+1:

k, merging.


chore(deps): bump to alloy-core to 0.7.1 and alloy to 98da8b8

Updates to https://github.com/alloy-rs/core/releases/tag/v0.7.1
Required for Foundry's update to Alloy

cc @mattsse


librcat add file call does not set content type

Content-Type during download of file: ok

Content-Type of response after successfull upload: application/json

TODO: remove cookies from calls

https://github.com/ugent-library/biblio-backend/commit/bebaec3046ff59c72ab3f68802cf8567ff67ff84

ok


Class "CacheWerk\Relay\Credis\RelayCredisAdapter" missing

Class is missing in the repo
Fatal error: Uncaught Error: Class "CacheWerk\Relay\Credis\RelayCredisAdapter" not found in app/code/CacheWerk/Relay/Cache/Backend/Relay.php:52

We just tagged v0.1.1 that brings this package up to speed with Relay 0.5.0.
https://github.com/cachewerk/magento-relay/releases/tag/v0.1.1


Additional logic to call add_plan_entry

Additional logic to call add_plan_entry in place of add_run when a test run id is supplied but no run id

Calling pytest with following appended:
--testrail --tr-config=testrail.cfg --tr-password=MyRealPassword --tr-plan-id=70

Example output:
python3 -m pytest -m dashboard_leadmanager_listview_status --junitxml logs/out_report.xml --html /logs/out_report.html --variables /config/config.json --testrail --tr-config=testrail.cfg --tr-password=MyRealPassword --tr-plan-id=70
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
pytest-testrail: existing testplan #70 selected
rootdir: /, inifile:
plugins: variables-1.7.1, testrail-2.3.3, metadata-1.8.0, html-1.20.0, cov-2.6.1
collecting 46 items                                                            [testrail] New testrun created in  test_plan_id=70 with name "Automated Run 12-03-2019 21:26:26" and ID=150
collected 60 items / 59 deselected / 1 selected

tests/menu_walk/test_leadmanager_listview.py .                           [100%][testrail] Start publishing
[testrail] Testcases to publish: 647
[testrail] End publishing

Working on adding unit tests; is there example output of the current expected results? I've gotten the tests to run and am seeing a depreciation warning that I assume is currently in there, but I'm also going to include some version bumps on the pytest dependencies.

This Travis build failure is confusing to me, would love to have a brief explanation why the failure occured.

@conversica-aaronpa I think Travis CI failed since you update versions of pytest and pytest-cov

@conversica-aaronpa I think Travis CI failed since you update versions of pytest and pytest-cov

Is there a reason to keep the older versions? External dependencies? Should I revert the change?

@conversica-aaronpa I think Travis CI failed since you update versions of pytest and pytest-cov

Is there a reason to keep the older versions? External dependencies? Should I revert the change?

@conversica-aaronpa I think Travis CI failed since you update versions of pytest and pytest-cov

Is there a reason to keep the older versions? External dependencies? Should I revert the change?

@conversica-aaronpa I think Travis CI failed since you update versions of pytest and pytest-cov

Is there a reason to keep the older versions? External dependencies? Should I revert the change?

I now think its time to drop support for py27, py3 is now mainstream. So can you update the tox to
[tox]
distribute = false
envlist = {py3}-test
skip_missing_interpreters = true
[testenv]
basepython =
    py3: python3
commands = py.test [] tests/test_plugin.py --junitxml=pytests_{envname}.xml --cov-report=xml --cov=pytest_testrail
deps =
    -rrequirements/testing.txt

@conversica-aaronpa I think Travis CI failed since you update versions of pytest and pytest-cov

Is there a reason to keep the older versions? External dependencies? Should I revert the change?

I now think its time to drop support for py27, py3 is now mainstream. So can you update the tox to

Done: https://github.com/allankp/pytest-testrail/pull/92/commits/c81205c09ab9c903cc5ef8548329d08db936a238

Anyone interested in helping with this PR (still)? I'd like to get it merged, but am in the weeds on getting proper unit tests set up.

Anyone interested in helping on this PR? I'm using the code on a private branch, but don't have time to figure out how to satisfy the build requirements for this very simple but useful addition.

Closing this for now, don't have time at the moment to look at this. Its also become completely inactivate.

Yes, I couldn't figure out how to resolve the issues around running the tests, hence the inactivity.
I'm hopeful that the recent activity that has gone on will be helpful for my scenario, wanting to create test sets on the fly.


SN TPC Schema Update

Follow-up changes to the TPC submission schema:

Add preservation_type and preservation_medium properties to Tissue.
Make preservation_type an enum for Tissue and Sample
Make core_size a string enum
Add size_unit to Tissue to account for tissues measured in cm^2 instead of cm^3

So far I've just addressed Will's comments but will more carefully review when I have a chance.  However, I did notice that while you did include tests, the test inserts for tissue and tissue_sample could use some updates to account for these new and updated properties.  LMK if it is not clear what these are - they are located in: src/encoded/tests/data/inserts


fix: longer random string suffix on workflow name to avoid conflict

fixes  https://github.com/argoproj/argo-workflows/issues/6806 / https://github.com/argoproj/argo-workflows/issues/6807
Don't bother creating a PR until you've done this:

[x] Run make pre-commit -B to fix codegen, lint, and commit message problems.

Create your PR as a draft.

Your PR needs to pass the required checks before it can be approved. If the check is not required (e.g. E2E tests) it
does not need to pass.
Once required tests have passed, you can make it "Ready for review".
Say how how you tested your changes. If you changed the UI, attach screenshots.

Tips:

If changes were requested, and you've made them, then dismiss the review to get it looked at again.
Add you organization to USERS.md if you like.
You can ask for help!

maybe can pad length here https://github.com/argoproj/argo-workflows/blob/09987a6dd03c1119fa286ed55cc97a2f4e588e09/workflow/creator/creator.go#L31-L33 with random suffix


fix the incrementallyImg when in SDWebImageDownloaderProgressiveDownl…

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide
[x] I have read the Documentation
[x] I have searched for a similar pull request in the project and found none
[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)
[x] I have added the required tests to prove the fix/feature I am adding
[x] I have updated the documentation (if necesarry)
[x] I have run the tests and they pass
[x] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: ...
Pull Request Description
when use the SDWebImageProgressiveDownload opt we can not change the UIImageView background color,fix it
…oad opt

have  a  look ?

I don't understand what the issue is and how we are fixing it. Could you detail?

when I use the option SDWebImageDownloaderProgressiveDownload to loading a very large image,you use the CGImageSourceCreateWithData() function to make the image every time,and I can’t set the UIImageView backgroundcolor,because the image always in lightgray color,when use the function CGImageSourceUpdateData()  can fix the problem
e.x
[Incrementally Loading an Image]
https://developer.apple.com/library/content/documentation/GraphicsImaging/Conceptual/ImageIOGuide/imageio_source/ikpg_source.html#//apple_ref/doc/uid/TP40005462-CH218-SW3

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ad9f1a2). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #1645   +/-   ##
=========================================
  Coverage          ?   77.38%
=========================================
  Files             ?       27
  Lines             ?     2658
  Branches          ?        0
=========================================
  Hits              ?     2057
  Misses            ?      601
  Partials          ?        0

Impacted Files
Coverage Δ

SDWebImage/SDWebImageDownloaderOperation.m
82.73% <100%> (ø)

Continue to review full report at Codecov.

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


Fix check 3.3

0e43a05d167d2bc569db08e668a6bf27fc82e90d introduced an issue with check 3.3 due to an unescaped variable.

All good, thanks for merging so quickly!


feat(demo): automatically install dependencies if missing when first …

…running a demo related task

Coverage remained the same at 93.023% when pulling 6bdef18a69c77ae2bb05894f984ba3b5d141e62a on feat-demo-deps into 091dfa142c6ce6d533102fd0f04a7be05c876493 on dev.


Cannot "make install" on M1 Mac

The cmake . step goes well, but the make install step fails due to error: use of undeclared identifier '__builtin_aarch64_set_fpcr'.
➜  ~ sw_vers
ProductName:	macOS
ProductVersion:	12.5.1
BuildVersion:	21G83
➜  ~ arch
arm64

full traceback here

➜  clones git clone git@github.com:Maratyszcza/FP16.git
Cloning into 'FP16'...
remote: Enumerating objects: 293, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 293 (delta 2), reused 3 (delta 0), pack-reused 286
Receiving objects: 100% (293/293), 108.77 KiB | 928.00 KiB/s, done.
Resolving deltas: 100% (161/161), done.
➜  clones cd FP16
➜  FP16 git:(master) cmake .
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.24.1/share/cmake/Modules/GNUInstallDirs.cmake:243 (message):
  Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
  target architecture is known.  Please enable at least one language before
  including GNUInstallDirs.
Call Stack (most recent call first):
  CMakeLists.txt:3 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- The C compiler identification is AppleClang <IP_ADDRESS>60021
-- The CXX compiler identification is AppleClang <IP_ADDRESS>60021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Downloading PSimd to /Users/singingwolfboy/clones/FP16/psimd-source (define PSIMD_SOURCE_DIR to avoid it)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/singingwolfboy/clones/FP16/psimd-download
[ 11%] Creating directories for 'psimd'
[ 22%] Performing download step (git clone) for 'psimd'
Cloning into 'psimd-source'...
Already on 'master'
Your branch is up to date with 'origin/master'.
[ 33%] Performing update step for 'psimd'
[ 44%] No patch step for 'psimd'
[ 55%] No configure step for 'psimd'
[ 66%] No build step for 'psimd'
[ 77%] No install step for 'psimd'
[ 88%] No test step for 'psimd'
[100%] Completed 'psimd'
[100%] Built target psimd
-- Downloading Google Test to /Users/singingwolfboy/clones/FP16/googletest-source (define GOOGLETEST_SOURCE_DIR to avoid it)
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.24.1/share/cmake/Modules/ExternalProject.cmake:3071 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set.  The policy's OLD behavior will be used.  When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes.  The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want.  Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.24.1/share/cmake/Modules/ExternalProject.cmake:4167 (_ep_add_download_command)
CMakeLists.txt:6 (ExternalProject_Add)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/singingwolfboy/clones/FP16/googletest-download
[ 11%] Creating directories for 'googletest'
[ 22%] Performing download step (download, verify and extract) for 'googletest'
-- Downloading...
dst='/Users/singingwolfboy/clones/FP16/googletest-download/googletest-prefix/src/release-1.8.0.zip'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/google/googletest/archive/release-1.8.0.zip'
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 14% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 30% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 37% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- verifying file...
file='/Users/singingwolfboy/clones/FP16/googletest-download/googletest-prefix/src/release-1.8.0.zip'
-- Downloading... done
-- extracting...
src='/Users/singingwolfboy/clones/FP16/googletest-download/googletest-prefix/src/release-1.8.0.zip'
dst='/Users/singingwolfboy/clones/FP16/googletest-source'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 33%] No update step for 'googletest'
[ 44%] No patch step for 'googletest'
[ 55%] No configure step for 'googletest'
[ 66%] No build step for 'googletest'
[ 77%] No install step for 'googletest'
[ 88%] No test step for 'googletest'
[100%] Completed 'googletest'
[100%] Built target googletest
-- Downloading Google Benchmark to /Users/singingwolfboy/clones/FP16/googlebenchmark-source (define GOOGLEBENCHMARK_SOURCE_DIR to avoid it)
CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.24.1/share/cmake/Modules/ExternalProject.cmake:3071 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set.  The policy's OLD behavior will be used.  When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes.  The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want.  Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.24.1/share/cmake/Modules/ExternalProject.cmake:4167 (_ep_add_download_command)
CMakeLists.txt:6 (ExternalProject_Add)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/singingwolfboy/clones/FP16/googlebenchmark-download
[ 11%] Creating directories for 'googlebenchmark'
[ 22%] Performing download step (download, verify and extract) for 'googlebenchmark'
-- Downloading...
dst='/Users/singingwolfboy/clones/FP16/googlebenchmark-download/googlebenchmark-prefix/src/v1.2.0.zip'
timeout='none'
inactivity timeout='none'
-- Using src='https://github.com/google/benchmark/archive/v1.2.0.zip'
-- verifying file...
file='/Users/singingwolfboy/clones/FP16/googlebenchmark-download/googlebenchmark-prefix/src/v1.2.0.zip'
-- Downloading... done
-- extracting...
src='/Users/singingwolfboy/clones/FP16/googlebenchmark-download/googlebenchmark-prefix/src/v1.2.0.zip'
dst='/Users/singingwolfboy/clones/FP16/googlebenchmark-source'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 33%] No update step for 'googlebenchmark'
[ 44%] No patch step for 'googlebenchmark'
[ 55%] No configure step for 'googlebenchmark'
[ 66%] No build step for 'googlebenchmark'
[ 77%] No install step for 'googlebenchmark'
[ 88%] No test step for 'googlebenchmark'
[100%] Completed 'googlebenchmark'
[100%] Built target googlebenchmark
CMake Deprecation Warning at googletest-source/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at googletest-source/googlemock/CMakeLists.txt:41 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Deprecation Warning at googletest-source/googletest/CMakeLists.txt:48 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Found PythonInterp: /Users/singingwolfboy/.pyenv/shims/python (found version "3.10.3")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Git: /usr/bin/git (found version "2.32.1 (Apple Git-133)")
-- git Version: v0.0.0
-- Version: 0.0.0
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WERROR
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Success
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WZERO_AS_NULL_POINTER_CONSTANT
-- Performing Test HAVE_CXX_FLAG_WZERO_AS_NULL_POINTER_CONSTANT - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Success
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES
-- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/singingwolfboy/clones/FP16
➜  FP16 git:(master) ✗ make install
[  1%] Building CXX object googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[  3%] Linking CXX static library libgtest.a
[  3%] Built target gtest
[  5%] Building CXX object googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[  6%] Linking CXX static library libgtest_main.a
[  6%] Built target gtest_main
[  8%] Building CXX object CMakeFiles/ieee-to-fp32-bits-test.dir/test/ieee-to-fp32-bits.cc.o
[ 10%] Building CXX object CMakeFiles/ieee-to-fp32-bits-test.dir/test/tables.cc.o
[ 12%] Linking CXX executable ieee-to-fp32-bits-test
[ 12%] Built target ieee-to-fp32-bits-test
[ 13%] Building CXX object CMakeFiles/ieee-to-fp32-value-test.dir/test/ieee-to-fp32-value.cc.o
[ 15%] Building CXX object CMakeFiles/ieee-to-fp32-value-test.dir/test/tables.cc.o
[ 17%] Linking CXX executable ieee-to-fp32-value-test
[ 17%] Built target ieee-to-fp32-value-test
[ 18%] Building CXX object CMakeFiles/ieee-from-fp32-value-test.dir/test/ieee-from-fp32-value.cc.o
[ 20%] Building CXX object CMakeFiles/ieee-from-fp32-value-test.dir/test/tables.cc.o
[ 22%] Linking CXX executable ieee-from-fp32-value-test
[ 22%] Built target ieee-from-fp32-value-test
[ 24%] Building CXX object CMakeFiles/alt-to-fp32-bits-test.dir/test/alt-to-fp32-bits.cc.o
[ 25%] Building CXX object CMakeFiles/alt-to-fp32-bits-test.dir/test/tables.cc.o
[ 27%] Linking CXX executable alt-to-fp32-bits-test
[ 27%] Built target alt-to-fp32-bits-test
[ 29%] Building CXX object CMakeFiles/alt-to-fp32-value-test.dir/test/alt-to-fp32-value.cc.o
[ 31%] Building CXX object CMakeFiles/alt-to-fp32-value-test.dir/test/tables.cc.o
[ 32%] Linking CXX executable alt-to-fp32-value-test
[ 32%] Built target alt-to-fp32-value-test
[ 34%] Building CXX object CMakeFiles/alt-from-fp32-value-test.dir/test/alt-from-fp32-value.cc.o
[ 36%] Building CXX object CMakeFiles/alt-from-fp32-value-test.dir/test/tables.cc.o
[ 37%] Linking CXX executable alt-from-fp32-value-test
[ 37%] Built target alt-from-fp32-value-test
[ 39%] Building CXX object CMakeFiles/bitcasts-test.dir/test/bitcasts.cc.o
[ 41%] Linking CXX executable bitcasts-test
[ 41%] Built target bitcasts-test
[ 43%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o
[ 44%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o
[ 46%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o
[ 48%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o
[ 50%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o
/Users/singingwolfboy/clones/FP16/googlebenchmark-source/src/complexity.cc:80:10: warning: variable 'sigma_gn' set but not used [-Wunused-but-set-variable]
double sigma_gn = 0.0;
^
1 warning generated.
[ 51%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o
[ 53%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/counter.cc.o
[ 55%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o
[ 56%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o
[ 58%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o
[ 60%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o
[ 62%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o
[ 63%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o
[ 65%] Building CXX object googlebenchmark/src/CMakeFiles/benchmark.dir/timers.cc.o
[ 67%] Linking CXX static library libbenchmark.a
[ 67%] Built target benchmark
[ 68%] Building CXX object CMakeFiles/ieee-element-bench.dir/bench/ieee-element.cc.o
/Users/singingwolfboy/clones/FP16/bench/ieee-element.cc:74:29: warning: passing 4-byte aligned argument to 16-byte aligned parameter 1 of 'DoNotOptimize<attribute((vector_size(4 * sizeof(float)))) float>' may result in an unaligned pointer access [-Walign-mismatch]
benchmark::DoNotOptimize(fp32);
^
1 warning generated.
[ 70%] Linking CXX executable ieee-element-bench
[ 70%] Built target ieee-element-bench
[ 72%] Building CXX object CMakeFiles/alt-element-bench.dir/bench/alt-element.cc.o
/Users/singingwolfboy/clones/FP16/bench/alt-element.cc:60:29: warning: passing 4-byte aligned argument to 16-byte aligned parameter 1 of 'DoNotOptimize<attribute((vector_size(4 * sizeof(float)))) float>' may result in an unaligned pointer access [-Walign-mismatch]
benchmark::DoNotOptimize(fp32);
^
1 warning generated.
[ 74%] Linking CXX executable alt-element-bench
[ 74%] Built target alt-element-bench
[ 75%] Building CXX object CMakeFiles/from-ieee-array-bench.dir/bench/from-ieee-array.cc.o
/Users/singingwolfboy/clones/FP16/bench/from-ieee-array.cc:215:31: error: use of undeclared identifier '__builtin_aarch64_get_fpcr'
const unsigned int fpcr = __builtin_aarch64_get_fpcr();
^
/Users/singingwolfboy/clones/FP16/bench/from-ieee-array.cc:217:5: error: use of undeclared identifier '__builtin_aarch64_set_fpcr'
__builtin_aarch64_set_fpcr(fpcr & 0xF6FFFFFFu);
^
/Users/singingwolfboy/clones/FP16/bench/from-ieee-array.cc:231:5: error: use of undeclared identifier '__builtin_aarch64_set_fpcr'
__builtin_aarch64_set_fpcr(fpcr);
^
3 errors generated.
make[2]: *** [CMakeFiles/from-ieee-array-bench.dir/bench/from-ieee-array.cc.o] Error 1
make[1]: *** [CMakeFiles/from-ieee-array-bench.dir/all] Error 2
make: *** [all] Error 2

I think __builtin_aarch64_set_fpcr doesn't exist in clang, only in gcc, causing this issue. Given only the bench use that builtin, you can just avoid this problem by building with benchmarks disabled, e.g. cmake -DFP16_BUILD_BENCHMARKS=OFF .

Fixed in beb60cc652ce58af3657588a2625b059a4164871


Remember token

Laravel Version: 5.4
Adldap2-Laravel Version: 2.1
PHP Version: 5.6

Question:
Thanks to Adldap2-Laravel I can login using the Active Directory. It's perfect!
But I would like use 'remember token' after the user is logged in.
Once the user is logged to be capable to make API calls (via Ajax) using the information provided by remember_token.
The users table has the remember_token field, but it has always a NULL value.
I don't think the a "remember cookie" is generated neither.
Thank you.

Hi @munfor, the remember token should be created as usual. Are you using the default Laravel auth:make scaffolding views / controllers?

You should have this checkbox on your login form:
<label>
    <input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Remember Me
</label>

Thanks @stevebauman
No, I'm not using Laravel auth:make scaffolding.
I using the WindowsAuthenticate class in mi web midleware group:
protected $middlewareGroups = [
    'web' => [
         \App\Http\Middleware\EncryptCookies::class,
         \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
         \Illuminate\Session\Middleware\StartSession::class,
         \Illuminate\View\Middleware\ShareErrorsFromSession::class,
         \App\Http\Middleware\VerifyCsrfToken::class,
         \Adldap\Laravel\Middleware\WindowsAuthenticate::class
     ]
    ...
]

With this config I can log in using Active Directory. It works well!
No login form is required, it logs using the PHP_AUTH_USER id.
For the moment I put the WindowsAuthenticate into api group too. But I don't know if it is correct, because the handle function in WindowsAuthenticate, the $this->auth->check(), which determines if the current user is authenticated, returns always false. I thought because 'remember_token' is not set, but I'm not sure.
protected $middlewareGroups = [
    ...
    'api' => [
       'throttle:60,1',
       'bindings',
       \Adldap\Laravel\Middleware\WindowsAuthenticate::class
    ],
]

Ohhh okay I understand. Yes the remember token isn't set when logging in through the middleware. This can be changed though...
The login() method supports passing in true into the second parameter to set the remember field:
https://github.com/laravel/framework/blob/5.4/src/Illuminate/Auth/SessionGuard.php#L400-L408
Right now the middleware only passes in the user:
https://github.com/Adldap2/Adldap2-Laravel/blob/master/src/Middleware/WindowsAuthenticate.php#L65
Going to check a couple things and see if this may break anything before I enable this by default.

Thank you!


fix: package names in the upgrade docs

wrong php packages in upgrade docs:
The spiral/http and spiral/worker packages should be upgraded to version 3.5. Old RR versions up to v2023.3.12 are also supported with the latest versions of the PHP packages.

spiral/http -> spiral/roadrunner-http,
spiral/worker -> spiral/roadrunner-worker

Summary by CodeRabbit

Documentation

Corrected package names in the compatibility section to ensure accurate references for upgrading to RoadRunner PHP version 3.5.

Hey @trin4ik 👋 , thanks for the PR 👍
The names you used are incorrect.
spiral/worker and spiral/http are not a PHP packages, but used as the names.
If you wanted to correct the doc and use the correct PHP packages, you should use spira/roadrunner-worker and spiral/roadrunner-http

Hey @trin4ik 👋 , thanks for the PR 👍
The names you used are incorrect. spiral/worker and spiral/http are not a PHP packages, but used as the names. If you wanted to correct the doc and use the correct PHP packages, you should use spira/roadrunner-worker and spiral/roadrunner-http

Yeah, my bad. Mixed up repository and package name. In practice, for update to 2024 branch, need only update spiral/roadrunner-http to 3.5+, because: https://github.com/roadrunner-php/http/blob/v3.5.0/composer.json#L45
p.s. fixed

Thank you, @trin4ik 👍


Prompt user to reload when new version is present

https://github.com/iamkd/react-update-notification

Done in 8a513dfae8a3203abc3568ab02d0b4803ca0efcf


tumor-only calling issue

Hi, sorry to bother you again. I'm getting the following error (below). Indeed, the input vcf is lacking the #CHROM header, but I'm not sure what to do about it...
[2016-04-11T13:52Z] Timing: variant calling
[2016-04-11T13:52Z] multiprocessing: variantcall_sample
[2016-04-11T13:52Z] multiprocessing: concat_variant_files
[2016-04-11T13:52Z] Resource requests: ; memory: 1.00; cores: 1
[2016-04-11T13:52Z] Configuring 1 jobs to run, using 1 cores each with 1.00g of memory reserved for each job
[2016-04-11T13:52Z] Concat variant files
[2016-04-11T13:52Z] INFO  15:52:32,965 HelpFormatter - -------------------------------------------------------
[2016-04-11T13:52Z] INFO  15:52:32,967 HelpFormatter - Program Name: org.broadinstitute.gatk.tools.CatVariants
[2016-04-11T13:52Z] INFO  15:52:32,971 HelpFormatter - Program Args: -R /home/genetik/bcbio/share/bcbio/genomes/Hsapiens/hg19/seq/hg19.fa -V /home/genetik/irina/myeloid_fastq_run/calling/work/mutect/16-0206-files.list -out /home/genetik/irina/myeloid_fastq_run/calling/work/mutect/tx/tmpTYUPNX/16-0206.vcf.gz -assumeSorted
[2016-04-11T13:52Z] INFO  15:52:32,981 HelpFormatter - Executing as<EMAIL_ADDRESS>on Linux 3.10.0-327.4.4.el7.x86_64 amd64; OpenJDK 64-Bit Server VM 1.7.0_99-mockbuild_2016_03_25_01_00-b00.
[2016-04-11T13:52Z] INFO  15:52:32,982 HelpFormatter - Date/Time: 2016/04/11 15:52:32
[2016-04-11T13:52Z] INFO  15:52:32,982 HelpFormatter - -------------------------------------------------------
[2016-04-11T13:52Z] INFO  15:52:32,983 HelpFormatter - -------------------------------------------------------
[2016-04-11T13:52Z] .........10......##### ERROR ------------------------------------------------------------------------------------------
[2016-04-11T13:52Z] ##### ERROR stack trace
[2016-04-11T13:52Z] htsjdk.tribble.TribbleException$MalformedFeatureFile: Unable to parse header with error: Your input file has a malformed header: We never saw the required CHROM header line (starting with one #) for the input VCF file, for input source: /home/genetik/irina/myeloid_fastq_run/calling/work/mutect/chr7/16-0206-chr7_50367205_101459534.vcf.gz
[2016-04-11T13:52Z] 	at htsjdk.tribble.TabixFeatureReader.readHeader(TabixFeatureReader.java:90)
[2016-04-11T13:52Z] 	at htsjdk.tribble.TabixFeatureReader.<init>(TabixFeatureReader.java:74)
[2016-04-11T13:52Z] 	at htsjdk.tribble.AbstractFeatureReader.getFeatureReader(AbstractFeatureReader.java:85)
[2016-04-11T13:52Z] 	at htsjdk.tribble.AbstractFeatureReader.getFeatureReader(AbstractFeatureReader.java:66)
[2016-04-11T13:52Z] 	at org.broadinstitute.gatk.tools.CatVariants.getFeatureReader(CatVariants.java:186)
[2016-04-11T13:52Z] 	at org.broadinstitute.gatk.tools.CatVariants.execute(CatVariants.java:279)
[2016-04-11T13:52Z] 	at org.broadinstitute.gatk.utils.commandline.CommandLineProgram.start(CommandLineProgram.java:248)
[2016-04-11T13:52Z] 	at org.broadinstitute.gatk.utils.commandline.CommandLineProgram.start(CommandLineProgram.java:155)
[2016-04-11T13:52Z] 	at org.broadinstitute.gatk.tools.CatVariants.main(CatVariants.java:311)
[2016-04-11T13:52Z] Caused by: htsjdk.tribble.TribbleException$InvalidHeader: Your input file has a malformed header: We never saw the required CHROM header line (starting with one #) for the input VCF file
[2016-04-11T13:52Z] 	at htsjdk.variant.vcf.VCFCodec.readActualHeader(VCFCodec.java:119)
[2016-04-11T13:52Z] 	at htsjdk.tribble.AsciiFeatureCodec.readHeader(AsciiFeatureCodec.java:88)
[2016-04-11T13:52Z] 	at htsjdk.tribble.AsciiFeatureCodec.readHeader(AsciiFeatureCodec.java:41)
[2016-04-11T13:52Z] 	at htsjdk.tribble.TabixFeatureReader.readHeader(TabixFeatureReader.java:88)
[2016-04-11T13:52Z] 	... 8 more
[2016-04-11T13:52Z] ##### ERROR ------------------------------------------------------------------------------------------
[2016-04-11T13:52Z] ##### ERROR A GATK RUNTIME ERROR has occurred (version 3.4-65-g2434e49):
[2016-04-11T13:52Z] ##### ERROR
[2016-04-11T13:52Z] ##### ERROR This might be a bug. Please check the documentation guide to see if this is a known problem.
[2016-04-11T13:52Z] ##### ERROR If not, please post the error message, with stack trace, to the GATK forum.
[2016-04-11T13:52Z] ##### ERROR Visit our website and forum for extensive documentation and answers to

Pär;
Sorry about the issue. You mentioned there is a problem with the input file, what does it look like?
zcat /home/genetik/irina/myeloid_fastq_run/calling/work/mutect/chr7/16-0206-chr7_50367205_101459534.vcf.gz

I'm not sure exactly what could have happened, but it might be worth removing that file if it's corrupted and running bcbio again with a single core on a local run to see if you can identify any problems or other issues with the mutect analysis that might lead to a problem output file. Hope this helps debug it.

Now it works. Not sure what changed, to be honest.

Thanks for following up. It sounds like potential shared filesystem issues but please re-open if you find a reproducible example. Hope your analysis finishes up cleanly.


ARMv8 (arm64, aarch64) fails "make test" at 70-test_sslmessages.t

Building openssl on ARMv8 (arm64, aarch64). I ran into a bunch of test errors, but rather than track all of them, I thought I'd just focus on one and try to get it to pass.
Please let me know what other information you need, or that would help debug this particular set of failures.
../test/recipes/70-test_sslmessages.t ......
    #   Failed test 'Message type check. Got nothing, expected 2'
    #   at ../test/testlib/checkhandshake.pm line 106.

    #   Failed test 'Message type check. Got nothing, expected 11'
    #   at ../test/testlib/checkhandshake.pm line 106.

    #   Failed test 'Message type check. Got nothing, expected 14'
    #   at ../test/testlib/checkhandshake.pm line 106.

    #   Failed test 'Message type check. Got nothing, expected 16'
    #   at ../test/testlib/checkhandshake.pm line 106.

    #   Failed test 'Message type check. Got nothing, expected 20'
    #   at ../test/testlib/checkhandshake.pm line 106.

    #   Failed test 'Message type check. Got nothing, expected 4'
    #   at ../test/testlib/checkhandshake.pm line 106.

    #   Failed test 'Message type check. Got nothing, expected 20'
    #   at ../test/testlib/checkhandshake.pm line 106.
    # Looks like you planned 33 tests but ran 22.
    # Looks like you failed 7 tests of 22 run.
../test/recipes/70-test_sslmessages.t ...... 1/21
#   Failed test 'Default handshake test'

test_sslmessages sets up a series of handshakes between s_client and s_server and checks that we see all the messages (with associated extensions) that we expect to be sent. If you're getting problems here then its likely something fairly fundamental is wrong. Try firing up s_server and then try to connect to it with s_client and see if it succeeds.
The other thought is that these are libssl level errors. If the other errors you are seeing are in libcrypto, to the point that libcrypto is fundamentally broken, then libssl is never going to work.

I can't reproduce this on an aarch64 system. It ought to be something rather generic, or in other words not really OpenSSL-specific, i.e. another program in similar situation would fail too. Either way our options to resolve non-reproducible problem are naturally limited...

No further progress on this. Closing.


[Java] JDBC Flight SQL driver calls prepare() twice

Describe the bug, including details regarding any error messages, version, and platform.
From user@:

I noticed that when I use ArrowFlightJdbcDriver to run a prepare statement
query. It sends prepare query twice to the backend flight server.
The first query is triggered in ArrowFlightMetaImpl#prepare method: link:
https://github.com/apache/arrow/blob/45918a90a6ca1cf3fd67c256a7d6a240249e555a/java/flight/flight-sql-jdbc-driver/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightMetaImpl.java#L134
The second query is triggered
in ArrowFlightJdbcFactory#newPreparedStatement: link
https://github.com/apache/arrow/blob/45918a90a6ca1cf3fd67c256a7d6a240249e555a/java/flight/flight-sql-jdbc-driver/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightJdbcFactory.java#L84
Could you shed some light on this? Why it's called twice? Does backend
flight server need skip the second duplicate query in such case?

Component(s)
FlightRPC, Java

take


chore(CLI): Rename envd-ssh to envd-sshd

Description
cmd/envd-ssh is actually a sshd implementation. Thus we should rename it to envd-sshd:

Rename the folder cmd/envd-ssh
Rename the target in Makefile
Rename in base-images
Rename it in goreleaser.yml

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

/assign

Hi @gaocegege, I notice that there is a package envd-ssh-from-scratch under ghcr.io/tensorchord. Shall we rename it to envd-sshd-from-scratch, Or just leave it as origin name?

I think we should move to a new name envd-sshd-from-scratch since the image is not used by external users. We can update safely.

I created the package here.
https://github.com/orgs/tensorchord/packages/container/package/envd-sshd-from-scratch


How to post to form when useAsButton = false

I don't understand how to retrieve the value from an element color:
`<input type="text" name="color" id="color">`

initilized with option: useAsButton = false.
When I submit my form, I can retrieve all my $_POST but $_POST['color'] doesn't exist.
Another question:
Is it possible to use a layout like this (from another color-picker example)?

Using: useAsButton = true

	<input type="text" value="#3788d8" id="color" name="color"/>

With input box for HEX value and a icon square with color that update on change color from the picker?

itajackass, please when posting an issue do not delete the issue template.
Take a look at this tutorial for using picker in an HTML form: https://github.com/Simonwep/pickr/wiki/Using-Pickr-in-an-HTML-Form, and after following it, if you have the same results, please post a JSFiddle displaying the issue.
Have a great day!

Hi @NateSeymour ,
I tried your link but example is not comprensive for me.
So I decided for now to continue using useAsButton = true to simplicity.

I think we're done here, if questions come up please comment :)


CCAvenue Transaction Error Page

Hello me getting this error can you please help me

Hi @Akash0333
How you resolved this?

@nitishkumarsingh13
Can you help me to resolve this issue?


Show wallet backup on Help page even if synced/signed in

Recently we hid this from the help page -some signed in/synced users still need an easy way to get access to their wallet.

Sean added this back to the help page.


Problem compiling for osx

Ive installed icu4c using brew in osx, but when I try to install node-icu-charset-detector I get:
../node-icu-charset-detector.cpp:5:10: fatal error: 'unicode/ucsdet.h' file not found

A little note here (because I lost half an hour on a @syohex typo ;-).
brew install icu4c
brew link icu4c

Seems obvious, right, but copy pasting "icu4k" without checking made me lost a lot of time.

Ah, sorry.

There's absolutely no problem: that was my fault ;-).
@syohex you clearly fix the issue, so thanks again ;-).


Windows command prompt opens for a few seconds then disappears

How to solve this problem? Installed Python 3.9 from windows store. Removed url line in config.ini & add 2 lines in hosts file.

Please try use the release version here: https://github.com/derekhe/msfs2020-google-map/releases/download/1.3.0/msfs2020-google-map-2021-08-20.zip
unzip it and edit config.ini
then run: server.exe with administrator right
make sure there is no antivirus warning (better to disable it for a while)
if any certificate error, just click "yes"

i used this version and ran as administrator

I made a screen recording to catch a message frame from the command line and this is the error it showed:
OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

Maybe you have some service running on 443 port? Please find and kill them.

Yeah:) Thanks, i find this service. This is vmware-hostd.exe


Add richtext editor for markdown text

As a form designer I would like to have a nice UI for editiing markdown in questions/info panels.

Consider using ckeditor5 with markdown plugin.
The FHIR specification requires and uses the GFM (Github Flavored Markdown)  extensions on CommonMark  format

Delivered in #212

Delivered in #212


dropuniquetoken::author failed, but failOnError was false.  Error: (conn:8529248) Can't DROP 'uk_user_token'; check that column/key exists

> INFO|5513/0|Service traccar|17-01-29 05:20:18|INFO 1/29/17 5:20 AM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8::author: ChangeSet changelog-3.8::changelog-3.8::author ran successfully in 1040ms
> FINEST|5513/0|Service traccar|17-01-29 05:20:18|INFO 1/29/17 5:20 AM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8-dropuniquetoken::author: Change set changelog-3.8::changelog-3.8-dropuniquetoken::author failed, but failOnError was false.  Error: (conn:8529248) Can't DROP 'uk_user_token'; check that column/key exists
> FINEST|5513/0|Service traccar|17-01-29 05:20:18|Query is : ALTER TABLE mydb_1_2.users DROP KEY uk_user_token [Failed SQL: ALTER TABLE mydb_1_2.users DROP KEY uk_user_token]
> FINEST|5513/0|Service traccar|17-01-29 05:20:18|INFO 1/29/17 5:20 AM: liquibase: ./schema/changelog-master.xml: changelog-3.9::changelog-3.9::author: Columns web(BOOLEAN),mail(BOOLEAN) added to notifications
> FINEST|5513/0|Service traccar|17-01-29 05:20:18|INFO 1/29/17 5:20 AM: liquibase: ./schema/changelog-master.xml: changelog-3.9::changelog-3.9::author: Data updated in notifications

hi,
Would the above error mean anything? Or could it be safely ignored?
Thanks,
MM

It can be safely ignored.

Alrighty thanks :+1:


Repository view settings appear disabled

GitLens Version: 11.2.1
Git Version: git version 2.30.0.windows.2
VSCode Version: 1.53.2
OS Version: Windows_NT x64 <IP_ADDRESS>42

Steps to Reproduce:

Open GitLens Settings.
Navigate to Repository view.
All settings appear disabled.

I don't know if I'm doing anything wrong, and it's not like I have to change any setting right now, but this makes me suspicious of something not working as it should.
I'm including a screenshot. As you can see, all settings except two appear disabled.

Thanks in advance!

Thanks a lot, that was FAST!!!


Replace ReadOnlyAddressBook with ReadOnlyEngagementList; Add unit tests

Refactored code to replace all usages of ReadOnlyAddressBook with ReadOnlyEngagementList and started refactoring tests in AddCommandTest

LTGM 😃


Release Service Bus Track 2 Library Preview 6 for Python

Note: These items subject to change post cross-language sync and priority alignment.
Design

[ ] Discuss non-message send()
[ ] Discuss concerns re: etag opt-in consistency
[x] Discuss _utc on mgmt datetime properties.
[ ] Discuss Is_live expired guards (local validation)
[x] Discuss allowing a message to be sent twice
[ ] Settle on get_streaming_message_iter name
[x] Discuss Authenticationerror failure mode change with service team
[ ] (stretch) Send overload with session_id/schedule_time_utc
[ ] (stretch) Transactions
[ ] (stretch) Discuss session receiver unification with broader group.

Implement

[ ] Complete RuntimeInfo migration
[ ] Complete client side validation consistency review
[x] Complete api surface area consistency review
[ ] Continue exception surface area cleanup (e.g. Mode invalid param-> TypeError) and message naming consistency.
[x] Closing a parent client should close children
[ ] update_ methods should take keyword parameter overrides.
[ ] (stretch) Reconnect on service outage. (may require conversation with service team to emulate for testing.)

Misc

[ ] Distributed tracing readiness.
[x] Doc generation warning and apistubgen warning cleanup
[ ] Ensure object-accepting methods also accept dict-like.
[ ] Normalize aio inline typing while expanding kwargs.
[ ] Broad docstring cleanup (ensure all params documented, whitespace, urls if we decide those are worthwhile)
[ ] Pre-release hardening/stress testing.

For posterity: Architect concerns about surface area and some contracts pushed GA off slightly, turning this release to Preview6.


docker to build udf native [skip ci]

Enable g++ 9 for udf native

The default g++ in Ubuntu18.04 is 7.5.0. Need to enable g++ 9 to build udf native

Update cmake to 3.19, to make it be consistent with cuDF build

Signed-off-by: Tim Liu<EMAIL_ADDRESS>

The default version is still  7.5.0 in the Ubuntu18.04 docker container, need to config g++ version to 9.3.0
12:53:57       [exec] -- The C compiler identification is GNU 9.3.0
12:53:57       [exec] -- The CXX compiler identification is GNU 7.5.0
root@cb0cf841aff9:/spark-rapids# ls -n /usr/bin/g++*
lrwxrwxrwx 1 0 0 14 May 25 12:57 /usr/bin/g++ -> /usr/bin/g++-7
lrwxrwxrwx 1 0 0 22 Dec  4  2019 /usr/bin/g++-7 -> x86_64-linux-gnu-g++-7
lrwxrwxrwx 1 0 0 22 Apr 23  2020 /usr/bin/g++-9 -> x86_64-linux-gnu-g++-9

build

build


⚠ Processors has degraded performance

In b39a0a3, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 536 ms

Resolved: Processors performance has improved in 17da317.