Cannot play music through my registered device with SampleApp on macOS

What version of the AVS Device SDK are you using?
master v1.2.1
Briefly summarize your issue:
Running SampleApp on macOS, when invoking "Alexa, play Jazz music" or any request to play something, her response is always " Amazon Music is not supported on this device"
What behavior are you observing?
It seems that my device is not listed in the "Your Amazon Music Settings" page "Manage your Device" is an empty list, whereas in alexa.amazon.com, I can clearly see that in "Settings"->"Device" my device is "Online" and properly registered.
Tell us about your environment:
I build SampleApp for macOS and run it smoothly whenever I need to ask any question to the ASV service. However playing music seems to be not supported according to Alexa answer.
One more thing that can be relevant:
I am registered in Denmark. So far Amazon Music is not available in Denmark yet. I intended to overcome the problem by asking a US colleague to share his credentials so I could add him as a user in my developer console profile. He set up a Amazon Music unlimited account from US.
I refresh the token by login in with his account. I asked Alexa "which account is this?", she answered properly but I still cannot play music.
Tell us what hardware you're using:
MacBook Pro (Retina, 15-inch, Mid 2015)
v10.13.1

Hi @scurdy,
Access to Amazon Music is currently restricted to Alexa-enabled devices that are approved for commercial distribution and use. Please contact your Amazon Business Development Representative to get started on the approval for Amazon Music.
Ken

Dear Ken,
Once again thank you for your fast answer. The device in question is a prototype that will be demoed in CES 2018, so it is crucial it can play Music on command.
I have been spending almost 1 hour trying to find how to contact the business development representative without success, would you please be kind and guide me in that matter.
thanks.

Hi @scurdy
Can we have a quick call to discuss your issue further? Please fill out this Contact Form and I will get in touch with you.
Thanks

Hi Ken,
sorry but "tiny.amazon.com" does not work. it is the link in Contact form. I am very up for a quick call. by the way in I am in Europe GTM+1 so we can align with our working hours.

@scurdy
Can you try this link: https://www.amazon.com/forms/231ff404-261e-454c-917d-97208d9ea268
Thanks

The question appears to have been answered. Please re-open this issue if it has been closed in error.


Can't copy attachment link when accessing gitea not over HTTPS

