REST: Baking macaroon array lnrpcMacaroonPermission type

Background
I am trying to bake a macaroon with custom permissions and cannot find the right type to include in the body.
Your environment

version of lnd v15

Steps to reproduce
Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
Expected behaviour
Return a macaroon on the REST interface.
BODY:
permissions: { [
  entity: "offchain",
  action: "read",
] }

Actual behaviour
Returns: {"code":2,"message":"encoding/hex: invalid byte: U+0067 'g'","details":[]}

Building it on the frontend with axios.
async generateBscMacaroon(url: string, nodeId: string): Promise<boolean> {
    // Set the permissions that we want to give this macaroon access to
    const body = { permissions: [{"entity": "offchain", "action": "read"}] };

    // Call the node to generate the macaroon
    const response = await this.httpService.post(url, body, {
      url: "/v1/macaroon",
      httpsAgent: agent,
      headers: {
        "Grpc-Metadata-macaroon": macaroon
      }
    });
}

How are you running/building the REST query?
I ran the following command on a local LND node:
curl --insecure -XPOST -H "Grpc-Metadata-macaroon: $(xxd -ps -u -c 1000 $HOME/docker/mounts/regtest/alice/admin.macaroon)"  \
-H "Content-type: application/json" -d '{"permissions": [ {"entity": "offchain","action": "read"}]}' \
'https://localhost:8091/v1/macaroon'

and it returned:
{"macaroon":"020103...."}

I was successful running:
NOTE: Using body did not work for me, instead I was using data.
axios({
  method: 'POST',
  url: "https://localhost:8091/v1/macaroon",
  headers: {
    'Grpc-Metadata-macaroon': macaroon,
    'Content-Type': 'application/json'
  },
  data: {"permissions": [{"entity": "offchain", "action": "read"}]},
  withCredentials: false,
  httpsAgent: new https.Agent({
    rejectUnauthorized: false
  })
}).then(function (response: any) {
  console.log(response);
}).catch(function (error: any) {
  console.log(error);
});


Syntax error in Windows

SyntaxError: Invalid regular expression: /^G:\Dev\node_modules\/: \ at end of pattern
Windows uses "" as a path delimiter so any path ending in a slash will raise a syntax error from the regular expression return new RegExp('^' + path);.

Should work now. Please re-open bug if problem still occurs.

That fixed it. Thanks!


 I manually checked the functionality related to them and it works fine. Something systemic with jest to do with refs. Commented out the tests for now. Will make a follow up ticket. Follow up ticket: https://mattermost.atlassian.net/browse/MM-26512
Yes, popovers appear to work.
Ticket Link
https://mattermost.atlassian.net/browse/MM-25143

In review.


Add Listener Radio support to GraphOps cluster

Problem statement
Manual work to setup 3la on the prod cluster
Expectation proposal
set-up
Alternative considerations
N/A
Additional context
N/A

duplicate of https://github.com/graphops/graphcast-meta/issues/8


Fix COPY FROM on JSON files with shuffled keys

Closes https://github.com/crate/crate/issues/15184

Root cause of the issue: We try to use same indexer for each unique column set https://github.com/crate/crate/blob/master/server/src/main/java/io/crate/execution/dml/RawIndexer.java#L87
Reusing same indexer means always using same fixed targets. Order of fixed targets ues if they are in different order in another row.
Solutions:

Compare json key sets up to order. Simple but inefficent - comparison itself would become slower but second and a bigger probllem is that we would create new Indexer instance for basically same set of targets.

Approach used in this PRL: Keep reusing same indexer for same columns/different order. Make sure that values in insertItem.values are taken not "as is" but according to the fixed target columns order.


SSL Error 14077438

Certain cloudflare websites cannot be access with requests. I have dis problem across different distros. Same problem here: https://github.com/SiCKRAGETV/sickrage-issues/issues/1231
requests.get('https://sceneaccess.eu')
Traceback (most recent call last):
File "", line 1, in
File "requests/api.py", line 69, in get
return request('get', url, params=params, **kwargs)
File "requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error

Where have you installed requests from, and what versions do you have installed?

This is likely because you're linked against an old version of OpenSSL. Can you run this for me and show me the output?
python -c 'from cryptography.hazmat.backends.openssl.backend import backend; print backend.openssl_version_text()'

Yup, I can confirm: if I have PyOpenSSL compiled against OpenSSL 0.9.8 the handshake fails because there are no overlapping cipher suites. If I compile against OpenSSL 1.0.2, however, the handshake succeeds.

@Lukasa it's probably best to use print() for instructions like that in case the end user is on a distro which has changed the sym link for python to point to python 3 instead of 2.
As a side note, I generally recompile python after installing a new version of OpenSSL, so I was a little surprised to see my workstation here reporting the version as 1.0.2 instead of 1.0.2a and it turns out that the cryptography module requires a force reinstall to detect that change in addition to whatever is done to the python installation (which normally includes byte compiling installed modules), it would be quite easy for anyone to overlook that even after upgrading OpenSSL.

it's probably best to use print() for instructions like that in case the end user is on a distro which has changed the sym link for python to point to python 3 instead of 2.

That's not really relevant. =) The number of users using Python 3 instead of Python 2 is very low, and I trust that most users capable of reporting bugs on this bug tracker are also capable of translating this extremely common line of code into the correct syntax for their platform. Given that print() won't work on Python 2 without an appropriate future import, I'm choosing to optimise for the more likely case.
Regardless, I think we can close this. @sergedroz, your OpenSSL is too old. If you're using pyOpenSSL, please reinstall cryptography linked against a more modern OpenSSL. If you're not, please upgrade to a newer version of OpenSSL and then rebuild Python.


⚠ Bofrost.be has degraded performance

In 1ae6546, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1927 ms

Resolved: Bofrost.be performance has improved in 453e06c.


[ZEPPELIN-3654] - New Hazelcast Jet interpreter

What is this PR for?
New Hazelcast Jet interpreter
Zeppelin has interpreters for different data processing systems like Flink, Spark, Kylin, Ignite, Geode, Beam, etc.
Hazelcast Jet is a general purpose distributed data processing engine, built on top of Hazelcast for stream/batch processing, comparable if not better in terms of performance to the engine supported by Zeppelin therefore a perfect candidate for a Zeppelin interpreter.
Part of the interpreter is to have a set of utility methods that print out Hazelcast data structures (IMap and ICache) and leverage Zeppelin's built in visualization (%table).
What's more, a nice addition is to have the Hazelcast Jet DAG of the pipeline displayed as a network graph using %network display system.
What type of PR is it?

Feature

Todos

Utility method to display Hazelcast Jet DAG  using %network
Review zeppelin-distribution/src/bin_license/LICENSE file
Any feedback from reviewers

What is the Jira issue?

[ZEPPELIN-3654]

How should this be tested?
Manually

Start the Zeppelin server
Create a new note with the hazelcastjet interpreter binding
Write an Hazelcast Jet job as per documentation (docs/interpreter/hazelcastjet.md)

Unit tests

Run unit tests (HazelcastJetInterpreterTest.java)

Screenshots (if appropriate)
Questions:

Does the licenses files need update?
Yes, added Apache License for Hazelcast Jet.
Is there breaking changes for older versions?
No.
Does this needs documentation?
Yes, it has been added to the PR, see docs/interpreter/hazelcastjet.md.

