Correction for raw affiliation Centre Atlantique de Philosophie

Correction needed for raw affiliation Centre Atlantique de Philosophie
raw_affiliation_name: Centre Atlantique de Philosophie
new_rors: 059ynac98
previous_rors:
works_examples: W4392636607
contact: 43a3b218cc75e42a5cfcec22b4219ed1:2e33d832cdd80fcda0314ee14f40ee @ univ-nantes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Split 'spacecount' into two settings

Now, spacecount settings sets number of space characters both for indentation and for separating (a keyword and its) arguments. However, almost all members of our team tend to indent with 4 spaces but on the other hand they separate arguments with 2 spaces. Like that:
FOR-IN-ENUMERATE
    FOR  ${index}  ${item}  IN ENUMERATE  @{LIST}
        My Keyword  ${index}  ${item}
    END

I think the reason of this is that a space character is less noticeable when surrounded with other spaces (like when used for indentation) than when it is surrounded with non-white characters (like when separating arguments). So in the first case one needs to use more spaces than in the other one to have similar perception of distance between things...
Shortly: please, could you split spacecount into two independent settings: one for indentation and the other one for separating things?

Sounds plausible and useful.
I can add indentation (or indent) and separatorcount (temporary name, I don't have good idea.. we have --separator already for type of the separator - space or tab). If there are not set it can use (old) spacecount setting value.
Optionally we can only add indentation which by default would be equal to spacecount -> so it would be possible to:
indent 4 spaces separator 2 spaces
robotidy --indentation 4 --spacecount 2 .

indent 2 spaces separator 4 spaces
robotidy --indentation 2 --spacecount 4 .

indent 4 spaces separator 4 spaces
robotidy --spacecount 4 .

Linked PR. Most transformers try to be non-destructive to indents/separators if possible that's why most of the work was done in NormalizeSeparators transformer. Let me know after next release if I missed something.


⚠ Secret-Cinema has degraded performance

In e71d34e, Secret-Cinema ($SC) experienced degraded performance:

HTTP code: 200
Response time: 19316 ms

Resolved: Secret-Cinema performance has improved in fb27d18 after 10 minutes.


fix(network): change discovery config structure

revert(network): discovery cant be paused
fix(network): change discovery config structure

This change is

crates/papyrus_network/src/discovery/discovery_test.rs line 72 at r1 (raw file):
Previously, eitanm-starkware wrote…
notice you also changed the values and not just the config structure

Yeah I know


Error using 'Facenet512' for DeepFace.represent

model_name = "Facenet512"
model = DeepFace.build_model(model_name)
embedding = DeepFace.represent(img_path, model_name = model_name, model=model, detector_backend = 'mtcnn')

Hello, Sefik. I tried the above code to embed a face image but got the error as follows, the deepface version is 0.0.65.
ValueError                                Traceback (most recent call last)
<ipython-input-4-e28faa823373> in <module>
      1 model_name = "Facenet512"
----> 2 model = DeepFace.build_model(model_name)
      3
      4 embedding_lists = [] # [name, path, vector]
      5 N = len(imgs_path)

~/Jay/deepface_deepbull/deepface/DeepFace.py in build_model(model_name)
     58                 return model
     59         else:
---> 60                 raise ValueError('Invalid model_name passed - {}'.format(model_name))
     61
     62 def verify(img1_path, img2_path = '', model_name = 'VGG-Face', distance_metric = 'cosine', model = None, enforce_detection = True, detector_backend = 'mtcnn', align = True):

ValueError: Invalid model_name passed - Facenet512

I appreciate it if you can offer me help.
Thank you,
Jie

what was your deepface version?

update the deepface. it seems that you are using a legacy version of deepface.
verify function's default detector_backend is mtcnn but it should be opencv in latest version. this shows that you are using out-dated version.

Sorry, 0.65 is not the latest verison?

0.0.65 is the latest

I used *represent function not verify function,  and mtcnn for detection

0.0.65 is the latest

I used 0.0.65, but I got this error. The reason I'd like to use mtcnn is that it has a better performance.

You copied that line. It show that you are not using deepface 0.0.65.
 62 def verify(img1_path, img2_path = '', model_name = 'VGG-Face', distance_metric = 'cosine', model = None, enforce_detection = True, detector_backend = 'mtcnn', align = True):

could you run pip freeze command?

could you run pip freeze command?

That's very interesting. Could open this file: ~/Jay/deepface_deepbull/deepface/DeepFace.py
I need the lines before 60th line. If you copy it to here, it makes sense to understand the problem.


recent commit (4af4518) deletes mock data, why?

Suddenly fixture/mock data disapparead with no reference to any issue or PR, so this issue serves to clarify it
I have seen it in this commit
https://github.com/nautobot/nautobot-lab/commit/4af4518a42a9a07c3fc884386d26893abcdcf5e5
I wanted to test that if anyway some mock data is in the container (TL DR; the answer is no)
docker run -itd --name nautobot -p 8000:8000 networktocode/nautobot-labs:
docker exec -it nautobot nautobot-server createsuperuser

which is
$ docker images | grep nautobot
networktocode/nautobot-lab                   latest                    c38a5d2afafa   5 days ago     1.48GB

and I don't see any mock data, and If I follow for example this outdated official(?) written article guide, says:
$ docker exec -it nautobot load-mock-data

OCI runtime exec failed: exec failed: unable to start container process: exec: "load-mock-data": executable file not found in $PATH: unknown

it also deprecates this outdated official video guide
is there any other up-to-date way to load mock data, I see that it could be useful to quickly test APIs and exports on data (without having to import on my own)
Thanks

Hi @pedro-nonfree
The mock data was created from an early dataset and was dumped into the container as a Postgres SQL dump file. As Nautobot has matured, the SQL dump file has failed to import properly, which is a significant reason why nautobot-lab hasn't kept up with Nautobot releases.
There are a number of changes that will make Nautobot Lab easier to maintain.

There are a number of plugins loaded by default. The device onboarding plugin is installed and can be used to quickly populate your Nautobot Lab instance with devices from your network. Nautobot SSoT will is also coming. Nautobot SSoT contains an example SSoT job that will enable you to sync data directly from demo.nautobot.com.
A default demo account will be created. This account will have a default token as well. This can allow you to quickly test against nautobot lab with fewer administrative steps to get going.
A Github Actions CI/CD workflow has been created to keep Nautobot Lab more closely in sync with Nautobot releases. It does this by comparing the latest Nautobot release to the latest Nautobot Lab docker image tag. If a newer image needs to be created, it will automatically create the newer image and push it to docker hub. This should keep Nautobot Lab versions  in sync of Nuatobot releases within a 24 hour window.

I understand that losing mock data isn't ideal. For the sake of maintainability, it had to go away. However, we are going to be providing better options in the near future. The latest pull request, once merged will create the default account and add the SSoT plugin. Device onboarding currently exists.


My users table have first_name and last_name for name.

You specified in the forum.integration file that you point only one column from user model to be name. How can I use the first name and last name in there.???

Create a new attribute like this on your user model:
public function getFullNameAttribute()
{
    return "{$this->first_name} {$this->last_name}";
}

Then you can change the forum.integration.user_name_attribute value to fullName.

thanks for this
On Wed, May 27, 2015 at 8:34 PM, Rick Mann<EMAIL_ADDRESS>wrote:

Create a new attribute like this on your user model:
public function getFullNameAttribute(){    return "{$this->first_name} {$this->last_name}";}
Then you can change the forum.integration.user_name_attribute value to
fullName.
—
Reply to this email directly or view it on GitHub
https://github.com/Riari/laravel-forum/issues/15#issuecomment-106006676.


store single image url

There are 3 sizes of the same photo. No need to store 3 URLs. Reduces JSON size by 10%.

Thanks you for the contribution.

Btw, I don't know if you did something or mozilla did but it works much faster on firefox recently, especially the catalogue update is like 3x faster.

There was only a single change since I relaunched the service - we don't store components that have been out of stock for more than six months. This shrinks down the database roughly to 1/3 of the original size.

Once we migrate to a better DB, I plan to serve all components again. But until that happens, this makes the service much more useful.


[feature] use CSS custom variables

Use CSS custom variables instead of properties (micColor, buttonColor, diameter, etc...).

Good suggestion, done!

Nice! 👍


chore(samples): fix BQ Dataset creation.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

Please could you check the samples failures?
        if not 200 <= response.status_code < 300:
>           raise exceptions.from_http_response(response)
E           google.api_core.exceptions.Conflict: 409 POST https://bigquery.googleapis.com/bigquery/v2/projects/python-docs-samples-tests/datasets?prettyPrint=false: Already Exists: Dataset python-docs-samples-tests:my_random_dataset_name

See build log here.

I removed the tests


chore: optionality card component and test LESQ-130

Description

Optionality Card Component Created
UnitList test file updated
Optionality fixture
Added calc to Flex styles

Issue(s)
Fixes # LESQ-130
How to test

Go to https://deploy-preview-1793--oak-web-application.netlify.thenational.academy
Click on _______
You should see _______

Screenshots
How it used to look (delete if n/a):

How it should now look

Checklist

[x] Added or updated tests where appropriate
[x] Manually tested across browsers / devices
[x] Considered impact on accessibility
[x] Design sign-off
[x] Approved by product owner

Should both be fixed ✅

@k-huggs looking good to me.

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


java 8 time issue serialization

hi
how to serialize java 8 time (LocalTime) with jackson dsl

Java 8 date/time API support should be configured by default by  the underneath Jackson2ObjectMapperBuilder, if that's not the case please provide a repro project.

thanks
how use Jackson2ObjectMapperBuilder in kofu jackson dsl ??


functionName should not be required

Currently the Application requires passing of the functionName.
All Lambda Functions allow you to not provide that value as to avoid issues with character limits exceeding the 64 character limit.
Not passing errors as:
Parameters: [functionName] must have values

@cdenneen : Thanks for reporting the issue. We did some investigation and determined its working as designed. We recommend deploying samples through our supported means like Console/ CFN (https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_turn-on-for-other.html).


feat(Algebra/Ring): add RingEquiv versions of splitting and product equivalences

Add RingEquiv versions of Equiv.piCongrLeft, Equiv.piEquivPiSubtypeProd, and Equiv.prodCongr.
This has been split from the larger PR #13577.

bors merge


Project Portfolio Desktop Version Pull Request

Project has been updated to desktop version according to the the given instructions;

added media query for desktop screen resolution
animations added in a animation-transition branch by assigned coding partners as per given instructions
added linters

Getting error in webhint since updating to 7.1.9. Tried both latest node v18.16.0 and v20.3.0 on windows


Can't select normal input after opening ui-select

I have a form made up of normal inputs and ui-selects.
If a user clicks on a ui-select to open and does not select anything, and then they click on a normal input to focus it, the input is highlighted and then immediately unselected.
Example: Click on a select and then click on the input at the top.
http://plnkr.co/edit/0FfN8es9ssJkd17elBxJ?p=preview

Seams related to https://github.com/angular-ui/ui-select/issues/283

This PR should fix it https://github.com/angular-ui/ui-select/pull/668


d3.zoomIdentity can change => .translate() does not return a new transform?

Associated fiddle.
The docs read:

To create a transform with a given k, tx, and ty:
var t = d3.zoomIdentity.translate(x, y).scale(k);

I want to store a zoomTransform of a <g>. So I do:
    var svg = d3.select('#container').append('svg').on('wheel', pan)
    var g = svg.append('g');
    var g_transform = d3.zoomIdentity.translate(0, 0).scale(1);

    function pan() {
        g_transform.x -= d3.event.deltaY;
        g.attr('transform', g_transform);
        console.log(d3.zoomIdentity);
    }

It turns out that mutating my g_transform also mutates d3.zoomIdentity, which is surprising, because although I'm warned against mutating zoomTransforms, the docs and code suggest that .translate(0, 0) should return me a new transform object, distinct from d3.zoomIdentity
https://github.com/d3/d3-zoom/blob/6f8b119399f1b68183974ae818b9900514a24df0/src/transform.js#L12-L14
What am I misunderstanding? Should the docs be updated to reflect that .translate does not return a new zoomTransform? Or could this be a bug?

@alexlenail did you ever figure out why ?

transform.translate is not guaranteed to return a new transform, and you can see from the source that it does not when the given x and y are zero:
https://github.com/d3/d3-zoom/blob/3c95789cd05cb04b99d568ddf4772d2cb58a8a0e/src/transform.js#L12-L14
In general, the expectation is that you don’t mutate the fields of transform objects and you treat them as immutable.
We don’t currently expose the Transform constructor, but we can add that easily if you want to make a copy of a transform.


Create and implement quest system

Quest system will have the next files:

[ ] QuestManager: manage quests
[x] QuesScript: main quest script including common methods and fields. Parent of QuestItem and QuestLocation
[x] QuestItem: It has the fields and variables required for this type of quest
[x] QuestTrigger: Used to trigger the quests
[x] QuestLocation: It has the fields and variables required for this type of quest

EXPECTED RESULT:
Name.cs files working properly on Scripts folder

The issue was completed on the following commit: 3aaff83c798896c44ce815fa5becf61272398d79


Item piles - Conteiner

When the  Item Piles is in "Container" or "Vault" mode, the locked options do not appear.
They only appear on the token when it is in item piles mode is "Item Pile".
Bonus: If possible, when the picklock is successful, you could also change the container option to "unlock" to integrate the two modules.

I have just released v1.10.1 which adds support for both Item piles Containers and Vaults. Item Piles locked containers will also be automatically unlocked when unlocked with Lock & Key. Notice though, that Lock & Key messages will not popup for Item-Piles locked tokens.


Updated the unittests doc sample project to rc1

Updated the projects to work with rc1. #750
Please review @ardalis

@shirhatti Please review

Looks good to me.

Thanks for the PR! Merged in 5ee0295cba6ffd52fe8b3af1d3b2e51acc272cb4


Fixed a config error where the "old" metamodel was not found by gradle

What this PR changes/adds
Changed the metaModelVersion attribute in the gradle.properties from the default value 0.0.1-SNAPSHOT to 0.0.1-milestone-8.
Why it does that
Because of the introduction of milestone-9 artifacts, the old way of addressing the metamodel with the Snapshot version, seems to be no longer a valid option.
Further notes
Probably the other config values also need a change. Currently, I just encountered a direct error with this config parameter, and I am not sure what the others are doing.
Linked Issue(s)
Closes #56

When trying to replace the edcGradlePluginsVersion, as you suggested, the build fails with the error:
org.gradle.internal.exceptions.LocationAwareException: Build file '/home/jlegler/Dokumente/git_root/metamodel-fix/Samples/build.gradle.kts' line: 54
Script compilation error:

  Line 54:         publish.set(false)
                   ^ Unresolved reference: publish

Sorry, I think I reached the end of my knowledge of gradle and the tool chain you are using.
I thought it was as simple as changing the one string, but I am uncertain if there is maybe more to it, with the recent changes and maybe some regression effects of these.

yes, sorry, the publish key was added after milestone-8 release, but in fact it's not needed here because Samples repo is excluded from the release process (no artifact is pushed on maven central), so you can delete that line and it should work properly.

@JulianLegler  this has been superseded by https://github.com/eclipse-edc/Samples/pull/60 if you agree can be closed

Thanks for taking care. Much appreciated.


Delete Duplicate entry under "Service to Service integration"

Delete duplicate entry for Windows Security Events under Service to Service integration.

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

Looks good. Thanks @blaircdb


Add debounce for live reloading

I'm currently using vite for building assets and everything is working correctly. The biggest down side is that phoenix_live_reload detects multiple file changes and reloads multiple times when I save a .html.heex file (tailwind jit).
[info] GET /
[debug] Processing with ShortyWeb.HomepageController.index/2
  Parameters: %{}
  Pipelines: [:browser]
[info] Sent 200 in 12ms
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/main.js
[debug] Live reload: priv/static/assets/main.css
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/vendor.js
[debug] Live reload: priv/static/assets/main.css
[info] GET /
[debug] Processing with ShortyWeb.HomepageController.index/2
  Parameters: %{}
  Pipelines: [:browser]

I've looked at the backend Filesystem dependency and noticed that both the Linux and Windows backends do not have any sort of option for debouncing these events, so I think the optimal solution here would be to add a small configurable debounce for detecting file change updates in this project.
I can open an example repository for this in a couple of days.

@btkostner I started to reply saying how we could implement this in the channel... and then I got so involved with the implementation that I decided to give it a try. In master you can now specify a debounce: ... in milliseconds in your config/dev.exs under the live reload key. Let me know how it goes!

@josevalim That was fast! I can confirm master with a debounce of 150 cuts down on the live reloads significantly.
Thank you! :confetti_ball: :heart:

After looking into this more (and developing for 4+ hours) I think it may actually be a process leak in my Vite setup. I'm going to guess something like https://github.com/tailwindlabs/tailwindcss/pull/4997 caused a bunch of processes to stay running and caused the huge live reload trail :grimacing: Sorry I didn't notice this earlier.

That is likely it, yeah. I will leave the feature in anyway, thanks! :)