Description
It's impossible to copy attachment link when accessing gitea over local network:
JavaScript error: Uncaught TypeError: Cannot read properties of undefined (reading 'writeText') (http://<IP_ADDRESS>:3000/assets/js/index.js?v=1.20.1 @ 54:4159).

It tries to copy text using navigator.clipboard.writeText(x) but navigator.clipboard is available only when url is either HTTPS or localhost.
There are workarounds for "insecure sources" such as document.execCommand('copy').
Or probably checking window.isSecureContext (which is true for both HTTPS and localhost) and showing a proper error message would be also fine.
Gitea Version
1.20.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots

Git Version
No response
Operating System
No response
How are you running Gitea?
Running file gitea-1.20.1-windows-4.0-amd64.exe
Database
None

IIRC it has been fixed by "Re-allow clipboard copy on non-https sites #17118"
It might be a regression of "Use clippie module to copy to clipboard #23801" @silverwind

Sounds like a bug in https://github.com/silverwind/clippie, I will check.

Actually it was not a bug in clippie in this case, but a bare use of navigator.clipboard.writeText, which I've fixed. So the fix in clippie is just a fast-path to the fallback now, but I ponder whether to revert it.


feat: added support for database migrations

Pull Request Test Coverage Report for Build 334711136

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 100.0%

Totals

Change from base Build 331349394:
0.0%

Covered Lines:
36

Relevant Lines:
36

💛  - Coveralls


BUG: Fix deprecated API usage in example

Just a tiny commit following https://github.com/mne-tools/mne-python/pull/11500 to avoid using the deprecated arguments. Should fix the CircleCI main failure.

Green CircleCI and a trivial adjustment based on the deprecation, in it goes!


Does not work with "convertido"

🔱 Issue subject

[x] 👽 Bug
[ ] 🔥 New feature proposal
[ ] 💭 Idea/need
[ ] ❓ Other

📝 Description
Does not work when searching for "convertido".

👽 Bug

What did you do? sinonimos convertido
What did you expect to see? converso, neófito
What did you see instead? Nothing

Old version.


Intermittend failures

When running multiple HAProxy bouncers I see this happen randomly:
[ALERT]    (3040388) : Lua task: [state-id 0] runtime error: /usr/lib/crowdsec/lua/haproxy/json.lua:185: expected closing quote for string at line 1 col 1134323 from [C]: in global 'error', /usr/lib/crowdsec/lua/haproxy/json.lua:185: in upvalue 'decode_error', /usr/lib/crowdsec/lua/haproxy/json.lua:255: in function line 218 ..., /usr/lib/crowdsec/lua/haproxy/json.lua:330: in function line 307 ..., /usr/lib/crowdsec/lua/haproxy/json.lua:293: in function line 280 ..., /usr/lib/crowdsec/lua/haproxy/json.lua:330: in function line 307 ..., /usr/lib/crowdsec/lua/haproxy/json.lua:379: in field 'decode', /usr/lib/crowdsec/lua/haproxy/crowdsec.lua:219: in upvalue 'refresh_decisions', /usr/lib/crowdsec/lua/haproxy/crowdsec.lua:271: in function line 260.

Not sure if it's a LAPI issue when too much bouncers connect or if it is a bouncer issue. At least a retry would be nice instead of a hard failure.

How many bouncers you got connected and they all using unique api keys?

I've got 28 bouncers connected with unique keys.

12 HAProxy bouncers
16 Firewall bouncers

The problem mostly seems to occur when the HAProxy instances are reloaded at the same time. When I modify the cronjob to make sure they do not reload at the same time the problem almost goes away.

The problem mostly seems to occur when the HAProxy instances are reloaded at the same time. When I modify the cronjob to make sure they do not reload at the same time the problem almost goes away.

Yeah that wouldn't surprise me as when they load they will ask LAPI for the full blocklist on startup. We have a feature flag on 1.5 that is called chunked_stream this may help. To enable the feature you can follow the instruction printed when running
cscli config feature-flags

@LaurenceJJones Sorry I didn't respond, I totally missed your reply. First testing seems to show that it helps indeed. Thanks!

I'm glad to hear it! If we get enough positive feedback about it, it may become the default.

@LaurenceJJones I just wanted to let you know that my bouncers have been running fine for 2 weeks now with chunked_stream enabled. Thanks again.

@LaurenceJJones I just wanted to let you know that my bouncers have been running fine for 2 weeks now with chunked_stream enabled. Thanks again.

Thank you for the update! This feedback is very helpful as it will push us to make it the default


Martin Strigl: add slides for Talk "2023-05-30 CertOps - Certificate …

…Lifecycle Management done Cloud Native"

Thanks @strima !


How convert bigint to string?

bigInteger(123456789012345678).toString()
Result:
123456789012345680

JavaScript number precision issues.
Use bigInteger('123456789012345678').toString().

@Happypig375 Thank's, but this is a sample and i received that from server
bigInteger(num).toString() // result<PHONE_NUMBER>12345680

So, I can't convert to string that because this issue stay:
bigInteger(String(num)).toString() //result<PHONE_NUMBER>12345680

You are using native JavaScript numbers.
String(num) //<PHONE_NUMBER>12345680
123456789012345678 ==<PHONE_NUMBER>12345680 // true

@Happypig375 All right, but I need it.
function mask(number){
   ....
}

const number =<PHONE_NUMBER>12345678 // get from server
const maskedNumber = mask(number);
//result is '123-45-6789-012345680'

But, I need this result '123-45-6789-012345678'

@uxitten , get the string from the server

Suppose I can't.  No way?

@uxitten , a lot of ways:

you know, that the value can be stored as binary64 exactly, and so the conversion back to decimal is exact, in this case use number.toFixed(0);
parse the output from the server in a way, that the value will not be converted to number (don't call  JSON.parse(...) directly)

Why can't you get it as string from the server? Cannot you modify the receiving code?

Thanks, man, it's ok


[FR] messaging. Messaging .send*: Documentation should clarify dryRun deficiency detecting APNS token unregistration

Is your feature request related to a problem? Please describe.
Based on a complete review of Apple APNS documentation, I've found no support of anything like a "dry run" feature. The dryRun feature is documented on this SDK as simply: "Whether to send the message in the dry-run (validation only) mode." When dryRun is used with tokens delivered to Android, errors such as 'messaging/registration-token-not-registered' are returned in appropriate cases where the token has been unregistered. However, I believe this is not the case with tokens delivered to iOS. Do you have any evidence otherwise?
Describe the solution you'd like
The documentation for the send methods, at https://firebase.google.com/docs/reference/admin/node/admin.messaging.Messaging, should elaborate on the nuances of dryRun for APNS-served devices if my belief stated above is correct.
Describe alternatives you've considered
Additional context

Hi @CapnSpellcheck , just to clarify: in this request, "APNS token unregistration" means the deletion of APNS token using this client-side API: https://developer.apple.com/documentation/uikit/uiapplication/1623093-unregisterforremotenotifications . is that correct?

Hello,
Actually, I am referring to unregistration without any request from the app
or app's infrastructure. In other words, automatic unregistration by
Apple/APNS due to user's deletion of the app.
On Tue, Dec 22, 2020, 12:03 PM chong-shao<EMAIL_ADDRESS>wrote:

Assigned #1116
https://github.com/firebase/firebase-admin-node/issues/1116 to
@CapnSpellcheck https://github.com/CapnSpellcheck.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/firebase-admin-node/issues/1116#event-4141583901,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5AEBFTR3UYQ5Q67D4GV3SWD3QVANCNFSM4U3WHOZA
.

Hello,
Actually, I am referring to unregistration without any request from the app
or app's infrastructure. In other words, automatic unregistration by
Apple/APNS due to user's deletion of the app.
On Tue, Dec 22, 2020, 12:03 PM chong-shao<EMAIL_ADDRESS>wrote:

Assigned #1116
https://github.com/firebase/firebase-admin-node/issues/1116 to
@CapnSpellcheck https://github.com/CapnSpellcheck.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/firebase-admin-node/issues/1116#event-4141583901,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5AEBFTR3UYQ5Q67D4GV3SWD3QVANCNFSM4U3WHOZA
.

Hi @CapnSpellcheck thanks fo the clarification. Yes I confirm that in the case you described, dry-run cannot be used to detect the deletion of the APNS token.  I'll update the documentation to reflect that.

Hi @CapnSpellcheck thanks fo the clarification. Yes I confirm that in the case you described, dry-run cannot be used to detect the deletion of the APNS token.  I'll update the documentation to reflect that.


Missing include in amqpcpp/libevent.h

the include <amqpcpp/linux_tcp.h> is missed in amqpcpp/libevent.h. That causes compilation error. Please fix it.

P

Please make a pull request.


Updated icon color

In this updated code, I replaced stroke="currentColor" with stroke="#ffffff". This modification explicitly sets the stroke color to white (#ffffff) for the SVG, ensuring that the stroke is consistently displayed in white regardless of the surrounding text color defined by CSS.
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
strokeWidth={1.5}
stroke="#ffffff"
className="w-8 h-8"

This is my first time contributing. I am unsure about the checks. I apologize for any inconvenience. I have updated the icon color.

Update done "EDITED"

Hey @parinitapatil Looks like your formatting is not setup properly, I see a lot of extra spaces in the PR
https://github.com/codu-code/codu/pull/472/files#diff-aa98fd0757d0e1741503c50cfafb7726939d19819638bbe8e030a27adfec34a3R201
Everything else looks good, try using the formatter like prettier or built in vscode formatter.
@NiallJoeMaher do we have a formatter setup config for our project?

Hey @parinitapatil Looks like your formatting is not setup properly, I see a lot of extra spaces in the PR
https://github.com/codu-code/codu/pull/472/files#diff-aa98fd0757d0e1741503c50cfafb7726939d19819638bbe8e030a27adfec34a3R201
Everything else looks good, try using the formatter like prettier or built in vscode formatter.
@NiallJoeMaher do we have a formatter setup config for our project?

I'm going to make an issue for this. We need a separate Prettier and ESLint config.

I appreciate the assistance from both mentors. Best regards.

Congrats on your first successful PR at Codu @parinitapatil


Carbon QL Design spec

CQL Design
There are two components to CQL.
The application framework - calls the carbon calculation extendable  framework, glues inputs to outputs etc…. This is the ontology project.
The Carbon calculation extendable framework (CCEF) or carbon framework - given some inputs, outputs some estimates of emissions data.
The Application framework is explained well in the SCI ontology project requirements specifications. The output from the Application framework could be a JSON that can be passed as input to the **carbon Model. **
What we see below are the specifications of the  carbon framework.
High level architecture
Conceptually the high level architecture of how the application model and carbon model are connected is shown below.
The software boundary as defined in the SCI spec can be modelled using the Application model or SCI ontology project.  This consists of the infrastructure like Virtual machines, databases, message queues, api gateways, network load balancers etc.
For the specific infrastructure being modelled, corresponding carbon models are chosen. The Ontology project can then pass the relevant operational telemetry to the carbon model as JSON or a collection of parameters. The model calculates the emissions based on the SCI spec and returns the values.

Carbon Models - Design principles
The intent of a Carbon model in the architecture is to be able to create a platform for onboarding models that give carbon emission output values and to be able to standardize the interface for calling systems/users. Users can easily compare emission values across models using the platform.
The underlying theme is that : we wouldn't be too worried about the specific nuances of the actual services (serverless, Managed Services etc) . This responsibility of defining the infrastructure is offboarded as a responsibility to the **Application model. ** Rather given an infrastructure blueprint for the software and given that the specific blueprint can be calculated using a specific model metadata,  we will focus on using the energy coefficients provided by the models to make quick calculations.
The core working/calculations of the code would not be that important, the most important is that it exposes and adheres to the same interface as all the other CQL carbon models. Like the one we discussed here:
https://github.com/Green-Software-Foundation/carbon-ql/issues/31
Interface Design
There are different carbon models available - Etsy, CCF, Boazvita. Each of these models come up with a guidance and usage around how to use the given tool to get emissions values.
We leverage existing work in this space and intent will be not to re-write them in our framework but to create an interface wrapper which calls existing code but normalises all the interfaces to the same one so we can swap/compare. Some of the sample methods that will be standardised in the interface across all models are :
_Create - _ create an instance of the backend model
_Dispose - _dispose the instance
History - returns the historical emissions values for the given time period
Snapshot - returns the emissions values at a single point in time.
_Stream - returns real time emissions. _
Communication
The other aspect is how those functions communicate back to the caller when things go wrong. There should be standard error codes that will be returned that helps debug the issue. So that when someone like a developer, a pseudo-etsy coder, builds the interface they not only adhere to the function interface but they also adhere to a common approach to return errors.
List of Carbon Models
Etsy
The Etsy model has been made by producing standard conversion factors from CPU hours or Terabyte Hours (depending on whether it is compute or storage) to Watt hours. These conversion factors are called Cloud Jewels . The conversion factor has been arrived at by looking at utilization % numbers(CPU and storage) and the corresponding hardware spec related to the utilization (got from SPEC power report) and using a formula to convert this into Watts.
Average watts = Min Watts + Avg vCPU utilization *(Max watts – Min watts)
Compute Watt-hours = Average watts * vCPU hours.
Also, Etsy can be primarily used in GCP cloud migration scenarios only.
Pros

Easy to use conversion factor for Storage and compute.
Can be easily used for an on-premises to GCP cloud migration use case to compare emissions.

Cons:

No description of workload has been given that was used to produce a conversion factor.
Also, the usage emissions from networking and RAM are assumed to be negligible.
Their github site is also not updated for the past 2 years.
Embodied emissions are not covered.

Interface design for Etsy :  For Etsy they already have some code here: https://github.com/etsy/cloud-jewels I was imagining we (or Etsy!!!) creates a wrapper for their existing code which exposes an interface which adheres to the CQL standard.

Cloud Carbon Footprint.
CCF is an extension of Etsy and they have additionally included networking and RAM. However, the model is more complicated. They have provided formulas for calculating energy usage across the different compute services in AWS, Azure and GCP and the formulae is different between serverless services, managed services and VMs.
The model is based on billing usage, and they connect with the respective billing APIs and grab the VCPU hours from there. This is then multiplied using the same formula as Etsy.
One difference between Etsy and CCF w.r.t the above formula is that they have called out exclusion scenarios where the above formula cannot be used – GPUs, AWS Lambda services,AWS Aurora serveless services, GKE engine.
There are more nuances to the model, however one good thing is that they have provided what are called energy coefficients that can be used to multiply with our Telemetry object of the model. This may not be accurate, but it may provide us with a starting point.  The link to the place where they provide the co-efficients is here https://www.cloudcarbonfootprint.org/docs/methodology#appendix-i-energy-coefficients. We can substitute the utilization value with actuals to increase accuracy.;
Methodology | Cloud Carbon Footprint
Summary
www.cloudcarbonfootprint.org
We would use the same concept for CCF, there needs to be a CQL CCF interface. I don’t think they have an SDK to interact with CCF, it’s an application rather than a library. So in this case we either write our own CQL module from scratch, or encourage ThoughtWorks to do so.

Carbon Aware SDK (Watt Time/ Electricity Maps)
Carbon Aware SDK provides an API and a command line interface that helps consumers get carbon intensity data for the electricity grid where the software is running. It internally connects to either Watt Time or Electricity maps as a data provider and is able to provide carbon intensity values .
For the carbon aware SDK, we can build a CQL interface. The CQL interface can interact with the carbon aware SDK Web API interface and pass in the region where the software is being run and the time of the day and get the emissions data. There are other methods that can be used like forecasts, average carbon intensity, carbon intensity values in batch etc that can be leveraged as needed.
In Addition, we will also build a CQL interface that can interact directly with the backend data providers - Watt Time and Electricity maps without having the need to call the carbonaware SDK.

As mentioned below in the interface specification, all input parameters will be passed as dictionary objects. Hence to call the carbon aware SDK, we will be passing the following parameters or a combination of them as input params: Locations,Time Boundary.
Types of Carbon Models
Thinking through some of the types of carbon models right now I can think of 3 categories.
API Carbon Models
E.g. a Boavista Carbon Model will probably just call the Boavista API. It will translate CQL inputs into the format the Boavista API needs and transform/translate the response into a CQL format.
This might be how Intel creates its Carbon Model. We wouldn’t hardcode our powercurve/coefficients in code but hide it behind an API so that (a) we can update the numbers easily (b) make sure only customers who’ve signed an NDA have access to it.
Algorithmic Carbon Models
This is the type you wrote above, hardcoded coefficients with some simple algorithmic logic.
Lookup Carbon Models
This is more like perhaps a CCF model. It would first load up some files (coefficients) across the network (not hardcode them in) and then translate inputs/outputs with the CQL interface.
Wrapper Carbon Models
E.g. If there is an existing library somewhere like the Etsy Cloud Jewels then we might just create a wrapper Carbon Model that just calls that library and translates the inputs/outputs to the CQL interface.
Programming Language
Another point I’ve been thinking about is the language support for CQL. Personally I’d really love if anyone in any language can just type a command like this:
pip install cql-etsy
npm install cql-etsy
nuget install cql-etsy
And they have access to the CQL model. If we limited the whole of CQL to one language we’d drastically reduce our user base. From experience of CA SDK and their use of Swagger to solve this same problem, with swagger you solve the problem of multi language support but make it so much harder to set up that people don’t bother. In the hackathon the majority of users didn’t bother and just called the API directly.
For the launch/hackathon I think we should target Python + JavaScript that covers the broadest market (see this). I.e. every CQL model interface needs to be available in Python + JavaScript.
It’s possible to do that with the core model being written in a native system language like C/C++/Rust and then a wrapper module in Java, Python, JavaScript that calls that core native module. E.g. with Java you use JNI, with JavaScript you use he Native Modules feature, Python has similar functionality.
Approach - Version 1 of carbon QL
Since the carbon aware SDK model is mostly well defined we will build the first carbon QL interface to integrate with the carbon aware SDK model. Build the interface in python that can get installed through the command line.
The package should be able to accept parameters through the command line that can help

Accept the models as parameters that can be instantiated - e.g Etsy, CCF,carbon Aware SDK, Wattime, Electricity Maps
Accept dictionary parameters
Provide a help message that details out the usage of the carbonQL interface including the syntax
Provide appropriate error codes that can help debug the error.

Detailed Design
We have tried to depict how the carbonQL will be called by the SCI ontology project below. The facade layer can be called by the SCI ontology project by passing the model name and then the model specific methods and/or parameters (either as JSON or dictionary parameters).

@jawache  @navveenb  @Oleg-Zhymolokhov

FYI @srini1978 keeping this isssue open there are still things I think we need to migrate over to our markdown spec.

Explanation of the different IMMs (maybe a file for each IMM with specific headings, this might actually be linked to the ask to #44)
Types of IMPs (API, Lookup etc...)
Discussion of programming language support.

Are you looking at all at adding networking to this project?  That is still an outstanding item, that should probably be looked at at some level.

@catblade yes networking will be supported (through model plugins), in fact everything is a plugin, this framework just calls plugins that adhere to the same spec so we can treat them all the same and connect them all together.

Closing this as all of this has either been incorporated or superceded by the latest spec


Deployment in kubernetes with nginx ingress controller

Hello,
Smockin is great and works perfectly locally in our dev stack :)
I've deployed smockin in a kubernetes cluster for my frontend dev team to be able to use it without having to manage it locally.
It mostly works but we've hit a limitation : HTTP live feed (and new response interception feature) does not work.
Probable cause is that admin interface and api are reachable on 2 separated domains on standard 443 HTTPS port. This is mandatory when using default kubernetes nginx ingress controller : we can only expose 80 & 443 ports.
Could Smockin be updated to allow such a setup ?
Or maybe is such a setup already possible with some config step or workaround ?

Hi @albanduval,
Thanks for getting contact.
Unfortunately the HTTP live feed and Block, Mock & Swap features are not available when running sMockin in multi user mode. I do however have a plan to add support for both of these in my roadmap.

As I am aware that it is a bit annoying having to manually add the proxy mappings with each installation, I'll see whether for a short term solution, we can include the proxy mappings in the existing import / export facility.

I've added an import / export for proxy Path to URL mappings to v2.12.0

Hi @matthewgallina
Thanks for the very quick reply and the proxy path config feature.
Unfortunately, the container does not run in a multi user mode : the only difference with simple deployment with a docker run is that admin interface and simulated api are accessible through different subdomains (both on port 443).
You can watch this setup in action here :

user interface : https://mock-server-admin.camunda.aws.profideo.fr
API : https://mock-server.camunda.aws.profideo.fr

I do not know how the HTTP live feed is retrieved from the user interface : if it involves port on localhost from backend or some kind of relative URL from the user interface, it is probably not possible to make it work with my setup without adding some kind of explicit host/port configuration dedicated to the live feed.
I would totally understand if this use case is not in your roadmap, feel free to close the issue. (our workaround would then just help deploy smockin on frontend developer laptops or on some internal server instead of kubernetes cluster)
Thanks a lot for this great tool, it really helps us for frontend development before target API is ready :)

Hi @albanduval
There is definitely a bug here, in that the Websocket address is currently hardcoded and the reason why you cannot open the HTTP Live Feed using the link you sent in your last comment:

In terms of running sMockin in multi user mode, it should be possible to do this in the docker version, by connecting to the container once it's started and editing the line MULTI_USER_MODE=TRUE
in the launch.sh file
For more details please see AMENDING CONFIG WITHIN THE CONTAINER in the docker page: https://hub.docker.com/r/mgallina/smockin

I've added a fix to v2.13.0 which should now set the web socket protocol (ws:// or wss://) according on whether the connection is secure or not.

I've just deployed the v2.13.0 and everything seems to be working as expected :+1:
Thanks for the answers and the really fast fix, we are now ready to try the very promising Block, Mock & Swap feature :).

@albanduval You're welcome.
All that I ask in return is that you ask if your team like sMockin that they give it a star here on Github.

Sure, fair price :)
Team has been notified, stars are coming ;)

