text:
add section about operational processes

Signed-off-by: heinritzkat 111436515+heinritzkat@users.noreply.github.com

thanks @heinritzkat and @SovereignCloudStack/wavecon

authors: fkr heinritzkat


text:
Allow Multiple Cards from Feature In Combo

Some combos are going to require us to use multiple cards from a particular feature. For example, using 2 token doublers, using 2 Clones, etc. We will need a way to specify either a quantity or add it multiple times. Then, the program will need to generate each unique combination, of course avoiding using the same card multiple times in a particular variant.

Example of combo that would use this: https://backend.commanderspellbook.com/admin/spellbook/variantsuggestion/484/change/

This is going to take me a long time, but it's a necessary evolution of the current variant generator. I'll develop this feature later this year, when I find the time required for this.

Design notes:

If feature needed in combos get an amount (small integer field), then implicitly produced features should get that too, resulting in the necessity to turn produced features into inlines instead of a table
The code that generates variant will probably increase in complexity by a lot: it will have to take into account amounts to satisfy feature requirements for each combo, computing every possible combination of recipes that will have each requirement amount satisfied.
The minimal set of sets, which is a TrieSet under the hood, will probably become obsolete, resulting in really worse performances for complex combo networks (this needs testing)

source: gharchive/issue

authors: GordonsKitchen ldeluigi

license: MIT

license_type: permissive

license_source: github-api


text:
DNS 1 Maintinance

hmmmmm test

repo: SparksTheFolf/STF-Uptime-Status


text:
🛑 Yiffed Main is down