I hit a similar issue with tailwind.
It took me a while to understand the problem. When saving my app.css sometimes, I would get an empty stylesheet.
It seems that tailwind is opening the file for writing, which immediately triggers browser reload, tailwind then takes about 120ms to write it. Setting debounce to 150ms fixes the issue. It doesn't happen all the time, because of the 100ms default interval, if the interval happens just after tailwind started writing, then the style is blank but if the interval happens at like T+80ms, it seems that tailwind has the time to finish before the browser reload. (this explains why it happens randomly)
While the 150ms debounce workaround works, it is a bit brittle.
I don't know if https://github.com/phoenixframework/tailwind could be modified to use an atomic write.


Script added to copy s3 files in local directory #104

It requires key to download the data or make this function work.
But I will remove the bucket name and add [your-bucket] i.e. making it generic


feat(platform-cache): add prefix options to namespace cached keys through platform cache module

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

v7.58.0
GitHub release

Your semantic-release bot :package::rocket:


Background shader does not export unlit material

Using a Background shader does not create an unlit material when exported using the latest Blender 2.8 Beta.
The KHR_materials_unlit extension is added in the file, but it appears to have no effect.
Node graph:

The material appears to be affected by environment and direct lighting, but not by ambient lighting. My impression is that it should not be affected by any lighting.
Without light:

With light:

blend and glb files:
background_shader_test.zip
Blender version:

The “problem” is that the unlit material extension is an empty dictionary which I explicitly excluded from the export with this commit. I will think of a good solution.


Migrate np.atleast_? functions from glue_lowering to overload

Change the implementation of these functions to use the new overload definition mechanism

@apmasell there's a merge conflict

I've fixed the merge conflict.


Images in page bundles

Here's my attempts (it worked for me) to tweak the code back to supporting images with relative links in page bundles instead of a central "assets" directory.

@bdillahu sorry for slow reply - reading the code i wasn't clear if you changed the default behaviour or add an option to take this different approach.

@bdillahu sorry for slow reply - reading the code i wasn't clear if you changed the default behaviour or add an option to take this different approach.

For my work I just changed the default behavior - (given this was a while back, my memory is a bit fuzzy) - As I recall, it appeared to have at least at one time supported page bundles, but parts didn't work any more, so I fixed them (at least enough to get the migration I was working on to complete :-)).


HEXA-398 Fix WHO tracker demo sync

Add auto_sync flag for all datasource + check that flag at sync time
Note: test should pass if we merge #96 before + merge master. It helps us remove one migration and remove the need for a migration merge.

it's in the #96, in another migration. i propose to validate the "concept" of this PR first, then merge #96 & #97 together to validate CI then merge to master. The goal is to remove the need of 2 separate migrations + a merge.

See #99


Data Dashboard: Add textures to the Vega maps

Prior discussions with UX have included the suggestion to add more textures to the Vega maps.
Relevant Links:

https://github.com/vega/vega/issues/1372
https://observablehq.com/@oliviafvane/how-to-use-textures-patterns-in-vega-lite