@felixcheung @zjffdu
I have just opened the PR for the Hazelcast Jet interpreter as discussed before.
Regarding the LICENSE file, I have a question. Do I need to put the license for all the jars used by Hazelcast Jet (https://github.com/hazelcast/hazelcast-jet/blob/master/pom.xml)?
So far I only added the Apache License for Hazelcast Jet in  zeppelin-distribution/src/bin_license/LICENSE.
I will be working on the utility method to display Hazelcast Jet DAG using %network to complete ZEPPELIN-3654.

@selvinsource I don't see any difference between Hazelcast Jet interpreter & java interpreter except extra dependency on hazelcast-jet. So why not use Hazelcast Jet just by adding hazelcast-jet as dependency of java interpreter ?

@zjffdu this PR is a start. As I said I still need to add Utils methods specific to Jet, in particular the Utils that convert the Jet DAG pipeline to a network graph using Zeppelin display system. If we don't have an Hazelcast Jet interpreter where would we put that code? It doesn't belong to the Java interpreter.
Also, when the Java interpreter will be moved to JShell API (for which I created a JIRA issue), there is a lot more that can be added to the Hazelcast Jet interpreter like configuring the JetInstance (being a client or a node of the cluster) in the interpreter properties so the user don't need to do that for every note or paragraph.
You could say the same for the Beam interpreter, right now it extends the Java interpreter and simply add some dependencies, however I still see value in that so that the end user can just code beam without worrying about the so many dependencies required.
Let me know what you think before I proceed in working on the Jet specific Utils methods.

Thanks @selvinsource , it make sense to me.

Thanks @selvinsource Could you fix the conflict ?

@zjffdu I fixed the conflict and also updated the pom.xml for hazelcastjet due to ZEPPELIN-3774.

Thanks @selvinsource will merge it soon


Add ability to apply events and people properties to an alternate identity

For Mixpanel this would be used for example in a message forum, when a new comment is added to a post, to increment the comments count on the identity of the original poster. The Javascript added to the end of the page outputs as normal, then switches identity, then adds the usual mixpanel.track, mixpanel.people.set, mixpanel.people.increment etc calls to be applied to that alternate identity.

If I understand the scenario right, you want to use this to track events for someone other than the user who is currently accessing the site. If that's the case, what's the advantage of doing the tracking using Javascript, instead of using the mixpanel ruby library for instance?

The use case would be when one user is collaborating or replying to another
user. Much like the subject and object of a sentence.
Since there is a web request in this exchange (eg. replying to a blog
post), it is possible to apply the Mixpanel update to the other user (eg.
increment 'comment count' of original poster).
Benefit of not doing via Mixpanel Ruby library is consistency if using this
gem for Mixpanel updates.
On Fri, 16 Jan 2015 02:28 Paul McMahon<EMAIL_ADDRESS>wrote:

If I understand the scenario right, you want to use this to track events
for someone other than the user who is currently accessing the site. If
that's the case, what's the advantage of doing the tracking using
Javascript, instead of using the mixpanel ruby library for instance?
—
Reply to this email directly or view it on GitHub
https://github.com/doorkeeper/event_tracker/pull/16#issuecomment-70199556
.

I understand why you want to track this stuff with mixpanel - it totally makes sense.
This library though is for managing the JS api through Rails. The JS library's advantage is it automatically tracks additional properties based on the user's browser / request. However, this also makes it suited for only tracking the user who is actually doing the action. Your suggestion has the potential to overwrite the properties of the original poster with the person replying for instance. It also creates potential security vulnerabilities, as it exposes the original poster's distinct id to the replier.
From mixpanel's documentation itself:  "The Mixpanel Ruby library is designed to be used in circumstances when a user isn't directly interacting with your application on the web". As this is the scenario you describe, I'd suggest using that library instead.


make fails after running dep ensure and hack/update-bazel.sh

What happened:
make fails after running dep ensure and hack/update-bazel.sh
How to reproduce it (as minimally and precisely as possible):

fetch the code in master
run dep ensure and hack/update-bazel.sh
run make

the error occurs:
can't load package: package github.com/kubernetes-sigs/poseidon/vendor/k8s.io/kubernetes/hack/cmd/teststale: cannot find package "github.com/kubernetes-sigs/poseidon/vendor/k8s.io/kubernetes/hack/cmd/teststale" in any of:
.....

Possible cause
In v1.11.0(https://github.com/kubernetes-sigs/poseidon/blob/master/Gopkg.toml#L52-L54), teststale has been removed (https://github.com/kubernetes/kubernetes/pull/62151/commits/46146f6f3dadc84301b86ce8492adfa06171d6c3)
https://github.com/kubernetes-sigs/poseidon/pull/143 cherry-picks part of https://github.com/kubernetes/kubernetes/pull/62151/commits/46146f6f3dadc84301b86ce8492adfa06171d6c3.  That means we need to update the go version to v1.10.*?

/cc @shivramsrivastava @m1093782566

I have no attachment of go version as long as it works fine with poseidon project.


CodeGPT always inputs thousands of new lines after code sample, making it unusable for me

https://github.com/carlrobertoh/CodeGPT/assets/21364781/7883594c-fb71-4a98-9872-6fb4f3d77831
It happens wherever I place the CodeGPT tab, even if floating or windowed.
It happens regardless if the new UI is enabled or not.

WebStorm version is 2023.1.2

Hi, thanks for reporting. Unfortunately, I'm off for a week and cannot investigate the issue at the moment.
If the extension is that unbearable to use, I'd suggest using the older version, which can be downloaded here: https://github.com/carlrobertoh/CodeGPT/releases/tag/1.10.8

Hi, thanks for reporting. Unfortunately, I'm off for a week and cannot investigate the issue at the moment.
If the extension is that unbearable to use, I'd suggest using the older version, which can be downloaded here: https://github.com/carlrobertoh/CodeGPT/releases/tag/1.10.8

That version works perfectly for me, thanks. Will be happy to provide more details to help in the investigation.

Hi
Do you have "Show virtual space at the bottom of the file" turned ON by any chance?
I was able to reproduce a similar issue with this setting turned on.

Hi,
You are right. The issue goes away when I turn virtual space off, retroactively with previous chats even. 😃

The bug has fixed in v2.0.4.


Tailing from postgres to ES : Date type conversion bug

My postgres table contains a datetime column.  Naturally this is being converted to ES format when data is written to ES.
transporter works correctly (& converts 2017-01-13 00:31:24.832645+05:30 to 2017-01-13T00:31:24.832645+05:30 correctly) when it copies the data from postgres to ES for the first time.
But when a change occurs in postgres database while it is being tailed, transporter fails to convert the field correctly and so I get this error.
mapper_parsing_exception failed to parse [request_time]     false
map[type:illegal_argument_exception reason:Invalid format:
"2017-06-08 23:48:56.447188+05:30" is malformed at " 23:48:56.447188+05:30"]

@aviaryan thanks for the bug report! would you be able to provide some sample data, Pg schema, and ES mapping for the index?
The  section of transporter that serializes data in Pg when doing the initial copy is the same as when it's performing the tail so I have been unsuccessful in pinpointing the specific location where this could be happening.

I found that adding a "timestamp with time zone" parser to tailer.go/castifyValue fixed the issue.
Not sure though why it worked on the initial read though.

@aviaryan would you be and to submit a PR with the changes you made so we can review and get a fix in?


flask -A flaskr init-db Error: Could not import 'flaskr.flaskr'.  Usage: flask [OPTIONS] COMMAND [ARGS]... Try 'flask --help' for help.  Error: No such command 'init-db'.

Following the tutorial in the website. When I ran flask --app flaskr init-db, it returned the error

Environment:

Python version: 3.12.0
Flask version: Flask==3.0.0

I can't reproduce this issue with the information provided. When reporting an issue, be sure to included a minimal reproducible example.
In this case, be sure you've followed the tutorial exactly. It does work as written.

My bad. The steps to reproduce was in the comment lol updated it


[WIP] I47 quiz creation page

Change Summary
[Briefly summarise the changes that you made. Just high-level stuff]
Change Form
Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

[x] The pull request title has an issue number
[ ] The change works by "Smoke testing" or quick testing
[ ] The change has tests
[ ] The change has documentation

Other Information
[Is there anything in particular in the review that I should be aware of?]

Codecov Report

Merging #131 (1345e8e) into main (ab77cec) will decrease coverage by 76.10%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main     #131       +/-   ##
===========================================
- Coverage   87.21%   11.11%   -76.11%
===========================================
  Files          46       22       -24
  Lines         892       27      -865
  Branches        0        6        +6
===========================================
- Hits          778        3      -775
+ Misses        114       24       -90

Flag
Coverage Δ

backend
?

frontend
11.11% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

temporarily tabling this issue as we will use django admin page in the mean time for the mvp


Does it delete from git history too?

On the output, I see a lot of
print/debugPrint Statements Removed in .history/lib/[path_to_files]/file_2024061243.dart
Is that right?  I was hoping I could always go back and look at a previous commit to see print statements if I needed, but this seems like it removes them from the history too??

Yes, if your git history is located inside your main project.
You can ignore files by parsing the name of the files to the -i flag.
I guess I should include a flag for ignoring a directory as well.
Thanks for the feedback. Will update. Sorry for your git history though.

Maybe require an explicit folder that you have to specify to run it on?  That way you can safely run it on lib/ ??


Xbox auxiliary EncodeDDSHeader helper exposed as public function

This exposes the Xbox::EncodeDDSHeader helper function as was done a few years back for the standard DirectX::EncodeDDSHeader helper in #266.
Also moves Xbox extension structures to dds.h

https://github.com/walbourn/directxtextest/pull/44


Make sure rustup uses utils::rename* consistently.

This is a small refactoring tho prepare the codebase for further changes
to the renaming functionality, e.g. ability to recover from atomic
rename errors - makes sure that fs::rename is only used via wrappers in utils
See #1239.
Best to merge after #1388
cc @nrc

lgtm, thanks!


Rewind Wordnet data file after each lookup

This fixes #2867. Rewinding Wordnet data files after each lookup may not be absolutely necessary, but it is safer.

Thanks @ekaf


iframe-transport: $.parseJSON replaced with JSON.parse

as $.parseJSON  is deprecated in jQuery 3.x

Thanks for your contribution, @evil-shrike.
To not break compatibility with old browsers (supported by older jQuery Versions), I've added a change that only uses JSON.parse if it's available, else jQuery.parseJSON.


Reference Issue: System.Web.Services

Hello,
Below is the error message im getting when trying to run my ASP.Net Core app that references System.Web.Services.dll.  Please help me to address the same.
System.BadImageFormatException
HResult=0x80131058
Message=Could not load file or assembly 'System.Web.Services, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Reference assemblies should not be loaded for execution.  They can only be loaded in the Reflection-only loader context. (Exception from HRESULT: 0x80131058)
Inner Exception 1:
BadImageFormatException: Cannot load a reference assembly for execution.

Looks like your application is getting a reference assembly that you are trying to load and execute? @muratg @Eilon , can someone help provide guidance here?

@Sivasekare can you provide more info on your app, such as the contents of the CSPROJ file? Or perhaps upload your app to GitHub so we can take a look?

Hi. We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.


TypeError: Cannot read property '0.5691747572815534' of undefined

I have some fields with float numbers. And I get this error. Do this library support float numbers? Or what can be the issue?
Here my column config:
var columns = [
        {name: 'x', categorical: false, exclude: false}, //number
        {name: 'y', categorical: false, target: true}, //float
        {name: 'z', categorical: false, exclude: false},//number
        {name: 'q', categorical: false, exclude: false}, //float
        {name: 'k', categorical: false, exclude: false} //float
    ];

Error stack:
TypeError: Cannot read property '0.5691747572815534' of undefined
    at transformRow (/Users/xxx/WebstormProject/xxx/node_modules/wink-regression-tree/src/wink-regression-tree.js:167:23)
    at Object.ingest (/Users/xxx/WebstormProject/xxx/node_modules/wink-regression-tree/src/wink-regression-tree.js:672:19)

Edit: I've also tried to convert float to number but I get the same error:
TypeError: Cannot read property '57' of undefined
    at transformRow (/Users/scogno/WebstormProject/esp_server_relaunch/node_modules/wink-regression-tree/src/wink-regression-tree.js:167:23)
    at Object.ingest (/Users/scogno/WebstormProject/esp_server_relaunch/node_modules/wink-regression-tree/src/wink-regression-tree.js:672:19)

Oh, maybe I've understood. I think we cannot use numeric features right? It only works for the target value.

Hi @Simone-cogno
Yes, currently it supports only categorical values as input – one workaround is to quantize and assign a category to a range – could possibly use boxplot to achieve it.
Hope it helps.
Best,
Sanjaya

If you could share some insight of the use-case, we will be able to assist you better... Sanjaya

You are right, I can eventually create some range of values and give it a label.
My use case is a bit experimental. I'm trying to find rules to discover what is the cause of the battery discharge of some IOT devices. I already did some correlation analysis but I'm interested of the result of this other type of prediction model.

Do you think that a different perspective will help i.e. multi-label classifier – different levels of battery voltages predicted from a set of continuous or categorical values? If yes, then you may consider using perceptron...
There is even a real-time regression in wink... Some of them can easily run on a Raspberry Pi as well!
I am closing the issue for now. Do reach us if you need any further help.


Paypal "Pay upon invoice" does not change transaction state when an error occurs

PHP Version
8.2
Shopware Version
<IP_ADDRESS>
Affected area / extension
Extension:PayPal-Integration
Expected behaviour
I am placing an order using PayPal Invoice Purchase. The validation fails, a message appears, and I can choose a different payment method to complete the order.
After placing the order the transaction state is set to "process". If the validation fails the transaction state is set to "fail" and we can change the payment order.
Actual behaviour
The order is placed using PayPal Invoice Purchase. The validation fails, and I cannot select any other payment method.
After placing the order the transaction state is set to "process". If the validation fails the transaction state is still "process" and we cannot change the payment order.
The old PlusPuiHandler (vendor/store.shopware.com/swagpaypal/src/Checkout/Payment/Handler/PlusPuiHandler.php) changes the transaction state if the Paypal Api Call throws an error:
$this->orderTransactionStateHandler->fail($transactionId, $context);
In the new one (vendor/store.shopware.com/swagpaypal/src/Checkout/Payment/Method/PUIHandler.php) the state is not changed.
How to reproduce

Put something in the basket
Choose Pay upon invoice
Force an invalid try (e.g. giving the shop an invalid billing address or something else)
Try to change the payment method after invalid purchase

[public] Shopware automated response: This issue is linked to the internal issue: PPI-981
[created from PPI-981, comment 490859]


Add tests for render pass validation

This is a top-level issue to capture adding validation tests for render pass validation cases. The comprehensive list of validation layer checks is contained in vk_validation_layer_details.md. Checks that don't currently have tests identified are below. Tests should be added where missing and the document should be updated.
INVALID_RENDER_AREA
RENDERPASS_INCOMPATIBLE
FRAMEBUFFER_INCOMPATIBLE
INDEPENDENT_BLEND
RENDERPASS_INVALID_ATTACHMENT
RENDERPASS_INVALID_DS_ATTACHMENT

Completed with pull request #839


Package download speeds can be improved

I am working with an internet speed whose download speed clocks to ~350 Mbps but when a package is being download by pkgx for example as a result of pkgx aws --version command it goes only till ~700 Kbps at max.
If there can be some guidance i can start working on PRs to speedup the downloads.

the logic happens in https://github.com/pkgxdev/libpkgx/blob/main/src/plumbing/install.ts
I'm not surprised it is capped because the pipeline logic of http -> store-file -> tar x -> sha is serial rather than parallelized. However it maxed out my bandwidth so was happy.
so should be an easy fix of using one of deno’s better pipelining systems more effectively.
Note that part of the reason it is this way is because we convert the code to a node package via deno’s DNT tool. However if you want to work on this I am happy to fix that part.
Thanks for the consideration and help.

I'm assuming this is solved because I'm getting near max download speeds. Safe to close?

I am also getting improved speeds.. not really sure which is the fix which made this a happen.
I think this can be closed for now


Update dependencies

The adapter works pretty well with it.

@Jey-Cee If you don't want to update the dependencies like this then close these pull requests. Or should I change something else?


plugin,metadata: avoid specifying API version

Even though osbs uses v1beta3 now the plugin had hardcoded configuration
for v1beta1.

I'll fix OSBS to not require a config file (conf_file=None doesn't seem to work) and to provide annotations API method, then update this PR.

I've committed the required osbs changed so this is ready for review.

Works fine. Merging.


support simple zip signed report

@2byrds any chance we get this merged?

@2byrds any chance we get this merged?

@bogtieba I'll merge it but I'm still integration testing. I'll add another PR if there are any fixes needed.


feature_and_improvement: Implemented common exception handling and did some structural updates

1. Generic Exception Handling

Implemented a generic structure for handling exceptions.
Refactored the existing codebase to align with the new exception handling approach.

2. Constants for Table Names

Introduced a constants file dedicated to managing table names.
Updated existing references to table names to utilize the new constants.

3. Domain Layer CamelCase Convention

Updated the codebase to ensure the domain layer adheres to the camelCase naming convention.

4. Hygen Template Updates

Import Paths: Modified import paths to use absolute paths.
Exception Handling: Integrated the new common exception structure into Hygen templates.
Constants Management: Added support for managing constants within the Hygen templates.

Summary
This PR introduces several structural updates, including a generic exception handling mechanism, centralized table name constants, adherence to camelCase conventions in the domain layer, and improvements to Hygen templates.

@AhmadHassanButt Good work, just a quick suggestion for future PRs—it’s a good habit to break down changes into multiple commits. It helps make the history cleaner and easier to follow, especially when dealing with larger changes like this. No need to do it for this PR, but it would be great to see more granular commits in the future for better traceability and review. Thanks!

Thanks for the appreciation! I will keep your suggestion in my mind for the future PRs


Upload to play store triggers google api error UploadException TOS_NOT_ACCEPTED

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

After having setup our app in Google Play Console and Google Cloud Developper console (Play API activation, service account creation, JSON key obtained), the JSON key successfuly pass fastlane run validate_play_store_json_key.
We followed the documentation on fastlane to setup our service account and Play Console. Brand new project.
We published manually a first version of our app to Internal testing channel. So we get rid of "unknown application" error. It got reviewed and accepted.
But now we face, when sending app to playstore internal sharing a TOS_NOT_ACCEPTED error when trying to upload through fastlane.
Google Api Error: Invalid request - UploadException: TOS_NOT_ACCEPTED [[]] (com.example.app)

Please not we were NEVER able to do anything about publishing in fastlane for google play. iOs works like a charm.
**Has the service account, when added to a Play Store Console account, to receive an actual email and approve terms and services?? If yes it seems impossible since service account is somehow... not real email address we can access **
Command executed
upload_to_play_store_internal_app_sharing(
      aab: '../build/app/outputs/bundle/release/app-release.aab',
    )

Our AAB is signed properly (we use flutter) with our keystore.
When puting aab manually on play store it works
the google service account is a valid service account with all privileges linked to the project owner
projet Play Service API  is activated but 100% error rate for uploads

Service account as access as "owner" for project (we set this to ensure it's not a permission problem). We also tried a brand new service account like stated in the doc.

Service account is added properly in our Play Console.

Complete output when running fastlane, including the stack trace and command used

bundle exec fastlane beta
[✔] 🚀
[16:07:57]: -----------------------------
[16:07:57]: --- Step: update_fastlane ---
[16:07:57]: -----------------------------
[16:07:57]: Looking for updates for fastlane...
[16:08:08]: Nothing to update ✅
[16:08:08]: ---------------------------
[16:08:08]: --- Step: opt_out_usage ---
[16:08:08]: ---------------------------
[16:08:08]: Disabled upload of used actions
[16:08:08]: ------------------------------
[16:08:08]: --- Step: default_platform ---
[16:08:08]: ------------------------------
[16:08:08]: Driving the lane 'android beta' 🚀
[16:08:08]: -------------------------------------------------------
[16:08:08]: --- Step: upload_to_play_store_internal_app_sharing ---
[16:08:08]: -------------------------------------------------------
+---------------------------------+
|          Lane Context           |
+------------------+--------------+
| DEFAULT_PLATFORM | android      |
| PLATFORM_NAME    | android      |
| LANE_NAME        | android beta |
+------------------+--------------+
[16:08:29]: Called from Fastfile at line 14
[16:08:29]: ```
[16:08:29]:     12:       desc "Deploy internal beta android app on play store"
[16:08:29]:     13:       lane :beta do
[16:08:29]:  => 14:         upload_to_play_store_internal_app_sharing(
[16:08:29]:     15:           aab: '../build/app/outputs/bundle/release/app-release.aab',
[16:08:29]:     16:         )
[16:08:29]: ```
[16:08:29]: Google Api Error: Invalid request - UploadException: TOS_NOT_ACCEPTED [[]] (com.example.app)
+----------------------------------------------------------------+
|                        fastlane summary                        |
+------+-------------------------------------------+-------------+
| Step | Action                                    | Time (in s) |
+------+-------------------------------------------+-------------+
| 1    | update_fastlane                           | 11          |
| 2    | opt_out_usage                             | 0           |
| 3    | default_platform                          | 0           |
| 💥   | upload_to_play_store_internal_app_sharing | 21          |
+------+-------------------------------------------+-------------+
[16:08:29]: fastlane finished with errors
[!] Google Api Error: Invalid request - UploadException: TOS_NOT_ACCEPTED [[]] (com.example.app)

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
15.2

Ruby
3.3.6

Bundler?
true

Git
git version 2.39.5 (Apple Git-154)

Installation Source
~/dev/my-app/android/vendor/ruby/3.3.0/bin/fastlane

Host
macOS 15.2 (24C101)

Ruby Lib Dir
/usr/local/Cellar/ruby/3.3.6/lib

OpenSSL Version
OpenSSL 3.4.0 22 Oct 2024

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
16.2

Swift Version
6.0.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
update_fastlane
opt_out_usage

default_platform(:android)

platform :android do
  desc "Runs all the tests"
  lane :test do
    gradle(task: "test")
  end

  desc "Deploy internal beta android app on play store"
  lane :beta do
    upload_to_play_store_internal_app_sharing(
      aab: '../build/app/outputs/bundle/release/app-release.aab',
    )
  end

  desc "Submit a new Beta Build to Crashlytics Beta"
  lane :crashlytics do
    crashlytics
  end

  desc "Deploy a new version to the Google Play"
  lane :deploy do
    upload_to_play_store
  end
end

`./fastlane/Appfile`
json_key_file "fastlane/keys/google-service-account.json"
package_name("com.example.app")

fastlane gems

Gem
Version
Update-Status

fastlane
2.226.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

error_highlight
0.7.0

did_you_mean
2.0.0

syntax_suggest
2.0.2

bundler
2.6.1

pathname
0.4.0

rake
13.2.1

base64
0.2.0

nkf
0.2.0

rexml
3.4.0

CFPropertyList
3.0.7

public_suffix
6.0.1

addressable
2.8.7

artifactory
3.0.17

atomos
0.1.3

aws-eventstream
1.3.0

aws-partitions
1.1028.0

aws-sigv4
1.10.1

jmespath
1.6.2

aws-sdk-core
3.214.0

aws-sdk-kms
1.96.0

aws-sdk-s3
1.176.1

babosa
1.0.4

claide
1.1.0

colored
1.2

colored2
3.1.2

highline
2.0.3

commander
4.6.0

declarative
0.0.20

digest-crc
0.6.5

domain_name
0.6.20240107

dotenv
2.8.1

emoji_regex
3.2.3

excon
0.112.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

multipart-post
2.4.1

faraday-multipart
1.1.0

faraday-net_http
1.0.2

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.10.4

http-cookie
1.0.8

faraday-cookie_jar
0.0.7

faraday_middleware
1.2.1

fastimage
2.3.1

sysrandom
1.0.5

fastlane-sirp
1.0.0

gh_inspector
1.1.3

jwt
2.9.3

multi_json
1.15.0

os
1.1.4

signet
0.19.0

googleauth
1.8.1

httpclient
2.8.3

mini_mime
1.1.5

trailblazer-option
0.1.2

uber
0.1.0

representable
3.2.0

retriable
3.1.2

google-apis-core
0.11.3

google-apis-androidpublisher_v3
0.54.0

google-apis-playcustomapp_v1
0.13.0

google-cloud-env
1.6.0

google-apis-iamcredentials_v1
0.17.0

google-apis-storage_v1
0.31.0

google-cloud-errors
1.4.0

google-cloud-core
1.7.1

google-cloud-storage
1.47.0

json
2.9.1

mini_magick
4.13.2

naturally
2.2.1

optparse
0.6.0

plist
3.7.1

rubyzip
2.3.2

security
0.1.5

simctl
1.6.10

terminal-notifier
2.0.0

unicode-display_width
2.6.0

terminal-table
3.0.2

tty-screen
0.8.2

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

nanaimo
0.4.0

xcodeproj
1.27.0

rouge
3.28.0

xcpretty
0.4.0

xcpretty-travis-formatter
1.0.1

generated on: 2024-12-27

For reference, this was solved after a call to a Google Expert. I will do a PR to adapt documentation.
To accept internal sharing TOS, you must go to Play Console > select your app > Test and Publish > Tests > Internal App Sharing
Here you will have to accept TOS and select a diffusion list.


feat(module:avatar): add loading and fetchpriority attributes

Closes #7274

As caniuse->loading and caniuse->fetchpriority shown, these attributes have low compatibility for most browsers, I don't think we need built-in properties to support. What do you think about this @hsuanxyz ?


Misc things

Improvements to container-gc

A quick svg version of the logo; it's a little different than the one
I made previously, so I'm not completely sure about it...

@elibarzilay,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Provide ndjson release?

Should also be put at https://coli-conc.gbv.de/terminologies/kos.ndjson (see #9)


vc++ 2015 update 2 cannot access private member declared in class 'fmt::internal::MakeValue'

#define FMT_HEADER_ONLY
#include "../cppformat/format.h"
2>q:\vc15\r5xx\cppformat\format.h(1975): error C2248: 'fmt::internal::MakeValue::MakeValue': cannot access private member declared in class 'fmt::internal::MakeValue'

This error is normally given when trying to format an argument which is explicitly forbidden, for example:
fmt::format("{}", L"test");


Update CompileSvgsAction.php

RuntimeExceptions added to handle (potential) errors in the read/write of SVGs.

[ ] I have read the CONTRIBUTING document.

Might be nice to just use https://github.com/thecodingmachine/safe as a dev dependency for consistency and not having to do our own thing (as simple as the change is).

Good idea.


pactorio: init at 0.5.1

Motivation for this change
Pactorio is a mod packager for Factorio
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 114408 run on x86_64-linux 1

1 package built:

pactorio

I've tried running the binary with the example config (on the github page), that all seems to work fine.

Any chance this gets merged?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/476


[5.4] Blade: no way to setContentTags() anymore

Laravel Version: 5.4.8

Description:
@taylorotwell
It's problematic to migrate to 5.3 -> 5.4 when e.g we reserve {{ .. }} for angularJS, and <?php echo .. ?> for everything else. There seems to be no (simple) way anymore to override Blade tag syntax, after setContentTags(), setEscapedContentTags() were wiped in 5e394bb2c4b20833ea07b052823fe744491bdbd5.
Steps To Reproduce:
class AppServiceProvider extends ServiceProvider
    public function register()
        \Blade::setContentTags('[%%', '%%]');
        \Blade::setEscapedContentTags('[-%%', '%%-]');
   }
}

