update stash failure isn't fatal

iMac-TMP:~ joe$ brew instal -dvs b2-tools
Formula/git-flow-avh.rb: needs merge
Formula/git-flow.rb: needs merge
Formula/git-flow-avh.rb: needs merge
Formula/git-flow.rb: needs merge
Formula/git-flow-avh.rb: unmerged (26c791d6d32757f380ae40b38aeeb2ae14c33366)
Formula/git-flow-avh.rb: unmerged (fddccb00424b691c3e2342fbc95b5e181f73869d)
Formula/git-flow-avh.rb: unmerged (4934658d5fb3feb52fd4a6dc6933011945efb005)
Formula/git-flow.rb: unmerged (39594e0dd3a157ba78f502247fd1e0ec4460a3b7)
Formula/git-flow.rb: unmerged (e586bc6d70887cc8a899c5ae0993cf8e31348d7e)
Formula/git-flow.rb: unmerged (7ca7c638dc644f37648b239648a575c6115f1cb3)
fatal: git-write-tree: error building trees
Cannot save the current index state
/usr/local/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Taps/homebrew/homebrew-core/Formula/b2-tools.rb
==> Using the sandbox
/usr/bin/sandbox-exec -f /tmp/homebrew20160820-72401-15wz3y6.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I /usr/local/Library/Homebrew -- /usr/local/Library/Homebrew/build.rb /usr/local/Library/Taps/homebrew/homebrew-core/Formula/b2-tools.rb --verbose --debug
/usr/local/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Library/Taps/homebrew/homebrew-core/Formula/b2-tools.rb
==> Downloading https://github.com/Backblaze/B2_Command_Line_Tool/archive/v0.6.4.tar.gz
Already downloaded: /Users/joe/Library/Caches/Homebrew/b2-tools-0.6.4.tar.gz
==> Verifying b2-tools-0.6.4.tar.gz checksum
tar xvzf /Users/joe/Library/Caches/Homebrew/b2-tools-0.6.4.tar.gz
etc. etc.

Fairly sure this just blew away some work I had been doing on b2-tools.
CC @MikeMcQuaid

@MikeMcQuaid bump on this. This seems to be a critical bug if it's running a hard reset after stash failure and doing so automatically due to the autoupdate. I've currently disabled auto update everywhere as a result.

It's on my list.

But with Git in general I would say: always commit things sooner rather than later to avoid losing data.

Yeah, I could change my workflow not to use brew edit at all. I ended up redoing the work in a completely different way in this case, so there is a silver lining :laughing:


Kafkajs - confluent schema registry error while consuming message from java avro producer (Magic byte)

Hi
I have a spring cloud producer which uses a confluent schema registry that generates and publishes to Kafka topic every 15 seconds. I can successfully consume messages from java consumers without any issue.
I wrote a node js consumer using Kafka js, it shows error while consuming the message from topic
I have source code here. Please have a look and provide points to figure out the issue.
{
   "level":"ERROR",
   "timestamp":"2021-08-30T09:36:01.664Z",
   "logger":"kafkajs",
   "message":"[Consumer] Crash: KafkaJSNumberOfRetriesExceeded: Message encoded with magic byte {\"type\":\"Buffer\",\"data\":[72]}, expected {\"type\":\"Buffer\",\"data\":[0]}",
   "groupId":"test-group",
   "retryCount":5,
   "stack":"KafkaJSNonRetriableError\n  Caused by: ConfluentSchemaRegistryArgumentError: Message encoded with magic byte {\"type\":\"Buffer\",\"data\":[72]}, expected {\"type\":\"Buffer\",\"data\":[0]}\n    at SchemaRegistry.decode (/Users/ereshgorantla/Documents/Dev/My Work/node/kafka-consumer/node_modules/@kafkajs/confluent-schema-registry/dist/SchemaRegistry.js:133:19)\n    at Runner.eachMessage (/Users/ereshgorantla/Documents/Dev/My Work/node/kafka-consumer/src/consumer.js:25:43)\n    at Runner.processEachMessage (/Users/ereshgorantla/Documents/Dev/My Work/node/kafka-consumer/node_modules/kafkajs/src/consumer/runner.js:151:20)\n    at onBatch (/Users/ereshgorantla/Documents/Dev/My Work/node/kafka-consumer/node_modules/kafkajs/src/consumer/runner.js:287:20)\n    at /Users/ereshgorantla/Documents/Dev/My Work/node/kafka-consumer/node_modules/kafkajs/src/consumer/runner.js:339:21\n    at invoke (/Users/ereshgorantla/Documents/Dev/My Work/node/kafka-consumer/node_modules/kafkajs/src/utils/concurrency.js:38:5)\n    at push (/Users/ereshgorantla/Documents/Dev/My Work/node/kafka-consumer/node_modules/kafkajs/src/utils/concurrency.js:51:7)\n    at /Users/ereshgorantla/Documents/Dev/My Work/node/kafka-consumer/node_modules/kafkajs/src/utils/concurrency.js:60:53\n    at new Promise (<anonymous>)\n    at /Users/ereshgorantla/Documents/Dev/My Work/node/kafka-consumer/node_modules/kafkajs/src/utils/concurrency.js:60:20"
}

I was wondered, kafka js compares magic byte
async decode(buffer) {
        if (!Buffer.isBuffer(buffer)) {
            throw new errors_1.ConfluentSchemaRegistryArgumentError('Invalid buffer');
        }
        const { magicByte, registryId, payload } = wireDecoder_1.default(buffer);
        if (Buffer.compare(wireEncoder_1.MAGIC_BYTE, magicByte) !== 0) {
            throw new errors_1.ConfluentSchemaRegistryArgumentError(`Message encoded with magic byte ${JSON.stringify(magicByte)}, expected ${JSON.stringify(wireEncoder_1.MAGIC_BYTE)}`);
        }
        const schema = await this.getSchema(registryId);
        return schema.fromBuffer(payload);
    }

Hi, Any inputs are highly appreciated.

I am running into same problem. I am having problem to decode Avro message sent from Java service. Java service is simple Spring Boot service.
Here is the repo of it
https://bitbucket.org/nicholasnet/boot-kafka-poc/src/master/
I am using this Gradle plugin https://github.com/davidmc24/gradle-avro-plugin as well. I can see message perfectly in Control Center as well.

In my experience, if you can see the message properly broken out in control center (except on confluent cloud, where control center doesn't parse messages correctly, yet), then it is being encoded correctly.  However, it is also hard to see how the parsing code pasted into this method could be defective.
wireDecoder.default is implemented like this:
export default (buffer: Buffer) => ({
  magicByte: buffer.slice(0, 1),
  registryId: buffer.slice(1, 5).readInt32BE(0),
  payload: buffer.slice(5, buffer.length),
})

So it really does seem to be getting a value of 72 in the first byte.
Any chance you have an incorrectly encoded message in the topic before the correctly encoded ones?  Can you start the consumer so it starts with the most recent message instead of message 0?
@nirmal-chg, I took a quick look at your java client code and see no reason why it should be encoding incorrectly, so I think the same question would apply to you.  Can you try with a freshly created topic or only consume new messages?

@ideasculptor thank you very much for looking into this issue. I created the consumer in Java/Kotlin side to see if it can consumer its own created message or not..... and it ran fine. Furthermore, I swaped to the plugin to use Maven Avro plugin thinking that may be plugin is faulty but that was not the case because in Java side everything run fine.
So, seems like there is some issue in JS side. Here is my JS code if it helps which is borrowed from example directly.
const { Kafka } = require('kafkajs')
const { SchemaRegistry, SchemaType } = require('@kafkajs/confluent-schema-registry')

const kafka = new Kafka({ clientId: 'group_id', brokers: ['localhost:9092', 'localhost:9101'] })
const registry = new SchemaRegistry({ host: 'http://localhost:8081/' })
const consumer = kafka.consumer({ groupId: 'group_id' })

const schema = `
{
    "type": "record",
    "name": "Telemetry",
    "namespace": "com.playpen.kafkaDemo.entity",
    "fields": [
        {
            "name": "id",
            "type": {

                "type": "string",
                "logicalType": "uuid"
            }
        },
        {
            "name": "clientId",
            "type": {

                "type": "int"
            }
        },
        {
            "name": "speed",
            "type": {

                "type": "int"
            }
        },
        {
            "name": "timestamp",
            "type": {

                "type": "long",
                "logicalType": "local-timestamp-micros"
            }
        }
    ]
}
`

const run = async () => {
  await consumer.connect()
  await consumer.subscribe({ topic: 'car-events', fromBeginning: true })

  const { id } = await registry.register({ type: SchemaType.AVRO, schema }) // { id: 2 }

  console.log(id)

  await consumer.run({
    eachMessage: async ({ topic, partition, message }) => {
      const decodedKey = await registry.decode(message.key)
      const decodedValue = await registry.decode(message.value)
      console.log({ decodedKey, decodedValue })
    },
  })
}

run().catch(console.error)

Maybe it will save someone couple of minutes.
Faced the similar traceback about Magic byte today.
In my case:

message.value - was Avro-encoded
message.key - was just plaintext

So, you might want to check your keys (or values) are actually Avro-encoded : message.key.toString()

same probleme to me. Due to this issue , i can not use kafkajs

Same issue. Found out that topic did not had an associated key schema.


review axiom for skin hemorrhage

skin hemorrhage MP:0011514 currently uses EQ:
'has part' some
('increased amount'
and ('inheres in' some
('hemorrhage and non-specified extravasation'
and ('part of' some 'skin of body')))
and ('has modifier' some abnormal))
Use 'zone of skin' for consistency; see skin fibrosis MP:0009932 and skin atrophy MP:0030584

Changed the EQ statement for skin hemorrhage MP:0011514; now uses 'zone of skin' for consistency.


Arbitrary cap of 1000 iterations in hashmap_iterate

Function hashmap_iterate has a seemingly arbitrary cap on the number of loops set to 1000. Why ? Is there any reasons for that ? Seems like it was left accidentaly or something
void hashmap_iterate(hashmap* m, hashmap_callback c, void* user_ptr)
{
	// loop through the linked list of valid entries
	// this way we can skip over empty buckets
	struct bucket* current = m->first;

	int co = 0;

	while (current != NULL)
	{
		#ifdef __HASHMAP_REMOVABLE
		// "tombstone" check
		if (current->key != NULL)
		#endif
			c((void*)current->key, current->ksize, current->value, user_ptr);

		current = current->next;

		if (co > 1000)
		{
			break;
		}
		co++;

	}
}

It looks like this was for debugging, and I forgot to remove it lol. The counter has been removed. Thanks for pointing this out! I'm surprised it took so long for this issue to be discovered.


Communicator error checking

Within the Communicator object, we need error checking and safety for:
in Communicator::queueMsg, currently it doesn't check if there's a queue in existence for that specific hardware. All hardware needs to be attached before messages are queued for that hardware.
In Communicator::sendNextMessage, currently we don't do any checking for if there are messages that need to be sent, it will just try to send the next message. It also doesn't check if the queue has been created for that hardware, and it can currently fail if you try to send a message for hardware that hasn't been attached yet.

We should do this on the branch Communicator_Dev, and then merge the new features and the safety this ticket adds into master AFTER we have physically tested it on an arduino.


how to implement the rotation???

how to implement the rotation??
i want to image rotation in my project.
but i have many issue.
this project was implemented the rotation that the image makes rotated image..
this function use libaray??
please help me...

Closing since this is incomplete. You did not provide any example code that shows the problems you have. Rotation of pages is available in e.g., the default viewer.


uptime: not updated after a crash

pg_conf_load_time() et pg_postmaster_start_time are not updated when a crash occurs and the postmaster restarts all its children. The uptime service does not raise an alert.
Idea: check pg_stat_activity.backend_start for some vital process like checkpointer? (10+)
I have no idea to track unexpected  restarts before 10 though.

Plan:

(10+) use the backend_start from the checkpointer from pg_stat_activity

Before v10:

Searching for the start time of the checkpointer process? It would work only if check_pga is running on the PG server; risk of mixing processes from different instances

Searching in the logs is IMHO out of scope of this service

See #PR182 for 10+
For 9.1 to 9.6:
I'm wondering if pg_stat_get_db_stat_reset_time and pg_stat_get_bgwriter_stat_reset_time() (9.1+) would be helpful.
Rule : If the oldest not-NULL of these dates is after the  pg_postmaster_start_time(), take it as uptime. Possibly take a given database as a reference (you never reset stats manually on template1)?

Hi,
You can not rely on *_reset_time functions as users can use them whenever they want.
Moreover, terminating all backends to reset the shared_buffers is not a real restart on its own. What you seems to seek for is a way to detect a backend crashed and when it did (and I have no idea how to do it right now).

You can not rely on *_reset_time functions as users can use them whenever they want.

Right, that is only because I cannot rely on backends restart time before PG10 (remotely at least). If you reset all stats time for all databases (even template1?), you usually know it.

terminating all backends to reset the shared_buffers is not a real restart on its own

From user's point of view, it is : connections dropped, transactions  canceled....
Such a thing is usually worth an investigation. And I know no automated way to detect it with check_pga. Such a restart is not obvious on weekly charts.

From user's point of view, it is : connections dropped, transactions canceled....
Such a thing is usually worth an investigation. And I know no automated way to detect it with check_pga.

If it worth investigating (and it does), investigating imply you can read the logs which are packaed with WARNING/ERROR messages in such situation :)
But I agree an alert from the supervision might be useful...if possible.