We should likely be planning a way in the future to address color blindness... the subtle differences in color could easily be lost be some users and there should be another way to display these, either as an alternative or as an overlay.  There is some discussion above on fill patterns, etc. using Vega.


Link to in sasquatch build script is dead

Where is it now?
https://downloads.sourceforge.net/project/squashfs/squashfs/squashfs4.3/squashfs4.3.tar.gz
https://github.com/devttys0/sasquatch/issues/23

Very strange, now it's back again...
https://sourceforge.net/projects/squashfs/files/squashfs/squashfs4.3/
With download:
https://sourceforge.net/projects/squashfs/files/squashfs/squashfs4.3/squashfs4.3.tar.gz/download


feat: workflow configure custom labels

Context
Related Issues(s):
https://app.zenhub.com/workspaces/boomerang-flow-5f9600754a5aa9001521ccc1/issues/boomerang-io/roadmap/41
Build Number:
~3.0.85~ 3.0.88
Checklist:

[ ] Verified in an integrated environment
[x] Unit and integration tests passing
[x] Semantic HTML with accessibility support
[x] No linting, test console, or browser console errors (best effort)
[x] JSDoc comment blocks for complex code

Additional Info
Used these links as a guide for validation:
https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
https://stackoverflow.com/questions/7930751/regexp-for-subdomain

Thanks Lucas! Pushed a fix for this.


WinAppDriver fails to create new session on Surface. Got 404 error.

Hi,
I have installed WinAppDriver on a brand-new Surface.
If I run the driver with localhost and run a remote selenium client then /session fails on 404 error.
If I run the driver with ip address and run a remote selenium client then  /session  succeed.
Looks like driver checks IP Address from client request to what was passed to driver from command line. It is very strange behavior.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<TITLE>Not Found</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii">
**
Not Found

HTTP Error 404. The requested resource is not found.
**

Any update?

Just to clarify - you have installed WinAppDriver on a Surface and you are targeting that machine from a Remote selenium client. Could you specify some cURL commands you are using from the remote client to target your WinAppDriver server so that we can try and repro the issue?

Test - Open app
DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability("app", "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"); rwd =  new RemoteWebDriver(new URL("http://<IP_ADDRESS>:4723/wd"), capabilities);
Issue
If WinAppDriver runs without input parameters, it starts automatically with <IP_ADDRESS>.

In the case, the test from remote machine FAILED.
In the case, the test from local (where WinAppDriver is running) machine SUCCESS.
If WinAppDriver gets IP Address as a input parameter.

In the case, the test from remote machine is SUCCESS.
Question
Why to provide IP Address? IMO, Server must get a PORT only.

I closed it by mistake. It is still relevant.

By default we don't want to bind to external-facing network interfaces for security reasons. It's by design that we're not remotely accessible.

Consider to provide a new setting option. The option allows to set security mode. By default, it will be secured (local).  User can easy change it to unsecured (external) without providing external-facing IP Address.
In my case, external IP address may change after restart. I don't like to update batch file on each restart. The above option will avoid redundant maintenance of batch file.

Another strange case.
If WinAppDriver is configured with external IP address and you run a test from LOCAL machine (where WinAppDriver is running) then
Test with connect string that contains <IP_ADDRESS> will SUCCESS
new RemoteWebDriver(new URL("http://**<IP_ADDRESS>**:4723/wd"), capabilities);
Test with connect string that contains <IP_ADDRESS> will FAIL
new RemoteWebDriver(new URL("http://**<IP_ADDRESS>**:4723/wd"), capabilities);
WDYT?
Thanks in advance

I am not familiar with WinAppDriver binding behaviour, but it seems that it binds to provided IP address only.
Also, the fact that it requires admin privileges to bind to non localhost suggests that driver might be using http.sys. It seems that it is possible to specify IP address as *. In that case driver will listen both on localhost and external ip address of you host machine. I've tried it locally and from the same machine I was able to get response both to http://localhost:5000/status and http://<IP_ADDRESS>:5000/status.

I will try. The /status URL works. Unfortunately,  I can't E2E scenario as WinAppDriver fail to run Application.
I opened new issue on that.
Thanks again

Thanks to NiackAb, the issue is closed.
Thanks again


[issue] style inconsistency in production

To reproduce:
cd starters/next-expo-solito
yarn
yarn build && yarn web:prod && yarn web:prod:serve
Open the page. Click the button on home screen and you are redirected to a page with 3 buttons, but at the top of the window.
Refresh the page, and it renders correctly in the center of the window.
See screenshots folder in the starter for example.

I believe it has something to do with alignItems={"center"} on the YStack on the homescreen. Without setting this, rendering is normal.

After some more testing, it seems like the issue has to do with how style props are passed from parent to child component when static rendered next-js vs. how they are rendered client-side. I have some more examples of some idiosyncrasies between the 2 versions.

@ebg1223 thanks for the detailed write up, I'll take a look at this soon.

@natew thank you!!

This should be fixed on latest, lmk


Add CODEOWNERS

Should be rebased and merged after #8

Pull Request Test Coverage Report for Build 128

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 126:
0.0%

Covered Lines:
111

Relevant Lines:
111

💛  - Coveralls


add param inject for auto inject middlewares

It will be possible to pass your own injection to this parameter. The default injection will be default.
This is necessary in order not to have identical middleware in your code with the difference of different injection decorators

@IvanKirpichnikov we need details here

I implemented my thoughts in https://github.com/reagento/dishka/pull/238

I am faced with the problem that my inject decorators analyze kw-only parameters. Due to the fact that the standard auto inject integrations use the default inject, I have to duplicate the code because of this.
This problem can be solved by adding a parameter that accepts the injection function and uses it in the future.


RFC: process-handle for future async child-processes-term-handling

I would like to propose a new RFC: introducing a process-handle to deal with termination of child-processes, and introducing a strict ownership model for child-processes, without the need for process-wide management of the signal SIGCHLD and no need for a shared collection of the  exit-status of child-processes.
Currently std::process is managing processes either in synchronous way using the wait-function-family, or asynchronously via signal-handlers (SIGCHLD).
The problem is that such signals may be delivered to any thread running within the parent-process. So, dealing with the termination of child-processes in async manner will require a shared collection containing the  process-status of all child-processes.
I want to propose an alternative to signal-handling to deal with the termination of child-processes in async manner, and introducing strict ownership for child-processes.
The concept is based on so called death-pipes (aka forkfd concept):
An anonymous pipe is established between parent-process (RX end) and the child-process (TX end). Here the  parent-process may use RX end to poll for read-events (file descriptor) in async manner, for example using a future.
Now, if the child-process terminates the TX end is being destroyed and the RX-end in the parent process will receive and EOF read-event.
The EOF-event will wake up the corresponding polling, async task in the parent-process,  which will call the wait-function to read the exit-status of the child-process and releasing the child-process-zombie.
The following patch is a first sketch of the concept (under construction)
Branch https://github.com/frehberg/rust/tree/process_handle
Patch https://github.com/frehberg/rust/commit/337690e9b79ea9d8147d36f09dd8e949d72116f9
The process-handle feature shall  be portable to  Posix, Win and VxWorks, etal.
BSD-Unix provides a native functionality 'libc::pdfork(..)', establishing the TX-end in parent-process.
Windows provides a native process-handle HANDLE as well.
Such process-handle will allow to introduce strict ownership model for child-processes, without painfull, process-wide signal-handling.
Pros:

permits strict ownership and async-handling of termination of child-processes
no shared collection required to deal with SIGCHLD signal and exit-status of child-processes
on Posix/VxWorks etal the process-handle will be a file-descriptor, and can be handled by async/await framework.
on Windows the process-handle will be the HANDLE-object provided by function CreateProcessA(..).

Cons:

on Posix/VxWorks etal each child-process will cause an additional file-descriptor in parent process and a non-referenced file-descriptor in child-process.
legacy signal-handlers dealing with SIGCHLD might consume the exit-status before the owning async task got a chance to read the exit-status, therefore the SIGCHLD signal-handling should be disabled in the parent-process, or just be used for legacy code.

Comments are welcome

Please comment PR RFC process-handle-for-async
https://github.com/rust-lang/rfcs/pull/2823

Hello @frehberg
There's a difference between your description of forkfd and the implementation of forkfd in my code. You're describing the TX end of the pipe on the child process, but the implementation of forkfd keeps both ends of the pipe in the parent process. That means it adds to two file descriptors to the process's global count.
I highly discourage leaving the file descriptor in the child process.  The child process might close it for other reasons, in which case the parent gets notified of "death" before the death has actually occurred. Worse, since the child does not know about this fd, it will likely leak it to grandchildren, which will cause the pipe to be kept open even after the direct child has died. It'll also accumulate, so 10 generations later you have 10 file descriptors open. A long-running process set that respawns itself, for example, could exhaust the fd table.

HI @thiagomacieira,
you are right, indeed, in your code the parent-process keeps both ends of the death-pipe and the child-process is closing both ends of the death-pipe. This is not the way I would implement it, but it seems to work ;) Wondering how this can trigger an event on the reading side in parent-process if the client-process terminates (?) My strategy would have been to keep the TX-end in client with CLOEXEC-flag being set, so prevent inheriting to sub-sub-process.

That would require cooperation from the child process. If you can guarantee that, then there are possibilities.
You can't set the CLOEXEC flag from the parent because if you did, the child wouldn't have the file descriptor in the first place, as you will call execve.

As for the question, how to deal with child-processes on older Linux/Posix-Systems (without support for native pdfork() or child-handles), the following code illustrates the way, the QProcess implementation is working in this legacy environment  successfully.
https://gist.github.com/frehberg/58cac82a332febd6aff0e188c825b699
The code can be executed in two modes 1) Not-Qt-Mode, keeping the read-end inparent-process and write-end in child-process. 2) Qt-Mode, closing both ends in forked child-process and keeping both ends in parent-process.
Compile the code using "gcc -o a.out  test_dath_pipe.c"
And execute as "./a.out not-qt-mode" or "./a.out qt-mode"
It shows, that in both modes the parent-process receives the termination signal as POLLIN-event.
The way QProcess has been implemented is favourable, indeed, as it does not leak file-descriptors to sub-sub-processes.
I hope, this short code snippet illustrates the mechanisms, implementing the death-pipe on top of basic POSIX API in case the underlying OS does not provide a suitable native functionality.