> php artisan clear-compiled

  [Symfony\Component\Debug\Exception\FatalThrowableError]
  Call to undefined method Illuminate\View\Compilers\BladeCompiler::setContentTags()

It was removed yes, you can use @{{ }} to stop blade from compiling the tag.

Thanks, just was there a reason to add such regression?
There's nothing in commit message 5e394bb2c4b20833ea07b052823fe744491bdbd5 about this, so maybe just an overlook.

This is kind of a significant change that shouldn't be in a "minor" change (5.3 -> 5.4) as it's a breaking change.  I'd recommend holding off making something of this magnitude until the next major version.

This is kind of a significant change that shouldn't be in a "minor" version revision (5.3 -> 5.4) as it's a breaking change. I'd recommend holding off making a change of this magnitude until the next major version.

Laravel minor versions are the same as semver major versions, and laravel patch releases are the same as semver minor versions.

It was removed because it's generally a really bad idea to use it. It makes using any Blade related packages essentially impossible since developers will not know which mark-up tags to use for Blade.

Thanks @taylorotwell.
While this particular change is not a big deal, your team is trying to decide for us what we shall stick to. It's hard to customize Laravel because of such hardcodes. Could you leave setter as "undocumented feature", mark it as @deprecated maybe?
/**
 * @deprecated Avoid using this method as other packages may stop working
 */
