Cannot access fedoraware

Fedoraware Version Date:
Config used:

https://files.catbox.moe/j56ove.fw
Description:

I'm unsure of it being a bug with the DLL, I currently don't have it installed nor am able to access the website due to being unable to connect to the nightly.link site. I traditionally used the EXE and when I attempt to now, I get the error message "No connection could be made because the target machine actively refused it. (nightly.link:443)"
Steps to reproduce:

[Yes ] I am able to consistently reproduce this error

Steps to reproduce the behavior:

Try to download or run exe.

Additional context

Not really, just don't have access to the DLL I suppose.

[ yes] I have included the steps to reproduce to the best I am able to share.

I am unable to download from the main website, or use the exe.

#902

I do not know how to download the main artifact, I cannot access it, or am unsure of how to.

actions -> latest at the top -> Fedoraware (at the bottom) -> wait for download -> unzip -> wow you did it you have a dll


PR: Fix traceback error when selecting Next/Previous warning/error

Fixes #5116.

Thanks for catching this error, (I was my fault), I added some tests to that functions to avoid them to break again.

Thanks for adding the tests.  I looked at it, but wasn't sure where to put them.  I didn't realize they should be in their own source.

Thanks a lot @csabella for the fix and @rlaverde for the tests. Great work!!


Split diffs using file headers

This follow better the structure of the "Unified Diff" format instead of depending on optional non-standard metadata like "Index:" or "diff" lines. This metadata is still parsed and used, though, but now it's possible to include other more easily. The main advantage of this is that now it's possible to use applyPatches() also with single anonimous diffs, that allow to use download-manager to download and patch all the source code of NodeOS without corner cases.

This is too much to review. As I mentioned on your past PR, you need to focus on individual changes. Broad scale renames that appear to be simply stylistic, etc mask the true changes. Please file a separate PR with just the functional changes.
I've noticed that you are committing directly to your fork's master, which can compound this problem. When doing pull requests you're better off creating a topic branch with the isolated changes and you can then merge those changes into your own master and use them directly from there while waiting for changes to land upstream. Ex: https://github.com/gotwarlost/istanbul/pull/422 is on the source-map-errors branch but I link to the master branch which could have multiple different active PRs merged in without impacting one another.

I've noticed that you are committing directly to your fork's master,

I'm doing it this way because some changes goes on top of another, for example the ones of the rename of index to diff, because in fact we are parsing a diff :-) Now that I have it working on my machine, I'll try to cherry-pick and refactor it in several pull-requests so it will be easier to review (although the content of each one will be mostly the same of each independent commit...).

To be clear, I'm not really interested in stylistic refactorings so don't burn too much time there. "diff" vs. "index" is somewhat subjective and changing doesn't warrant the potential for errors being introduced in my eyes.

https://github.com/kpdecker/jsdiff/pull/88 should have the bare minimum changes to allow this feature, with some minor improvements on the regexp. I'll left the bigger changes for upcoming pull-requests, since this change is the one is the only really needed by download-manager.


Atom feed for mentions isn't valid

The atom feed for mentions uses the URI as ID. This ID contains an unescaped & which isn't valid in XML documents.
Solution: Escape the ID.

Changing just one line feels like I have missed something, but should fix it :-)


release: 1.3.2

:robot: I have created a release beep boop
1.3.2 (2023-02-03)
Performance Improvements

