text:
Feature: CondExprAndOr (|| and && signs)

Type of Feature
Conditional Expression
Name
CondExprAndOr
Explanations
a conditional expression wich allow us to use || (or) and && (and) in a condition to make multiple conditions
Exemples
if {e} == 1 && {f} == 2 (if e is equal to 1 and f is equal to 2)
if {e} == 1 || {f} == 2 (if e is equal to 1 or f is equal to 2)

I do not think it is necessary to create another condition for this.  I think it would be sufficient to add these comparators as aliases to the existing ones.

I think it would be sufficient to add these comparators as aliases to the existing ones.

What do you mean, which existing ones?

Oops, sorry! I read too fast.
So yes, that would be good!

Considering the intent of Skript, I am partially against this kind of expressions. Sure, it's useful for power users but in the end, it kinda defeats the purpose of Skript being english-like. The conditions you've used as example can be a single condition in old Skript like this:
if {e} is between 1 and 2:

if {e} is 1 or 2:

And it's pretty much the same case for the big majority of conditions.

The conditions you've used as example can be a single condition in old Skript like this

No it can't because they are two different variables (in his example).
if {e} is 1 and {f} is 2: would be the correct thing, and this is not currently possible in Skript afaik, and would be a really good addition!

The conditions you've used as example can be a single condition in old Skript like this

No it can't because they are two different variables (in his example).
if {e} is 1 and {f} is 2: would be the correct thing, and this is not currently possible in Skript afaik, and would be a really good addition!

it is possible, it is just a bit wonky:
if {e} and {f} are 1 and 2:

But in the end, I am not against being able to use multiple conditions at once (as long as it isn't abused to the point it doesn't have any kind of english grammar resemblance), I am definitely against it using the mentioned symbols for it though

Indeed Skript is english based, but as you probably saw, recently, Skript introduced this kind of shortcuts (e.g Default Value).
Like you already told me, the language evolves with a lot of new things. There is no reason why we could not add this shortcut as user's choice, but still have or and and words.
I think we can add both syntaxes, and user make the choice of which one he prefers. It doesn't change all the code to implement that, and can make happy a lot of develeopers.

Indeed Skript is english based, but as you probably saw, recently, Skript introduced this kind of shortcuts (e.g Default Value).
Like you already told me, the language evolves with a lot of new things. There is no reason why we could not add this shortcut as user's choice, but still have or and and words.

At the time, I didn't really think about it but I would have definitely be against the ? pattern considering what I said above. This project doesn't have to go for the same path Skript went, I wouldn't say they were errors but at least from what I can see, it could definitely have been different, in a good way.

I think we can add both syntaxes, and user make the choice of which one he prefers. It doesn't change all the code to implement that, and can make happy a lot of developers.

Exactly, developers. Skript isn't designed for your common developer, it is designed for people who don't have a lot of knowledge in the programming world in general, and that's ultimately what decisions should be based off. Just to make things clear, I am not against the feature itself, I am against the suggested pattern.

After thinking about it, perhaps adding all of these programmer-friendly, beginner-unfriendly abbreviations isn't the best idea. I might roll back some of the syntaxes with these kinds of abbreviations to only keep the more english ones.
However, there remains one issue with all this : or in lists conflicts with or as a boolean operator. I'd like any input on this particular problem.

After thinking about it, perhaps adding all of these programmer-friendly, beginner-unfriendly abbreviations isn't the best idea. I might roll back some of the syntaxes with these kinds of abbreviations to only keep the more english ones.

Maybe should be good to have a plan of what skript-three should look like to avoid some confusion with an official Roadmap too. This plan and Roadmap could be an issue pinned, or a .md file in the project directly. A contribution guide could be good too to add to structure the project. I could write one if needed and make a pull request about it.

However, there remains one issue with all this : or in lists conflicts with or as a boolean operator. I'd like any input on this particular problem.

Maybe move the discuss about it directly in #23 because it's no longer related to this issue.

Considering the intent of Skript, I am partially against this kind of expressions. Sure, it's useful for power users but in the end, it kinda defeats the purpose of Skript being english-like. The conditions you've used as example can be a single condition in old Skript like this:
if {e} is between 1 and 2:

if {e} is 1 or 2:

And it's pretty much the same case for the big majority of conditions.

I actually do not agree on this. Skript-parser is not made with the intend to be a copy of Skript. It’s made to be a useful and GOOD one.
The current parser already has some ‘non-english’ syntax like expr ? val : val. I think both implementations should be added as long as it doesn’t conquer with other syntax (which can be evaded using the priority system).

I actually do not agree on this. Skript-parser is not made with the intend to be a copy of Skript. It’s made to be a useful and GOOD one.

skript-parser is literally that, a parser for Skript. Skript, by definition, is a language that strongly embraces the concept of being English alike, becoming easily understandable even for those outside of the programming world. If it goes in a different path, it may as well be called something else. Furthermore, the language stops making sense when you start adding syntax like this, considering you could just go with python or another very high-level language.

The current parser already has some ‘non-english’ syntax like expr ? val : val. I think both implementations should be added as long as it doesn’t conquer with other syntax (which can be evaded using the priority system).

I already addressed this point, so I'll just quote myself:

At the time, I didn't really think about it but I would have definitely be against the ? pattern considering what I said above. This project doesn't have to go for the same path Skript went, I wouldn't say they were errors but at least from what I can see, it could definitely have been different, in a good way.

I actually do not agree on this. Skript-parser is not made with the intend to be a copy of Skript. It’s made to be a useful and GOOD one.

skript-parser is literally that, a parser for Skript. Skript, by definition, is a language that strongly embraces the concept of being English alike, becoming easily understandable even for those outside of the programming world. If it goes in a different path, it may as well be called something else. Furthermore, the language stops making sense when you start adding syntax like this, considering you could just go with python or another very high-level language.

That’s not true. If both syntaxes are present, the user can choose which syntax he or she uses. I think a scripting language like Skript should remain English-like but also user-friendly. The one sometimes contradicts the other, and then you have to choose.

The current parser already has some ‘non-english’ syntax like expr ? val : val. I think both implementations should be added as long as it doesn’t conquer with other syntax (which can be evaded using the priority system).

I already addressed this point, so I'll just quote myself:

At the time, I didn't really think about it but I would have definitely be against the ? pattern considering what I said above. This project doesn't have to go for the same path Skript went, I wouldn't say they were errors but at least from what I can see, it could definitely have been different, in a good way.
Here we have different opinions: writing this is much more efficient. Since the user can choose, it doesn’t matter as long as it doesn’t conquer with other syntax.

I could accept though if this particular feature won’t get added, simply because writing && instead of ‘and’ is not that more efficient.

Implemented in the pull request #22. I close this issue.

I restart this issue
Why dont use xor and xand logic operators ?

Why dont use xor and xand logic operators ?
Please look at the pull request, and look at the discuss in this issue.

authors: FranKusmiruk Mwexim Olyno Romitou Syst3ms WeeskyBDW noftaly

repo: SkriptLang/skript-parser


text:
Filesystem handler class

Part of slaxweb/framework#154
The filesystem handler class manipulates cache data on the filesystem. The class needs methods to:

store data to filesystem
alter data on filesystem
remove data from filesystem

Resolved.

source: gharchive/issue

repo: SlaxWeb/Cache

license: mit

license_type: permissive

license_source: bigquery


text:
Feature: Vacuum Chest upgrade

An upgrade for the Vacuum chest which teleports (dropped) items directly into it's inventory instead of hovering them until they touch the vacuum chest.
This upgrade should be much more expensive (like requiring endermen heads / souls etc) and also consume fuel (like the one powering the remote inventory panel) based on distance of the item.
Possibly with an larger range than the normal vacuum panel as well.

Thank you for your suggestion. It has been added to our list or possible enhancement.
This ticket will be closed because we want the list of open tickets to reflect known issues.

authors: HenryLoenwind MatthiasMann

repo: SleepyTrousers/EnderIO

license: Unlicense

license_source: github-api


text:
Make the EffectManager class non-final

I stumbled upon this issue not long ago. I wanted to extend the EffectManager to create an abstract one with a standardized debug behavior and also to perform custom-made operations but I couldn't.

Not sure why it was made final, sounds fine to me. Available in current 5.5-SNAPSHOT.
http://jenkins.elmakers.com/job/EffectLib/112/

repo: Slikey/EffectLib


text:
SlimeVR server cannot find when I turn off and on the IMU device

I'm testing the SlimeVR server with several IMU devices, however when I turned off the IMU, and later turn on, the server cannot find the device. Interesting thing is, when I use the command prompt and type "arp -a" for whole devices on the same internet, it doesn't show up the device I turned off.
Is this the problem caused by the firmware, or do I need something else in the configuration?
Please help me to fix this problem

I think i don't understand everything here. Can you confirm the sequence:

Start SlimeVR Server
Power on the Tracker
SlimeVR Server sees the Tracker
Power off the tracker
SlimeVR Server shows the Tracker as disconnected
Power on the tracker
SlimeVR Server does not show the tracker

I would recommend also to look at the Serial Monitor of this tracker. There you will see, if the Tracker has problems connecting to the Server or the Wifi. (On the Old Gui its the WiFi Window)
To be able to see everything you may have to press the Reset Button on the D1 Mini after you did open the Serial Monitor.
I also can recommend the #technical-support in the discord or the support-forum in there. https://discord.gg/SlimeVR

Thanks, @unlogisch04
Please bear with me with my current situation, it's weird for now, but I thought it's important to share my problem with others.
Currently I'm using 6 IMU devices.

IMUs are all on, Router is on. I turn on the server and it displays the IMUs are connected. I turn off the IMU, status is disconnected, and then I turn on a few seconds later,  still disconnected.  When I try "arp -a"   , the device I turned off is never shown in the IP address table. Seems like it changed ip address itself or it has been removed  from the router IP table. It's kind of random, but sometimes its IP address changes to 169.254.. which only happens when the device cannot find the router. IP router might have a problem

So I reset the router, and I wait for few minutes, and try every 6 IMU devices trying to connect, between 1 to 5 times after I try to reconnect, it barely connect to the device.

Seems like the router has a serious problem.

I guess this issue is related to  #203

Not at all

repo: SlimeVR/SlimeVR-Server


text:
🛑 My blog(github.io) is down