Sections of abstract polytopes

Some code to generate a section of an abstract polytope (from the ranks of the elements and its indices, say) would be nice. It would also allow us to grab concrete elements or element figures (though we might want to do these separately, as most likely the code will be both faster and easier).

The code works. It's not optimal in running time (it generates the dual for the entire polytope even when generating a small section), but we can tweak it later.


hey  why the ehp2.0 chrome extention removed ??

removed from where?
it's on the webstore.
exam.yousefak.com

removed from where?
it's on the chrome webstore

this link is not working  https://github.com/JamesRob123/EHP2.0  and the discord was removed

idk what happened. the discord was removed a long time ago. But idk what happened to the repository but It's fine because I have the latest version.

i have also source code  i think its time to edit it and reupload it did you know the original maker ?

You don't have the latest version, I do.

I'll think about posting it.

it's not removed


Environment Set Up not working in Windows

Describe the bug
The command given for activating the environment (in CONTRIBUTING.MD file) is not working on windows platform. Instead the given commands work on Linux/Unix machines. I got error while running this command as "source is not recognized as internal or external command".
To Reproduce
I would like add command which executes on windows system.
Screenshots

Are you willing to contribute to this issue? [Yes/No]
Yes
Desktop (please complete the following information):

OS: Windows

@WaderManasi Go ahead
Something of the like

Linux/Unix - source bookenv/Scripts/activate. Windows - ...

Sure.


Page not found when clicked on Contributing.md

In README under Guidlines and Contributing when we click on CONTRIBUTING.md under "Roadmap and Call for Contributions" it says Not Found.
Apparently, the link address is incorrect. I'm willing to open a PR to fix this.

Thanks for the PR!

Fixed by merging the PR.


[Test] Fix build break

A mysterious push to main broke our tests. Skip the offending items.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 59.69%. Comparing base (d2525a3) to head (b3c7b9f).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #777      +/-   ##
==========================================
+ Coverage   55.46%   59.69%   +4.22%
==========================================
  Files          55       55
  Lines        4071     4071
==========================================
+ Hits         2258     2430     +172
+ Misses       1813     1641     -172

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


query limit issue

i had created an account and also logged into the account but it is showing 5000 character limit

Hello @NalluriSreekanth ,
I will close this issue has the limit has been increased and I didn't get any answer from you.
Best Regards,
Jon


[FIX] Refactored synching of the URLSearchParams and selected nodes

Closes #24

Checklist

[x] PR has an interpretable title with a prefix ([ENH], [FIX], [REF], [TST], [CI], [MNT], [INF], [MODEL], [DOC]) (see https://neurobagel.org/contributing/pull_requests for more info)
[x] PR links to GitHub issue with mention Closes #XXXX
[x] Tests pass
[x] Checks pass

For new features:

[ ] Tests have been added

For bug fixes:

[ ] There is at least one test that would fail under the original bug conditions.

:rocket: PR was released in v0.1.0 :rocket:


add query string to static assets with cms version

in order to bust cache every time new release is made

LGTM

:-1: from me. We can talk and see how to improve it though, too much repetition at the moment.


Fix README.

Put missing texts back..

Thanks, we've updated this section a bit based on our new website copy.


Player specific I18N and global configuration

Related to #23

Due to the additions of Global Config and setup for integrated modules, I'm merging this one earlier. Integrated module for /lang will be added in a separate PR.


Library does not work in bb repl

Hi,
I am working on a script that uses this library to ask for a user name.
I started a babashka repl in Calva and tried to execute the code bellow in a comment block.
I got the error:
{:status 1, :result ("failed to run input: open /dev/tty: no such device or address")}

Working this the code bellow works, so I suspect there is an issue with interactive work.
BTW, I think the code bellow should be part of the documentation.
export BABASHKA_CLASSPATH="$(clojure -Sdeps '{:deps {io.github.lispyclouds/bblgum {:git/sha "da049b2bf1bd7dad1c8296fd97c34e9401707719"}}}' -Spath)"

bb -e "(require '[bblgum.core :as b]) (b/gum {:cmd :input :opts {:placeholder \"User name:\"}})"

Yes, this would not work in some of the REPLs unless they have an command line interactive mode, which rules out most of the editor REPLs. I have been using the interactive parts of the code via a bb repl in the terminal with rlwrap bb or running the script. Can't really do much from the perspective of the lib unfortunately.
Thanks for the code snippet, will add it to the README!

added the doc. lemme know if you know of a way to address the REPL issue, happy to support it! also feel free to close the issue too.

I don't know how to handle that either.
Maybe I will at some point .
In the meant time, maybe we should mention it in the README as a known issue.
We can also ask on slack - will do that.


Calling jstree from a sourced .js file

Hi, first of all thank you for this library! I want to include it in my Electron app, so I followed your tutorial and managed to get it to work.
But now I have a problem. I'm trying to get access to the jstree method from a .js file. I mean, when I do it like in the tutorial:
<script> code </script>
it works fine. But when I do
<script src="functions.js">
I get an error that "jstree is not a function"
Apparently, the functions.js script doesn't see the library. Do you know how to access it from a file?
Also, I have just a little suggestion. I wonder if you could update in your tutorial the usage of jstree with Electron, since it requires a different approach to JQuery, otherwise there are errors that JQuery is undefined.
First the user has to install jquery package in the project:
npm install jquery --save
Then, in the html, instead of:
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
Has to do:

Thank you!

Hello, it worked from the start, just that I wasn't calling it properly, since I didn't require jQuery in my .js file.
However, the second part of my question, the suggestion to add steps for Electron, remains.

I am glad you found the problem. I use electron too, unfortunately it is not practical to include docs for various platforms. It is best to know how your platform dependency management works (amd, umd, etc)


Unit tests fail locally first time run, but succeed subsequent times

Describe the bug
I've noticed this a few times in past few weeks. It happened again today after pulling the latest main down locally.
To Reproduce
Steps to reproduce the behavior:
In Terminal.Gui/ root on local machine:

git pull upstream main
dotnet test
dotnet test

As shown below the first dotnet test fails. The 2nd passes.
Oddly, this does not reproduce if I do a dotnet clean and then dotnet test.
┌[charl@TIGGER] [ main ≣]
└[~\s\gui.cs]> git pull upstream main
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 8 (delta 7), reused 4 (delta 4), pack-reused 0
Unpacking objects: 100% (8/8), 1.70 KiB | 36.00 KiB/s, done.
From tig:migueldeicaza/gui.cs
 * branch              main       -> FETCH_HEAD
   56c28f6d..a9a0d176  main       -> upstream/main
Updating 56c28f6d..a9a0d176
Fast-forward
 Terminal.Gui/Core/View.cs       |  15 +++---
 UnitTests/ConsoleDriverTests.cs |   8 ++--
 UnitTests/ViewTests.cs          | 101 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 110 insertions(+), 14 deletions(-)
┌[charl@TIGGER] [ main ↑1]
└[~\s\gui.cs]> git push
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To tig:tig/gui.cs
   56c28f6d..a9a0d176  main -> main
┌[charl@TIGGER] [ main ≣]
└[~\s\gui.cs]> dotnet test
  Determining projects to restore...
  Restored C:\Users\charlie\s\gui.cs\Example\Example.csproj (in 481 ms).
  Restored C:\Users\charlie\s\gui.cs\UICatalog\UICatalog.csproj (in 481 ms).
  Restored C:\Users\charlie\s\gui.cs\ReactiveExample\ReactiveExample.csproj (in 481 ms).
  Restored C:\Users\charlie\s\gui.cs\Terminal.Gui\Terminal.Gui.csproj (in 481 ms).
  Restored C:\Users\charlie\s\gui.cs\UnitTests\UnitTests.csproj (in 704 ms).
  Terminal.Gui -> C:\Users\charlie\s\gui.cs\Terminal.Gui\bin\Debug\net472\Terminal.Gui.dll
  Terminal.Gui -> C:\Users\charlie\s\gui.cs\Terminal.Gui\bin\Debug\netstandard2.0\Terminal.Gui.dll
  Terminal.Gui -> C:\Users\charlie\s\gui.cs\Terminal.Gui\bin\Debug\net6.0\Terminal.Gui.dll
  UICatalog -> C:\Users\charlie\s\gui.cs\UICatalog\bin\Debug\net6.0\UICatalog.dll
  UnitTests -> C:\Users\charlie\s\gui.cs\UnitTests\bin\Debug\net6.0\UnitTests.dll
Test run for C:\Users\charlie\s\gui.cs\UnitTests\bin\Debug\net6.0\UnitTests.dll (.NETCoreApp,Version=v6.0)
Microsoft (R) Test Execution Command Line Tool Version 17.1.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:14.45]     Terminal.Gui.Core.MainLoopTests.AddTimer_Duplicate_Keys_Not_Allowed [FAIL]
  Failed Terminal.Gui.Core.MainLoopTests.AddTimer_Duplicate_Keys_Not_Allowed [1 ms]
  Error Message:
   System.NullReferenceException : Object reference not set to an instance of an object.
  Stack Trace:
     at Terminal.Gui.MainLoop.RunTimers() in C:\Users\charlie\s\gui.cs\Terminal.Gui\Core\MainLoop.cs:line 180
   at Terminal.Gui.MainLoop.MainIteration() in C:\Users\charlie\s\gui.cs\Terminal.Gui\Core\MainLoop.cs:line 241
   at Terminal.Gui.MainLoop.Run() in C:\Users\charlie\s\gui.cs\Terminal.Gui\Core\MainLoop.cs:line 260
   at Terminal.Gui.Core.MainLoopTests.AddTimer_Duplicate_Keys_Not_Allowed() in C:\Users\charlie\s\gui.cs\UnitTests\MainLoopTests.cs:line 292
--- End of stack trace from previous location ---