@albanduval
Good Evening, I'm trying to configure smockin behind nginx-ingress in a kubernets cluster and it works fine, but when I activate the MULTI_USER_MODE variable to TRUE I can no longer access due to authentication activation, can you tell me which annotations I can use in my nginx-ingress on kubernetes.?
Note: I know the issue is already closed, but I believe your scenario is similar to mine.
Thanks


Avoid to use ENV:TERM in the regression tests.

A while ago there was a discussion on the developer and packagers mailing lists [1] [2] about the utilization of the environment variable TERM as part of a regression test. The objective of the test was to certify that ModSecurity was capable to read environment vars via the ENV variable.
Turns out, TERM wasn't a good variable as it is not set is some use cases, for instance, while generating packages in a build environment, leading the tests to fail.
In order to circumvent the problem @airween suggested to set the variable before start the test process, which was indeed a very good idea. However, it was still possible that other persons hit the same problem. Occasionally @inittab bought up the discussion again, because he hit the same problem as @ariween.
To have a more wide solution the ENV test case was changed to read a variable that is set by the regression test client. That way nobody will face this problem again :)
Test case:
https://github.com/SpiderLabs/ModSecurity/blob/25bb1f1bcc7252e93bd42067cac23a07b71fb8b9/test/test-cases/regression/variable-ENV.json#L46-L89
Change in the regression utility:
https://github.com/SpiderLabs/ModSecurity/blob/25bb1f1bcc7252e93bd42067cac23a07b71fb8b9/test/regression/regression.cc#L428-L431
In addition a new test case was created using setenv action:
https://github.com/SpiderLabs/ModSecurity/blob/25bb1f1bcc7252e93bd42067cac23a07b71fb8b9/test/test-cases/regression/variable-ENV.json#L90-L134

Changes was changed accordingly.
https://github.com/SpiderLabs/ModSecurity/blob/07330e53f1f84eabec8fd075a0ef85d2c0502e19/CHANGES#L4-L7

Solved - the pkg-config package is needed to build, and sbuild doesn't contain it by default.
Sorry.


[FIX] Landing Page Overflow Fix

Overflow fixed

Fixes #44

https://github.com/user-attachments/assets/2fe385e3-8177-4bff-a79f-4132752fc74d
Would you please label this PR as level2  !!

Okay..

Hey @SaranshBangar , Please add labels to this PR !!
gssoc, level !!

@4F24L Done 👍🏼


feat/contextMenu

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Files with missing lines
Patch %
Lines

...ages/components/contextMenu/src/contextMenuItem.ts
0.00%
12 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines
Coverage Δ

...ages/components/contextMenu/src/contextMenuItem.ts
0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes


Clean up generic utils

a link to successful gerrit verification https://gerrit.teamccp.com/#/c/653136/

@npoltorapavlo - Pls add a note in the README to include these specific utils header files.

@anand-ky the point is to reduce dependencies so that when writing unit tests there's no need to cope with includes that aren't needed. From this perspective, generic utils should be removed. When it's done there's no need to instruct not to use them so I did not add anything to the README


A element with dragging=true in Microsoft Edge breaks drag functionality of map

How to reproduce

Leaflet version I'm using: 1.1.0 and 1.0.3
Browser (with version) I'm using: Microsoft Edge 38.14393.1066.0
OS/Platform (with version) I'm using: Windows 10
step

Put a element that has draggable="true" with a Leaflet map.
Drag the element.

What behaviour I'm expecting and which behaviour I'm seeing
After dragging the element once, a dragging map with single tap changes into like a dragging map with double tap.
After dragging the element twice, a dragging map does not work.
Minimal example reproducing the issue
https://kozy4324.github.io/leaflet-dragging-error-at-ms-edge/

Hi,
sorry for a very late reply. It's not clear to me exactly how to reproduce the problem from your example, it looks like it's just showing a default map. Is it panning the map that doesn't work for you in Edge, or what?

@perliedman
Thank you for your reply. I tried to reproduce the problem with Microsoft Edge 40.15063.674.0 (current stable version), but it did not happen. Perhaps it may be fixed by updating.
If there is no problem, please close this issue. Thanks.

Ok, thanks for the update! I'm closing this for now, but feel free to add more information in case you see the issue again, and we'll re-open.


MDF File Metadata Issues

Hello!
I am using the .NET MDF library to generate MDF files, but I am encountering some issues when inserting metadata.
My code is as follows. When AddCommonProperty is commented out, the generated file works fine. The context is as follows:
using System;
using MdfLibrary;

var writer = new MdfWriter(MdfWriterType.Mdf4Basic);
writer.Init("./demo.mdf");

var header = writer.Header;
header.StartTime = (ulong)(DateTimeOffset.Now.ToUnixTimeMilliseconds() * 1000000);

header.Author = "DemoAuthor";

// header.MetaData.AddCommonProperty(new MdfETag
// {
//     Name = "Test",
//     ValueAsString = "Test1",
//     Type = "string"
// });

var meta = header.MetaData;

writer.InitMeasurement();
writer.FinalizeMeasurement();
writer.Dispose();

However, after uncommenting the AddCommonProperty part, an XML header was added to the XmlSnippet, which caused both the Vector MDF Validator and asammdf to fail to recognize it.

English: Invalid XML: Invalid XML declaration

After reviewing the code, I found that skip_header in IXmlFile::WriteString was set to false. I am not sure whether this is a bug, a feature of MDF, or if there is an issue with how I am using it.
Another issue: I want to fully customize my MetaData, but before I set any values like header.Author,header.MetaData is null. I don't know how to initialize it.
Looking forward to your guidance.

I am computers are offline for some days but it have been issues with this earlier. I will be online again in the weekend.14 aug. 2024 kl. 04:01 skrev GugeFramework @.***>:
Hello!
I am using the .NET MDF library to generate MDF files, but I am encountering some issues when inserting metadata.
My code is as follows. When AddCommonProperty is commented out, the generated file works fine. The context is as follows:
using System;
using MdfLibrary;
var writer = new MdfWriter(MdfWriterType.Mdf4Basic);
writer.Init("./demo.mdf");
var header = writer.Header;
header.StartTime = (ulong)(DateTimeOffset.Now.ToUnixTimeMilliseconds() * 1000000);
header.Author = "DemoAuthor";
// header.MetaData.AddCommonProperty(new MdfETag
// {
//     Name = "Test",
//     ValueAsString = "Test1",
//     Type = "string"
// });
var meta = header.MetaData;
writer.InitMeasurement();
writer.FinalizeMeasurement();
writer.Dispose();
default.png (view on web)
default.png (view on web)
However, after uncommenting the AddCommonProperty part, an XML header was added to the XmlSnippet, which caused both the Vector MDF Validator and asammdf to fail to recognize it.
default.png (view on web)
default.png (view on web)
English: Invalid XML: Invalid XML declaration
default.png (view on web)
After reviewing the code, I found that skip_header in IXmlFile::WriteString was set to false. I am not sure whether this is a bug, a feature of MDF, or if there is an issue with how I am using it.
Another issue: I want to fully customize my MetaData, but before I set any values like header.Author,header.MetaData is null. I don't know how to initialize it.
Looking forward to your guidance.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