perfect (f8c70d0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/starudream/douyu-task/releases/tag/v1.3.2 :sunflower:


add_tag() in node.py results in multiple copies of the same tag being added

When using node.py add_tag() because it is reading and subsequently appending the new tag to self._tags and then pushing the list to the API it results in multiple entries of the same tag being pushed to CML.
My test code is:
        # Apply Tags to Nodes
        if len(node_tags) > 0:
            print(f'Tag Count for node {node_label} is {len(node_tags)}')
            print(f'Node Tags for node {node_label} are {new_node.tags()}')
            for tag in node_tags:
                print(f'Adding tag {tag} to node {node_label}...')
                print(f'Node Tags for node {node_label} are {new_node.tags()}')
                new_node.add_tag(tag)
                sleep(2)
                print(f'Node Tags for node {node_label} are {new_node.tags()}')

The output from a test where I'm attempting to add 3 tags (oob, routers, test) to the device shows as follows:
Tag Count for node dc_router01 is 3
Node Tags for node dc_router01 are []
Adding tag oob to node dc_router01...
Node Tags for node dc_router01 are []
Node Tags for node dc_router01 are ['oob']
Adding tag routers to node dc_router01...
Node Tags for node dc_router01 are ['oob']
Node Tags for node dc_router01 are ['oob', 'oob', 'routers']
Adding tag test to node dc_router01...
Node Tags for node dc_router01 are ['oob', 'oob', 'routers']
Node Tags for node dc_router01 are ['oob', 'oob', 'routers', 'oob', 'oob', 'routers', 'test']

I've fixed this with a modification to node.py to only push the single tag to the API endpoint as follows:
    def add_tag(self, tag):
        current = self._tags
        if tag not in current:
            current.append(tag)
            # Push single tag to API
            self._set_node_property("tags", [tag])

And the output after the change:
Tag Count for node dc_router01 is 3
Node Tags for node dc_router01 are []
Adding tag oob to node dc_router01...
Node Tags for node dc_router01 are []
Node Tags for node dc_router01 are ['oob']
Adding tag routers to node dc_router01...
Node Tags for node dc_router01 are ['oob']
Node Tags for node dc_router01 are ['oob', 'routers']
Adding tag test to node dc_router01...
Node Tags for node dc_router01 are ['oob', 'routers']
Node Tags for node dc_router01 are ['oob', 'routers', 'test']

Submitted PR to fix the issue as #9

I merged the PR --> closing the issue.


Download arm64 build when uname -m returns aarch64

Some systems return aarch64 instead of arm64 for uname -m this downloads the right binary for those

Thanks for the PR @neerfri!

❤


need help please

Im running android studio 2.2
My previous issue is solved the layouts saying please use java 1.8
I accidentally ran android studio 32 bit
But now the layouts shows only coordinator layout text in a gray background
What android studio are you using and what java 8 (102) ?

Please help me Sir
#So i have java 7 (32 bit)
#Java 8 (64 bit)
#Android studio 2.2
#Android N rep 2
#Platform tools latest
#Build tools latest
#m2reposistory latest
#windows 7 and 10
That about it dont know why it only shows me in the most layouts (gray backround with coordinator layout in the middle)

Sorry im running android studio 2.1.1 stable not 2.2

Please don't post individual-specific questions like this to the issue tracker, and don't post comments in unrelated threads. It doesn't help others and only adds noise to discussions.
This is a problem with your specific setup — not the project. I haven't experienced this before on any installation of Android Studio, regardless of OS or IDE version. You'd be much better off Googling this issue to see if anyone else has run into it, and to move further discussion to an appropriate forum like Stack Overflow.

I did also not have any problems with older versions of jockey what android
studio are you running ?
On 04 Aug 2016 01:46, "Andrew Bailey"<EMAIL_ADDRESS>wrote:

Please don't post individual-specific questions like this to the issue
tracker, and don't post comments in unrelated threads. It doesn't help
others and only adds noise to discussions.
This is a problem with your specific setup — not the project. I haven't
experienced this before on any installation of Android Studio, regardless
of OS or IDE version. You'd be much better off Googling this issue to see
if anyone else has run into it, and to move further discussion to an
appropriate forum like Stack Overflow.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/marverenic/Jockey/issues/110#issuecomment-237409574,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARrlv5X7_BlXbK02PEjv2o5r__isqfQHks5qcSg0gaJpZM4JbaFM
.


Add Vulkan tutorial, check_urls=free-programming-books.md

What does this PR do?
Add Resource
For resources
Description
Add Vulkan tutorial C++ #3683
Why is this valuable (or not)?
Adds Vulkan resource as well as fixes part of an issue!
How do we know it's really free?
Open source by the creator, can be found on Github!
For book lists, is it a book?
Yes
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

nice addition, but markdown syntax needs fix

@eshellman ah good catch with the spacing, just fixed it up! Looking to add the rest of the Vulkan series once this gets merged


Widget is doubling the number of rows in some tables

SQL Operations Studio Version: 0.23.6

Steps to Reproduce: add the widget for table-space-db-insight to the database dashboard.
The query underlying the table space widget is doubling the number of rows for some, not all, tables in my db.
SELECT Top 5
    TABL.name AS table_name,
    SUM(PART.rows) AS rows_count,
    SUM(ALOC.total_pages) AS total_pages,
    SUM(ALOC.used_pages) AS used_pages,
    SUM(ALOC.data_pages) AS data_pages,
    (SUM(ALOC.total_pages)*8/1024) AS total_space_MB,
    (SUM(ALOC.used_pages)*8/1024) AS used_space_MB,
    (SUM(ALOC.data_pages)*8/1024) AS data_space_MB
FROM sys.Tables AS TABL
    INNER JOIN sys.Indexes AS INDX
    ON TABL.object_id = INDX.object_id
    INNER JOIN sys.Partitions AS PART
    ON INDX.object_id = PART.object_id
        AND INDX.index_id = PART.index_id
    INNER JOIN sys.Allocation_Units AS ALOC
    ON PART.partition_id = ALOC.container_id
WHERE
INDX.object_id > 255
    AND INDX.index_id <= 1
GROUP BY TABL.name,
INDX.object_id,
INDX.index_id,
INDX.name
ORDER BY
(SUM(ALOC.total_pages)*8/1024) DESC

Identified it as being the allocation units table having up to 3 different types of allocation units when using a columnstore, thus doubling or trebling the row_count.
LOB_DATA
ROW_OVERFLOW_DATA
IN_ROW_DATA

Cleaning up old issues.  I'm going to close this as "won't fix" for now since we don't plan to address in the next few milestones.


[+orion] Bug 'akinator'

The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.

user: akinator
sugaroid: An unhandled exception occurred: Traceback (most recent call last):

File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 254, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 361, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 148, in generate_response
output = adapter.process(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/aki.py", line 173, in process
self.chatbot.globals["akinator"]["class"] = SugaroidAkinator(self.chatbot)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/aki.py", line 68, in init
self.game_instance = self.aki.start_game("en")
File "/app/.heroku/python/lib/python3.8/site-packages/akinator/akinator.py", line 153, in start_game
region_info = self._auto_get_region(get_lang_and_theme(language)["lang"], get_lang_and_theme(language)["theme"])
File "/app/.heroku/python/lib/python3.8/site-packages/akinator/akinator.py", line 114, in _auto_get_region
return {"uri": uri, "server": next((i for i in parsed if i["subject_id"] == "1"), None)["urlWs"]}
TypeError: 'NoneType' object is not subscriptable

@srevinsaju, It seems like this issue can be closed, I've tested the same in sugaroid-discord and locally on my device and it works perfectly fine..
( ဖ‿ဖ) @> akinator
sugaroid: Lets start the play of Akinator™ with me. I, Sugaroid, am your host genie 🔮 for your competition
How to Play:
+ think of a character, real or fictional, keep it well in mind
+ answer the questions as truthfully as possible
+ Sugaroid genie will try to guess your person out
+ Best of luck; have fun!
Here is your first question
Does your character really exist?<sugaroid:yesno>


Tracking failures for WGAN-GP?

I wonder if the tips in https://github.com/soumith/ganhacks work under WGAN-GP as well, namely those in Sec. 10.  Specifically I would like to confirm if the following is correct:

D loss is a large negative value: failure mode.
If loss of G steadily decreases (or D(G(z)) steadily increases), then G is fooling D with garbage.

Those don't typically apply. You in fact want D loss to be a large negative value within the first ~1000 iters, and then want it to increase steadily (ie move closer to 0) over time. Looking at the G loss probably isn't useful.

From: Gan Quan<EMAIL_ADDRESS>Sent: Tuesday, August 15, 2017 12:11:37 PM
To: igul222/improved_wgan_training
Cc: Subscribed
Subject: [igul222/improved_wgan_training] Tracking failures for WGAN-GP? (#44)
I wonder if the tips in https://github.com/soumith/ganhacks work under WGAN-GP as well, namely those in Sec. 10. Specifically I would like to confirm if the following is correct:

D loss is a large negative value: failure mode.
If loss of G steadily decreases (or D(G(z)) steadily increases), then G is fooling D with garbage.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/igul222/improved_wgan_training/issues/44, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABBP7hg_nRGIxqfEPDW2OB5fe_lc7mFdks5sYe1ogaJpZM4O3_Q8.

@igul222
Hi, I'm working on a project using your WGAN algorithm, and I know why the Wasserstein loss can be negative according its definition.
But can you tell me what's the negative values stand for? Is that the Wasserstein loss has direction or something? Because when I training the WGAN, the Wasserstein loss sometimes oscillating around zero. For example, when the W loss are -0.05 and 0.05, are they have same performance? and how about -0.5 and 1?
One more thing, I tried to combine others loss with Wasserstein loss, such as the perceptual loss or SSIM (they always be positive number) to generator loss. In this situation, is the generator loss reasonable? Because the W loss can be negative and then although rest of losses can getting larger, we can still get a more smaller value for generator loss, therefore I think the generator network will be confused and couldn't get converge.
Thank you for your time, and I'm looking forward to your help. Have a nice day!


Create IAM service account for each KCP cluster

In order to support Workload Identity, we need to provide IAM service account for each KCP cluster, and adding an IAM policy binding between the LM service account for LM (klm-controller-manager) and this IAM service account. and ask neighbour to add Artifact Registry Reader roles to it.
GCP project:
sap-ti-dx-kyma-mps-prod
sap-ti-dx-kyma-mps-dev
sap-ti-dx-kyma-mps-stage

IAM service account name can be klm-controller-manager (same as k8s service account for LM)
example for create IAM service account in KCP DEV:
gcloud iam service-accounts create klm-controller-manager \
    --project=sap-ti-dx-kyma-mps-dev

example for IAM policy binding in KCP DEV:
gcloud iam service-accounts add-iam-policy-binding<EMAIL_ADDRESS>\
    --role roles/iam.workloadIdentityUser \
    --member "serviceAccount:sap-ti-dx-kyma-mps-dev.svc.svc.id.goog[kcp-system/klm-controller-manager]"

AC:

[x] make sure each GCP project contains that newly created IAM service account (If don't have permission to create it, ask SRE for help). Verified we don't have permission, issue delegated to SRE https://github.tools.sap/kyma/backlog/issues/4128
[x] make sure IAM service account have IAM policy binding configured.
[ ] provide this IAM service account to neighbor team to add Artifact Registry Reader roles roles/artifactregistry.reader

issue from neighbor team https://github.com/kyma-project/test-infra/pull/8479


[Publisher App] Not able to set/use 854x480 resolution for streaming

When the publisher selects the 854x480 resolution from the setting menu, instead it uses 640x480 resolution.
STEPS:

Open the Publisher App
Configure the settings -> Select 854x480 resolution
Instead it selects 640x480 resolution for streaming
Go Live
640x480 resolution is used for streaming

Int Branch: int-issue-145-multisources
Environment:
OS: macOS Ventura Version 13.1
Browser: Chrome Version 108.0.5359.124 (Official Build) (x86_64)
https://user-images.githubusercontent.com/110803586/211940061-0ecb2c7a-7c3f-4bf6-b56f-35849bbef34d.mov

854x480  is a reference setting option, not all web cameras support this resolution, so we only check the height, if it's *x480, then should be fine.


Operator + does not always work with a null String

String s=null; print (s+1);
returns error:
// Error: EvalError: illegal use of null value or 'null' literal :
instead of "null1" like java does. A workaround is to always start with an empty string: "print (""+s+1)".
But it would be better to support it in BSHBinaryExpression.eval by fixing the PLUS case with something like:
case PLUS:
if(lhs instanceof String || lhs==Primitive.NULL || rhs instanceof String || rhs==Primitive.NULL)
return lhs.toString() + rhs.toString();
Reported by: pascal_meheut
Original Ticket: "beanshell/bugs/287":https://sourceforge.net/p/beanshell/bugs/287

The implementation wants either a lhs or a rhs string so the following works as expected.
print(s + "1");
null1

if(lhs instanceof String || lhs==Primitive.NULL || rhs instanceof String || rhs==Primitive.NULL)
    return lhs.toString() + rhs.toString();

I don't believe that can be correct, who is to say the null is a String Type?
Can reproduce
bsh % print(s + 1);
// Error: Evaluation Error: illegal use of null value or 'null' literal : at Line: 5 : in file: <unknown file> : ) ;

bsh % print(null + 1);
// Error: Evaluation Error: illegal use of null value or 'null' literal : at Line: 6 : in file: <unknown file> : ) ;

what about using String.valueOf() instead of toString() ?
Ste
On Tue, Aug 7, 2018 at 11:43 AM, Nick Lombard<EMAIL_ADDRESS>wrote:

The implementation wants either a lhs or a rhs string so the following
works as expected.
print(s + "1");
null1
if(lhs instanceof String || lhs==Primitive.NULL || rhs instanceof String || rhs==Primitive.NULL)
return lhs.toString() + rhs.toString();
I don't believe that can be correct, who is to say the null is a String
Type?
Can reproduce
bsh % print(s + 1);// Error: Evaluation Error: illegal use of null value or 'null' literal : at Line: 5 : in file:  : ) ;
bsh % print(null + 1);// Error: Evaluation Error: illegal use of null value or 'null' literal : at Line: 6 : in file:  : ) ;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/beanshell/beanshell/issues/425#issuecomment-410998921,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACogoOx_vgDnPGhmf1-732GeYNGm914ks5uOWFGgaJpZM4Vx1C8
.

We could also cast to string since we've checked instanceof. toString was probably used since NPE is not an issue with the Primitives being wrapped at this point.

When applied to numbers it causes an NPE in java.
Integer i = null;
i + 1;
// java.lang.NullPointerException

Character c = null;
c + 1;
// java.lang.NullPointerException


fix resource URLs

index.html did not work locally in a browser due to failed resource loading

BTW Thanks for this useful plugin! I'm using it for an internal source code viewer, made my life much easier :-)
Happy New Year!


Transform match test

Add a mechanism for testing the result of transform dialect-related
matchers as follows. A new transform op emits remarks at the location of
payload ops associated with the given handle. This op is used to each
handle produced by match_callback to mark the matched payload ops.
Thus iree-opt-based tests can check the matcher directly with the
-verify-diagnostics flag.

Stacked on #11675


Update to go 1.23

Let's try and keep the operator aligned with our other etcd-io projects.

Use go version from go.mod in actions workflows.
Update to go 1.23.
Align devcontainer with etcd-io/etcd.

Link to etcd-io/etcd#19000.


Fix UnknownType in frontend

the require type is NO, but the result is UnknownType

This problem may be in the sql script. When adding these data to the plugin_handle table, ext_obj is null.

Please assign this issue to me I wanted to work on this issue.


Zoom MS70 CDR format

So I have started to explore this older format.
I was able to take a tempo, inject it into the sysex and reload the sysex to change tempo.
Why not just send a SYSEX to change it directly?
Well the pedal echoes the right format parameters but doesnt seem to respond to it.
I should not the pedal is silently sending some SWAP/STORE sysex but we are not supposed to see it.
Anyhow, so I decided to try to add in FX. And this seemed to fail.
I went back to basics and found the NumFX is stored in the sysex! So if I inject a new FX - well I have to also update this field. Coincidentally it is part of the temp byte.
One complexity though.
I can ask the sysex "how many FX you have?". Then I can try to inject FX into the 8 bit processed sysex.
But I cannot easily know if I am adding a new FX or overwriting an existing one.
I had though I can simply test a byte - but it is possible to have 6 BYPASS FX loaded as 1, 2, 3, 4, 5 or even 6 FX and they all look pretty similar with 00 0[1] 00 00 - the [1] is 0 if an FX is off and 1 if it is on.
So I need to think about this.

I made some great progress with the older ZDLs this week - been out of the loop for some time but I am back with a vengance!


invalidateName pays 50% to previous owner

I believe invalidateName pays 50% to the previous owner, I didnt test but just wanted to get it out here before I forget
https://github.com/ethereum/ens/blob/master/HashRegistrarSimplified.sol#L449-L450
since the deed owner is not yet set to msg.sender, when you call setBalance(uint newValue) with 0.5 of the value the rest seems like going back to the previous owner
https://github.com/ethereum/ens/blob/master/HashRegistrarSimplified.sol#L70
I think these two needs to switch
https://github.com/ethereum/ens/blob/master/HashRegistrarSimplified.sol#L450-L451

Thanks! This is a case of the comment being wrong and the code being correct. Owner would get 50% and invalidator 50%.


Fix broken api tests

What does this PR (Pull Request) do?

[x] This PR fixes is not related to any Issue

Which Traffic Control components are affected by this PR?

What is the best way to verify this PR?

If this is a bug fix, what versions of Traffic Control are affected?

The following criteria are ALL met by this PR

[x] I have explained why tests are unnecessary
[x]  I have explained why documentation is unnecessary
[x] This PR does not include an update to CHANGELOG.md
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4457/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/4459/


Can't play .mkv video in some clients.

Can't Use DPlayer to play mkv video in some devices.
Unless special sign, Using Microsoft Edge Latest.
Tested Platform

iPhone Safari  Not Working
WinServer 2019  Not Working
Windows 11  Only Working on one of them.

It depends on the browser


Right-justified elements in RCSB SDF files raise an exception

Right-justified elements in RCSB SDF files raise an exception. As pointed out by Hannes Loeffler, the CTFile specs do not prescribe a specific justification for the element field.
This is addressed by PR #994 .

Just as an FYI: I think it's fine to just do the PR for these simple things that are immediately fixed. I can flag the PR itself as a bug.

fixed by 63b6bde

Ah, OK, I thought that would save you same work as I thought you always opened a bug to back up the PR. Thanks for letting me know!

I always used to, but I've realized that it seems like extra work for these simple "open and close" bugs.


to_dict() method added to dot_dictionary. Generic_config added for

using in configurations that are not cloudmesh specific, e.g. workspace configurations for each sub-tool.

please only accept the first commit. the virtual cluster tool is still under heavy development


feature: Allow multi snapshotters

Ⅰ. Describe what this PR did
Add a daemon config allow-multi-snapshotter, if set true, pouchd will allow multi snapshotter.
Ⅱ. Does this pull request fix one issue?

Fix https://github.com/alibaba/pouch/pull/2585
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Add test.
Ⅳ. Describe how to verify it
Add a flag allow-multi-snapshotter, if set true, pouchd will ignore check multi snapshotter snapshots.
Ⅴ. Special notes for reviews

I left several comments. Wish to get your feedback. @wangforthinker

Thanks for your update again. I removed the DO-NOT-MERGE label. In addition, after the update you made, I think it is necessary for @Ace-Tang to take a review again since the code change. WDYT? @Ace-Tang
If it still satisfies you, I think we could make to make this move on to merge.

Look good to me, /cc @allencloud

Thanks for your review. Merging... @Ace-Tang

PR should not be added to fixed, https://github.com/alibaba/pouch/pull/2585 was closed by error


@conda-forge-admin rerender feedstock

Additional comment:
No response

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/objconv-feedstock#5.


How to deal with mtl loading error

For example obj and mtl files are located here Assets/Models When I'm loading object file it crashes because it tries to load material file from the execution directory, but not Assets/Model directory. I think edit material path inside obj file is not option. So how to deal with such error.
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in System.Private.CoreLib.dll: 'Could not find file '/home/tadas/Dev/test-opentk/Game1/tractor.mtl'.'

OK solved by creating custom material stream provider:
public class CustomMaterialStreamProvider : IMaterialStreamProvider
    {
        public Stream Open(string materialFilePath)
        {
            var rootDir = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location);
            var path = Directory.GetFiles(rootDir, materialFilePath, SearchOption.AllDirectories).FirstOrDefault();
            return File.Open(path, FileMode.Open);
        }
    }


Adopt 4.2.0

Update Mesh._processRendering signature in 4.2.0-alpha.1 https://github.com/BabylonJS/Babylon.js/commit/80511032e7f74e5524e035d6f5df58c168787806 https://github.com/BabylonJS/Babylon.js/commit/5002513388cab580f6d856f439e7458213747217

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Remove Unused Dependencies from Project

Issue: Remove Unused Dependencies from Project
Describe the issue
The project currently includes several dependencies that are no longer being used in the codebase. These unnecessary packages increase the size of the project, slow down builds, and add potential security risks.
Expected behavior
Remove all unused dependencies to streamline the project, reduce build times, and minimize security vulnerabilities.
Steps to resolve

Audit the current dependencies to identify which are no longer being used.
Remove the unused dependencies from package.json.
Run pnpm install to update the lock file.
Test the application to ensure functionality remains intact after the cleanup.

Additional context
Cleaning up these dependencies will improve maintainability and make the project lighter and more secure.

@aryanp-86 can i look it ??
will update now.

@SandipGyawali Ok, go for it👍

@aryanp-86 #9


ListField could be initialized with empty array

As the image shows, the builder type cannot be matched to empty array types as never[]. Some type hint for the fields object is required.

edge case, form should be submittable with empty array when initialized without requiring user change
maybe not needed as it requires user to click the "Add item" button

instead, better to initialize with [someField()]

Solution is to have better builder utils, so no manual building and typing is needed


Serialize vector of glm:vec2

I'd like to serialize a vector of glm:vec2;
I have tried to follow the instructions in the readme and implemented from and to json methods like so:
namespace glm {
    void to_json(json& j, const glm::vec2& P) {
        j = { { "x", P.x }, { "y", P.y } };
    };

    void from_json(const json& j, glm::vec2& P) {
        P.x = j.at("x").get<double>();
        P.y = j.at("y").get<double>();
    }
}

json j;
std::vector<glm::vec2> points{ glm::vec2( 70, -140 ), glm::vec2(30, -30), glm::vec2(20, 125) };
j["points"] = points;

this little snippet wont compile and I got the following errors:
'glm::begin': ambiguous call to overloaded function
'glm::end': ambiguous call to overloaded function
 std::map,std::vector,std::string,bool,int64_t,uint64_t,double,std::allocator,nlohmann::adl_serializer>::create': no matching overloaded function found

the funny thing is that when I replace glm::vec2 with a simple Point struct, it compiles, and works as expected.
I'm on windows, using Visual Studio, using the single header from the master branch version3.7.0

Strange. This code compiles with Xcode:
#include "json.hpp"
#include <iostream>
#include "/usr/local/Cellar/glm/<IP_ADDRESS>/include/glm/glm.hpp"

using json = nlohmann::json;

namespace glm {
    void to_json(json& j, const glm::vec2& P) {
        j = { { "x", P.x }, { "y", P.y } };
    };

    void from_json(const json& j, glm::vec2& P) {
        P.x = j.at("x").get<double>();
        P.y = j.at("y").get<double>();
    }
}

int main()
{
    json j;
    std::vector<glm::vec2> points{ glm::vec2( 70, -140 ), glm::vec2(30, -30), glm::vec2(20, 125) };
    j["points"] = points;

    std::cout << j << std::endl;
}

Output:
{"points":[{"x":70.0,"y":-140.0},{"x":30.0,"y":-30.0},{"x":20.0,"y":125.0}]}

Can you try this minimal example?

Any idea why to_json and from_json have to be inside the glm namespace?
I'm asking because I wanted both functions to be templates (so I can use them with another Point struct with similar x/y/z fields), but I had the following summarized error:
error: no matching function for call to ‘nlohmann::basic_json<>::get<glm::vec3>()’
template argument deduction/substitution failed

Thanks @falbrechtskirchinger. I'll have a look later, seems advanced but I may need it in the future.

I had the same problem, and It worked when I put the functions (to_json, from_json) inside glm namespace.


npm-8/fullchain.pem no such file

I've just rebooted my docker server and now nginxproxymanager wont start.. the docker logs are filling up with this :
nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/npm-8/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-8/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Last thing i remeber doing was deleting a proxy host and then deleting it's associated ssl certificate.

Managed to figure out that the proxy host i deleted, the conf file was still sat in the nginx/proxy_host folder.. Deleting that fixed the issue.. though that still signifies a problem no?

similar problem here, when deleting, editing and recreating a SSL'd host the certbot npm-n directories increment but the proxy_host configuration still exists / or points to a previous npm-n directory which no longer exists.

Similar problem here.  Deleting the conf file in /nginx/proxy_host/ didn't help
nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/npm-10/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-10/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

NPM won't start. Same error these folks are facing.
error.log just fills up with this repeatedly.
2020/06/17 05:55:05 [emerg] 9666#9666: BIO_new_file("/etc/letsencrypt/live/npm-23/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-23/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

I just had the same issue after deleting a certificate. The certificate was still attached to the Host record, but I've not had issues with deleting those before.
I determined from the Audit Log that certificate # 13 was the one I deleted and it matched the missing folder number .../live/npm-13/
I resolved this issue by recreating the .../live/npm-13/ folder that was logged as missing, then copied all the files from another /npm-## folder and restarted the container with success.
I was expecting an error somewhere with the duplicate certificates, or at least two displayed in the GUI but no issues at all.
I finally renamed the folder I created so the app would not go looking for it, fully stopped and restarted the container, and so far no issues.

@downtime0 When you say you renamed the folder, are you talking about the replacement npm-13 folder you created? Every time I change the folder name or rm the folder nginx fails to start again.
How do I remove this certificate completely and correctly so that NPM will start again without some old folder with a duplicate certificate in it?


natwidth and natheight

Latest version of pdftex.def (v0.06j) cannot cope with "natwidth" and "natheight" includegraphics options.
The following patch seems to solve this issue:
986a987,988

\define@key{Gin}{natwidth}{\GPT@disable{natwidth}}%
\define@key{Gin}{natheight}{\GPT@disable{natheight}}%

Thanks,
Persio Barros

Patch file content follows:
`--- pdftex.def	2016-12-21 11:54:43.847914205 -0200
+++ pdftex-modif.def	2016-12-21 11:59:28.087913084 -0200
@@ -984,6 +984,8 @@
\define@key{Gin}{bblly}{\GPT@disable{bblly}}%
\define@key{Gin}{bburx}{\GPT@disable{bburx}}%
\define@key{Gin}{bbury}{\GPT@disable{bbury}}%

\define@key{Gin}{natwidth}{\GPT@disable{natwidth}}%
\define@key{Gin}{natheight}{\GPT@disable{natheight}}%
\fi
}
\AtBeginDocument{\GPT@fix}
`

Just to confirm, you are suggesting making these give a warning then do nothing? The older code made them silently do nothing, I don't see any record of intending to drop that section so it may have been in error while refactoring for luatex changes. I'll check.

Sorry for the lack of information.
The current v0.06j code generates an error on those options. But older versions did drop them silently. So, my suggestion is to just restore the old behavior (with a warning).

After the update for issue https://github.com/latex3/latex2e/issues/21 These keys are no longer silently ignored (they give the same error as the bounding box keys like bbllx) so closing here.


Provide keyboard shortcut keys for Unlock Page, Resume and Next Action when using t.debug()

What is your Scenario?
We are heavily using t.debug() and need to unlock page/resume and take actions. Everytime execution stops at develop, we have to use must move mouse over particular action. Can we have keyboard shortcut key support for the same?
What are you suggesting?
Shortcut keys?
Unlock Page - uu
Resume - rr
Next Action - nn
What alternatives have you considered?
No response
Additional context
No response

Hi @jiteshsojitra
Thank you for pointing out this enhancement. At present, we are focusing on our roadmap. If this enhancement is very important for you, the PR is greatly appreciated.

We decided to close this issue since it is not popular among TestCafe users. If you still need this issue, you can create your own PR - we'll review it.


[component]: Sizing utilities

Description
Simple classes to allow users to set the height, width, max-height, and max-width (and potentially min-height, min-width) of any HTML element. Provide utility classes for the percentages 25, 50, 75 and 100.
https://design-system.post.ch/?path=/docs/e728de1f-0d71-4317-8bb8-cbef0bf8d5db--docs
Design
There is no design for the utilities.
Tokens
We do not implement tokens for these utility classes.
Tasks
### 💻 Tasks
- [x] Review Design (All states present? Possible to implement?)
- [x] HTML/CSS implementation
- [x] Remove any references to bootstrap
- [x] Documentation in Storybook
- [x] Visual regression tests

Issue: Generated breakpoints classes are in some cases overridden by simple classes (e.g. h-xl-0)


remove unused arg 'gcs-key.credential'

We are not reading credentials in a hard-coded way, so these args are not useful anymore.

seems fine to me; adding liam
/assign @hopkiw


Windows - BadStatusLine("''") - March 18th, 2016 Version

ERROR: Unable to download webpage: '' (caused by BadStatusLine("''") Tried again after overnight sleep. Worked fine. Account or connection issue?

Most likely a connection issue. In any case read how to report bugs.


fix(validation button): disabled validation run when offline [TECH-1377]

https://dhis2.atlassian.net/browse/TECH-1377:
Disables bottom bar 'Run validation' button when offline.
I have added the tooltip (which is non-functional because ui library does not render tooltips on disabled buttons) (this is consistent with some of implementations elsewhere in the app where we have preemptively implemented the tooltip in anticipation of ui library update).
https://dhis2.atlassian.net/browse/TECH-1387:
Currently, hitting the "Run validation" button a second time hides the validation sidebar. Updating the button to rerun the validation seemed to me to require a non-trivial refactor which would not provide a lot of value; I think the question of how the button should behave should probably be run by Joe first given the work effort to change it. For the time being, I've just updated the button say "Hide validation" when the validation sidebar is open, so that the user knows that clicking the button will in fact hide the validation sidebar and not (re)run validation.

Thanks @kabaros : I didn't honestly spend a great deal of time evaluating the point about TECH-1387 beyond deciding it probably needed more evaluation/refactoring than I wanted to do prior to the code freeze (so maybe my comment was too dramatic and great if you've found out there was an easy-to-implement solution 😀!) I believe I thought it would be hard to cancel the current request (which was in Joe's specs)?
I can wait on https://github.com/dhis2/aggregate-data-entry-app/pull/200 and the update this PR to remove the "Run validation/Hide validation" toggle once that is merged

I can wait on https://github.com/dhis2/aggregate-data-entry-app/pull/200 and the update this PR to remove the "Run validation/Hide validation" toggle once that is merged

Could you either turn this PR into draft mode or prepend the title with "BLOCKED" or something similar?

Marked as draft pending resolution of PR200 / TECH-1387


invalid hexadecimal representation of an ObjectId

I would like to store ObjectIds in my collection, but I keep coming up against a wall, this is what I've tried so far:
I have a test id: "1234", the first thing I tried was to convert it into an Id of the other class and hope that KMongo would translate it into an ObjectID
collection.other_class_id = "1234".toId<OtherClass>()

This works fine except that the result is a string in the database and not an ObjectID
Second thing I tried was to use the ObjectId constructor:
collection.other_class_id = ObjectId("1234").toId<OtherClass>()

This way throws an error of invalid hexadecimal representation of an ObjectId
Is this a bug or is there a way of inserting an Id and have it show up as an ObjectId in the database?
Edit: I've also tried to just insert it as a plain object id like so:
collection.other_class_id = ObjectId("1234")

But to no avail
Edit Edit:
Probably better if I show my results:

If you use the single string arg constructor of ObjectId, the string shoud be an hexadecimal as specified here: http://mongodb.github.io/mongo-java-driver/3.6/javadoc/org/bson/types/ObjectId.html
Usually it's better to just use the default constructor that generates a new random ObjectId:
collection.other_class_id = ObjectId().toId()

And even better:
collection.other_class_id = newId()

HTH

It still doesn't solve my problem, I have existing Ids that I would like to reuse, so a new random ObjectId won't help. Looks like Mongo 4.0.0 has a new '$toObjectId' aggregation pipeline operator so I guess I'll just have to wait for the next milestone or try to figure out a way to use random ids


'Runtime' node port 'in' metrics are missing in tremor-0.7.4-alpha verison

Problem
We recently upgraded tremor from 0.6.1 to 0.7.4alpha version. After upgrading we are not able to collect metrics for runtime node in port. We were able to collect metrics in the earlier version.
Steps

Add the metrics pipeline

binding:
  - id: metrics
    links:
      '/pipeline/system::metrics/system/out':  ["/offramp/system::stdout/system/in"]

Notes
Output of rustup --version:
Output of rustup show:
Output of tremor-server --version: tremor:0.7.4-alpha

As part of the optimizations in the version of 0.7 and beyond we are culling nodes of the executable graph that have no impact on the pipeline. The in node for pipelines is one of those nodes. As an alternative, the onramps now include metrics, where the same value can be read from @anupdhml, can elaborate on that.
If that works for you I think we can close that otherwise, it'd be great to understand what problem you're trying to solve and see how we can solve that best.

@anupdhml @rajasimha1991 can we close this issue?

Yes, the onramp metrics work for the need here and since the in node was never part of the pipeline config explicitly, it makes sense for metrics for it to be not present now. Chatted about this with Raj too over slack and he is fine with closing this out.


Problem with default update_or_create()

Hello! After installing django_async_orm facing such problem with default update_or_create() function

Do you have any ideas by a chance why is it going like this?
python 3.8
django 3.2.9
django-async-orm latest

@max4nik Can you create a minimum reproducible example?


Discuss: Attitudes towards optional tag.

I might not write a parser for this idea, but just want to talk something about it. (And I'm ready to sleep. ;-)

When you give the type hints, do you very likely want to use that type of values, then losing them will disappoint you a lot?
Who is the end user? The developer or a normal person? As I know, the developer should know what he wants from the configuration files most of the time.

End users are both developers and non developers.
What I want is to use generic code for config file reading, without boring conversions from JSON dicts to my internal data structures.
So, losing type hits kills reader.
There may be some generic scanning tools so they perhaps survive tag omission but not owning program.

one more use case:
[[favorites]]
url = 'http://google.com/'
title = '
favicon = image:"iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAB70lEQVRYw+2Xsa2DMBCGGQEmeBFvgUgsQMEAr6F/FXU62pR0qVOlT5MBKFggUiZA2SBvBL+z9Fs6XUIw2EAKLP0kGPv8cbbPR6CUCsbo+2uzJe1JDelC2pHCsfa6NBZMQ6kXumnQpQHvHXBc20UAaeDUAk5rvwI6Av5MBkhFX1QH4MYSMF0K0NaDp08HbLwCGqguiRhoA3hZBBCQlx64v0nj4LspZpDvAKc9STwApp8AeOiAu/tOGMacxeFcIWbsSdJY7OJfHdRnAYTHdpZZzJM3XddkX953QthQjrrBq6EzYE9C6kMHV8D9hHCDE9pXgM0MgOkKuCTgFvFuSoWTnSRzawVcAT8CkEpMykiJyA11Xew0QBBEsBONsatLKb5BrsYYlZpUOAJmsJuJpLi0BdTXI24S3pm/KfcE+43R58lLtoDCZvwKUHvsQapIuZgKBQ8naHOFVxUM6mct6lu0iQYCKvQzdgsJqOmPGMA0TgTgWT9HXSEAFWzkEmQAoJlBzfGQgAWbxhigtQCsWV0mAbtABgCa/6X8YAvY1GXwwoO9kQGszPQxr9kCRqiv0abCfc7GqNmmbCVgDkCzi89sFxvAiK2R6xBAtiz4EqqEN2vUt0+hbkCoMG9s1lriJRD3hBxbI4nwcuXtpPABuKT+AfGNHTJ5HbnLAAAAAElFTkSuQmCC"

One more (killer) use case:
[section]
entry = Nullable:{"a"=1,"b"=300,"c"=-1}
entry2 = { "aa"=Nullable:1,"bb"=Nullable:300,"cc"=Null:"" }

Completely new use case:
You may optionally run preprocessors and convertors which is not known to program which intended to be reader of config file:
[section1]
entry1 = "abc"
entry2 = compress_spaces:"abc  def gh "
entry3 = read_file:"include_me.txt"

@jakwings, what about
limit_bandwidth = { up=Kbit:500, down=Mbit:0.5 }

isn't that already convincing per se?
This is less readable even with _ in numbers:
limit_bandwidth = { up=500_000, down=500_000_000 } # what units are? bits or bytes? oops!

Ok, I see your needs, and this new feature produces some annoying issues if I were implementing it.

As for internal type conversion, the parser must deal with type checking.

Nullable:1 and Null:"" may be different things. It may be easy to deal with in one language, but hard in another.
It is even unsure they are of the same type: Point:[123,321], Vector:[123,321], Numbers:"file://abc.txt". And up=Kbits:500, down=Mbits:0.5.
So I guess I have to change those auxiliary functions often, specify the return type, what will happen when the data is malformed, then how to deal with mixed-type arrays (for nullable values and fallback values - strings). I can't imaging how different languages will efficiently deal with them.

For preprocessors and convertors, that's fine, but it is not the final result you want. If the configuration is updated by the program, you will see a whole different thing, which might surprise you. So it is mostly limited to consistent config files.

For the favicon example, I don't think many people will treat config files as CSS files and put a lot of "data:......" in it. They also must get a small icon and then convert it to base64 string, and make sure it does not bloat the config file. This is troublesome. So the only advantage is conversion to internal structure.

For preprocessors and convertors, that's fine, but it is not the final result you want. If the configuration is updated by the program, you will see a whole different thing, which might surprise you. So it is mostly limited to consistent config files.

Preprocessing use case is meant to be mainly for manual configs, of course.

Nullable:1 and Null:"" may be different things.

Of course. My bad, this is must be written as:
member2 = { "aa"=Nullable:1,"bb"=Nullable:300,"cc"=Null:0 }

Nullable:1 is (SOME 1) of type OPTION and Null:"" is (NONE) of type OPTION

for favicon example: you blindly call Image constructor on object passed from config file parser. Image constructor may be polymorphic and accept various sources of images, incliding strings, filepaths, and such. Say author of imaging library added support from loading images for binary blob. Advanced user of your system know this and adds BLOB:"base64mumbohumbo" string as value of "favicon" field. And bingo! Your application automatically supports new way to specify images.

And while Point and Vector are constructors, Mbit and trim are filters and these realms must be cleanly separated somehow.

@jakwings, thanks about raising these issues!
I'm taking too mush dynamicity in languages these days and almost completely forgot about obstacles in statically typed languages, especially with incapable type system.

And when I think about how to deal with the fallback values, I can already make plans for them: what I need to know is where are they, the path "x.y.z". So I am skeptical about how much convenience this feature can give.

Just two use cases more:
Haskell: discriminating between disjoint union type instances:
-- app --
data T
= A Int
| B String
| C Bool
| D Int
data MyConfig = Map String { f1 :: T, f2 :: T, f3 :: T }
 -- config file --
[section1]
f1 = "a" # may be, in principle, inferred automatically since there are only one constructor
f2 = A:123 # must be tagged
f3 = D:321 # ditto

and some OO language:
-- library --
class FieldType1 { ... }
class FieldType2 { ... constructor(s:String) { ... } }
class FieldType3 { ... }
class Config { var f1:FieldType1; var f2:FieldType2; var f3:FieldType3; }

-- app --
class ExtendedFieldType2(FieldType2) { ... constructor(s:String,i:Int) { super(s); ... }  }
-- config file 1 --
f1 = {a=1,b=2} # for example
f2 = "yo!" # everything allright because FieldType2 is used as is
f3 = {z=[1,2,3],q=true}

-- config file 2 --
f1 = {a=1,b=2} # for example
f2 = ExtendedFieldType2:["yo!",321] # need tagging because used inherited type!
f3 = {z=[1,2,3],q=true}

@jakwings, if some feature is hard to done right that is not necessarily entails banning.

Use case:
[profile]
avatar = expand_relative_path_to_absolute:"subdir/image.jpg"
website = url:"http://someuser.geosities.com/" # here URL is just for sanity checking, no type conversion
coordinates = Tuple:[123.321, 55.444] # Custom type constructor. Type constructors are always uppercased.

Thanks for the examples. Now it is more clear: It is an extensible TOML. All default types are kept in case we just need optimized internal structures when possible. Filters for preprocessing or sanity check. The fallback strings will become almost useless since they are probably some important and complicated data like regexp, date-time, image data, 64 bit decimal floats, etc. Also the nullable value is a special type that cannot be compromised.

Oh, and you say tuples are heterogeneous, then we should have the ability to disable the type check for array values.

Use case:
[section]
login = "vag"
password = "mysecretpass"
email = email:"Vag Vagoff<EMAIL_ADDRESS># I am not sure the proggie supports this advanced email format so I applied email syntax checker to ensure syntax is OK during app startup

Yes, there could be a lot more useful filters.
You may want to append tags to the table header, e.g.
[section.subsection]:OrderedList

But it seems too complicated. Modifing the defaut constructor of table is better.

I'll try to implement tagging. :-) Besides, it seems that INISON is too advanced (any object as keys!), but talk another time.

Opps, I misunderstood the readme. :p

I think for sake of consistency we must allow to tag only values, so table header (as it is a key) must not be tagged.
[section]
entry = tag: ...any complex value here ...

but not
tag:[section]
entry = {}

and not
[section]
tag:entry = {}

Opps, I misunderstood the readme

it's a sign we must change the syntax or the docs

what do you think about numeric keys and boolean keys btw?
is this
[section]
10 = 20

numeric key or string? if numeric, why not allow then
[section]
true = false

?

regarding implementation, I'm working now on advanced parsing technologies and 80% done; as I finish I use them to implement generic INISON parser for every programming language available

what do you think about numeric keys and boolean keys btw?

As per the TOML spec, all keys are strings. Integers and true/false are valid bare keys.

I'm working now on advanced parsing technologies...

Wow, I'm not good at parsing techniques. Waiting to see it.

interesting question is how to handle sequental table headers without table body
a = 1
[section1]
[section2]
[section3]
b = 2

my current state of mind is just ignore them
what do you say?

idea:
we may treat
a = 1
[section1]
[[section2]]
[section3]
b = 2

as
{ "a": 1, "section1":{}, "section2":[], "section3":{"b":2} }

a = 1
[section1]
[section2]
[section3]
b = 2

Currently I do this:
{
  "a": 1,
  "section1": {},
  "section2": {},
  "section3": {
    "b": 2
  }
}

And

a = 1
[section1]
[[section2]]
[section3]
b = 2

{
  "a": 1,
  "section1": {},
  "section2": [
    {}
  ],
  "section3": {
    "b": 2
  }
}

https://jakwings.github.io/toml-j0.4/

extremely good reference for tags: https://github.com/edn-format/edn

one use case more:
there are strong need to sort out things to make maintenance easier
so, tags may be used to ensure lists are sorted at load time:
[my_parser_generator]
keywords = check_sorted:["if", "then", "else", "while", "do", "end"]

throws an exception while
[my_parser_generator]
keywords = check_sorted:[ "do", "else", "end", "if", "then", "while" ]

is ok

other very interesting format -- GML https://www.fim.uni-passau.de/fileadmin/files/lehrstuhl/brandenburg/projekte/gml/gml-technical-report.pdf
a source for inspiration

Well, GML is just one of the JSON-like languages.
Tagging is good. Just two types:

tagging for containers (array, inline-table)
tagging for primitives (i64, f64, string)

And I want to drop DateTime (just use tagged strings), allow keys without values (just ignore the key key = <nothing>), use : instead of = for inline-tables and allow linebreaks in them (yes, JSON-like).
Two method to tag:
tag? value

tag! raw_string_without_whitespace

e.g.
numbers = vec? [ 0x!DEADBEEF, 0o!644, 0b!1010100 ]
date1 = date? "2016-01-01T00:00:00.000Z"
date2 = date! 2016-01-01T00:00:00.000Z

Well, GML is just one of the JSON-like languages.

I think GML is spectacularly successful JSON-like language

use : instead of =

why not just allow both : and = ? : for JSON comatibility, = for INI compatibility?

Just two types

why different syntax? just use xxx! for both containsers and values.

And I also agree that "!" is better than ":"

When I say JSON-like, I mean we have to make indentation for readability, and non-programmers don't want to be bothered with this. INI style is just good. Now we have inline-table, JSON style is ok too.

why not just allow both : and = ?

Only replace = with : for inline-table. Compatibility with TOML is unnecesarry since we have decided to drop DateTime.

why different syntax? just use xxx! for both containsers and values.

Because I don't want to mix raw strings with primitive values. That will make parsing and syntax checking harder (YAML-like).

why different syntax? just use xxx! for both containsers and values.

Oh, ? is for both all values, including containers. ! is for raw strings without whitespace.

What do you think about optional commas? a = [1 2 3, 4, 5, 6]
I liked commaless feature of GML a much.

If tag! raw_string is in, I will suggest using only whitespace as separators, and allow commas in raw strings.

what about terms? I propose to call xxx? a tag and to invent a new term for yyy!
to reduce confusion

and what about
xxx? yyy! abcdef

?

what about terms? I propose to call xxx? a tag and to invent a new term for yyy!

tag? and type! (explicitly, custom) but do not provide names for builtin types.

xxx? yyy! abcdef

You mean chaining/piping? yyy! is for custom types and not always portable. It gets more complicated now.

You mean chaining/piping?

I mean once tagged once typed values

If tag! raw_string is in, I will suggest using only whitespace as separators, and allow commas in raw strings.

There are four levels of comma strictness exists in JSON like languages:

comma as mandatory separator (JSON)
comma as mandatory separator and optional terminator (TOML)
comma as optional separator and optional terminator (I know no examples for this)
commas are completely ignored (Clojure/EDN)

To which level we adhere?

For example,
a = ["abc def","xxx yyy","zzz qqq"]
is easier to read than
a = ["abc def" "xxx yyy" "zzz qqq"]
but
a = [
"abc def",
"xxx yyy",
"zzz qqq",
]
is worse than
a = [
"abc def"
"xxx yyy"
"zzz qqq"
]

I mean once tagged once typed values

Emm...may be useful, so no need to introduce tagging in the raw string, .e.g.
re1 = re! /foo/g
re2 = all? re! foo

:-P (5) comma is a normal character, not a separator
for ["abc def" "xxx yyy" "zzz qqq"], I think double quotes already do the job.

or (3) comma as optional separator and optional terminator and (6) separated comma from raw_string with whitespace
a = [ ig? re! foo , ig? re! bar , ig? re! baz ]
b = [ ig?re!foo ig?re!bar ig?re!baz ]   # compact form

comma is a normal character, not a separator

But there are exists some cases when commas somewhat increase readability, e.g.
aaa = [x: i? k! abcdef, y: j? 123]

Comma in raw strings do seriously conflict with comma as separator. So we ought either:

ban comma in raw strings
ban commas outright.

It is too easy to write
a = [ ig? re! foo, ig? re! bar, ig? re! baz ]

instead of
a = [ ig? re! foo , ig? re! bar , ig? re! baz ]

Poor raw strings conflict with , and []{}. How about just banning ,[]{} at the end of raw strings?

I think the format will be a much more readable if we ban : = , [ ] { } inside raw strings completely
aaa = [ xxx:b?c!def,xxx:b?c!def, ]

is somewhat hard to read :-P

alghrough
aaa = [ xxx:b?c!"def,xxx:b?c!def,"]

is better

and raw strings clashes with comments
aaa = { bbb:ccc!ddd#eee}
}

So raw strings without quoting is not good, then type! is useless, since there are tagged quoted strings.
a = [ 0x?"ABCDEF", 0b?"100010", 0o?"755" ]
b = date? "2016-01-01 00:00:00.000 Z"
c = regexp? '|foo|g'      # ugly?

We have strings already: "content", 'content', """content""", '''content'''. But is there a better syntax for multiline strings? like C++ r"(content)"?

It is impossible to forbid people to write messy content all the time. It is better that the language guides users to a better style, and in appropriate situations. So one question:

When will you write an array of long-form value, and how would you style it?

If I'm writing a series of regular expressions, it is no doubt that for readability they should not stay in the same line. e.g. some regexps from a word matching program, in YAML:
- erase/^xx$/
- abbrev/^([a-z]).+$/$1/
- abbrev/^([zcs]h).+$/$1/
- derive/^([nl])ve$/$1ue/
- derive/^([jqxy])u/$1v/
- derive/un$/uen/
- derive/ui$/uei/
- derive/iu$/iou/
- derive/([aeiou])ng$/$1gn/
- derive/([dtngkhrzcs])o(u|ng)$/$1o/
- derive/ong$/on/
- derive/ao$/oa/
- derive/([iu])a(o|ng?)$/a$1$2/

Unquoted strings, even if not as complicated as regexps, conflict with others in heterogenous arrays, so just quote them. Now they come back:
key = type( raw_string_without_space )  # mind the space beside the parentheses

arr = { name: "Peter", birthday: date( 2000-10-10T23:30:00Z ), sex: "male" }

rules = [
  transform( erase/^xx$/ )
  transform( abbrev/^([a-z]).+$/$1/ )
  transform( abbrev/^([zcs]h).+$/$1/ )
  transform( derive/^([nl])ve$/$1ue/ )
  transform( derive/^([jqxy])u/$1v/ )
  transform( derive/un$/uen/ )
  transform( derive/ui$/uei/ )
  transform( derive/iu$/iou/ )
  transform( derive/([aeiou])ng$/$1gn/ )
  transform( derive/([dtngkhrzcs])o(u|ng)$/$1o/ )
  transform( derive/ong$/on/ )
  transform( derive/ao$/oa/ )
  transform( derive/([iu])a(o|ng?)$/a$1$2/ )
]

But is there a better syntax for multiline strings? like C++ r"(content)"?

PersonallyI use Python single-line "..." and multi-line """...""" strings, so I do not know how to express them bettern than TOML doesl I think they are good enough.

When will you write an array of long-form values, and how would you style it?

by juxtaposition, of course
a = [
    {longval1_field1:"str",longval1_field2:true,...}
    {longval2_field1:"str",longval2_field2:true,...}
    ...
]

type( raw ) looks super cool! yet more, it is safe to allow balanced () and [ ] and {} inside outer () !

allow keys without values (just ignore the key key = ),

for what purpose? and I do not think this will be very readable

Ok, then keep """ and ''' for simplicity.
Now there are some schemata for tagging:
key = ?tag type( raw_string_without_space )  # YAML-like
key = tag? type( raw_string_without_space )
key = tag?type( raw_string_without_space )  # compact?

key = !tag type( raw_string_without_space )  # YAML-like
key = tag! type( raw_string_without_space )
key = tag!type( raw_string_without_space )  # compact?

key = @tag type( raw_string_without_space )  # Objective-C?
key = tag@type( raw_string_without_space )  # Email...

Which is better?

allow keys without values (just ignore the key key = ),

for what purpose? and I do not think this will be very readable

It is good for providing templates:
[system]
font = #default: "Menlo"
size = #default: 16

And appearently this does not work in {...}.

to solve this proble, you may:

you may leave template with value omitted and get syntax error from INISON parser when user forgets to set something

you may pre put defaults in

[system]
font = "Menlo"    #default: "Menlo"
size = 16            #default: 16
without complicating things further
which value of which type parser must return after parsing "[a] b=" ?
I like idea to ban NULLs to avoid sudden NPE-s

Which is better?

we must look at objs and arrays too
aaa = bbb!{ccc:ddd(eee)}
aaa = !bbb{ccc:ddd(eee)}
aaa = bbb?{ccc:ddd(eee)}
aaa = ?bbb{ccc:ddd(eee)}

aaa = bbb!["aaa" "bbb",{ccc:"ddd"}]
aaa = !bbb["aaa" "bbb",{ccc:"ddd"}]
aaa = bbb?["aaa" "bbb",{ccc:"ddd"}]
aaa = ?bbb["aaa" "bbb",{ccc:"ddd"}]

[section]
<EMAIL_ADDRESS>aaa=!check<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

to me<EMAIL_ADDRESS>looks somewhat prettier
it is rather subjective though

The equal sign does matter. I think ? looks more conspicuous than ! with proportional fonts, especially when beside letter "l" and "i".
<EMAIL_ADDRESS>key2=32bit?12345678901
key3=round?3.141592
key4=not?true
key5=tuple?["type" 3]
key6=ordered?{a: 1, b: 2, c: 3}
key7=lines?"""
Line1
Line2"""

<EMAIL_ADDRESS>key2=32bit!12345678901
key3=round!3.141592
key4=not!true
key5=tuple!["type" 3]
key6=ordered!{a: 1, b: 2, c: 3}
key7=lines!"""
Line1
Line2"""

I agree that "!"
Line1
Line2"""

?

"|" looks promising

well, let use "@" for a while
at least it fat enough in any font


Selecting last day of month will mark disabled days as selected

Hi there!
To simulate this problem, open "A basic datepicker" calendar, and select the last day of the month, like 29/02. Then close the popup and reopen again. All disabled days of the next month will be makerd with "selected" class, like this:

Using 1.6.2 via NPM.
Chrome 48.0.2564.109
Windows 7

Fixed.
Thank you for the report, always helpful :+1:


Physics problems

Hello, i have been messing around with flame with box2d components for some days and and I have been having a lot of problems. On my first project i tried applying physics in many ways and never had the expected results, so i'll leave my project here (it has many things not relevant to the problem, and i can create a simpler project for debug purpose if it turns out to be the engines problem and not mine).
So, the first problem i had was that even without friction the body decelerates when it's on air. I tried applying a vertical force (body.linearVelocity = Vector2(50, 0), for example), but when the player spawned in air, it lost almost all velocity before hit the ground.
The second problem is that applying vertical forces (body.applyForceToCenter(Vector2(0,500))), for example) would cancel the horizontal velocity that the body had. Also appying a zero force (body.applyForceToCenter(Vector2(0,0))) would also slow down the body.
The third and most problematic problem i had was that on slower devices the forces weren't concise. When running on debug mode on my emulator the force would sometimes be stronger (player would make bigger jump), sometimes smaller (player would make a very small jump), kinda randomly. This was also problematic when dealing with huge forces or gravity, for instance, when i applied a force of 10000 or 10000000, for example, the height that the player reached were the same.
Well, hope anyone can help me with these issues and tell me what i have been doing wrong... The repository to the project is here: repo

Hey,
body.linearVelocity = Vector2(myWorld.playerSpeed * (forward ? 1 : -1), body.linearVelocity.y);
don't set the linearVelocity directly in the update method if you are using forces and impulses at the same time, it will give you a lot of trouble. You could set it when you create the body, but then after that you should manipulate in with forces and impulses instead.
Not sure if that will solve any of your problem though, but try!
I think that your player will jump higher depending on the size of the screen, not depending on the speed of the mobile cpu. Could you try if it works consistently if you remove viewport.size.height here and set it to something static?
body.applyForceToCenter(Vector2(0, viewport.size.height / 8)..scale(10000));

I have just updated the example so the bugs occurs on the branch 'bugs' (and also removed a bunch of non-related stuff).
about updating the linearVelocity on the update it was completely necessary, since the BodyComponent simply loses velocity when falling and when forces are applied on different axis, so this was ugly but necessary to work, i removed it on the repo to show what happens...
it was all static before, but on bigger devices the jump wasn't big enough to jump over obstacles, since the force is the same but obstacles were proportional to viewport height. Removed this too and used static values, jumps still don't have a consistent height.

So, i discovered the root of all problems: using objects too big. I was creating the body with height/width proportional to screen size, like, 10% of screen size, which would generate a body with width of 100px. So, to things moving i needed a very large force, which was limited by some constants on flame. And when spawning, i would spawn it in middle of screen, so it dropped like 300px or more before hitting ground, which would make the whole thing very buggy. After looking some examples from JapAlekhin i discovered that it all worked well if the game was 9px an then i zoom the canvas. That way, the body would be like 1px wide, so the physics would apply much better...

I'll close this since you seem to have solved the problem @rezendegc.

that is how box2d works on any platforms. if you look any box2d tutorial out there they will all tell you to use real life dimensions and scaling.


Typing improvements

This PR adds:

General typing improvements (missing return types, etc)
Typing fixes: Use Iterator instead of Generator, use new typing syntax as from __future__ import annotations is being used, CurveTracer.active_curve is a list of ValuedPoint, not Point)
some import sorting
py.typed marker added
Use classmethod instead of staticmethod (no breaking changes)

I've also added a simple github action, let me know if the config values in the pyproject.toml are good

Thanks for the contribution! Let's hope my release directions are intelligible...


Fix formatting of sections in README

I think one of the recent GitHub markdown parser changes may have broken support for lack of white space there.

Thanks!


Does not seem to work

Hi,
Sorry for the vagueness, but I thought I had one problem and it seems as though it's a bigger problem.
I'm running version 1.6.24 on Debian with Zotero standalone.
When I installed the add-on, I tried to export a file/collection, but it failed similarly to https://github.com/ZotPlus/zotero-better-bibtex/issues/421
Then I tried to make a proper error report from the preferences menu. I activated it, restarted zotero (a couple times), but I got no option to provide an error report as you mention in https://zotplus.github.io/support.html
I don't know if this has any significance, but in the preferences menu for better-bibtex there is a tab named "Better BibTeX has been disabled". There's nothing in it though...
I sense that the whole add-on is simply not working.
Thanks for your help.

Can you call up the debug log from the zotero advanced preferences and
attach it? Which zotero version do you run, and what other plugins are
installed?

Here's the log file. The interesting stuff seems to be at the top and the bottom.
The Zotero version is 4.0.22-1 and I am also using the Zotfile add-on. I'm also using xulrunner-24.0 if that has any meaning to you.
debug-BBT.txt
Thanks again!

I'd have to investigate why the message in de disabled window isn't shown,
but the problem is your zotero version. BBT requires at least 4.0.27 from a
technical point of view (the zotero internals changed incompatibly between
4.0.26 and 4.0.27), and only the latest is tested to work (currently
4.0.28). To use BBT, you will have to upgrade.

I think I've found why the notification is blank thanks to the error report you attached.

I realize Debian may not have packaged a newer Zotero (Debian is on the conservative side of things when it comes to upgrades). There is a PPA (https://forums.zotero.org/discussion/25317/install-zotero-standalone-from-ubuntu-linux-mint-ppa/) which appears to install the latest version. I have not tried this though, I've simply installed the standalone version from the zotero website.

Thanks. I did manage to install the newest version of Zotero on Debian from a script in a Github repository: https://github.com/smathot/zotero_installer
Which is by the same guy who made the PPA for Ubuntu.
Using the new Zotero version, the BBT plugin seems to work fine (so far).
Thanks again!


Modify the page RankPage.html

We need to show the updating message about the bestcoder, hdu and poj.
The page is like the following now:

To edit the file RankPage.html

Got it!


chore: jsonfmt customer-insights

Ran jsonfmt -w "specification/customer-insights/**/*.json"

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-python

Automation for azure-sdk-for-js

Automation for azure-sdk-for-java

Automation for azure-sdk-for-go
Nothing to generate for azure-sdk-for-go

Can one of the admins verify this patch?


Mouse Tracker throw error   on Desktop(macos)

Mouse Tracker throw error
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:47:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
#2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
#3      MouseTrac

@elham-rababah
What flutter version are you on ? A similar issue was reported but wasn't replicable on latest beta and master (https://github.com/flutter/flutter/issues/94695#issuecomment-986590782), so I suggest you to upgrade to their latest version and confirm if this behavior still occurs.

Fix By adding this WidgetsFlutterBinding.ensureInitialized(); to the main function inside main file.

it happed again and the WidgetsFlutterBinding.ensureInitialized();  not solved the issue.

It is happening to me as well. I could not find the cause, it happens randomly when switching windows.
════════ Exception caught by scheduler library ═════════════════════════════════
'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not true.
package:flutter/…/rendering/mouse_tracker.dart:1
════════════════════════════════════════════════════════════════════════════════
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not true.
package:flutter/…/rendering/mouse_tracker.dart:1
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:47:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
#2      MouseTracker._deviceUpdatePhase
package:flutter/…/rendering/mouse_tracker.dart:201
#3      MouseTracker.updateWithEvent.<anonymous closure>
package:flutter/…/rendering/mouse_tracker.dart:312
#4      MouseTracker._monitorMouseConnection
package:flutter/…/rendering/mouse_tracker.dart:190
#5      MouseTracker.updateWithEvent
package:flutter/…/rendering/mouse_tracker.dart:311
#6      RendererBinding.dispatchEvent
package:flutter/…/rendering/binding.dart:314
#7      GestureBinding._handlePointerEventImmediately
package:flutter/…/gestures/binding.dart:374
#8      GestureBinding.handlePointerEvent
package:flutter/…/gestures/binding.dart:338
#9      GestureBinding._flushPointerEventQueue
package:flutter/…/gestures/binding.dart:296
#10     GestureBinding._handlePointerDataPacket
package:flutter/…/gestures/binding.dart:279
#11     _rootRunUnary (dart:async/zone.dart:1444:13)
#12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
#13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
#14     _invoke1 (dart:ui/hooks.dart:169:10)
#15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:293:7)
#16     _dispatchPointerDataPacket (dart:ui/hooks.dart:88:31)

flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.1 21C52 darwin-x64, locale en-AR)
    • Flutter version 2.8.1 at /Users/ernestofreiberg/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (5 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/ernestofreiberg/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = /Users/ernestofreiberg/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser 2.app/Contents/MacOS/Brave Browser

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.63.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.32.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 12.1 21C52 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Brave Browser <IP_ADDRESS>

• No issues found!

I'm seeing something very similar on Linux, with the following stack trace:
[ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: 'package:flutter/src/rendering/mouse_tracker.dart': Failed assertion: line 201 pos 12: '!_debugDuringDeviceUpdate': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2      MouseTracker._deviceUpdatePhase (package:flutter/src/rendering/mouse_tracker.dart:201:12)
#3      MouseTracker.updateWithEvent.<anonymous closure> (package:flutter/src/rendering/mouse_tracker.dart:312:7)
#4      MouseTracker._monitorMouseConnection (package:flutter/src/rendering/mouse_tracker.dart:190:9)
#5      MouseTracker.updateWithEvent (package:flutter/src/rendering/mouse_tracker.dart:311:5)
#6      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:314:20)
#7      GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:374:7)
#8      GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:338:5)
#9      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:296:7)
#10     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:279:7)
#11     _rootRunUnary (dart:async/zone.dart:1442:13)
#12     _CustomZone.runUnary (dart:async/zone.dart:1335:19)
#13     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1244:7)
#14     _invoke1 (dart:ui/hooks.dart:170:10)
#15     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:331:7)
#16     _dispatchPointerDataPacket (dart:ui/hooks.dart:94:31)

/cc @dkwingsmt who may have the most knowledge of this bit of the code.

The mention of window switching reminds me of https://github.com/flutter/flutter/issues/90838, but the error logs are different. Would appreciate if someone investigates into reproduction.

@elham-rababah @efreibe Can you provide a complete minimal reproducible code sample along with steps to replicate this error ?


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: 01bvfdq42
works_examples: W3203396300;W3174128929;W3041672499;W4296246870;W4309390664;W4292091676;W4286876704
contact: 612beef53603c121a66c4a08c45390a2:f60eec84d67a14e48d291c284b30dc @ 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.


Only replace the services created by this Application object

If there are two Application object that both render charts with the same Service object, Shipper will constantly replace the Service.
This started happening when a user had two Application objects, and passed the same Service name  as one of the values in the chart for both applications. What happened was that Shipper started replacing the Service object over and over.

Frankly, that sounds like a conflicting input, which I personally would place on the same shelf as dual set of production-labeled services.

Can you explain a bit on what you mean in terms of how Shipper should behave? Do you mean that it should error out just as it does when two services have the shipper-lb label set?

There's a good opportunity here to also take care of #12 :)

Closed by #223


Consider specifiers for equality operator to pin a dependency in make_install_requirement

Resolves #1114
Haven't written the test yet, as I would like to know if the spirit of the change suits the authors first
Tried to run tox -e checkqa as proposed in contribution guidelines but had a failure with github auth

Changed function signature to take ireq directly rather than passing its
members one by one
Changed type hint for version as I was getting a pip Version rather than
a string, maybe there are some parts of the code calling with string though
Can confirm it generates a pinned torch with === in my use case as
expected

Changelog-friendly one-liner: Prefer === over == when generating requirements.txt if a dependency was pinned with ===
Contributor checklist

[x] Provided the tests for the changes.
[x] Gave a clear one-line description in the PR (that the maintainers can add to CHANGELOG.md on release).
[x] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

Solved the tox auth issue, will fix the issues on my end and understand what happens with the failing test cases

Feedback welcome, squash is ready locally (removed the pytest network marker that's not required by my test anymore)
Cheers

LGTM 👍🏼 Thanks, @IceTDrinker, for your patience and great work!

Do you need a squashed commit for all this ?

Do you need a squashed commit for all this ?

I'll use the "Squash and merge" button, no worries 👍🏼

Thanks for the reviews
Cheers

pip-tools v6.0.0 is released 🚀


Rename window to windowWith

We need to deprecate window, because it was a really dumb name, and rename it to windowWith or the like. I suggest windowWith just out of the spirit of concatWith and mergeWith renames... But I'm open to suggestions.
Related: https://github.com/ReactiveX/rxjs/issues/3788

Similarly, we might want to rename buffer to bufferWith because they're closely related.

Is there a concept for a counter part?
if 'With' is used to relate to a operator.
E. g. mergeWith. merge would be the counter part.
this obviously doesn't work for window.
The real problem is the basenaming window.
I suggest take a new name.
windows? slice? span?

I don't even like the name I had here anymore.
Core Team Notes: Ben is dumb. This isn't a good name, and he shouldn't name things.

Why not remove it? It appears to me that windowWhen does the same thing? Is there a difference other than typing?

I would suggest either using partitionWith or sliceWith since I assume with is used to identify that this operation is with another observable emission. Partition already is used to make one stream into two based on some condition, partition could be used to partition it into multiple streams with the trigger being the emitting stream.

@shees-usman I like both suggestions however I see a small issue with both:

partition: RxJS used to have partition both as an operator and a creation function. Both of these referred to partitioning streams into two parts. This could be confusing both for people that still remember the old functions and people ending up reading documentation for deprecated operators by mistake.
slice: In principal I like slice but I think it does not imply a continuous operator but one similiar to count which only is done on completion of the stream.

I would suggest using segment. It would fit every current window operator:

window -> segment
windowCount -> segmentCount
windowTime -> segmentTime
windowToggle -> segmentToggle
windowWhen -> segmentWhen


fix(buttons): double toggle on spacebar

This is basically a revert of bdfb289.
A spacebar click is treated as a normal click event so it will trigger the toggle twice.
I don't think there is a proper way of testing this.
Plunker
Fixes #4474

LGTM
Only thing I might suggest is maybe update the docs on advice for accessibility, but I'm fine with this being merged as in.

What you mean with "on advice for accessibility"?

Nesting an input tag so the input handles all of the accessibility requirements.


Death from above counts as damage even if you hit nothing

It looks like dealing 225 damage to yourself.
Perhaps I should ignore all damage dealt to oneself.

DFA is not critical, due to small numbers, but gunner's self-destruct is significant, doing 10M damage to turrel and robot. Note that you need to check owner, simple attacker=target will not work, because one spawned npc (robot) can hit another (turrel). Send pull request with fix. Not sure, that it is the best way, as usual.

What annoys me most with DFA is that I don't know what this message is supposed to say. Where does this 225 come from?

lunyx found, that DFA packet with 225 damage have different SkillResultFlag (4). Seems that it is not damage, but some effect strength.
Here's the code for sending effect animation from java server emulator:
target.broadcastPacket(Damage.getInstance(attacker, target, template.getDamageId(), getPower(), false, false, Damage.EFFECT))

Only thing I can think of is RE regen - afterall Dfa is doing that as direct effect, not as side effect of hitting. The number does seem a bit high (would expect 150-200, but it's still in realm of possibility).

It can be bitwise. Or have any other logic. RE regen effect is the most possible value of this packet.

Actually DFA does infact restore exactly 225 RE. So it's probably that.


Fail on bad response status

Previously we could get responses from the github api like:
Response status: 401 took 0.21685314178466797
Response JSON:
{
 "message": "Bad credentials",
 "documentation_url": "https://docs.github.com/graphql"
}

But continue on and fail with something like:
Traceback (most recent call last):
  File "/.../lib/python3.8/site-packages/revup/__main__.py", line 17, in _main
    sys.exit(asyncio.run(main()))
  File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/.../lib/python3.8/site-packages/revup/revup.py", line 357, in main
    return await upload.main(
  File "/.../lib/python3.8/site-packages/revup/upload.py", line 46, in main
    await topics.query_github()
  File "/.../lib/python3.8/site-packages/revup/topic_stack.py", line 961, in query_github
    ) = await github_utils.query_everything(
  File "/.../lib/python3.8/site-packages/revup/github_utils.py", line 290, in query_everything
    this_node = pr_result["data"]["repository"][prs_out[i]]
KeyError: 'data'

Now you get an error like:
E: Request failed with response status 401
E: Response: {'message': 'Bad credentials', 'documentation_url': 'https://docs.github.com/graphql'}

Not sure if we should treat any 200 status as ok or something, or just
400 statuses as errors, etc.
Reviewers: jerry,brian-k
Topic: status-fail

Reviews in this chain:
└https://github.com/Skydio/revup/pull/82 Fail on bad response status

#
head
base
diff
date
summary

0
74069b34
311ff10d
diff
Oct 28 15:30 PM
3 files changed, 16 insertions(+), 1 deletion(-)

Also tested this works correctly on successful requests (e.g. to upload this PR :) )


node proces crash after single viz instance renderString more then 1714 times

Easy to reappear the crash by this script https://gist.github.com/fengmk2/ac06c36ee48eeae3c17fb0bae61a1221
node crash.js

1712 svg length: 7589
1713 svg length: 7589
1714 svg length: 7589
Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value 16777216, (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0
Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value 16777216, (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0

Closing because this appears to work in v3.


[Bug] websocket DisConnect Can't turn off

What did I do
There is a high probability that websocket DisConnect has a problem. It cannot be turned off and can only be restarted.

What happened
but use http://tools.emqx.io is ok!!!
Expected
What is the expected result.
Environment

OS: windows 10
MQTTX：v1.6.0

More detail
More detail include log information or screenshot

Hey! @ChunMengLu Thanks for using and feedback! I also found this problem just the other day, I don't know if it's a network problem or a configuration problem with your MQTT broker. Because this problem occurs when MQTTX does not receive DISCONNECT messages because the MQTT broker does not send them, maybe I can add a timeout determination for the DISCONNECT.

The new version has been resolved。


enhancement Enable FileCache for internal statistics info table

Use FileCache to accelerate analyze by more than 20x
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


[Feature]: Need to share docker endpoints between user and team

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
in this case , we tried to add remote docker endpoint by admin user. we add multiple users to server for allowing users run their own application. We could reuse the remote docker endpoint that has been already added by the admin user but at moment we cannot do that. the only way and solution the user must add the dedicated remote endpoint by individually.
Why should this be worked on?
it would be better if we can manage the permission of endpoints that share with user and team

I'm closing this issue, because tracking features will be moved to GitHub discussions. Github issues will be only for bugs.
Version 4 is in full focus. v3 related issues will be closed, if it is not a critical bug.
Thanks for your understanding.


Issues with installing the BioTools

I used the tools before they became a part of OuterCurve. Now you've move them to GitHub.
I tried to compile the libraries to build the tools but I get this error. What type of project do I need to create for nuget to install correctly?
I'm trying to install the .NET BIO libraries,  https://github.com/dotnetbio/bio , from Nuget but when I enter the correct commands into the package console I get this error:
PM> Install-Package NETBioCore.PCL
Install-Package : The current environment doesn't have a solution open.
At line:1 char:1

Install-Package NETBioCore.PCL

  + CategoryInfo          : InvalidOperation: (:) [Install-Package], Invalid

 OperationException

  + FullyQualifiedErrorId : NuGetNoActiveSolution,NuGet.PackageManagement.Po

 werShellCmdlets.InstallPackageCommand

Hi George,
The Nuget approach is if you want to use the libraries for your own C# code. This doesn't include the command-line tools, those were just samples built around the libraries.
If you want the command-line tools, then download this: http://bio.codeplex.com/downloads/get/677214
That is a standalone MSI installer which includes the binary tools and will create the .NET Bio folder for you.
I hope that helps!


Exporting an OpenAI compatible API for a given UserAgent proxy.

What feature would you like to be added?
I would love to have a /v1/chat endpoint that communicates with my Autogen agents. Is there any simple platforms that support this with autogen agents?
Why is this needed?
So I can interface with it with external openai api compatible clients

You can read about the API doc: https://microsoft.github.io/autogen/dev/reference/python/autogen_ext/autogen_ext.models.html#autogen_ext.models.OpenAIChatCompletionClient

No I want to SERVE the agent over an OpenAI API compatible endpoint

No I want to SERVE the agent over an OpenAI API compatible endpoint

No, we don't have it in the current Python API. If you are interested, you can start a community package. See: https://microsoft.github.io/autogen/dev/user-guide/extensions-user-guide/index.html.
It is even more interesting to support (partially) an Assistant API.


Union types with Generics causes (more) type-checking bugs

The title is related to #9797, but the errors differ.
The first two one-dimensional array cases work as expected, the other one with a two-dimensional array, however does not. If you compile in both lines (A) and (B) it will not compile; if you exclude any or both, it does; in all cases .class and typeof() return what you would expect.
# 1D array, easy
a1 = [] of Int32|Symbol
a1.push(:test)
a1[0] = :test       # compiles
a1[0] = 12          # compiles

# 1D array; see co-/contravariance in https://crystal-lang.org/reference/syntax_and_semantics/inheritance.html
a2 : Array(Int32|Symbol) = [:test] of Int32|Symbol
a2[0] = :test       # compiles
a2[0] = 12          # compiles

# 2D array
a3 = [] of Array(Int32|Symbol)
p a3.class          # -> Array(Array(Int32 | Symbol))
p typeof(a3)        # -> Array(Array(Int32 | Symbol))
a3.push([:test] of Int32|Symbol)
a3.push([:test])    # (A); compiles
p a3.class          # -> Array(Array(Int32 | Symbol))
p typeof(a3)        # -> Array(Array(Int32 | Symbol))
a3[0][0] = :test    # compiles
#~ a3[0][0] = 12    # (B); does not compile if (A) gets compiled in

To me it looks like a (minor?) type-checking bug in the compiler; line (A) should already lead to a compiler error to stay consistent with the one-dimensional example.
This (compiler) bug makes (user) code fixing more complicated because the compile error hints to a line that is ok; and you need to find the buggy one yourself.

I just tested this with Crystal 1.0.0 and this seems to have been fixed.
Including (B) always works, and including (A) always gives the following error:
In test4.cr:17:4

 17 | a3.push([:test])    # (A); compiles
         ^---
Error: instantiating 'Array(Array(Int32 | Symbol))#push(Array(Symbol))'

In /usr/share/crystal/src/array.cr:1439:12

 1439 | @buffer[@size] = value
               ^
Error: instantiating 'Pointer(Array(Int32 | Symbol))#[]=(Int32, Array(Symbol))'

In /usr/share/crystal/src/pointer.cr:130:29

 130 | (self + offset).value = value
                               ^----
Error: type must be Array(Int32 | Symbol), not Array(Symbol)

Can be closed I guess.


Render App.router.currentView is undefined

I've asked the question on StackOverflow, http://stackoverflow.com/questions/33687946/render-app-router-currentview-is-undefined.

responded to it on StackOverflow, lets keep the convo there :)


Use proc-macro-error2

This will avoid some rustsec advisories on downstream users of this awesome lib :)

@mersinvald , can you merge this PR, please?

@Arjentix thanks for pinging me


Expect you to publish tus_client to pub.dev with a flutter example.

Use pure dart to implement tus flutter client, which is very useful for flutter developers.
Expect you to publish tus_client to pub.dev with a flutter example.
Thank you.

Good point! You can check here:
https://github.com/jjmutumi/tus_client/releases/tag/v0.0.1
https://pub.dev/packages/tus_client
Open to pull requests

Thank you. Got it. I'm going to try.


fix: Update rack dep

@mscrivo This PR should run CI properly.

Can I make one more request here, can we update redcarpet as well to fix this:


modification of async example in documentation

The async io example within the documentation did not use the event-loop, as asyncio.run does execute the async method. This PR changes the usage of asyncio to work properly. It points also out, that unsync has a much shorter syctax.

Thanks for contributing this!