Such a restart is not obvious on weekly charts.

I suppose the cache hit miss ratio should drop after the shared buffers reset.

indeed. However, if you set alert on cache hit/miss ratio, you should catch one with a very very low ratio.
I agree this is not the best and straight solution for this issue, but I have no other idea right now :/

Note that even for 10+, your solution is an non-direct side effet as well :/ A much better one, mush node direct anyway...


The nightlys are not being uploaded to PyPI

The last nightly was uploaded almost half a month ago

And I guess they never were? In my head nightly means that it's being updated every day, but I guess here was meant to be "it's being uploaded every now and then"? :P

the latest triton nightly is not compatible with PyTorch trunk due to the tl.libdevice to tl.math change, will be great to update.

Yep. Stop uploading them a while back but i can revive the nightly build :)

@ptillet Please revive the nightlies.  For those on the edge, we are willing to test and accept compat issues.

Yes, we're working on it. Hosting them on the default PyPI index isn't sustainable, so we're in the process of securing long-term storage. Shouldn't take too long :)


Add scan type as option

Issue
Closed PR for discussions

Image Scan passing
FS Scan passing

Hello @simar7 and @danielpacak I have pushed changes as requested, and already tested the pipeline on my test repo for both image & fs scan please help review again.

hey @rahul2393 - after having an offline discussion with @danielpacak I think we should reconsider his previous comment about keeping it all in YAML rather than a shell script. #27 (comment)
He has a quick example branch here 1975dcb if you want to take a look at it.

Thanks for review,  how will we make sure that it stays backward compatible using YAML only?

hey @rahul2393 - after having an offline discussion with @danielpacak I think we should reconsider his previous comment about keeping it all in YAML rather than a shell script. #27 (comment)
He has a quick example branch here 1975dcb if you want to take a look at it.

Thanks for review, how will we make sure that it stays backward compatible using YAML only?

hey @rahul2393 - after having an offline discussion with @danielpacak I think we should reconsider his previous comment about keeping it all in YAML rather than a shell script. #27 (comment)
He has a quick example branch here 1975dcb if you want to take a look at it.

Thanks for review, how will we make sure that it stays backward compatible using YAML only?

I personally think if it's a new release it's worth not making it backwards compatible. But if we go down this route, could we accommodate other artifacts like this feature request wants us? https://github.com/aquasecurity/trivy-action/issues/23

@simar7 we can at any time include any type of flag, its just adding the if block in shell as we are doing for other flags here
https://github.com/aquasecurity/trivy-action/pull/27/files#diff-6f9d41d046756f0ddc2fcee0626bdb50100d12b88f293734eff742818e03efa2R51-R53

@simar7 we can at any time include any type of flag, its just adding the if block in shell as we are doing for other flags here
https://github.com/aquasecurity/trivy-action/pull/27/files#diff-6f9d41d046756f0ddc2fcee0626bdb50100d12b88f293734eff742818e03efa2R51-R53

Thanks, I understand. In that case let's go ahead with this for now and we can always improve upon it. I will give it another test today and merge it in if it looks good.


Price check hotkeys stopped working with 0.4.2

The hotkeys for price checking stopped working for me since 0.4.2(same on 0.4.3) and on 0.4.1 it still works fine. It seems to only affect price checking because the hideout and dnd hotkeys work fine.

Windows 10 Pro 64bit 1909
PoE does not run as admin and is not in a folder that requires admin

Edit: I have price check on Alt + D like 766b

I changed my modifier hotkey from Ctrl to Alt, and it stopped working as well. If I change it back to Ctrl+D then it works.

Also noticed that changing the keybind to use Alt instead did not work.

The ALT-Key is currently unsupported. I've used another method to capture the keybindings in order to get a passive listener mode without blocking other applications.

Should be fixed with 0.4.4. Let me know if it works! Thanks.

0.4.4 works! Thanks for the quick fix


how does authentication works in a clustered environment

If we have an emqx cluster(A, B, C, D), and if I add username password on one node(A), then the same will be reflected on other nodes? that mean can I connect to other nodes in the cluster using the same username and password?

Yes, you can if the node started emqx_auth_username plugin.
The all of usernames will store to the distributed database named Mnesia


Extract Zally-Core subproject

Created "zally-core" subproject

The intention is to move all of the core rule processing here, hopefully without spring dependencies if they can be avoided.
Paving the way for clearly separate modules as discussed in #560

Moved JsonPointers utilities into the core project

Refactored them to be more idiomatic Kotlin extension functions.

Codecov Report

Merging #1097 into master will increase coverage by 2.86%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1097      +/-   ##
============================================
+ Coverage     85.18%   88.04%   +2.86%
+ Complexity     1114       85    -1029
============================================
  Files           176       69     -107
  Lines          2814     1046    -1768
  Branches        467       71     -396
============================================
- Hits           2397      921    -1476
+ Misses          202       88     -114
+ Partials        215       37     -178

Impacted Files
Coverage Δ
Complexity Δ

...do/zally/rule/zalando/PascalCaseHttpHeadersRule.kt

.../zally/rule/zalando/KebabCaseInPathSegmentsRule.kt

...lly/rule/zalando/UseStandardHttpStatusCodesRule.kt

...ally/rule/zalando/NestedPathsMayBeRootPathsRule.kt

...zally/rule/zalando/DateTimePropertiesSuffixRule.kt

...o/zally/rule/zalando/LimitNumberOfResourcesRule.kt

...ava/de/zalando/zally/statistic/ReviewStatistics.kt

.../main/java/de/zalando/zally/rule/RulesValidator.kt

...o/zally/configuration/RulesManagerConfiguration.kt

...a/de/zalando/zally/rule/CompositeRulesValidator.kt

... and 76 more

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 0c31dbf...9d9d065. Read the comment docs.

:+1:

👍

@tkrop, @maxim-tschumak do want also to check or should I merge it?

👍

@tkrop @zeitlinger could you please review and bump this PR?

@roxspring great work - sorry that I didn't catch this thing with escape before.

:+1:

👍


Support for CosmosDb on Azure

Adding an issue for PR submitted by @tomconte
From Pull Request
I am proposing this CosmosDB module and example I wrote for using on a project I am working on, where we needed to assert certain Cosmos properties after deployment. I tried to follow the model of other Azure module contributions.
Link to Pull Request
#740

@yorinasub17 would you please close this issue, PR was merged

Thanks! Closing.


callback with an error when the response is falsy instead of throwing…

Instead of throwing an exception in the runtime callback with an error so we don't crash the entire process from connection.js#oauthRefreshFn.

@ghmeier yeah it was causing some of our contacts workers to die and restart unexpectedly :(

taken from https://service.us2.sumologic.com/ui/#/search/38fd6d9c_095e_2e70_dea4_ff36d1c59623


Update k8s.io/api and friends to v0.24.1

Description

Closes:

https://github.com/Shopify/kubeaudit/pull/432
https://github.com/Shopify/kubeaudit/pull/431
https://github.com/Shopify/kubeaudit/pull/430
https://github.com/Shopify/kubeaudit/pull/429

And bumps the version from 0.17.0 to 0.17.1 to prep for a release.
Type of change

[x] Dependency updates

How Has This Been Tested?

Checklist:

[ ] I have :tophat: my changes (A 🎩 specifically includes pulling down changes, setting them up, and manually testing the changed features and potential side effects to make sure nothing is broken)
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] The test coverage did not decrease
[ ] I have signed the appropriate Contributor License Agreement

Hm I thought opening a new PR might fix the CLA check but I guess it's just broken ¯\(ツ)/¯


error with missing Type of | null for the loadDirectoryConfig

Using latest release of Grav and Admin
while inside the pages GUI

clickin on the Configuration - Top Right Corner

errors out due to the loadDirectory expecting an Array but getting a null
i could provide more details if needed but i think this is a bug ?

This this appears to be fixed in the upcoming 1.7.19 according to the changelog - close ticket?

I haven't checked this. I'll comeback later on today/tomorrow with an answer.

sorry for the delayed response
it works as expected now


build: fix emotion theme errors when npm link @superset-ui/core

SUMMARY
Fix a new build error from npm link @superset-ui/core, which is caused by duplicate copies of @emotion/core registering themes separately. See code comments for details.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TEST PLAN

