refactor namespaces in criterion interface

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
[x] Did you read the contributor guideline?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

What does this PR do?
Fixes #1672 in part (part 1: context)
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Almost done with this one :) Had to make some changes to support backwards compatibility, since there's a lot of internal criterions that still use the old API.

Sorry for all the extra work, but I'm excited about these changes. Wiring up hydra should be a breeze after this.

Sorry for the delay, still iterating on this. Will be merged soon...

Woo! Glad to see this land -- thanks, @myleott. I see that this was a lot of work -- if there's anything you want to push back to me for the other components, please don't hesitate.

Yeah thanks for all your work getting this started!
The first one took a bit longer because it required some discussion and figuring out the right way to maintain backward compatibility. The key is providing a Legacy version of the base classes, for example the LegacyFairseqCriterion.
It’d be super helpful if you can add some of those for the other PRs, but in general I hope the next few of these should be easier to merge.

Awesome. Happy to do that - looks like a light lift after the hard decision making was made up front. 😄 Should I also make PRs to pytorch/translate in tandem (like the associated commit w/ this PR)? I was given the impression that translate and fairseq were going to merge eventually, but I don't suspect that changes the need to keep them in lock step.

Hi, what is the purpose for this change which might cause all the user defined criterion broken?

The purpose of this change is to divorce components in fairseq from argparsing. If you want to use some model/criterion/task/etc. outside of fairseq, you basically cannot. We have retained a FairseqLegacyCriterion interface which is a minimal change to keep compatibility with the previous interface.

I don't understand.
The original criterion design already contained "add_args" functions to add specific arguments. I am not sure the current change for "from_args" is necessary and I felt it made code even confusing.

The original criterion design stored an argparse.Namespace as an instance variable which means that you need one to create a criterion which is inconvenient. Eventually all of these {add,from}_args methods will be replaced by proper configuration.

Not sure what do you mean by "you need one to create a criterion which is inconvenient. "
I think the design of args has more freedom to add different configurations as needed.

Basically:
class Criterion:
    def __init__(self, args: argparse.Namespace):
        self.args = args # <-- this has nothing to do with what it means to be a criterion

Ok.. If it is the case, everything needs to be changed in fairseq...

These changes are not as dramatic as they appear. Basically it's standardizing the code toward best practices which has a lot of benefit downstream in testing and consuming.

I think using "args" makes it much easier to pass arguments which might be defined outside of criterions.

Why can't you pass it to the constructor directly?

Also, if a function requires 10+ more arguments as inputs to "init", it will also be very difficult to read and work with.

Difficult to read: maybe. Consider abstracting something.
Difficult to work with: I don't think I agree.

Anyway, I still don't think it is a good idea to remove all "args" to build the current model/criterion/etc.
There may be a lot of places where you need to have this "args" as input, otherwise it is easily to get 10+ or 20+ inputs in a complicated model.
Just to be clear, since Myle has already accepted the PR, I just left my comments here.

To make this exceeding clear: if someone develops an interesting optimizer in fairseq that I want to use in my pytorch code, there's currently no way to do that unless I mock argument parsing. Optimizers should not care about argument parsing much like models, lr schedulers, tokenizers, byte-pair encoders, loss functions, or just about any other component in software (outside of a main function) should not.

..but this PR is about "loss functions".

I was giving an example. There are PRs for every other component, as well. See #1743, #1733, #1732, #1731, #1730

Yes, I understand.
I think it is super unnecessary and makes everything hard to read, change, and maintain our previous codebase. Especially for "tasks", "models".