Failed!  - Failed:     1, Passed:   636, Skipped:     0, Total:   637, Duration: 9 s - UnitTests.dll (net6.0)
┌[charl@TIGGER] [ main ≣]
└[~\s\gui.cs]> dotnet test
  Determining projects to restore...
  All projects are up-to-date for restore.
  Terminal.Gui -> C:\Users\charlie\s\gui.cs\Terminal.Gui\bin\Debug\net472\Terminal.Gui.dll
  Terminal.Gui -> C:\Users\charlie\s\gui.cs\Terminal.Gui\bin\Debug\netstandard2.0\Terminal.Gui.dll
  Terminal.Gui -> C:\Users\charlie\s\gui.cs\Terminal.Gui\bin\Debug\net6.0\Terminal.Gui.dll
  UICatalog -> C:\Users\charlie\s\gui.cs\UICatalog\bin\Debug\net6.0\UICatalog.dll
  UnitTests -> C:\Users\charlie\s\gui.cs\UnitTests\bin\Debug\net6.0\UnitTests.dll
Test run for C:\Users\charlie\s\gui.cs\UnitTests\bin\Debug\net6.0\UnitTests.dll (.NETCoreApp,Version=v6.0)
Microsoft (R) Test Execution Command Line Tool Version 17.1.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.

Passed!  - Failed:     0, Passed:   637, Skipped:     0, Total:   637, Duration: 8 s - UnitTests.dll (net6.0)
┌[charl@TIGGER] [ main ≣]
└[~\s\gui.cs]>

Note this is the same set of tests that were intermittently failing for @bdisp's PR #1606. But in that case it was w/in the GitHub environment.
Desktop (please complete the following information):

OS: Win11
dotnet:  6.0.200
VS 2022 Version 17.2.0 Preview 1.0

@tig I did as yours instructions and I didn't get unit test errors at first dotnet run. The only configuration I have different from your is that I'm using the VS 2022 Version 17.1.0.

I can confirm this.
If i run the Terminal.Gui.Core.MainLoopTests.AddTimer_Duplicate_Keys_Not_Allowed multiple times several exceptions pop ups.
  Duration: <1 ms
  Message:
System.NullReferenceException : Object reference not set to an instance of an object.

  Stack Trace:
MainLoop.RunTimers() line 180
MainLoop.MainIteration() line 241
MainLoop.Run() line 260
MainLoopTests.AddTimer_Duplicate_Keys_Not_Allowed() line 292

  Duration: <1 ms
  Message:
System.InvalidOperationException : Collection was modified after the enumerator was instantiated.

  Stack Trace:
Enumerator.MoveNext()
MainLoop.RunTimers() line 176
MainLoop.MainIteration() line 241
MainLoop.Run() line 260
MainLoopTests.AddTimer_Duplicate_Keys_Not_Allowed() line 292

  Duration: 202 ms
  Message:
Assert.True() Failure
Expected: True
Actual:   False

  Stack Trace:
MainLoopTests.AddTimer_Duplicate_Keys_Not_Allowed() line 296

Looks like a threading race condition.

OS: Win10
dotnet: 6.0.200
VS 2022 Version 17.1.0

I have one more test which fails: Terminal.Gui.Views.DateFieldTests.KeyBindings_Command
My system language is set to german; i think something like this should fix it.
public DateFieldTests ()
{
    CultureInfo.CurrentCulture = CultureInfo.CreateSpecificCulture ("en-US");
}

Related: #1712

I think this is already fixed.

I think so too, but there are other intermittent failures.  E.g.:
This PR's build/test action is failing:
https://github.com/gui-cs/Terminal.Gui/runs/7634348534?check_suite_focus=true

Strange, in which environment, Windows or Linux?

Strange, in which environment, Windows or Linux?

It's in the github action.

It's in the github action.

But normally pr's from dependabot always fails on test.

It's in the github action.

But normally pr's from dependabot always fails on test.

Some do. Some don't. I can't stand not knowing why! :-)

Some do. Some don't. I can't stand not knowing why! :-)

I pulled the pr and I'm also getting fail tests and Ill investigate too.

This version doesn't support null argument, so replaces to this:
		[Fact]
		[InitShutdown]
		public void Hosting_Two_Vertical_ScrollBarView_Throws_ArgumentException ()
		{
			var top = new Toplevel ();
			var host = new View ();
			top.Add (host);
			var v = new ScrollBarView (host, true);
			var h = new ScrollBarView (host, true);

			Assert.Throws<ArgumentException> (() => v.OtherScrollBarView = h);
			Assert.Throws<ArgumentException> (() => h.OtherScrollBarView = v);
		}

		[Fact]
		[InitShutdown]
		public void Hosting_Two_Horizontal_ScrollBarView_Throws_ArgumentException ()
		{
			var top = new Toplevel ();
			var host = new View ();
			top.Add (host);
			var v = new ScrollBarView (host, false);
			var h = new ScrollBarView (host, false);

			Assert.Throws<ArgumentException> (() => v.OtherScrollBarView = h);
			Assert.Throws<ArgumentException> (() => h.OtherScrollBarView = v);
		}

Still happening, now fairly frequently.
This time:
https://github.com/gui-cs/Terminal.Gui/actions/runs/3060967299/jobs/4940372804#step:6:125

Locally i Windows or Linux it runs without failure. Perhaps increasing the time to avoid timeout?

Locally in Windows or Linux it runs without failure. Perhaps increasing the time to avoid timeout?

Maybe, but it sure would be nice to know why it started failing regularly with the latest PRs.

Because of this PR #1997. But the changes are great. Perhaps running many instances generate some racing condition. May be we could locking this unit test until is finished avoiding colliding with another instances?
@montekarlos thoughts, please.

The #2013 is already fixed with the PR #2016.

Just had this happen again
dotnet clean
dotnet test

dotnet test

You can't rely on the test now because it's broken.

I think surrounding the Clipboard.Contents with a lock keyword will avoid overriding his value by another process until is finished.
But I can't submit any PR until the develop branch is fixed.
		[Fact]
		[AutoInitShutdown]
		public void Contents_Gets_From_OS_Clipboard ()
		{
			var clipText = "This is a clipboard unit test to get clipboard from OS.";
			var exit = false;
			var getClipText = "";

			lock (Clipboard.Contents) {
				Application.Iteration += () => {
					if (RuntimeInformation.IsOSPlatform (OSPlatform.Windows)) {
						// using (Process clipExe = new Process {
						// 	StartInfo = new ProcessStartInfo {
						// 		RedirectStandardInput = true,
						// 		FileName = "clip"
						// 	}
						// }) {
						// 	clipExe.Start ();
						// 	clipExe.StandardInput.Write (clipText);
						// 	clipExe.StandardInput.Close ();
						// 	var result = clipExe.WaitForExit (500);
						// 	if (result) {
						// 		clipExe.WaitForExit ();
						// 	}
						// }

						using (Process pwsh = new Process {
							StartInfo = new ProcessStartInfo {
								FileName = "powershell",
								Arguments = $"-command \"Set-Clipboard -Value \\\"{clipText}\\\"\""
							}
						}) {
							pwsh.Start ();
							pwsh.WaitForExit ();
						}
						getClipText = Clipboard.Contents.ToString ();

					} else if (RuntimeInformation.IsOSPlatform (OSPlatform.OSX)) {
						using (Process copy = new Process {
							StartInfo = new ProcessStartInfo {
								RedirectStandardInput = true,
								FileName = "pbcopy"
							}
						}) {
							copy.Start ();
							copy.StandardInput.Write (clipText);
							copy.StandardInput.Close ();
							copy.WaitForExit ();
						}
						getClipText = Clipboard.Contents.ToString ();

					} else if (RuntimeInformation.IsOSPlatform (OSPlatform.Linux)) {
						if (Is_WSL_Platform ()) {
							try {
								using (Process bash = new Process {
									StartInfo = new ProcessStartInfo {
										FileName = "powershell.exe",
										Arguments = $"-noprofile -command \"Set-Clipboard -Value \\\"{clipText}\\\"\""
									}
								}) {
									bash.Start ();
									bash.WaitForExit ();
								}

								//using (Process clipExe = new Process {
								//	StartInfo = new ProcessStartInfo {
								//		RedirectStandardInput = true,
								//		FileName = "clip.exe"
								//	}
								//}) {
								//	clipExe.Start ();
								//	clipExe.StandardInput.Write (clipText);
								//	clipExe.StandardInput.Close ();
								//	clipExe.WaitForExit ();
								//	//var result = clipExe.WaitForExit (500);
								//	//if (result) {
								//	//	clipExe.WaitForExit ();
								//	//}
								//}
							} catch {
								exit = true;
							}
							if (!exit) {
								getClipText = Clipboard.Contents.ToString ();
							}
							Application.RequestStop ();
							return;
						}
						if (exit = xclipExists () == false) {
							// xclip doesn't exist then exit.
							Application.RequestStop ();
							return;
						}

						using (Process bash = new Process {
							StartInfo = new ProcessStartInfo {
								FileName = "bash",
								Arguments = $"-c \"xclip -sel clip -i\"",
								RedirectStandardInput = true,
							}
						}) {
							bash.Start ();
							bash.StandardInput.Write (clipText);
							bash.StandardInput.Close ();
							bash.WaitForExit ();
						}
						if (!exit) {
							getClipText = Clipboard.Contents.ToString ();
						}
					}

					Application.RequestStop ();
				};
			}

			Application.Run ();

			if (!exit) {
				Assert.Equal (clipText, getClipText);
			}
		}

This just happened.

Re-running the failed test resulted in it failing again.
I had to exit VS2022 and restart it, and run the tests again to get them to pass.
Not sure if this is the same issue described above, but seems like it.

Did you already merged the #2082 into your working branch?