In ea68f2e, My blog(github.io) (https://smartbrave.github.io/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My blog(github.io) is back up in 6e61245.

repo: SmartBrave/uptime

license: MIT


text:
🛑 My blog(CDN) is down

In 50e9530, My blog(CDN) (https://sbrave.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My blog(CDN) is back up in ced3f22.


text:
fails to build on Fedora 30

As reported by @jreiser on https://github.com/upx/upx/issues/297.

rumur does not build. I changed the beginning of CMakeLists.txt to
# cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.14)

project(rumur LANGUAGES CXX)
install(PROGRAMS rumur DESTINATION /usr/local/bin)

but still got
$ cmake --version   # in Fedora 30
cmake version 3.14.5
$ cmake ../rumur
CMake Error at CMakeLists.txt:93 (install):
  install PROGRAMS given no DESTINATION!

CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.14)

I tried to reproduce this in an x86-64 Fedora 30 virtual machine, but midway through I realised what the problem is. The rumur/CMakeLists.txt file is not intended to be used standalone. Rumur should be buildable out of the box on a fresh Fedora 30 with the following steps:
# install dependencies
$ sudo dnf install g++ make cmake gmp-devel bison flex python

# download Rumur
$ git clone https://github.com/smattr/rumur

# configure and compile
$ mkdir rumur/build
$ cd rumur/build
$ cmake ..
$ make

@jreiser please let me know if these steps don't work for you.

Argh now I see where the confusion stems from: the README is wrong. Apologies. I will correct this now.

Actually, no, it is not. It is describing a directory structure like:
~/
|
+- build/
+- rumur/

Sorry for yet more churn on this issue, but it looks like there was no problem originally.

Thank you for prompt investigation.  However, I believe there still is a problem with the developer interface in README.rst:
    # Download Rumur
    git clone https://github.com/Smattr/rumur   # Create top-level rumur directory

    # Configure and compile
    mkdir build   # This should be inside the top-level rumur directory, not a sibling.
    cd build
    cmake ../rumur   # adjust the path
    make
    make install

It is not nice for the build directory to be outside of the top-level rumur directory that is created by the git clone.  That collides with developer use of the directory that contains the top-level rumur directory, which in my case contains many projects, each in its own subtree.    The assumption that rumur can use a sibling directory (in the case, named build) pollutes the namespace of the directory that contains each project in its own subdirectory. Use only child directories.  This practice is so automatic that "on autopilot" I did cd rumur before the mkdir build.  It did not help that cmake error messages are not developer friendly: the complete rooted pathname is not given, so a cmake error in a source tree that has multiple CMakeLists.txt files often leads to confusion.   (A better way: if there are any pathnames that involve multiple directories [contain any /], then use readlink() to get an absolute pathname.  Perhaps punctuate: [/absolute/path/to/]dir1/file2.)

This is a personal preference, however I have no strong feelings on the matter so I've rephrased the README to fit the work flow you describe.

authors: Smattr jreiser

repo: Smattr/rumur


text:
🛑 NEOCP is down

In f90f954, NEOCP (https://minorplanetcenter.net/iau/NEO/toconfirm_tabular.html) was down:

HTTP code: 0
Response time: 0 ms

Resolved: NEOCP is back up in f35a919 after 4 minutes.

repo: Smithsonian/upptime


text:
Functions added: single.groupBy(), summary.isString().

New functionality:

single.groupBy();
summary.isString();
Stream.groupBy().

Pull Request Test Coverage Report for Build 4417215332

27 of 27 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 4404412308:
0.0%

Covered Lines:
432

Relevant Lines:
432

💛  - Coveralls

Pull Request Test Coverage Report for Build 4417215332
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

27 of 27 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 4404412308:
0.0%

Covered Lines:
432

Relevant Lines:
432

💛  - Coveralls

source: gharchive/pull-request

authors: Smoren coveralls

repo: Smoren/itertools-ts


text:
Snap 2061

Fix for SNAP-2061
Recursively handle the nested POJOs when converting an RDD of nested JavaBean objects into a DataFrame. Existing code only converted the top level POJO into Row & threw ScalaMatchErrorException for nested POJO
Filed a pulled request with spark. ( Bug SPARK-22192)
Added a bug test (SNAP-2061) in file org.apache.spark.sql.SQLContextSuite

Pls review it so that customer can be sent an update..

thanks. will apply the feedback comments & close the PR
On Mon, Oct 23, 2017 at 12:52 PM, Sumedh Wale notifications@github.com
wrote:

@sumwale commented on this pull request.
See few comments. Please also add a test for Encoder route for both
encoding and decoding (SparkSession.createDataset and DataSet.as[T]). Those
should cleanly convert even nested objects and back.
Looks good otherwise.
In sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
https://github.com/SnappyDataInc/spark/pull/83#discussion_r145815692:

                           data: Iterator[_],

                           beanInfo: BeanInfo,

                           attrs: Seq[AttributeReference]): Iterator[InternalRow] = {

val extractors =

 beanInfo.getPropertyDescriptors.filterNot(_.getName == "class").map(_.getReadMethod)

val methodsToConverts = extractors.zip(attrs).map { case (e, attr) =>

 (e, CatalystTypeConverters.createToCatalystConverter(attr.dataType))

}
data.map{ element =>

 new GenericInternalRow(

   methodsToConverts.map { case (e, convert) => convert(e.invoke(element)) }

 ): InternalRow

}
}
*/

commented out portion can be removed?
In sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
https://github.com/SnappyDataInc/spark/pull/83#discussion_r146365498:

@@ -32,7 +32,7 @@ import org.apache.spark.rdd.RDD
import org.apache.spark.sql.catalyst._
import org.apache.spark.sql.catalyst.expressions._
import org.apache.spark.sql.execution.command.ShowTablesCommand
-import org.apache.spark.sql.internal.{SessionState, SharedState, SQLConf}
+import org.apache.spark.sql.internal.{SQLConf, SessionState, SharedState}

revert; this will likely fail spark scalastyle
In sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
https://github.com/SnappyDataInc/spark/pull/83#discussion_r146370814:

   ): InternalRow

 }

}