Run npm link @superset-ui/core and npm run dev-server
Go to a page with Superset style select (e.g., Explore page for table viz)
You may see following JS error:

This PR should fix that.

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12510 (bef1c5f) into master (241f380) will decrease coverage by 5.99%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12510      +/-   ##
==========================================
- Coverage   66.72%   60.72%   -6.00%
==========================================
  Files        1015      529     -486
  Lines       49597    19612   -29985
  Branches     5081     5081
==========================================
- Hits        33094    11910   -21184
+ Misses      16373     7494    -8879
- Partials      130      208      +78

Flag
Coverage Δ

cypress
?

javascript
60.72% <ø> (ø)

python
?

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 241f380...bef1c5f. Read the comment docs.

Codecov Report

Merging #12510 (bef1c5f) into master (241f380) will decrease coverage by 5.99%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12510      +/-   ##
==========================================
- Coverage   66.72%   60.72%   -6.00%
==========================================
  Files        1015      529     -486
  Lines       49597    19612   -29985
  Branches     5081     5081
==========================================
- Hits        33094    11910   -21184
+ Misses      16373     7494    -8879
- Partials      130      208      +78

Flag
Coverage Δ

cypress
?

javascript
60.72% <ø> (ø)

python
?

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 241f380...bef1c5f. Read the comment docs.

i still have this problem! help me?


Convert SFCs to use script lang TS

Doing this lead to the discovery of some typos and a few possible bugs, which turned out to be false alarms.
This only a surface-level conversion, which means:

It was necessary to use any or ts-ignore in some places, because the dependencies' types aren't available yet (for example, in places using backend-api.ts)
When working with the components in the future, any and ts-ignore should still be used liberally to ease development

it's not good for these to be open for too long (makes a mess of a merge conflict) so i'm just gonna merge it and think about the ramifications later


Deal with permalink: false

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on because templates with permalink: false cause an error when running the package.
Here is the diff that solved my problem:
diff --git a/node_modules/eleventy-plugin-add-web-component-definitions/add-web-component-definitions.js b/node_modules/eleventy-plugin-add-web-component-definitions/add-web-component-definitions.js
index 2fbc2d6..da3ac31 100644
--- a/node_modules/eleventy-plugin-add-web-component-definitions/add-web-component-definitions.js
+++ b/node_modules/eleventy-plugin-add-web-component-definitions/add-web-component-definitions.js
@@ -16,6 +16,9 @@ const addChild = (body, child, position) => {
 }

 module.exports = function (options, content, outputPath) {
+  if (typeof outputPath !== 'string')
+    return content;
+
   if (!!options.path && !!options.specifiers) {
     throw new Error('You may configure a path function or import specifiers, but not both')
   }

This issue body was partially generated by patch-package.

What a great tool is patch-package! I didn't know it until now 😀
Fixing it 🛠

@bennypowers
What if your permalink actually doesn't end with html?
In the demo:
---
permalink: "whatever"
---
<custom-tag></custom-tag>

I also asked in https://github.com/11ty/eleventy/issues/653

What a great tool is patch-package! I didn't know it until now 😀
Fixing it 🛠

I know, right?

What if your permalink actually doesn't end with html?

I dunno, really, but maybe that's a separate issue?

I think I've found a good balance, tell me if it works well for you in your projects


Missing Podspec in repo

Please add the Podspec to the repo (useful to fetch a different branch directly from the Podfile without using a local repo, e.g. the "swift-2" branch).
Thank you.

Thanks for noticing. Fixed.


Provide add tag to task command

Codecov Report

Merging #123 (075dac1) into master (ad509d8) will decrease coverage by 2.39%.
The diff coverage is 2.75%.

 Learn more

LGTM


Update PatternFly pkgs

Update PatternFly pkgs to latest milestone
https://issues.redhat.com/browse/COST-481

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1640   +/-   ##
=======================================
  Coverage   78.93%   78.93%
=======================================
  Files         240      240
  Lines        4006     4006
  Branches      719      719
=======================================
  Hits         3162     3162
  Misses        746      746
  Partials       98       98

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 4b2cd17...d3eb8bb. Read the comment docs.


 Thanks!

Installing it via commit sha of v0.21.0 yields:
go install ariga.io/atlas/cmd/atlas@464a1733e51650d30f75b7d924129db0576a4ff5
go: downloading ariga.io/atlas/cmd/atlas v0.13.2-0.20240401184920-464a1733e516
go: ariga.io/atlas/cmd/atlas@464a1733e51650d30f75b7d924129db0576a4ff5 (in ariga.io/atlas/cmd/atlas@v0.13.2-0.20240401184920-464a1733e516):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

Hey @PopescuStefanRadu 👋
You can use the following command to install Atlas:
curl -sSf https://atlasgo.sh | sh

Regarding Go installation: We no longer maintain the cmd/atlas package as an executable - mainly for technical and time reasons. Atlas is used by various programming languages, like Python and Java, and the binary we distribute includes additional capabilities.

This is a major inconvenience for us without any obvious underlying technical reason.

Our cmd/atlas package uses replace to avoid adding all cmd/atlas dependencies for projects that use the root package - ariga.io/atlas (e.g., entgo.io). There's no way to go get such packages - we previously used go.work for this purpose, but it introduced different pains, and I decided to remove it.

@a8m Thank you for this explanation, is it possible to add a deprecation notice here https://pkg.go.dev/ariga.io/atlas/cmd/atlas?
Also, you closed the issue with "completed", when "won't fix" feels more appropriate, not a big deal but kind of misleading for future generations.

Also, you closed the issue with "completed", when "won't fix" feels more appropriate, not a big deal but kind of misleading for future generations.

I didn't know it's possible until now :D


Future of this project

Hi James,
at Schibsted Spain, we want to start using this library to create our ActivityStreams 2.0, but currently, the library is producing ActivityStreams 1.0 format.
We created a fork of your repository at https://github.com/scm-spain/activitystreams to start working.
We want to know if you are willing to accept pull requests of our work in the future.
Best!

Hello @odin-delrio ! I honestly have not had any free time to get this Java implementation of AS2 kept up to date. My attention has been primarily focused on the JavaScript/Node implementation and on the spec itself. I am more than happy to accept pull requests on this to get things updated!


Update readme to add asset update script and fixes

Add instructions for shutdown, running sample updates, running after the
first install.
Remove/reword sawtooth-core references.
Signed-off-by: Dan Middleton<EMAIL_ADDRESS>

I think its good to verify first that you have the basic setup running and then throw the updates at it.
From: Peter Schwarz<EMAIL_ADDRESS>Sent: Thursday, November 09, 2017 10:00
To: hyperledger/sawtooth-supply-chain<EMAIL_ADDRESS>Cc: Middleton, Dan<EMAIL_ADDRESS>Assign<EMAIL_ADDRESS>Subject: Re: [hyperledger/sawtooth-supply-chain] Update readme to add asset update script and fixes (#27)
@peterschwarz commented on this pull request.

In README.mdhttps://github.com/hyperledger/sawtooth-supply-chain/pull/27#discussion_r149850095:

@@ -43,22 +45,34 @@ Setup Instructions:

$ npm run seed-sample-assets

Navigate your browser to localhost:3000/asset

+Optionally run data feeds to update the assets (watch maps and graphs update in the browser):
+11. $ npm run update-sample-assets

+Shutdown Instructions:
+1. Navigate to sawtooth-supply-chain directory
+2. $ docker-compose down

+Subsequent Runs:
+1. $ docker-compose up
+2. Open a new terminal
+3. Navigate to sawtooth-supply-chain/server
+4. $ npm run make-asset
+5. $ npm run seed-sample-assets
+6. Navigate your browser to localhost:3000/asset
+7. $ npm run update-sample-assets
I would suggest having this be step 6
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/hyperledger/sawtooth-supply-chain/pull/27#pullrequestreview-75311199, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AExJRlbpD1cd5V5QPzVmPaI_ihWLr62Iks5s0lyzgaJpZM4QXQAG.


AbstractMesh 'metadata' object added

Added ‘metadata’ to abstract mesh class to support adding ‘any’ meta
data to the mesh. This is very useful when using the 'Exporters'.
Example: My Unity Exporter now exports 'custom properties' from the editor components.

We already support Tags for that:)
http://doc.babylonjs.com/tutorials/How_to_use_the_Tags_System

Well i was hoping to use metaData to 'attach' unity specific properties to 'GameObjects' using the BabylonJs exporter... Example Snippet from custom exporter:
`
public class UnityMetaData
{
public string type;
public string tagName;
public int layerIndex;
public string layerName;
public string shadowCasting;
public BabylonGameComponent[] gameComponents;
	public UnityMetaData()
	{
		type = "Unity3D";
		tagName = "";
		layerIndex = 0;
		layerName = "";
		shadowCasting = "Off";
		gameComponents = null;
	}
}

   [DataContract]
public abstract class BabylonGameComponent : MonoBehaviour
{
	[DataMember]
	public string className;
}
    public void ConvertFromUnity()
    {
        ExporterWindow.ReportProgress(0, "Starting Babylon.js exportation process...");
        ...

// Unity metadata
UnityMetaData metaData = new UnityMetaData();
metaData.tagName = gameObject.tag;
metaData.layerIndex = gameObject.layer;
metaData.layerName = LayerMask.LayerToName(gameObject.layer);
metaData.gameComponents = gameObject.GetComponents();
var meshRender = gameObject.GetComponent();
if (meshRender != null) {
metaData.shadowCasting = meshRender.shadowCastingMode.ToString();
}
			// Static meshes
			var meshFilter = gameObject.GetComponent<MeshFilter>();
            if (meshFilter != null)
            {
				ConvertUnityMeshToBabylon(meshFilter.sharedMesh, meshFilter.transform, gameObject, progress, metaData);
                continue;
            }

}
`
Having a 'metaData' object that goes thru 'Parse' routines makes it real easy to more 'closely' use unity editor to build my scenes.

Well i was hoping to use metaData to 'attach' unity specific properties to 'GameObjects' using the BabylonJs exporter... Example Snippet from custom exporter:
public class UnityMetaData
{
public string type;
public string tagName;
public int layerIndex;
public string layerName;
public string shadowCasting;
public BabylonGameComponent[] gameComponents;
	public UnityMetaData()
	{
		type = "Unity3D";
		tagName = "";
		layerIndex = 0;
		layerName = "";
		shadowCasting = "Off";
		gameComponents = null;
	}
}

   [DataContract]
public abstract class BabylonGameComponent : MonoBehaviour
{
	[DataMember]
	public string className;
}
    public void ConvertFromUnity()
    {
        ExporterWindow.ReportProgress(0, "Starting Babylon.js exportation process...");
        ...

// Unity metadata
UnityMetaData metaData = new UnityMetaData();
metaData.tagName = gameObject.tag;
metaData.layerIndex = gameObject.layer;
metaData.layerName = LayerMask.LayerToName(gameObject.layer);
metaData.gameComponents = gameObject.GetComponents();
var meshRender = gameObject.GetComponent();
if (meshRender != null) {
metaData.shadowCasting = meshRender.shadowCastingMode.ToString();
}
			// Static meshes
			var meshFilter = gameObject.GetComponent<MeshFilter>();
            if (meshFilter != null)
            {
				ConvertUnityMeshToBabylon(meshFilter.sharedMesh, meshFilter.transform, gameObject, progress, metaData);
                continue;
            }

}
Having a 'metaData' object that goes thru 'Parse' routines makes it real easy to more 'closely' use unity editor to build my scenes.

You can do the same using tags :) just create a tag named unityExporter and save a json serialized version of your metadata (using json.net for instance)