Yes. #2082 was merged into develop and I’m sync’d with develop.
From: BDisp @.>
Sent: Friday, October 21, 2022 4:26 PM
To: gui-cs/Terminal.Gui @.>
Cc: Charlie (Tigger) Kindel @.) @.>; Mention @.***>
Subject: Re: [gui-cs/Terminal.Gui] Unit tests fail locally first time run, but succeed subsequent times (Issue #1618)
Did you already merged the #2082https://github.com/gui-cs/Terminal.Gui/pull/2082 into your working branch?
—
Reply to this email directly, view it on GitHubhttps://github.com/gui-cs/Terminal.Gui/issues/1618#issuecomment-1287494145, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAEO6CQZB3FLAYW436TIQETWEMKALANCNFSM5PORUYBQ.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

One thing that already happened to me was using the clipboard by copy/past during a tests running and some clipboard test fail. That can corrupt the clipboard tests.

I've not seen this, except when I'm using the clipboard in another app while tests are running. Closing for now!


Fix gRPC source

#1182

Testing:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2741
https://travis-ci.org/ingenue/hunter/builds/300216353?utm_source=github_status&utm_medium=notification

Uploading:

https://ci.appveyor.com/project/ingenue/hunter/build/1.0.2749
https://travis-ci.org/ingenue/hunter/builds/300381154?utm_source=github_status&utm_medium=notification

Released: https://github.com/ruslo/hunter/releases/tag/v0.19.148


Error platform is not registered after installing and adding to config

I installed the package, copied the section of the sample config and updated to my user/password.  I am receiving the following error:
Error: The requested platform 'BlinkSecurityPlatform' was not registered by any plugin.
at API.platform (/usr/lib/node_modules/homebridge/lib/api.js:134:13)
at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:327:45)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:90:36)
at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:59:10)
at Object. (/usr/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
The section of config I added is:
"platforms" : [
{
"platform": "BlinkSecurityPlatform",
"name": "Blink System",
"username" : "",
"password" : "",
"discovery": true
}
]

When I got this I unstalled and reinstalled and that fixed it.

Thank mokrol...I tried uninstalling just the blink package using "sudo npm uninstall homebridge-blinkcameras" and then did a "sudo npm i homebridge-blinkcameras".  Did you uninstall all of homebridge?
Cheers,
Tim

After reading about similar issues on other plugins, I found a suggestion to add a "-g" to the install command.  Once I included it, the plugin is now found.  Thanks!


UniTask is not listed as a dependency

UniTask needs to be listed a dependency of the package

Custom packages don't support automatic external dependencies as far as I know.
A unity project using this lib can include both this lib and UniTask as links in package.json.


Rewrite optimize_circuit method and add InsertStrategy.EARLIEST_AFTER

This is supposed to fix PointOptimizer putting in too many moments #2553

Hi @crystalzhaizhai thanks for opening this - the first thing would be to verify your ideas is to make the existing tests pass - and not by modifying the tests (unless absolutely necessary!) but by ensuring that the new logic is backwards compatible. The fact that there are 119 tests failing tells me that this is not backwards compatible behavior yet.

Hi @crystalzhaizhai thanks for opening this - the first thing would be to verify your ideas is to make the existing tests pass - and not by modifying the tests (unless absolutely necessary!) but by ensuring that the new logic is backwards compatible. The fact that there are 119 tests failing tells me that this is not backwards compatible behavior yet.

I spent a few hours to write the prototype to discuss the idea. Will fix the tests for sure!

@balopat
Actually the 38 tests failing in the changed files test are related to the methods I deleted. So I am not too worried.

Hi @crystalzhaizhai are you planning to work on this? We would need to fix up the tests first.

I'm closing this as stale. What this PR is meant to fix will be fixed in the future by @tanujkhattar


Fix the usage on the readme

What
Fix the usage on the readme
Why
The readme is simply wrong 😛
The first argument should be the partial's path https://github.com/balvig/render_with_areas/blob/7f5ab942f83e10ccda90d18e4419233132f75c90/lib/render_with_areas/content_areas.rb#L3
How
By fixing the example

Lol wow thank you @tejanium! 😅 🤦
Long time no chat, hope you're doing well.


feat: trailingCommas option

Closes #10, #14.
Hello.
This is a WIP progress PR for a trailingCommas option.
However, I am stuck at this line:
let in_jsonc = false; // How to determine this?

In other words, from within the plugin (in the "generate.rs" file), how do I determine whether or not the current file being formatted has a ".json" extension or a ".jsonc" extension?

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

@dsherret Sorry for the ping, do you know if this project still being maintained?

@dsherret Sorry for the ping, do you know if this project is still being maintained?

Did you take the time to look at when the last commit was to main or where this project is used before asking that question? I have too many projects to maintain and miss a ton of GitHub notifications. I never look at or read draft prs.

how do I determine whether or not the current file being formatted has a ".json" extension or a ".jsonc" extension?

You will need to add a file path parameter to format_text and use the file_path here: https://github.com/dprint/dprint-plugin-json/blob/ead41c5972c89f47dcacf63718a4c3dfaf8dacf2/src/wasm_plugin.rs#L53
Thanks!

I never look at or read draft prs.

Ah, ok, that explains it, thanks. Is there a preferred way to contact you then if I have a question in the future when I am doing a draft PR?

You will need to add a file path parameter to format_text and use the file_path here:

Thank you, that got me in the right direction. The PR is ready for review now.

@dsherret Do you know if there is anyone on the team that can review this PR? It's been sitting for over a month now.

There's nobody else on the team. I'll get to it soon.


I wanted to withdraw my $PAC and it showed ERROR

I wanted to withdraw all my ballance of 999.9999 PAC
Unhandled Promise Rejection
Error: Couldn't create withdrawal transaction:
{ txid: '0000000000000000000000000000000000000000000000000000000000000000',
txfee: 10000,
complete: false }
at errorWithObject (app://-/bundle.js:88119:46)
at app://-/bundle.js:88386:11
at Generator.next ()
at step (app://-/bundle.js:88104:191)
at app://-/bundle.js:88104:361
at

HyperDEX 0.1.0-alpha.10
Electron 2.0.5
win32 10.0.17134
Locale: cs

We currently don't calculate the txfee, so you can't withdraw the whole balance at once. Try reducing it to 95% of the whole balance and it should in theory work. We plan on fixing this soon, but it's not that easy because of dynamic txfees.

Duplicate of #302


need to fix handleTransfer in nft position manager

export function handleTransfer(event: Transfer): void {
  let entity = Position.load(event.params.tokenId.toHex());
  if (entity != null) {
    entity.oldOwner = event.params.to;
    entity.owner = event.params.from;
    entity.approved = null;
    entity.save();
  }
}

i think it should be this way
entity.oldOwner = event.params.from ;
entity.owner = event.params.to;

what you say?

ok pushed the quickfix :)

btw, seems there's a new version ... not sure if it impacts the subgraph https://github.com/Uniswap/v3-staker

yea i'm using this subgraph with new version and it's working perfect
add me on discord => mhamzza  #3892

and please let me know if we have any JS version of frontend ?

gotcha. do you mean this https://github.com/vbstreetz/uniswap-v3-staker-frontend?

yes this is typscript i need js version

yes this is typscript i need js version

gotcha. time to learn typescript then :)

i need two quick questions

i wanna know what  reward:time  ratio is being distributed and do it consider postion size?
is there any way i could get realtime data of rewards? because every time i change incentive from select list it updates   ?

i have two quick questions

i wanna know what  reward:time  ratio is being distributed and do it consider postion size?
is there any way i could get realtime data of rewards? because every time i change incentive from select list it updates   ?

The rate is not static because it decreases as more users enter the pool. As for the current rate/apr. You can probably calculate:

apr = current incentive accured rewards * incentive duration / time elapased

see below on how to get the accrued rewards of a particular incentive

We noticed during the development of the frontend that it is only possible to compute the rewards per incentive and not per position.  See https://github.com/vbstreetz/uniswap-v3-staker-frontend/blob/main/src/pages/Positions.tsx#L265-L268

sorry, was a really longtime working on this :)


mindsdk 15 / does not work on 2.3.x

what are the features that prevent it working on gingerbread?
can i cut some stuff to make it work on 2.3.x ?

SDK 15 is the recommended min SDK in Android Studio.
Nearly all devices run on SDK15+ so there's simply no need to support lower versions.

i disagree. but ok i must accept your answer.
what is the difference of your app to "https://github.com/PaoloRotolo/AppIntro" ?
appintro does support down to API11

material-intro has many more animations and is much better looking. There's a trade-off between sweet animations and design (which is what I presume this library's main goal is) and compatibility. I doubt it would even run well on an older device on gingerbread.

This library supports 97% of active Android devices. I think that's enough. If you want to support the last 3% you have to use another library or fork this repo and adopt it.


Add support for ssh git urls for bpmetadata

The blueprint command throws an error if the git repo is cloned using SSH. We should see if we can support SSH in addition to HTTPS.

Fixed with #1617


ImageFit.cover doesn't respect alignment

We need to apply the alignment to the source rect because the ouput rect fills
the destination rect.
Fixes #1514

@Hixie

test?
lgtm

I wasn't sure how to test this.  We don't currently have any tests of the actual drawing commands that we record into the canvas....  I guess we could unit test the drawImage function with a fake canvas object.


getting some build errors when using with gatsbyJs

Hi there, can you post screenshot of error?

https://www.gatsbyjs.org/docs/using-client-side-only-packages/ this is how it should be added I believe


Update instrrev-function.md

Expand description of start argument and add examples. Also fix spacing and capitalization inconsistencies.

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Language-Reference-VBA/articles/instrrev-function.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Language-Reference-VBA/articles/instrrev-function.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Release DPG Standard 1.1

Since the release of v1.0 of the DPG Standard we have open a period for community input, and received a number of proposed changes. We have already developed governance guidelines, and we need to triage the proposals received and release a new version incorporating the approved changes.

The DPG Standard is currently at version 1.1.4, published on Jan. 29, 2021


Add SVG for the Arabic MathJax extension

This is needed for Open edX Ficus and beyond. Currently we've hacked (https://github.com/Edraak/arabic-mathjax/pull/12), just a bit. Also SVG is still a nice thing to have.

Closing as the repo is mostly abanoned. Head over https://github.com/OmarIthawi/arabic-mathjax for the maintained fork of this extension.


Add chromium CLI flags to improve capture performance