def getExtractors( beanInfo: BeanInfo,

                attrs: Seq[AttributeReference]): Array[(Method, Any => Any)] = {

val methodsToConverts = beanInfo.getPropertyDescriptors.filterNot(_.getName == "class").

 map(_.getReadMethod).zip(attrs)

methodsToConverts.map { case (e, attr) =>

 attr.dataType match {

   case strct: StructType => {

     val extractors = getExtractors(Introspector.getBeanInfo(e.getReturnType),

Looks like it will be better to get the return type from
PropertyDescriptor.getPropertyType rather than method return type. The
Oracle JDK implementation in java.beans.FeatureDescriptor has this:
static Class<?> getReturnType(Class<?> base, Method method) {
    if (base == null) {
        base = method.getDeclaringClass();
    }
    return TypeResolver.erase(TypeResolver.resolveInClass(base, method.getGenericReturnType()));
}

Which seems to be doing more than just getting the returnType. So perhaps
better option is something like:
beanInfo.getPropertyDescriptors.filterNot(_.getName == "class").zip(attrs) match { case (desc, attr) =>
attr.dataType match {
case struct: StructType =>
val extractors = getExtractors(Introspector.getBeanInfo(desc.getPropertyType),
...
case _ => (desc.getReadMethod, CatalystTypeConverters.createToCatalystConverter(attr.dataType))
}
}

In sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala
https://github.com/SnappyDataInc/spark/pull/83#discussion_r146371196:

   ): InternalRow

 }

}

def getExtractors( beanInfo: BeanInfo,

                attrs: Seq[AttributeReference]): Array[(Method, Any => Any)] = {

val methodsToConverts = beanInfo.getPropertyDescriptors.filterNot(_.getName == "class").

 map(_.getReadMethod).zip(attrs)

methodsToConverts.map { case (e, attr) =>

 attr.dataType match {

   case strct: StructType => {

     val extractors = getExtractors(Introspector.getBeanInfo(e.getReturnType),

       strct.map(sf => AttributeReference(sf.name, sf.dataType, sf.nullable)()))

just struct.toAttributes will suffice
In sql/core/src/test/scala/org/apache/spark/sql/SQLContextSuite.scala
https://github.com/SnappyDataInc/spark/pull/83#discussion_r146374807:

@@ -142,4 +144,86 @@ class SQLContextSuite extends SparkFunSuite with SharedSparkContext {
}
}

test("Bug SNAP-2061 Nested POJO object not handled when creating DataFrame from RDD") {
val sqlContext = SQLContext.getOrCreate(sc)
val personsCollection = for (k <- 1 until 100) yield {

 new Person(k, "name_" + k, k.toLong, k.toShort,

   k.toByte, k.toDouble *86.7543d, k.toFloat *7.31f,

   true, Array.fill[Byte](k)(k.toByte),

   new java.sql.Date(7836*k*1000), new Timestamp(7896*k*1000),

   new Address("12320 sw horizon <https://maps.google.com/?q=12320+sw+horizon&entry=gmail&source=g>," + k, 97007*k))

}

// create a pair RDD from the collection
val personsRDD = sc.parallelize(personsCollection)
val df = sqlContext.createDataFrame(personsRDD, classOf[Person])

Does the Encoder route (SparkSession.createDataset) work correctly for
nested POJOs? Please add a test for that too. That is the more supported
route since Spark 2.x
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SnappyDataInc/spark/pull/83#pullrequestreview-70672991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL1zaKxRMFcQbjQ7RRxvyAWCaSlk3Xwnks5svO6DgaJpZM4Ps0o9
.

@ahshahid Went ahead and addressed the two remaining issues. Precheckin failure due to scalastyle failure, and addition of Dataset.as(Encoder) case. Also moved the test from being a scala one in SQLContextSuite to more appropriate place in JavaDatasetSuite. See changes in: https://github.com/SnappyDataInc/spark/commit/98eeeb5fc2aef581cdd215b4c2361aeb19833220

Thanks Sumedh. I missed running precheckin... sorry.
On Tue, Oct 24, 2017 at 6:29 AM, Sumedh Wale notifications@github.com
wrote:

@ahshahid https://github.com/ahshahid Went ahead and addressed the two
remaining issues. Precheckin failure due to scalastyle failure, and
addition of Dataset.as(Encoder) case. Also moved the test from being a
scala one in SQLContextSuite to more appropriate place in JavaDatasetSuite.
See changes in: 98eeeb5
https://github.com/SnappyDataInc/spark/commit/98eeeb5fc2aef581cdd215b4c2361aeb19833220
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SnappyDataInc/spark/pull/83#issuecomment-338990090,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL1zaBil8f4uEf9IClY07rBarJuJJ95eks5sveY4gaJpZM4Ps0o9
.

authors: ahshahid sumwale

repo: SnappyDataInc/spark


text:
Added better and more descriptive logging

turned dbg!("todo") into todo!()
turned dbg! statements into log::debug! statements
added logging to pumpkin-inventory
added logging when a client tries to interact with a block out of reach

Also please remove the todo!() statements, i use them for not crashing the server

@AnonymousBit0111. Just want to tell you that you can use cargo clippy --release for checking for clippy warns and cargo fmt to format the code

nah these are my mistakes, im trying to fix merge issues on web interface

repo: Snowiiii/Pumpkin


text:
Check block placed over height limit

Description
Added check block placed over height limit
Testing
Self tested in the game

Looks good.
Thanks @KOTRU

authors: KOTRU Snowiiii


text:
Use the correct EOL character depending on OS.

Fixes #2.

@JAndritsch thanks for the PR, have you tested on your Windows machine? I'll merge today then.

Yep, I've tested this on a Windows machine.

Also, FWIW, the vendored copy of Exiftool you have isn't compatible with Windows. You may want to consider adding the EXE for Windows users too. I ended up getting your lib to work by just installing Exiftool on the machine and sourcing it in the constructor.

One more update: I discovered that process.kill() wasn't actually stopping exiftool on WIndows even after my program had quit. I believe this is due to the -stay_open flag and how it works.
I was able to fix this by adding the following code to the close() method:
this._process.stdin.write(`-stay_open${EOL}`);
this._process.stdin.write(`false${EOL}`);
this._process.kill();

authors: JAndritsch z-vr

repo: Sobesednik/node-exiftool


text:
Added 364

Pytest is throwing warnings that I can't work out how to resolve, but seems fine otherwise.

Already written


text:
chore(deps): update dependencies

Closes dependabot
Objectif(s)

Cette PR fait taire dependabot

:tada: This PR is included in version 1.12.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: SocialGroovyBot paulsouche

repo: SocialGouv/mda


text:
🛑 Archifiltre is down

In 381ed14, Archifiltre (https://archifiltre.fabrique.social.gouv.fr/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Archifiltre is back up in 2c9d8ff.

repo: SocialGouv/upptime


text:
🛑 Matomo is down

In 92affac, Matomo (https://matomo.fabrique.social.gouv.fr/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Matomo is back up in 1e65f96.


text:
Testing if there is no email attached to contact?

I want to test to see if a person has an email listed in the contacts. But when I try to do something like this:
 if let test = people[i].emails?.map({($0.value as String)})[0]  {

It doesn't work. Instead, the program crashes. Any ideas how to get around this?

Of course you can´t access an index in an empty array. Look for .count == 0 or something like that

Thanks, got it working.

authors: TAKeanice gabriel-jones

repo: SocialbitGmbH/SwiftAddressBook


text:
set up CI for Windows and Mac OS

Currently, CI is only set up for one version of Java; let's set up CI for Windows and MacOS and for multiple version of Java. You can see an example of how to do that here.

We need to make a decision on merging master into that impacted-both-ways branch in STARTS that you are using. We have fixed this issue in the master branch of STARTS, e.g., here and here.
Let's keep what you have for now, and revisit later after a first end-to-end pass through eMOP.
I will keep this issue open for now.

What complaint does your IDE make?
If you can merge successfully on your local machine, please do that and push to the impcacted-both-ways branch...

repo: SoftEngResearch/emop


text:
Avaliar migração para Micronaut

Consumo de memória
Consumo de CPU
Tempo de startup

Preview

Metric
Spring
Micronaut

Startup
4,2082
2,5886

JAR
~45M
~47M

Memory (startup)
reserved=2596703KB, committed=259559KB
reserved=2584696KB, committed=247340KB

Memory (5 min)
reserved=2575335KB, committed=239675KB
reserved=2580834KB, committed=246514KB

Methodology

Startup

Average of 5 runs
JVM args: -Xmx1024M
CPU: R5 3600@4200MHz

JAR

ls -lha build/libs

Memory

1 run
JVM args: -XX:NativeMemoryTracking=detail -XX:+UnlockDiagnosticVMOptions -XX:+PrintNMTStatistics -Xmx1024M
jcmd <PID> VM.native_memory summary

VisualVM
Spring

Micronaut

repo: Softawii/capivara


text:
⚠ SolarOscp has degraded performance

In 449bd8b, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 466 ms

Resolved: SolarOscp performance has improved in 4819e2c after 7 minutes.

repo: SolarNetworkFoundation/upptime


text:
Poison application not working

When attempting to apply poisons, an error box pops up announcing that Solasta has detected a mod instability.  No response when you click on the poison subsequently.

Solasta will pop up that message even on vanilla bugs if a mod is installed. They broke this on release. Need to wait for a patch.

repo: SolastaMods/SolastaUnfinishedBusiness


text:
Certain character actions disappear from UI upon load

Encountered on Sorcerer with metamagic (the button simply disappeared) and Artificer with infusions (the button disappeared, no infusions were present in the character tab, no could be unlearned upon levelup).
Mod version: 1.5.97.2
Save file (sorcerer only, dropped the artificer one): 3-1.zip
Log file: Player.log

Read the wiki, install page. Validate your UMM version.

authors: ThyWoof WeaponsPrime


text:
Plugin fails to start if EDDI also installed

Greetings,
The plugin fails to start with the following error being logged;
{
  "ClassName": "System.MissingMethodException",
  "Message": "Method not found: 'Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.OptionsServiceCollectionExtensions.AddOptions(Microsoft.Extensions.DependencyInjection.IServiceCollection)'.",
  "Data": null,
  "InnerException": null,
  "HelpURL": null,
  "StackTraceString": "   at Microsoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions.AddLogging(IServiceCollection services, Action`1 configure)\r\n   at Microsoft.Extensions.Hosting.HostBuilder.InitializeServiceProvider()\r\n   at Microsoft.Extensions.Hosting.HostBuilder.Build()\r\n   at EliteVA.VoiceAttack.Initialize(Object vaProxy) in D:\\a\\EliteVA\\EliteVA\\VoiceAttack.cs:line 65\r\n   at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid2[T0,T1](CallSite site, T0 arg0, T1 arg1)\r\n   at EliteVA.VoiceAttack.VA_Init1(Object vaProxy) in D:\\a\\EliteVA\\EliteVA\\VoiceAttack.cs:line 38",
  "RemoteStackTraceString": null,
  "RemoteStackIndex": 0,
  "ExceptionMethod": "8\nAddLogging\nMicrosoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60\nMicrosoft.Extensions.DependencyInjection.LoggingServiceCollectionExtensions\nMicrosoft.Extensions.DependencyInjection.IServiceCollection AddLogging(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Action`1[Microsoft.Extensions.Logging.ILoggingBuilder])",
  "HResult": -2146233069,
  "Source": "Microsoft.Extensions.Logging",
  "WatsonBuckets": null,
  "MMClassName": null,
  "MMMemberName": null,
  "MMSignature": null
}

Are the two plugins ever likely to play nice together when both are installed?

Hi,
This is a known issue which needs more looking into. It is my aim to make EDDI and EliteVA compatible, but they currently are not. I suspect that EDDI and EliteVA have mismatching dependency versions in the Microsoft.Extensions.DependencyInjection packages, which is causing this error. Odd thing is that this error occurs even if the EDDI plugin is disabled. The error is caused by the existence of the EDDI files.
EliteVA currently uses a "hacky" way to compile and link dependency dlls in order to properly be loaded in by VoiceAttack, so the whole process of getting EliteVA's dependencies to be loaded in by VoiceAttack is kind of messy.
I am looking into this issue, but it is not on high priority. Any help is appreciated, but currently you'll have to choose between either EDDI or EliteVA. I believe EliteVA to be feature-complete enough to serve as a viable alternative for EDDI as of now.

authors: Somfic UseLessUK

repo: Somfic/EliteVA


text:
无法开启tun模式，请问这种情况如何解决？

"Traceback (most recent call last):\n  File "D:\AI\ChatSydney-react\main.py", line 28, in sydney_process_message\n    chatbot = await Chatbot.create(cookies=cookies, proxy=args.proxy, imgid=imgid)\n              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "D:\AI\ChatSydney-react\SydneyGPT\SydneyGPT.py", line 20, in create\n    obj = await EdgeChatBot.create(*args, **kwargs)\n          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "D:\AI\ChatSydney-react\EdgeGPT\EdgeGPT.py", line 43, in create\n    await Conversation.create(self.proxy, cookies=cookies, imgid=imgid),\n    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "D:\AI\ChatSydney-react\EdgeGPT\conversation.py", line 110, in create\n    response = await client.get(\n               ^^^^^^^^^^^^^^^^^\n  File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_client.py", line 1757, in get\n    return await self.request(\n           ^^^^^^^^^^^^^^^^^^^\n  File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_client.py", line 1530, in request\n    return await self.send(request, auth=auth, follow_redirects=follow_redirects)\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_client.py", line 1617, in send\n    response = await self._send_handling_auth(\n               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python311\Lib\site-packages\httpx\_client.py", line 1645, in _send_handling_auth\n    ...

在后台把完整的日志发一下呢

我也是，提示  Exceeded maximum allowed redirects.

看看运行main.py的时候加没加代理，或者在main.py里修改了吗，最新版本的ChatSydney是不需要开tun模式的

看看运行main.py的时候加没加代理，或者在main.py里修改了吗，最新版本的ChatSydney是不需要开tun模式的
我打开main，里面proxy used:后面是空白的

看看运行main.py的时候加没加代理，或者在main.py里修改了吗，最新版本的ChatSydney是不需要开tun模式的
我打开main，里面proxy used:后面是空白的

你在运行程序的时候加上 -p 你的代理地址，或者直接在main.py的183行里面修改

parser.add_argument("--host", "-H", help="host:port for the server", default="localhost:65432")
parser.add_argument("--proxy", "-p", help='proxy address like "http://localhost:7890"', default="")
怎么加？

default里填上你的代理地址

搞定了，非常感谢

default里填上你的代理地址
谢谢！好了！

authors: G-LJDS2022 SoraRoseous lioensky

repo: SoraRoseous/ChatSydney-react


text:
When a drag is aborted, the source list plays a "re-attaching" animation, despite animation: 0 and pull: clone

The top list has animation: 0, sort: false and pull: clone, the bottom list has animation: 150.
When I "abort" the drag, the dragged item of source list on the top moves around, despite disabling animations:

Here is a JSBin link with example code: https://jsbin.com/wugogigizo/edit?html,js,output
I can fix the unwanted animation of the top list by setting animation: 0 on the bottom list, but I believe this is not working as intended.
There is simply no point in playing the "re-attaching" animation when pull: clone is set:
nothing was removed from the list, so nothing needs to be re-attached.
Please let me know if I can provide further information!

It is using the animation value of the list it is coming from. But this should be fixed in the future.

Any updates on this? The issue still exists in v.1.15.2

authors: Prismatecs owen-m1 soc

repo: SortableJS/Sortable


text:
[Bug]: List card color pallet

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug

Is this font color of card is justify our website color pallet. I don't think. It's need to be change.
Expected behavior
@Soujanya2004  Assign it to me.
Add ScreenShots
No response
On which device are you experiencing this bug?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Suvadip-sana yes please change to same red used in website

@Soujanya2004  I told about the card heading and price section, Which is black and gray previously. Now it's blue.
Here black and gray is good fit i think

@Suvadip-sana i was talking about the price make it red na
let button be same

@Suvadip-sana there are issues which is opened from last week please look into that

@Soujanya2004    Yes yes. Don't worry. I submit all of this.  I already start working on this


text:
gcc-deploy/ARCH=x86_64,NAME=gcc,OS=centos7,SITE=generic,VERSION=7.1.0 #37 failed

Build 'gcc-deploy/ARCH=x86_64,NAME=gcc,OS=centos7,SITE=generic,VERSION=7.1.0' is failing!
Last 50 lines of build output:
[...truncated 5.90 KB...]
htk/3.5.beta-1                   python/3.6.0-gcc-4.9.4
jasper/1.900.1                   python/3.6.0-gcc-5.4.0
jdk/7u80                         python/3.6.0-gcc-6.3.0
jdk/8u66                         readline/6.3
lapack/3.6.0-gcc-4.9.2           readline/7.0
lapack/3.6.0-gcc-5.4.0           sparsehash/2.0.3
lapack/3.6.0-gcc-6.3.0           sqlite/3090200
libpng/1.6.27                    tcltk/8.6.6
lua/5.3.2                        torque/2.5.13-gcc-4.9.2
mpc/1.0.1                        torque/2.5.13-gcc-5.1.0
mpc/1.0.3                        torque/2.5.13-gcc-5.2.0
mpfr/3.1.2                       torque/2.5.13-gcc-5.4.0
mpfr/3.1.5                       torque/2.5.13-gcc-6.3.0
mpich/3.2-gcc-4.9.4              zlib/1.2.11
mpich/3.2-gcc-5.1.0              zlib/1.2.8
mpich/3.2-gcc-5.2.0

--------------------------- /data/modules/compilers ----------------------------
cmake/3.4.0 gcc/4.9.2   gcc/5.1.0   gcc/5.3.0   gcc/6.1.0
cmake/3.7.1 gcc/4.9.4   gcc/5.2.0   gcc/5.4.0   gcc/6.3.0

------------------------- /data/modules/bioinformatics -------------------------
velvet/1.2.10

--------------------------- /data/modules/astronomy ----------------------------
cfitsio/3390 cfitsio/3410

------------------------ /usr/share/Modules/modulefiles ------------------------
ci          dot         module-info null
deploy      module-git  modules     use.own
/data/ci-build/generic/centos7/x86_64/ncurses/6.0/lib:/data/ci-build/generic/centos7/x86_64/mpc/1.0.3/lib:/data/ci-build/generic/centos7/x86_64/mpfr/3.1.5/lib:/data/ci-build/generic/centos7/x86_64/gmp/6.1.0/lib
/data/ci-build/generic/centos7/x86_64/ncurses/6.0/bin:/usr/local/bin:/usr/bin
/data/ci-build/generic/centos7/x86_64/gmp/6.1.0 /data/ci-build/generic/centos7/x86_64/mpc/1.0.3 /data/ci-build/generic/centos7/x86_64/mpfr/3.1.5
REPO_DIR is
/data/artefacts/generic/centos7/x86_64/gcc/7.1.0
SRC_DIR is
/data/src/gcc/7.1.0
WORKSPACE is
/home/jenkins/workspace/gcc-deploy/ARCH/x86_64/NAME/gcc/OS/centos7/SITE/generic/VERSION/7.1.0
SOFT_DIR is
/data/ci-build/generic/centos7/x86_64/gcc/7.1.0
seems like this is the first build - let's get the source
--2017-05-05 10:14:46--  http://mirror.ufs.ac.za/gnu/gnu/gcc/gcc-7.1.0/gcc-7.1.0.tar.gz
Resolving mirror.ufs.ac.za (mirror.ufs.ac.za)... 196.255.240.40
Connecting to mirror.ufs.ac.za (mirror.ufs.ac.za)|196.255.240.40|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-05-05 10:14:46 ERROR 404: Not Found.

Build step 'Execute shell' marked build as failure

Changes since last successful build:
View full output

A new version was added to the build matrix (7.1.0) and there was no local cache. In the meantime, the mirror has been changed, so a 404 was thrown at wget when looking for the src tarball.
Fix on the way, waiting for build 37 to finish.

authors: brucellino jenkinsSAGrid

repo: SouthAfricaDigitalScience/gcc-deploy


text:
Documentation for the Domain Manager standard

Closes SovereignCloudStack/issues#385

@JuanPTM could you give me a hint on how to resolve the merge conflict. And it would be good to have another one check the document itself. Because markus is currently not around to resolve or merge this PR.

authors: josephineSei markus-hentsch

repo: SovereignCloudStack/docs


text:
question.json file

Hi, thanks for your great work!
Where can I get the question.json file?
Thank you.

Sorry I found it!


text:
Shadowkin is real

About the PR

Why / Balance

Technical details

Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

опа опа,а шо це таке? якийсь новий розділ чату. Це як та фігня з тг ss13?

опа опа,а шо це таке? якийсь новий розділ чату. Це як та фігня з тг ss13?

це не багато але це чесна праця

authors: Alone-anarhist SpaceCowboyServer


text:
Emojione

Updated emoji to emojione, open source emoji designed specifically for the web. Issue #68.
http://emojione.com/demo

looks pretty straight forward, lets merge it!

authors: dstollie jonearley

repo: SpaceTalk/SpaceTalk


text:
Handle multi part/ alternative text emails?

Is your feature request related to a problem? Please describe.
I'm having trouble parsing email bodies that are multipart.
Describe the solution you'd like
To correctly parse multipart email bodies.
Describe alternatives you've considered
Simply falling back to the standard library email parsing functionality.
Additional context
Add any other context or screenshots about the feature request here.

I have the same issue: it would be very useful to be able to know when a .text_plain item is simply the text version of a .text_html item. Otherwise it is hard to extract, say, a text version of a message (sometimes there is only the HTML version; in principle there could be some plain text and then some unrelated HTML, if I'm not mistaken; etc.).
Maybe a solution would be to add a .text attribute with the following structure?
[
  (text_plain0, alternative_text_html0),
  (None, unique_text_html1),  # No plain alternative
  (unique_text_plain2, None),  # No HTML alternative
  …
]

To review in the new version.
I will open a new issue if needed.

authors: Jasonca2 fedelemantuano lebigot

repo: SpamScope/mail-parser


text:
AccountSelector 'pagination scrolling', render window, performance optimalisation

Which package is this issue related to?
ffe-account-selector-react
Describe your issue (screenshots welcome!)
When populating the component with massive amount of data we should just render a data window that is visible to the scroll position instead of the whole dataset. A lot of data generates too much eventing and virtual dom diffing and JS garbage collection problems so we should use selective rendering techniques to make the component useful for big datasets.
What is the expected behavior?
No lagging, no crashing of browsers on limited memory machines when big datasets populate the component.
What is the actual behavior?
Performance problems on big datasets.
Steps to reproduce
Populate the component with thousands of rows.

We've been using react-window recently for a massive (~3000 elements) select-dropdown.
Worked like a charm.

@antidecaf I suppose the best place to fix this is ffe-account-selector-react. It should be easy to pick a component and avoid reinventing the wheel.


text:
fix(ffe-accordion): Added peerDependency to ffe-core@^13.0.0

fix(ffe-buttons): Added peerDependency to ffe-core@^13.0.0
fix(ffe-cards): Added peerDependency to ffe-core@^13.0.0
fix(ffe-context-message): Added peerDependency to ffe-core@^13.0.0
fix(ffe-details-list): Added peerDependency to ffe-core@^13.0.0
fix(ffe-datepicker): Added peerDependency to ffe-core@^13.0.0
fix(ffe-form): Added peerDependency to ffe-core@^13.0.0
fix(ffe-grid): Added peerDependency to ffe-core@^13.0.0
fix(ffe-header): Added peerDependency to ffe-core@^13.0.0
fix(ffe-layout-legacy): Added peerDependency to ffe-core@^13.0.0
fix(ffe-lists): Added peerDependency to ffe-core@^13.0.0
fix(ffe-message-box): Added peerDependency to ffe-core@^13.0.0
fix(ffe-spinner): Added peerDependency to ffe-core@^13.0.0
fix(ffe-system-message): Added peerDependency to ffe-core@^13.0.0
fix(ffe-tables): Added peerDependency to ffe-core@^13.0.0
fix(ffe-tabs): Added peerDependency to ffe-core@^13.0.0
fix(ffe-core-react): Added peerDependency to ffe-core@^13.0.0
fix(ffe-form-react): Added peerDependency to ffe-core@^13.0.0
fix(ffe-tabs-react): Added peerDependency to ffe-core@^13.0.0
fix(ffe-searchable-dropdown-react): Added peerDependency to ffe-core@^13.0.0
fix(ffe-file-upload-react): Added peerDependency to ffe-core@^13.0.0
A breaking change was made to ffe-core@13.0.0 as the Hawaii layout system was moved to its own
package.  None of these modules are using the Hawaii layout system so should be compatible with the
latest version of ffe-core.

Hmm should I have made 1 commit per package?

Coverage remained the same at 80.293% when pulling ab7521c2232a01ba35b22809aba62393e63f2f09 on benmatthews:304-fix-peer-dependencies-warning into 5830453e14dc2baec407f683b55220f7f36e9b48 on SpareBank1:develop.

Actually, scripting is your friend, not copypaste :)

authors: benmatthews coveralls ivarni


text:
Add probability thresholds to the prediction evaluation functions

This adds the option to use explicit probability thresholds when
computing the F1 scores based on predictions from the model.

@feihugis can you have a look at this?

LGTM!

authors: dusenberrymw feihugis

repo: SparkTC/deep-histopath


text:
Helpdesk still shows "needs authentication" after logging in

steps to reproduce:

start app (not logged in)
go to helpdesk pane (it should display "needs authentication" message)
open sidebar, click header to open login page
log in
login page closes, helpdesk pane still says "needs authentication"

if i start from the notifications pane, log in, and then go to the helpdesk pane, it displays the form as it should

fixed by changing where the profile is

was caused by login being in a new activity, once logged in it went back to the main activity without hitting oncreate of the fragment because it still had an instance on the stack. by doing it in the fragment it destroys the help desk frag, and creates a new one when you come back to it


text:
Question about the issuer demo

Hello,
On  https://ssi.sphereon.com/demo/issuer/
I see in the credential offer a and an array of string
{
  "grants": {
    "urn:ietf:params:oauth:grant-type:pre-authorized_code": {
      "pre-authorized_code": "hTJJAbnSdRi5fK1z46imAV",
      "user_pin_required": false
    }
  },
  "credentials": [
    "DBCGuest"
  ],

but the DBCGuest is not used as the "id" in the credential supported section which is my interpretation of the draft 11, credential offer
If the entry is a string, the string value MUST be one of the id values in one of the objects in the credentials_supported Credential Issuer metadata parameter. When processing, the Wallet MUST resolve this string value to the respective object.

Hi @ThierryThevenet
This was indeed a misconfiguration in the metadata which has been fixed. It worked with our wallet, because we also match against the types and add VerifiableCredential as a fallback for the matching logic.
Now the wallet gets the credential, but afterwards the DID resolution fails. I am assuming it has to do with the version of the wallet in the store for did:jwk, but happy to hear if it is something else of course

ok I understand.
Our wallet does only fetch against the types when an object is used in the offer  like EBSI does.
there is still differences  -> OpenBadgeCredential vs OpenbadgeCredentialJwt, etc same for others

Okay thanks. We should have looked at the other credentials as well. Will do so tomorrow

Hello, back again to bother you...
this is the credential received from the issuer of the Dutch Blockchain Coalition  "DBCConferenceAttendee"
The format is a bit different from usual for our wallet, but main issue is that we do not find a $.jti or a $.vc.id .
Is that normal here ?
eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MDU5MTExOTUsInZjIjp7IkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy8yMDE4L2NyZWRlbnRpYWxzL3YxIl0sInR5cGUiOlsiVmVyaWZpYWJsZUNyZWRlbnRpYWwiLCJEQkNDb25mZXJlbmNlQXR0ZW5kZWUiXSwiY3JlZGVudGlhbFN1YmplY3QiOnsiZmlyc3ROYW1lIjoiQmliYXNoIiwibGFzdE5hbWUiOiJTaHJlc3RoYSIsImVtYWlsIjoiYmliYXNoc2hyZXN0aGFAZ21haWwuY29tIiwiZXZlbnQiOnsibmFtZSI6IkRCQyBDb25mZXJlbmNlIDIwMjMiLCJkYXRlIjoiMjAyMy0wNi0yNiJ9LCJpZCI6ImRpZDpqd2s6ZXlKamNuWWlPaUpRTFRJMU5pSXNJbXQwZVNJNklrVkRJaXdpZUNJNkltSlVSbEUyU0RsbU4waHROelZXTUdneFEwcE9jbXd4T0VJeGJrUnFTRkY0YWs5SFJucEtTVVZCZHpBaUxDSjVJam9pTXpKM09Wb3RhMlI1Vm5GNmEzZ3pZV2gyZUhoNldqSTBVR05QV0c1ME4xUllTbEZOYkUwNE1GZDVVU0o5In19LCJAY29udGV4dCI6WyJodHRwczovL3d3dy53My5vcmcvMjAxOC9jcmVkZW50aWFscy92MSJdLCJ0eXBlIjpbIlZlcmlmaWFibGVDcmVkZW50aWFsIiwiREJDQ29uZmVyZW5jZUF0dGVuZGVlIl0sImV4cGlyYXRpb25EYXRlIjoiMjAyNC0wMS0yMlQwODoxMzoxNS45MDBaIiwiY3JlZGVudGlhbFN1YmplY3QiOnsiZmlyc3ROYW1lIjoiQmliYXNoIiwibGFzdE5hbWUiOiJTaHJlc3RoYSIsImVtYWlsIjoiYmliYXNoc2hyZXN0aGFAZ21haWwuY29tIiwiZXZlbnQiOnsibmFtZSI6IkRCQyBDb25mZXJlbmNlIDIwMjMiLCJkYXRlIjoiMjAyMy0wNi0yNiJ9LCJpZCI6ImRpZDpqd2s6ZXlKamNuWWlPaUpRTFRJMU5pSXNJbXQwZVNJNklrVkRJaXdpZUNJNkltSlVSbEUyU0RsbU4waHROelZXTUdneFEwcE9jbXd4T0VJeGJrUnFTRkY0YWs5SFJucEtTVVZCZHpBaUxDSjVJam9pTXpKM09Wb3RhMlI1Vm5GNmEzZ3pZV2gyZUhoNldqSTBVR05QV0c1ME4xUllTbEZOYkUwNE1GZDVVU0o5In0sImlzc3VlciI6ImRpZDpqd2s6ZXlKaGJHY2lPaUpGVXpJMU5pSXNJblZ6WlNJNkluTnBaeUlzSW10MGVTSTZJa1ZESWl3aVkzSjJJam9pVUMweU5UWWlMQ0o0SWpvaVZFY3lTREo0TW1SWFdFNHpkVU54V25CeFJqRjVjMEZRVVZaRVNrVk9YMGd0UTAxMFltZHFZaTFPWnlJc0lua2lPaUk1VFRoT2VHUXdVRTR5TWswNWJGQkVlR1J3UkhCdlZFeDZNVFYzWm5sYVNuTTJXbWhMU1ZWS016TTRJbjAiLCJpc3N1YW5jZURhdGUiOiIyMDIzLTEyLTIyVDA4OjEzOjE1LjkwMFoiLCJzdWIiOiJkaWQ6andrOmV5SmpjbllpT2lKUUxUSTFOaUlzSW10MGVTSTZJa1ZESWl3aWVDSTZJbUpVUmxFMlNEbG1OMGh0TnpWV01HZ3hRMHBPY213eE9FSXhia1JxU0ZGNGFrOUhSbnBLU1VWQmR6QWlMQ0o1SWpvaU16SjNPVm90YTJSNVZuRjZhM2d6WVdoMmVIaDZXakkwVUdOUFdHNTBOMVJZU2xGTmJFMDRNRmQ1VVNKOSIsIm5iZiI6MTcwMzIzMjc5NSwiaXNzIjoiZGlkOmp3azpleUpoYkdjaU9pSkZVekkxTmlJc0luVnpaU0k2SW5OcFp5SXNJbXQwZVNJNklrVkRJaXdpWTNKMklqb2lVQzB5TlRZaUxDSjRJam9pVkVjeVNESjRNbVJYV0U0emRVTnhXbkJ4UmpGNWMwRlFVVlpFU2tWT1gwZ3RRMDEwWW1kcVlpMU9aeUlzSW5raU9pSTVUVGhPZUdRd1VFNHlNazA1YkZCRWVHUndSSEJ2VkV4Nk1UVjNabmxhU25NMldtaExTVlZLTXpNNEluMCJ9.OWPGUbix76BN-KYsNO7pc0Tabur_yoACPoHXAlOwDLN3fsSUFShAhHAiXrF6NDbrGHm5ELRDz-4g_6Kchrh9hQ

authors: ThierryThevenet nklomp


text:
Criminal timer does not expire

Criminal timer does not expire
Players gets criminal status and wait 2-3 days and timer does not expire
If i remove criminal flag via .admin panel, after restart sphere players criminals again
can be related with #235

Any item in LAYER_FLAG_Criminal (43)? What's its timer?

[WORLDITEM i_handr_1]
SERIAL=040003799
NAME=Criminal Timer
TYPE=t_spell
ATTR=04
MORE2=01
LAYER=43
CONT=02449

after reboot sphere players gets criminal again

What's your ini CriminalTimer? By the way, criminal status needs to be removed with CRIMINAL 0.

// How many minutes are criminals flagged for
CriminalTimer=3

i can try to remove all [WORLDITEM i_handr_1] and check it again

it's created again and not expiring
[WORLDITEM i_handr_1]
SERIAL=040000c1c
NAME=Criminal Timer
TYPE=t_spell
ATTR=04
MORE2=01
LAYER=43
CONT=02449

Are you creating that manually?
Il mar 12 mar 2019, 14:15 Seokotov notifications@github.com ha scritto:

it's created again and not expiring
[WORLDITEM i_handr_1]
SERIAL=040000c1c
NAME=Criminal Timer
TYPE=t_spell
ATTR=04
MORE2=01
LAYER=43
CONT=02449
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Sphereserver/Source-experimental/issues/239#issuecomment-471995424,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOWhJEKm6As_5Q5CW4u0GFRCAZX_aBpUks5vV6iFgaJpZM4bR1pM
.

Are you creating that manually? Il mar 12 mar 2019, 14:15 Seokotov notifications@github.com ha scritto:
…
it's created again and not expiring [WORLDITEM i_handr_1] SERIAL=040000c1c NAME=Criminal Timer TYPE=t_spell ATTR=04 MORE2=01 LAYER=43 CONT=02449 — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#239 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AOWhJEKm6As_5Q5CW4u0GFRCAZX_aBpUks5vV6iFgaJpZM4bR1pM .

no
it was created after criminal action

authors: Seokotov cbnolok

repo: Sphereserver/Source-experimental


text:
Possible re-implementation of old AR shield formula.

This works only with Combat Elemental Engine disabled
Instead of gaining  a flat 7% of the Shield Armor value the Parrying skill of the character is taken in consideration according to the formula on
http://web.archive.org/web/20000306210936/http://uo.stratics.com:80/parr.htm
Take note  that by default the ARMOR value of the Shields item is commented in the scripts, so you need to uncomment it.

A new value in CombatParryEra like:
// 080  Enable  Shields AR scaling based on parrying
I think it's T2A, the page is from 2000 and LBR was released on 2002, while AOS on 2003.
Hovewer by looking through the website, the parrying it's more complicated :S
While the displayed AR on the status bar is ok, the AR given from the shield is applied only when you block the blow!
And if it's melee blow you block
Damage reduced for melee attacks = (Base AR) /2
While if it's a ranged attack you block full damage (like now)
Damage reduced for missile attacks = Base AR
"If you do not parry the blow, the damage goes through as normal. But if you are successful, your shield will absorb some of the damage thus reducing the attacker’s blow. The amount of damage subtracted depends on the type of shield you are using. A shield will absorb an amount of damage equal to half the base AR of the shield for melee damage, and the full base AR for missile damage. "

So it seems like that displayed AR is just for "show", while what it actually matters for blocking the damage is the base AR of the shield.


text:
undefined reference to modsecurity::Utils::GeoLookup::cleanUp()

Hi,
I'm running into a issue with installing Modsecurity. I'm using this Nginx Modsecurity website as a resource.
I'm using a Digital Ocean droplet running Ubuntu 16.04.3 LTS.
Nginx version: nginx/1.10.3 (Ubuntu). Nginx was installed by the system already. It's not installed from source code.
I installed all the dependencies on the website above but when I run make this is the error message I receive.
make[2]: Entering directory '/opt/ModSecurity/tools/rules-check' /bin/bash ../../libtool  --tag=CXX   --mode=link g++  -g -O2  -lpcre -o modsec-rules-check modsec_rules_check-rules-check.o ../../src/.libs/libmodsecurity.a -L/usr/lib/x86_64-linux-gnu -lcurl -L/usr/lib/x86_64-linux-gnu/ -lGeoIP -lpcre -lpcre   -L/usr/lib/x86_64-linux-gnu/ -llmdb -lxml2 -lrt    libtool: link: g++ -g -O2 -o modsec-rules-check modsec_rules_check-rules-check.o  ../../src/.libs/libmodsecurity.a -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libcurl.so -L/usr/lib/x86_64-linux-gnu/ -lGeoIP -lpcre -llmdb -lxml2 -lrt -pthread ../../src/.libs/libmodsecurity.a(libmodsecurity_la-modsecurity.o): In function modsecurity::ModSecurity::~ModSecurity()': /opt/ModSecurity/src/modsecurity.cc:88: undefined reference to modsecurity::Utils::GeoLookup::cleanUp()' collect2: error: ld returned 1 exit status Makefile:512: recipe for target 'modsec-rules-check' failed make[2]: *** [modsec-rules-check] Error 1 make[2]: Leaving directory '/opt/ModSecurity/tools/rules-check' Makefile:463: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/opt/ModSecurity/tools' Makefile:927: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1
Any idea why I would get this error? Is there a dependency that isn't on this Nginx Modsecurity website that I might be missing?
Thanks for helping,

Hi,
Okay an update on this. I found the solution. I had to run make clean and make to get it working. Seems something corrupted or didn't compile the first time. Closing. :100:

repo: SpiderLabs/ModSecurity


text:
来自中国的朋友们，推荐一款中文 WAF 给大家

这里给大家推荐一个新的 WAF 项目 https://github.com/chaitin/safeline
SafeLine 是一款足够简单、足够好用、足够强的 Web 安全防护网关，以反向代理方式接入流量，挡在网站之前对 Web 流量进行安全清洗，首创了业界领先的智能语义分析检测技术，保护你的网站不受黑客攻击。在便捷性、安全性、高性能、高可用等方面都有非常优秀的表现。

This does not appear to have anything to do with the ModSecurity project. Closing ...
(@naocanmonster , if, in future, you have an issue to report for this project, please do so in English as it is the established language for support of the project.)

authors: martinhsv naocanmonster


text:
API key admin panel

Closes #1.
Waiting for info before finishing.

Anything else required?

Still need to add pagination here, will get to it soon

demo: https://www.youtube.com/watch?v=d8tJoQT6Q5I

Implemented deletion by following how XF core does user deletion. Implemented key rotation by mimicking api key deletion, loosely followed user banning code but didn't need it to be as complex.
Should be fairly easy to follow. Let me know if any questions.

@md-5 reminder

@md-5 july reminder

repo: SpigotMC/XenforoApiKeys


text:
Automatically reset timer rounds if inactive for a certain amount of time

So perhaps you might leave the house to go do something, I think in cases like that where you would need to leave your workspace for an extended period of time, the timer should automatically reset and start from round one.

Additionally, it would be great if, after a break, the work timer would not start as long as the user is inactive.

repo: Splode/pomotroid


text:
Implement praise command

Quick and dirty praise command

Update Readme


text:
Implement World Creation

The API is fairly complete for worlds, so the implementation needs to start on this.
Worlds is a fairly complex thing to implement given that it has a lot of extensibility and we aim for full compatibility with forge mods. Since world creation and manipulation in forge is based around the concept of dimensions instead of worlds, we need to figure out what system we want to use for Sponge's implementation.
Currently I see two main options:

The original minecraft system where worlds are levels and what SpongeAPI calls Worlds are referred to as dimensions, with only one level.dat file and session.lock for an entire set of dimensions

We use a Bukkit style system where each World is split into a seperate level folder with it's own level.dat and session.lock files. Each world folder only stores a single dimension and the folder as a whole makes up the entirety of a World.

One posibility is an extension of 2 where those seperate world folders are expanded into another concept, allowing multiple World's (Dimensions) per Universe (Level), a sort of combination of 1 and 2.

FWIW This Document, created back when Sponge first started, suggests worlds should be stored in a folder structure like
./maps/
    /world/
    /DIM-1/
    /DIM-2/
    /other-world/

Etc.
So worlds are stored per dimention

https://github.com/MinecraftForge/MinecraftForge/issues/1621

@bloodmc is almost finished with this.

Fixed in https://github.com/SpongePowered/Sponge/commit/55175a11f7327a42c20f6f1f9e20307c4ca3058e

authors: Zidane bloodmc modwizcode ryantheleach simon816

repo: SpongePowered/Sponge


text:
Make permission data (SubjectData) a part of the Data API and make every Subject a DataHolder

This is an alternative to zml's PR.
I think Permission data should be handled like an other data. A permission Subject should be a data holder.
That also means that you can append custom data to a permission group, which will be inherited to the members of the group (e.g. ChatPrefixData).
This would clean up the Permission API and add much more possibilities that the "key-value options" introduced by zml's PR.

@gabizou do you think you could take a look at how this would work?
Would we have to change SubjectData instances to be immutable? (I already do this in PEX internally)
Would the data object be like Subject (calculated), or SubjectData (uncalculated) (and there are both data and transient SubjectDatas).
Would this work with non-data-holding objects?
Would it be able to handle two different SubjectData instances (transient and non-transient)?

@zml2008 I don't think this is valid any longer, thoughts?

Yeah, I agree. This would be nice to do, but permissions and data/value API work super differently internally so it wouldn't work at all imo.

authors: boformer gabizou zml2008

repo: SpongePowered/SpongeAPI


text:
🛑 [C] IP Ending with .33 is down

In 79237b5, [C] IP Ending with .33 ($IP_GRP_C.33:$MONITORING_PORT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: [C] IP Ending with .33 is back up in a423929 after .


text:
feat(column): functionality to convert column values

Tried using the logic of aurelia to determine the converter and arguments but the closest thing i found was https://github.com/aurelia/binding/blob/master/src/parser.js#L37

i think the important thing is that the syntax is fixed.(which it is i guess). then we always can extend later if desired

I am using the aurelia syntax so.. yeah

alright, works like charm it seems

authors: VMBindraban doktordirk

repo: SpoonX/aurelia-datatable


text:
Clarification Required on Obfuscated Code Segments

🧐 Have you fully read the README and viewed similar issues?

[X] I have read the README
[X] I have read the FAQ
[X] I have checked previous issues, open and closed
[X] I have completed all troubleshooting steps and the issue is not present on stock but returns after re-applying SpotX-Bash

Сountry of your account
Spanish
What is your Spotify Plan?
Free
Do you have Spicetify installed?
Yes
ℹ Computer information
- Spotify version:
- OS:
- Shell:

📝 Description
I have noticed that several parts of the codebase are obfuscated,
LIKE
mc01=$(echo "=kjQ59EeBNEZwhGWad2cq1Ub0QUSpRzRYtmVHJGcG1mWnF1VZZHetJ2M5ckWnFlbixGbHJGRCNlZ5hnMZdjUp9Ue502Y5ZVVmtmVtN2NSlmYjp0QJxWMDlkdoJTWsJUeld2dIZ2ZJlWTpZUbj5mUpl0Z3dkYxUjMMJjVHpldBlnY0FUejRXQTNFdBlmW0F0UjRXQDJWeWNTW" | rev | base64 --decode | base64 --decode)
mc02=$(echo "90TUmd2cU10ZRhVY0Y1RJdTSqp0KBlWS1hnRaxGeXFGaadUSrZkMiNXNyQmdSdUSwUzVaBHeyE1Zw42Yz5kMlt2bqNmdK52YGFDSaxmSzU2a0cEWpF0UaRXQ5J2bOdlWnNHSJhDeIlUaJpWWop0MatWSDlUaw42YoplVaNHbtp1NSlHT6J1VZZHetJ2M5ckU2VVVUBFaFpUaBlnY0FUaaRXQpNGaKdFT65EWalHZyIWeChFT0F0UjRXQDJWeWNTW" | rev | base64 --decode | base64 --decode)
eval "${mc01}"; eval "${mc02}"
printf "\xE2\x9C\x94\x20\x44\x6F\x77\x6E\x6C\x6F\x61\x64\x65\x64\x20\x61\x6E\x64\x20\x69\x6E\x73\x74\x61\x6C\x6C\x69\x6E\x67\x20\x53\x70\x6F\x74\x69\x66\x79\n"
rm -rf "${appPath}" 2>/dev/null
mkdir "${appPath}"

Could you please provide the rationale behind this approach?
🖥 Terminal Input/Output
/
📸 Screenshots
No response

https://github.com/SpotX-Official/SpotX-Bash/issues/43

repo: SpotX-Official/SpotX-Bash


text:
refactor: Fix clippy warnings

Issue number and link
clippy warnings

Describe your changes
Fix lint warnings
Checklist before requesting a review

[ ] I follow the Semantic Pull Requests rules (bugfix/feature)
[ ] I specified links to related issues (must: bugfix, want: feature)
[ ] I have performed a self-review of my code (bugfix/feature)
[ ] I have added thorough tests (bugfix/feature)
[ ] I have edited ## [Unreleased] section in CHANGELOG.md following keep a changelog syntax (bugfix/feature)
[ ] I {made/will make} a related pull request for documentation repo (feature)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

repo: SpringQL/SpringQL


text:
give AVPs an option to enable inheritance to child objects

In some cases we need the AVPs to set only once in a prefix or pool and if inheritance is tagged it should propagate onto any child objects. I am thinking about a optional tag to enable this.
For example, adding a 192.168.0.0/16 with a AVPs 'AbuseMail' you want to make sure the 192.168.4.0/24 has the same AVP's unless a specific AVPs under the same name exists to override (more specific)
This would save to add the AVP's to each object if needed.

I'm very hesitant to this, mainly because I don't like inheritance. I did implement it for tags, but that was somewhat arbitrary (like why not for other attributes?).
One of the downsides of inheritance is that when you change a prefix that has a lot of children, the update becomes massive (and super slow) which isn't a good thing. I've seen this in production environments and.. it's just not pretty. We could perhaps optimise that query though.
If we go back and look at the problem(s) we are trying to solve. One of them is that you might want to search across information that pertains to multiple prefixes. This is the main reason we have inherited tags, so you can search for a tag that is not directly associated with the prefix you want to find. Like you have 10.0.0.0/8 with tag "infrastructure" and then you have 10.0.1.2/31 which is a link network between foo-core-1 and bar-core-2. You now search for "#infrastructure and foo-core-1" and expect to find 10.0.1.2/31, and you will since we have inherited tags!
An alternative to solve this issue would be to allow searches to match on information in parent prefixes. Let's say you search for "parent.tag = 'infrastructure' and node='foo-core-1'" you would get prefixes where the node matches 'foo-core-1' and one of the parents (like direct parent, grand-parent, grand-grand-parent and so on) has the tag 'infrastructure'. This would allow you to do a powerful search, that solves this problem. Note how you can't do such a search today, but we could implement that.
I think we discussed this on IRC.. so for your case, where you want to find the abuse contact for a given IP address, like 192.168.4.1, the easiest thing is probably that you search for '192.168.4.1 and abusemail != ""', i.e. the abusemail attribute is not empty and the result prefixes should contain 192.168.4.1. Just grab the most specific one and it will be the one with your abuse info!
There could of course be the case when someone has failed to set abuse info. Say you have:
Prefix                      description                  abuseinfo
192.168.0.0/16       customer block           abuse@isp.com
    192.168.3.0/24   customer Google        abuse@google.com
    192.168.4.0/24   customer foobar

So you are lucky enough to have Google as your customer and you have correctly registered 192.168.3.0/24 with the google abuse contact. For 192.168.0.0/16, which is the IP aggregate you use for all your customers, you have registered abuse@isp.com, which is your own abuse address, as a form of fallback address. Now on 192.168.4.0/24 someone forgot to fill in the abuse info, so for the search on 192.168.4.1 and with abusemail set, you would actually get back 192.168.0.0/16... I think this similar to what you are doing today, just that you are iterating over the result, and with this you could always look at the most specific match.

Yes, currently i am doing a query for the most specific object and then ask all the parents of it as well and iterate over each object to find the format of fields needed to link abuse data. Having a more powerful search would limit the searching on large systems, but we'll need to test it either way.
And indeed, we talked about this on IRC and this would be a 'nice to have' but not essential because of the other query method ... depending if that survives large amounts of requests in very short time as a benchmark.

Also, I'd like to point out that doing inheritance for tags is different compared to other attributes. First off there are two columns in the database, we have 'tags' and 'inherited_tags'. Inherited tags is always additive, meaning that it consists of the parent prefix tags + inherited_tags attributes. We never override it, we just add more tags as we progress down through the prefix structure.
For AVPs (Attribute-Value Pair, which is the internal name for "extra attributes) we don't want an additive behaviour, we want to override an inherited value with one from a prefix with a longer prefix-length, if it is filled in, otherwise we propagate the inherited value, so in essence it is avp.X OR inherited_avp.X

authors: kruisdraad plajjan

repo: SpriteLink/NIPAP


text:
Handle edit_prefix without VRF

Fixed a bug in the backend where the edit_prefix operation would fail for prefixes in a VRF where the VRF wasn't included in the prefix attributes.

LGTM - will check CI when rebased into py3-branch.


text:
Add requirements for Widevine L1 Windows support

Can you add the requirements for Widevine L1 support for Windows?
Thanks!

I don't think it requires anything special, as long as HEVC is supported, then it should be supported:
/** Detect HEVC Widevine L1 support (only Windows is supported). */
try {
  await navigator.requestMediaKeySystemAccess('com.widevine.alpha.experiment', [
    {
      initDataTypes: ['cenc'],
      distinctiveIdentifier: 'required',
      persistentState: 'required',
      sessionTypes: ['temporary'],
      videoCapabilities: [
        {
          robustness: 'HW_SECURE_ALL',
          contentType: 'video/mp4; codecs="hev1.1.6.L120.90"',
        },
      ],
    },
  ]);
  console.log('Widevine L1 HEVC main profile is supported!');
} catch (e) {
  console.log('Widevine L1 HEVC main profile is not supported!');
}

Windows 10 - Chrome 124
My processor is Intel(R) Core(TM)2 Quad CPU Q8300@ 2.50GHz and my GPU is NVIDIA GeForce 730. Clear HEVC videos play in Chrome without problem.

hmm, I thought both had the same level of support, then it seems that the two support are inconsistent.
From my understanding, MF CDM query support info from media foundation API, while clear HEVC query support info from D3D API, that the main difference, but I have no idea whats detailed requirement for MF CDM API.

I have the same problem with Chrome Beta. I would like to report the problem, but I don't know how to report it... What data is necessary?

My understanding is that your screenshot is enough. when you finish submit the issue, please attach the crbug link here.

Done: https://issues.chromium.org/issues/336648774 ! Thanks!

Can you try to upgrade to Chrome 124.0.6367.92? It seems the issue has been fixed.

Same result

@xhwang-chromium can you help us with this? Thanks!

Thanks for reporting. Let's continue the discussion in the chromium bug.

authors: StaZhu avelad xhwang-chromium


text:
ValueError: Trying to set a tensor of shape torch.Size([77, 1280]) in "weight" (which has shape torch.Size([77, 512])), this look incorrect.

I have try "pip install git+https://github.com/kashif/diffusers.git@wuerstchen-v3",but still occur the things:
A matching Triton is not available, some optimizations will not be enabled.
Error caught was: No module named 'triton'
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.autotrackable has been moved to tensorflow.python.trackable.autotrackable. The old module will be deleted in version 2.11.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.base has been moved to tensorflow.python.trackable.base. The old module will be deleted in version 2.11.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.base_delegate has been moved to tensorflow.python.trackable.base_delegate. The old module will be deleted in version 2.11.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.data_structures has been moved to tensorflow.python.trackable.data_structures. The old module will be deleted in version 2.11.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.graph_view has been moved to tensorflow.python.checkpoint.graph_view. The old module will be deleted in version 2.11.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.util has been moved to tensorflow.python.checkpoint.checkpoint. The old module will be deleted in version 2.11.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.checkpoint_management has been moved to tensorflow.python.checkpoint.checkpoint_management. The old module will be deleted in version 2.9.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.resource has been moved to tensorflow.python.trackable.resource. The old module will be deleted in version 2.11.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.asset has been moved to tensorflow.python.trackable.asset. The old module will be deleted in version 2.11.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.python_state has been moved to tensorflow.python.trackable.python_state. The old module will be deleted in version 2.11.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.saving.checkpoint_options has been moved to tensorflow.python.checkpoint.checkpoint_options. The old module will be deleted in version 2.11.
Loading pipeline components...: 0%
0/3 [00:00<?, ?it/s]
ValueError                                Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_4928\1705133580.py in
5 num_images_per_prompt = 2
6 model_path= r"D:\all_models_archives\stable-cascade"
----> 7 prior = StableCascadePriorPipeline.from_pretrained(model_path, torch_dtype=torch.bfloat16, use_safetensors =True).to(device)
8 decoder = StableCascadeDecoderPipeline.from_pretrained(model_path,  torch_dtype=torch.float16, use_safetensors =True).to(device)
9
~\anaconda3\lib\site-packages\huggingface_hub\utils_validators.py in _inner_fn(*args, **kwargs)
116             kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.name, has_token=has_token, kwargs=kwargs)
117
--> 118         return fn(*args, **kwargs)
119
120     return _inner_fn  # type: ignore
~\anaconda3\lib\site-packages\diffusers\pipelines\pipeline_utils.py in from_pretrained(cls, pretrained_model_name_or_path, **kwargs)
1261             else:
1262                 # load sub model
-> 1263                 loaded_sub_model = load_sub_model(
1264                     library_name=library_name,
1265                     class_name=class_name,
~\anaconda3\lib\site-packages\diffusers\pipelines\pipeline_utils.py in load_sub_model(library_name, class_name, importable_classes, pipelines, is_pipeline_module, pipeline_class, torch_dtype, provider, sess_options, device_map, max_memory, offload_folder, offload_state_dict, model_variants, name, from_flax, variant, low_cpu_mem_usage, cached_folder, revision)
529     # check if the module is in a subdirectory
530     if os.path.isdir(os.path.join(cached_folder, name)):
--> 531         loaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs)
532     else:
533         # else load from the root directory
~\AppData\Roaming\Python\Python39\site-packages\transformers\modeling_utils.py in from_pretrained(cls, pretrained_model_name_or_path, config, cache_dir, ignore_mismatched_sizes, force_download, local_files_only, token, revision, use_safetensors, *model_args, **kwargs)
3478                 offload_index,
3479                 error_msgs,
-> 3480             ) = cls._load_pretrained_model(
3481                 model,
3482                 state_dict,
~\AppData\Roaming\Python\Python39\site-packages\transformers\modeling_utils.py in _load_pretrained_model(cls, model, state_dict, loaded_keys, resolved_archive_file, pretrained_model_name_or_path, ignore_mismatched_sizes, sharded_metadata, _fast_init, low_cpu_mem_usage, device_map, offload_folder, offload_state_dict, dtype, is_quantized, keep_in_fp32_modules)
3868                 if low_cpu_mem_usage:
3869                     if not is_fsdp_enabled() or is_fsdp_enabled_and_dist_rank_0():
-> 3870                         new_error_msgs, offload_index, state_dict_index = _load_state_dict_into_meta_model(
3871                             model_to_load,
3872                             state_dict,
~\AppData\Roaming\Python\Python39\site-packages\transformers\modeling_utils.py in _load_state_dict_into_meta_model(model, state_dict, loaded_state_dict_keys, start_prefix, expected_keys, device_map, offload_folder, offload_index, state_dict_folder, state_dict_index, dtype, is_quantized, is_safetensors, keep_in_fp32_modules)
741         elif not is_quantized:
742             # For backward compatibility with older versions of accelerate
--> 743             set_module_tensor_to_device(model, param_name, param_device, **set_module_kwargs)
744         else:
745             if param.dtype == torch.int8 and param_name.replace("weight", "SCB") in state_dict.keys():
~\anaconda3\lib\site-packages\accelerate\utils\modeling.py in set_module_tensor_to_device(module, tensor_name, device, value, dtype, fp16_statistics, tied_params_map)
343     if value is not None:
344         if old_value.shape != value.shape:
--> 345             raise ValueError(
346                 f'Trying to set a tensor of shape {value.shape} in "{tensor_name}" (which has shape {old_value.shape}), this look incorrect.'
347             )
ValueError: Trying to set a tensor of shape torch.Size([77, 1280]) in "weight" (which has shape torch.Size([77, 512])), this look incorrect.

I have the same problem, I'm running on Ubuntu though.   In the error it says:
If you want to instead overwrite randomly initialized weights, please make sure to pass both `low_cpu_mem_usage=False` and `ignore_mismatched_sizes=True`. For more information, see also: https://github.com/huggingface/diffusers/issues/1619#issuecomment-1345604389 as an example.

However, looking at the issues associated with the link it seems like this is something that needs to be updated in the app itself.

I believe you are correct, I am also running in Ubuntu and get the size mismatch.
embedding.1.weight expected shape tensor(..., device='meta', size=(320, 64, 1, 1)), but got torch.Size([320, 16, 1, 1]). If you want to instead overwrite randomly initialized weights, please make sure to pass both low_cpu_mem_usage=Falseandignore_mismatched_sizes=True. For more information, see also: https://github.com/huggingface/diffusers/issues/1619#issuecomment-1345604389 as an example.
prior = StableCascadePriorPipeline.from_pretrained("stabilityai/stable-cascade-prior", torch_dtype=torch.bfloat16).to(device) decoder = StableCascadeDecoderPipeline.from_pretrained("stabilityai/stable-cascade",  torch_dtype=torch.float16, ignore_mismatched_sizes=True).to(device)
I have made these adjustments and to no avail.

I'm running this on M2 and getting this error:
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
    PyTorch 2.1.0a0+git4add06e with CUDA None (you have 2.1.1)
    Python  3.11.5 (you have 3.11.5)
  Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
  Memory-efficient attention, SwiGLU, sparse and more won't be available.
  Set XFORMERS_MORE_DETAILS=1 for more details
RUNNING ON: mps
Loading pipeline components...:  67%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████▎                                                         | 4/6 [00:01<00:00,  3.07it/s]The config attributes {'c_in': 16} were passed to StableCascadeUnet, but are not expected and will be ignored. Please verify your config.json configuration file.
/opt/homebrew/lib/python3.11/site-packages/diffusers/models/lora.py:384: FutureWarning: `LoRACompatibleLinear` is deprecated and will be removed in version 1.0.0. Use of `LoRACompatibleLinear` is deprecated. Please switch to PEFT backend by installing PEFT: `pip install peft`.
  deprecate("LoRACompatibleLinear", "1.0.0", deprecation_message)
Loading pipeline components...: 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 6/6 [00:40<00:00,  6.82s/it]
Fetching 13 files: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 13/13 [00:00<00:00, 20.46it/s]
Loading pipeline components...:  40%|█████████████████████████████████████████████████████████████████████▏                                                                                | 2/5 [00:00<00:00, 16.00it/s]The config attributes {'c_in': 4} were passed to StableCascadeUnet, but are not expected and will be ignored. Please verify your config.json configuration file.
Loading pipeline components...:  40%|█████████████████████████████████████████████████████████████████████▏                                                                                | 2/5 [00:05<00:08,  2.72s/it]
Traceback (most recent call last):
  File "/Users/it6/cascade/gradio_app/app.py", line 14, in <module>
    decoder = StableCascadeDecoderPipeline.from_pretrained("stabilityai/stable-cascade", torch_dtype=torch.half)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/diffusers/pipelines/pipeline_utils.py", line 1263, in from_pretrained
    loaded_sub_model = load_sub_model(
                       ^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/diffusers/pipelines/pipeline_utils.py", line 531, in load_sub_model
    loaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/diffusers/models/modeling_utils.py", line 669, in from_pretrained
    unexpected_keys = load_model_dict_into_meta(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/diffusers/models/modeling_utils.py", line 154, in load_model_dict_into_meta
    raise ValueError(
ValueError: Cannot load /Users/it6/.cache/huggingface/hub/models--stabilityai--stable-cascade/snapshots/e3aee2fd11a00865f5c085d3e741f2e51aef12d3/decoder because embedding.1.weight expected shape tensor(..., device='meta', size=(320, 64, 1, 1)), but got torch.Size([320, 16, 1, 1]). If you want to instead overwrite randomly initialized weights, please make sure to pass both `low_cpu_mem_usage=False` and `ignore_mismatched_sizes=True`. For more information, see also: https://github.com/huggingface/diffusers/issues/1619#issuecomment-1345604389 as an example.

It appears that no matter how you run it, there is an issue with the mismatched types that setting: ignore_mismatched_sizes=True doesn't have any effect at this point. At least from what I have seen so far.

authors: KylanDixonMF ScottishFold007 davejhahn jcplus

repo: Stability-AI/StableCascade


text:
Changed IP/SSH Port, GUI no longer works

I changed the IP and SSH port of the machine where stackstorm resides last night. I can still login to the GUI but the it is now blank and I get error messages in the bottom lefthand corner that say things like "Unable to retrieve history. See details in developer tools console stackstorm." How do I fix this?

Also, if I try to do something like this: st2 action list
ERROR: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))


text:
Format README.md

Fixed bullet formatting
Currently the bullet points are all on the same level, making it hard to understand where you are

updated wrangler links
The links to the wrangler CLI are out of date

I'm still a little confused on the domain part of the readme at the bottom. not entirely sure what that part means or how exactly to set that up.
Also, adding a "contributing" section for the codebase may also be nice, but not necessary.
The rest seems to be easy to follow

Currently our production CloudFlare Worker is set up for domains aisafety.info, stampy.ai, and alignment.wiki - from a time when we weren't decided which one is the best, though aisafety.info has been a clear winner since then 😄  If anyone with access to cloudflare dashboard will need a new domain, these are some instructions how to set it up - TBH it's mostly a checklist for myself what not to forget and I would look for instructions in this file 🤷

authors: Aprillion sakgoyal

repo: StampyAI/stampy-ui


text:
Drop out of warp for random satellite out of power message

Drop out of warp for random satellite out of power message is hard to manage as you get more sats.  with just a small comms constellation I have to spam KCT button presses to get to the next warp to item.

I think these should default off.

I think you can change the default behavior in the game settings, I can't do anything (config wise) about it.

authors: Bornholio Standecco

repo: Standecco/ROKerbalism


text:
Expected Type-checking error

We found a strange bug regarding Regent. Please find the code snippet to reproduce this bug:
task main()
  var G_i : double[5]
  var G_k : double[5]
  for i = 0, 4 do
    G_i[i] = 0.0
    G_k[i] = 0.0
  end
  var sum : double[4]
  for i = 0, 4 do
    sum[i] = 0.0
  end
  var t = -1.0
  for l = 0, 4 do
    sum[l] = sum[l] - (G_i - G_k)*t
  end
  format.println("{}", sum[0])
end

regentlib.start(main)

Expected output: Regent should throw an error while type checking.
Resultant output: -5.0
Regent is compiled on the control replication branch, commit hash 5554d31c6

I am a little confused. Can we have operations between arrays and primitive data types in Regent?
If yes, how does it work exactly?

Ok, it looks like + on two arrays results in an element-wise array operation {double[5], double[5]} -> double[5], while a - on two arrays seems to coerce both to pointers and then compute a pointer difference, i.e., {double[5], double[5]} -> int64. And then you can coerce int64 to double so that flows through the rest of your program without throwing an error.
It's a bit strange to diverge from the Terra behavior, but I guess we already provided + and *, so we probably ought to be consistent and provide - as well.
But this might be an argument for recommending regentlib.array in this case, though I think that currently provides even fewer operators than raw arrays. At least it wouldn't be subject to unexpected pointer conversions.

repo: StanfordLegion/legion


text:
How to support CPU multi-thread in a different way?

I tested the openmp example xxx in xxx directory and cpu example xxx of legion in xxx directory. Both examples don't do task partation in programs. The "-ll:othr 4" specifies the number of openmp successfullly. But cpu program stills use single thread if we set "-ll:cpu 4". If we manully partation tasks in cpu programs such as the example xx in xx directory, "-ll:othr 4" works. Hence, is there another method, such as legion mapper to support CPU multi-thread instead of partationing tasks in main program?

What do you mean by "support CPU multi-thread instead of partitioning tasks"? Legion and Realm are task parallelism programming model. I recommend you to take a look at the Legion tutorial (https://legion.stanford.edu/tutorial/) or Realm tutorial (https://gitlab.com/StanfordLegion/legion/-/blob/master/tutorial/realm/RealmTutorials.md)

It is true that if you use OpenMP you can avoid needing to partition the data, at least if you only use a single CPU node. This is a bit of a special case in Legion and it didn't really generalize. For basically anything else you'd want to do (multi-node CPU, multi-node or single node multi-GPU) you well need to partition the data to get parallelism.