How would i put my metaData in the .babylon scene file that is created from the unity exporter... basically
can i edit the .babylon scene file and add something like:
"metaData" : {
"type" : "Mesh",
"parentId" : "3fc9a478-1f80-4094-b0fa-5e39e0c83096",
"tagName" : "Player",
"layerIndex" : 1,
"layerName" : "TransparentFX",
"shadowCasting" : "On",
"gameComponents" : [
{
"className" : "My.Custom.Component",
"propertyBag" : {
"testPositionData" : {
"x" : 1,
"y" : 2,
"z" : 3
},
"testNumberData" : 24,
"testFloatData" : 24.24,
"testBooleanData" : true,
"testStringData" : "some more data",
"testStringList" : [
"test 1",
"test 2"
],
"testPositionList" : [
{
"x" : 1,
"y" : 2,
"z" : 3
},
{
"x" : 4,
"y" : 5,
"z" : 6
},
{
"x" : 7,
"y" : 8,
"z" : 9
}
]
}
}
]
}
Then... how would i pull that metaData using the babylon api in javascript...
I dont wanna have to create a separate json file for my metaData

The tags are for strings... That will not work for what I'm doing. Let me try to explain my Html Game Development Pipeline.
1... I have modified the Unity Exporter to support 'metaData' to meshes, cameras and lights. Look at this .babylon scene file snippet:
"cameras" : [
	{
		"name" : "Main Camera",
		"id" : "2c767860-d0a4-4972-9ca6-a83a508f0e6b",
		"parentId" : null,
		"lockedTargetId" : null,
		"type" : null,
		"position" : [
			0,
			1,
			-10
		],
		"rotation" : [
			0,
			0,
			0
		],
		"target" : [
			0,
			1,
			-9
		],
		"fov" : 1.04719758,
		"minZ" : 0.3,
		"maxZ" : 1000,
		"speed" : 1,
		"inertia" : 0.9,
		"checkCollisions" : true,
		"applyGravity" : true,
		"ellipsoid" : [
			0.5,
			1,
			0.5
		],
		"autoAnimate" : false,
		"autoAnimateFrom" : 0,
		"autoAnimateTo" : 0,
		"autoAnimateLoop" : false,
		"animations" : null,
		"metaData" : {
			"type" : "Camera",
			"parentId" : "2c767860-d0a4-4972-9ca6-a83a508f0e6b",
			"tagName" : "MainCamera",
			"layerIndex" : 0,
			"layerName" : "Default",
			"shadowCasting" : null,
			"gameComponents" : null
		}
	}

by creating the 'metaData' as a fully serializable class (NOT JUST A STRING TAG) , i can closely attach 'unity' logic to the game objects (meshes, cameras and lights... the three main items created by the unity exporter)
2... On the client html side after scene load, i can run my UnityMetaData.Parse(scene) routine that
iterates over the scene.meshes, cameras and lights. I can then do what i want with the metaData. In my case i, i instantiate a custom babylon class passing the mesh, camera or light object. I also support a special unity script sub classed from 'BabylonGameComponent'... It has a babylon class name and property bag (contains all the simple public fields on the unity script with the [BabylonProperty] attribute).
This whole thing lets me attach Babylon Game components to my unity game objects in my scene... I can then use unity editor properties on the unity script component. it works really wells.
The client side unitymetadata parsing automatically manage metaData components, calling the game object 'Init, Tick, Destroy' life cycle methods without manually coding the components by having to do a bunch scene.getMesh functions attach functionality to my scene game objects...
It is more UNITY LIKE DESIGN EXPERIENCE.
None of this works with just BABYLON.Tags string based tags.

I think there is a misunderstanding here.
Everything that you mentioned before is already doable with a tag. Tags are string exactly like your metadata. You can set a a tag and save your json (as a string) in it.
Once loaded in Babylon.js you can query any tag anduse JSON.Parse to get your structure

At the very least, I could be ok if you add a metadata untyped item at node level.
(For simplicity sake, but once again this is clearly doable with tags)

Could we not add Serialization and Deserialization Hook instead ?
You could them rely on them to inject your custom part and reading them on the other side.
Everybody is having different needs concerning storage and I guess the more open it is, the easiest. Without making the objects grow all the time or relying on type any.

@MackeyK24 hello, sorry, we know it takes time and it's mainly due to the fact that your request initiated an internal discussion that we couldn't finish yet.
I'm advocating for the solution you proposed but at the Node class level, I don't see the point to implem 3 times the same code for a feature that could live without much consequence in the very base class.
DK will be soon online and we try to give you an answer asap.
Thanks

@MackeyK24 please revise your PR with the implem in the Node class, because it's the one that is most likely to get merged.
Thanks

Agree with @nockawa. And please stop calling things crap:)

So here is the idea:
just add a proeprty on node= public metadata: any;
and flag it with @serialize() it should be enough :)

Will Do... (Node Stuff)
NOTE: i was never calling anything to do babylon js CRAP... I was calling any EXTRA code that i would have to write to implement metaData... That would be CRAP code compared to the David's 'Node' suggestion.
JUST TO CLARIFY :)


Adds comment_allowed to LnurlPayResponse with a new class LnurlPayResponseComment

Signed-off-by: Brian of London (Dot<EMAIL_ADDRESS>Added comment_allowed field to LnurlPayResponse and modified tests.
Refrences #10

I've realised that my changes are not good: There needs to be a new class. I'm working on this.

@dni and @eillarra I'm using this in my code, I think it works, would like to see it reviewed and merged.


Photoview

When I opened PhotoView through our Roku this message came up: An error occurred in 'handleRefresh Token' . Code:400- the requested URL returned error:400 Bad Request."  I have no idea what any of this means.  Can you help me correct this error code so I can again view pictures?  It worked prior to whenever you did an update.
Thank you,
Dennis

Dennis, There has not been a production update in 5 months. When was the last time it was working? The error you are showing is on the OAuth token refresh which happens every 180 minutes. I would recommend un-registering / registering to clear you account. If that doesn't work uninstall and reinstall the channel to remove any cache.
Do you have any special characters in your displayed name? Email address?

On a side note about your other "Where is..." issue.  This channel is used by hundreds of thousands active users and was created / shared as a community offering. Now, if you want me to help you with the issue, answer the above questions and I'll respond when I'm able.

Dennis -- None of your photos are stored in the PhotoView app, so unregistering/deleting will not delete the photos from GooglePhotos itself.
Two things to try:
1.) Unregister your account from the App and re-register. To do this, open the channel, goto Settings (Looks like a Gear Wheel) and second from the bottom "Remove account link from device". This will basically reset the channel. Then follow directions to re-register.
2.) # 1  will most likely fix the issue. If not, you should remove the channel completely and re-add. To do this go to your home screen, select the PhotoView all and click the * (Star) button, then remove channel.   Then proceed to re-add the channel as you originally did. # 2 resets everything and you can then re-register.
I'll keep this "Issue" open for the time being, please circle back if one of these worked.
/Chris

Thank you a second time, Chris.  I did the #1 fix and it worked.  You can close the ‘Issue’ now.  I’m going to keep your instructional email for any future problems.  Again sorry to have caused your any angst.
Dennis
From: Chris Taylor
Sent: Wednesday, January 2, 2019 7:58 PM
To: chtaylo2/Roku-GooglePhotos
Cc: tennisdennis ; Author
Subject: Re: [chtaylo2/Roku-GooglePhotos] Photoview (#151)
Dennis -- None of your photos are stored in the PhotoView app, so unregistering/deleting will not delete the photos from GooglePhotos itself.
Two things to try:
1.) Unregister your account from the App and re-register. To do this, open the channel, goto Settings (Looks like a Gear Wheel) and second from the bottom "Remove account link from device". This will basically reset the channel. Then follow directions to re-register.
2.) # 1 will most likely fix the issue. If not, you should remove the channel completely and re-add. To do this go to your home screen, select the PhotoView all and click the * (Star) button, then remove channel. Then proceed to re-add the channel as you originally did. # 2 resets everything and you can then re-register.
I'll keep this "Issue" open for the time being, please circle back if one of these worked.
/Chris
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


KTL error

I am getting an error when loading the toolkit which is blocking my other javascript:
KTL_Defaults.js:253 KTL Setup error encountered:
TypeError: Cannot read properties of null (reading 'addEventListener')
at window.ktlReady (main.js?1703860459578&_=1703860459578:245:40)
at KTL_Defaults.js:248:24
at window.KnackApp (KTL_Defaults.js:255:7)
at KTL_Start.js:83:25
at n (k_98697145873cc4f2cf8d9e31a2917845cdac019c.js:961:1052366)
at HTMLScriptElement.y (k_98697145873cc4f2cf8d9e31a2917845cdac019c.js:961:1052465)

Dean,
Can you send me the link to your app in a private message please?  No need to login or anything, just the link will do.
Norm

Hi Dean,
Thanks for sharing your app.
I found two problems:

The code block from line 245-276 inclusive are causing the problem you see.  The code is trying to attach event handlers to elements that don't yet exist.  Ex:  document.getElementById('deleteLink').addEventListener('click', function (event) {...    I will have to find a way to help users troubleshoot this in the future because indeed, it may seem like the KTL is causing this - but it's not.
Your API key is exposed, compromising your app's data security seriously.  To all people reading this... you should NEVER see this in your code: "X-Knack-REST-API-Key".  The API key must only be used on server-side code.  There's always a key-less solution to what you're trying to achieve.  From what I can see, you need to keep a timestamp of pages accessed by users.  Good news: the KTL provides an elegant solution that does just this and a lot more, if you're interested.

Normand

Hey Norm, thanks for catching that, I hadn't realized the API was exposed as we must have been testing internally and never went back and changed. Luckily this is an internal app only so limited users but I will go back and fix that.
As for the code you believe to be the problem, it doesn't exist in my custom JavaScript, but more likely an external button that we are adding from another app's code. I will try eliminating that and see if it fixes the issue.
Thank you Norm - Dean

@djbbiz,
Let me know if I should close this issue, please.
Norm

Dean, I will close this now.  Feel free to re-open if needed.


[Live] Support for auction observers

Causality requires that we create an observer token for trial users, so we now check to see if you're logged in.
So, we now have three states:

Logged in
Logged in, registered for auction ( and thus have a bidder ID)
Logged out

This PR covers all three cases. We allow people to change the states, and changing the state is done by jumping out into the AuctionWebViewController which will trigger a full reload of the whole Live Auction with a new causality JWT.

        1 Error

  </th>
 </tr>

:no_entry_sign:
No CHANGELOG changes made

        2 Warnings

  </th>
 </tr>

:warning:
Needs testing on a Phone if change is non-trivial

:warning:
Detected some Swift building time outliers

Time | Class | Function |
| --- | ----- | ----- |226.5ms | AuctionViewController.swift | @objc dynamic func showRefineTappedAnimated(animated: Bool)
181.0ms | SwiftyJSON.swift | get {}
157.3ms | WebSocket.swift | private func processRawMessage(buffer: UnsafePointer, bufferLen: Int)

  Generated by :no_entry_sign: danger


Some problem when i want to use document to replace the communication.

I try to write the content that needs to be communicated into the document, and then complete the communication process by moving the document. For example, in the receiver, I want to use the save method of SenderOperationParms to write ParamsRequest into the document, and the sender uses the load method to read ParamsRequest from the document. But it failed, and the ParamsRequest after reading can't be used normally. Code as follow：

error as :

The problem is probably that you are not writing in binary mode, so your fstream is corrupting the saved data with some newline translations. To fix, specify std::ios::binary as the mode when opening your streams.


axios.defaults.adapter is null by default

Is there any reason why the axios.defaults.adapter property doesn't reflect the behaviour inside dispatchRequest.js?
https://github.com/mzabriskie/axios/blob/master/lib/core/dispatchRequest.js#L40
I'm trying to build my own adapter that is capable of falling back to the default adapter under certain circumstances.  With the code as it is I'm forced to duplicate the above if-elseif, i.e.:
import axios from 'axios';
if (typeof XMLHttpRequest !== 'undefined') {
  // For browsers use XHR adapter
  axios.defaults.adapter = require('axios/lib/adapters/xhr');
} else if (typeof process !== 'undefined') {
  // For node use HTTP adapter
  axios.defaults.adapter = require('axios/lib/adapters/http');
}

There's actually an open PR for that: https://github.com/mzabriskie/axios/pull/437
I hope it'll be merged soon.

@rubennorte cheers mate. I notice that your PR seems to also include some extra refactoring. I suspect there was a reason @mzabriskie used the Promise.resolve(config) approach to support the adapter function async or sync.
I submit this PR as the lightest touch to fix the issue of not having access to the default adapter.

It has to do with error detection/recovery, not with sync/async as adapters must return promises by definition. I'm discussing it with him now so I think we'll solve it soon.

It has already been merged. I hope it will bd released soon.


Don't release target.'cfg(any())'.dependencies

Currently, leptos_icons includes in Cargo.lock's dependants the following array:
dependencies = [
 "bytes",
 "encoding_rs",
 "icondata_core",
 "lazy_static",
 "leptos",
 "log",
 "paste",
]

Altough the dependencies are not installed neither shown running cargo tree:
│   ├── leptos_icons v0.3.1
│   │   ├── icondata_core v0.1.0
│   │   └── leptos v0.6.13 (*)

Additionally, these "phantom" dependencies are included in the crates.io page.
All of these make the auditing process of dependencies confusing and harder. I'm not sure why the fake target is needed for -Zminimal-versions but we can stop releasing that part of the Cargo.toml file.

This is sad, but it is required for the crate to guarantee compilation. This is because leptos does not manage their dependencies correctly. Imagine the following scenario:
Someone builds a project relying on bytes = "1.1.0", and leptos = "0.6.14". leptos here is at fault because it specifies bytes = "1" in their server_fn crate, but it actually uses features from bytes = "1.2". Now what happens is that cargo will choose any bytes = "1.1.x" version (the most recent usually), and will also make leptos depend on this version, to not compile the crate twice and because 1.1.x matches the broad bytes = "1" constraint. But now, the user's project does not compile!
We mitigate this here by explicitly relying on the crates in our Cargo.toml, but without actually building them. This modifies the edges in the dependency graph to use the right versions of the crates.
I don't see how this makes auditing harder, as leptos itself depends on these crates. Can you explain to me why it makes auditing harder?
to mitigate the problem on crates.io, I have marked the dependencies as optional = true which adds a little tag on crates.io.

I don't see how this makes auditing harder, as leptos itself depends on these crates. Can you explain to me why it makes auditing harder?

Well, the auditing process usually goes from inside to outside, from the dependants to their dependencies to the root. In this case leptos_icons depends on leptos itself. I've audited first leptos_icons and then would be leptos, but since the 0.7 version is coming I'll postpone it until after the release.
The hardening part comes from the fact that these dependencies seem to be real dependencies of leptos_icons, which is confusing at a first glance. Even looking at the Cargo.toml, is not clear if dependencies defined at target.'cfg(any())'.dependencies are dependencies of leptos_icons as this cfg attribute is not documented anywhere.

to mitigate the problem on crates.io, I have marked the dependencies as optional = true which adds a little tag on crates.io.

That looks better.

We mitigate this here by explicitly relying on the crates in our Cargo.toml, but without actually building them. This modifies the edges in the dependency graph to use the right versions of the crates.

IMO doesn't seem a good practice. Shouldn't be this problem fixed on Leptos itself instead on one of their dependencies? Should all leptos crates do this to mitigate the same problem if a project is not using leptos_icons?

Its seems like all of the dependencies issues are fixed for leptos 0.7, so we will be able to remove all of them once 0.7 is out.


added hotkeys for religious units: spread religion, remove heresy, heal

This adds the following hotkeys for Missionaries and Apostles:

R for Religious Spread
H for Religious Heal
also R for Inquisitors (remove heresy / spread religion)

tested this by selecting a missionary unit and pressing "R" next to a city - observed the unit spreading religion.
also, UnitOperations.log file has this log record:
229, Adding, 0, UNIT_MISSIONARY (8716290), UNITOPERATION_SPREAD_RELIGION (38)
tested the religious heal by moving a damaged apostle unit next to a holy site and pressing "H" - observed the unit to go into sleeping (I assume healing) mode.
UnitOperations.log shows:
229, Adding, 0, UNIT_APOSTLE (4063245), UNITOPERATION_REST_REPAIR (33)
similarly - spreading religion with an apostle unit: pressed "R" -
229, Adding, 0, UNIT_APOSTLE (3407891), UNITOPERATION_SPREAD_RELIGION (38)

totally dig that you were able to do these changes!  I like the suggested edits as well, all sorts of goodness here

I did not see a class file with definitions for "UnitOperationTypes.REBASE" and similar operations in https://github.com/civfanatics/Civ6-UIFiles or https://github.com/civfanatics/Civ6-UIFiles-Restructured repos. are they hidden in some base game DLL or something?
also, is there any difference in referencing "UnitOperationTypes.XXXX" vs "GameInfo.UnitOperations["UNITOPERATION_XXXX"].Hash" ?

I did not see a class file with definitions for "UnitOperationTypes.REBASE" and similar operations in https://github.com/civfanatics/Civ6-UIFiles or https://github.com/civfanatics/Civ6-UIFiles-Restructured repos. are they hidden in some base game DLL or something?

I think so. I did not see them defined in any of the Lua UI files, just saw some usages and figured/guessed the usage from there.

also, is there any difference in referencing "UnitOperationTypes.XXXX" vs "GameInfo.UnitOperations["UNITOPERATION_XXXX"].Hash" ?

I don't think there is any difference in the values, I checked one or two and it looked the same. I don't know the Lua language well so what follows is just a guess. There might be a difference in how fast the operation happens, I would assume the  "UnitOperationTypes.XXXX" to be just a lookup and so a little bit faster. I would assume "UnitOperationTypes.XXXX" is just a subset/cached/pre-calculated version of "GameInfo.UnitOperations["UNITOPERATION_XXXX"].Hash", whichever ones the unmodded game uses are ones Firaxis devs cache.


fix(completions): log source code when env fails to build

Closes #403

#404  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mhanberg and the rest of your teammates on  Graphite


PCN use emd：In  module.py  assert(n == m)，return AssertionError

Traceback (most recent call last):
File "/home/zhao/doc/MVP_Benchmark-main/completion/train.py", line 219, in
train()
File "/home/zhao/doc/MVP_Benchmark-main/completion/train.py", line 140, in train
out2, loss2, net_loss = net(inputs, gt, alpha=alpha)
File "/home/zhao/anaconda3/envs/mvp/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/zhao/anaconda3/envs/mvp/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 153, in forward
return self.module(*inputs[0], **kwargs[0])
File "/home/zhao/anaconda3/envs/mvp/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "/home/zhao/doc/MVP_Benchmark-main/completion/models/pcn.py", line 96, in forward
loss1 = calc_emd(out1, gt)
File "/home/zhao/doc/MVP_Benchmark-main/completion/model_utils.py", line 83, in calc_emd
dist, _ = emd_loss(output, gt, eps, iterations)
File "/home/zhao/anaconda3/envs/mvp/lib/python3.7/site-packages/torch/nn/modules/module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "../utils/metrics/EMD/emd_module.py", line 88, in forward
return emdFunction.apply(input1, input2, eps, iters)
File "../utils/metrics/EMD/emd_module.py", line 47, in forward
assert(n == m)
AssertionError
进程已结束,退出代码1

EMD loss requires the "input point cloud" and the "GT point cloud" to have the same number of points.
You may check the emd loss here:
http://robotics.stanford.edu/~rubner/papers/rubnerIjcv00.pdf


Pokemon Sword

The problem I'm trying to solve:
Which files I need to download for play pokmon sword can you help me please.
I have the pokemon xci file,main main.romfs ,secure document,update.
I don't know what is missing can you help me?

https://github.com/github/hub/issues/2421#issuecomment-566178407


Bad texture of rawors building

Mod source
Github
Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[X] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
Wrong connection pipe in texture of rawors building.

Steps to reproduce
No response
Additional context
No response
Log file
No response

Can you provide a log? That looks like cables from a built-in-wiring type mod

Cannot reproduce. Closing.


Thumbnail and title for every episode

Describe your suggested feature
There should be thumbnail for every anime episodes and Titles for the episodes. I know some extension does have episode titles but some doesn't have.
Other details
No response
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 extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

Thumbnails are not going to be added as it puts stress on the sources.
Episode titles are provided by the source. If they don't provide it then they can't be shown on aniyomi


Stuck on Android 11

Hi i think its a bug or it didnt work well on Android 11?
the progressbar wont updating at all, but when i check on my download folder the file is exists, it works well on Android 10 and below, thanks

Problems due to changing accesses in Android 11 You can solve the problem by changing the address of the file to be downloaded
File file = new File(getActivity().getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS), "Something");
if (!file.exists()) {
file.mkdirs();
}
downloadInfo = new DownloadInfo.Builder().setUrl(getLinkAddress())
.setPath(file+getFileName()+fileType)
.build();