In 3de66e4, Yiffed Main (https://yiffed.net/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Yiffed Main is back up in 9119c0b after 8 minutes.


text:
"File already exists" when capitalizing/decapitalizing a letter of the file name on windows

When I rename a file and change the filename from "default" to "Default" inside the editor, it gives me the "File already exists". Same thing happens if I change it from "Default" to "default"

Good catch, Windows file systems are case-insensitive, I never thought about that.

authors: SpartanJ emeraldtip

repo: SpartanJ/ecode


text:
Prompt refactor, and command restructuring

A lot of stuff here!

Reworked the prompt solution

A unpacker can be used to resolve a comitter and an error that can indicate if we need to prompt or not
A comitter can commit a file to disk

Reworked the cmd folder for portal

Added commands package for all subcommands
This allows us to do the necessary setup (adding flags etc) in a function instead of in init.
Moved the config package to portal folder, as it really is only used to configure the cli
Moved the ui package into cmd/portal as it makes more sense to have it close to the main code, also renamed it tui.

Moved portal package into internal

This will solve the building in a weird folder issue we have had.
If we want to expose this publicly in the future we could move it again

Added raw versions of send and receive commands (closes #49)
Added a default value to relay port (8080) (closes #4)

Good stuff!

You accidentally added a built portal binary as well. Probably should add that to .gitignore now that it is built into a sane directory 😆

Also update the relay: 167.71.65.96:80 to portal.spatiumportae.com in the default config example in the README

source: gharchive/pull-request

authors: ZinoKader mellonnen

repo: SpatiumPortae/portal


text:
打不开资源

cannot open resource

求解

这个是输出图片的形式发送的, 我猜测你的Linux没有simsun.ttc(宋体)这个字体
解决方案: 源码内txtToImg.py中函数txt_to_img第三个参数font_path的值, 换成你系统有的字体, 或者安装simsun.ttc这个字体

ok了谢谢佬

authors: MIt-gancm Special-Week


text:
Model - Descriptor::Media (fill matrices with just images/sounds)

@proceps et al. create matrices whose observation data are only images or other media.  Make a new class for this type of data.

[ ] Make descriptor class
[ ] Make observation class
[ ] Update Task - New Descriptor to include this type.

Done with Image matrix.

repo: SpeciesFileGroup/taxonworks


text:
Unexpected error on calling submissionFrom

I'm submitting a ...
[X ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Unexpected error on calling submissionFrom
I'm calling the submissionFrom with the presentationDefinition, and vc list as below:

presentationDefinition: {
  "id": "Insurance Plans",
  "input_descriptors": [
    {
      "id": "Ontario Health Insurance Plan",
      "schema": [
        {
          "uri": "https://did.itsourweb.org:3000/smartcredential/Ontario-Health-Insurance-Plan"
        },
        {
          "uri": "https://www.w3.org/2018/credentials/v1"
        }
      ],
      "constraints": {
        "limit_disclosure": "required",
        "fields": [
          {
            "path": [
              "$.issuer.id"
            ],
            "purpose": "We can only verify bank accounts if they are attested by a source.",
            "filter": {
              "type": "string",
              "pattern": "did:example:issuer"
            }
          }
        ]
      }
    }
  ]
},
verifiableCredentials: [
  {
    "@context": [
      "https://www.w3.org/2018/credentials/v1",
      "https://www.w3.org/2018/credentials/examples/v1"
    ],
    "id": "https://example.com/credentials/1872",
    "type": [
      "VerifiableCredential",
      "IDCardCredential"
    ],
    "issuer": {
      "id": "did:example:issuer"
    },
    "credentialSubject": {
      "given_name": "Fredrik",
      "family_name": "Stremberg",
      "birthdate": "1949-01-22"
    }
  }
]

And I'm getting the error:
Cannot read property 'getPresentationSubmission' of null
TypeError: Cannot read property 'getPresentationSubmission' of null

Seems like we don't throw the error You need to call evaluate() before submissionFrom() which is designed for this situation

In 0.3.0 we handled this issue, worked on better test cases to make sure that it won't show up again.
If you have any questions feel free to ask

authors: JorisSphereon sksadjad

repo: Sphereon-Opensource/pe-js


text:
Fixed validateByteRange parsing method

There is a bug in @validateByRange operator parsing: if the argument is something like this: "32,34,38,42-59,61,65-90,95,97-122" (see https://github.com/SpiderLabs/owasp-modsecurity-crs/blob/ab24a20faf28156f0495b0c07f2ff37860a3defe/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf#L1476-L1493 rule), then the 3rd block will evaluated as "38,42-59", not "38" and "42-59".
Also the test file for regression test had been added.

Merged! Thanks!

authors: airween zimmerle

repo: SpiderLabs/ModSecurity

license_source: bigquery


text:
Case sensitive usernames

Correct me if I'm wrong but I don't remember usernames being case-sensitive previously, but they definitely are with 3.2.0-85-gdb4898d

This is happening on the server side.
While the website gets case-insensitive logins via the /browse API, which it is supposed to use, we recently switched away from the browse API, to free it up for implementation of cross-site request forgery (XSRF) prevention.. Apparently the direct object-server API does not support case-insensitivity.
@merickson, does this sound correct? Is there documentation for either API that includes details about this behavior?
@merickson, @devgeeks, if this is, indeed, the problem, we need to figure out what to change:

the direct object server API, to support case-insensitivity
the app to go back to /browse but with some way around XSRF inhibition
the requirement for for case-insensitivity
or something else?

Fixed by #669.

authors: kenmanheimer reneelynn

repo: SpiderOak/SpiderOakMobileClient


text:
refactor/bot/check-playing-property

Checking whether music is playing in commands should the playing property of the queue instead of whether there is a current music playing.

This can cause issue for the current property and it being undefined. This could potentially require more checks and thus making this less efficient.

repo: Spimy/muse-cli


text:
Assume entity IDs required by default

This PR fixes #179.
Now, the framework assumes, that an entity ID is required by default.
The only way to say that an entity ID is not required is to explicitly mark it as [(required)=false].
A field is considered an entity ID if:

The name is id or ends with _id.
The field if the first in a containing message.
A message containing the field has (entity).kind option set.

The version was bumped to 0.11.10-SNAPSHOT.

@armiol PTAL.

repo: SpineEventEngine/base


text:
Merge descriptor reference files automatically

Sometimes, circumstances require the framework users to merge JAR files in a single, "fat" JAR. It includes all of the project modules and third-party dependencies. Typically, in Gradle, "fat" JARs are created using the Shadow plugin.
Spine uses Protobuf descriptor set files to make discover known Protobuf types. Since Protobuf descriptor set files are binary, they are hard to operate at build time: one would need to include Protobuf as a buildscript dependency to be able to read and write descriptor files. For the needs of mering descriptor files from different JARs, we reference them via the desc.ref file. Each Spine-based project may have a single desc.ref file. The file contains names of the descriptor files shipped in that project separated by line breaks. So, the users may simply merge the desc.ref files in separate JARs into a single desc.ref and Spine will be able to make sense of it at runtime.
As the goal of the Bootstrap plugin is to simplify the Gradle configuration for the end user, we should merge the desc.ref files automatically when possible. For that, we should detect the use of the Shadow plugin and configure it to merge desc.ref files.

Meanwhile, in order to use the Shadow plugin right now, one can apply the following snippets to Gradle build scripts.
Groovy DSL:
shadowJar {
  mergeServiceFiles {
    path = 'desc.ref'
  }
}

Kotlin DSL:
val shadowJar: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar by tasks
shadowJar.apply {
    mergeServiceFiles("desc.ref")
}

authors: dmdashenkov yuri-sergiichuk

repo: SpineEventEngine/bootstrap


text:
Unify lifecycle and version columns, eliminate @SystemColumn

In the previous 2.x branch changes, a new concept was introduced in order to unify the process of storing and querying the data by the pre-defined attributes called "Columns". In particular, a new Column type hierarchy was created. The Column implementations are parameterized with the types of the column value and the queried record, allowing to use themselves in scope of the Query DSL. More information on this is available is the corresponding PR description (see #1305).
Prior to this changeset, the columns defining Entity lifecycle (i.e. archived and deleted) and the version column were declared for each Entity via @SystemColumn annotation and the complex machinery to wire the annotated Entity methods with the actual column types. As long as this code could exist only in server module (i.e. next to the Entity types), the definitions of lifecycle/version columns were not available for re-use on the client-side. In other words, client queries could use the copies of the lifecycle/version columns, and the whole mechanism worked only because the column names of the server column definitions (e.g. "version") were the same as the column names of their client-side copies.
Another issue was that in fact, each Entity stored in real life always had lifecycle/version columns declared, as Aggregate, Projection and ProcessManager are the only options for stored entities, and each of them is a descendant of types containing methods with the corresponding @SystemColumn annotations. However, the implementations of storage were written in the way, as if it was possible to declare an Entity without one or more lifecycle/version attributes. It brought unneccessary complexity into the code, as there were no real cases of that neither in the past nor in foreseeable future.
To eliminate the inconsistency and the code duplicates, this PR performs a few API changes:

ArchivedColumn, DeletedColumn and VersionColumn are now defined in io.spine.client package of client module. They are just a generic definitions of the queryable attributes and do not have any dependencies on the data source, such as Entity. They may be used in a query like this:

   Query query =
       MyProjection.query()
                   // ...
                   .where(ArchivedColumn.is(), true)   // Only include archived.
                   .build(...);
   ... result = execute(query);

Server module provides wrappers for these column types, which hard-wire each of the generic columns with the actual data source. In particular, Scanner utility now returns all three lifecycle/version columns for any passed Entity. The changes are internal to the server module of framework and aren't visible through the public API.

@SystemColumn annotation was removed from the corresponding methods. The SystemColumn type was deleted.

The framework version is set to 2.0.0-SNAPSHOT.1.

@alexander-yevsyukov @dmdashenkov @yuri-sergiichuk PTAL.

@alexander-yevsyukov @dmdashenkov @yuri-sergiichuk PTAL.

@dmdashenkov as discussed, I am writing an issue #1356. It takes more time than I originally anticipated, so I am merging this PR now, and will continue working towards the description as per the result of our vocal discussion.

@dmdashenkov as discussed, I am writing an issue #1356. It takes more time than I originally anticipated, so I am merging this PR now, and will continue working towards the description as per the result of our vocal discussion.

repo: SpineEventEngine/core-java


text:
Actions with parameters

This PR makes McJava use parameters of rendering actions recently introduced in ProtoData.
Chages in details

SuperInterface proto type was introduced in order to allow passing generic types with their arguments.
Render action classes like ImplementUuidValue and ImplementEventMessage were eliminated because we now can use ImplementInterface action with the SuperInterface parameter.
WithActionList interface was renamed to WithActions with appropriate change of getter signature.
io.spine.tools.mc.java.field.FieldClass was renamed to AddFieldClass and is now used with the StringValue paramter.
Proto properties related to settings that are no longer used were removed.

Other notable changes

Settings classes for Gradle were converted to Kotlin
Previously, part of classes in the io.spine.tools.mc.java.gradle.settings were in Java and newer ones were in Kotlin. Since Kotlin is the preferred language for Gradle, there's no much sense in having implementation in Java.

Fixed parameter/property descriptions according to recently updated conventions.

The parameter called p passed to constructors of action classes was renamed to project for disambiguation with the action parameter.

Fixed package for Gradle settings classes that were previously misplaced.

Fix: Only top-level messages are included into grouping.  Previously, nested messages were also included into code generation.

@yevhenii-nadtochii, have a look at the changes introduced by this PR. It might affect your current works, but, hopefully, not much.

repo: SpineEventEngine/mc-java


text:
git.checkout().setStartPoint(commitCheckout).addPaths(paths).call() seems not to work as expected.

When trying to solve #490, I got a case when git.checkout().setStartPoint(commitCheckout).addPaths(paths).call() seems not to work as we expected.
Example: https://github.com/INRIA/spoon/commit/551f0fb28c49f4b1eeab93f7748c04ef82cfde39 (this commit is a fixer commit).
There are 3 test classes involved:

src/test/java/spoon/test/imports/ImportTest.java
src/test/java/spoon/test/imports/testclasses/TransportIndicesShardStoresAction.java (NEW)
src/test/java/spoon/test/imports/testclasses2/AbstractMapBasedMultimap.java

Consider I have checked out that commit.
Then I have its previous commit called commitCheckout, and a variable paths containing src/test/java.
When I call git.checkout().setStartPoint(commitCheckout).addPaths(paths).call(), files 1 and 3 are updated for their previous state, but file 2, the new one, remains checked out.
I see no other solution than discovering the new files and deleting them by force. I also still don't know if the opposite happens (i.e., if a deleted file is not checked out in the commit it existed).

okay... It might be another behaviour of JGit which is not standard compared to the git one -_-

I talked with Thomas about that issue since his knowledge on git is advanced and in fact he showed me that git checkout <paths> is not the right command to do the job I want, i.e. the problem is not with JGit. He gave me a sequence of commands that does the job properly:
git reset <commit> -- <paths>
git clean -fd
git checkout -- .

Thanks @tdurieux
@surli, a PR is coming.

Fixed in #592

authors: fermadeiral surli

repo: Spirals-Team/repairnator


text:
Feat: implement ActiveMQPipelineRunner

In issue (#813) . This PR aims to completes the following tasks :) .

Add interface PipelineRunner for ActiveMQPipelineRunner to implements
Implement ActiveMQPipelineRunner

A test is required and will come in a subsequent PR per our discussion today.
Merging.

Thanks a lot for this small baby PR :-)

authors: Tailp monperrus


text:
[WIP] Implement Persistence Services

With the Persistence API being merged, it's time for the various DataSerializable objects to actually successfully serialize their data to a DataContainer.
This has some changes to achieve this including:

Provide a new service that requires registration before world loading starts
Using SuperMixins for TileEntities
Update to latest API for simpler usage of DataViews

Nice.

To improve maintainability, I think it could internally call writeToNBT and then convert to a DataContainer, that way you won't need to add any new DataQuerys if a new tag is added in vannila. It would also allow getting data from mod tile entities too.

think it could internally call writeToNBT and then convert to a DataContainer

No. While it's decent to ensure that all data about a TE is being serialized, we shouldn't be serializing the data twice over.

It would also allow getting data from mod tile entities too.

There are changes in SpongePowered/SpongeAPI#475 that will help with this. This initial implementation is groundwork for setting up DataSerializables and DataSerializableBuilders. With this, it will be very apparent as to how the Persistence API is supposed to be used.
Also, remember that custom mod TileEntities don't extend other vanilla TileEntities (except maybe Lockable), so bringing up the point of being able to use a pre-existing vanilla specific SpongeBeaconBuilder isn't quite possible since there is no common NBTTagCompound that can be read from all TileEntity objects.

repo: SpongePowered/Sponge


text:
Add FallDistanceData to API

SpongePowered/SpongeCommon#233
Currently there isn't a way for plugins to query the distance that an entity has fallen. This is important, for example, for plugins that want to affect gravity (like here), or maybe send a message when a player falls 20 blocks.
While this can be discovered by listening for player movement and recording changes in location this is not always accurate, especially when you need to consider other circumstances like flying, mods, etc.
This PR adds the key, mutable and immutable data to get and alter an entity's fall distance.

What does the implementation look like? (I'm wanting to see the implementation more so than the API at the moment).

I like this a lot since I can listen to when an entity is damage, check if its due to falling, grab the data and calc fall damage.

authors: ZephireNZ Zidane gabizou

repo: SpongePowered/SpongeAPI


text:
villager.getInventory().query() is abstract

Forge version :                    1.12.2-14.23.5.2838
Sponge version :                   1.12.2-2838-7.2.3
SpongeAPI version (from maven) :   7.2.0

Description
When villager.getInventory().query() is called, as we can do with a player, an AbstractMethodError is triggered.
player.getInventory().query(QueryOperationTypes.INVENTORY_TYPE.of(PlayerInventory.class));

does not create error, but
villager.getInventory().query(QueryOperationTypes.INVENTORY_TYPE.of(CarriedInventory.class));

makes an error
java.lang.AbstractMethodError: Method net/minecraft/entity/passive/EntityVillager.query([Lorg/spongepowered/api/item/inventory/query/QueryOperation;)Lorg/spongepowered/api/item/inventory/Inventory; is abstract

Same type of error with ArmorStand, doing
Entity entity;
// ...
if (entity instanceof Carrier) {
	((Carrier) entity).getInventory();
}

Method net/minecraft/entity/item/EntityArmorStand.getInventory()Lorg/spongepowered/api/item/inventory/type/CarriedInventory; is abstract
java.lang.AbstractMethodError: Method net/minecraft/entity/item/EntityArmorStand.getInventory()Lorg/spongepowered/api/item/inventory/type/CarriedInventory; is abstract

repo: SpongePowered/SpongeCommon


text:
Improve ManipulatorTest

SpongeAPI | SpongeCommon
Currently, ManipulatorTest attempts to construct, manipulate, and serialize all registered DataManipulators. While this is able to catch many bugs, it suffers from a significant limitation: it is unable to set any new values. Whenever a DataManipulator is constructed, the default values for every associated Key are always (implicitly) used. When a Key represents a wrapper or container type (e.g. Optional or List), the corresponding default value will always be 'empty' (e.g. Optional.empty(), Lists.newArrayList()).
This often results in code paths not being exercised at all by ManipulatorTest, leaving bugs like https://github.com/SpongePowered/SpongeCommon/issues/1276 uncaught.
This PR greatly expands the amount of code that ManipulatorTest is able to cover, by creating and setting values for each of a DataManipulator's Keys whenever possible. Several different strategies are used to accomplish this:

CatalogTypes are creating by retrieving the first instance from GameRegistry#getAllOf
Types with a builder static method  are created by walking the methods of the Builder class. Any setter methods (defined as methods taking a single parameter and returning the Builder instance) are called with parameters created recursively through this process.
If all else fails, types are created using SpongeEventFactoryTest.mockParam. This returns default values for a number of Java and Sponge types (int, Text, Color, etc). Otherwise, it falls back to a special 'recursive mock', which use SpongeEventFactoryTest.mockParam to create return values for all methods of the target type.

With these three value-creation strategies, I was able to uncover quite a few new bugs, which are fixed in this PR. These include:

A missing registration for SpongeTradeOfferBuilder
Broken serialization for SpongeTradeOfferData
Invalid deserialization of lists of DataContainers in DataUtil
Missing equals overrides in classes used in data values,
An incorrect TypeToken registered in KeyRegistryModule.java

To ensure that dynamically creating values does not reduce our test coverage, all tests in ManipulatorTest are run twice - once with the previous behavior (default values only), and once with the new behavior (dynamically created values for applicable Keys).
There's still room to improve and add to the value-creation strategies included in this PR. However, these strategies will always be implemented on a 'best-effort' basis. It's simply impossible to create an instance of an arbitrary Java type, and have things work out sanely every time. As new DataManipulators are added, it will likely be necessary to add rules for instantiating new types (final API types in particular)

@XakepSDK This should address your concern about data builder registration issues not being caught.


text:
🛑 [A] IP Ending with .171 is down

In d5d6add, [A] IP Ending with .171 ($IP_GRP_A.171:$MONITORING_PORT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: [A] IP Ending with .171 is back up in 02d7d71 after 12 minutes.


text:
Improve UnclosedResourcesProcessor

Problematic patch: https://github.com/khaes-kth/Sorald-CI/blob/fixed_LianjiaTech/retrofit-spring-boot-starter_a6cfd41658170f108be0391fd26c353650d90d75_2095_1613019018315/fixed_repo/SoraldGitPatches/soraldpatch_0.patch
I'll elaborate on this later ...

So, finally elaborating on this. The processor doesn't handle cases where there are multiple closeables in the same try/catch.

repo: SpoonLabs/sorald


text:
include response object in 'Token not found in response' errors

Should partially resolve https://github.com/SpoonX/aurelia-authentication/issues/332.
This only resolves the issue for servers returning success codes (200~) along with the error message generated by the server.

Hey, thanks! Could you perhaps change your commit message to follow our guidelines? https://github.com/SpoonX/about/blob/master/CONTRIBUTING.md#commit
If not no big problem, I can do it.

I adjusted the commit message according to your guidelines. Anything else?

@jemhuntr No, perfect!

authors: RWOverdijk jemhuntr

repo: SpoonX/aurelia-authentication

license: mit


text:
Rationalisation of remote attacks on services

We have three types of attacks on services:

Attacks by clients on services, whereby the right of a compromised client to access a service is exploited.
Unauthorized access attacks, whereby an attacker gains access to a service with the rights of a client, either by exploiting a failure by the service to authenticate the client, or by first gaining the means to impersonate the client.
Remote attacks exploiting a backdoor or other vulnerability in the service, which may or may not require authentication.

We now have several distinct trustworthiness attributes (and associated misbehaviours) for a client-service relationship that related to the ability to access the service as the client:

AnonUserTW: the ability to send unauthenticated messages to a service.
ClientAuthenticity: the ability of the service to authenticate the client.
ProxyUserTW: the ability to send messages to the service via a proxy having authenticated to the proxy.
ClientTW: the ability to access the service as the client, so low TW means an attacker can access the service.

ClientTW is the attribute that really counts. Low ClientTW means an attacker can access the service as the client and access data that was supposed to go to or from the legitimate client.
AnonUserTW does not represent the ability to authenticate or access the service functionality. Low TW just means malicious messages can reach the service. This means they could access the service, a threat leading directly to LossOfClientTW, unless the service authenticates its clients. Even in that case, it would be possible to exploit vulnerabilities if they are accessible without authentication, including pre-installed back doors.
AnonUserTW exists for every Client Channel, but currently, threats leading to Loss Of AnonUserTW are restricted to cases where the service is accessed via a transparent proxy. Such a proxy forwards all requests to a back-end service without authenticating the client, which means a malicious message would reach the target. Why not make this apply to all services, not just proxies?
ClientAuthenticity represents possession of client credentials. Low TW means an attacker has stolen those credentials. This does not imply that the attacker can access the service, as it may be on a protected network. If we expand our threats so every service is subject to threats against AnonUserTW, then a combination of this with ClientAuthenticity would imply access to the service (and LossOfClientTW), unless user biometrics can be used to recognise an imposter.
ProxyUserTW covers the forwarding of messages via an authenticating proxy. The proxy would then access the service under its own ID so this is authenticated access (the service thinks it is a legitimate client), subject to the proviso that one can only send messages if the proxy allows it, i.e., to a mapped endpoint. It would be possible to exploit vulnerabilities in the service application (i.e., requiring authentication), and if the service is a remote access service, it would be possible to get shell access to the host.
So the way to generalise the meaning of AnonUserTW, involves checking threats leading to this condition, or potentially caused by it. This comprising the following groups of threats:

[x] Caused by NetworkUserTW, leading to LossOfAnonUserTW: access via a client attack path. Prevented only by disabling network access to the service or filtering based on a known client IP address (if possible).
[x] Leading to a Loss Of Client Authenticity (ClientImpersonation): any threat to client credentials not involving access to the service, e.g., phishing, service impersonation, network snooping, password cracking. Not applicable to services that use a separate authenticator.
[x] Caused by ClientTW in one Client Channel, leading to ClientImpersonation in another. Only applicable to services that use a separate authenticator, whose ClientChannel is a cause of the threat
Caused by AnonUserTW:

[x] simple unauthenticated access, leading to LossOfClientTW. Prevented by any client authentication strategy, including a relationship
[x] access via a transparent proxy, leading to LossOfAnonUserTW.
[x] access to a backdoor, leading to LossOfUserTW at the Service, i.e., access to the Service host with the rights of the Service.
[x] remote exploit of vulnerabilities that can be reached without prior authentication.

Caused by AnonUserTW and LossOfClientAuthenticity

[x] Access using client credentials, leading to LossOfClientTW, unless prevented by using biometric signals to detect an imposter.
[x] Remote exploit of vulnerabilities that cannot be reached without prior authentication.

Caused by ProxyUserTW :

[x] Access to a backdoor, leading to LossOfUserTW at the Service, i.e., access to the Service host with the rights of the Service.
[x] Access to the host when the Service is a remote access service, leading to LossOfUserTW or LossOfControl at the Service Host,
[x] Remote exploit of vulnerabilities that cannot be reached without prior authentication.

Caused by ClientTW :

[x] Exploitation of a compromised authentication service, leading to ClientImpersonation in another, if using OAuth/OIDC.
[x] Threats to data flows.

Since only the first of these involves a client attack path (which are very numerous), it should be possible to reduce the number of threats used to cover the remaining cases.

Now addressed in branch 65.

repo: Spyderisk/domain-network


text:
Adding a scroll to top button [GSSOC'23]

A scroll to top button can be implemented in the website

Please assign me this issue under GSSOC'23

@huzaifa9999 I have already opened a similar issue 6hours back issue #269

Please assign me this issue under GSSoC'23 . I'd give my best to fulfil your expectations

Please assign to me as a GSSoC '23 Contributor

i can contribute to this pls assign me

A similar issue is already created and assigned to someone else.
@iLakshya @karthiknadar1204 @abcxyz31 @huzaifa9999 @Shaurya10101
You can try creating another separate issue and start working.


text:
SPT 3.8.0

This mod works on 3.8, no changes needed. Zero errors, price is as expected.

Thanks for the PR! I'll make a proper release for this after I get some sleep.

authors: SquareMan bushtail

repo: SquareMan/SPT-LiveBitcoinPrices


text:
ARS calling reset twice

Describe how the library was installed: pip
sb3-contrib==1.5.1a9
Python: 3.9.12
Stable-Baselines3: 1.5.1a8
PyTorch: 1.11.0
GPU Enabled: False
Numpy: 1.22.4
Gym: 0.21.0
I'm using a custom environment that tracks the episode number, with 1 added to env.episode upon reset.  With literally every other model, this works fine, but in ARS, reset seems to be called twice in a row, so instead of episode 10 showing as episode 10, it will show as episode 20.  It is more of an inconvenience than anything else, and my workaround has been to just update the episode number when done == True instead, but I wasn't sure if reset being called twice is impacting the observations, etc. that the model is receiving.

Hello,
could you please give a minimal code to reproduce the issue?
This is actually a side effect of using evaluate_policy helper inside ARS. Between two updates, it forces the env to reset, but because the env was already reset (automatically because it is a VecEnv) then you observe a double reset.
For correct statistics, please use the values from the SB3 Monitor and logger.

but I wasn't sure if reset being called twice is impacting the observations, etc. that the model is receiving.

Compared to other models, ARS does not reply on a buffer, so it has not impact on the training.

here is the simplest env I could write:
`import gym
import numpy as np
import random
from sb3_contrib import ARS
class DummyEnv(gym.Env):
metadata = {'render.modes' : ['human']}

def __init__(self,):
    super(DummyEnv, self).__init__()

    self.action_space = gym.spaces.Discrete(2)
    self.observation_space = gym.spaces.Box(low=-np.inf,high=np.inf,shape=(1,))
    self.episode = 0
    self.total_steps = 10
    self.current_step = 0

def _nextObservation(self):

    obs = random.randint(0,1)

    return obs

def step(self, action):

    obs = self._nextObservation()
    self.current_step += 1
    reward = random.randint(0,1)
    if self.current_step == self.total_steps:
        done = True
    else:
        done = False

    print('step: {} obs: {} action: {}'.format(self.current_step,obs,reward))

    return obs, reward, done, {}

def reset(self):

    self.current_step = 0
    self.episode += 1
    print('')
    print('EPISODE {}'.format(int(self.episode)))
    print('')

    return self._nextObservation()

model = ARS("MlpPolicy",DummyEnv())
model.learn(total_timesteps=100)`
And the output:

Using cpu device
Wrapping the env with a Monitor wrapper
Wrapping the env in a DummyVecEnv.

EPISODE 1

EPISODE 2

step: 1 obs: 0 action: 1
step: 2 obs: 1 action: 1
step: 3 obs: 0 action: 1
step: 4 obs: 1 action: 0
step: 5 obs: 1 action: 1
step: 6 obs: 1 action: 1
step: 7 obs: 0 action: 0
step: 8 obs: 0 action: 0
step: 9 obs: 1 action: 1
step: 10 obs: 0 action: 1

EPISODE 3

EPISODE 4

step: 1 obs: 1 action: 0
step: 2 obs: 1 action: 1
step: 3 obs: 0 action: 0
step: 4 obs: 0 action: 1
step: 5 obs: 1 action: 1
step: 6 obs: 0 action: 0
step: 7 obs: 0 action: 1
step: 8 obs: 1 action: 0
step: 9 obs: 1 action: 1
step: 10 obs: 0 action: 1

EPISODE 5

EPISODE 6

step: 1 obs: 1 action: 0
step: 2 obs: 1 action: 0
step: 3 obs: 0 action: 1
step: 4 obs: 1 action: 1
step: 5 obs: 0 action: 1
step: 6 obs: 1 action: 1
step: 7 obs: 0 action: 0
step: 8 obs: 1 action: 1
step: 9 obs: 1 action: 1
step: 10 obs: 0 action: 1

EPISODE 7

EPISODE 8

step: 1 obs: 1 action: 0
step: 2 obs: 1 action: 0
step: 3 obs: 1 action: 0
step: 4 obs: 1 action: 1
step: 5 obs: 1 action: 1
step: 6 obs: 1 action: 1
step: 7 obs: 0 action: 1
step: 8 obs: 0 action: 1
step: 9 obs: 1 action: 1
step: 10 obs: 0 action: 1

EPISODE 9

EPISODE 10

step: 1 obs: 0 action: 0
step: 2 obs: 1 action: 0
step: 3 obs: 1 action: 0
step: 4 obs: 0 action: 1
step: 5 obs: 1 action: 0
step: 6 obs: 0 action: 1
step: 7 obs: 1 action: 0
step: 8 obs: 0 action: 1
step: 9 obs: 1 action: 0
step: 10 obs: 0 action: 1

EPISODE 11

EPISODE 12

step: 1 obs: 1 action: 0
step: 2 obs: 0 action: 1
step: 3 obs: 0 action: 1
step: 4 obs: 1 action: 0
step: 5 obs: 1 action: 1
step: 6 obs: 0 action: 1
step: 7 obs: 1 action: 0
step: 8 obs: 1 action: 0
step: 9 obs: 0 action: 0
step: 10 obs: 0 action: 0

EPISODE 13

EPISODE 14

step: 1 obs: 1 action: 1
step: 2 obs: 1 action: 0
step: 3 obs: 1 action: 0
step: 4 obs: 0 action: 1
step: 5 obs: 0 action: 1
step: 6 obs: 1 action: 1
step: 7 obs: 1 action: 0
step: 8 obs: 0 action: 1
step: 9 obs: 1 action: 1
step: 10 obs: 1 action: 1

EPISODE 15

EPISODE 16

step: 1 obs: 1 action: 0
step: 2 obs: 1 action: 1
step: 3 obs: 1 action: 0
step: 4 obs: 0 action: 0
step: 5 obs: 1 action: 1
step: 6 obs: 1 action: 1
step: 7 obs: 0 action: 0
step: 8 obs: 1 action: 1
step: 9 obs: 1 action: 0
step: 10 obs: 0 action: 1

EPISODE 17

EPISODE 18

step: 1 obs: 1 action: 1
step: 2 obs: 1 action: 1
step: 3 obs: 0 action: 0
step: 4 obs: 0 action: 1
step: 5 obs: 0 action: 0
step: 6 obs: 0 action: 1
step: 7 obs: 1 action: 1
step: 8 obs: 1 action: 1
step: 9 obs: 0 action: 0
step: 10 obs: 1 action: 1

EPISODE 19

EPISODE 20

step: 1 obs: 1 action: 1
step: 2 obs: 0 action: 1
step: 3 obs: 1 action: 0
step: 4 obs: 1 action: 1
step: 5 obs: 1 action: 0
step: 6 obs: 0 action: 0
step: 7 obs: 0 action: 0
step: 8 obs: 1 action: 1
step: 9 obs: 0 action: 0
step: 10 obs: 1 action: 1

EPISODE 21

EPISODE 22

step: 1 obs: 0 action: 0
step: 2 obs: 1 action: 0
step: 3 obs: 0 action: 0
step: 4 obs: 1 action: 1
step: 5 obs: 0 action: 0
step: 6 obs: 1 action: 0
step: 7 obs: 0 action: 1
step: 8 obs: 0 action: 1
step: 9 obs: 1 action: 1
step: 10 obs: 1 action: 1

EPISODE 23

EPISODE 24

step: 1 obs: 0 action: 0
step: 2 obs: 1 action: 1
step: 3 obs: 0 action: 0
step: 4 obs: 1 action: 1
step: 5 obs: 0 action: 1
step: 6 obs: 0 action: 0
step: 7 obs: 1 action: 0
step: 8 obs: 0 action: 0
step: 9 obs: 1 action: 1
step: 10 obs: 0 action: 1

EPISODE 25

EPISODE 26

step: 1 obs: 0 action: 0
step: 2 obs: 1 action: 1
step: 3 obs: 1 action: 1
step: 4 obs: 1 action: 1
step: 5 obs: 0 action: 1
step: 6 obs: 1 action: 0
step: 7 obs: 1 action: 0
step: 8 obs: 1 action: 0
step: 9 obs: 0 action: 1
step: 10 obs: 0 action: 0

EPISODE 27

EPISODE 28

step: 1 obs: 1 action: 0
step: 2 obs: 0 action: 0
step: 3 obs: 0 action: 1
step: 4 obs: 0 action: 1
step: 5 obs: 0 action: 1
step: 6 obs: 0 action: 0
step: 7 obs: 0 action: 0
step: 8 obs: 0 action: 1
step: 9 obs: 0 action: 0
step: 10 obs: 0 action: 0

EPISODE 29

EPISODE 30

step: 1 obs: 0 action: 1
step: 2 obs: 0 action: 1
step: 3 obs: 1 action: 0
step: 4 obs: 1 action: 0
step: 5 obs: 1 action: 1
step: 6 obs: 1 action: 1
step: 7 obs: 1 action: 0
step: 8 obs: 0 action: 1
step: 9 obs: 0 action: 0
step: 10 obs: 1 action: 1

EPISODE 31

EPISODE 32

step: 1 obs: 0 action: 1
step: 2 obs: 1 action: 0
step: 3 obs: 1 action: 1
step: 4 obs: 0 action: 0
step: 5 obs: 0 action: 0
step: 6 obs: 0 action: 1
step: 7 obs: 0 action: 1
step: 8 obs: 1 action: 0
step: 9 obs: 1 action: 0
step: 10 obs: 1 action: 1

EPISODE 33

thanks for the code example (please format it with markdown codeblock next time), what is happening is exactly what i described.


text:
Chatops keyword parameter passing broken

SUMMARY
I upgraded stackstorm to the new 3.0.1 and our way of calling slack chatops with named parameter is not working any more.
!newbuild name=truc gittag=c4deadbeefd03266f1ba7042b14b31a release=unstable github_packaging_branch=10.32

output:
I'm sorry, Dave. I'm afraid I can't do that.
Command "newbuild name=truc gittag=c4deadbeefd03266f1ba7042b14b31a release=unstable github_packaging_branch=10.32" doesn't match format string "newbuild {{name=truc}} {{gittag}} {{release}} {{github_packaging_branch}}"

whereas the following is OK:
!newbuild truc c4deadbeefd03266f1ba7042b14b31a unstable "10.32"

This was working fine before.
ISSUE TYPE

Bug Report

STACKSTORM VERSION
st2 3.0.1, on Python 2.7.5
OS / ENVIRONMENT / INSTALL METHOD
Bare-metal CentOS 7 + EPEL (up to date)
STEPS TO REPRODUCE
!say phrase=toto in color=red

EXPECTED RESULTS
I have it covered. Your execution ID is 5cfa92a935e378177eae1d39 (details available at https://stackstorm.novalocal/#/history/5cfa92a935e378177eae1d39/general)
@Vincent:
Noop
Action core.noop completed.
status : succeeded
execution: 5cfa92a935e378177eae1d39

web_url: https://stackstorm.novalocal/#/history/5cfa92a935e378177eae1d39/general

Took 0.459185\u03BCs to complete.

result :
--------
failed : False
 Show more

ACTUAL RESULTS
@You: I'm sorry, Dave. I'm afraid I can't do that.
Command "say phrase=toto in color=red" doesn't match format string "say {{phrase}} in {{color}}"

Can you provide sample action alias? This will make it easier for someone to reproduce in future.
Which st2chatops package version you used, that worked before?

Does the say example not help to reproduce it ? I thinks this is not a local pack problem but a more generic one.
I don't remember the exact versions we had before, I'll try to dig it out of our pkg installation log files...

What is strange is that some other aliases don't have the problem and work with keyword agrs passed through slack. Maybe some leftovers/buglet from an alias matching change.
I actually have changed the newbuild alias definition to remove some previously set default values, so that now people have to give them explicit values.

Just to be sure, are you saying you have forked st2 or st2chatops core with some custom regex rules?
Or do you mean matching regex in action alias itself (action alias format https://docs.stackstorm.com/chatops/aliases.html#regular-expressions) ?

Nope, I don't have forked anything, the packages are pristine from upstream repository, at versions cited above. When I said "change", it's in my pack code, in the matching regex in action alias format string as you rightly supposed.
What is strange is some of our own aliases continue to work properly with keyword arguments (not sure if it the right word, I use the python denomination), whereas others don't.
What is also strange is that the upstream alias say is showing the problem, whereas I have not changed it, apart from the eventual change coming from official upstream version upgrade.

authors: armab vincent-legoll


text:
Update slack sensor trigger ts from int to string

This PR updates the slack sensor, changing the data type of the ts return type from an Integer to a String.
I found this while trying to figure out how to dereference a message to a permalink. Here's how the story goes.
A permalink looks like this: https://stackstorm.slack.com/archives/bot-testing/p1449711449000413
And the accompanying payload that comes along with it, looks like this.
{
    "type": "message",
    "channel": "C2147483705",
    "user": "U2147483697",
    "text": "<https://github.com/StackStorm/st2puppet/pull/196> test 5",
    "ts": "1449711449.000413"
}

I've been trying to figure out how to deref a message to a permalink, and been unsuccessful. This is because what I actually get something like this...
{
    "type": "message",
    "channel": "C2147483705",
    "user": "U2147483697",
    "text": "<https://github.com/StackStorm/st2puppet/pull/196> test 5",
    "ts": 1449711449
}

ts is cast as an integer, and I lose the resolution necessary to derive a permalink. From what I can tell in the API (https://api.slack.com/events/message), this is a string, so I'm going with it.

Seems reasonable
+1

Well, this isn't the fix, but it still needs to happen. Going to have to dig a bit...

authors: jfryman manasdk


text:
Like/Stamp/Thumbs up button

Use pageforms autoedit to add the IP address to the stamps paramater on the answer template.

Like button title/tooltip should say "like question"
Icon should be black & white by default and full cover on hover.
https://github.com/StampyAI/stampy-ui/blob/master/app/assets/icons/thumbs-up.svg
See pen icon for implementation reference.

not "Like answer"?

@plexish You're right! I fixed the instructions above.

Decided to go with the name of this button being "Helpful"

repo: StampyAI/stampy-ui


text:
Tool requirement: binary generation from API

The Sleigh engine is the core of ghidra decompiler. It can deal with the binary stream, disassemble it into instructions and lift it into IRs.
However, its restriction is that it can only deal with the binary stream instead of text streams.
Sometimes we are given the text streams, and we know the underlining semantic of each text instruction. To deal with such situation, the usage of sleigh engine is hard.
A possible solution of this is to write a tool (possibly in Python?) that could generate the binary according to the text instructions and a sleigh specification that could further translate the binary back to the text format.
This allows the sleigh engine to be bypassed and let the ghidra do the rest of the job as it is.
What we need:

[ ] API design
[ ] instruction choice algorithm (choose the binary format of each instruction when instructions are fed into the API)
[ ] sleigh generation algorithm
[ ] complete tool

closed due to project restructure.

repo: StarCrossPortal/sleighcraft


text:
be crash when enable_resource_group turn on

Steps to reproduce the behavior (Required)

prepare data for tpch 1g

select count(*) from (
select
s_acctbal,
s_name,
n_name,
p_partkey,
p_mfgr,
s_address,
s_phone,
s_comment
from
part,
supplier,
partsupp,
nation,
region
where
p_partkey = ps_partkey
and s_suppkey = ps_suppkey
and p_size = 15
and p_type like '%BRASS'
and s_nationkey = n_nationkey
and n_regionkey = r_regionkey
and r_name = 'EUROPE'
and ps_supplycost = (
select
min(ps_supplycost)
from
partsupp,
supplier,
nation,
region
where
p_partkey = ps_partkey
and s_suppkey = ps_suppkey
and s_nationkey = n_nationkey
and n_regionkey = r_regionkey
and r_name = 'EUROPE'
)
order by
s_acctbal desc,
n_name,
s_name,
p_partkey
) as t1;

### Expected behavior (Required)

+----------+
| count(*) |
+----------+
|      460 |
+----------+
### Real behavior (Required)

*** Aborted at 1652272598 (unix time) try "date -d @1652272598" if you are using GNU date ***
PC: @          0x281fb0e starrocks::pipeline::QuerySharedDriverQueueWithoutLock::take()
*** SIGSEGV (@0x332f302e) received by PID 3390 (TID 0x7f43bf6bb700) from PID 858730542; stack trace: ***
@          0x3eddd32 google::(anonymous namespace)::FailureSignalHandler()
@     0x7f44638fd630 (unknown)
@          0x281fb0e starrocks::pipeline::QuerySharedDriverQueueWithoutLock::take()
@          0x281e0e7 starrocks::pipeline::DriverQueueWithWorkGroup::take()
@          0x281c337 starrocks::pipeline::GlobalDriverExecutor::_worker_thread()
@          0x20b8879 starrocks::ThreadPool::dispatch_thread()
@          0x20b442a starrocks::Thread::supervise_thread()
@     0x7f44638f5ea5 start_thread
@     0x7f4462f108dd __clone
@                0x0 (unknown)
### StarRocks version (Required)
 - You can get the StarRocks version by executing SQL `select current_version()`

+----------------------+
| current_version()    |
+----------------------+
| MAIN-RELEASE d2809f5 |
+----------------------+

Fixed by #5979

authors: colorfulu mofeiatwork

repo: StarRocks/starrocks


text:
[BugFix] Fix priority of polymorphic function error

Fixes #issue
update polymorphic function match logical
before:

match standard function on all mode
match polymorphic function

after:

match standard function on strict mode(IS_IDENTICAL, IS_INDISTINGUISHABLE)
match polymorphic function
match standard function on add-cast mode(IS_SUPERTYPE_OF, IS_NONSTRICT_SUPERTYPE_OF)

to fixbug like this, ARRAY<JSON> will match to ARRAY<BOOLEAN>
MySQL test> explain verbose select array_distinct([PARSE_JSON('{1: 2}')])
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Explain String                                                                                |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| RESOURCE GROUP: default_wg                                                                                |
|                                                                                |
| PLAN FRAGMENT 0(F00)                                                                                |
|   Output Exprs:2: array_distinct                                                                                |
|   Input Partition: UNPARTITIONED                                                                                |
|   RESULT SINK                                                                                |
|                                                                                |
|   1:Project                                                                                |
|   |  output columns:                                                                                |
|   |  2 <-> array_distinct[(cast([parse_json('{1: 2}')] as ARRAY<BOOLEAN>)); args: INVALID_TYPE; result: ARRAY<BOOLEAN>; args nullable: true; result nullable: true] |
|   |  cardinality: 1                                                                                |
|   |                                                                                |
|   0:UNION                                                                                |
|      constant exprs:                                                                                |
|          NULL                                                                                |
|      cardinality: 1                                                                                |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
16 rows in set
Time: 0.019s

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 30 / 30 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
27
27
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/PolymorphicFunctionAnalyzer.java
3
3
100.00%
[]

Can you tell us the new match strategy is more strice or more relax  or something else than the old?
Because I am worried that in some cases, the match results in the new and old versions are different, resulting in inconsistent behavior before and after the upgrade.

Can you tell us the new match strategy is more strice or more relax or something else than the old? Because I am worried that in some cases, the match results in the new and old versions are different, resulting in inconsistent behavior before and after the upgrade.

For standard function (strict signature function), it's same as before, no different
For only polymorphic function, it's same as before, no different
For some array function which one is includes both polymorphic and standard functions at same time, it's different, will be more relaxed than before. when standard function can't satisfied requirements, will use polymorphic function first, not use cast function to satisfied the requirements of standard function

[FE PR Coverage Check]
:heart_eyes: pass : 31 / 31 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/FunctionSet.java
27
27
100.00%
[]

:large_blue_circle:
com/starrocks/sql/analyzer/PolymorphicFunctionAnalyzer.java
4
4
100.00%
[]

@Mergifyio backport branch-3.1

authors: Seaven packy92 wanpengfei-git


text:
[Feature] Add support datacache.partition_duration for mv

Why I'm doing:
Materialized view doesn't support to set datacache.partition_duration so far.
What I'm doing:
Add support datacache.partition_duration property for materialized view to
control the validity time of its datacache.
Fixes #issue
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[x] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

@wyb PTAL

@Mergifyio backport branch-3.2

@Mergifyio backport branch-3.1


text:
[Bugfix] chunked transfered json

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #5515
Problem Summary(Required) ：

The HTTP body of stream load may be divided into chunks and be written into StreamLoadPipe. It's not easy to find out a complete JSON object among chunked data.
This PR use nullptr as the delimiter of JSON objects inside the StreamLoadPipe. When a complete JSON is appended, a nullptr would be appended too.
Though it may be a little strange, it minimizes the modification and adds little complexity.

How about return a ByteBufferPtr from StreamLoadPipe::read_one_message() directly?
Instead of appending a NULL as the mark of the end of message,  how about saving the whole message in a single ByteBuffer?

authors: rickif sduzh


text:
[Enhance] change max_transmit_batched_bytes from 64KB to 256KB

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

max_transmit_batched_bytes affects the RPC packet size in exchange operator, but current value 64KB is pretty small, and has some negative effects of performance.
If change it to 256KB, the upside is we could reduce some RPC for network intensive workloads. And the buffer is pretty small, the memory overhead is not so significant.
Experiment Result

query
Before
After

select d_year, s_city, p_brand, sum(lo_revenue) - sum(lo_supplycost) as profit from ssb_100g.lineorder join ssb_100g.dates on lo_orderdate = d_datekey join ssb_100g.customer on lo_custkey = c_custkey join ssb_100g.supplier on lo_suppkey = s_suppkey join ssb_100g.part on lo_partkey = p_partkey where c_region = 'AMERICA'and s_nation = 'UNITED STATES' and (d_year = 1997 or d_year = 1998) and p_category = 'MFGR#14' group by d_year, s_city, p_brand order by d_year, s_city, p_brand;
490ms
377ms

select sum(p_size) from ssb_100g.part LEFT SEMI JOIN (select * from ssb_100g.lineorder WHERE lo_quantity<=15) as b on p_partkey=b.lo_partkey
811ms
642ms

@Mergifyio backport branch-2.3


text:
feat: text decoration styling

Added feature from #215
Tag highlighting was missing the ability to do custom text decoration like line-through, underline, etc.
This PR exposes text decoration (the same way border styling is exposed)

Looks good to me!

authors: Zodsmar macjuul

repo: StarlaneStudios/vscode-comment-anchors


text:
update to LND v0.15.0, added circular route option, added JS migrations

Self-critique: the migrations JS code is sloppy and not DRY at all. but it works, maybe it can be refactored once I get better at this, or if someone is feeling up to it.

updated submodule to v0.15.0-beta
added option under advanced for 'allow circular route' - should force user to save config again with the new option highlighted
deleted the migration folder and put it all in the migrations.ts, using the new up/down method.
updated manifest version.

What is lazy.ts for, and how did you test that it works?
cc @Blu-J

What is lazy.ts for, and how did you test that it works?
cc @Blu-J

no idea. it definitely didnt work without it.
@Blu-J ?

authors: chrisguida cryptodread


text:
When backing up on 0.3.3, LNDg displays the following error

I'm not able to reproduce this error. Can you provide more steps to reproduce?
I used LAN Shared Folders to backup.

fixed by adding /root/data in the manifest.yaml

authors: cryptodread varacohete


text:
🛑 Roblox Site is down

In 855163e, Roblox Site (https://www.roblox.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Roblox Site is back up in 6f60be1.

repo: Status-Plus/StatusPlus


text:
Mechs & Mercs: Black Talons(273960), Chroma Squad(251130), StarCrawlers(318970)  and Lux Delux(341950) works.

Sources:
Chroma Squad: http://www.gamingonlinux.com/articles/revisiting-my-childhood-with-‘chroma-squad’-now-on-linux.5313
StarCrawlers: http://www.gamingonlinux.com/articles/starcrawlers-an-early-mix-of-rpg-dungeon-crawling-released-for-linux-thoughts-thrown-in.5150
Mechs & Mercs: Black Talons: http://www.gamingonlinux.com/articles/mechs-mercs-black-talons-a-real-time-strategy-game-we-take-a-gander.5010
Lux Delux
Comment of page bellow.
http://www.gamingonlinux.com/articles/lux-delux-a-risk-styled-game-now-on-steam-for-linux.5323

Thanks for this submission; 318970 has been inserted at the wrong point, if you can amend the commit, I can merge.
It also appears our test is outputting an incorrect message, so I shall correct that :^)

SteamLinuxTest::testSorting
File must be sorted correctly by appid, problem at "319050"
Failed asserting that 318970 matches expected 319050.

Lux Delux - 341950 is also not sorted.

Travis at least now outputs better information as of 099fb3c422, see CONTRIBUTING to learn how to run this test locally before commits :)
1) SteamLinuxTest::testSorting
File must be sorted correctly by appid, "318970" is far too late
Failed asserting that 318970 matches expected 319050.

Thanks!

Thanks for spoting my error and sorry to not check my email sooner and don't make the validation.

authors: Tele42 cristianedson johndrinkwater

repo: SteamDatabase/SteamLinux


text:
Events do not trigger a m.redraw like they would in Mithril.

I'm getting around this by manually calling view(ctrl) after the event but ideally this would behave like Mithril.

interesting idea.
This would require to have an instance of the controller to trigger redraw.
Normally I do this
$output = mq(view(ctrl));
$output.click('button');
$output = mq(view(ctrl));
$output.should.have('div');

If query has also a reference to the controller result one could write:
$output = mq(view, ctrl); // or even $output = mq(myModule);
$output.click('button');
$output.should.have('div');

Think that would be awesome! Is this what you want?
$output = mq(view, ctrl);

Yeah! And your first strategy is the one I'm currently using.

I try to accomplish this on weekend. But also a PR would be nice. I think that is a pretty easy task.

Do you want to give it a try ;)
https://github.com/StephanHoyer/mithril-query#auto-rendering

Just released 0.4.0 for this feature

authors: JoshGalvin StephanHoyer

repo: StephanHoyer/mithril-query


text:
.NET 4.0 Target

Hi Stephen,
Is there any implementation of Mvvm.Async targeting .net 4.0?
Curently I am using IAsyncCommand with WPF 4.0 from som implementation I read on your blog about this subject.
However, I am experiencing some ArgumentNullExceptions (Parameter name: task at System.Runtime.CompilerServices.AsyncServices.b__0(Object state)  exceptions when the command execution async method returns right away, like this:
`private async Task SaveAsync(CancellationToken token)
{
//Do some validation and decide to return prior to continue method execution
return;
//If OK, do async stuff, returning a task
    }`

As a workaround, if the code await TaskEx.Delay(1) no exception is thrown.
Thank you,
Igor.

The code download for that article contains a bug fix for that issue.

Hi @ikondrasovas ,

Is there any implementation of Mvvm.Async targeting .net 4.0?

Do you have the answer to your question ? Indeed, I'm facing the same need to call Async RelayCommand in .Net 4.0.
Thank you.

There has never been a version of Mvvm.Async targeting .NET 4.0.

@StephenCleary , thank you for your fast answer. It's very unfortunate for me :-(

authors: StephenCleary gitjsdr26 ikondrasovas


text:
🛑 DNS (he.net) is down

In 8e136c4, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in e1dfc57.

repo: Sternwarte-St-Ottilien-e-V/status


text:
InvalidOperationException in Vogen 4.0.3

Describe the bug
If an assembly:  attribute with a single params parameter is used with multiple values before the assembly: VogenDefaults attribute in the same file, then the following warning is generated:
warning CS8785: Generator 'ValueObjectGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'InvalidOperationException' with message 'TypedConstant is an array. Use Values property.'.

Products:

VS 17.9.6
.NET 8.0.204
Vogen 4.0.3

Steps to reproduce
In a blank project, use the following code
using Vogen;

[assembly: Test(1, 2, 3, 4)]

[assembly: VogenDefaults(conversions: Conversions.Default | Conversions.LinqToDbValueConverter)]

Console.WriteLine("Test");

[AttributeUsage(AttributeTargets.Assembly)]
public sealed class TestAttribute(params int[] Values) : Attribute;

[ValueObject]
public readonly partial record struct TestId;

Expected behaviour
The [assembly: Test(1, 2, 3, 4)] will have no impact on the VogenDefaults attribute.
NB: switching the order, so that the Test attribute comes after VogenDefaults causes the build to work successfully.

Thanks for the bug and repo - well spotted! I'll get this fixed ASAP

Thanks for the bug and repo - well spotted! I'll get this fixed ASAP

Will be in 4.0.4 tomorrow - thanks again!

Thanks!

authors: SteveDunn viceroypenguin

repo: SteveDunn/Vogen


text:
Typing cards

Hey great job on Flashdown!  :)
For cards where you are required to type, I think having the option to not type, but just flipping the card and giving the 1-4 score for your memory of it should be an option.
Also, maybe a "?" option for commands like import new collection / export collection, closing the app, etc might be nice.

Thanks for the feedback and the suggestion! I agree this makes sense as an option. Afraid I'm not actively developing this at the moment though. That said, if you prepared a PR, I'd certainly take a look, and if it was neat enough, I might incorporate it.

authors: SteveRidout brodavi

repo: SteveRidout/flashdown


text:
Whitelist request: d2c8v52ll5s99u.cloudfront.net

Noticed that I was unable to play video on https://www.newyorker.com/news/daily-comment/the-unwinding-of-donald-trump
Found that whitelisting  d2c8v52ll5s99u.cloudfront.net allowed me to play video.
Note that this does enable ads on video, but I would prefer to be able to see the video with an ad than to not see a video at all.
Also referenced here: https://www.reddit.com/r/pihole/comments/74it6h/help_identifying_embedded_video_url_being_blocked/
Thanks!

@neeez this is flagged by mvps.org, who are impeccable curators.
Please take this up with them by contacting winhelp2002@gmail.com.
Closing.

@neeez the people at mvps.org are just great.  Take this up with them, please.
I’m sure you must understand, this domain has been observed to have nefarious intent.  If it “breaks” those sites, that’s tough.  If mvps.org decide to continue flagging this domain, then this repo will absolutely respect that decision.

authors: StevenBlack neeez

repo: StevenBlack/hosts


text:
Add option to insert blank page between pages in Multi-tool (#2194)

Description
The added functionality was to insert blank pages between existing pages. The following files were modified:

modified: src/main/resources/static/css/pdfActions.css
modified: src/main/resources/static/js/multitool/PdfActionsManager.js
modified: src/main/resources/static/js/multitool/PdfContainer.js
modified: src/main/resources/templates/multi-tool.html

File: PdfContainer.js

The function addFiles() was modified to accept a second boolean parameter to indicate whether the page should be blank.

A new function, addFilesBlank(), was also added. It generates a blank page and adds it to the PDF.

Another new function, addFilesBlankAll(), was added to insert blank pages between all existing pages at once.

File: PdfActionsManager.js

The function insertFileBlankButtonCallback() was added to allow the insertion of a blank page between specified pages, one at a time.

Other modifications included updates to the UI, where two buttons were added to enable this functionality.

Closes #(2194)
Checklist

[x] I have read the Contribution Guidelines
[x] I have performed a self-review of my own code
[x] I have attached images of the change if it is UI based
[ ] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] I have read the section Add New Translation Tags (for new translation tags only)

Good work!

authors: Frooodle thisisrenan

repo: Stirling-Tools/Stirling-PDF


text:
Update build.yml with new version of EndBug/add-and-commit task

The version currently used is old and uses deprecated features. Current version is v9
https://github.com/EndBug/add-and-commit

Duplicate #164  was created and used to fix this issue.


text:
🛑 Nextcloud Papa is down

In 778ece0, Nextcloud Papa ($NEXTCLOUD_2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud Papa is back up in 5e54b6b.

repo: StudFu-WordToMD/status


text:
Googleauthentificator

feat! trying to add google authentification in the firebaseUIActivity.
Implements #5

The code that was pushed looks good to me, but it is incomplete.
I couldn't review the UI because there is not really one yet.
The core functionalities seem to be lacking for now.

Won't do. It's not useful to work on this anymore.

repo: StudyDistractor/sdp

license: Unlicense


text:
Add a google translation feature

Describe the feature
Google translates enables easy translation of the page and hence makes it accessible for everyone. Since this website is related to agriculture, our Indian farmers are not well versed with english. This feature will enable them to translate the website in the language of their choice
Add ScreenShots

i would like to add a google translate feature like this
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please assign me this issue @Suchitra-Sahoo

Hey can you please assign me this issue @Suchitra-Sahoo

repo: Suchitra-Sahoo/AgriLearnNetwork


text:
Skip "original form" and "help page url" links if the URL isn't valid

Fix #86

Trying a npm format to fix the prettier error. Looks like it's overinclusive, but hopefully OK


text:
🛑 Zinc 15 is down

In 646c4d7, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in a7b09d0.

repo: Sulstice/Uptime-Cheminformatics


text:
🛑 Zinc 15 is down

In e7d8092, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in 39218e0.


text:
🛑 Chemical Resolver is down

In cc536b9, Chemical Resolver (https://cactus.nci.nih.gov/chemical/structure) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chemical Resolver is back up in f1988b7.


text:
🛑 Chem Exper is down

In 6ea4595, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 90257d1.


text:
🛑 Chem Exper is down

In 95b0e94, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in e0e8f7b.


text:
🛑 Chem Exper is down

In 65f7c53, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in c741f34.


text:
🛑 Chem Exper is down

In 9a489db, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 4687a3f.


text:
🛑 Chem Exper is down

In 140ed18, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in e6994e9.


text:
🛑 Chem Exper is down

In d11b798, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in ebac6c0.


text:
🛑 Chem Exper is down

In 189369f, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 9f8de91 after 19 minutes.


text:
🛑 Pesticide Info is down

In 4c0c4a6, Pesticide Info (https://www.pesticideinfo.org/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pesticide Info is back up in 7613837 after 7 minutes.


text:
🛑 NMR Shift Database is down

In 21fbc71, NMR Shift Database (https://nmrshiftdb.nmr.uni-koeln.de/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NMR Shift Database is back up in 3566e73 after 6 minutes.


text:
🛑 Binding Database is down

In 0bbafab, Binding Database (http://www.bindingdb.org/bind/index.jsp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Binding Database is back up in d2ceb4b after 1 hour.


text:
🛑 Chem Exper is down

In e5f7c0e, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 31d3172 after 7 minutes.


text:
🛑 Chem Exper is down

In b8dd763, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in f305975 after 8 minutes.


text:
🛑 Chem Exper is down

In a41f190, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 037a81b after 8 minutes.


text:
🛑 Chem Exper is down

In baf3881, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 5b69446 after 8 minutes.


text:
🛑 Zinc 15 is down

In 42a3e29, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in 0f7cd41.


text:
🛑 Binding Database is down

In 660d6a6, Binding Database (http://www.bindingdb.org/bind/index.jsp) was down:

HTTP code: 404
Response time: 912 ms

Resolved: Binding Database is back up in faffe51 after 11 minutes.


text:
🛑 Chem Exper is down

In 2a1d24d, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in ce901c9 after 7 minutes.


text:
🛑 Zinc 20 is down

In 4c9bdfd, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 84473dc.


text:
🛑 Zinc 20 is down

In 3ca5512, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 639e251.

repo: Sulstice/uptime-zinc-db


text:
🛑 Ping matrix.supersandro.de is down

In 5805f45, Ping matrix.supersandro.de (matrix.supersandro.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ping matrix.supersandro.de is back up in d6dcc26 after 860 days, 2 hours, 56 minutes.


text:
🛑 Ping matrix.supersandro.de is down

In c1a33dc, Ping matrix.supersandro.de (matrix.supersandro.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ping matrix.supersandro.de is back up in 4d6456c after 25 minutes.


text:
When importing a workspace some elements go very far from each other.

done.

To solve this issue, I relaxed the tension concept a little bit. This implies that when an object distance to its chain parent is greater than 1000, the tension angle will not be applied.

repo: Superalgos/DesktopApp


text:
Problem with ANPR

Help me.
I can't connect to my ANPR camera HIKVISION via this module.
I add new ANPR node, configure IP, username, password, auth protocol but it isn't have effect.
Maybe do I first need prepare my camera ?

What error you get?
Have you clicked “connect” on the config window?

My get error

Yes, tried. But click was finished with error

Have you followed the indication to save and deploy first?
If yes, please check the credentials. "Forbidden" means that the credentials are either wrong or that you heven't enabled the API on the camera. Please check that as well.

Yes. I deployed before click "connect"
API on camera is Enabled and username/password is right

Hi
What model do you have?
Please tell me the node version and nodered version as well.
For node, issue a node -v command
Thanks.

CAMERA - iDS-2CD7A26G0/P-IZHS
V5.5.130 build 200820 Firmware version of Camera
NODE - v12.22.1
NODE-RED - v1.3.2

It should be ok.
Do you use digest or basic authentication? Have uou tried to switch from digest to basic and vice versa?
What querystring do you use with postman?

PS: try also to use, for example, the picture node and let me know!

PS: try also to use, for example, the picture node and let me know!

Node picture connect successfully to this camera

What querystring do you use with postman?

basic

I use digest authentication
Yes, but this switch in setting don't work correctly. I cound't  select basic auth (this parametr cann't be saved).
I don't know specific querystring by this problem. I checked auth proccess in postman.

Tomorrow i’ll take a look at that.
I use the ANPR node succesfully everyday with my ip camera and works great.
There should be something wrong in the digest/basic selection option.

Hello
V. 1.0.43 is out with a fix with all issues you have.
Thank you for reporting that!

Button 'connect' worked correctly now. But node can't work correctly.

Ok, you can now try to switch from digest and basic and vice versa.
On each switch, please restart node-red

Yes. Now I can switch from digest and basic and vice versa.
But node return

Hi
Have you maybe some IP filtering active on the camera? Is the admin user allowed to use the API?
Please put banana after the ip. For example 192.168.1.103banana
Restart nodered. From now onwards, node red starts logging a lot of things. I need this log to sort out something, because these infos are kot enough. Thanks.

I'm found problem

Do you have full api doc by this function?
Maybe  this function in firmware was changed?

Hi
Have you maybe some IP filtering active on the camera? Is the admin user allowed to use the API?
Please put banana after the ip. For example 192.168.1.103banana
Restart nodered. From now onwards, node red starts logging a lot of things. I need this log to sort out something, because these infos are kot enough. Thanks.

I'm not use IP filtering on the camera.
User admin allowedto use the API.

Hikvision ISAPI Core Protocol.pdf
Hi
This is very strange. Attached, API docs.
This should be the only and valid api call to get the plates...

Hi, I am getting with
DEVICE INFORMATION
Model: DT2A404
Firmware: V5.6.12
The taling picture just works fine. Maybe that camera is not supported?

Hi jensfr1,
i don't understand your issue.
Also please open a new issue, do not reply to an opened and different one.
Thanks.

Also... the DT2A404 is not an ANPR camera. Are you sure about the model?


text:
Added w3schools and TheOdinProject to the list

Added w3schools and TheOdinProject to the free-course-list.md.
Screenshot

Hello @vikasganiga05, the w3schools is added, please resolve the conflicts.

Hello @vikasganiga05, the w3schools is added, please resolve the conflicts.

The conflicts resolved Thank You for letting me know. :pray:

Thank You :pray:

repo: SurPathHub/starter-kit


text:
Suggestions for a better implementation

A struct can be used instead of just an index to display more information about the pet like type of animal, age, etc.

I would like to work on it so please assign it to me.

Assigned to you:)

@Swarnendu0123  Can you please add the labels of wob and level to this issue and pr ?


text:
Logger does not respect the "Enable logging" setting

The log method on the WC_Background_Swedbank_Pay_Queue class does not respect the "Enable logging" setting for the current payment gateway. See https://github.com/SwedbankPay/swedbank-pay-woocommerce-core/issues/16 for a similar issue.
As far as I can tell the WC_Background_Swedbank_Pay_Queue does not have access to the current payment gateway class, so I'm not sure what the best way to check for the "Enable logging" setting is. But I'm not super famililar with the code either, so y'all probably have a good idea for how to do that. :)

Maybe the best is to use the log setting from the CC payment option if that is active, and then fall back to another active payment gateway. I don't know. But it would be nice if WC_Background_Swedbank_Pay_Queue didn't write to the log if one has not enabled logging on any payment gateway. ping @aait @asbjornu :)

@aait @asbjornu thanks for fixing the logging issues in https://github.com/SwedbankPay/swedbank-pay-woocommerce-core/issues/16 The only thing still left where logging is happening regardless of once's settings is the logging done by the background queue. Would be awesome to get that fixed as well. :)

@lakrisgubben Thanks. Actually, i don't want to get rid of the background queue because those logs can be very helpful if something wrong. Those logs can be very helpful.

@aait fair enough. :)

authors: aait lakrisgubben


text:
🛑 swiftfiddle.com/lang-server is down

In d9ab9d6, swiftfiddle.com/lang-server (https://swiftfiddle.com/lang-server/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: swiftfiddle.com/lang-server is back up in b35da8c after 29 minutes.


text:
The SugarRecord-iOS [Debug] target overrides the EMBEDDED_CONTENT_CONTAINS_SWIFT

Hi, awesome this is such a great API.  Though I'm getting this error when trying to install the pod
I've added: pod 'SugarRecord', :git => 'https://github.com/gitdoapp/sugarrecord.git'
to the pod file though the error happens below.  I've tried adding $(inherited) to:
Header Search Paths
Other Linker Flags
Preprocessor Macros
in Project -> Target -> Build Settings
Though still the same error.  Thanks in advance if you can help.
/********************************************/
[!] The SugarRecord-iOS [Debug] target overrides the EMBEDDED_CONTENT_CONTAINS_SWIFT build setting defined in Pods/Target Support Files/Pods-SugarRecord-iOS/Pods-SugarRecord-iOS.debug.xcconfig'. This can lead to problems with the CocoaPods installation     - Use the $(inherited)` flag, or
- Remove the build settings from the target.

@Ged2323 version of CocoaPods and XCode that you're using?

Hi Pedro,
I’m using Version 7.1 (7B91b)
cocoapods -cocoapods-0.39.0
Regards Gerard

On 9 Dec 2015, at 5:23 pm, Pedro Piñera Buendía notifications@github.com wrote:
@Ged2323 https://github.com/Ged2323 version of CocoaPods and XCode that you're using?
—
Reply to this email directly or view it on GitHub https://github.com/SwiftReactive/SugarRecord/issues/181#issuecomment-163139080.

Try this:

In your project build settings look for Embedded Content Contains Swift Code
Update the value to other and use the flag $(inherited)

It seems that CocoaPods is trying to replace that value in your project but it has already a default value defined and CocoaPods warns you about that. Let me know if that helps :).

Great mate, that worked like a charm.  Just wondering is this updated to work with iCloud?
Yours Sincerely
Gerard Grundy

On 9 Dec 2015, at 5:30 pm, Pedro Piñera Buendía notifications@github.com wrote:
Try this:

In your project build settings look for Embedded Content Contains Swift Code
Update the value to other and use the flag $(inherited)

It seems that CocoaPods is trying to replace that value in your project but it has already a default value defined and CocoaPods warns you about that. Let me know if that helps :).
https://cloud.githubusercontent.com/assets/663605/11679188/e5669662-9e4e-11e5-99ed-491fefcd357a.png
—
Reply to this email directly or view it on GitHub https://github.com/SwiftReactive/SugarRecord/issues/181#issuecomment-163140156.

Great @Ged2323 :), the defualtstorage doesn't give support to iCloud but there's a ticket to implement it. I'll let you know when it's ready. Are you using it?

Yes. I am playing around with it.  I had it fully working on the previous demo you had with the list and tableview.  Though once the Apple update it all failed. tons of errors. I’m happy to try and work through them with you if that helps.  It’s a big project!! I did try to install sugar record on an new Xcode file though I;m getting errors with the sample code you provided.
Use of undeclared type ‘CoreDataDefaultStorage'
Am i meant to import or drop the SugarRecord project into the new Xcode project for this to work?
Yours Sincerely
Gerard

On 9 Dec 2015, at 10:49 pm, Pedro Piñera Buendía notifications@github.com wrote:
Great @Ged2323 https://github.com/Ged2323 :), the defualtstorage doesn't give support to iCloud but there's a ticket to implement it. I'll let you know when it's ready. Are you using it?
—
Reply to this email directly or view it on GitHub https://github.com/SwiftReactive/SugarRecord/issues/181#issuecomment-163219509.

Can you share an screenshot @Ged2323 ?

Hi Here’s the screenshot.

On 9 Dec 2015, at 11:35 pm, Pedro Piñera Buendía notifications@github.com wrote:
Can you share an screenshot @Ged2323 https://github.com/Ged2323 ?
—
Reply to this email directly or view it on GitHub https://github.com/SwiftReactive/SugarRecord/issues/181#issuecomment-163234437.

Can't see it @Ged2323

I updated my previous post.

On 10 Dec 2015, at 8:04 am, Pedro Piñera Buendía notifications@github.com wrote:
Can't see it @Ged2323 https://github.com/Ged2323
—
Reply to this email directly or view it on GitHub https://github.com/SwiftReactive/SugarRecord/issues/181#issuecomment-163410390.

@Ged2323
import SugarRecord

Hi Pedro I gave it a go though I'm getting the same error.
And this one on the import. --> File 'ViewController.swift' is part of module 'SugarRecord'; ignoring import

But what are you trying to do, create an example project? @Ged2323 ?

Yes I’m just trying to import sugar record onto a blank project and get it going.

On 10 Dec 2015, at 9:44 pm, Pedro Piñera Buendía notifications@github.com wrote:
But what are you trying to do, create an example project? @Ged2323 https://github.com/Ged2323 ?
—
Reply to this email directly or view it on GitHub https://github.com/SwiftReactive/SugarRecord/issues/181#issuecomment-163587870.

I was so sad once apple updated swift.  I had an awesome project going with sugar record with iCloud and then error after error.  I tried to fix sugar record and update it to 2.1 but it was epic.
I could not find any solutions anywhere.

On 10 Dec 2015, at 9:45 pm, Gerard Grundy gerardgrundy@gmail.com wrote:
Yes I’m just trying to import sugar record onto a blank project and get it going.

On 10 Dec 2015, at 9:44 pm, Pedro Piñera Buendía <notifications@github.com mailto:notifications@github.com> wrote:
But what are you trying to do, create an example project? @Ged2323 https://github.com/Ged2323 ?
—
Reply to this email directly or view it on GitHub https://github.com/SwiftReactive/SugarRecord/issues/181#issuecomment-163587870.

repo: SwiftReactive/SugarRecord


text:
Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2 compiler

What did you do?
Try to build project.
What did you expect to happen?
Build succeed
What actually happened instead?
Error on SwiftyJSON import
Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2 compiler:
Environment
List the software versions you're using:

SwiftyJSON: 5.0.0
Xcode Version: 11.4
Swift Version: Xcode Default

Please also mention which package manager you used and its version. Delete the
other package managers in this list:

Cocoapods: 1.8.4

A solution might be to set BUILD_LIBRARY_FOR_DISTRIBUTION to yes.
https://stackoverflow.com/questions/58654714/module-compiled-with-swift-5-1-cannot-be-imported-by-the-swift-5-1-2-compiler

You might be able to work around this by removing your carthage build directory and rerunning carthage build so SwiftyJSON builds with the new toolchain, assuming your xcode-select is pointing at Xcode 11.4.
In my case I was trying to build Firefox for iOS, but it uses the bootstrap option --cache-builds so maybe that kept the frameworks I built with Xcode 11.3.1 around after I upgraded to Xcode 11.4.

@kajz3reczka did you ever get this working?

Same question. And I use XCode11.5
Module compiled with Swift 5.1 cannot be imported by the Swift 5.2.4 compiler

repo: SwiftyJSON/SwiftyJSON


text:
Swift 5/Swift 4.2 Compatibility Fix

Enables Swinject to be run successfully as a dependency in a Swift 5 (Xcode 10.2b2) project.
Changes made:

Migrate hashing functions to use Swift 4.2s hash(into:).
Remove redundant access modifier to eliminate Swift 5 warnings
Bump Quick/Nimble private deps to latest release versions

All tests run successfully under Xcode 10.1 with the release versions of Quick and Nimble.
However, tests will not run using Xcode 10.2b2 as the current release versions of Quick and Nimble do not support the Swift 5 compiler.
This problem won't be encountered by people using Swinject as a dependency because Quick/Nimble are located in the private Cartfile.
Nevertheless, a quick test via temporarily bumping Quick/Nimble to their master branches (which support Swift 5 compiler) shows all tests complete successfully on all testable targets.

👍 Thanks for the PR! Looks good.
Travis now has Xcode 10.2 beta environment available, so we can bump the config. And once the Quick / Nimble have the compatible official releases ready we can merge this.

Pleasure! Sounds good.

This should be good go now. Latest versions of Quick/Nimble.

👍 indeed

authors: jakubvano tcldr

repo: Swinject/Swinject


text:
With no-license should have a way to display the skipped output

It would be good for the .. no-license:: directive to skip the license header but provide some type of "expando box" or hover area which displays the skipped header.

Maybe something like the "click to copy" bubble would also work;

@daniellimws -- Any chance you could look into doing this?

(Of the actual implementation should look better than my crappy photoshop jobs :-)


text:
Fixes for supporting HLC output

Make the names match icebox.
Disable carry and dffe
Remove fake clock.

@jhol This pull request looks pretty ready to merge, we just need your signoff on the commits.

https://github.com/SymbiFlow/symbiflow-arch-defs/pull/114 was merged instead.

repo: SymbiFlow/symbiflow-arch-defs

license: ISC


text:
[CodingStandard] LineLengthFixer: Incorrect line length calculated for multiline strings

class A
{
    public function __construct($orWhere)
    {
        $sql = 'UPDATE answer
                SET score = score + __points__ * (
                        SELECT COUNT(aa.id)
                        FROM answer_to_answer_definition aa
                        WHERE answer.id = aa.pickX_answer_id AND ('.implode(' OR ', $orWhere).')
                ).';
    }
}

It doesn't cross 120 chars and will get changed like this
                 SET score = score + __points__ * (
                         SELECT COUNT(aa.id)
                         FROM answer_to_answer_definition aa
-                        WHERE answer.id = aa.pickX_answer_id AND ('.implode(' OR ', $orWhere).')
+                        WHERE answer.id = aa.pickX_answer_id AND ('.implode(
+            ' OR ',
+            $orWhere
+        ).')

Closed by #842

authors: TomasVotruba ostrolucky

repo: Symplify/Symplify