Sorry just catching up on this.
@MultiPath, I shared some context/motivation in the other PR (#1743), but I agree that we need to be careful here for several reasons:

Currently fairseq uses args everywhere, so we need to be careful not to break existing code. We introduced the "LegacyFairseqCriterion" base class that should be a drop-in replacement to make any existing code continue to work.
There are cases where using a single args is very helpful and we should continue to support this where it's appropriate.
The hope is that this will make it easier to use fairseq as a library. The motivation is to let people initialize and use fairseq components as standalone pieces in other projects, rather than only supporting the fairseq command-line usage.

The original criterion design already contained "add_args" functions to add specific arguments. I am not sure the current change for "from_args" is necessary

Hmm, seems this is a github bug. Please ignore the "Files Changed" shown in this PR. The actual commit is 719fb82db646d8b694e2a7174b800f94dcd65b6e, which included a number of changes. Notably, we didn't end up adding from_args and also introduced LegacyFairseqCriterion.


fix: replace default port as 31007 to fit cnosdb

According to the docs of cnosdb-quick-start, the default port of cnosdb is 31007 both of container and local.
So we'd better change the default port to make examples easy-to-use.

@Subsegment PTAL

Thanks

pip uninstall cnos-connector
and
pip install cnos-connector
to install 0.1.4 version

Thanks for the merge.
We can do pip install -U cnos-connector as well.


Add more DEA servers

Hello,
Is it possible to add more DEA servers and control their allocated resources? If yes, how would this be done?
I've found a solution for the Bosh installer of Cloudfoundry (https://github.com/cloudfoundry-community/bosh-cloudfoundry/blob/master/tutorials/activities/add-more-deas.md) but I don't know how it would apply to our case. Any help on this please?

Hi @PanosNB, unfortunately, you cannot add DEA servers using this installer because it doesn't support clustering. The number of DEA servers is always 1.
If you want to assign more resource to your devbox, you can modify your Vagrantfile. For example, you can assign more memory by modifying this line (https://github.com/yudai/cf_nise_installer/blob/master/Vagrantfile#L12).

Thank you for your reply @yudai!


Unable to render two views (a simple and other complex) to same folder

For some reason, I am not able to render a "Simple View" (/articles/index.html) to the same folder of one "Complex View" (/articles/{{ post.slug }}/). However, the simple view renders properly when I change the folder name of the complex view.

Sorry for the delay in getting back to you @viniciusbraga, was out-of-country for a few days. I've pushed a new version to fix this issue: v0.6.6


Enable GCP APIs in sc add-gcp-broker

As of now, we enable deployment manager API and service broker API in sc add-gcp-broker. We also need to enable other APIs that we support in GCP broker.
The list includes BigQuery, Bigtable, IAM, ML Engine, Pub/Sub, Spanner, SQL, and Storage.

Maybe, we need to enable all APIs in parallel in case that it might take too long.

what is the rationale for a flag? Is there harm in (presumably idempotently) enabling the API mutliple times?

6 APIs need to be added:
gcloud services enable iam.googleapis.com for IAM and all other bindings
gcloud services enable bigtableadmin.googleapis.com for Bigtable
gcloud services enable cloudresourcemanager.googleapis.com for project-level IAM
gcloud services enable ml.googleapis.com for ML Engine
gcloud services enable spanner.googleapis.com for Spanner
gcloud services enable sqladmin.googleapis.com for SQL

So will we disable the APIs for the users when they do uninstall?

No. We should not disable any API. Disabling APIs could break customers' running services.

Yeah, but I worried that users may not expect so many enabled APIs after uninstallation.

If enabling of the API(s) fails, we need to print a good error message so that users know which APIs were not successfully enabled.

Fixed

More than 5 mins, sc add-gcp-broker hangs only with the following message:
sc add-gcp-broker
using project:  [[PROJECT ID]]

Since it takes long to enable APIs, it would be better to print the status whenever trying to enable a API.

Maybe make the enabling process run in parallel will help?

Let me create a new issue about parallel API enablement.


crytocurrency readme needs to show how to obtain a twitter token

Not everyone will know about twitter tokens to gain access to the twitter API.
We need to put a section in the readme with links and a description of how to obtain this.

Fixed via https://github.com/hazelcast/jet-demos/commit/8487c704199533fcf7b0a6b37df4907073ce1e7b


JAMES-3909 Skeleton code for user data deletion

Scope: Task + Service + Webadmin
TODO: docs, guice binding

Removed the delete all users part (TODO open other PR).


Add of keyword back as optional

This simple change here increases tons of backward compatibility to existing code.

Hey @yunxing, would it be possible to run upgradeSyntax.sh instead of adding more optional syntax for backwards compatibility reasons? Maybe I'm misunderstanding the purpose of this PR, but I was under the impression that Reason was trying really hard to avoid the baggage of supporting legacy code by offering a good syntax upgrade path. Why is this case different?

@bsansouci You are totally right. That's the goal. It is just ... we don't have a good upgrade story yet for npm installation flow (it is being discussed though).
And also this case is special. Our initial version 0.0.6 uses "of" keyword, and there is a change that prevents upgrading from that version to the current version (the ast is still same, but our comment source map are a bit different now).
All that being said, I think it is still nice to preserve some sort of backward compatibility when we could easily do (there are still tons of code in python2 although there is a tool to upgrade 2 to 3). But I definitely think we should encourage users to do more syntax upgrade when we are ready. Making this a habit for users will help us a lot in the long run.

Yeah, if it's pretty much free, may as well!


Current methods on improving Chromeless request time

Are there any methods right now to do Chromeless actions for less resources and possibly faster? My current applications are pretty simple: 1-3 page loads, some field typing, and done.
I realize by nature Chromeless is going to be pretty resource intensive per instance due to it's basically a legit version of chrome running. I just wanted to make sure I didn't miss anything.
Currently using Chromeless with AWS Lambda.

About the only other thing you could do is to reject certain network scripts from actually running (for example: probably want to block ads and other 3rd-party scripts). However that work is pretty intensive for likely little payout.
I'm open to hearing suggestions or otherwise!

Is there anyway to force all the images to not need to load? Kind of extreme, but that's all I can think of.

Definitely a possibility... is it a site that you own or are consuming externally? Reason I ask is that some sites attach onload handlers to their images for whatever reason (masonry, layouts). If you're running this in lambda then the only option you kind of have is rejecting image fetching

It's an external site, it's not ran often at all. However it needs to be fast because it requests after user input. At the moment a simple script takes 27 seconds - Yikes!

This wouldn't be a cause to my slow speeds, would it?
 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 message listeners added. Use emitter.setMaxListeners() to increase limit @joelgriffith

Possibly... @adieuadieu does this look familiar? The only thing I'm aware of is chrome-launcher's listening for SIGINT to kill Chrome which shouldn't be running in lambda...

It happens on all my scripts @joelgriffith, after I implement the .type function. Strange.

I'm aware of the event EventEmitter issue, also brought up in #180—has to do with some mishandling of the event-listener in remote-chrome.js. Each item in the queue subscribes to the event emitter whereas we should just subscribe once for the whole queue. Fix is coming.
Relating this this issue, we could implement some control over loading of resources by exposing something like Network.setBlockedURLs or maybe better Network.requestIntercepted event.
@miles-collier 27 seconds does still seem quite a long time, even for a more involved site. Does it also take that long on the Playground? What's your script do during the page interaction? Is the script something you can share?

@adieuadieu Thanks for the response, that implementation of resource control would be AMAZING! I really wish I knew more so I could contribute to this project, a lot of my work I've been doing has been reliant on this tool.
As for the 27 second time, it's incredible. I changed the RAM from 1024 to the max like 1536? It went from 27 seconds to 15 seconds. On playground I got 14 seconds. So that's pretty consistent. I would love to achieve 7 seconds.
--
It's pretty simple,
First section adds a product to a cart
.goto
.type
.click
.wait(elem)
.click
.wait(elem)
Second section opens cart and enters in some dates & other variables
.goto
.focus
.clearInput
.type
.focus
.clearInput
.type
.type
.wait(elem)
DONE


VMI details tab - details section - second half

Signed-off-by: Matan Schatzman<EMAIL_ADDRESS>
📝 Description
Second half, right side of details section in VMI details tab
🎥 Demo

/lgtm


wxt init

Create a command, wxt init, that initializes a starter project. Tempaltes already exist at templates/.

Closed by #65


Left scrollbar is not working in Safari 8 on OS X Yosemite

When debugging the issue for https://github.com/AmpersandJS/ampersandjs.com/issues/119, I also checked backbonejs.org to see if other sites were having the same issue.

After looking into this issue a bit it truly is an unfortunate Safari bug. All the code-based workarounds seem to add unnecessarily ugly code or break the basic functionality of the docs page.


[border-router] add test for manual address reachability

This PR adds a failing test about manual configured address reachability for a border router.
The issue has shown in Thread 1.2 Certification DUA-TC-20, in the case when the DUT is a Backbone Router. The test is passing for a regular device DUT, as seen with the first ping in the test.

@simonlingoogle @librasungirl @abtink could you help identify the issue?

Okay, it seems that the mExtUnicastAddressPool is not checked here https://github.com/openthread/openthread/blob/main/src/core/net/ip6.cpp#L1182
I'm still trying to understand the usage of these three methods:
bool HasUnicastAddress(const Address &aAddress) const;
bool HasUnicastAddress(const UnicastAddress &aAddress) const;
bool IsUnicastAddressExternal(const UnicastAddress &aAddress) const;

From the test results it can be seen that both the ping reply and ping request that the BR receives with the GUA as destination are being forwarded to the backbone link.
test_manual_address_pcaps.zip

@edmont Thanks for disclosing the issue.
With the current platform network interface implementation and ICMPv6 Echo Handling configuration, BR will pass the Ping Request to the wpan0 TUN interface to allow kernel to respond with a proper Ping Response.
However, I found that the kernel may not be properly configured.
The wpan0 interface actually does not have the GUA configured, even though ot-ctl ipaddr can show the address:
root@d65560a7e07e:/app# ot-ctl ipaddr | grep 2002
2002:0:0:0:a:b:c:d
root@d65560a7e07e:/app# ip -6 addr list dev wpan0 | grep 2002
root@d65560a7e07e:/app#

Since the wpan0 interface is not configured with the GUA, it also does not have the proper route for the GUA prefix:
root@d65560a7e07e:/app# ip -6 route list
9100::/64 dev eth0 proto kernel metric 256 pref medium
fd00:db8::/64 dev wpan0 proto kernel metric 256 pref medium
fd88:a175:e438:26bd::/64 dev wpan0 proto kernel metric 256 pref medium
fdbe:ec4:29dd::/64 dev eth0 proto kernel metric 256 expires 1720sec pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev wpan0 proto kernel metric 256 pref medium
default via 9100::1 dev eth0 metric 1024 pref medium

I think the issue is that the manually configured addresses are added by otIp6AddUnicastAddress, which calls Netif::AddExternalUnicastAddress, which actually does not notify the wpan0 interafce with an address callback.
This, even though seems odd, is actually intentional according to the current design (please help verify @abtink @bukepo) because a BR with a wpan0 TUN interface is supposed to use the system command ip -6 addr add to add manual addresses rather than ot-ctl ipaddr add.
So, the test passes (verified) if we change the code for adding GUA to be like:
br1.bash(f'ip -6 addr add {GUA_1}/64 dev wpan0')

I think it's debatable if we should call adderss callback when using ot-ctl ipaddr add to allow the same address to be added to wpan0 interface.
But BRs can use ip -6 addr add instead of ot-ctl ipaddr add as a short-term fix.
Thoughts? @bukepo @abtink

Thanks for investigating @simonlingoogle . In that case the certification test can be fixed by overriding the address setter method in the BR's THCI:
    # Override forceSetSlaac
    @API
    def forceSetSlaac(self, slaacAddress):
        print('forceSetSlaac %s' % slaacAddress)
        self.bash('ip -6 addr add %s/64 dev wpan0' % slaacAddress)

As for the general issue, couldn't we just disallow otIp6AddUnicastAddress for Border Router builds?

This, even though seems odd, is actually intentional according to the current design (please help verify @abtink @bukepo)

@simonlingoogle , yes, from what I recall this was intentional (callback was added from https://github.com/openthread/openthread/pull/3249).
Here is a quick summary:

We have two categories of addresses:

The internal address (the one that OT core itself adds/removes (like mesh-local address), and
The external addresses that user (other entities) add/remove.

The otIp6AddressCallback is invoked only for internal addresses.

I think the idea was that if next layer is adding the address, it already knows about it and no need to invoke the callback to notify it again
If I recall, this model helped make certain next layer code (which synced between multiple netifs) easier to write (when you get a callback, you know it is not something that is already on your wpan interface and can add/remove it on it).
One thing to note is that the Notifier events OT_CHANGED_IP6_ADDRESS_ADDED/REMOVED are invoked on any type of address, so that can be used to track all changes.

I personally don't have any preference related to this. I guess all models can work and in general we need next layer code to be aware of this and handle syncing of the address/prefixes/routes between the two netifs (the one on OT and the tun wpan0).

a BR with a wpan0 TUN interface is supposed to use the system command ip -6 addr add to add manual addresses rather than ot-ctl ipaddr add.

This make sense to me and II think this is good way.

Couldn't we just disallow otIp6AddUnicastAddress for Border Router builds?

I think we want the API to be available on all builds. I expect it to be used by next layer (ot-br code) to push the address added on wpan0 netif down to OT.

I guess all models can work and in general we need next layer code to be aware of this and handle syncing of the address/prefixes/routes between the two netifs (the one on OT and the tun wpan0).

I would suggest to use a different model in which all OT changes are reflected on the wpan0 interface, but NOT map wpan0 changes back to OT stack.
The current model is confusing to some extent (which caused this issue in the first place):

Users would expect IP6 addresses added by otIp6AddUnicastAddress (or ot-ctl ipaddr add) to be working just fine, however it's not in this case.

The benefit of the current model is that users can apply IPv6 changes to the wpan0 interface, and expect the corresponding change to happen on the OT stack side. However, the benefits are not that significant:

We don't have use case to add IPv6 addresses via ip -6 addr add on the wpan0 interface. People usually use ot-ctl or CLI since they have been using it for managing OT.
It's not always possible to add all IPv6 addresses on wpan0 to OT because OT stack usually have a small limit on the number of unicast/multicast IPv6 addresses  the ThreadNetif can have. So, the current model is not guaranteed to work anyway, which makes it even more confusing, because IPv6 addresses added by ip -6 addr addr may or may not work.

Thoughts?

@edmont Please refine the test so that we can merge it. It's covering a case not covered by other tests.

@simonlingoogle the test is updated and passing now.


⚠ Bofrost.de has degraded performance

In d5ae061, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 714 ms

Resolved: Bofrost.de performance has improved in 7b69354 after 10 minutes.


Error: Secure Message failed to verify signature: failure

OS: MacOS
nodejs: v8.16.0
mediconcens-Mac-mini:nodejs-crypto-lab mediconcen$ node --experimental-modules interative_mode.mjs abc
(node:12167) ExperimentalWarning: The ESM module loader is experimental.
==== Generating keypairs. ====
Generated Private Key:  { privateKey: 'UkVDMgAAAC3jwWKSAPuNxS3Ht9fa1lYFGnYcceFffWOP2jfNCnJK6Ek94NMP' }
Generated Public Key:  { publicKey: 'VUVDMgAAAC2bCB+9App8SvZtRCjnB/i70iJ7mJEXLhCvy22xqMb1L1duQ4NY' }
==== Encrypting Message. ====
Successfully encrypted message:  { encryptedMessage: 'ICcEJjcAAAAAAQFADAAAABAAAAADAAAAiImU0YZycBemPjZFNFSG836qPpS9JqZT2+Arp0DFwA==' }
==== Decrypting Message. ====
Successfully decrypted message:  { decryptedMessage: 'abc' }
==== Signing Message. ====
Successfully signed message:  { signedMessage: 'ICYEJgMAAABIAAAAYWJjMEYCIQCnmQUGNnoZrfmD3Z9apThlk3KdjvD/XEBJRQFhZBj09gIhALl+AVrgKZs6wEhnYSjH/WHasKuxK4lh7NzztUsVUwgB' }
==== Verifying Message. ====
ERROR:  { Error: Secure Message failed to verify signature: failure
    at verifyMessage (file:///Users/mediconcen/Documents/nodejs-crypto-lab/utils/message_verify.mjs:6:26)
    at file:///Users/mediconcen/Documents/nodejs-crypto-lab/interative_mode.mjs:26:23
    at ModuleJob.run (internal/loader/ModuleJob.js:97:14)
    at <anonymous> code: 11 }
Successfully verified message:  { verifiedMessage: undefined }

Hi, I have the same issue.
I had a look at Themis source code verify part previously, but did not see any difference in other functions and my implement function.
I suppose this is the Themis js library issue in current.
Later I will open a issue in Themis repo.
Thanks!

https://github.com/cossacklabs/themis/issues/464.

I have submitted a new patch https://github.com/5sWind/nodejs-crypto-lab/commit/413dfb90684b8935b3b3e8a423368d903981f970. It works (I forget to add a receiving object as I returned two values: private key and public key).

A follow-up story: the new version of jsthemis v0.11.2 has improved the log message of sign/verify mode in SecureMessage for avoiding misusage. See https://github.com/cossacklabs/themis/issues/464.

Cool, your new version passes all tests


discuss.layer.io link is not specific to the card

Current Behavior

When clicked outside the card, the discuss.layer5.io link gets activated - which should not be the case.
Expected Behavior

The link should only be activated when clicked on the card not beyond that.
Screenshots/Logs

https://user-images.githubusercontent.com/116095538/220164429-5b1cd64c-7bcd-4e99-a364-9c84ecdafcbe.mp4
Environment

Host OS: Linux
Platform: Docker or Kubernetes
Meshery Server Version: stable-v
Meshery Client Version: stable-v

Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@leecalcote i would like to work on this issue. Can you please assign me this?

@leecalcote I have done this on my local pc. Can you Please assign me this.

?

Thanks much, @swagataroy30, @123Vasu.
Assigning in chronological order...

Thanks @leecalcote will make a PR soon and sorry for the late response.


question about the log size

how to limit the log size when writing log to file

You can use this hook to do that https://github.com/orandin/lumberjackrus
You can find a list of known hook here https://github.com/sirupsen/logrus/wiki/Hooks


SuppliesTracker: Remove itemcomp from swing thread

Internal changes to remove itemcomp call from swing
Added ToB death cost
Moved thrownaxe to ammo

Similar to how you added the cost of death for TOB can you add the cost of dying at Vorkath? Cost is 100,000.
Like the plugin a lot.


Added ability to send direct message

Added ability to send direct message through user id or screen name.

@jpibarra1130 could you close the PR since library already has that capability?
Thanks :)

@ChimeraCoder: This can be closed, as it's been implemented in master by now.


Remove extra cols from provider manager views

High level: we state includes that are not necessary.
Which is not the end of the world.
But it is not good if the includes are no longer valid.
So the goal is to trim down the columns in the product/views.

there is no need to bring back zone.name and zone/name in includes. trimmed to just one.
there is no need to bring back url when provider.url is used. (only need 1 url)
remove zone.name when it is not included in display.

@lgalis you good with this? (sorry deferring to you, wonderful git blame pointed to you on these)


Replace UUID v4 with nanoid

We should consider using nanoid instead of uuid as it is promising to be faster and more comfortable to use.
Main features:

should be faster
is shorter
RegExp's for verification are shorter and simpler

I would suggest the following configuration:
const { customAlphabet } = require('nanoid');
const alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
const nanoid = customAlphabet(alphabet, 15);
nanoid() //=> "mNbEOFJPoh9Dnr0"

This ist not possible as long we use Keycloak that generates uuid's for users!


#2062 typos/grammar

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Do a quick check before the merge.
PR type

[ ] Bugfix
[ ] Feature
[x] Refactoring

What's new?

[x] PR closes #2062
[x] Few grammar fixes in markdown docs, eslint seemed to have some kind of problem with couple of .md signs such as # and I couldn't find a simple workaround except for ignoring eslint. Hopefully this is okay. As @yangwao commented, this PR is related to #1870 I've looked for some way to connect these PRs but haven't found it (sorry, mainly used GitLab up to this point).

Before submitting Pull Request, please make sure:

[ ] My contribution builds clean without any errors or warnings <- eslint mentioned above
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases

Had issue bounty label ?

[ ] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI, a screenshot is best to understand changes for others.

in the top right you can easily checkout PR and commit changes with that

pay 100 usd

ah no address :| that's why it has failed :D umm

ah no address :| that's why it has failed :D umm

Fixed it 👨💻😅


Discriminator does not switch Schema

There's a similar issue in Swagger
https://github.com/swagger-api/swagger-ui/issues/2438
When using allOf with discriminator for inheritance, RapiDoc just displays the base parent Schema with no notion of the children schema.
ReDoc supports this case, they have a drop down to select the discriminator value and render the matching child Schema
Example: https://github.com/Rebilly/ReDoc/blob/main/docs%2Fimages%2Fdiscriminator-demo.gif

Duplicate of #170


docs(landingpage): add lottie animation

Summary

maybe I need to extract the lottie json files to https://github.com/rspack-contrib/rstack-design-resources?
File Size
Before

After

maybe I need to extract the lottie json files to https://github.com/rspack-contrib/rstack-design-resources

These JSONs can be placed with the component code, as we need to import them.

Why is the bundle size getting smaller..

sorry 😸, invert


Color's alpha is set to one when setting h, s, or v.

Godot version
4a12
System information
linux
Issue description
func _ready() -> void:
	var col = Color(0.5, 0.5, 0.5, 0.5)
	print(col)
	col.h = 0
	print(col)

Outputs :
(0.5, 0.5, 0.5, 0.5)
(0.5, 0.5, 0.5, 1)

Steps to reproduce
See above
Minimal reproduction project
See above

Regression in 4.0, it's fine in 3.x.


How to compose models in v3

How do you get to this screen documented here?

From this one

?
Or are composed models not yet supported in v3?
Thanks

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

ID: 4eef1be2-78b4-33db-3931-5047c1134c4d
Version Independent ID: 1bbaf227-793c-17bc-917c-c7da0be8caee
Content: How to guide: create and compose custom models with Form Recognizer v2.0 - Azure Applied AI Services
Content Source: articles/applied-ai-services/form-recognizer/compose-custom-models-preview.md
Service: applied-ai-services
Sub-service: forms-recognizer
GitHub Login: @laujan
Microsoft Alias: lajanuar

Hi @yowl, Thank you for reaching out:

To open the custom model view window, select a project from the My projects list.

Next select Models from the left navigation menu:

You will then see the models window and compose button.

Thanks again. Please let me know if you have further questions. 🙂

Ah, thankyou very much!

Happy to assist!


TLS handled at Load Balancer; Redirect 80 -> 443

I want to offload TLS to the TCP Load Balancer sitting in front of my Ambassador instances.
The setup looks like follows:
              + ---------------------+      +-----------------+
( User ) ---> | TCP LB (*:80, *:443) | ---> | Ambassador *:80 | --> ( Services )
              +----------------------+      +-----------------+

Between the TCP LB and Ambassador instances we speak plain HTTP
When the originating request comes in using http the server should issue a 301 redirect to https

This is pretty easy to do with Nginx so wondering how to accomplish it with Ambassador/Envoy.
https://serverfault.com/questions/67316/in-nginx-how-can-i-rewrite-all-http-requests-to-https-while-maintaining-sub-dom

@kflynn have we made any progress on this? Several times over the last few weeks since we put Argonath up I or @rhs have made this mistake of not referring to https:// and getting a hung request.

@kflynn is this the 80-443 redirect that I implemented a while back? If so
it’s just a matter of adding that other listener and forcing 443
On Tue, Dec 12, 2017 at 1:18 PM Philip Lombardi<EMAIL_ADDRESS>wrote:

@kflynn https://github.com/kflynn have we made any progress on this?
Several times over the last few weeks since we put Argonath up I or @rhs
https://github.com/rhs have made this mistake of not referring to
https:// and getting a hung request.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/datawire/ambassador/issues/114#issuecomment-351181312,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIM6lzaOoJQi7uvQ25h9XED8AGqP1Issks5s_t-JgaJpZM4Pnewl
.

@sbr464 Pretty much -- the main question is how to expose it. I think that in the short term I'll do something like
simple-tls-redirect: true

in the Ambassador module. Other suggestions welcome...


Fix slow php-fpm service stop/reload with systemctl

Looks like this could be the issue: https://bbs.archlinux.org/viewtopic.php?id=170127
# Restart.
$ time sudo systemctl restart php-fpm

real	0m30.417s
user	0m0.020s
sys	0m0.010s

# Stop.
$ time sudo systemctl stop php-fpm

real	0m30.179s
user	0m0.020s
sys	0m0.020s

# Start.
$ time sudo systemctl start php-fpm

real	0m0.338s
user	0m0.000s
sys	0m0.030s

It's an upstream issue, fixing there: https://github.com/geerlingguy/ansible-role-php/issues/94


Landing page

after this goes through we will also update the apigear.io repo with the same content and publish this. Then we need to forward from docs to apigear.io domain somehow.

Why do you want to update the apigear.io repo with the same content? We are only deploying to github pages right?
So apigear.io points to / and docs.apigear.io to docs/ ?


Provide python package stub files

Introduces stubbed files for creating a Python package as API (using FastAPI) and CLI tool (using Typer), including tests for each. The package is installable and testable out of the box using pytest, and will build/test out of the box through the provided Gitlab CI configuration.
To avoid polluting the output when the user is creating an R project a post-generate hook is used to find and delete Python package related files.

I used this branch as the basis for a project. Fixed build issues that were encountered with sample pkg scripts on first commit. Python packages build successfully in gitlab and show up as artifacts.
Non-interesting artifacts (R related items) appeared to be removed successfully. The target was gitlab, so non-gitlab artifact cleanup wasn't evaluated.


[5.2] Support column aliases in chunkById

This is a follow-up on #14711 for the chunkById method in the Eloquent builder. Furthermore, the $column param is now optional, defaulting to the model's key.

Thanks for the PR! Please send to 5.3 though. :)


Feature request: Autocomplete functionality

Hi there,
Could you please add functionality for autocomplete for tags.
Also if you don't have time to do that could you describe idea how it could be implemented so I could maybe start working on that feature.
Any help, suggestions are highly appreciated.
Thank you

@dlukianenko Thanks for opening an issue. So you want a list of available tags while typing? Can you share a mockup with the idea?

Something like example You have the list of suggestions and when you type it suggest you existing tags from storage or you can just create a new one without selecting nothing from the list.
I'm asking for this functionality because I need to have a place where users adds emails of people to whom he wants to share his post and I was thinking to have it as tag input with autocomplete with existing emails of his friends from the storage. Also he will be able to add a new email if it is not in the list from DB just typing it.

I need to think about it. Maybe showing a UITableView under the field with same width and a fixed height and filter the results by the text from the field. The table is shown when the text field is not empty (maybe using the .EditingChanged event).

I think this functionality will bring a good value, thank you for your response

@ricardopereira @dlukianenko @AgentWS
I think this library could be used to implement it: https://github.com/apasccon/SearchTextField
I'm going to make a fork of this now and try it.


Remove numcodecs specific install

support for zarr v3 numcodecs codecs has been released in numcodecs 0.14.0. This PR just updates the upstream ci to match
As noted in https://github.com/earth-mover/icechunk/issues/197

[ ] Closes #xxxx
[ ] Tests added
[ ] Tests passing
[ ] Full type hint coverage
[ ] Changes are documented in docs/releases.rst
[ ] New functions/methods are listed in api.rst
[ ] New functionality has documentation

Thank you! Just to make sure I've understood - zarr-python v3 will bring in numcodecs 0.14.0, which is why we don't need to explicitly specify it in the env here or in the project's dependencies?

exactly!


Many to many orderBy pivot field

When using a many to many relationship with pivot fields, the orderBy doesn't work using the following syntax (where position is a number)
    collections() {
      return Collection.query()
        .with("pivot")
        .orderBy("pivot.position")
        .get();
    },

orderBy is applied to the query runner, in your case it's Collection.
orderBy("pivot.position") will not work for two reasons:

Relations are loaded after the order is applied to the query.
Dot notation is not supported.

In order to sort by nested properties, you will need to run sort(yourComparator) on the resultset e.g. Collection.query().with('pivot').get().sort(...)


Upgrade to React front-end

This pull request is made by a Vue.js developer. I have tested the changes and they are working as expected. I would appreciate it if you could review my changes and provide any feedback. Thank you!

Thanks a lot for your contribution


Can't complete setup on Apple M1 Mac Mini

Hey this seems awesome! But I can't get it to install. I thought maybe it was because I'm on apple silicon but it looks like the wakeword module is causing it.
After finishing initial setup and you get the "wait for downloads screen" it never finishes. The log gives this error everytime the start downloads button is clicked.
Config Python Error: Traceback (most recent call last):
File "/Users/jackbaca/Miles-env/M.I.L.E.S/Miles-V2/config.py", line 1, in
import openwakeword
ModuleNotFoundError: No module named 'openwakeword'
Config script exited with code 1
Desktop (please complete the following information):

OS: MacOS Sonoma on a Mac Mini M1

Try pip3 install openwakeword and pip install openwakeword, also try to run the config file by itself

Thanks for the quick update man!
So I used the command pip3 install in the miles env.
When I run it, it starts up the same as before with this
Server started on http://localhost:3000 2024-07-20 08:38:13.988 Electron[31446:496057] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. API keys are empty, initializing setup screen... stderr: Traceback (most recent call last):   File "/Users/jackbaca/Miles-env/M.I.L.E.S/Miles-V2/HomeAssistantUtils.py", line 100, in <module>
Then when I input the api keys in setup I no longer get anything about openwakeword but instead this:
`stderr:     home_assistant.print_entities()
File "/Users/jackbaca/Miles-env/M.I.L.E.S/Miles-V2/HomeAssistantUtils.py", line 82, in print_entities
response = self.session.get(f"{self.url}/api/states", headers=headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/requests/sessions.py", line 575, in request
prep = self.prepare_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/requests/sessions.py", line 484, in prepare_request
p.prepare(
File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/requests/models.py", line 367, in prepare
stderr:     self.prepare_url(url, params)
stderr:   File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/requests/models.py", line 438, in prepare_url
stderr:     raise MissingSchema(
requests.exceptions.MissingSchema: Invalid URL 'none/api/states': No scheme supplied. Perhaps you meant https://none/api/states?
Python script exited with code 1
Devices saved successfully
`
I am not putting anything in for spotify because I don't have spotify.
I'll try running the config file and update.

Now getting this:
Server started on http://localhost:3000 2024-07-20 08:55:09.590 Electron[32269:511670] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES. API keys are empty, initializing setup screen... Config Python Error: Traceback (most recent call last):   File "/Users/jackbaca/Miles-env/M.I.L.E.S/Miles-V2/config.py", line 3, in <module>     import speech_recognition as sr ModuleNotFoundError: No module named 'speech_recognition'

After manually inputting the api keys into the api doc, recloning the git, and manually installing all of the modules, I get this.
`Starting the Node.js application...

<EMAIL_ADDRESS>start
electron .

Server started on http://localhost:3000
2024-07-20 09:21:44.776 Electron[34107:537717] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
API keys are set, starting server and backend...
Server is already running on port 3000
Python Error: /Users/jackbaca/Miles-env/M.I.L.E.S/Miles-V2/main.py:1: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
from cgi import print_directory
Python Output: Tool list JSON has been saved to /Users/jackbaca/Miles-env/M.I.L.E.S/Miles-V2/plugin_tool_list.json
Python Error: /Users/jackbaca/Miles-env/lib/python3.11/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
Python Output: tflite_runtime is not available on macOS, using ONNX model.
Python Error: Traceback (most recent call last):
File "/Users/jackbaca/Miles-env/M.I.L.E.S/Miles-V2/main.py", line 1198, in
Python Error:     main()
File "/Users/jackbaca/Miles-env/M.I.L.E.S/Miles-V2/main.py", line 1128, in main
owwModel = initialize_wake_word_model()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jackbaca/Miles-env/M.I.L.E.S/Miles-V2/main.py", line 1118, in initialize_wake_word_model
Python Error:     owwModel = Model(wakeword_models=[MODEL_PATH], inference_framework=INFERENCE_FRAMEWORK)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Python Error: ^^^^^^^^^^^^^^^^^^
File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/openwakeword/utils.py", line 686, in wrapped
Python Error:     return func(*args, **new_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/openwakeword/model.py", line 213, in init
Python Error:     self.preprocessor = AudioFeatures(inference_framework=inference_framework, **kwargs)
Python Error:                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/openwakeword/utils.py", line 84, in init
Python Error:     self.melspec_model = ort.InferenceSession(melspec_model_path, sess_options=sessionOptions,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 419, in init
Python Error:     self._create_inference_session(providers, provider_options, disabled_optimizers)
Python Error:   File "/Users/jackbaca/Miles-env/lib/python3.11/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 472, in _create_inference_session
sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model)
Python Error:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
onnxruntime.capi.onnxruntime_pybind11_state.NoSuchFile: [ONNXRuntimeError] : 3 : NO_SUCHFILE : Load model from /Users/jackbaca/Miles-env/lib/python3.11/site-packages/openwakeword/resources/models/melspectrogram.onnx failed:Load model /Users/jackbaca/Miles-env/lib/python3.11/site-packages/openwakeword/resources/models/melspectrogram.onnx failed. File doesn't exist
Python script exited with code: 1`

Okay that last error occurs when the config file isn’t ran manually, try running python3 config.py, you’ll have to wait a long time for it to finish, but it downloads the missing files.

Ya that seemed to make a difference but then...

Reinstall every module from the requirements.txt file manually 1 by 1 using pip3 and pip both.


See if libsass-maven-plugin is better/faster

Since the current SASS plugin is a little slow (I suspect because it uses JRuby), I'd like to try out this one:
https://github.com/warmuuh/libsass-maven-plugin

It is MUCH faster


Page should explain how it works

Hello, I'm trying to understand how to setup a new Macbook with a self-signed certificate, where my website is running in a container.
While on this journey I'm finding some things confusing. After coding in some form for 35 years now, when I find the going tough or confusing, I think it's okay to blame my tools and documentation.
These commands here are fishy. The first one specifies a file but the second one does not. How does the second one know which certificate to trust? Does the first one have side effects that aren't explicit or explained?
dotnet dev-certs https -ep $env:USERPROFILE\.aspnet\https\aspnetapp.pfx -p crypticpassword
dotnet dev-certs https --trust

So I turn to the documentation. Alas, it says nothing that might explain the above, leaving me lost. There's an information gap here. It says "Trust the certificate ..." but which certificate?
I don't want to use commands that may have side-effects I am unaware of because I won't discover exactly what made something work, and I won't be able to automate the steps to setup the correct state in a different environment.
Usage: dotnet dev-certs https [options]

Options:
  -ep|--export-path  Full path to the exported certificate
  -p|--password      Password to use when exporting the certificate with the private key into a pfx file or to encrypt the Pem exported key
  -np|--no-password  Explicitly request that you don't use a password for the key when exporting a certificate to a PEM format
  -c|--check         Check for the existence of the certificate but do not perform any action
  --clean            Cleans all HTTPS development certificates from the machine.
  -i|--import        Imports the provided HTTPS development certificate into the machine. All other HTTPS developer certificates will be cleared out
  --format           Export the certificate in the given format. Valid values are Pfx and Pem. Pfx is the default.
  -t|--trust         Trust the certificate on the current platform. When combined with the --check option, validates that the certificate is trusted.
  -v|--verbose       Display more debug information.
  -q|--quiet         Display warnings and errors only.
  -h|--help          Show help information

There's not even a description for what dev-certs does. But wait, there's another fishy command later in the page.
dotnet user-secrets remove "Kestrel:Certificates:Development:Password" -p aspnetapp\aspnetapp.csproj
dotnet dev-certs https --clean

Clean? What's it cleaning? We just created a file. Does it delete that file? Or was there a side effect when that original command was executed that now needs cleaning? Nothing is explained.
Next is the part where a user secret is setup. It seems to be writing a setting for Kestrel to read, but how does Kestrel know it needs to open that PFX file we just created?
Since when did documentation become a murder mystery.  I don't understand why Microsoft's documentation no longer explains how the tricks are done. Why aren't there links out to the documentation about the mechanisms being employed here?
I have similar feedback here: https://github.com/MicrosoftDocs/visualstudio-docs/issues/7337
Thanks, Luke

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

ID: 129ac9c9-bab2-7ae0-75f8-cf3b7ad16a56
Version Independent ID: 19debb34-1672-c5bc-395b-2ec523c25b8f
Content: Generate Self-Signed Certificates Overview - .NET
Content Source: docs/core/additional-tools/self-signed-certificates-guide.md
Product: dotnet-fundamentals
GitHub Login: @angee
Microsoft Alias: dotnetcontent

I must also point out that dev-certs seems to be undocumented. It gets a small note under Additional tools
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet

Created discrete issue to cover lack of documentation under dotnet CLI.
https://github.com/dotnet/docs/issues/27237

Just a note, dev-certs is referenced in the ASP.NET Core documentation: https://docs.microsoft.com/en-us/dotnet/core/additional-tools/self-signed-certificates-guide


increase upper bound on file fetched from iaas store

Pull Request Test Coverage Report for Build 4666

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

Totals

Change from base Build 4662:
0.0%

Covered Lines:
9385

Relevant Lines:
10153

💛  - Coveralls

Validation on k8s cluster: n-2 is succeeded.

Validation on k8s cluster: n-1 is succeeded.

Validation on k8s cluster: n is succeeded.

Validation on k8s cluster: n is succeeded.


Include yaml, yml, toml extensions in default regex

Feature request 🚀
Add additional text-based file formats to the default regex.
Expected:

No breaking changes

Examples:
Change default regex to:
/\.(html|xml|css|json|js|mjs|svg|yaml|yml|toml)$/

Pr welocme

Okay, will try that later.


Macro recording (q) not working with noice

Describe the bug
Macros (q) not working anymore - nothing happens when pressing q.
Which version of Neovim are you using?
0.8.0 - TUI - MacOs - iTerm 2
To Reproduce
Steps to reproduce the behavior:

Use noice with default setup

Expected Behavior
Macros should start recording when pressing q, noice should inform the user so.
Noice Log
Empty

https://github.com/folke/noice.nvim/wiki/Configuration-Recipes#show-recording-messages


cross-build no longer works when CrossVersion.full projects depend on CrossVersion.binary ones

steps
Check out scalameta/scalameta#3212 and build locally.
problem
In sbt 1.6.2, having a CrossVersion.full project with several crossScalaVersions (say, 2.13.1 to 2.13.11) depend on a CrossVersion.binary project with only 2.13.11 used to work, and in more recent versions (possibly after #6946) the build fails.
Local build for me failed with Modules were resolved with conflicting cross-version suffixes, while CI build failed with Error downloading org.scalameta:scalameta_2.12:4.8.2+9-291843d8-SNAPSHOT (by trying to download the dependency project rather than building it locally).
expectation

If cross-build dependencies between full and binary projects are not allowed

the error message should stipulate that explicitly
https://www.scala-sbt.org/1.x/docs/Cross-Build.html should mention this as well, possibly with suggestions on how to deal with this issue

if such a dependency is to be allowed again

either #6946 should be reverted
or project.dependsOn could be augmented with some new parameters to specify explicit fallback versions of dependency
also, ideally, when multiple full projects depend on a single binary project, the binary project wouldn't be built multiple times

notes
Also see comment https://github.com/sbt/sbt/pull/6946#issuecomment-1627716934.

I think ++ <sv> behavior works as expected. It switches the subprojects that lists argument in crossScalaVersions.
You can:

use ! to force the same Scala version across the subprojects - https://github.com/scalameta/scalameta/pull/3243
use ++ twice: "++ 2.13.11" "++ 2.13.1", which should switch the core to latest, and semanticdb to 2.13.1.
use sbt-projectmatrix

I think ++ <sv> behavior works as expected. It switches the subprojects that lists argument in crossScalaVersions. You can:

use ! to force the same Scala version across the subprojects - sbt: Update sbt to 1.9.1 scalameta/scalameta#3243

Thank you for this suggestion!

use ++ twice: "++ 2.13.11" "++ 2.13.1", which should switch the core to latest, and semanticdb to 2.13.1.

Not sure I understand how this works :)

use sbt-projectmatrix

I have been reading this project's documentation, and examples of usage, over the past few days. Still don't understand how to:

set up semanticdb-2.13.1 to depend on core-2.13.11
make sure semanticdb-2.13.1 and 2.13.2 can be built in parallel (since they seem to write to the same target)
build one specific version (that is, we use CI to test each scala version separately)

use ++ twice: "++ 2.13.11" "++ 2.13.1", which should switch the core to latest, and semanticdb to 2.13.1.

Not sure I understand how this works :)

sbt 1.9.1 only switches the scalaVersion of the subprojects whose crossScalaVersion matches exactly the passed in argument.
First ++ 2.13.11 will switch the Scala Version of both core and semanticdb subprojects.
Second ++ 2.13.1 will switch only the Scala version of semanticdb subproject.
All while, the dependency relationship will be maintained. The end result should be what you want: core using 2.13.11, but semanticdb using 2.13.1.

I think ++ <sv> behavior works as expected. It switches the subprojects that lists argument in crossScalaVersions. You can:

use ! to force the same Scala version across the subprojects - sbt: Update sbt to 1.9.1 scalameta/scalameta#3243
use ++ twice: "++ 2.13.11" "++ 2.13.1", which should switch the core to latest, and semanticdb to 2.13.1.

Turns out any +command (such as sbt +publish) doesn't work, since it doesn't apply either of these. Would you say that cross-build is not operational, then?

Would you say that cross-build is not operational, then?

Yeah. If we prioritize exact match, but let it fall back to bincompat Scala version like sbt 1.6.x we can still rescue this feature.

Here's a PR for this - https://github.com/sbt/sbt/pull/7328


fix(): update item

Index was not available in the handleSubmitUpdate function, defined a state updateIndex and used it to pass the index across components
Page was reloading when the update form was sent, fixed by the event.preventDefault()

It's Working Now! Thanks


Ranlux++ constructors take long time for seeding

In writing a demonstrator such as
struct A {
    std::array<RanluxppDouble, nElem> rng_state; // 80 bytes!
};

struct Slab {
  A tracks[10][512][256];
}

1.3 M constructors of ranlux are called. That took 45s on the machine, spending most of the time here:
https://github.com/apt-sim/AdePT/blob/960bb91863ba3238042c671100a3bf1220737873/base/inc/CopCore/include/CopCore/Ranluxpp.h#L79-L80

Totally expected; as I said during the meetings, full initialization takes much longer than skipping

What I would propose is to disable the auto-seeding in the constructor. Then, one could e.g. seed (or advance) one ranlux instance to a desired state. This can maybe be broadcast across multiple instances, advancing the seed for each new instance.
Or maybe there's a method to make the seeding procedure faster. I don't know about the details of ranlux. :-)

To be seen if seeding time will be an actual show stopper since we only need seeding for the primary tracks, secondaries will do skipping. However, I do agree that if the constructor does seeding (to a state that we will immediately overwrite) this would be done for all secondaries as well and it's counter-productive.


Diff page enhancements

Two small tweaks:

Vertically center arrow here:

Use 2-row layout on diff viewed status and show it again on mobile:

Mobile view:

Should be a pretty low-risk backport.


[SPARK-34312][SQL] Support partition(s) truncation by Supports(Atomic)PartitionManagement

What changes were proposed in this pull request?

Add new method truncatePartition() to the SupportsPartitionManagement interface.
Add new method truncatePartitions() to the SupportsAtomicPartitionManagement interface.
Default implementation of new methods in InMemoryPartitionTable/InMemoryAtomicPartitionTable.

Why are the changes needed?
This is the first step in supporting of v2 TRUNCATE TABLE .. PARTITION.
Does this PR introduce any user-facing change?
No
How was this patch tested?
By running new tests:
$ build/sbt "test:testOnly *SupportsPartitionManagementSuite"
$ build/sbt "test:testOnly *SupportsAtomicPartitionManagementSuite"

@cloud-fan Could you take a look at this PR, please.

Test build #134736 has started for PR 31420 at commit 6db21ab.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39322/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39322/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39322/

Test build #134736 has finished for PR 31420 at commit 6db21ab.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134736/

thanks, merging to master!


Command line: "brackets" without arguments always opens a new instance of Brackets

At least on Windows, typing brackets without any arguments always opens up a new instance of Brackets, even if one was open already. Other alternatives would be either revealing the old instance or opening a new Brackets window from that instance.
Not sure if this is a issue or not, but AFAIK the goal is to run a single instance of Brackets at all times.

@petetnt Thanks for reporting this. This is a known issue with Brackets which I will try to fix in this release.

https://github.com/adobe/brackets-shell/pull/524 will fix this.

Reopened this as the fix was reverted in https://github.com/adobe/brackets-shell/pull/534


Ability to specify ffmpeg path

Add the ability to specify ffmpeg path to --my_ffmpeg argument.

Thanks for the suggestion.
After careful thought, I decided not to implement this feature because it would:

Mangle the design.

The flag type and general option type would need to be combined to make this feature happen.

Easy to workaround.

Users can alias ffmpeg to whatever path they want and use --my_ffmpeg just as normal without modifying the software.

If you have any other suggestions or ideas, please make a new feature request.


Better Communication

So I would say communication here isn't bad using the issues, but I feel we need a Slack or something for communicating.
Also I found this cool web app for determining what time to meet online as a group. It is called Teleport Sundial (that link invites you to the group I made)
Link to the Slack I made is Here.

Github has been working well for me, but it would be good to meet at least every 2 weeks as I suggested and I'm open to looking for better ways to collaborate.  Slack sounds good, but that link is not working.  I tried "demcra.slack.com" but it says I need to be invited.
Sundial is a cool app, thanks for setting it up.  I didn't really get the point until clicking "get team together".

what email do you use?

I'm asking for your email so that I can Invite you to Slack

<EMAIL_ADDRESS>thanks


useSWR opts type is incorrect

it seems that useSWR hook is missing typing for SWR options.
If you try to remove {} here, it works normally. https://github.com/sannajammeh/trpc-swr/blob/bb74ec59a881f97aeb9eca426f6f7d46c2e49875/packages/client/src/createSWRProxyHooks.tsx#L29

Looking into this!

Should be fixed now! Next v2.0.1 is building.


Some Spanish references don't match with the ACNH original translation

Hi,
I have reviewed the references that currently appear in the app and keeping in mind the original translation of the ACNH the name of these items doesn't match. These issues were detected with the app version 0.1.6
Below, you can find the current name and the correct name (according to the ACNH game)

Current Name
Suggested Name

Microbiblioteca
Punto intercambio de libros

Top Pera
Vestido Pera

Pared leña
Pared leñera

Armadura
Armadura de hierro

Mesa universidad
Mesa camarera universidad

Armadura dorada
Armadura de oro

Cadena cereza
Altavoz cereza

Corona de frutas
Corona frutal

Nave tripulada
Modulo espacial tripulado

Jarrón con flores cerezo
Jarrón con flores de cerezo

Lámpara de Jacinto
Lámpara Jacinto

Guirnalda violeta
Guirnalda viola

These translation has been collected using my personal copy of the ACNH game. I can attach files to confirm the suggested names.
Let me know if you need more information about this.
Best!

Thanks,
Fixed: https://github.com/jjlmoya/diy-nook/commit/0c16d1f7382f377c9c74733df9fa40d367e49023


[Mac] Fixes to support HelloWorld using CPPCodegen

These are the fixes required to compile HelloWorld using CPPCodegen on Mac. There are corresponding changes in the CLI repo as PR https://github.com/dotnet/cli/pull/292.
@jkotas @janvorli PTAL.

Hi @gkhanna79, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

LGTM otherwise.

@jkotas - Updated the PR.


Unable to install on an Universal App

Is there anything I can do? Thanks.

Install-Package : WinBeacon <IP_ADDRESS> is not compatible with UAP,Version=v10.0.
At line:1 char:1

Install-Package

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Install-Package : LibUsbDotNet 2.2.8 is not compatible with UAP,Version=v10.0.
At line:1 char:1

Install-Package

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Install-Package : Some packages are not compatible with UAP,Version=v10.0.
At line:1 char:1

Install-Package

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

Install-Package : WinBeacon <IP_ADDRESS> is not compatible with UAP,Version=v10.0 (win10-arm).
At line:1 char:1

Install-Package

  + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
  + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

I'm afraid Univarsal Apps are beyond the scope of this project. If your target is Windows 10, then you don't need this library and should be able to use the native API's.

Thanks for the response, you are correct.


Roll Flutter Engine from 33415c6ee7c2 to 666e48843fc1 (24 revisions)

https://github.com/flutter/engine/compare/33415c6ee7c2...666e48843fc1
2024-06-24<EMAIL_ADDRESS>Roll Skia from f6b4344d73cc to ea84df425483 (1 revision) (flutter/engine#53531)
2024-06-24<EMAIL_ADDRESS>Add SurfaceProducer.Callback lifecycle hooks (flutter/engine#53280)
2024-06-24<EMAIL_ADDRESS>Roll Skia from b9671fd75308 to f6b4344d73cc (1 revision) (flutter/engine#53530)
2024-06-24<EMAIL_ADDRESS>Roll Dart SDK from 8f4cebdb3340 to 95470b2cac1f (1 revision) (flutter/engine#53528)
2024-06-24<EMAIL_ADDRESS>Roll Skia from 836eed6a0cd4 to b9671fd75308 (1 revision) (flutter/engine#53527)
2024-06-24<EMAIL_ADDRESS>Update uses of GrVkBackendContext and other deprecated type names (flutter/engine#53491)
2024-06-24<EMAIL_ADDRESS>Roll Skia from 512c20c45fcf to 836eed6a0cd4 (2 revisions) (flutter/engine#53525)
2024-06-24<EMAIL_ADDRESS>Roll Skia from 7c86e7641b34 to 512c20c45fcf (1 revision) (flutter/engine#53523)
2024-06-24<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from w9HuHL8eFrXxjrgEM... to _6HNhJ6G59VMceKoN... (flutter/engine#53522)
2024-06-22<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from NI4SFKzW8h8vX5Jk8... to w9HuHL8eFrXxjrgEM... (flutter/engine#53521)
2024-06-22<EMAIL_ADDRESS>Roll Dart SDK from 56c98c7fae8b to 8f4cebdb3340 (1 revision) (flutter/engine#53520)
2024-06-22<EMAIL_ADDRESS>Roll Skia from 972da8fb6049 to 7c86e7641b34 (1 revision) (flutter/engine#53519)
2024-06-22<EMAIL_ADDRESS>Roll Skia from 733c3a81bdc3 to 972da8fb6049 (1 revision) (flutter/engine#53518)
2024-06-22<EMAIL_ADDRESS>Roll Dart SDK from 27e95a7c73aa to 56c98c7fae8b (1 revision) (flutter/engine#53516)
2024-06-22<EMAIL_ADDRESS>Roll Dart SDK from fc1e5912fc94 to 27e95a7c73aa (2 revisions) (flutter/engine#53515)
2024-06-22<EMAIL_ADDRESS>Roll Skia from 3c1c17e151b1 to 733c3a81bdc3 (1 revision) (flutter/engine#53514)
2024-06-21<EMAIL_ADDRESS>Roll Skia from 8b496fdedbd2 to 3c1c17e151b1 (1 revision) (flutter/engine#53513)
2024-06-21<EMAIL_ADDRESS>Roll Skia from 80fe27c13f62 to 8b496fdedbd2 (1 revision) (flutter/engine#53511)
2024-06-21<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from iU-B6rJxy0wUYSmmp... to NI4SFKzW8h8vX5Jk8... (flutter/engine#53510)
2024-06-21<EMAIL_ADDRESS>Better clipRect culling accuracy under scaling transforms (flutter/engine#53508)
2024-06-21<EMAIL_ADDRESS>Roll Skia from d3a9075a2b62 to 80fe27c13f62 (18 revisions) (flutter/engine#53505)
2024-06-21<EMAIL_ADDRESS>Run safari-dart2js-html tests on macOS 13 (flutter/engine#53497)
2024-06-21<EMAIL_ADDRESS>Add createImageFromTextureSource method to ui_web (flutter/engine#53483)
2024-06-21<EMAIL_ADDRESS>Roll Skia from 4471ee07e223 to d3a9075a2b62 (4 revisions) (flutter/engine#53489)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from iU-B6rJxy0wU to _6HNhJ6G59VM
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jsimmons@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

AutoRoller is stopped; closing the active roll.


Exiobase model

Ref https://github.com/tmrowco/tmrow/issues/2005

[x] migrate footprint.yml with new categories
[x] migrate definitions.js as a consequence
[x] migrate nordic api gateway
[x] add emission factors to footprint.yml
[ ] write a unit test to make sure the model still works
[ ] update mapping table for FOOD AND NON-ALCOHOLIC BEVERAGES and CULTURAL SERVICES

@martincollignon here's your review checklist:

[ ] definitions.js: make sure the migration is acceptable
[ ] nordic api gateway: make sure the migration is acceptable
[ ] footprints.yml: make sure the migration is acceptable and that the new numbers make somewhat sense

For reference these are all the coicop categories for which we have a footprint, but for which we don't have a category in footprints.yml:
WARNING: Could not find an entry with coicopCode 01 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1 in footprints.yml
Found 01.1.1. Updating..
WARNING: Could not find an entry with coicopCode 01.1.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.5 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.6 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.7 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.8 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.9 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.2 in footprints.yml
Found 02.1. Updating..
Found 02.3. Updating..
Found 03.1. Updating..
WARNING: Could not find an entry with coicopCode 03.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.5 in footprints.yml
Found 05.1.1. Updating..
Found <IP_ADDRESS>. Updating..
WARNING: Could not find an entry with coicopCode 05.1.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 05.2 in footprints.yml
Found 05.3. Updating..
WARNING: Could not find an entry with coicopCode 05.4 in footprints.yml
Found 05.5. Updating..
WARNING: Could not find an entry with coicopCode 05.6.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 05.6.2 in footprints.yml
Found 06.1. Updating..
Found 06.2. Updating..
WARNING: Could not find an entry with coicopCode 06.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.1 in footprints.yml
Found 07.2.1. Updating..
Found 07.2.2. Updating..
Found 07.2.3. Updating..
WARNING: Could not find an entry with coicopCode 07.2.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.5 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.6 in footprints.yml
WARNING: Could not find an entry with coicopCode 08 in footprints.yml
Found 08.1. Updating..
WARNING: Could not find an entry with coicopCode 09.1 in footprints.yml
Found 09.3. Updating..
Found 09.4. Updating..
Found 09.7. Updating..
Found 09.8. Updating..
WARNING: Could not find an entry with coicopCode 10 in footprints.yml
WARNING: Could not find an entry with coicopCode 11.1 in footprints.yml
Found 11.2. Updating..
WARNING: Could not find an entry with coicopCode 12.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 12.2 in footprints.yml
Found 13.1. Updating..
WARNING: Could not find an entry with coicopCode 13.2.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 13.2.9 in footprints.yml
WARNING: Could not find an entry with coicopCode 13.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 13.9 in footprints.yml

For reference these are all the coicop categories for which we have a footprint, but for which we don't have a category in footprints.yml:
WARNING: Could not find an entry with coicopCode 01 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1 in footprints.yml
Found 01.1.1. Updating..
WARNING: Could not find an entry with coicopCode 01.1.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.5 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.6 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.7 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.8 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.9 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.2 in footprints.yml
Found 02.1. Updating..
Found 02.3. Updating..
Found 03.1. Updating..
WARNING: Could not find an entry with coicopCode 03.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.5 in footprints.yml
Found 05.1.1. Updating..
Found <IP_ADDRESS>. Updating..
WARNING: Could not find an entry with coicopCode 05.1.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 05.2 in footprints.yml
Found 05.3. Updating..
WARNING: Could not find an entry with coicopCode 05.4 in footprints.yml
Found 05.5. Updating..
WARNING: Could not find an entry with coicopCode 05.6.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 05.6.2 in footprints.yml
Found 06.1. Updating..
Found 06.2. Updating..
WARNING: Could not find an entry with coicopCode 06.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.1 in footprints.yml
Found 07.2.1. Updating..
Found 07.2.2. Updating..
Found 07.2.3. Updating..
WARNING: Could not find an entry with coicopCode 07.2.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.5 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.6 in footprints.yml
WARNING: Could not find an entry with coicopCode 08 in footprints.yml
Found 08.1. Updating..
WARNING: Could not find an entry with coicopCode 09.1 in footprints.yml
Found 09.3. Updating..
Found 09.4. Updating..
Found 09.7. Updating..
Found 09.8. Updating..
WARNING: Could not find an entry with coicopCode 10 in footprints.yml
WARNING: Could not find an entry with coicopCode 11.1 in footprints.yml
Found 11.2. Updating..
WARNING: Could not find an entry with coicopCode 12.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 12.2 in footprints.yml
Found 13.1. Updating..
WARNING: Could not find an entry with coicopCode 13.2.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 13.2.9 in footprints.yml
WARNING: Could not find an entry with coicopCode 13.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 13.9 in footprints.yml

Should these new categories be merged in a later PR? Some of them are required for our own carbon accounting.

For reference these are all the coicop categories for which we have a footprint, but for which we don't have a category in footprints.yml:
WARNING: Could not find an entry with coicopCode 01 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1 in footprints.yml
Found 01.1.1. Updating..
WARNING: Could not find an entry with coicopCode 01.1.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.5 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.6 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.7 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.8 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.1.9 in footprints.yml
WARNING: Could not find an entry with coicopCode 01.2 in footprints.yml
Found 02.1. Updating..
Found 02.3. Updating..
Found 03.1. Updating..
WARNING: Could not find an entry with coicopCode 03.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 04.5.5 in footprints.yml
Found 05.1.1. Updating..
Found <IP_ADDRESS>. Updating..
WARNING: Could not find an entry with coicopCode 05.1.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 05.2 in footprints.yml
Found 05.3. Updating..
WARNING: Could not find an entry with coicopCode 05.4 in footprints.yml
Found 05.5. Updating..
WARNING: Could not find an entry with coicopCode 05.6.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 05.6.2 in footprints.yml
Found 06.1. Updating..
Found 06.2. Updating..
WARNING: Could not find an entry with coicopCode 06.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.1 in footprints.yml
Found 07.2.1. Updating..
Found 07.2.2. Updating..
Found 07.2.3. Updating..
WARNING: Could not find an entry with coicopCode 07.2.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.2 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.4 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.5 in footprints.yml
WARNING: Could not find an entry with coicopCode 07.3.6 in footprints.yml
WARNING: Could not find an entry with coicopCode 08 in footprints.yml
Found 08.1. Updating..
WARNING: Could not find an entry with coicopCode 09.1 in footprints.yml
Found 09.3. Updating..
Found 09.4. Updating..
Found 09.7. Updating..
Found 09.8. Updating..
WARNING: Could not find an entry with coicopCode 10 in footprints.yml
WARNING: Could not find an entry with coicopCode 11.1 in footprints.yml
Found 11.2. Updating..
WARNING: Could not find an entry with coicopCode 12.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 12.2 in footprints.yml
Found 13.1. Updating..
WARNING: Could not find an entry with coicopCode 13.2.1 in footprints.yml
WARNING: Could not find an entry with coicopCode 13.2.9 in footprints.yml
WARNING: Could not find an entry with coicopCode 13.3 in footprints.yml
WARNING: Could not find an entry with coicopCode 13.9 in footprints.yml

Should these new categories be merged in a later PR? Some of them are required for our own carbon accounting.

yup - as long as this is expected (for now)

@corradio we probably need to get a "global" model as AFAIK the country code is an optional value?

@corradio we probably need to get a "global" model as AFAIK the country code is an optional value?

Should we just take the average of all countries?
Furthermore, I still need two concordance table entries FOOD AND NON-ALCOHOLIC BEVERAGES and CULTURAL SERVICES, as they both still are defined in footprint.yml and use the old ÅlandsIndex

Yes, I believe we should use the average of all countries (weighted).


Android Basics: Activities and intents

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-activities-intents?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-activities-intents#1
In which task and step of the codelab can this issue be found?
Step 2 - Get the Code
Describe the problem
If a participant chooses to download the .zip file, the code they receive is from the main branch. This means that the individual is missing DetailActivity.kt, and has LetterListFragment.kt instead.
Steps to reproduce?

Go to the main GitHub site
Click on 'Code', then 'Download ZIP'
See that the file structure is different from what is described on the CodeLab.

Versions
_Android Studio version: Arctic Fox
_API version of the emulator: N/A
Additional information
Include screenshots if they would be useful in clarifying the problem.

This seems like an issue with Github that has now been fixed. I've tried download the zip file of the starter branch and confirmed it was not the completed app.


Changes to support disabling auto correction of dates

These are the suggested changes to address issue #768 .

Codecov Report

Merging #769 into master will decrease coverage by 0.4%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master     #769      +/-   ##
==========================================
- Coverage   92.44%   92.03%   -0.41%
==========================================
  Files          13       13
  Lines         622      628       +6
  Branches      116      119       +3
==========================================
+ Hits          575      578       +3
- Misses          8        9       +1
- Partials       39       41       +2

Impacted Files
Coverage Δ

src/datepicker.jsx
92.8% <50%> (ø)
:white_check_mark:

src/date_input.jsx
86.95% <85.71%> (-5.55%)
:x:

Continue to review full report at Codecov.

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

Looking at the code coverage report, it doesn't appear there are any additional new lines that can be tested.  There are some additional lines defining the prop and its default values which seem to be causing the overall line coverage percentage to drop.  I am not quite sure how to address this.
Please let me know how to proceed.  Thanks!

@martijnrusschen Any idea on the Code Coverage issue @greg-a-smith is talking about? And is there anything else needed for this PR?

The coverage reports aren't always helpful. I'm fine with merging in this case.

Is there any solution for this when using an Angular Datepicker? I have got the same problem but I am using Angular.


[CROSSDATA-86] [CORE] Fix critical bug: persisted options didn't include generated opts

Persisted options didn't include generated opts when importing tables

+1

+1


jfoenix responsive

hi
how jfoenix responsive work ???
an exemple (java code if possible) and thanks

Hi
JFXResponsiveHandler applies one of a predefined pseudo classes to all the nodes in the scene. thus you can have a different css styles for each of the pseudo classes. You can simply apply it to your scene, by calling its constructor
new JFXResponsiveHandler( stage, JFXResponsiveHandler.PSEUDO_CLASS_MEDIUM)
there are 4 pseudo classes:

PSEUDO_CLASS_EX_SMALL : "extreme-small-device"
PSEUDO_CLASS_SMALL : "small-device"
PSEUDO_CLASS_MEDIUM : "medium-device"
PSEUDO_CLASS_LARGE : "large-device"

so in your css you can have different styles for each of the pseudo classes, for example,
.jfx-button:extreme-small-device{
-fx-pref-width:40;
-fx-pref-height:40;
}

.jfx-button:medium-device{
-fx-pref-width:100;
-fx-pref-height:100;
}

so the button will be resized according to the applied pseudo class.

thanks
i need to know how i can organize of change my layout (vbox to hbox or inverse) with jfoenix responsive

Hi
you give me an exemple of css but how i can detect in real-time any change of my screen size to apply jfoenix responsice css for my components ?? there an listener in javafx css like html (@media) who responsable for any change for screen dimension (@media on html) ???

No, you need to check the screen size in your application and decide which pseudo class to apply. To get the screen size you can do the following:
import javafx.application.Application;
import javafx.geometry.Rectangle2D;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.stage.Screen;
import javafx.stage.Stage;

public class Main extends Application {
    @Override
    public void start(Stage stage) {
        Group root = new Group();
        Scene scene = new Scene(root, 500, 200);
        stage.setScene(scene);

        Rectangle2D primaryScreenBounds = Screen.getPrimary().getVisualBounds();

        //set Stage boundaries to visible bounds of the main screen
        stage.setX(primaryScreenBounds.getMinX());
        stage.setY(primaryScreenBounds.getMinY());
        stage.setWidth(primaryScreenBounds.getWidth());
        stage.setHeight(primaryScreenBounds.getHeight());

        stage.show();

    }
    public static void main(String[] args) {
        launch(args);
    }
}


[Candidate 1v1 Echo ZH v1] Money crate in the center just gives 100 cash

Issue Description
Money crate in the center just gives 100 cash. The other 2 money crates closer to the main base give 200.
Expected behavior
Perhaps money crate in the center, guarded by UN troops, should be equal to 200 or higher than 200, so it is more worth it for both players to race to it. 100 is not much value.
Screenshots

spalding:

not looking to get too involved in this but from a balance POV I think if anything it should be reversed. base crate should have more $$$ than the middle one because GLA will usually reach the middle first without having to change their BO vs USA. might also be that top spot always gets there first if they want in GvG for example. It's also an extra boost for no eco vs china...

Fire Arm:

Personally not a fan of crates in mid. It gives gla a boost against china or usa

NickName:

Money crates shouldn't even be in the middle, like Seasite Munity gives such a weird advantage. It has a 1k crate (and 2 or 3 of $100), which is a huge surplus for whoever gets it. It isn't really a fight for it, more who is quicker. Crates in the own base are fine, having 11k starting cash leads to some different strats/bo.

You are stepping beyond your remit. You are quality control but yet questioning some perfectly centered and really tiny $100 crate. You are literally wasting both your and everyone who reads this time. This should never have been raised.

I decided to leave this 100$ crate in the middle and added a 1k crate near the start position, because I find 11k games also quite nice.
Additionally as for GLA its easier to grap those 2*200$ crates between mid and start point I deleted them.
That's in line with Spaldings post.
Update can be reviewed when I uploaded the version with all changes.
ReLaX.


Only require something GLES 3 compatible from wgpu

This allows the wgpu backend to be used on older devices and is required by the Android emulator. There should probably be a way to request higher limits for applications doing their own rendering however.

tnx


Folder colors don't update to reflect git changes

If I save a file, the file (in the sidebar) will change colors to tell me that it has changed, but only if the folder tree is open to that file. If I save it otherwise, the folder will change colors. If the folder tree is collapsed and I save it with a new change to the git repo, the folder will change colors to reflect new changes in the sub folders.
But, this process does not work in reverse. If I am removing git changes (whether through saving from an open file, or git checkout from the command line) the file itself will change colors, if the folder tree is open all the way down. But, the folders above it will not change colors. Likewise, if the folder tree is collapsed at any point, the folders will not change colors to reflect the changed status below them. The folder tree below the folder I am on will change colors (when I open it, of course it updates) but the folder I am on itself will not.
This is a bit hard to explain, so I will illustrate it with an image.

The sub-tree has no files changed in it, they were changed, but I removed the changes. The folder was collapsed to the folder that is currently selected. While the folders below expressed the change once it was expanded, the folder that I was on did not express the change, neither did the folders above it. The behavior is a bit confusing. The expected behavior is that the folders above the current one would change to the new updated git status.

I have a similar issue. I have a repo which has files and folder in the side bar who's colors do not reflect their actual state. In my guess there are several yellow or green items but if on the command line i do a > git status on that repo, it tells me everything is up to date.
The interesting thing is that other repos do not seem to exhibit this behavior.
How is it that you have generated that nifty gif; I ask so that I can send you what I see.

Mac OS 10.10.3
Atom Version 0.211.0 (0.211.0)

Ah, I never updated this, I have not had this issue in a very long time. I should have closed it long ago. :-/

You are correct, this is a none issue. I compared the files that acted normally from those that did not and I noticed that they had different permissions for the executable bit. I changed the file permissions of my files to 755 and atom was then able to display modifications correctly. I am not sure if this is by design or not.
Thanks for the patience.


Output cache route config fixes #6523

retargeting of PR #6557 to 1.9.x

@dcinzona has already signed-off the change in prod, and code-reviewed by Daniel.

Confirmed with breakpoints.  Routes that are not configured are returned without checking the cache.


Support tasks that have indefinite/permanent duration

There may be "tasks" that need to run indefinitely or permanently. For example, a patrolling task or a continuous delivery task (where we expect a new delivery to always be ready to go as soon as the previous delivery is finished).
In these cases, it's best to assign the continuous task to one robot, and then exclude the robot from being assigned any further tasks until the indefinite task is canceled or terminates some other way. (Note that we'll assume these indefinite tasks will be responsible for having battery recharging phases)
For the planner, we could indicate that a task is indefinite by changing Estimate::finish_state to return a std::optional<State> where a std::nullopt value means that it will run indefinitely (as opposed to Task::Model::estimate_finish where returning std::nullopt means that the task cannot be performed).
When a branch in the planner assigns an indefinite task to a robot, that branch cannot assign any more tasks to that robot.

Hmm... What about charging? Or do we just ignore that for now.

Since it's difficult to spot and a very important point, I'll highlight it here:

Note that we'll assume these indefinite tasks will be responsible for having battery recharging phases


Unable to use Stardust in TS project with --isolatedModules

Bug Report
Steps
Create react app:
npx create-react-app stardust-consumer --typescript

Add stardust package, Provider, Button, run the app
Expected Result
Works
Actual Result
App fails to compile because of the two following errors 💣

FocusZone (under our control):

<EMAIL_ADDRESS>Type error: Ambient const enums are not allowed when the '--isolatedModules' flag is provided.  TS1209

    114 |     preventDefaultWhenHandled?: boolean;
    115 | }
  > 116 | export declare const enum FocusZoneTabbableElements {
        |                           ^
    117 |     /** Tabbing is not allowed */
    118 |     none = 0,
    119 |     /** All tabbing action is allowed */

Fela (out of our control, currently in all Fela version, up to 10.0.1):

<EMAIL_ADDRESS>Type error: Ambient const enums are not allowed when the '--isolatedModules' flag is provided.  TS1209

    11 |   type TEnhancer = (renderer: IRenderer) => IRenderer; //http://fela.js.org/docs/advanced/Enhancers.html
    12 |
  > 13 |   const enum TSubscribeMessageType {
       |              ^
    14 |     rule = 'RULE',
    15 |     staticObject = 'RULE',
    16 |     keyframes = 'KEYFRAME',

Version
0.14.0
Why this is important

create-react-app is the essential way how to create the project
it is not possible to disable --isolatedModules there

We cannot build project with Babel because it also not working with const enum: https://babeljs.io/docs/en/babel-plugin-transform-typescript


Plugin uses deprecated Gradle APIs

The AbstractFileCollection.getBuildDependencies() method  has been deprecated and is scheduled to be removed in Gradle 5.0. org.jetbrains.kotlin.gradle.frontend.npm.NpmPackageManager$injectDependencies$1$1 extends AbstractFileCollection. Don't do that, use Project.files() instead.

getBuildDependencies is not used in the frontend plugin, it must be some other plugin

It is impossible to avoid extending AbstractFileCollection as it is required for internal gradle API (DefaultSelfResolvingDependency)

Fixed in master. Will be released soon.


Is 64-bit llvm static library build available for downloading ?

Brief Description
I'm trying to change some code in the native part and build a 64-bit version. It requires a 64-bit clang build and I built it. All compilation worked but once I used it, the MemoryAccessVilotionException prompts. The 64-bit version on Nuget is good. So I wonder if the problem lies in the llvm build. Can I have you guys' build ?
OS: Windows / OS X / Linux (include version and/or distro)
Used headers
Used settings
Target: MSVC/GCC/Clang
Other settings
Stack trace or incompilable generated code

I built LLVM 64-bit using their cmake scripts. The .lib files are all smaller than your build. Where can I find your llvm make files ? can you provide your pre-compiled 64 bits llvm packages for good ? I have been stuck on it for a while 8-(

Try our documented process: https://github.com/mono/CppSharp/blob/master/docs/BuildingLLVM.md#compiling-using-the-build-script
Let me know if you hit any issue.

I followed the instruction to build a x64 version. The folder name is different with x86 version. It is llvm-9bde5f-windows-vs2017-x64-RelWithDebInfo. But the .lib inside the folder are still x86.

@hs3366677 I use a 64-bit copy of Clang locally, I'll see about packing it and uploading it for you next week.

We'll be moving our CI to 64-bits only in the future so packages will be provided for 64-bits going forward.


Setup

is this still working? how do I setup and add as a chrome extension? which tools are needed to download and run the script?
please help me from starting point

it's still working, but it indeed takes a few steps to set it up thought. tutorials will be added soon

well I uploaded the build result as a zip file in the latest release instead, you can install it just like how you install other extensions in developer mode

ok thanks :D

hey man you seem really cool and enthusiastic, id like to connect with you on some other platforms (linkedin, discord, etc..) and collaborate together on some projects if your okay with that 😃

thanks! I'll be glad to help ^_^ you may reach me at discord via Char2s#1688. it's late night here so i may not respond until tomorrow though

close as solved. reopen it at anytime if you have other questions :)


Support keep-alive feature by wrap a context outside RestClient::Resquest

The idea is to use the keep_alive feature Net::HTTP object. Currently each restclient request will create a new http object, so I have to manage the alive object outside the restclient request. This way, the old users of RestClient::Request are not affected at all. But if you want to execute multiple requests to the same host while keeping the connection open, you need to create a context. Sample code is like this:
RestClient::KeepAliveContext.start do |context|
context.get("http://host1/path")
context.get("https://host2/path")
context.get("http://host1/otherpath")
end
in this sample, there'll be only two tcp connections in total, one for host1, the other one for host2.
Please note, this feature doesn't guarantee the connection is kept alive, because the server side may return "connection:close" header to close the connection. However even if this happens, this context will try to get a new connection for the next request, so it'll still work.

The jrubyhead unit test failed. I think it might be caused by some changes by jruby. Can someone familiar  working on jrubyhead help to take a look?
` RestClient::Resource the block should be overrideable in ruby 1.9 syntax
Failure/Error: parent['posts', &block2].block.should eq block2
   expected: #<Proc:0x792a0f60@/home/travis/build/rest-client/rest-client/spec/unit/resource_spec.rb:99 (lambda)>
        got: #<Proc:0x3857a5c5@/home/travis/build/rest-client/rest-client/spec/unit/resource_spec.rb:98>

   (compared using ==)
 # ./spec/unit/resource_spec.rb:102:in `block in (root)'`


feat: add x/oracle module to app.go

Description
Adds the x/oracle module to app.go

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added appropriate labels to the PR
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

The x/oracle module cannot be added to app.go as we don't want to include it in releases (especially as we're nearing mainnet). Once x/oracle and x/leverage are done, we'll include it via an upgrade proposal 👍
For now, I've added a beta sub-package, so we can add modules there for integration testing purposes. Feel free to add it there

Sounds good! Wasn't sure what the plan was here - I'll add it to the beta package 👍