--disable-background-timer-throttling and --disable-renderer-backgrounding:
karma JS test runner uses these to improve chrome performance
https://github.com/karma-runner/karma-chrome-launcher/issues/123
--disable-hang-monitor: Suppresses hang monitor dialogs in renderer
processes. This may allow slow unload handlers on a page to prevent the
tab from closing, but the Task Manager can be used to terminate the
offending process in this case.
--mute-audio: obvious.
The following are part of google safe browsing features:
--disable-client-side-phishing-detection
--safebrowsing-disable-auto-update
--safebrowsing-disable-download-protection
Good reference with all chromium cli opts: https://peter.sh/experiments/chromium-command-line-switches/

--disable-background-timer-throttling and --disable-renderer-backgrounding
It's not at all clear to me what these options do. Also background timer throttling sounds like it could be something good for performance? Hard to say though without knowing more about it. That one is not mentioned on the link you pasted.
--mute-audio - sure, probably good for anyone running brozzler on their laptops.
--disable-hang-monitor - probably a good idea, not sure what would happen in brozzler if that dialog popped up, probably best to avoid it.
--disable-client-side-phishing-detection
--safebrowsing-disable-auto-update
--safebrowsing-disable-download-protection
Hmm interesting. We're liable to archive some malware if we do this. Which could be something we want to archive. But on the other hand, is probably something we want to protect wayback users from viewing. What is global wayback's approach/policy on malware?

I'm sorry, info on all options I mentioned including the first two: --disable-renderer-backgrounding
--disable-background-timer-throttling is also in the Slack msg I wrote to you in the #brozzler channel.
--disable-renderer-backgrounding
Prevents Chromium from lowering the priority of invisible pages' renderer processes.
Its used in all the projects I saw running headless chrome, e.g. check out this here:
https://github.com/karma-runner/karma-chrome-launcher/issues/123
--disable-background-timer-throttling
Disable task throttling of timer tasks from background pages.
https://peter.sh/experiments/chromium-command-line-switches/#disable-background-timer-throttling
This is also used extensively. E.g. https://github.com/N0taN3rd/Squidwarc/blob/master/lib/crawler/launcher.js#L27
Regarding the safebrowsing options, since Global Wayback policy is to archive everything,
its best to remove them. I already did that.

Thanks @vbanos. I saw the very brief descriptions that you quote in the docs but didn't understand what they meant. Thinking more about it, I can guess vaguely what they might mean and why they would improve performance. Viz, maybe chromium has optimizations to improve overall performance by de-prioritizing rendering of pages in windows that are not currently on screen. We want to disable these options because we want the browsers to run at full speed all the time. I'll merge your PR on the assumption that this interpretation is correct.


fleetctl: destroy using wildcards can search in the repository

Curerntly, fleetctl destroy *.service, it will search the units
in the local directory. The args with wildcards have already parsed
by golang package before be passed into runDestroyUnits. So
runDestroyUnits cannot do anything.
This patch support wildcards just search in the repository,
not from local directory. But need support a new interface. The new
interface is:
fleetctl destroy "xx*.service".
We found that if bracket the service name, the arg will not be
parsed by golang package to local directory. Then we can do match it
with the service name in the repository.
Fixes #710

I don't want to support this just for fleetctl destroy, and the existing behavior needs to be preserved. I have two requests:

can we escape an asterisk with a backslash or something to prevent bash from rendering it before it gets into golang code?
could you make sure this works for all fleetctl commands that make sense?

@bcwaldon

One wrong information is in my previous comment. Its the bash who search in the local directory using * character, not golang. So prevent the convert is my solution of the patch. I think using backslash maybe can get the same result. But backslash and double quotation marks are different interface. So which one do you think is better? Currently I cannot find the third one.
Destroy command and others command are different. Because it only handle the unit on the registry. While submit always handle units on the local directory. Load and start command can handle units on both places. So its difficult to decide which one need the same feature. Let me think over. And what's your opinion ?

Let's try to sum up the current situation:

This shouldn't be a surprise to anyone -- but just to avoid any possible confusion: there is nothing fleetctl can do to disable the shell's file globbing. It's on the user to quote the parameters appropriately for the shell. This patch doesn't really have anything to do with this. (The description is rather confusing in this regard...)

This patch needs major rework for upstream changes that happened in fleetctl.

Regarding other commands: as I understand it, "unload" and "stop" should be straightforward to support in the same manner as "destroy". "load" and "start" need some more consideration; but I think it should also be doable, by adding the globbing in the appropriate branches of the existing file/registry case handling. "status" is probably also more or less straightforward. Among the commands operating on a list of units provided on the command line, I guess "submit" is the only one where globbing doesn't come in at all.

(For the commands operating on a single unit -- such as "cat", "journal" etc. -- it would be possible in principle to support globbing as well, as long as only a single unit is actually matched. The benefit of that would be rather disputable though -- I'd tend to skip these.)

The way this is implemented right now, it would introduce new performance problems, and prevent fixing existing problems in some paths. (See https://github.com/coreos/fleet/pull/1344 for example.)

I guess the impact could be mostly mitigated by trying to check up front whether any of the arguments supplied looks like a glob pattern. That would result in a gotcha though: don't use globbing if you have a lot of services...

Oh, one more thing I forgot to mention: obviously this needs a bunch of new test cases on top of everything else.

In the absence of more people clamouring for this feature I am kind of leaning towards just closing this as wontfix. I don't see a really strong use case for it and something essentially equivalent can be easily mimicked with a shell one-liner. @antrik what do you think?

@jonboulle well, as I'm not actually a fleet user, I only have a vague idea of how much value it would add... I tend to agree though that it doesn't look really important. If someone else feels like picking it up, I wouldn't mind getting it in; but I guess we shouldn't spend our resources on this.

Let's revisit if there's further demand.


 Please refer to #650 for more details.

#650

@BenjaminVanRyseghem
Please refer to Why does "npm install" rewrite package-lock.json? for reasons to switch to npm ci instead.
Awaiting your response.

@BenjaminVanRyseghem
I'm going to stop posting updates here. Unless I get feedback, I cannot improve my contribution.
One final request, please do pull my changes and let me know if you are able to replicate the error I mentioned in #650 locally in your setup. After spending quite some time to fix this bug, I have a strong feeling that its a local bug (something to do with my setup).

@BenjaminVanRyseghem
Awaiting workflow approval, any chance of merging this?

I really want en-IN merged! why is there no response from the maintainer yet?

I'm in the process of reviewing this code.
There are several points I would like to address, and I'm still thinking about how to do it:

I'm not very fond of having code that is this specific to a language in the core of the lib, with indian names on top of it;
there is a hard to track bug that is not fixed

I'm trying to find solutions for thoses 2 points, but it's complex, and I'm slightly running out of time right now (vacations and work deadlines)

I totally agree with you, having language specific conditional checks in the core of the library is not the ideal way to approach this problem, which is why if you notice line 374 of src/formatting.js, I've explicitly mentioned that the conditional check is subject to change in the future. Also, at present there are four countries that officially use the Indian Number System (India, Pakistan, Myanmar and Bangladesh) and other countries like Sri Lanka, Bhutan, to name a few use "lakh" and "crore" instead of the international system (million, billion, etc). So the bigger picture here is we could create a family of countries/currencies that use the Indian style denomination, implement all of them at once, and check which family a selected country/currency belongs to and trigger specific code the formats accordingly.
Now coming to the error, Were you able to replicate it locally in your setup? It seems very peculiar that its untraceable.

I've spent a lot of time on this, and I don't want the effort I put in to go wasted. If there's any suggestions or clarifications, please feel free to hit me up, I'm definitely willing to help integrate support for en-IN.

@BenjaminVanRyseghem
Being a good samaritan, I brought the bug to your attention in the first place. It's untraceable! And I'm clearly "circumventing" the bug. I doubt if it even exists! Unlike you, I have some time at my disposal to help fix the issue.
And I don't see any other way forward with integrating en-IN without including "Indian names" as you call them. You cannot determine this without conditional checks.
You cannot have a perfect solution at once! This is as as close to perfection as it gets. So what's the game plan?


When to use FloatingActionButton with TextField and Form Widget, FloatingActionButton has never fixed Position and go to top of Form

Steps to Reproduce

...
...
...

Logs

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .


Incompatibility with okhttp3 version >= 3.12.0

The library uses internal parts of OkHttp3, namely
com.ibm.mobilefirstplatform.clientsdk.android.core.internal.ResponseImpl (34): import static okhttp3.internal.Util.UTF_8;
Using OkHttp3 internals is not a good practice. This was removed from OkHttp3 at version 3.12.0, which breaks appid-clientsdk-android.
    Process: xx.xx.xx.xxxxx, PID: 10131
    java.lang.NoSuchFieldError: No static field UTF_8 of type Ljava/nio/charset/Charset; in class Lokhttp3/internal/Util; or its superclasses (declaration of 'okhttp3.internal.Util' appears in /data/app/xx.xx.xx.xxxxx-tswAk9-LRJ0XKWEJ3xxt9w==/base.apk!classes3.dex)
        at com.ibm.mobilefirstplatform.clientsdk.android.core.internal.ResponseImpl.getResponseText(ResponseImpl.java:120)
        at com.ibm.cloud.appid.android.internal.tokenmanager.TokenManager.extractTokens(TokenManager.java:216)
        at com.ibm.cloud.appid.android.internal.tokenmanager.TokenManager$1.onSuccess(TokenManager.java:166)
        at com.ibm.mobilefirstplatform.clientsdk.android.core.internal.BaseRequest$2.onResponse(BaseRequest.java:771)
        at okhttp3.RealCall$AsyncCall.run(RealCall.kt:138)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:764)

Hi
Thanks for pointing it out.
The ResponseImpl.java belongs to "com.ibm.mobilefirstplatform.clientsdk.android.core" module.
https://github.com/ibm-bluemix-mobile-services/bms-clientsdk-android-core
I opened a ticket in this repo with that info, once they address it we could upgrade the SDK version and use it.
https://github.com/ibm-bluemix-mobile-services/bms-clientsdk-android-core/issues/70
*BTW I tried to use the SDK with OkHttp 3.12.0 and everything worked.
I notice that the removal of the UTF_8 was on 3.13.0..
Thanks

@rotembr - you mentioned " I tried to use the SDK with OkHttp 3.12.0 and everything worked." - what versions worked for you? I tried downgrading OkHttp to 3.12.0 (by specifying that in my build.gradle) but I'm still getting that similar error that you're getting.  Back in April 2020, it appears that a fix may have been made https://github.com/ibm-bluemix-mobile-services/bms-clientsdk-android-core/issues/70 but I'm not seeing that.


Replace the manual creation of apt sources.list

with apt_repository

Hi @adrianmoisey,
sorry for the delay in getting back to you. Would you be able to let me know whether PR #159 addressed the issue for you?
I'll close the PR for now, but please do give me a nudge if you'd still like a (revised) PR to address the issue you were having!
Kind regards,
David


improved naming conventions for nested classes

Ability to override table names or specify conventions for naming. For a scenario like the code below, there are name collision issues.
public class Foo
{
    public class Aggregate {}
    public class State {}
}

public class Bar
{
    public class Aggregate {}
    public class State {}
}

@jeffdoolittle What's your preference here? I do vote for an attribute for the table name (might already exist, I've slept since then.) For nested types, what if the example above were to be mt_doc_foo_aggregate and mt_doc_bar_aggregate?