function setContentTags($value) {

The PHPStorm is highlighting calls of deprecated methods, so people will know that they're using those on their own risk. Please don't remove setter just because it may lead to a problem, we're not children to hide matches from :)

I have to agree with @denis-chmel on this.  I totally understand your point that it shouldn't be used, I like the new way a lot better.  Adding that was a great change.  However It doesn't erase the fact that code using setContentTags already exists in nontrivial amounts (go do a code search).  Continuing to support it keeps people productive, and adding the deprecated tag help people get the right idea for the future.  We're all adults here.

Is there a way to drop blade in favour of a more flexible template engine eg twig? We have an app on 5.3 using client side AngJS 1 templates rendered from blade. We need to use both blade tpl syntax and angJs syntax, adding an @ before each angjs tpl var is excessive as the app has only about 20% variables from blade.

Is there a way to drop blade in favour of a more flexible template engine eg twig?

Yes, you can use whatever templating engine you want.

https://github.com/rcrowe/TwigBridge

So use other peoples code in favour of clean own code...
Isn't that just a financial decision and not a 'good' or 'really bad' idea decision?

If anybody need it badly I've solved it for me via a local patch (switches to <<< and >>> tags)
composer.json
     "scripts": {
         "post-install-cmd": [
            ....
            "patch_blade_tags.sh",
         ],
     },

patch_blade_tags.sh:
#!/usr/bin/env bash
set -e

IN_FILE=vendor/laravel/framework/src/Illuminate/View/Compilers/BladeCompiler.php
sed -i "s|protected \$contentTags.*|protected \$contentTags = ['<<<', '>>>'];|" $IN_FILE
sed -i "s|protected \$escapedTags.*|protected \$escapedTags = ['<<<<', '>>>>'];|" $IN_FILE

This is really a BAD idea!

The bad idea is to violate open/closed principle, @icaife ;)