I am offline for some days but it has been problem with this before. I will back in the weekend.

No worries at all. I’ve temporarily resolved the issue by creating a fork. We can discuss it further when you’re ready.

I have corrected the bug in the C++ library. Two calls to the WriteString(true) was missing the argument true. I suppose this will solve the initial problem. The C++
I normally build the .NET C++/CLI wrapper with the Visual Studio solution (mdflibrary.sln/vcxproj).  I will check the .NET interface tomorrow as it was original designed for read-only support.

I have added a MdfHeader::CreateMetaData() function that either return the existing object or creates a new one. I have not checked but .NET should have some XML library that could generate XML string in/out without a header.
However there are a lot of improvements to add to the .NET interface regarding the meta data. The C++ library have some more features that the .NET wrapper is missing.


Color

First of all, thanks for this awesome plugin.
I can't change the color that surrounds the app icon on notification area. When using the branch master, the app crashes if I use color key when setting default options. In version 0.6.3, app runs, but there is no color change.

@brunocollaco, please show me your code how you set the color.
If you do it like this it works:
cordova.plugins.backgroundMode.setDefaults({ color: 'F26A33' });

Thx for your replay. I was using with '#'.
Now, I changed it to :
    cordova.plugins.backgroundMode.setDefaults({
        title:    'BDG: Descubra sua Música',
        text:     'Toque para voltar.',
        icon:     'icon',
        color:    'F14F4D',
        silent:   false,
        isPublic: true
    });

but, without success. the icon color is still gray... )=

@brunocollaco Setting a color is only possible on devices newer then SDK v21. I've tested with master branch your color code (red) works.

I've updated to master branch and it is working indeed.


Skip or Exclude not working on play-tests

Describe the bug
I've added the skip tag (also tried with the exclude tag) to skip currently failing a11y tests, and I still see that some (or maybe all) the play-tests are running, regardless of the "skip" tag I added to them.
I also noticed that this is happening only to play tests where the play is async.
I noticed that the smoke-tests are skipped and that works fine. It's just the play-test.
Expected behavior
The play-test should also be skipped.
Screenshots

System
Storybook Environment Info:
System:
OS: macOS 14.2.1
CPU: (12) x64 Apple M2 Max
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.10.0 - ~/.volta/tools/image/node/20.10.0/bin/node
Yarn: 1.22.19 - ~/.volta/tools/image/yarn/1.22.19/bin/yarn <----- active
npm: 10.2.3 - ~/.volta/tools/image/node/20.10.0/bin/npm
Browsers:
Chrome: 120.0.6099.234
Safari: 17.2.1

I managed to find a workaround for now, and to add tags: ['a11y-skip'] directly to the story, and not in the component meta.
Seems like I was wrong about the async aspect.
It seems like that when tags is in the component-level - it works only for smoke-tests, and when it's for a specific story - it's also for its play-test.

We had the exact same issue, and have spent hours debugging.
The link to the erroring story/play test is working, but running test-storybook the "play test" logged out "message: null".
I can confirm that this workaround works - the story is then excluded.
However, I would like to figure out why it fails, but I cannot get any debug information, since the built story is working fine.
I suspect that the reason is that the story is actually loading a video player.


Feat/vmix media reload retrying

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

Extending https://github.com/nrkno/sofie-timeline-state-resolver/pull/272

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

What is the new behavior (if this is a feature change)?

Other information:

Pending testing

Codecov Report
Patch coverage has no change and project coverage change: +65.09% :tada:

Comparison is base (3385217) 34.90% compared to head (2ac0c4f) 100.00%.

Additional details and impacted files
@@               Coverage Diff               @@
##           release50      #277       +/-   ##
===============================================
+ Coverage      34.90%   100.00%   +65.09%
===============================================
  Files             99        42       -57
  Lines          10077       649     -9428
  Branches        2476        76     -2400
===============================================
- Hits            3517       649     -2868
+ Misses          5978         0     -5978
+ Partials         582         0      -582

Files Changed
Coverage Δ

...imeline-state-resolver-types/src/generated/vmix.ts
100.00% <ø> (ø)

... and 57 files with indirect coverage changes

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


WIP: build: add Dockerfile and makefile

This sets up a basic docker image build inside the project. Also, we can easily start down a proper release path, which requires semver tagging and prebuild binaries and a docker image.

FYI, laptop issues are preventing me from testing this.
See:

https://github.com/docker/for-win/issues/1263
https://nickjanetakis.com/blog/setting-up-docker-for-windows-and-wsl-to-work-flawlessly

I've been meaning to dual-boot, but the laptop I have has UEFI which can be disabled though. I have tried debian and ubunbu without UEFI boot but neither worked in the end. (Graphic driver issues in both cases)
I read somewhere that Fedora works on this model. Just need to try that (along with WSL).


Detaching a volume throws an error

Detaching a volume returns a response status code of 202, which is passed as an error through the callback. This is likely because line 148 in volume.js expects a 201.

The documentation states that volume attach, detach, and resize actions return a 202 response code. The pull request I made should fix this.

Fixed by b2a370ccb81daaf81abe12fe4011fe3737aad396


Add support for the raspberry HQ cam

Hi,
Raspberry has recently released a new "HQ" cam with interchangeable lenses. It is not as capable as ASI alternatives, but it is also way cheaper.  It works using the standard raspberry pi commands (raspistill &co)
Is it possible to integrate this camera to the soft? I can send you one to support the development.
Best regards

https://github.com/RobboRob/allsky?fbclid=IwAR3rpb4dWYmZlEwOPT-lF2_Ow3yaRo0kC8ciBGWmcr8MJEeEis9AZ9hkLb0
Its been done. Check this link it works.

Thanks! installing right now.

Is this also usable on Pi camera v1 & v2 ?

https://github.com/RobboRob/allsky?fbclid=IwAR3rpb4dWYmZlEwOPT-lF2_Ow3yaRo0kC8ciBGWmcr8MJEeEis9AZ9hkLb0
Its been done. Check this link it works.

I can't make it work like the original script from Thomas. Auto Exposure/Auto Gain are not working at night with the Raspberry Pi HQ camera. I have to set Exposure/gain manually hence the image is totally blank during the day.

I have also found the Auto Exposure/Auto Gain are not working at night.
But they do during the day. The Time overlay was not implemented from what I read on the other link. I to miss that information.
It may be better to post on the other link and not on this one.

I have been trying to pull the time and date from the file saved on of the resized image saved on the WEB site then print it just above the photo. Should be able to do this in the index.html file just have not found the code yet. This would be better then nothing.

I was able to expand on this for a date/time display on the web page.
One issue is that you have to do a CTL+F5 for it to update this loads all of the site and updates. Now looking for code to do the command when the resized image is loaded.
The version I added to my page is in the index.html file on my site at www.dentonknifeworks.com you can see how it works as of now.
For testing I saved this as getdate.html you also have to do a CTL+F5 to get the current date. If anyone has a better way to do this would love to see it.

Last Modified

I have been running the RPi fork, but don't see any other place for commenting on it.  Hope this is the best forum.
I am running the lastest version from https://github.com/RobboRob/allsky doing 30 second exposures, but it is only capturing an image every 4 minutes.  Am I setting something wrong?  I would like to get as close to continuous coverage of the night as possible.

I have also found the Auto Exposure/Auto Gain are not working at night.
But they do during the day. The Time overlay was not implemented from what I read on the other link. I to miss that information.
It may be better to post on the other link and not on this one.

It may be an issue with the raspberry software. If you try to manually take a picture at night with raspistill and AE activated, the resulting picture is way too dark. This software is using raspistill to take the pictures.

I have been running the RPi fork, but don't see any other place for commenting on it. Hope this is the best forum.
I am running the lastest version from https://github.com/RobboRob/allsky doing 30 second exposures, but it is only capturing an image every 4 minutes. Am I setting something wrong? I would like to get as close to continuous coverage of the night as possible.

I don't know if it will fix your issue but I've noticed on my setup that spaces in the image title are freezing the software.

I would never expect auto exposure to work for astrophotographs...
I have the exposure dialed in OK, the problem that it only gives me one image every 4 minutes.
Raspistill does a lot of work "under the hood" - it has a timelapse option captures a sequence of images.
I'm happy to move the discussion to another forum if that is more appropriate.  What is the url of the other link you are referring to?

I would never expect auto exposure to work for astrophotographs...
I have the exposure dialed in OK, the problem that it only gives me one image every 4 minutes.
Raspistill does a lot of work "under the hood" - it has a timelapse option captures a sequence of images.
I'm happy to move the discussion to another forum if that is more appropriate. What is the url of the other link you are referring to?

You can post your question here: https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=275801

Maybe the following could be an interesting solution:
https://github.com/thomasjacquin/allsky/issues/206

This issue is from an older release of the AllSky software.  Version 0.8 supports adding the time, gain, and exposure to the image.  If you think it might still be relevant, please test it with the newest version and submit a new issue if needed.
Thanks.


Clojure Collector: update AccessLogValve to replace empty useragent with "-"

This part of the regex rejects empty user agent strings

Cheekily bringing forwards...

Won't fix, we are doubling down on the SSC:
http://discourse.snowplowanalytics.com/t/replacing-the-clojure-collector/881


nmap licensing has changed

Seems like nmap changed the licence with the 7.90 release from GPL-2 to NPSL (Nmap public source licence).
NPSL is "based" on GPL but adds some nasty things such as:

Proprietary software companies wishing to use or incorporate Covered Software within their programs must contact Licensor to purchase a separate license

Which conflicts with the freedom 0:

The freedom to run the program as you wish, for any purpose (freedom 0).

Discussions about this:

Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972216
Gentoo: https://bugs.gentoo.org/749390
Upstream: https://github.com/nmap/nmap/issues/2199

The actual license file: https://svn.nmap.org/nmap/LICENSE
They also seem to bundle a GPL library, and their license doesn't seem to be GPL compatible.
Suggestion:
So we should probably add this new license at least. NPSL looks non-free to me.
Non-free is a good default until FSF or anyone has looked at it. We can always follow suit with what Debian does as well.

Non-free is a good default until FSF or anyone has looked at it.

Another option would be to revert to 7.80 for now.  The new license seems to be a legal minefield even if you're ok with closed source.

Yeah while looking at the issue in the train I thought of the same as well, will do that now.

I just read the release annoncement for 7.90: https://seclists.org/nmap-announce/2020/1
Just to see if the license change was mentioned there. Which it is:

We also did some long-needed license cleanup and gave the
license a name (Nmap Public Source License) to avoid the previous confusion
of Nmap being under "GPLv2 with various clarifications and exceptions".
The NPSL is still based on the GPLv2, but brings in terms from some other
popular open source licenses. See https://nmap.org/npsl

Do I read this right they weren't really GPLv2 to begin with and just clarified that? That's like a major thing...

First of all I just realized that I merged the original PR, so I really have to apologize for missing that license thing back then!
cc @armijnhemel in case you currently have time and energy for that, would you mind taking a look at the issue? I'm pretty sure that you have way more knowledge and insights about that kind of licensing issue than we have :).
Is there any kind of statement from OSI or FSF yet? Also, I'm wondering if other distros that are even more focused on free software than we are (such as Guix) have e.g. started a new fork that we may want to use as well.

More details from the changelog: https://nmap.org/changelog#7.90

Upgraded the Nmap license form a sort of hacked-up version of GPLv2 to a cleaner and better organized version (still based on GPLv2) now called the Nmap Public Source License to avoid confusion. See https://nmap.org/npsl/ for more details and annotated license text. This NPSL project was started in 2006 (community discussion here: https://seclists.org/nmap-dev/2006/q4/126) and then it lost momentum for 7 years until it was restarted in 2013 (https://seclists.org/nmap-dev/2013/q1/399) and then we got distracted by development again. We still have some ideas for improving the NPSL, but it's already much better than the current license, so we're applying NPSL Version 0.92 to the code now and can make improvements later if needed. This does not change the license of previous Nmap releases.

@Ma27 I must say that I'm not sure if it's worth to roll the package back since it actually haven't seemed to change really. It just was weird to begin with and just now got a name on the weirdness.

It's not just a new name, apparently they also added new requirements in 7.90: https://bugs.gentoo.org/749390#c7

I don't think we should revert it either. Add the new license and mark it unfree until this is clarified.

It's not just a new name, apparently they also added new requirements in 7.90: https://bugs.gentoo.org/749390#c7

Oof.... that's actually another reason for reverting.

I'm in favor of marking as nonfree until the FSF or some other authoritative organisation decides otherwise.

Either revert, or mark as non-free. Or, revert and add the new, non-free, version next to it.

The nmap update has already been reverted.  Let's wait what upstream and the legal teams of debian/fedora say.
See also the upstream issue https://github.com/nmap/nmap/issues/2199

Fedora's stance
https://lists.fedoraproject.org/pipermail/legal/2014-January/002366.html
https://fedoraproject.org/wiki/Licensing/Nmap

@Alessandro-Barbieri That's the old license (until version 7.80).  This issue is about the new license (in version 7.90).

Fedora marked the new licence as "Bad" due to being incompatible to the open source definition
<EMAIL_ADDRESS>

Fedora marked the new licence as "Bad" due to being incompatible to the open source definition
<EMAIL_ADDRESS>

https://github.com/NixOS/nixpkgs/pull/109555#issuecomment-761607110

There is an issue with the changed license. #105129 (comment)

I think a good approach, I would approve and merge, would be to split 7.80 of with the free license and create new, unfree package that has version 7.91. Naming them nmap and nmap-unfree would probably required to remain backwards compatibility.

https://github.com/NixOS/nixpkgs/pull/109555#issuecomment-761607110

There is an issue with the changed license. #105129 (comment)

I think a good approach, I would approve and merge, would be to split 7.80 of with the free license and create new, unfree package that has version 7.91. Naming them nmap and nmap-unfree would probably required to remain backwards compatibility.

So, now there's an update here that we may want to act on: https://github.com/nmap/nmap/issues/2199#issuecomment-792048244
To quote the post:

OK. Effective immediately, Nmap 7.91 (which is the current version) and 7.90 can also be used and redistributed under the previous (Nmap 7.80) license terms. We've also added this license grant statement to the NPSL summary page and posted the old license terms on Nmap.org along with a note that they can apply to 7.90 and 7.91 as well. Meanwhile, everyone who prefers the NPSL can continue using that.
We are still hoping to do a major license review before the next Nmap release, and we will consider all the great feedback posted here. But that release is probably months away, so we hope this new license grant helps in the meantime.

This means that nmap 7.91 is now available under the same license as 7.80 is. The license that 7.80 uses is still a "bad license" because it's still a custom license. But it's a license that we and other distributions have considered good because it was assumed to be GPLv2.
So I'm thinking that we could upgrade nmap to 7.91 by now, because it's still not good, but it's not worse than before except we are aware of it now.
Then we just hope that they do some good re-licensing in a future release.

Merged #118158 which removed nmap-unfree. This issue is done for now. Thanks everyone.


Apple Pay component onError is not called when I try to pay on non-enabled domain

Describe the bug
I have a Apple Pay component and domain is not configured in apple pay adyen admin.
To Reproduce
Steps to reproduce the behavior:

Try to pay
Payment cancel automatically, because domain is wrong
In JS console is error log, but component didn't throw error, or onError callback. Actually it didn't call any callback when domain is wrong.

I cannot stop loading state in order, because I don't know if payment failed.
Expected behavior
onError should be triggered
Smartphone (please complete the following information):

Device: iPhone 11 Pro Max
OS: iOS 14.5.1
Browser: safari

Additional context
Test environment

Hi @MichalKalita,
Thanks for your feedback. This seems indeed like a good idea, we will add it to our backlog and come back to you once it's ready.

Hi @MichalKalita . We released the fix for this on 5.39.0.  Cheers


Building wheel for tiktoken (pyproject.toml) did not run successfully.

Trying to follow the setup instructions, and when installing Requirements, I get this error.  I have the newest version of pip and python and copy pasted all previous commands correctly.  I don't know what to do at all.