I think that's the sensible default.

@jeremydmiller I can work on this if you want to assign me the issue

@jeffdoolittle I'm taking you up on that;)

You might need to assign yourself, or I can add you to the GH team


Client Allocation Request for: aeou

Client Allocation Questions
Core Information

Name: aeou
Website / Social Media: aoeu, (aoeu, aoeu)
Region: North America
DataCap Requested: 32 GiB
Addresses to be Notarized: aoeu
Notary Requested: Sounghwan Park

This user’s identity has been verified through filplus.storage


Wrong default latex svg behavior

I try to use reanimate on windows, with latex version: MiKTeX-pdfTeX 2.9.7439 (1.40.21) (MiKTeX 2.9.7440 64-bit) and latest reanimate with resolver lts-18.0, when I compile following program:
{-# LANGUAGE OverloadedStrings #-}
module Main(main) where

import Reanimate
import Reanimate.Builtin.Documentation
import Graphics.SvgTree

env :: Animation -> Animation
env = addStatic bg

bg :: SVG
bg = mkBackground "lightblue"

animation :: Animation
animation = env $ scene $ do
    newSpriteSVG_ equation
    wait 1

equation :: SVG
equation =
    scale 3 $ center $
    latexAlign "E = mc^2"

main :: IO ()
main = reanimate $ docEnv animation

It generates too bold texts. I found that it uses lines to draw the contour of the latex svg, If I change the codes as follows:
{-# LANGUAGE OverloadedStrings #-}
module Main(main) where

import Reanimate
import Reanimate.Builtin.Documentation
import Graphics.SvgTree

env :: Animation -> Animation
env = addStatic bg

bg :: SVG
bg = mkBackground "lightblue"

animation :: Animation
animation = env $ scene $ do
    newSpriteSVG_ equation
    wait 1

equation :: SVG
equation =
    withFillOpacity 1.0 $
    withFillColor "black" $
    withStrokeWidth 0 $
    scale 3 $ center $
    latexAlign "E = mc^2"

main :: IO ()
main = reanimate $ docEnv animation

It becomes normal. Is there a way to fix the default svg draw method for latex? Configure like this at each time is too verbose, I think.

You can define your own latex function which sets the stroke width to zero. Or you could set the stroke width to zero as default for your entire animation.

You can define your own latex function which sets the stroke width to zero. Or you could set the stroke width to zero as default for your entire animation.

Thanks for your reply. I know how to write correct animations. I just wonder if the default behaviour of the latex function should be modified in the reanimate library.

I don't think it should. latex just gives you the path for a given expression.  There might be room for a separate function that sets the stroke-width and fill attributes but I don't think it would be that useful.

I don't think it should. latex just gives you the path for a given expression.  There might be room for a separate function that sets the stroke-width and fill attributes but I don't think it would be that useful.

OK, thanks a lot.


Add support for Swift Package Manager

I'd like to use this with Vapor which uses Swift Package Manger for dependencies.

Hi - its a good idea, but I am not that familiar with with SPM - can you submit a pull request? and we can plan for the release after next?

I wasn't familiar with the steps involved with making a package, but after some reading it seems the only thing that's needed is a Package.swift file and to put all the source files in a Sources directory and move SwiftCSVTests into a Tests directory. However, when I attempted to do this in a fork I ran into compile issues as the code needs to be updated for Swift 3 and there were some things that didn't automatically convert.
Do you plan on updating the library to Swift 3?
Package.swift
import PackageDescription

let package = Package(
    name: "SwiftCSV"
)

I would also like to see this as a swift package so that I can use it in Vapor and for command line applications.

@kgn  we now have a swift 3 version the develop branch.  Do you want to try it out and potentially submit SPM fix against that ? and we can release at same time

Finally got around to this: #58

Done in #77


chore: update the Notifications BEP for external emitters

Hey, I just made a Pull Request!
It updates the Notifications BEP for external emitters.
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@Rugvip , If the other-plugin-developers decide to use it

the origin will be notifications-external, not something what is usually expected from an internal processing,
this plugin is optional but the NotificationsService is a core-service,
the API of the NotificationsService is more handy to be used by other services compared to composing HTTP requests on their own, IMHO

Back to our discussions at the beginning of the Notifications effort, the reasoning for keeping external callers shielded from the internal API were:

smaller package to maintain
the feature is optional
the external-facing API is reduced (so far to just a single POST)
we can potentially implement additional filters/validations/security/authorization
have a backwards compatible proxy for the future

@Rugvip , If the other-plugin-developers decide to use it

the origin will be notifications-external, not something what is usually expected from an internal processing,

The origin should come from the token here: https://github.com/backstage/backstage/blob/master/plugins/notifications-backend/src/service/router.ts#L332, not hard-coded notifications-external

The motivation behind that was the discussion a couple of months ago where we pointed to that approach.
However, considering

there will be an (handy) option to get the token by an external caller
we are ok to open the API externally
there is no need for this, so closing.

@Rugvip @freben For future reference, can you please point to a procedure how to get the token by an external caller?
Or reference to an ongoing work (BEP, PR, whatever).

@mareklibra yep it's here: https://backstage.io/docs/auth/service-to-service-auth#usage-in-external-callers
That's what we're looking to improve as continued work on top of #22605 though, allowing for both more simple and hopefully more polished flows

Thanks, that will be helpful. I remember a lot of struggling when passing through that based on the docs ^^^.


Map in home page not plotting QSO correctly

This is for reporting bugs with the code, if this issue is regarding setting up on your local server please use the discussions area
Describe the bug
Map in home page should plot the QSO use the current active station location as center.
Check the screenshot for details, the QSO with USA station not plotted at the right side of the map.
But the map in "Advanced logbook" is correct.
Steps to Reproduce

Go to 'demo.wavelog.org'
Login, make, link and active a station located in China.
Add a QSO with USA station
Go back home page
See error

Expected Behavior
The QSO at map should be plotted as the "Advanced logbook" map
Screenshots
Include screenshots if applicable to illustrate the issue.

Tried to reproduce it. Wasn't successful.
Maybe you forgot to link the 2nd station (you created at china) to the mainlog?

Tried to reproduce it. Wasn't successful. Maybe you forgot to link the 2nd station (you created at china) to the mainlog?

I Change the grid in demo to ON80
You could see the map in "Advanced Logbook"

And map in home page

Ahh. it's ONLY about centering. understand.
Perhaps @AndreasK79 can help?!

Thank you.... disabled all in Firefox - no change
Tryed: chromium there I works

@wafer-li
This now should be fixed in dev branch. You can test. Please give some feedback.
PS: We need some chinese translations :) if you want to contribute please check out our translation platform :)

@wafer-li
This now should be fixed in dev branch. You can test. Please give some feedback.
PS: We need some chinese translations :) if you want to contribute please check out our translation platform :)

Sorry for the late reply, I was busy with a big project for my company.
I deploy the dev branch, but the problem still exist, see the pics.

I believe it is the dev branch, since the migration version is 207, which master branch is 204

For translation, I still have not much time to do it, sorry.
Maybe I will join it when I have spare time, it is so busy these days.

@wafer-li
This now should be fixed in dev branch. You can test. Please give some feedback.
PS: We need some chinese translations :) if you want to contribute please check out our translation platform :)

Sorry for the late reply, I was busy with a big project for my company.
I deploy the dev branch, but the problem still exist, see the pics.

I believe it is the dev branch, since the migration version is 207, which master branch is 204

For translation, I still have not much time to do it, sorry.
Maybe I will join it when I have spare time, it is so busy these days.

Did you try to clear your browser cache?

@wafer-li
This now should be fixed in dev branch. You can test. Please give some feedback.
PS: We need some chinese translations :) if you want to contribute please check out our translation platform :)

Sorry for the late reply, I was busy with a big project for my company.
I deploy the dev branch, but the problem still exist, see the pics.

I believe it is the dev branch, since the migration version is 207, which master branch is 204

For translation, I still have not much time to do it, sorry.
Maybe I will join it when I have spare time, it is so busy these days.

Did you try to clear your browser cache?

Oh!
After force refresh, the plotting is correct now:

Thanks for notify me the cache things.

@wafer-li
This now should be fixed in dev branch. You can test. Please give some feedback.
PS: We need some chinese translations :) if you want to contribute please check out our translation platform :)

Sorry for the late reply, I was busy with a big project for my company.
I deploy the dev branch, but the problem still exist, see the pics.

I believe it is the dev branch, since the migration version is 207, which master branch is 204

For translation, I still have not much time to do it, sorry.
Maybe I will join it when I have spare time, it is so busy these days.

Did you try to clear your browser cache?

Oh!
After force refresh, the plotting is correct now:

Thanks for notify me the cache things.

Great :)