Thanks for reply,, gotta apply it right now


Move sample independent watch app under Example folder

instead of the messaging's  unit test app folder

revert this as I realize I pull from the wrong branch.


Added pending_if_incomplete payment behaviour

This one was missing from StripeSubscriptionItemPaymentBehavior enum.

Can you combine all of your PRs into one?

This is being addressed in one PR #109


TypeError: expected string or buffer

https://github.com/tomv564/LSP/blob/e37c4e6d7d959890c465cada35dff7fef22feb6e/plugin/core/types.py#L50-L54
It happened only once so far, when plugin_loaded was called on start up. After restarting Sublime Text right away, it did not happened again.
Traceback (most recent call last):
  File "F:\SublimeText\sublime_plugin.py", line 298, in on_api_ready
    plc()
  File "F:\SublimeText\Data\Packages\LSP\boot.py", line 30, in plugin_loaded
    startup()
  File "F:\SublimeText\Data\Packages\LSP\plugin\core\main.py", line 25, in startup
    start_active_window()
  File "F:\SublimeText\Data\Packages\LSP\plugin\core\main.py", line 44, in start_active_window
    windows.lookup(window).start_active_views()
  File "F:\SublimeText\Data\Packages\LSP\plugin\core\windows.py", line 336, in start_active_views
    self._initialize_on_open(view)
  File "F:\SublimeText\Data\Packages\LSP\plugin\core\windows.py", line 348, in _initialize_on_open
    self._configs.syntax_configs(view))
  File "F:\SublimeText\Data\Packages\LSP\plugin\core\configurations.py", line 120, in syntax_configs
    return list(filter(lambda c: config_supports_syntax(c, syntax) and c.enabled, self.all))
  File "F:\SublimeText\Data\Packages\LSP\plugin\core\configurations.py", line 120, in <lambda>
    return list(filter(lambda c: config_supports_syntax(c, syntax) and c.enabled, self.all))
  File "F:\SublimeText\Data\Packages\LSP\plugin\core\types.py", line 81, in config_supports_syntax
    if re.search(r'|'.join(r'\b%s\b' % re.escape(s) for s in language.syntaxes), syntax, re.IGNORECASE):
  File "./python3.3/re.py", line 161, in search
TypeError: expected string or buffer

Thanks for reporting! I am guessing the 'syntax' argument is None ? Perhaps we can guard against this?

I am not sure yet. Since I added the debug message, I did not receive it yet.
But, if it is receiving None, I would investigate first from where it comes from. I will know more when this happens again because later on, I also added for it to print the stack trace.

I'm seeing a similar error:
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 369, in <lambda>
    lambda: check_view_event_listeners(view))
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 356, in check_view_event_listeners
    want = is_view_event_listener_applicable(cls, view)
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 321, in is_view_event_listener_applicable
    if not cls.is_applicable(view.settings()):
  File "/Users/margus/Library/Application Support/Sublime Text 3/Packages/LSP/plugin/completion.py", line 144, in is_applicable
    return is_supported_syntax(syntax)
  File "/Users/margus/Library/Application Support/Sublime Text 3/Packages/LSP/plugin/core/configurations.py", line 91, in is_supported_syntax
    if re.search(r'|'.join(r'\b%s\b' % re.escape(s) for s in language.syntaxes), syntax, re.IGNORECASE):
  File "./python3.3/re.py", line 161, in search
TypeError: expected string or buffer

I traced it back to:
https://github.com/tomv564/LSP/blob/6d64e31fed6a008473ed3f692c85cb94e45be17e/plugin/completion.py#L141
it seems there is a bug of some sort in sublime, where settings.get('syntax') returns 0 instead of None. Might be the issue for the original report as well.
Atm I fixed it with just removing the strict None check:
if syntax:

It could be a new bug on Sublime Text Core similar to:

https://github.com/SublimeTextIssues/Core/issues/2548 view.settings().get('setting_name', 10) returns None randomly

If you can, you could try to isolate and figure out where it is coming from.

Thanks for linking to Sublime Text issues - it feels like recent developments (are you guys all on dev builds?) are responsible for this. Would like to avoid changing to less-precise logic if ST fixes this on their end.

I am not using dev builds since they started crashing in December last year: https://github.com/SublimeTextIssues/Core/issues/2519
As of now, I use the latest stable build 3200.

Same here, stable 3200.

Ah, a new non-dev build came out, that would explain things. Given the number of users on 3200 I think @kerma's fix might be worth releasing!


ci: use a single worflow for test, lint, format and docs

Current dependencies on/for this PR:

main

PR #76   👈

This stack of pull requests is managed by Graphite.


[GOREPORT] Fix linting issues maya/command/volume_update.go

Goreport is showing several linting errors. Please see the report at
https://goreportcard.com/report/github.com/openebs/maya
This issue is to fix the errors in
https://github.com/openebs/maya/blob/master/command/volume_update.go
Line 8: warning: exported type VsmUpdateCommand should have comment or be unexported (golint)
Line 19: warning: exported method VsmUpdateCommand.Help should have comment or be unexported (golint)
Line 32: warning: exported method VsmUpdateCommand.Synopsis should have comment or be unexported (golint)
Line 36: warning: exported method VsmUpdateCommand.Run should have comment or be unexported (golint)

@nsathyaseelan: @prateekpandey14: Please could you review? https://github.com/openebs/maya/pull/191


Computers with static IP addresses?

"Connect it to a wireless or wired network with internet access."
During testing in an environment without any DHCP service, I realise Windows 10 initial setup only listed an unusable ethernet network adapter with no Internet access; and no option to configure it statically to get networking running.
How is Windows Autopilot supposed to work in this scenario?

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

ID: 2434dfb6-ac9a-4ba1-a681-88786c87010a
Version Independent ID: 47e7470e-ab97-9917-04aa-4ec08a178af5
Content: Windows Autopilot User-Driven Mode
Content Source: windows/deployment/windows-autopilot/user-driven.md
Product: w10
Technology: windows
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@icelava - Thank you for engaging with the community here for the docs.
I know the product teams are always looking for user feedback and feature requests on how to make Windows 10 better. They keep a close tab on user feedback and it would be awesome if you could add your voice via Feedback Hub.
You might find others have made a similar request that you can add to, or you can open a new one. Let us know here if you do so we can up-vote your request.
Thank you for your contribution to make the docs better! Much appreciated!

Had to do it the command-line method, https://social.technet.microsoft.com/Forums/windows/en-US/55e79e92-3c59-465a-9396-32cbfeee98ee/no-static-ip-address-config-for-initial-setup?forum=win10itprosetup#69529554-ad78-46fb-bae7-008c9c4c380d


Using a library that has both ts and d.ts files in the same folder causes issues

TypeScript Version:  all
Code
importing files, for example
import 'reflect-metadata/Reflect.js';

causes the following exception in tsc:
error TS6059: File 'client/node_modules/reflect-metadata/Reflect.ts' is not under 'rootDir'
 'client/src'. 'rootDir' is expected to contain all source files.

the tsconfig.json looks like this:
{
    "compilerOptions": {
        "declaration": false,
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "module": "commonjs",
        "moduleResolution": "node",
        "noEmitOnError": true,
        "noImplicitAny": false,
        "rootDir": "./src",
        "sourceMap": true,
        "target": "es5",
        "outDir": "dist/"
    },
    "files": [
        "src/bootstrap.ts"
    ]
}

Expected behavior:
Suggestions:

don't try to recompile .ts files not under rootDir if there is a js file there (if there isn't throw the same exception)
don't try to recompile .ts files under node_modules folder unless there is no js file there
don't compile excluded files even if referenced (that way you can use both "files" and "excluded" in the tsconfig.
some configuration like compileDependencies: 'true'/['specific-dependency1', 'dep2']/false
Actual behavior:
tries to recompile everything even if it's from node_modules folder and even if I don't directly reference the .ts file and reference the .js file instead
workaround 1: reference the.d.ts file instead of the .js file (doesn't work if the module itself has dependencies)
workaround 2: put the .ts and the .d.ts+.js files in a different folder in the library but it's not possible for existing libraries since they are provided by a third party.

why not just import "refelect-metadata";? the pacakge.json for the package specifies the .d.ts file, when you pick a specific file (i.e. Reflect.js) this option is not honored, and the normal resolution mechanism takes precedence, and the .ts file is always preferred.

In this case it's true, but if you have a library that has "imports" in the main d.ts file and it imports something else the .ts will take precedence instead of the .d.ts/.js
for example: https://github.com/ronzeidman/open-ng2-tests
This uses https://github.com/PointInside/ng2-toastr which has in it's package.json
  "main": "ng2-toastr.js",
  "typings": "ng2-toastr.d.ts",

but the main file looks like this:
export * from './src/toast';
export * from './src/toast-manager';
export * from './src/toast-container.component';
export * from './src/toast-options';
export * from './src/toast.module';

There are 4 files called ./src/toast -> ./src/toast.ts, ./src/toast.d.ts, ./src/toast.js. ./src/toast.js.map and the one that gets resolved is always the .ts file.
There is an issue about it: https://github.com/PointInside/ng2-toastr/issues/35 but I had other libraries that has the same issues like https://github.com/kamilkp/ng2-vs-for
I know they are small libraries and keeping sources and compiled output in the same folder is not the best practice but it's the default one, and I don't see why it shouldn't work.

when resolving a.js the same logic is followed to resolve a. The resolution process always favors the .ts files over .d.ts. the rational here is that a .d.ts file can be generated from the .ts file, so the .ts file is a more up-to-date version of the truth.
We did in the past give .d.ts higher precedence in importing, and that broke scenarios for npm-link for example, where you really want to import the .ts and not the .d.ts as you are developing multiple npm modules that depend on each other.
the solution here is to either use the module name, e.g. "ng2-toastr", or make sure your .ts files are not generated at the same location. you can achieve the later by having a src\ts folder and build using --outDir <outputLocation>. hope that helps.

OK, thanks for explaining. I'll refer the other library owners to this thread.

I too encountered a problem with this this. Generally my case: I have a TS monorepo with multiple independent packages, that actually share the same TS configuration, so it is quite resonable I believe to build everything at once in one tsc process.
As TSC yet doen't support building multiple projects within one process, I just should start it in the root. And I can not build all files in a separate outDir (I can ofcource implement it) then I would need to move sources around before publishing (though I'm not sure what will be with source maps)... So it is actually ok just to have built versions near the source (they may be concealed using IDE settings, so I don't mess with them).
But the problem is that dev TS source code may have some types imports that are supposed to be used only to help development, they are not exporeted, so that my-module.ts may use some typing's from @types/package, but my-module.d.ts wouldn't have a mention of it. So if Typescript takes .ts sources it would require user project to have this @types/package installed though if I would take .d.ts it wondn't though would work the same way.

@mhegazy have you read my thoughts why I think that d.ts should have priority on .ts source?

I think I fail to fully understand a logic behind those decision (of changing priority from d.ts -> ts). If you create a package that puts d.ts along with corresponding .ts then what is the purpose of d.ts? It will never be used any way and .ts version will be used by compiler instead.

if you are developing the app, and your .ts and .d.ts are generated side by side (which is the default of the compiler) you want the .ts to be picked first.

In my view it is more logically correct to give .d.ts higher precedence in importing and making the swap was kind of plugging a hole without good thinking of the possible consistences. Maybe I'm missing something?

if the two files represent the same module, then the .ts is more accurate as it is the source. if they do not represent the same module, they should not live side by side in the same folder.

if you are developing the app, and your .ts and .d.ts are generated side by side (which is the default of the compiler) you want the .ts to be picked first.

If .ts is still picked first, generating .d.ts doesn't make sense at all in this case, no?

@mhegazy ?

I am sorry i did not understand your question.

if you are developing the app, and your .ts and .d.ts are generated side by side (which is the default of the compiler) you want the .ts to be picked first.

If .ts is picked by compiler first then what is the reason to generate .d.ts in this case? It will never be used long it has .ts side by side.

you can have a build script that moves the .d.ts file somewhere, package them and publish them on nuget.. you could be excluding the .ts and publishing to npm; or you could be setting "types" : "index.d.ts" in your package.json.

So, no. I am afraid we cannot do that.

Ok, I get you.


Python Functions: A Step-by-Step Guide

#Title Of Blog Post : Python Functions: A Step-by-Step Guide
###Short Description of what is expected : Dive into the world of functions in Python. Explain how to define, call, and return values from functions. Include examples of custom functions.
###Category : Tutorial
###Tags : python, basic, userdefined function

Please assign this to me , I plan to create a pull request during the month of October so that it can be counted towards Hacktoberfest 2023. Thank u!!


docs: Add Ant Design Web3 to the Third-party Libraries for Connect Wallet

Description
I'm a developer from the Ant Design team, and we're currently building an open-source Web3 React component library Ant Design Web3. Wagmi is a fantastic open-source framework, and we're thrilled to be supporting Ethereum based on Wagmi. We hope to be able to mention the Ant Design Web3 in Wagmi's documentation, which is important for us as it can help get more developers to try our components and provide us with feedback.
Additional Information
Before submitting this issue, please make sure you do the following.

[x] Read the contributing guide
[x] Added documentation related to the changes made.
[x] Added or updated tests (and snapshots) related to the changes made.

This space is currently reserved for sponsors. Feel free to post in the discussion forum instead!


The font-size  is to small when I open a procedure or package at first time on 23.0

Description
When I open a  procedure or package at first time on 23.0, The font-size  is to smal, it is normal when I open again.
In fact, it is not opened with the correct font。

DBeaver Version
DBeaver Community Edition 23.0
Operating System
Win10 LTSC 21H2
Database and driver
Oracle11G
com.oracle.database.jdbc:ojdbc8:RELEASE-<IP_ADDRESS>
Steps to reproduce
Description
Additional context
No response

Hello @NddNice,
Thanks for the bug report.
This is a side-effect of https://github.com/dbeaver/dbeaver/issues/19159: the font is not monospace.
We're not going to republish the latest version, so I'd suggest downgrading to a previous version for now.


Turbolink issue control-button

Thanks for this awesome library @benschwarz!
As I was testing this awesome piece of craftsmanship, I stumbled upon a problem where the control-buttons don't seem to work when using gallery-css together with turbolinks. This can easily be fixed of course by disabling turbolinks entirely, or disabling it for the links that don't work. Still I thought it should be nice to let you know that currently this problem is present.

Hey @git-jls, thank you! 🐳
Seeing as turbolinks decides to take-over links entirely, there isn't a lot that can be done here (because gallery-css uses hash-links via :target). However, you can disable turbolinks on single links, so that might be worth adding to your codebase.


Trivial use of AdaptiveAvgPool2d

https://github.com/hcw-00/PatchCore_anomaly_detection/blob/ded157b8546bd71338b89a47d6ee5a872f382b14/train.py#L295
AdaptiveAvgPool is applied to each feature map on the same scale due to feature[0].shape[-2:]
This means that nothing happens to the feature maps.
If you want to rescale the second feature maps to the first, I guess you could use features[0].shape[-2:]
Furthermore, even if you would use the suggestion above, you still don't apply any aggregation function f_agg to the first feature maps (as described in the paper). Shouldn't you use AvgPool2d in order to actually aggregate information from nearby patches?

I missed that point. I'm gonna replace AdaptiveAvgPool2d as AvgPool2d and update all results. Thanks!

I updated code&score table. Now It seems scores are comparable to the paper's. Thanks a lot.


Add docs to readme and doc site about container location and availability

Is this feature for general SeqSender usage or for submitting to a specific database, if so what database?
General usage
Is your feature request related to a problem? If so please describe.
Users are unaware of container locations.
Describe the solution you'd like
Would you please update the readme.md and the docs site with info on where the container is published to github packages and dockerhub, and when.
As a bonus it would be helpful to add flags to the project's readme similar to MIRA to help users understand more about the package availability and which one they should use.

Additional context
This came up after a discussion with tostadas about how to better collaborate and this seems like one of many potential enhancements that are coming up soon.

Docker file changes seems to be complete. Documentation and flags added.


Multiple impl blocks with methods of the same name shadow each other in dead code analysis

For example this Sway code:
script;

trait Get1 {
    fn get(self) -> u64;
}

trait Get2 {
    fn get(self) -> u64;
}

struct Data1 {
    value: u64
}

struct Data2 {
    value: u64
}

impl Get1 for Data1 {
    fn get(self) -> u64 {
        self.value
    }
}

impl Get2 for Data2 {
    fn get(self) -> u64 {
        self.value
    }
}

fn main() -> u64 {
    let a = Data1 {
        value: 7
    };
    let b = Data2 {
        value: 8
    };
    let c = a.get();

    0
}

generates these compiler warnings:
 --> /Users/emilyherbert/fuel/sway/test/src/e2e_vm_tests/test_programs/should_pass/language/tmp_test/src/main.sw:3:7
  |
1 |
2 |
3 | trait Get1 {
  |       ---- This trait is never implemented.
4 |     fn get(self) -> u64;
5 | }
  |
____

warning
  --> /Users/emilyherbert/fuel/sway/test/src/e2e_vm_tests/test_programs/should_pass/language/tmp_test/src/main.sw:12:5
   |
10 |
11 | struct Data1 {
12 |     value: u64
   |     ---------- This struct field is never accessed.
13 | }
   |
____

warning
  --> /Users/emilyherbert/fuel/sway/test/src/e2e_vm_tests/test_programs/should_pass/language/tmp_test/src/main.sw:19:1
   |
17 |
18 |
19 | / impl Get1 for Data1 {
20 | |     fn get(self) -> u64 {
21 | |         self.value
22 | |     }
23 | | }
   | |_- This declaration is never used.
24 |
25 |   impl Get2 for Data2 {
   |
____

The bug is coming from the fact that there is a compiler warning for an unused declaration impl Get1 for Data1 { and that there is not a compiler warnings for an unused declaration impl Get2 for Data2 {. The Sway code actually does use the first declaration and does not use the second declaration.
This is happening because this call to insert_function overwrites any function with the same name that was already in the map.
https://github.com/FuelLabs/sway/blob/9f31df0dc9219e991fdea90e8978ec10a2638f01/sway-core/src/control_flow_analysis/dead_code_analysis.rs#L574

Yeah somewhat related to https://github.com/FuelLabs/sway/issues/837

@tritao is working on some improvements #3232 to the declaration engine that avoid adding declarations multiple times to the declaration engine and that will also allow us to get DeclarationId from declarations. With those features we should be able use DeclarationId instead of an Ident in DCA.

@tritao  was this fixed by #3232?


Manual changes... Please review

Would appreciate review over these documentation changes

@clebertsuconic I've left some comments inline.


Mobile Price Classification File

Pull Request for ML-Crate 💡
Issue Title : Mobile Price Classification

Info about the related issue (Aim of the project) : To analyze mobile phones and create a prediction model to predict the mobile prices.

Name: NIRVIK GHOSH

GitHub ID: @Nirvik07

Idenitfy yourself: HRSoC 2022 Partcipant

Closes: #293
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

Well done @Nirvik07


Support for passing the hashing method in the Sign-BcContainerApp function

Describe the issue
Is actually not an error at all, but rather a new request. In the function Sign-BcContainerApp a signing of an extension takes place within the container. But you can only specify the timestamp server. It would be desirably, if one can indicate likewise still, which kind of the Hashes one would like to have. By default, this is SHA1, which is considered to be largely insecure. Here it would be desirable if you could also choose SHA256 or pass it somehow.
The command for the Sign Tool would not be more complicated for this.
Scripts used to create container and cause the issue
There are no scripts that lead to an error because it is a new request.
Full output of scripts
Of course, since there are no scripts, there is also no output
Screenshots
There are no screenshots.
Additional context
For example, the Sign Tool call could be to set the type of hash:
signtool.exe sign /v /a /sm -fd sha256 /td sha256 /tr <Timestamp Server> <Extension Package Path>

A duplicate of #1497
In this case, the only thing a code signing certificate does is to allow Microsoft to see who created the appfile and that the appfile wasn't tampered with from the time you signed it and until the time we are uploading to appsource.
It does NOT protect your .app file from being extracted and inspected - only runtime packages are safe in that regards.
I would not assume that this would be the primary area of attack for any hacker, trying to intercept .app files and inject malicious code and make sure that the SHA1 doesn't detect that.
I will update this to allow a parameter for that, but please don't think that there is any significant security risk in using SHA1.

Shipped in 1.0.17

There is a parameter on Sign-BcContainer called -digestAlgorithm. Set this to SHA256.
The default for that parameter settable in configuration $bcContainerHelperConfig.digestAlgorithm or in the configuration file.
default for the configuration is blank (same behavior as before)
Please let me know whether this works for SHA256 - I do not have access to the MS code signing cert's.


Kiosk-Mode produces non-distributable binaries on Linux

Hi,
I have seen that you reverted linking to libbfd from static to dynamic again in Kiosk mode.
As libbfd doesn't provide a backwards compatible ABI the generated binaries are not distributable. Well, you can distribute them, but you need exactly the same libbfd.so on the target computer as on the compiling computer. I fixed this issue upstream, already.
Libbfd is not intented to be used by normal user programs, so it MUST be linked staticallly.
Regards,
Keinstein

Yes, on the lastest version of Ubuntu, I can't use Ctrlr because libbdf would be incompatible.

@RomanKubiak
Theory: most libraries in Linux (and other *nix like MacOS/iOS) use semantic versioning, which means the library itself has an internal 3-part version number. One part changes when the ABI does not change, e.g. bug fixes, so that programs linked to that version can be used with the SO of an older version or programs linked to an older version can work with this version. Another part changes when there is only one-way backward compatibility, so that programs linked to the older versions are guaranteed to work with the newer version. This means that something has been added to the ABI. The third changes whenever something breaks the compatibility completely. On the file system level this is achieved by adding symlinks which have only the latter or the latter two parts of the library version.
libbfd does not follow this versioning scheme, so that the slightest version change may break the library. Thus the symlinks are omitted and the binary cannot be used anymore after a bugfix in libbfd has been published. Not to speak from a different Distribution or a different version of the distribution. Dynamic linking against libbfd will allmost always fail outside of the compiling computer.
Have a look at ba1eeeb9e8894b52e3b6998960c1ff16b7090011 : libbfd must to be linked as :libbfd.a.


Incompatible version for uglifier with newest middleman

Currently I can't use this gem with the newest middleman:
Bundler could not find compatible versions for gem "uglifier":
  In Gemfile:
    middleman (>= 4.1.7, ~> 4.1) was resolved to 4.1.7, which depends on
      middleman-core (= 4.1.7) was resolved to 4.1.7, which depends on
        uglifier (~> 3.0)

    middleman-google-analytics (~> 2.1) was resolved to 2.1.0, which depends on
      uglifier (~> 2.6)

I guess that fix should not be a problem. Thanks.

@martin-svk Fixed with version 2.1.1 - thank you for the feedback!


broken link in Introduction

in the Introduction you recommend first completing the Firebase for Flutter codelab - the link given is
https://codelabs.developers.google.com/codelabs/flutter-firebase
but this gives a 404 error, the closest I found on the site was:
https://firebase.google.com/codelabs/firebase-get-to-know-flutter

Thanks for the suggested URL, kelly2102!


error 500

Dear developer,
your extention have issue.
that issue is "error 500 include(loginController)". that issue come to pass when i click deny in G+  or cancel in facebook. so how to fixed ?
Thanks

You should consider adding more detail when reporting an issue.


有人集成在 minsdk 10么？或者兼容包

有人集成在 minsdk 10么？或者兼容包

Are you asking does the library support minSdk 10?
If so, no it doesn't support API levels lower than 14.
More than 97% of devices are covered by minSdk 14, I think it's practical enough.
I'll close this for now, please re-open if that doesn't answer your question.

3% of one billion is a lot of phones to throw away, and that is just phones that access playstore. if you are in emerging markets where most Android phones are either secondhand or old stock and/or custom rom support for minsdk 10+ is a must.
Hope you would reconsider.
Note:
I was able to make it work by replacing getMeasuredWidthAndState, etc with ViewCompat version.

Ok, fair enough.
Sent a pull request ( #45 ) to lower the minSdk to 9.
I hope it's included in the next release.

Fixed by #45. I'll release a new version anytime soon.


Rename SendGrid token to api_key_id

Given this is how it is referred to in the SendGrid UI.

Done.


Update starwarsffg.css

Widen Critical Injury/Damage fields, add seperators and hover highlighting

PR for issue #503


Fix for issue #22

This is included in https://github.com/ConnectSDK/Connect-SDK-Android-Core/commit/576979861abbf3862b53774f0c3f6b55b1ce9628. It's going to be merged when https://github.com/ConnectSDK/Connect-SDK-Android-Core/pull/17 is merged after review.


[issue #13235 ][Website Home Page] New Website Homage Page

Reference PIP 113
issue #13235

Docs do not need to be updated.  This pull request pertains only to the
new website.
On December 28, 2021 at 11:00:26 AM, github-actions[bot] (
@.***) wrote:
@Paul-TT https://github.com/Paul-TT:Thanks for your contribution. For
this PR, do we need to update docs?
(The PR template contains info about doc
https://github.com/apache/pulsar/blob/master/.github/PULL_REQUEST_TEMPLATE.md#documentation,
which helps others know more about the changes. Can you provide doc-related
info in this and future PR descriptions? Thanks)
—
Reply to this email directly, view it on GitHub
https://github.com/apache/pulsar/pull/13541#issuecomment-1002241154, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AFLQ2VSJ2KE5OW7BKTTXFRTUTICMTANCNFSM5K4TZNXQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @Paul-TT can you provide doc-related info in the PR description when submitting a PR? Or else Bot will label this PR with doc-info-missing. Instructions of doc labels: https://docs.google.com/document/d/1Qw7LHQdXWBW9t2-r-A7QdFDBwmZh6ytB4guwMoXHqc0/edit. Thanks
@tuteng @urfreespace can you help review this PR? Thanks


Observables?

To what extend are observables allowed? I am using observables together with redux a lot now, but I think you don't want observables in this challenge... :p

I don't see why not; if they compliment Redux well for you, I feel it should be valid.

Yep, no problem using those.

Must be JavaScript, running as a web page.
Preferably a Flux-like architecture, but if you feel like you can use anything


remove flask upper pin

fix: tests
refactor: reduce queries
fix: deprecation warning
compatibility: sqlalchemy, flask-sqlalchemy
tests: relations handling, forward compatibility
tests: forward compatibility

NOTE:
the last two commits should be discussed

NOTE: https://github.com/inveniosoftware/invenio-vocabularies/pull/411/commits/01dd4e3be1f5563876fec1a836ee27bc83ddc7e1 should be discussed!

superseded by https://github.com/inveniosoftware/invenio-vocabularies/pull/432


Error: Object reference not set to an instance of an object

I get this error whenever i already have an aloyadjustment.bin I am able to use the program fine and save it. However I am not able to see the current mods I have made. I am using version 1.8.0 It happens when running as admin or normal

Fixed


fix(icons): replace obsolete Nerd Fonts icons

Replaces obsolete icons which were removed in the Nerd Fonts v3.0.0 with same icons (some are not exactly the same, but very similar).
Note: This assumes you are using Nerd Fonts after v2.3.3, check out nerdfix for more details.

Came here to do this change 😅 thanks for doing this!

Unfortunately some of widely used other plugins lspkind.nvim, nvim-web-devicons already have moved to nerd font v3.0 and already made breaking changes without the compatibility layer.  I think it'd make sense to switch to the new icon unicode characters sooner than later.
If you care not having breaking changes (which is bad!), then we could provide some compatibility option (e.g. some option/flag for using v3-compatible codepoints) so that users can switch easily between two if they haven't migrated yet.

Unfortunately some of widely used other plugins lspkind.nvim, nvim-web-devicons already have moved to nerd font v3.0 and already made breaking changes without the compatibility layer.

If you care not having breaking changes (which is bad!), then we could provide some compatibility option (e.g. some option/flag for using v3-compatible codepoints) so that users can switch easily between two if they haven't migrated yet.

Ugh, what a mess! Luckily every icon is configurable. I think the right thing to do here is to not change the defaults, but have a config prominently displayed in the README that will set all of the affected icons to their 3.o equivalent for users that have already switched.

Unfortunately some of widely used other plugins lspkind.nvim, nvim-web-devicons already have moved to nerd font v3.0 and already made breaking changes without the compatibility layer.

If you care not having breaking changes (which is bad!), then we could provide some compatibility option (e.g. some option/flag for using v3-compatible codepoints) so that users can switch easily between two if they haven't migrated yet.

Ugh, what a mess! Luckily every icon is configurable. I think the right thing to do here is to not change the defaults, but have a config prominently displayed in the README that will set all of the affected icons to their 3.o equivalent for users that have already switched.
The next thing we need to do is to move to a new major release (v3.0) where we will make these changes part of the defaults.

Unfortunately some of widely used other plugins lspkind.nvim, nvim-web-devicons already have moved to nerd font v3.0 and already made breaking changes without the compatibility layer.

If you care not having breaking changes (which is bad!), then we could provide some compatibility option (e.g. some option/flag for using v3-compatible codepoints) so that users can switch easily between two if they haven't migrated yet.

Ugh, what a mess! Luckily every icon is configurable. I think the right thing to do here is to not change the defaults, but have a config prominently displayed in the README that will set all of the affected icons to their 3.o equivalent for users that have already switched.
The next thing we need to do is to move to a new major release (v3.0) where we will make these changes part of the defaults.

Unfortunately some of widely used other plugins lspkind.nvim, nvim-web-devicons already have moved to nerd font v3.0 and already made breaking changes without the compatibility layer.

If you care not having breaking changes (which is bad!), then we could provide some compatibility option (e.g. some option/flag for using v3-compatible codepoints) so that users can switch easily between two if they haven't migrated yet.

Ugh, what a mess! Luckily every icon is configurable. I think the right thing to do here is to not change the defaults, but have a config prominently displayed in the README that will set all of the affected icons to their 3.o equivalent for users that have already switched.
The next thing we need to do is to move to a new major release (v3.0) where we will make these changes part of the defaults.
Can someone make a new PR that includes a section in the README that has instructions on how to configure all affected icons to the 3.o equivalents? I will then just hold this PR for the 3.0 release which I will have to hurry up on.

Unfortunately some of widely used other plugins lspkind.nvim, nvim-web-devicons already have moved to nerd font v3.0 and already made breaking changes without the compatibility layer.

If you care not having breaking changes (which is bad!), then we could provide some compatibility option (e.g. some option/flag for using v3-compatible codepoints) so that users can switch easily between two if they haven't migrated yet.

Ugh, what a mess! Luckily every icon is configurable. I think the right thing to do here is to not change the defaults, but have a config prominently displayed in the README that will set all of the affected icons to their 3.o equivalent for users that have already switched.
The next thing we need to do is to move to a new major release (v3.0) where we will make these changes part of the defaults.
Can someone make a new PR that includes a section in the README that has instructions on how to configure all affected icons to the 3.o equivalents? I will then just hold this PR for the 3.0 release which I will have to hurry up on.

Unfortunately some of widely used other plugins lspkind.nvim, nvim-web-devicons already have moved to nerd font v3.0 and already made breaking changes without the compatibility layer.

If you care not having breaking changes (which is bad!), then we could provide some compatibility option (e.g. some option/flag for using v3-compatible codepoints) so that users can switch easily between two if they haven't migrated yet.

Ugh, what a mess! Luckily every icon is configurable. I think the right thing to do here is to not change the defaults, but have a config prominently displayed in the README that will set all of the affected icons to their 3.o equivalent for users that have already switched.
The next thing we need to do is to move to a new major release (v3.0) where we will make these changes part of the defaults.
Can someone make a new PR that includes a section in the README that has instructions on how to configure all affected icons to the v3 equivalents? I will then just hold this PR for the Neotree 3.0 release which I will have to hurry up on.

The instructions for manually fixing this were merged in #921

Hi @loichyan,
For the symbol in the display name of "Buffers", I noticed that you chose 󰈙 to replace . However, I found 󰈚 a better one, which looks the same as the old one.
I think you can make another commit to update it.