This should really be part of the upgrade documentation from 5.3 to 5.4.  This is a breaking change for many teams and should be at least highlighted.

    /**
     * Array of opening and closing tags for escaped echos.
     *
     * @var string[]
     */
    protected $escapedTags = ['{{{', '}}}'];
``` 这导致我无法使用vue的 {{ 很烦 怎么设置???直接改源代码吗 别叫我使用 @{{ 我很讨厌


Building UI with ReactJs, Redux and SASS Language

Introduction
Sass is a stylesheet language that’s compiled to CSS.  Sass helps keep large stylesheets well-organized and makes it easy to share design within and across projects.
Key Take away
Here , I will demonstrating the core concepts to get started with Sass. The following shall be the point of discussion:

Meaning and why Sass exists,
How to integrate Sass in application,
Preprocessing in Sass,
Partials and Mixins,
Concept of inheritance,
Lastly, Integrating Sass with ReactJs and Redux.

Reference
https://sass-lang.com/documentation

Hello @harafah97, we thank you for submitting your topic.
However, after some careful consideration, it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
Please feel free to explore another more in-depth topic.

@Kayere sir please.


DDCE-4223 - Add back link on select-goods page for items

Has a few failures on AT where the selector still looks for "cancel"


Refactor for the deprecation of FTP?

Should we make issues for each area to be refactored with the imminent deprecation of FTP?
https://podaac.jpl.nasa.gov/announcements/2019-05-06_REMINDER_PO.DAAC_FTP_RETIREMENT

Hi @noah-de yes we most likely should. There is one way for us to do this... essentially we could wait until FTP is totally dropped at PO.DAAC, run our unit tests and fix any broken code such that tests pass. wdyt?

Very true @lewismc a common approach is to wait and see what breaks.  However, I thought that you might have some knowledge from either NASA or JPL. Either from some high level documentation on the podaacpy's dependencies of PO.DAAC or conversations around the water cooler.
I would prefer to be proactive: retire FTP code and leverage PO.DAAC Drive.
As long as it is fixed before the next release, it probably makes no difference.

I'll wait another week or so until FTP has been totally deprecated before releasing again @noah-de

@noah-de any comments here?

Not at the moment. I am looking forward to seeing what we can learn from the new health check introduced by @sanketsaurav in #139.
The build still fails (https://travis-ci.org/nasa/podaacpy/builds/566054604) and I have not had time to dive into the cause and resolve it.
I leave it to your discretion.

I think that MCC functionality is currently broken. I'll work on that.
I'm spending some time today and will submit pull requests as I go. Thanks

Terrific!
Thanks
On Wed, Jul 31, 2019 at 1:09 PM Lewis John McGibbney <
<EMAIL_ADDRESS>wrote:

I think that MCC functionality is currently broken. I'll work on that.
I'm spending some time today and will submit pull requests as I go. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/nasa/podaacpy/issues/136?email_source=notifications&email_token=AAUFOOGNMSVV72MSWHBFGGLQCHWOBA5CNFSM4HM4HS6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3INAPY#issuecomment-517001279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAUFOOHXB6ODD3ETZIYC6NTQCHWOBANCNFSM4HM4HS6A
.

@noah-de the following function within drive.py will be affected
    def mine_drive_urls_from_granule_search(self, granule_search_response=''):
        ''' Convenience function which extracts the PO.DAAC Drive URLs from \
           a given granule search obtained using podaac.granule_search(). \
           The response of this function is an array of strings denoting the \
           PO.DAAC Drive URLs to the granules.

           :param granule_search_response: the output response of a podaac.granule_search()
            :type path: :mod:`string`

            :returns: prints an array of PO.DAAC Drive URLs.
        '''
        from bs4 import BeautifulSoup
        soup = BeautifulSoup(granule_search_response, 'html.parser')
        drive_list = []
        for ftp_link in soup.find_all('link'):
            href = ftp_link.get('href')
            if 'ftp://podaac-ftp.jpl.nasa.gov/' in href:
                drive_list.append(href.replace('ftp://podaac-ftp.jpl.nasa.gov', self.URL))
            elif self.URL in href:
                drive_list.append(href)
        return drive_list

This is an easy fix however. I submitted it as part of the pull request in #140

We actually need to implement unit tests for drive.py but I'll implement this in another ticket.

Resolved in #140


[Helm] chart can't be install without defining .Values.rsa or .Values.rsa.existingSecret

Describe the bug
commit https://github.com/robusta-dev/robusta/commit/6ee8d1fdcaae5ef6b6c632cda2a76327e9a2f819 introduced .Values.rsa.existingSecret.
It is not possible anymore to install the chart without defining rsa.
As .Values.rsa is nil by default,  and it is a parent of existingSecret, the following change (runner.yaml) fails.
secretName: {{ default "robusta-auth-config-secret" .Values.rsa.existingSecret }}

To Reproduce
Steps to reproduce the behavior:

install the chart without defining   .Values.rsa or .Values.rsa.existingSecret

Expected behavior
The chart should be installed without .Values.rsa or .Values.rsa.existingSecret defined
Additional context
Proposal: https://github.com/robusta-dev/robusta/pull/1161

Closing since its merged #1161


Resource not Found under 4.0-wip branch

There is android:textAllCaps under Widget.Sherlock.ActionBar.TabText with parent Widget and can't be found. I did searched for "android:textAllCaps" and is under TextView.

textAllCaps is an API 14+ attribute which is probably why it showed as an error for you. It will be ignored on previous platforms. ABS 4 requires Android 4.0 for compilation.

I am compiling with Apache's ant build system.


Automated cherry pick of #4322: fix: SyncEip时同步项目应该在同步主机信息之前

Cherry pick of #4322 on release/2.11.
#4322: fix: SyncEip时同步项目应该在同步主机信息之前

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.11@cf05505). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.11   #4325   +/-   ##
==============================================
  Coverage                ?   7.11%
==============================================
  Files                   ?     480
  Lines                   ?   78084
  Branches                ?       0
==============================================
  Hits                    ?    5554
  Misses                  ?   72064
  Partials                ?     466

Flag
Coverage Δ

#aFlag
7.11% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/guests.go
0.63% <0%> (ø)

pkg/compute/models/elasticips.go
1.28% <0%> (ø)

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 cf05505...b06858f. Read the comment docs.

/lgtm
/approve


[sil-mode] Add syntax highlighting for objc_protocol instruction.

Title says it all.

@swift-ci Please smoke test and merge


Remove helm chart and gitops operator version for 2.3

Signed-off-by: Feng Xiang<EMAIL_ADDRESS>Issue: https://github.com/stolostron/backlog/issues/23052

Remove helm chart version to always install latest version
Also removed Gitops operator version to always install the latest

/test e2e-cluster

/test e2e-cluster

/test e2e-cluster

/test e2e-cluster


coco stuff

hi, Im student in taiwan
Does the model not support for "coco-stuff" yet ?
the file : SenFormer\mmseg\core\evaluation\classesnames
which only have three different types of dataset,
dataset_aliases = {
'cityscapes': ['cityscapes'],
'ade': ['ade', 'ade20k'],
'voc': ['voc', 'pascal_voc', 'voc12', 'voc12aug']
}
...?

Hi,
The repository does support COCO-Stuff dataset. You can train SenFormer from scratch on COCO-Stuff or download pretrained weights from this repo and evaluate on COCO-stuff by running this command:
python tools/test.pysenformer_configs/senformer/coco-stuff10k/senformer_fpnt_r50_512x512_80k_coco.py /path/to/checkpoint_file

But you are right the class_names.py did not contain coco's classes and palette.
However, since it's only used in  image_demo.py, it does not affect the rest of the repo.
Anyway, I have updated the affected files and image_demo.py should now work on COCO-Stuff too:
python demo/image_demo.py ${IMAGE_FILE} ${CONFIG_FILE} ${CHECKPOINT_FILE} --classes=coco --palette=coco

Hope that helps

hi,
Many thanks for your reply and the tutorials.
I run your model to do semantic segmentation on my custom data set, and the performance is impressive.
Therefore, I can get  wonderful training data. It help me smoother to develop my final project.
In the final report, I will attach the link of your github and introduce how the training data was generated.
I hope everything goes well with your work and research.
best regards,

Glad it helped!
Good luck with your project, and feel free to reach out if you encounter additional complications with the code.
Best,


Rotation ges crazy

I-m trying to make a simple simulation, i want to ave a cricle that rotation must be fxed to a value i decide.
Also the speed is fixed, there is no acceleration; also when i hit something it should just stop (i'm using restitution: 0)
I create a little test, I'm expecting the circle to rotare 90 deg each every second, but the rotation goes crazy.
partial code:
`
world.on('step', function(){
	mainLoop();
	//console.log(robot.state.angular.pos);
	world.render();
});
function mainLoop(){
	if (this.lastUpdate == undefined){
		this.lastUpdate = 0;
	}
	var d = new Date();
	var n = d.getTime();
	/*
	console.log("n "+n);
	console.log("this.lastUpdate "+this.lastUpdate);
	*/
	if ( (n - this.lastUpdate) > 1000){
		console.log("update");
		this.lastUpdate = n;

		robot.state.angular.pos += (Math.PI/2);
		robot.state.angular.vel = 0;
		robot.state.angular.acc = 0;

		direction(0.01);

		robot.sleep(false); //awake the robot

	}
}`

function direction(vel){
	if (vel > 0.1){
		vel = 0.1;
	}

	if (vel < -0.1){
		vel = -0.1;
	}

	robot.state.vel.y = Math.sin(robot.state.angular.pos) * vel;
	robot.state.vel.x = Math.cos(robot.state.angular.pos) * vel;

    }

I'm working on a component that spins to simulate tesla disk like behavior so maybe I can come up with something fun.

I think the problem maybe in the Date() function being reset every iteration of the step function.

@wellcaffeinated what do you think?

I'll test the theory out and maybe use it in the component

going to put youor code in the debugger I'm building @MauroMombelli @wellcaffeinated.

let me know if you need something, I completly forgot about this code :/

no worries, I'm hoping to put in a PR soon to help with learning PhysicJS.  I think it will help out the project quite a bit.
I'll put up an issue and PR about it soon any feedback would be helpful concerning the PR since it's for learning this lib.

This little library is pretty cool! So I'm going to share an app with the community if @wellcaffeinated will allow the PR here.

Here is screen shot of the PhysicJS project I'm working and need testers for...its part of a larger dashboard project.  ==> basically a dashboard for all open source projects :)


Has anyone experienced CUDA out of memory?

Hi! Thank you for sharing this great code.  I was wondering on what machine did you use for training and inference. I was using it to infer on my own data,  and some of the bigger video sequence yield CUDA out of memory (v100 16gb).
I also tried to load the model to fp16, but I feel like the accuracy was compromised because some folders did not have anything segmented.
Please let me know if there's anything you'd suggest us trying. Thank you very much!

The easiest way is to reduce memory frequency (which means increasing the number mem_freq): https://github.com/hkchengrex/Mask-Propagation/blob/b5d8e61c87e1944426c3aed43685fd0eb336353a/inference_core.py#L20
The second way (not sure if you are doing this already) is to not cache the input video on GPU and loads them only when needed (this is done in our YouTubeVOS evaluation)
Also, it suffices to use 480p videos, you might want to downsize your videos if needed.
I haven't tried fp16, but I am surprised that it didn't work...

And we used two 1080Ti for training and a 2080Ti for evaluation. All are 11GB GPUs. We only used fp32.

Thank you for the detailed responses! We tried both and worked.


TokenCacheAspect not specified

TokenCacheAspect  is not found in java sample....

Found that it was part of sample... but in page this did not mentioned
See: https://docs.microsoft.com/en-us/azure/active-directory/develop/scenario-desktop-acquire-token?tabs=java#dual-token-cache-serialization-msal-unified-cache--adal-v3


feature request: database collection prefix

I am using mongodb. There are 4 collections created (account,email_verification,session and user). Is there an option where I set the prefix for all NextAuth collections/tables to something like nextauth_account, nextauth_email_verification.... ?

I think that's a great idea, and is actually a feature I need myself so I'm quite motivated to add it.
The cookies are named with a prefix so they don't collide with any existing site cookies - and so that their purpose is clear - and I think there is a good case for doing same with the database tables (and making it configurable so people can set them to be blank, or something custom).
The next-auth repo would be  a good place to raise this!

PS: Does it seem to be working in mongodb for you? About to get round to formal testing of v2 now API is pretty stable, but am interested in anecdotal reports of DB compatibility.

Alright. I forgot that the example was not in the next-auth repo. I got confused about the layout of the repo before. I couldn't find a clear location or a v2 branch and I couldn't find beta version releases/tags. Almost gave up :-)
Yes it seems to be working but I did not proper testing yet. Just no more error messages.
sqlite needs some love to get installable without any additional help. I work on Windows and deploy to Linux most often so cross platform support is something I need. But sqlite I can live without.
anecdotal reports :-)

Added: https://github.com/iaincollins/next-auth/issues/140
Perhaps close this one if you like?

Great, thank you for raising that and for the info.
PS: In v1 the example was in the parent repo, with v2 I've split it off as there are technical issues that can arise from an example and a client that uses it being in the same repo, due to the way NPM (and, IIRC Babel and/or Webpack) work that can make it hard to debug issues (and easy to miss problems).
The plan is that this example will be improved and cleaned up and will use GitHub actions CD/CI flow to automatically update it with the latest release, and run automated tests tests against it (in a live environment).


Getting duplicates for all books

All of a sudden I seem to be getting duplicates for everything, but only on the command line

Aaand it stopped.  /shrug/


LITE-21157: Handling tags for boilerplate projects

Getting the highest tag available, based on version semantic, and using it on bootstrap checkout for reports and extension

Codecov Report

Merging #78 (9990463) into master (6d1b6fa) will increase coverage by 0.19%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
+ Coverage   89.76%   89.96%   +0.19%
==========================================
  Files          53       54       +1
  Lines        3586     3657      +71
  Branches      614      627      +13
==========================================
+ Hits         3219     3290      +71
  Misses        262      262
  Partials      105      105

Impacted Files
Coverage Δ

connect/cli/plugins/project/extension/constants.py
100.00% <100.00%> (ø)

connect/cli/plugins/project/extension/helpers.py
98.18% <100.00%> (+0.04%)
:arrow_up:

connect/cli/plugins/project/git.py
100.00% <100.00%> (ø)

connect/cli/plugins/project/report/constants.py
100.00% <100.00%> (ø)

connect/cli/plugins/project/report/helpers.py
95.36% <100.00%> (+0.19%)
:arrow_up:

Continue to review full report at Codecov.

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


Add 'debugger' as a parameter for 'workbench.action.debug.selectandstart'

Running vscode.command.executeCommand('workbench.action.debug.selectandstart') will prompt the Debug: Select and Start Debugging dialog and prompt for all dynamic configuration debuggers.

It will be helpful for extensions if we can run the command with an arg so it will call into a specific debugger's dynamic configuration provider.
E.g. vscode.command.executeCommand('workbench.action.debug.selectandstart', 'node')
This just jump directly to

This works well if there's one launch config, but if there's multiple with the same type, it seems to go back to the view with all the options instead of filtering to that type.

What do you mean by "multiple with the same type"? The first level is debuggers, not launch configs


proxify: 0.0.5 -> 0.0.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/projectdiscovery/proxify/releases.
meta.description for proxify is: "Proxy tool for HTTP/HTTPS traffic capture"
meta.homepage for proxify is: "https://github.com/projectdiscovery/proxify"
meta.changelog for proxify is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/8ci3sx6x7cbs1587vjkrmn5z6i5c556j-proxify-0.0.6/bin/mitmrelay had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/8ci3sx6x7cbs1587vjkrmn5z6i5c556j-proxify-0.0.6/bin/replay had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/8ci3sx6x7cbs1587vjkrmn5z6i5c556j-proxify-0.0.6/bin/proxify had a zero exit code or showed the expected version
0 of 3 passed binary check by having a zero exit code.
0 of 3 passed binary check by having the new version present in output.
found 0.0.6 with grep in /nix/store/8ci3sx6x7cbs1587vjkrmn5z6i5c556j-proxify-0.0.6
found 0.0.6 in filename of file in /nix/store/8ci3sx6x7cbs1587vjkrmn5z6i5c556j-proxify-0.0.6

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
proxify

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8ci3sx6x7cbs1587vjkrmn5z6i5c556j-proxify-0.0.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A proxify https://github.com/r-ryantm/nixpkgs/archive/e31593d07d72f88a0cadbe7bc45e14455b909241.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8ci3sx6x7cbs1587vjkrmn5z6i5c556j-proxify-0.0.6
ls -la /nix/store/8ci3sx6x7cbs1587vjkrmn5z6i5c556j-proxify-0.0.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

proxify

Maintainer pings
cc @fabaff @kalbasit for testing.

Result of nixpkgs-review pr 159938 run on x86_64-linux 1

1 package built:

proxify


Adding Docker File

Hi
I want to add  Dockerfile to your project because
Integrating Docker will streamline local setup, eliminate manual configuration, and ensure a consistent environment. It will help new contributors get started quickly and focus on building features, enhancing collaboration and efficiency.
Additionally, containerizing the application will make future deployment and scaling much smoother. I'm well-versed with Docker, so I can help set up the configurations and guide the integration process . If it sounded good to you, i am willing to contribute to it as soon as the issue is assigned to me .

i was also thinking to dockerize this repo, to make it easier to setup, though i am not very well versed with docker, so can you explain if dockerizing will add any further dependencies? and if yes,  make the required changes in the README and CONTRIBUTION files.

No, dockerizing will not add any further dependencies. It will use the images available on Docker Hub and install your project dependencies when run. Thanks for assigning this issue to me. I will complete it as soon as possible.


Can't access extensions list

Steps to reproduce
Even tho i added the repos correctly on Aniyomi , the app refuses to make me gain access to the extensions list
Expected behavior
The app should make me gain access to the extensions list after i added the repos
Actual behavior
The app refuses to let me gain access to the extensions list
Crash logs
I haven't experienced any crashes
Aniyomi version
<IP_ADDRESS>
Android version
Android 13
Device
Readmi note 12
Other details
There is no other details
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official anime extension, I should be opening an issue in the extensions repository.
[X] If this is an issue with a manga extension, report it to the manga source extension project you added it from.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

due to DMCA , alots of extension has been taken down
try to change extension source which are still available somehow (like some repo on my profile)

The repo link should contain a .json file with all the apks listed out

This has most likely been fixed in the preview version with the merge from Mihon. If the issue still persists even after switching to preview or in the next stable update, please open a new issue.


Creating Server Components Causes an Error

Environment

Operating System: Linux
Node Version:     v18.18.2
Nuxt Version:     3.11.1
CLI Version:      3.11.1
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, css, tailwindcss, runtimeConfig, app, image, routeRules, devtools
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction

Install NuxtAuth
Make a server component or page by appending server to the name Test.server.vue
Refresh and find /api/auth/session 500 error

Describe the bug
When trying to create a server component or a NuxtIsland by adding server to a page or component
Test.server.vue
You get the following error on the server
Server Error [GET] "http://localhost/api/auth/session?callbackUrl=http:%2F%2Flocalhost%2F__nuxt_island%2FTest_zILZnACY7W.json": <no response> fetch failed

Additional context
No response
Logs
No response

Hi @Plinpod 👋
We have not added support for Server components yet. I assume that we will need to add support for this by accessing the session via getServerSession. I assume the error you are experiencing is due to the component trying to access the client side session, which is not set on the server.
Due to this, I will categorize this as a feature request, rather than a bug. As mentioned above, I assume we will need to add a new composable that lets you access the server side session in server components.
I think adding support for this would be super cool, but also a bit tricky. Therefore, I will add this prioritize this feature a bit lower. As a workaround, could you try and categorize all authentication related logic inside the server component as a Client Component that does not get rendered on the server?

Same issue

Any advance with 0.8.0 version?

Hi @agracia-foticos 👋
We have yet to prioritize looking into this issue. I have some assumptions (primarily resting on many core functions of the module requiring access to the client, e.g., cookies & session data).
Looking into server components, I could also see that the fetch requests made to and by them differ from client components, which makes me assume that some code (e.g., the middleware cannot correctly execute on it).
Our current plan is to begin now working on the transition from using NextAuth under the hood to authjs, which requires substantial rewrites as the packages differ from one another. Therefore, I would like to avoid investigating this issue with the current NextAuth-based authentication, as changes in the underlying dependencies may require completely different fixes.
However, if you would like to spend some time investigating this and manage to find a solution, we would be happy to release a minor / patch version beforehand depending on the size of the changes. However sadly, our core team cannot dedicate any time to a full investigation at the moment.

@zoey-kaiser with new version 0.8.0 as been fixed this issue?

I had a quick look into this issue and I believe I can pinpoint the required steps to support server-side components:
The issue is that the client-side composables are based on the client functions provided by AuthJS. These composables therefore require the client to be set to properly execute requests.
If we were to support server-side components, we would need to write a new implementation for them, that would follow the logic we currently use for the server-side session access methods such as getServerSession.
Inside this composable we would need to:

Get the baseURL of the API
Set the correct headers to include the authenticated users JWT Token
Make the requests to the dedicated Rest API included with the AuthJS provider.

As this requires a bit more work, I think we will need to depriotize this feature. However, as a work-around you could build the logic I outlined above yourself!
When using the authjs provider, a set of API routes are automatically added and accessible. You could use $fetch to request data from their routes, to access the session inside a server component: https://auth.sidebase.io/guide/authjs/server-side/rest-api. These API routes also already automatically determine the JWT session token themselves, so requesting them should already result in the session being returned (however, I am not 100% sure of this!).
E.g.
const session = useFetch(`${baseURL}/session`, {
	...options
})


item loader broken

cant remove items, add new items, and can only view equipped stuff, anyone else having this issue? i have it whenever i try to use it

think this shouldnt happen anymore


Problem with login step

Hi there,
I'm trying to setup something for an open-source library hosted on my company space. I am getting an error though when my action runs at the login step, talking about a missing password.
 Login to GitHub Package Registry
0s
    logout: true
Run docker/login-action@v1
  with:
    registry: ghcr.io
    username: machinezone
    logout: true
##[error]Input required and not supplied: password

I used this, hoping that the secret would be populated, following this blog post.
        name: Login to GitHub Package Registry
        uses: docker/login-action@v1
        with:
          registry: ghcr.io
          username: ${{ github.repository_owner }}
          password: ${{ secrets.GHCR_TOKEN }}

The full yaml for the github action is here.
Any clue on what might be going on ?
Should I report that on the github login action instead maybe ... ?

The secret isn't automatically populated. The original GitHub Packages container registry did use the automatically generated GITHUB_TOKEN. GitHub has said that support for that will be added to this new registry in the future. https://twitter.com/clarkbw/status/1300853015113396225?s=20
For now you will need to create a GitHub Personal Access Token (PAT) which you can do by going here: https://github.com/settings/tokens
You'll need to create the PAT with the correct scopes which you can find here: https://docs.github.com/en/packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images#authenticating-with-the-container-registry
Once you have the PAT you can create an action secret: https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
You can call the secret whatever you want. But GHCR_TOKEN is what I used for the example above.

Thanks a lot for the detailed description.
Is there anything special I need to do to make the container 'anonymous', so that someone can download it without being logged in ?

ghcr.io is private by default. You'll notice in the nightly.yml I had to do a login to be able to pull the image.
You can see what packages you have by going here (change the username): https://github.com/?tab=packages&visibility=private
You can make it public going to the packages settings: https://github.com/users//packages/container//settings

Thanks. I'll review the container permission.
Is ghcr.io http://ghcr.io/ the GitHub repo ?

On Sep 2, 2020, at 12:32 PM, Chad Metcalf<EMAIL_ADDRESS>wrote:
ghcr.io is private by default. You'll notice in the nightly.yml I had to do a login to be able to pull the image.
You can see what packages you have by going here (change the username): https://github.com/ https://github.com/?tab=packages&visibility=private
You can make it public going to the packages settings: https://github.com/users/ https://github.com/users//packages/container//settings
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/metcalfc/docker-action-examples/issues/3#issuecomment-685951348, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC2O6UJZJUCKVHFPDJY7F7TSD2MUNANCNFSM4QTRR7GQ.

Yes. I don't think it has a UI that you can use. Outside of the one in GitHub.


Fixing chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted

As a proposal, below is a solution to the error - chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted - use of local Docker Volumes
https://forums.docker.com/t/create-local-volume-with-custom-mount-options/117924
volumes:
 data-volume:
  driver_opts:
    type: none
    device: ${OBMP_DATA_ROOT}/postgres/data
    o: bind
 ts-volume:
  driver_opts:
    type: none
    device: ${OBMP_DATA_ROOT}/postgres/ts
    o: bind
psql:
........
volumes:
- data-volume:/var/lib/postgresql/data
- ts-volume:/var/lib/postgresql/ts

Thank you for the info. I have updated the compose file to include this change. this does appear to fix the issue with perms.

Fixed.


Added jopRoutes code, auth.js code and messed with the server.js file

Added jopRoutes code, auth.js code and messed with the server.js file to get it to work. I am still getting error codes but I am working through them

you're doing so great omg -- putting pressure on me >.<


Enhancement add config for external meta cache loade…

…r's thread-pool size.
Proposed changes
Add config for external cache-loader's max thread-pool size.
Problem summary
We should expose a configuration for external cache-loader's max thread-pool size, current value(10) may be not enough for some user's situations.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

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

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 33.56 seconds
stream load tsv:          465 seconds loaded<PHONE_NUMBER>9 Bytes, about 153 MB/s
stream load json:         24 seconds loaded<PHONE_NUMBER> Bytes, about 93 MB/s
stream load orc:          73 seconds loaded<PHONE_NUMBER> Bytes, about 14 MB/s
stream load parquet:          33 seconds loaded 861443392 Bytes, about 24 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230326105611_clickbench_pr_120771.html


Error while npm install -f

I did below steps
cd frontend
npm install -f
And got below error
npm WARN deprecated<EMAIL_ADDRESS>Use @material-ui/icons instead
npm ERR! code 1
npm ERR! path D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:\Program Files\nodejs\node.exe D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   'C:\Program Files\nodejs\node.exe',
npm ERR! gyp verb cli   'D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\node-gyp\bin\node-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',
npm ERR! gyp verb cli   '--libsass_ext=',
npm ERR! gyp verb cli   '--libsass_cflags=',
npm ERR! gyp verb cli   '--libsass_ldflags=',
npm ERR! gyp verb cli   '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb which failed Error: not found: python2
npm ERR! gyp verb which failed     at getNotFoundError (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed     at F (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed     at E (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp verb which failed  python2 Error: not found: python2
npm ERR! gyp verb which failed     at getNotFoundError (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed     at F (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed     at E (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed     at FSReqCallback.oncomplete (node:fs:198:21) {
npm ERR! gyp verb which failed   code: 'ENOENT'
npm ERR! gyp verb which failed }
npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb which failed Error: not found: python
npm ERR! gyp verb which failed     at getNotFoundError (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed     at F (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed     at E (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp verb which failed  python Error: not found: python
npm ERR! gyp verb which failed     at getNotFoundError (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed     at F (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed     at E (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed     at D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed     at FSReqCallback.oncomplete (node:fs:198:21) {
npm ERR! gyp verb which failed   code: 'ENOENT'
npm ERR! gyp verb which failed }
npm ERR! gyp verb could not find "python". checking python launcher
npm ERR! gyp verb could not find "python". guessing location
npm ERR! gyp verb ensuring that file exists: C:\Python27\python.exe
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack     at PythonFinder.failNoPython (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\node-gyp\lib\configure.js:484:19)
npm ERR! gyp ERR! stack     at PythonFinder. (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\node-gyp\lib\configure.js:509:16)
npm ERR! gyp ERR! stack     at callback (D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\graceful-fs\polyfills.js:299:20)
npm ERR! gyp ERR! stack     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd D:\gitrepo\AzureSearch_JFK_Files\frontend\node_modules\node-sass
npm ERR! gyp ERR! node -v v16.14.2
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

For me I was running the latest version of Node but had to downgrade it to Version 14, a newer version may work than 14.
Also I installed Python 2 as well.
Hopefully a combination of above would work for you.
The whole project does need updating to new node packages, new .net packages, removing of obselete/non-supported and supporting latest version of Node and Python (it may work)
Will try to find some time to look into this

Temporary fix applied in #128


The default of an optional constant should be None

For an optional enum type with only one item, we will expect the default value is None not non-None value.
Because with a non-None value, it will change the operation behavior, which is breaking change to customer.
modelAsString to true could resolve the issue, but adding such change will cause breaking change  to .Net SDK.
So we will hope python generator could fix the issue asap.

@juliehzl seems the swagger has already been fixed, so you should be unblocked by the swagger fix.
This is still a valid scenario that autorest wants to fix, so your issue is still valuable and I will work on implementing this. Thanks @Juliehzl !


Response serialization not adhering to object mapper config

There seems to be a problem with how we initialize and/or bind the object mapper as the settings are not applied on the responses.

@b4l  could you elaborate a bit on how to reproduce the problem? There is one place where the object mapper is different. The JsonBlobMapper has some pretty printing options because the files are persisted and must readable. May this be the origin of the issue? To keep things simple, we may decide to remove the JsonBlobMapper and pretty print everything.

@bchapuis easiest is to start the studio baremaps studio --database ... --port .... and open the landing page. There should be no attributes with null

@b4l Sorry, but I havn't been able to reproduce the issue. I don't see attributes with null in the following landing page:
{"title":"Baremaps","description":"Baremaps OGC API Landing Page","links":[{"href":"http://localhost:9000/","rel":"self","type":"application/json","title":"This document (landing page)"},{"href":"http://localhost:9000/conformance","rel":"conformance","type":"application/json","title":"Conformance declaration"},{"href":"http://localhost:9000/api","rel":"service-desc","type":"application/json","title":"API description"},{"href":"http://localhost:9000/api","rel":"service-desc","type":"application/yaml","title":"API description"},{"href":"http://localhost:9000/swagger","rel":"service-doc","type":"text/html","title":"API documentation"}]}


Enable GPT "SlotRenderEndedEvent"

We have a need to know when an ad is actually filled to enable some view-ability features we are looking to add to TMZ.com. After speaking with Google they recommended adding call-backs using the 'SlotRenderEndedEvent' to run code once an ad is filled.
https://developers.google.com/doubleclick-gpt/reference#googletageventsslotrenderendedevent

moving to separate js project.


m.facebook.com

Match found in https://hosts.ubuntu101.co.za/hosts:
m.facebook.com

Even though for some reason has not very good VirusTotal score/feedback it looks like the domain is used to login to Facebook from numerous websites like Nokia,Google,Uber and so on.
Unless somebody have different opinion on the subject i think it's safe to be whitelisted.

/move to Ultimate-Hosts-Blacklist/whitelist


Appreciation and Attribution Inquiry

Dear Srikanth,
I hope this message finds you well. First and foremost, I wanted to express my admiration for the fantastic work you've done with your repository. The recent addition of auto-complete features is particularly impressive and a valuable enhancement to the project.
While reviewing the implementation details of these features, I couldn't help but notice a striking resemblance to the code found at https://github.com/rjmacarthy/twinny. The structure and approach seem very similar, albeit with some renaming and refactoring. Given the similarities, I believe it might be beneficial to acknowledge the original work from which inspiration was drawn, if that is the case.
Recognizing contributions is a cornerstone of our community, helping to foster collaboration and respect among developers. I'm sure the community, as well as the original authors, would appreciate the gesture of attributing credit where it's due.
Thank you for your consideration, and once again, congratulations on your remarkable contributions to the open-source community. Looking forward to seeing more of your innovative work.
Best regards,

Hi @rjmacarthy,
Thank you so much for your kind words. Huge respect for what you are trying to do with Twinny.
I would be more than happy to add attributions. Had already done it with the Rubberduck project in the credits section of the existing [README.md] file.
During the implementation of autocompletion functionality, I drew inspiration for getSurroundingCodeContext,  getSurroundingCodeContext & usage of debouncer idea. The rest of the implementation which includes the way templates are handled, triggering autocompletion inference using modelfusion, skipping completion ets are in no way related to Twinny  project. Please correct me if I'm missing something here.
Thanks,
Srikanth.

Dear Srikanth,
Thank you for your response. I understand in the broad sense that this work was innovation taken mainly from the Rubberduck project. I was not referring to the project as a whole, I'm sorry if I wasn't clear and caused a misunderstanding. Whilst there are of course going to be similarities between our projects I couldn't help but notice some parallels in the code context functionality within the auto-complete feature and it was an interesting observation given the collaborative nature of open-source work.
Regardless, how you choose to interpret or act on this observation is entirely up to your discretion. I value the spirit of our community and trust your judgment in these matters.
Keep up the great work and I wish you the best of luck with this project. I'll be keeping up with your progress and can't wait to see how privy develops.
Regards,

You both guys are great! The more options community has, the better for the common good. Love you all


Ability to enable/disable splitter resizing

Should be able to instantiate a layout, but optionally disable the splitter dragging capability.

c.f. #225


cant change brightness for strip light

Keep getting the following error log whenever I try to change brightness on my strip light. it seems to be getting a value outside its limit
[30/04/2021, 16:47:17] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 294 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[30/04/2021, 16:57:22] [@milo526/homebridge-tuya-web] This plugin generated a warning from the characteristic 'Brightness': characteristic was supplied illegal value: number 294 exceeded maximum of 100. See https://git.io/JtMGR for more info.
[06/05/2021, 10:41:04] [TuyaWebPlatform] [Office strip light] Characteristic.Brightness - Tried to set brightness but failed to parse data.
{
color_mode: 'colour',
online: true,
state: 'true',
color: { hue: 125, saturation: 100 }
}

Duplicate of #149


[Request] Comma separator support for importing IDs

Would it be possible to also include comma as a valid separator when importing ids?
I was copying all the fated fortune card ids from Wowhead and their export system is using commas so I could not import the string they gave me so had to go into Notepad++ and do a "replace all , with ;" which was fine for me but would be nice for others that don't know how to do that so they don't have to change the separators 1 by 1 if they also want to import ids from Wowhead😄

https://www.wowhead.com/items/name:fated+fortune+card/quality:1

Oh wow that was quick, I tried the changes you made and can confirm it works, thanks! :)

It was a good idea and a very easy change to make, so thank you for that!


Update _get_about_info method to return a dataclass or named tuple

Migrated from GitLab: https://gitlab.com/meltano/sdk/-/issues/250
Originally created by @aaronsteers on 2021-10-21 20:57:59

The following discussion from !188 should be addressed:

[ ] @aaronsteers started a discussion:  (+1 comment)

Perhaps this should be a dataclass or named tuple instead of dict?

@aaronsteers Indeed! I had this in mind when I created https://gitlab.com/meltano/sdk/-/issues/216. An object with render_json and render_markdown methods would make for good separation of concerns. Probably worth its own issue.

View 3 previous comments from the original issue on GitLab

Addressed by https://github.com/meltano/sdk/pull/1570


Support for LLVM 12.0.1

Hi,
please add the support for v12.0.1, which was released recently ...

Added in v1.4.1.
Seems like the Clang / LLVM release process is still manual, they forgot to release binaries for macOS and Linux.
I added support for using 12.0.1-rc4 for Linux as a workaround because that is the final RC that became 12.0.1.
However, there weren't any macOS binaries for 12.0.1-rc4 either so 12.0.1 won't be available on that platform.

Perfect, thank you!

@KyleMayes FYI: Now there is an archive for Ubuntu 16.04 uploaded to the release (clang+llvm-12.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz)


chore: separate ESLint configs per package

This lets each package use a different ESLint config than the root one.

It enables using different ESLint configs per package. Since the previous ESLint config included some React-specific rules(like banning usage of class in JSX, which is perfectly valid in Solid, Preact, Vue, etc.), it was somewhat inconvenient to work with non-React frameworks.

If you rebase on the main branch, I will merge it.

Done! :D


Russian translation fix 1

Thank you. You are right, I was wondering if mode was redundant there and you just confirmed it.