Using cached zopfli-0.2.3-cp312-cp312-win_amd64.whl (97 kB)
Building wheels for collected packages: tiktoken, multidict
Building wheel for tiktoken (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for tiktoken (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [38 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-312
creating build\lib.win-amd64-cpython-312\tiktoken
copying tiktoken\core.py -> build\lib.win-amd64-cpython-312\tiktoken
copying tiktoken\load.py -> build\lib.win-amd64-cpython-312\tiktoken
copying tiktoken\model.py -> build\lib.win-amd64-cpython-312\tiktoken
copying tiktoken\registry.py -> build\lib.win-amd64-cpython-312\tiktoken
copying tiktoken_educational.py -> build\lib.win-amd64-cpython-312\tiktoken
copying tiktoken_init_.py -> build\lib.win-amd64-cpython-312\tiktoken
creating build\lib.win-amd64-cpython-312\tiktoken_ext
copying tiktoken_ext\openai_public.py -> build\lib.win-amd64-cpython-312\tiktoken_ext
running egg_info
writing tiktoken.egg-info\PKG-INFO
writing dependency_links to tiktoken.egg-info\dependency_links.txt
writing requirements to tiktoken.egg-info\requires.txt
writing top-level names to tiktoken.egg-info\top_level.txt
reading manifest file 'tiktoken.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'Makefile'
adding license file 'LICENSE'
writing manifest file 'tiktoken.egg-info\SOURCES.txt'
copying tiktoken\py.typed -> build\lib.win-amd64-cpython-312\tiktoken
running build_ext
running build_rust
error: can't find Rust compiler
  If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.

  To update pip, run:

      pip install --upgrade pip

  and then retry package installation.

  If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tiktoken
Building wheel for multidict (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for multidict (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [74 lines of output]
*********************
* Accelerated build *
*********************
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-312
creating build\lib.win-amd64-cpython-312\multidict
copying multidict_abc.py -> build\lib.win-amd64-cpython-312\multidict
copying multidict_compat.py -> build\lib.win-amd64-cpython-312\multidict
copying multidict_multidict_base.py -> build\lib.win-amd64-cpython-312\multidict
copying multidict_multidict_py.py -> build\lib.win-amd64-cpython-312\multidict
copying multidict_init_.py -> build\lib.win-amd64-cpython-312\multidict
running egg_info
writing multidict.egg-info\PKG-INFO
writing dependency_links to multidict.egg-info\dependency_links.txt
writing top-level names to multidict.egg-info\top_level.txt
reading manifest file 'multidict.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files found matching 'multidict_multidict.html'
warning: no previously-included files found matching 'multidict*.so'
warning: no previously-included files found matching 'multidict*.pyd'
warning: no previously-included files found matching 'multidict*.pyd'
no previously-included directories found matching 'docs_build'
adding license file 'LICENSE'
writing manifest file 'multidict.egg-info\SOURCES.txt'
C:\Users\mason\AppData\Local\Temp\pip-build-env-syndet2z\overlay\Lib\site-packages\setuptools\command\build_py.py:207: _Warning: Package 'multidict._multilib' is absent from the packages configuration.
!!
          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'multidict._multilib' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'multidict._multilib' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'multidict._multilib' to be distributed and are
          already explicitly excluding 'multidict._multilib' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  copying multidict\__init__.pyi -> build\lib.win-amd64-cpython-312\multidict
  copying multidict\py.typed -> build\lib.win-amd64-cpython-312\multidict
  running build_ext
  building 'multidict._multidict' extension
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for multidict
Failed to build tiktoken multidict
ERROR: Could not build wheels for tiktoken, multidict, which is required to install pyproject.toml-based projects

Follow this link and install the CPP Build Tools
https://visualstudio.microsoft.com/visual-cpp-build-tools/


Remove version: Tencent.COSBrowser version 2.11.18

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://cos5.cloud.tencent.com/cosbrowser/cosbrowser-setup-2.11.18.exe
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 896)


Check if sudo update breaks CI

Codecov Report

Merging #58 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #58   +/-   ##
=======================================
  Coverage   89.27%   89.27%
=======================================
  Files           2        2
  Lines         233      233
=======================================
  Hits          208      208
  Misses         25       25

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 fe73ef9...97c889f. Read the comment docs.


Blank screen

Hi,
I followed the steps for app registration and updated the values in appsettings.json based on the ID generated on azure site.
Unfortunately, It's the screen is blank. On terminal section, the error being displayed is "found 0 accounts and 0 brokers accounts". Can you provide workaround?
Thanks.

Just change the background color of the most-parent stackpanel under the MainWindow.xaml file.

Hello @ghostidentity
did you try to sign in with "Sign-In" button or "Sign-In with WAM Broker" button?
Asking because WAM broker not always setup properly on local machine

Closing due to inactivity.
Feel free to re-open if issue persists.


Allow contract Info query from the contract

This idea comes originally from https://github.com/terra-money/core/issues/519

Let's discuss if we want to do this.
If so, I would push it to a 0.19.0 release and only have gas adjustments before the final 1.0

IMHO it makes sense to provide this information via query. I don't have a concrete use case but contracts would be compatible between chains. It is not hard to build and this data may enable some exotic workflows where the some other contract's creator/admin could be used for authZ. 🤷♀
This would have been nice contribution by terra devs

I will take this task if that is ok. I think this is a great first issue, because I will write my first VM interaction code and a contract that validates introduced modification.
Please let me know if I understand the task correctly: wasmd (keeper->query) must be modified to support an additional call that returns "self" info. In other words, a contract can query information about itself only (not other contracts). Query call is done via JSON encoded message. Is this correct?
To test it, I should write a contract that executes a new query call. Contracts are currently implemented only in rust. Should I modify the existing hackatom and add another switch to it?

In wasmd new "native" queries can be added to the query_plugins.go. This new one can go into the
"wasm" section. You will notice that the wasmvm queries do not support this query type yet. For local testing you can use a branch and add the object

a contract can query information about itself only (not other contracts)

Let's not limit this and query any ContractInfo

To test it, I should write a contract that executes a new query call

That would give us most confidence but is too complex to start with. Especially as the bindings are not done yet.
When the request/ response types are defined (by you), let's have some unit tests to cover the wasmd (only) parts

I would honestly wait until there was agreement with cosmwasm team as to if and how the QueryRequest object would be modified.
You can write something, but it is hard to integrate or even do full testing until there are clear spec

This would be very useful for us! on Secret Network when contract A sends a message to contract B, for security reasons A must know B's data hash.


Enabled memcached session backend and clear cache when service config…

… changes
The keystone endpoint is cached and may not be valid across config changes. Toggling keystone TLS in particular will change the keystone url and break any existing horizon session.
This switches from cookie session backend to memcached backend and uses the CONFIG_HASH as the cache prefix to ensure caches are invalidated if/when the config changes.
Jira: OSPRH-4392

/test horizon-operator-build-deploy-kuttl

/test horizon-operator-build-deploy-kuttl

@olliewalsh: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:
Test name 	Commit 	Details 	Required 	Rerun command
ci/prow/horizon-operator-build-deploy-kuttl 	36431b5 link 	true 	/test horizon-operator-build-deploy-kuttl
Full PR test history. Your PR dashboard.

Looks like a controller runtime incompatibility issue?
/go/pkg/mod/github.com/olliewalsh/horizon-operator/api@v0.0.0-20240202132608-36431b5811a8/v1beta1/horizon_webhook.go:76:27: cannot use &Horizon{} (value of type *Horizon) as admission.Validator value in variable declaration: *Horizon does not implement admission.Validator (wrong type for method ValidateCreate)
		have ValidateCreate() error
		want ValidateCreate() (admission.Warnings, error)

Yeah, agreed, it just needs to be rebased on main.


CommandStack and ExecOneCommand cannot be used at the same time (since ExecOneCommand defines same property ($finishedAt))

New in Robo 0.5.0 (also see #87).
Prereq:
Task which extends CommandStack and wants to use ExecOneCommand (for arg, args, options).

CommandStack uses ExecCommand uses Timer
ExecOneCommand uses ExecCommand uses Timer

ERROR: Robo\Task\CommandStack and Robo\Common\ExecOneCommand define the same property ($finishedAt) in the composit
ion of Boedah\Robo\Task\Drush\DrushStack. This might be incompatible, to improve maintainability consider using acc
essor methods in traits instead.

Oh... I closed referenced task before I implemented Timer :)

Timer also does not need to be a trait actually.
You could simply use https://packagist.org/packages/phpunit/PHP-timer for example.

I like traits a bit more than static calls.

@boedah oh, why do you need ExecOne + Stack?
Stack is about running multiple commands one by one, ExecOne - to run exactly one command.
Actually I didn't think of combining them together...

I think you still won't have a chance to include one into another because you still get conflicitng properties in this case :(

arg and option will append arguments to exact one command.
while Stack will ask for a set of different commands. Not sure how they are expected to run with same arguments. In your case you might think to define your own *Stack class.

Btw, check latest update, I have removed some redundant methods from CommandStack

Reason behind wanting to use both is: for Drush you can set global arguments which must be used for each command (e.g. the drupal root directory and the site alias).
I will make a PR with a suggestion to be able to do this.

Thanks for explaining. I like your PR.

I like traits a bit more than static calls.

But you can be in depencency hell...
A static Timer class can simply be used by any class who wants to use it...
Additionally, using e.g. PHP-timer would mean a little less NIH ;)


Bump carbon-commons version

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5173610435

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5173610435
Status: success


homeassistant/raspberrypi3-homeassistant container unable to do DNS resolution

Home Assistant release with the issue:
0.80
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io on RPI3
Component/platform:
Description of problem:
Could not complete Nest code submission (internal error), logs showed failed to establish a new connection: [Errno -3]
connecting to container shows <IP_ADDRESS> being used as resolver in resolv.conf
updated that to <IP_ADDRESS> and the problem goes away.
many others are experiencing similar problems: https://github.com/home-assistant/home-assistant/issues/15221
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

/move to home-assistant/hassio


Network Conduit disconnecting OC components (and then reconnecting them a moment later)

Issue Description:
I noticed playing FTB beyond that my OC programs were occasionally failing with component missing errors. After playing around with and checking events I noticed that indeed at times, in particular when I left the area (despite it being chunk loaded) anything connected via Ender IO OC cable was getting disconnected and then reconnected.
I setup a minimal test pack (ChickenChunks-1.10.2-<IP_ADDRESS>-universal for chunk loading, journeymap-1.10.2-5.5.2 for teleporting away, EnderIO-1.10.2-3.1.183, EnderCore-1.10.2-<IP_ADDRESS>-beta, OpenComputers-MC1.10.2-<IP_ADDRESS>) and while I wasn't able to replicate the exact issue, I was able to replicate some similar effects that I hope are related.
What happens:
Anytime new network conduit is removed from a conduit bundle, all devices connected to that set of conduit are disconnected, even if they're completely unrelated to the change that was done.  I suspect that something is causing a similar event in my much more complex/convoluted base setup.
What you expected to happen:
Unless a removed piece of network conduit severs the connection to the computer, I expect all components to remain connected.
Steps to reproduce:

Build an OC computer and connect a series of transposers to it, connected by network conduit.
Install OpenOS, etc... going through usual setup for a computer.
Utilize the event debugger program located at: https://pastebin.com/tdHuYGDe
Add a piece of network conduit to it, then break said piece of conduit.
Check monitor to see disconnect/reconnect events.

Affected Versions (Do not use "latest"):

EnderIO: 1.10.2-3.1.183.jar
EnderCore: 1.10.2-<IP_ADDRESS>-beta
Minecraft: 1.10.2
Forge: <IP_ADDRESS>1

Your most recent log file where the issue was present:
No log files. Though I'll provide a picture of my test setup.

In this setup, the leftmost 3 transposers are all disconnected any time network conduit is removed. The right 2 transposers are correctly only disconnected (and thus not reconnected) when the cable going to them is actually severed.

Please re-test in 1.12

Just wanted to let you know that I have seen this and do plan on testing, it'll likely be a while though.

One thing I can say about this: Every time you change the conduit layout, the conduit network is rebuilt. That's because you potentially are splitting the network into 6 parts, or merging 6 networks into one. In theory this should not effect OC, as this all is done in one operation. Should...


Conflict with admob : .prepare show preview in full page

Hi,
Thanks a lot for this really cool plugin. It seems there is a conflict problem with the cordova-plugin-admob-free, as when running without pub everything is great. But if I call admobFree.banner.show() then qrScanner.prepare(), bottom banner go to top, and camera preview appear on full screen. Prepare() do more job than show() .
I try to disable ads before calling qrscanner.prepare() but it doesn't change nothing. Nor playing with css on main app webview.
I think problem came from the fact tha qrscanner.prepare() use the add webview. But don't found a way to make it work.
Does anybody already have this problem, and found solution?
Thanks in advance,
Eric

I have a look on QRScanner.java and after try seems to understand that problem came from webView.getView() but dont' find anyway to replace it to have rootView.
If someone know how do for ((ViewGroup) webView.getView().getParent()).addView(mBarcodeView, cameraPreviewParams); addview to root view, I think it will do the job.
I try with webView.getView().getParent().getParent() but it doesn't change nothing. ;-(
Thanks in advance,

Hi,
I have same problem.
did you find a solution?

Any solution?
Help me please


[GHSA-hwhf-64mh-r662] ReDoS vulnerability in parser_apache2

Updates

References

Comments
Adding the patch link for v1.14.2: https://github.com/fluent/fluentd/commit/5482a3d049dab351de0be68f4b4bc562319d8511
The commit patch message mentions the GHSA-ID: "Merge pull request from GHSA-hwhf-64mh-r662. parser_apache2: Fix too wide matching regexp"

Hi there @ashie! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


Organized..section

I would like to organize the section of index.html file by removing the calculators from them and making new files for them and them there.I would like to do this as a part of LGMSOC'21 . Please assign this issue to me.

Go ahead
Deadline 22 June,2021

Actually we are planning to remove the study Section, i.e which contains only theory part no Calculator. So leave them organize only Calculators sections

so should I delete the theory part?

@deepaahuja9 Most of the calculators are organized only Trigonometry sections calculator and half calculators of General Math sections are left you can organize them

so should I delete the theory part?or should remain as it is...only I have to work upon calculators section.

Leave them, as I need to go through the study Section first, so organize only Sections which is calculating something

@deepaahuja92  Any Updates?

No...I was busy so unable to do but tomorrow I will surely make commit.
On Sat, Jun 19, 2021 at 8:51 PM Rajinderpal Singh @.***>
wrote:

@deepaahuja92 https://github.com/deepaahuja92 Any Updates?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/makesmatheasy/makesmatheasy/issues/5281#issuecomment-864419907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJE3ULVG43TMHOQZU2VSTLTTSYXBANCNFSM463FMZKA
.

Will you be able to complete it by tomorrow, as Deadline is near?@deepaahuja92

I will be needing more time to work on this as because of some work I was
not able to do.
On Mon, Jun 21, 2021 at 3:47 PM Rajinderpal Singh @.***>
wrote:

Will you be able to complete it by tomorrow, as Deadline is near?
@deepaahuja92 https://github.com/deepaahuja92
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/makesmatheasy/makesmatheasy/issues/5281#issuecomment-864915666,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJE3UMQJOBW4KEMV37FVSLTT4GVHANCNFSM463FMZKA
.

How much time?

Till 25th
On Mon, Jun 21, 2021 at 3:53 PM Rajinderpal Singh @.***>
wrote:

How much time?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/makesmatheasy/makesmatheasy/issues/5281#issuecomment-864919379,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJE3UKDZQ5FE4ZDRBK4MTDTT4HKHANCNFSM463FMZKA
.

Deadline extended 25 June,2021

@deepaahuja92 Any updates, as deadline is near. If you are not comfortable while solving this Do tell us, no worries.

I am really sorry sir.Because of rainy season the electricity is not there
is my home for maximum time.So my pc is not charged and also there is no
internet because of no electricity my modem does not work. So that's the
only problem because of which I am not able to do the work,Please can you
assign it to someone else?I am again very sorry.
On Wed, Jun 23, 2021 at 6:30 PM Rajinderpal Singh @.***>
wrote:

@deepaahuja92 https://github.com/deepaahuja92 Any updates, as deadline
is near. If you are not comfortable while solving this Do tell us, no
worries.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/makesmatheasy/makesmatheasy/issues/5281#issuecomment-866814057,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJE3UIRLZXQIFHAV2UYVSTTUHLHNANCNFSM463FMZKA
.

No problem @deepaahuja92

i would like to work on this please assign me @sairish2001

Go ahead
Deadline 27 June,2021

@coding-geek21 Any updates?

@coding-geek21 Any updates, as deadline is near?

@coding-geek21 Any updates, as deadline is near?
If you are not comfortable with this issue, do tell us, feel free

Can you please extend the deadline? Since my exams are nearing..
If anyone is going to work on this issue let them work otherwise can I resume my work after exams?

@coding-geek21 Actually the whole base of project is based on this issue, I want to solve this as soon as possible.
So I am unassigning you @coding-geek21 Sorry!
But after exams come back with more energy 🔥

@sairish2001 I want to work on this issue

Go ahead
Deadline 1 July,2021

@coding-geek21 Actually the whole base of project is based on this issue, I want to solve this as soon as possible.
So I am unassigning you @coding-geek21 Sorry!
But after exams come back with more energy 🔥

Sure !


[Bug] livemode_predicate generates invalid SQL on Redshift: cannot cast type character varying to boolean

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the issue
livemode generates invalid sql and it fails with cannot cast type character varying to boolean
the predicates generated is
where cast(livemode as BOOLEAN ) = True

whereas redshift would unfortunately need something like
where decode(livemode, 'true', true, 'false', false) = true

Relevant error log or model output
03:57:16  Database Error in model stg_stripe__transfer (models/stg_stripe__transfer.sql)
03:57:16    cannot cast type character varying to boolean
03:57:16    compiled Code at target/run/stripe_source/models/stg_stripe__transfer.sql

Expected behavior
Should generate valid SQL
dbt Project configurations
Not relevant for this model
Package versions

package: fivetran/stripe
version: 0.12.0

What database are you using dbt with?
redshift
dbt Version
1.5.4
Additional Context
No response
Are you willing to open a PR to help address this issue?

[ ] Yes.
[ ] Yes, but I will need assistance and will schedule time during our office hours for guidance
[ ] No.

Hi @sbailliez, we've noted that the livemode should be syncing as boolean instead of character varying in the Fivetran connector, which should then help resolve this. Our team's made been aware of this bug.
To also substantiate this, I would imagine the other models that contain livemode are running successfully, given the field's synced correctly as boolean in those respective objects-- can you confirm all other models are ran successfully (stg_stripe__invoice, stg_stripe__credit_note_line_item, stg_stripe__payout, etc)?

@fivetran-reneeli I don't use invoices or credit note but no problem for payout. If the data type can be changed in the fivetran  etl that would indeed be a lot better! I'm sticking to stripe 0.9.0 for now.
Are you planning a release to allow override?
(also apologies but noticed I made a mistake and should have opened that in stripe_source)

Thanks @sbailliez! And yes we will aim to work on this in our upcoming sprint that starts mid next week. Just a note we will be at a company offsite so may be slow the first few days to respond.
However, if you are interested in contributing a PR we would be happy to review the PR sooner. We would just plan to modify the livemode_predicate macro in the source package to use the adapter dispatch (like we see in our other package specific macros ).

Hi @sbailliez. To update you, our engineering team has just released a connector update (release notes) to change the datatype of livemode to boolean, which should fix the issue. If you drop the TRANSFER table and re-sync it, that should resolve the error.
Because of this I'm going to mark this ticket as something we won't fix, but please let us know whether this resolves your error!

Closing this issue out since the fix was made at the connector, however if anyone runs into this issue again, please feel free to comment in this thread.


fix(remix-dev/vite): attach CSS from shared chunks to routes

Closes: https://github.com/remix-run/remix/issues/7941
I think the issue was due to asset resolution not taking account for code-split common assets.
I made a reproduction repo here https://github.com/hi-ogawa/test-remix-vite-css-split and this is my observation.
I attached vite manifest and remix manifest generated by build  currently.
In vite manifest, _test-206a75ed.js entry has reference to assets/test-ef980167.css, but there's no direct css dependency neither from app/root.tsx or app/routes/_index.tsx, so remix manifest ends up with no css.
build/manifest.json (vite manifest)
{
  "_components-be9f5b54.js": {
    "file": "assets/components-be9f5b54.js",
    "imports": [
      "_jsx-runtime-26afeca0.js"
    ]
  },
  "_jsx-runtime-26afeca0.js": {
    "file": "assets/jsx-runtime-26afeca0.js"
  },
  "_test-206a75ed.js": {
    "css": [
      "assets/test-ef980167.css"
    ],
    "file": "assets/test-206a75ed.js",
    "imports": [
      "_jsx-runtime-26afeca0.js"
    ]
  },
  "app/root.tsx": {
    "file": "assets/root-42156807.js",
    "imports": [
      "_jsx-runtime-26afeca0.js",
      "_test-206a75ed.js",
      "_components-be9f5b54.js"
    ],
    "isEntry": true,
    "src": "app/root.tsx"
  },
  "app/routes/_index.tsx": {
    "file": "assets/_index-01b79c10.js",
    "imports": [
      "_jsx-runtime-26afeca0.js",
      "_test-206a75ed.js"
    ],
    "isEntry": true,
    "src": "app/routes/_index.tsx"
  },
  "node_modules/.pnpm/@remix-run+dev@0.0.0-nightly-8543efe-20231108_@remix-run+serve<EMAIL_ADDRESS>{
    "file": "assets/entry.client-b45bdf04.js",
    "imports": [
      "_jsx-runtime-26afeca0.js",
      "_components-be9f5b54.js"
    ],
    "isEntry": true,
    "src": "node_modules/.pnpm/@remix-run+dev@0.0.0-nightly-8543efe-20231108_@remix-run+serve<EMAIL_ADDRESS>  },
  "test.css": {
    "file": "assets/test-ef980167.css",
    "src": "test.css"
  }
}

build/manifest-(hash).js (remix manifest)
window.__remixManifest = {
  entry: {
    module: "/build/assets/entry.client-b45bdf04.js",
    imports: [
      "/build/assets/jsx-runtime-26afeca0.js",
      "/build/assets/components-be9f5b54.js",
    ],
    css: [],
  },
  routes: {
    root: {
      id: "root",
      path: "",
      hasAction: false,
      hasLoader: false,
      hasErrorBoundary: false,
      module: "/build/assets/root-42156807.js",
      imports: [
        "/build/assets/jsx-runtime-26afeca0.js",
        "/build/assets/test-206a75ed.js",
        "/build/assets/components-be9f5b54.js",
      ],
      css: [],
    },
    "routes/_index": {
      id: "routes/_index",
      parentId: "root",
      index: true,
      hasAction: false,
      hasLoader: false,
      hasErrorBoundary: false,
      module: "/build/assets/_index-01b79c10.js",
      imports: [
        "/build/assets/jsx-runtime-26afeca0.js",
        "/build/assets/test-206a75ed.js",
      ],
      css: [],
    },
  },
  url: "/build/manifest-04ec219c.js",
  version: "04ec219c",
};

I fixed the issue by traversing ViteManifest[key].imports to collect depending assets of given route entry.
(I had similar issue when I was experimenting my own plugin, so the code is roughly based on https://github.com/hi-ogawa/vite-plugins/blob/0591f50b53ebd6027653a0902b50a492820fbbab/packages/vite-glob-routes/src/react-router/features/preload/shared.ts#L50-L59)
I locally verified that this PR fixed my reproduction https://github.com/hi-ogawa/test-remix-vite-css-split/pull/1 and also added a new test case for vite-build-test.ts.

[ ] Docs
[x] Tests

Testing Strategy:

@hi-ogawa Also, thanks for all your hard work helping us with the Vite plugin! I really appreciate it 🙏

Thanks for the nice cleanup. I'm happy to help and also learn a lot from remix code base!


Generate multiple epubs

In the thorium doc context, I have several epubs to generate. Each one is in a subfolder with the whole eleventy pub machinery, which causes a lot of duplication.
Is there a way to build from a subfolder?

Not currently but I do generally wish this for eleventy templates, it does seem like overkill to copy all the libraries and other static elements into every new project. But I'm not sure if there's a preferred way to do it.
For this particular project, the first thing I would try is to change this code to pass in the input and output dirs dynamically. There might then be a lot of filepaths to resolve or it might just work, I'm not sure.
Anyway, it's a good idea. The next time I give this project some proper attention, I'll see what can be done.

A path argument may do the job; then, a script can automatise.


BobCat fails to parse with extra addition of "the" to a sentence.

I have been trying run this code:
import warnings
warnings.filterwarnings("ignore")
import os
os.environ["TOKENIZERS_PARALLELISM"] = "false"

from discopy.grammar.pregroup import Spider, Ty, Id, Box, Diagram, Word
from lambeq import DepCCGParser, pregroups

from lambeq import TreeReader, TreeReaderMode

reader = TreeReader(mode=TreeReaderMode.RULE_ONLY)

sent = "Avoiding processed and sugary foods is important for reducing the risk of chronic diseases such as diabetes , obesity , and heart disease ."

tree_diagram = reader.sentence2diagram(sent,suppress_exceptions=False)
print(tree_diagram)

which gives the error: Illegal use of UNK: unknown CCG rule.
However, if we run the same program with the following sentence after removing "the", it runs succesffuly.
...
sent = "Avoiding processed and sugary foods is important for reducing risk of chronic diseases such as diabetes , obesity , and heart disease ."
...

My attempt to debug the issue has reached a point where the conjunction in "and sugary food" was causing the error by having mismtach CCGRule type in "call" function in CCGRule class. Not sure why this is happening and how to solve it. Any ideas?
Thanks!

This is now fixed in version 0.4. The issue will be closed.


webdriver-manager is broken !!!

Hi,
I have installed protractor with: npm install -g protractor
on my Mac OSX Sierra.
and then run: webdriver-manager update
Here is the output:
/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/built/lib/cmds/update.js:85
if (path.isAbsolute(options[Opt.OUT_DIR].getString())) {
^
TypeError: Object # has no method 'isAbsolute'
at Program.update [as runMethod] (/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/built/lib/cmds/update.js:85:18)
at Program.run (/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/programs.js:60:14)
at Object. (/usr/local/lib/node_modules/protractor/node_modules/webdriver-manager/built/lib/webdriver.js:25:38)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/local/lib/node_modules/protractor/bin/webdriver-manager:3:1)
Thanks for the reply.
Rgds,

What's your node version? path.isAbsolute() was added in v0.11.2. (Protractor supports node v4 and up)

Yes indeed.
I found that my version was too old ...
Sorry for the noise.
CLOSED
Thx.
Rgds,


Exception from Tracker recompute function: Error: Expected template rendered with Blaze.render

I'm being thrown a very interesting error that I think is from Iron router. There is no documentation on this error that I could find. Can you offer an explanation of where I should be looking to debug. The last edits I made to my code was removing everything I did since it last worked and reset mongoDB.
Exception from Tracker recompute function: Error: Expected template rendered with Blaze.render
    at Object.Blaze.remove (http://localhost:3000/packages/blaze.js?efa68f65e67544b5a05509804bf97e2c91ce75eb:2184:11)
    at DynamicTemplate.destroy (http://localhost:3000/packages/iron_dynamic-template.js?d425554c9847e4a80567f8ca55719cd6ae3f2722:365:11)
    at null._render (http://localhost:3000/packages/iron_layout.js?4e65c46acdaf0ce6a8b1a479d7b9d0b5c0902062:432:23)
    at doRender (http://localhost:3000/packages/blaze.js?efa68f65e67544b5a05509804bf97e2c91ce75eb:1866:25)
    at http://localhost:3000/packages/blaze.js?efa68f65e67544b5a05509804bf97e2c91ce75eb:1808:16
    at Object.Blaze._withCurrentView (http://localhost:3000/packages/blaze.js?efa68f65e67544b5a05509804bf97e2c91ce75eb:2043:12)
    at viewAutorun (http://localhost:3000/packages/blaze.js?efa68f65e67544b5a05509804bf97e2c91ce75eb:1807:18)
    at Tracker.Computation._compute (http://localhost:3000/packages/tracker.js?517c8fe8ed6408951a30941e64a5383a7174bcfa:296:36)
    at new Tracker.Computation (http://localhost:3000/packages/tracker.js?517c8fe8ed6408951a30941e64a5383a7174bcfa:214:10)
    at Object.Tracker.autorun (http://localhost:3000/packages/tracker.js?517c8fe8ed6408951a30941e64a5383a7174bcfa:487:11)

are you doing a Blaze.remove in your code somewhere? you can only pass it a template that you rendered doing Blaze.render
eg: view = Blaze.render(Template.name, document.querySelector('body');
Blaze.remove(view)

I think it's not. It's just that iron-router does templating for you, most likely you have a mistake in your code. Are there any other errors in console prior to that one?

+1 on Blaze.remove () being the cause. This has got me before.

That was the only error I was being thrown in the console. I debugged it back to having the same path as the layout template and as a nav route.

I am seeing the same problem I added iron router to same path as layout template and now its not going back to normal.
Any work arounds?

I got the same error when trying to separate my main views into nested templates. The problem was that  {{> yield}} was present in both the parent and in its nested templates, but the nested templates' yield didn't have a name.
By setting a name for yield to the nested templates and setting the yieldTemplates option in ironRouter to render its child templates there fixed that issue. So in main.html I got {{> yield }} where I load another template which for its children has {{> yield region='someView'}}.

Exception from Tracker recompute function:
debug.js:41 Error: Unexpected object in htmljs in toText: Fri Feb 26 2016 15:43:05 GMT+0530 (India Standard Time)
at HTML.ToTextVisitor.def.visitObject (visitors.js:240)
at HTML.Visitor.def.visit (visitors.js:61)
at Object.HTML.toText (html.js:267)
at Object.Blaze._toText (view.js:735)
at updateAttributes (materializer.js:131)
at view.js:199
at Function.Template.withTemplateInstanceFunc (template.js:457)
at view.js:197
at Object.Blaze.withCurrentView (view.js:538)
at viewAutorun (view.js:196)
debug.js:41 Exception from Tracker recompute function:
debug.js:41 TypeError: Cannot read property '0' of null
at builtins.js:237
at Object.Tracker.nonreactive (tracker.js:589)
at Object.eachView.stopHandle.ObserveSequence.observe.changedAt (builtins.js:229)
at observe_sequence.js:274
at Function..each..forEach (underscore.js:113)
at diffArray (observe_sequence.js:260)
at observe_sequence.js:108
at Object.Tracker.nonreactive (tracker.js:589)
at observe_sequence.js:82
at Tracker.Computation._compute (tracker.js:323)
I am getting this error. But if I remove the "data" part from the router.route function then this error is resolved but the data is not getting rendered in the autoform. The subscription is occurring though using Template.abcd.onCreted (this.subscribe...).
Kindly help me out.

Not sure if this has anything to do with this error but, I get the Exception from Tracker recompute error when the name of a template is only two characters. Here is the error I get when I call a template named "cm"
Exception from Tracker recompute function:
debug.js:41 Error: Expected template or null, found: true
    at ._render (spacebars.js:33)
    at doRender (blaze.js:1996)
    at blaze.js:1844
    at Function.Template._withTemplateInstanceFunc (blaze.js:3643)
    at blaze.js:1842
    at Object.Blaze._withCurrentView (blaze.js:2183)
    at viewAutorun (blaze.js:1841)
    at Tracker.Computation._compute (tracker.js:331)
    at new Tracker.Computation (tracker.js:219)
    at Object.Tracker.autorun (tracker.js:570)

Changing the name to "com" and calling it works fine. This is a really subtle "gotcha", "bug" or "feature" I guess - depending on if you wrote the routine or you are trying to use Blaze.  It is 100% repeatable and I have not found documentation on this.
At first I thought I had stumbled on some internal reserved word, but this happened with another template named "ae". Making the template name longer than two characters fixes the issue.


[false positive] bitbucket.org

Just a heads up guys. bitbucket.org is blocked in the latest malc0de update (crazy....i know).I asked ZeroDot1 to reach them on twitter to no avail.Very poor communications and support from their side.

Thanks @dnmTX @funilrys will most certainly whitelist this before our next build takes place. Thanks for reporting

@mitchellkrogza  anytime 😎.I'll leave this open for @funilrys to see it,or you can close it if it doesn't need to be.

No problem @dnmTX issue will be closed with the appropriate whitelist commit

Hello there, It was already in the whitelist list!

Reference: https://github.com/Ultimate-Hosts-Blacklist/whitelist/blob/9d991119677885215592a62977e7cb4636d9f139/domains.list#L61

Already whitelisted.

Closing.

@funilrys sorry,i didn't check your lists here before creating the issue,assumed that you guys didn't know yet.

@dnmTX No problem :+1:


Gemstone stats (work in progress)

Spreadsheet where I'm gathering the values: https://docs.google.com/spreadsheets/d/1KAzrdT5aFaQMFDf2mHIKrPwPnLmIJebQu7C3Va9FR9s/edit?usp=sharing
So I wrote down all the values from the wiki only to realize too late they are wrong 😭
In the next days I'll manually gather the correct values and update this, making this draft just so I don't forget

PR ready:

Items with gemstone now display the given stat bonuses (gems already support multiple stats, even though that's not the case right now)
I manually checked most of the gems and their bonus on items, but I couldn't get them all... for the ones missing it will display "MISSING VALUE"
In lib.js I made what is possibly a big change, I moved the code that generates item.extra below the one that generates item.type and item.rarity since I needed the rarity to generate the extra.gems lore. From my tests everything seems to be working fine without any errors
Moved stat symbols into their own ./constants/stats.js file (I will improve this in the future, but for now I did this to not duplicate the symbols object that was previously in petStats.js)

Preview on a Gauntlet (which is the only case/item where showing gems stats is useless... but at least you can see the values are correct)

Preview when a gem stat value is missing

Preview of how it will look like most of the time