Game crashes when leaving TitleState

Describe your bug here.
Whenever I try to leave to go to MainMenuState from TitleState the game just crashes.
Command Prompt/Terminal logs (if existing)
The instruction at 0x00007FF6A30FD103 referenced memory at 0x0000000000000000. The memory could not be read.

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I have edited PlayState, CreditsState, GameOverSubstate, and Achievements.

Any errors on console?

No reply... damn


Make metric code namespace agnostic

Remove all the hardcoded namespace values and make the code general.

/cherry-pick release-4.13

/cherry-pick release-4.12

@aruniiird Please create a manual backport for release-4.12.

Ack

@aruniiird Please create a manual backport for release-4.12.

@umangachapagain , created the backport PR: https://github.com/red-hat-storage/ocs-operator/pull/2036 , for release-4.12


[KYUUBI #2014] Hive Backend Engine - GetCatalog Operation

Why are the changes needed?

Hive Backend Engine - GetCatalog Operation.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #2138 (87d3fe0) into master (33424a1) will increase coverage by 0.02%.
The diff coverage is 85.71%.

@@             Coverage Diff              @@
##             master    #2138      +/-   ##
============================================
+ Coverage     61.16%   61.18%   +0.02%
- Complexity      108      111       +3
============================================
  Files           318      319       +1
  Lines         15461    15467       +6
  Branches       1990     1990
============================================
+ Hits           9456     9463       +7
  Misses         5197     5197
+ Partials        808      807       -1

Impacted Files
Coverage Δ

...e/kyuubi/engine/hive/operation/HiveOperation.scala
87.09% <0.00%> (-2.91%)
:arrow_down:

...che/kyuubi/engine/hive/operation/GetCatalogs.scala
100.00% <100.00%> (ø)

...i/engine/hive/operation/HiveOperationManager.scala
17.85% <100.00%> (+6.74%)
:arrow_up:

...ache/kyuubi/operation/KyuubiOperationManager.scala
95.00% <0.00%> (+2.50%)
:arrow_up:

Continue to review full report at Codecov.

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

thanks, merged to master


TODO: Look into why mobile tests are failing on production

Look into why mobile tests are failing on production but work fine locally.

Solved in https://github.com/w3bdesign/dfweb/pull/149


8.4-RC1: Release notes: Confusing sample of the configuration api

Issue type
Wrong or misleading information
Problem description
The sample of the old configuration api only sets the non-default properties to false. This code is correct, but confusing due the similar property names. Instead, also add the default value to highlight the new improved api:
configurations {
    create("implementation") {
        isCanBeConsumed = false
        isCanBeResolved = false
        isCanBeDeclared = true
    }
    create("runtimeClasspath") {
        isCanBeConsumed = false
        isCanBeResolved = true
        isCanBeDeclared = false
        extendsFrom(configurations["implementation"])
    }
    create("runtimeElements") {
        isCanBeConsumed = true
        isCanBeResolved = false
        isCanBeDeclared = false
        extendsFrom(configurations["implementation"])
    }
}

Also, please, change the order of the new usage and use the same names:
configurations {
    dependencyScope("implementation")
    resolvable("runtimeClasspath") {
        extendsFrom(configurations["apiElements"])
    }
    consumable("runtimeElements") {
        extendsFrom(configurations["implementation"])
    }
}

Context (optional)
I was unable to create a PR because I don't know where the release notes are stored, the master branch contains the new release notes of 8.5
Page with the problem
https://docs.gradle.org/8.4-rc-1/release-notes.html

Thank you for your interest in Gradle!
This is a valid documentation issue that we will address.

We should add an in-line comment on the declarations that match the default, to clary that they match the default:
isCanBeDeclared = true // this is the default

@hfhbd PTAL https://github.com/gradle/gradle/pull/26524


[WIP] Metric for node unhealty duration statistics

Add Prometheus histogram metric to track remediation duration
Signed-off-by: Carlo Lobrano<EMAIL_ADDRESS>

/test ?

/test 4.13-openshift-e2e


Doc: Replace cross-doc links with attributes

Replaces cross-doc links to shared attributes.
Asciidoc formatting cleanup.

@jsvd  This plugin is deprecated.  I made the needed docs changes, just in case we do need to bump version and republish again some time in the future. I believe that the version comparison changes you are making to the script will make this approach acceptable.  Please validate or dispute my logic. Thanks!

@karenzone we'll be able to see these changes in the documentation of logstash per release with the current code, where we always replace the docs on the right logstash-docs/{branch}
For the versioned docs we won't see this change, but I think that's ok for now as no one will be looking for this particular plugin in the versioned docs

@karenzone we'll be able to see these changes in the documentation of logstash per release with the current code, where we always replace the docs on the right logstash-docs/{branch}
For the versioned docs we won't see this change, but I think that's ok for now as no one will be looking for this particular plugin in the versioned docs

For the versioned docs we won't see this change, but I think that's ok for now as no one will be looking for this particular plugin in the versioned docs

That's what I was hoping for. Thanks for confirming.

For the versioned docs we won't see this change, but I think that's ok for now as no one will be looking for this particular plugin in the versioned docs

That's what I was hoping for. Thanks for confirming.


[TRI-583] CLI Init: If there's an endpoint ID in package.json, use it

From SyncLinear.com | TRI-583

/attempt #165

I believe this can be closed now?


Updated concurrent job setting

Hi, I have suggested two changes per Chris Webb's blog : https://blog.crossjoin.co.uk/2022/10/31/speed-up-power-bi-dataset-refresh-performance-in-premium-or-ppu-by-changing-the-parallel-loading-of-tables-setting/

Specified the maximum number of concurrent jobs allowed to 30. While you can enter any positive number, Chris mentions it's restricted to 30.
Only the datasets in Premium and PPU capacities will benefit from this change. Pro users will not see any parallelism.

Please confirm with Chris and Akshay Mirchandani and update the document accordingly.

Hi @maggiesMSFT , suggesting some changes based on Chris Webb's blog to provide more clarity. It would be great if Chris himself can contribute to this article. Thanks.

Learn Build status updates of commit e345b24:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/create-reports/desktop-evaluation-configuration.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Thanks, @pawarbi -- I'm investigating.

Hi, @pawarbi -- thanks for your suggestion! I'm assigning it to @davidiseminger


Jerky animation

Describe the bug
Phantom jumps (animation) when you first go to a post or when the Internet is weak
Reproduction
Windows 11
Chrome 112.05
Desctop\Mobile version
Logs
There is not

System Info
There is not

Additional Information

Here I'm trying to show how loading a post for the first time or when the Internet is weak (this becomes not obvious)

https://user-images.githubusercontent.com/130793155/232141408-421c63b4-cfb8-460c-84fe-94a0addda963.mp4

Thanks for reporting this.
This is an known issue.
The service worker will try to install all the assets for the first time, the next time visiting the site should run normally and more smoothly. That's why I have not spent time on trying to figure out a solution for this.

ok, I can somehow fix it locally, but as an option, then the first load, just exclude the animation and leave the loader, it would be right without side effects


[Bug] Caused by: com.github.shyiko.mysql.binlog.event.deserialization.MissingTableMapEventException and lost data

Search before asking

[X] I searched in the issues and found nothing similar.

Flink version
1.14.6
Flink CDC version
2.3
Database and its version
mysql
Minimal reproduce step
Caused by: com.github.shyiko.mysql.binlog.event.deserialization.MissingTableMapEventException: No TableMapEventData has been found for table id:15987. Usually that means that you have started reading binary log 'within the logical event group' (e.g. from WRITE_ROWS and not proceeding TABLE_MAP
What did you expect to see?
flink job can start from checkpoint
What did you see instead?
no restart and loss data
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

please aasign this issus to me @leonardBang

I found the reason, mainly because our binglog client was restarted during the consumption process, but the location of the restart was on the binlog of Write_rows type. As a result, when the binlog was deserialized, the corresponding table of the binlog data could not be found. Information. Because when parsing the data of the binlog type of the Write_rows type, the data of the table_map type must be parsed first.

我们可以从下面这部分代码看出问题，当出现MissingTableMapEventException这种报错的时候，程序不会抛出异常，而是继续执行，导致过程中Write_rows类型的数据被丢弃，导致数据丢失

please aasign this issus to me @leonardBang

Assigned to you @dylenWu, please keep going, looking forward your analysis.

I think we should add this logic to this method to let the client stop receiving messages, so that the queue poll() method can throw an exception

please review it @leonardBang

@dylenWu The option to just ignore the exception is useful. I encountered a weird case where consuming from a later offset will throw the exception that the binlog file does not exist. I tried to manually specify a earlier offset, and the error showed up. In my case I'm relying on the upsert semanitcs of sink operators so having some data duplication is tolerable.

@dylenWu The option to just ignore the exception is useful. I encountered a weird case where consuming from a later offset will throw the exception that the binlog file does not exist. I tried to manually specify a earlier offset, and the error showed up. In my case I'm relying on the upsert semanitcs of sink operators so having some data duplication is tolerable.

We cannot ignore the exception, otherwise it will cause data loss

@dylenWu

我看到binlogClient 碰到EOFException会重新连接,重新连接的时候会接受到一个根据当前客户端记录的binlog位置的ROTATE事件，然后会把之前残留的tableMapEventByTableId清除掉，等再次接收下一个事件的时候，就会报找不到对应的tableMapEventData，是不是因为这个问题导致的？

@dylenWu     我发现当BinlogClient因为心跳超时重新连接的时候，之前保留下来的tableMapEventByTableId里的数据会因为这个ROTATE事件清除掉tableMapEventByTableId，导致下一个event的解析错误，是不是因为这个原因导致的问题？

在消费write_rows类型的binlog数据的时候，一定要先消费table_map类型的binlog获取表相关的信息，不然无法解析write_rows类型的binlog。但是当BinlogClient因为心跳超时重新连接的时候，它消费的位点可能在事务的中间，导致没有先消费table_map类型的数据，而是直接消费了write_rows类型的数据。详情请看我上面截的图。

在消费write_rows类型的binlog数据的时候，一定要先消费table_map类型的binlog获取表相关的信息，不然无法解析write_rows类型的binlog。但是当BinlogClient因为心跳超时重新连接的时候，它消费的位点可能在事务的中间，导致没有先消费table_map类型的数据，而是直接消费了write_rows类型的数据。详情请看我上面截的图。

2.4.1也出现了这个问题 2.4.2有计划修复吗

在消费write_rows类型的binlog数据的时候，一定要先消费table_map类型的binlog获取表相关的信息，不然无法解析write_rows类型的binlog。但是当BinlogClient因为心跳超时重新连接的时候，它消费的位点可能在事务的中间，导致没有先消费table_map类型的数据，而是直接消费了write_rows类型的数据。详情请看我上面截的图。

感谢讲解。我想把生产环境2.1版本的cdc升级到2.4，但是因为兼容性问题（https://github.com/ververica/flink-cdc-connectors/issues/1795#issuecomment-1342237192）只能新起一个2.4版本cdc的job，不从旧job的checkpoint恢复、而是从旧job最后消费的binlog位点启动。但问题在于，这个位点通常都是write_rows类型，没有schema数据。那么【从指定的binlog位点启动】这个功能应该怎么使用呢，自己去binlog里面找非write_rows类型的最后一条记录？那么问题又来了，如果我的源库有100+张表，如何确保我选择的位点每张表都有schema呢

@dylenWu do you think the PR https://github.com/ververica/flink-cdc-connectors/pull/3065 would help in this issue? This is so that the tableMapEventByTableId would not be cleared on rotate event created due to binlog client restart

Considering collaboration with developers around the world, please re-create your issue in English on Apache Jira under project Flink with component tag Flink CDC. Thank you!


Does your library support jdk 11.

Hi,
I have updated the JDK version to 11 from JDK 8, Gradle to 6.0 and apache commons-lang to 3.9. The Gradle build is failing with an exception below. I could see that the commons-io(2.6) package in my project library.
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/io/FilenameUtils
at org.jsonschema2pojo.Jsonschema2Pojo.getNodeName(Jsonschema2Pojo.java:175)
at org.jsonschema2pojo.Jsonschema2Pojo.getNodeName(Jsonschema2Pojo.java:170)
at org.jsonschema2pojo.Jsonschema2Pojo.generateRecursive(Jsonschema2Pojo.java:134)
at org.jsonschema2pojo.Jsonschema2Pojo.generate(Jsonschema2Pojo.java:75)
at org.jsonschema2pojo.Jsonschema2Pojo$generate.call(Unknown Source)
at org.jsonschema2pojo.gradle.GenerateJsonSchemaJavaTask.generate(GenerateJsonSchemaJavaTask.groovy:70)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)

Do you mean you've updated your projects JDK from 8 to 11?
I just upgraded my own application to JDK11 and ran the compile and it worked, so I'm not sure what's going on with your specific project. Are you able to provide a github repo with a sample of what isn't working?

Yes, Updated projects JDK from 8 to 11.
Can you please share your build.gradle file.?
Copied below build content of my project
Please let me know if I am missing anything
apply plugin: 'jsonschema2pojo'
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
   // classpath 'org.jsonschema2pojo:jsonschema2pojo-core:1.0.1'
   classpath 'org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:1.0.1'
   // classpath 'org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:latest.integration'

}

}
dependencies {
compile 'org.apache.commons:commons-lang3:3.9'
compile 'javax.validation:validation-api:2.0.1.Final'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.6'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.9.0'
}
// Each configuration is set to the default value
jsonSchema2Pojo {
// Whether to generate builder-style methods of the form withXxx(value) (that return this),
// alongside the standard, void-return setters.
generateBuilders = false
// Whether to use primitives (long, double, boolean) instead of wrapper types where possible
// when generating bean properties (has the side-effect of making those properties non-null).
usePrimitives = false

// Package name used for generated Java classes (for types where a fully qualified name has not
// been supplied in the schema using the 'javaType' property).
targetPackage = 'notifs.ops.generated.configuration.pojos'

// The characters that should be considered as word delimiters when creating Java Bean property
// names from JSON property names. If blank or not set, JSON properties will be considered to
// contain a single word when creating Java Bean property names.
propertyWordDelimiters = ['-', '_'] as char[]

// Whether to use the java type long (or Long) instead of int (or Integer) when representing the
// JSON Schema type 'integer'.
useLongIntegers = false

// Whether to use the java type BigInteger when representing the JSON Schema type 'integer'. Note
// that this configuration overrides useLongIntegers
useBigIntegers = false

// Whether to use the java type double (or Double) instead of float (or Float) when representing
// the JSON Schema type 'number'.
useDoubleNumbers = false

// Whether to use the java type BigDecimal when representing the JSON Schema type 'number'. Note
// that this configuration overrides useDoubleNumbers
useBigDecimals = true

// Whether to include hashCode and equals methods in generated Java types.
includeHashcodeAndEquals = true

// Whether to include a toString method in generated Java types.
includeToString = true

// The style of annotations to use in the generated Java types. Supported values:
//  - jackson (alias of jackson2)
//  - jackson2 (apply annotations from the Jackson 2.x library)
//  - jackson1 (apply annotations from the Jackson 1.x library)
//  - gson (apply annotations from the Gson library)
//  - moshi1 (apply annotations from the Moshi 1.x library)
//  - none (apply no annotations at all)
annotationStyle = 'jackson2'

// A fully qualified class name, referring to a custom annotator class that implements
// org.jsonschema2pojo.Annotator and will be used in addition to the one chosen
// by annotationStyle. If you want to use the custom annotator alone, set annotationStyle to none.
customAnnotator = 'org.jsonschema2pojo.NoopAnnotator'

// Whether to include JSR-303/349 annotations (for schema rules like minimum, maximum, etc) in
// generated Java types. Schema rules and the annotation they produce:
//  - maximum = @DecimalMax
//  - minimum = @DecimalMin
//  - minItems,maxItems = @Size
//  - minLength,maxLength = @Size
//  - pattern = @Pattern
//  - required = @NotNull
// Any Java fields which are an object or array of objects will be annotated with @Valid to
// support validation of an entire document tree.
includeJsr303Annotations = true

// The type of input documents that will be read. Supported values:
//  - jsonschema (schema documents, containing formal rules that describe the structure of json data)
//  - json (documents that represent an example of the kind of json data that the generated Java types
//          will be mapped to)
sourceType = 'jsonschema'

// Whether to empty the target directory before generation occurs, to clear out all source files
// that have been generated previously. Be warned, when activated this option
// will cause jsonschema2pojo to indiscriminately delete the entire contents of the target
// directory (all files and folders) before it begins generating sources.
removeOldOutput = true

// The character encoding that should be used when writing the generated Java source files
outputEncoding = 'UTF-8'

// Whether to use {@link org.joda.time.DateTime} instead of {@link java.util.Date} when adding
// date type fields to generated Java types.
useJodaDates = false

// Whether to use commons-lang 3.x imports instead of commons-lang 2.x imports when adding equals,
// hashCode and toString methods.
useCommonsLang3 = true

// Whether to initialize Set and List fields as empty collections, or leave them as null.
initializeCollections = false

// Whether to add a prefix to generated classes.
classNamePrefix = ""

// Whether to add a suffix to generated classes.
classNameSuffix = ""

// An array of strings that should be considered as file extensions and therefore not included in class names.
fileExtensions = [] as String[]

// Whether to generate constructors or not.
includeConstructors = false

// **EXPERIMENTAL** Whether to make the generated types Parcelable for Android
parcelable = false

// Whether to make the generated types Serializable
serializable = false

}

I misunderstood the original message. My test project was in maven. I'll try to reproduce with gradle.


dissonnect player on join[forge-1.15.2-31.2.9]

Issue Description:
java.lang.NullPointerException
at thut.api.OwnableCaps.attachMobs(OwnableCaps.java:281)
What happens:
player gets kickeed from joining the server
What you expected to happen:
the palyer could join no problem
Steps to reproduce:
1.use the mods listed here
mods.txt
2.load a virtual server and have  a player try to connect
3. get the problem mentioned above
...
logs:
debug.log
latest.log

Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.

Thutcore: thutcore-1.15.2-7.2.1
Minecraft: 1.15.2
Forge:31.2.9

this is also affecting singleplayer world too
latest.log

hmm, one of your mods appears to be doing something it shouldn't be.
The particular error is thrown by this line of code:
https://github.com/Thuts-Mods/ThutCore/blob/1.15.2/src/main/java/thut/api/OwnableCaps.java#L281
This means either p is null, or the output of getCapability(ThutCaps.OWNABLE_CAP) is null.
Neither of these are allowed states for those values.
Can you see if you can find which mod is required for this to occur? ie, in single player, remove half the mods (except the elevators/thutcore), see if it still occurs, if so, add back the half you removed, and remove half of the ones you did not, repeat until the crash doesn't occur (or if it occurs with only thutcore and the elevator mods, link the new logs with just those two)

might be related to but unsure need to test more https://github.com/Alex-the-666/Citadel/issues/9

the stuff mentioned in that issue is definitely is what could be causing this issue


Implement watch Command

Would be curious to hear your opinions on implementing a watch command. My initial thoughts for the workflow would be:

Within an initialized project, run the skpm watch command
skpm would then listen for all changes within the src (and Resources?) directory. Alternatively the user could set a watch_glob (or something similar) within the package.json?
When a change is detected, it would essentially run the skpm build and skpm link commands.
The changes would now be reflected within Sketch.

My main motivation for this request is to be able to make a change and have that change immediately reflected within Sketch. This seems like a much better workflow compared to running skpm build and skpm link manually after each change.
Do you have any thoughts or opinions on the above? Does this functionality already exist and I'm just missing it?
Thanks.

you can already do skpm build --watch. The changes are directly reflected in sketch if you skpm link the plugin.
Was it what you were looking for?

Ah, yes! I didn't see it in the docs and didn't look through the source.  That's exactly what I need. Thanks!

Good point, do you want to make a PR to highlight the option?

Certainly. Will try and get to it today or tomorrow.


Does dataframe of mleap preprocessing support sql?

Hi,
Like lending_club Demo.
In Offline, we process data as follow:
val datasetFnl = spark.sqlContext.sql(f"""
select
loan_amount,
fico_score_group_fnl,
case when dti >= 10.0
then 10.0
else dti
end as dti,
emp_length,
case when state in ('CA', 'NY', 'MN', 'IL', 'FL', 'WA', 'MA', 'TX', 'GA', 'OH', 'NJ', 'VA', 'MI')
then state
else 'Other'
end as state,
loan_title,
approved
from df
where loan_title in('Debt Consolidation', 'Other', 'Home/Home Improvement', 'Payoff Credit Card', 'Car Payment/Loan',
'Business Loan', 'Health/Medical', 'Moving', 'Wedding/Engagement', 'Vacation', 'College', 'Renewable Energy', 'Payoff Bills',
'Personal Loan', 'Motorcycle')
""")
In Online ,how can i do this?
thanks.

Hi @jacksu,
SQL transformer isn't supported in MLeap, mostly because they could contain column based transformations (e.g. group by).
What you can do is create custom transformers for the two case statements below, which you can use for training as well as scoring.
case when dti >= 10.0 then 10.0 else dti
 case when state in ('CA', 'NY', 'MN', 'IL', 'FL', 'WA', 'MA', 'TX', 'GA', 'OH', 'NJ', 'VA', 'MI') then state else 'Other'
You can find some documentation on writing transformers below, please let me know if you need any additional help, happy to help!
http://mleap-docs.combust.ml/mleap-runtime/custom-transformer.html

Hi @ancasarb
I know, thanks.


Add memory profiling capability to @fluid-tools/benchmark

Description

New tool/infrastructure to run mocha tests that profile memory usage. Mosty a copy of the corresponding code to benchmark execution time.

Usage is very similar to the existing benchmark() function that replaces mocha's it(); a new function called benchmarkMemory() which takes very similar arguments is used for these tests.
Any relevant logs or outputs
This is an example of the output when running memory profiling tests in the console:

This is a sample of an output file which contains "before and after" memory measurements for each iteration (sample) of every test. In a real file, each of the memoryUsage, heap and heapSpace arrays would probably contain a multitude of samples:
{
    "suiteName": "Memory usage",
    "tests": [
        {
            "testName": "Add 1000 integers to a local map",
            "testData": {
                "runs": 70,
                "samples": {
                    "before": {
                        "memoryUsage": [
                            {
                                "rss": 66670592,
                                "heapTotal": 34603008,
                                "heapUsed": 15163344,
                                "external": 1762225,
                                "arrayBuffers": 18514
                            }
                        ],
                        "heap": [
                            {
                                "total_heap_size": 34603008,
                                "total_heap_size_executable": 573440,
                                "total_physical_size": 25743472,
                                "total_available_size":<PHONE_NUMBER>,
                                "used_heap_size": 15168768,
                                "heap_size_limit":<PHONE_NUMBER>,
                                "malloced_memory": 215560,
                                "peak_malloced_memory": 8890944,
                                "does_zap_garbage": 0,
                                "number_of_native_contexts": 1,
                                "number_of_detached_contexts": 0
                            }
                        ],
                        "heapSpace": [
                            [
                                {
                                    "space_name": "read_only_space",
                                    "space_size": 151552,
                                    "space_used_size": 150392,
                                    "space_available_size": 0,
                                    "physical_space_size": 150680
                                },
                                {
                                    "space_name": "new_space",
                                    "space_size": 16777216,
                                    "space_used_size": 10000,
                                    "space_available_size": 8369392,
                                    "physical_space_size": 8134400
                                },
                                {
                                    "space_name": "old_space",
                                    "space_size": 13791232,
                                    "space_used_size": 11577720,
                                    "space_available_size": 107704,
                                    "physical_space_size": 13698968
                                },
                                {
                                    "space_name": "code_space",
                                    "space_size": 360448,
                                    "space_used_size": 153216,
                                    "space_available_size": 0,
                                    "physical_space_size": 237120
                                },
                                {
                                    "space_name": "map_space",
                                    "space_size": 790528,
                                    "space_used_size": 625536,
                                    "space_available_size": 163648,
                                    "physical_space_size": 790272
                                },
                                {
                                    "space_name": "large_object_space",
                                    "space_size": 2682880,
                                    "space_used_size": 2664768,
                                    "space_available_size": 0,
                                    "physical_space_size": 2682880
                                },
                                {
                                    "space_name": "code_large_object_space",
                                    "space_size": 49152,
                                    "space_used_size": 2880,
                                    "space_available_size": 0,
                                    "physical_space_size": 49152
                                },
                                {
                                    "space_name": "new_large_object_space",
                                    "space_size": 0,
                                    "space_used_size": 0,
                                    "space_available_size": 8379392,
                                    "physical_space_size": 0
                                }
                            ]
                        ]
                    },
                    "after": {
                        "memoryUsage": [
                            {
                                "rss": 66809856,
                                "heapTotal": 34603008,
                                "heapUsed": 16749408,
                                "external": 1754073,
                                "arrayBuffers": 18514
                            }
                        ],
                        "heap": [
                            {
                                "total_heap_size": 34603008,
                                "total_heap_size_executable": 573440,
                                "total_physical_size": 25772736,
                                "total_available_size":<PHONE_NUMBER>,
                                "used_heap_size": 16749784,
                                "heap_size_limit":<PHONE_NUMBER>,
                                "malloced_memory": 215560,
                                "peak_malloced_memory": 8890944,
                                "does_zap_garbage": 0,
                                "number_of_native_contexts": 1,
                                "number_of_detached_contexts": 0
                            }
                        ],
                        "heapSpace": [
                            [
                                {
                                    "space_name": "read_only_space",
                                    "space_size": 151552,
                                    "space_used_size": 150392,
                                    "space_available_size": 0,
                                    "physical_space_size": 150680
                                },
                                {
                                    "space_name": "new_space",
                                    "space_size": 16777216,
                                    "space_used_size": 1493768,
                                    "space_available_size": 6885624,
                                    "physical_space_size": 8134400
                                },
                                {
                                    "space_name": "old_space",
                                    "space_size": 13791232,
                                    "space_used_size": 11649360,
                                    "space_available_size": 2106616,
                                    "physical_space_size": 13728232
                                },
                                {
                                    "space_name": "code_space",
                                    "space_size": 360448,
                                    "space_used_size": 156000,
                                    "space_available_size": 172608,
                                    "physical_space_size": 237120
                                },
                                {
                                    "space_name": "map_space",
                                    "space_size": 790528,
                                    "space_used_size": 633816,
                                    "space_available_size": 154360,
                                    "physical_space_size": 790272
                                },
                                {
                                    "space_name": "large_object_space",
                                    "space_size": 2682880,
                                    "space_used_size": 2664768,
                                    "space_available_size": 0,
                                    "physical_space_size": 2682880
                                },
                                {
                                    "space_name": "code_large_object_space",
                                    "space_size": 49152,
                                    "space_used_size": 2880,
                                    "space_available_size": 0,
                                    "physical_space_size": 49152
                                },
                                {
                                    "space_name": "new_large_object_space",
                                    "space_size": 0,
                                    "space_used_size": 0,
                                    "space_available_size": 8379392,
                                    "physical_space_size": 0
                                }
                            ]
                        ]
                    }
                },
                "aborted": false
            }
        }
    ]
}

Other information or known dependencies
Related to internal task 956

@CraigMacomber @Abe27342 tagging you just because (AFAIK) you're the most familiar with the benchmark tool so you might have the most to say about this PR.

There's one thing about these changes that I realized and it's worth pointing out. The most accurate results of memory usage of a piece of code seem to come when we trigger v8's garbage collection after said code, right before we collect the "after" memory measurements. The screenshot below shows the results that confirmed that for me. TL;DR: the after row has information about memory measurements captured immediately after the tested code, and the after-gc row has information after the tested code and triggering GC. Not only is the mean of the measurements noticeably different (while still being different from the "before" value), but the standard deviation is also much lower.

The test runner in this PR does not do that; it collects memory measurements right after the test function executes. The measurements are not completely wrong, but going by the results above, they'll show more variance than if they'd been taken after a GC call.
However, calling GC right after the code to be measured is only possible if things that the code changed (e.g. instantiated) are still in scope and will remain in scope when we garbage collect; otherwise, a manual garbage collection would just free all that memory and the "after" measurement would be inaccurate.
Triggering GC in the runner after the test function has returned would free the memory because all the local variables inside the test function are already out of scope, so I investigated triggering it inside the test function (which would potentially require that the person writing the test did it themselves, but I'll ignore that issue because it seems a moot point based on what I'll describe below).
The screenshot below shows that if we trigger GC inside a function that causes memory usage but after all the other code in the function has run, the memory is freed immediately. I'm not sure if that is technically true (i.e. it happens before the function returns), but it is effectively true; by the time we get measurements after the function returns, memory has been freed:

It seems the runtime is smart enough to realize that the local variables will not be referenced again so the corresponding memory can be freed.
I can't think of a straightforward way to call GC after the code to be tested but before we collect memory measurements, that won't immediately free that memory. Asking the test-writer to put all the things they did inside the function in a return object seems like it could work in principle but feels like a very fragile approach. Any ideas on that front are welcome.

@Abe27342 @CraigMacomber two final things:

Thoughts on letting this change through? Column header in the console output for the current benchmark runner. This seems to be the more accurate term (it's what the Benchmark library's code uses in its comments, even), but depending on how much we consider the console output part of a public API, it could technically be breaking. For the new reporter I used the new term. Happy to revert if you think it might affect existing consumers.

I documented benchmarkMemory as @alpha. I know it's not part of TSDoc's core group of tags, but given our internal discussions about it and possible upcoming improvements, I wanted to make clear that some details around it might change.

@Abe27342 @CraigMacomber two final things:

Thoughts on letting this change through? Column header in the console output for the current benchmark runner. This seems to be the more accurate term (it's what the Benchmark library's code uses in its comments, even), but depending on how much we consider the console output part of a public API, it could technically be breaking. For the new reporter I used the new term. Happy to revert if you think it might affect existing consumers.

I documented benchmarkMemory as @alpha. I know it's not part of TSDoc's core group of tags, but given our internal discussions about it and possible upcoming improvements, I wanted to make clear that some details around it might change.

I think it's fine. I'd be thoroughly surprised if anyone depends on console output directly rather than read the information from the output JSON files. Using @alpha seems fine for now (though we probably don't discourage usage quite as much as api-extractor documentation makes it sound)


Time Travel: make use of /api endpoint report persistence capability flag

Since #2575, we are able to tell in the UI whether Scope reports are stored persistently. Instead of treating Time Travel as a Cloud-only feature, we should be showing it whenever historical reports are available. Apart from Weave Cloud, that would enable the use of time travel in Scope standalone whenever the reports are stored persistently.
Note: This should only be addressed after the feature-flag for Time Travel has been removed.

@filip @fons We should consider adding very limited time travel capability to standalone scope, simply by getting the app to hold on for a bit more than 15s of reports, probably configurable via some flag.
That would give OSS users a sneak peek of the feature, with some limited, but nevertheless useful, functionality ("What just happened? Let me skip back a minute.").
Looks like the capability to enable the timetravel UI is called report_persistence, which is a bit unfortunate given that (limited) time travel is possible w/o persistence. I reckon we should rename the capability. historic_reports?

@fbarl a related question: how well do the timetravel controls work for short periods, say 2 minutes?

We should consider adding very limited time travel capability to standalone scope.

I am not sure it's worth the effort by itself. It will end up being a glorified instant replay which I don't think is very useful. It may be worth of there's value in having it as a demo or a way to drive more people to Weave Cloud. @Futurile ?

I reckon we should rename the capability. historic_reports?

Fine by me. If we are going to enable it by default then we don't need any capabilities.

It may be worth of there's value in having it as a demo or a way to drive more people to Weave Cloud.

That's the idea. Though I wouldn't want to enable the feature just as a demo. It actually has to be of some (limited) use. That's why I postulated a "What just happened? Let me skip back a minute." use case, though thinking about it now, that may not work particularly well when reports get expired underneath.

@rade,

We should consider adding very limited time travel capability to standalone scope, simply by getting the app to hold on for a bit more than 15s of reports, probably configurable via some flag.

I don't know how much work it would be and whether it's worth the effort - I'd suggest we wait until we get some more info how people are using the time control.

I reckon we should rename the capability. historic_reports?

I think historic_reports is a more clear - maybe I could rename it in #2616.

How well do the timetravel controls work for short periods, say 2 minutes?

We are rounding everything to seconds on the frontend, but I think the backend supports full granularity down to milliseconds, so I'd say exploring 2 minutes intervals should be pretty accurate (as far as I remember, backend is always taking a 15s window ending at the requested timestamp).

@fbarl

I think historic_reports is a more clear - maybe I could rename it in #2616.

Go for it. And change the PR title too, since it talks about persistence :)

I think historic_reports is a more clear - maybe I could rename it in #2616.

I've done this in #2774.

I think the most useful case is actually going to be the last couple of "minutes": because it's a more obvious way to do troubleshooting. But, lets see how people actually use it first ...


Update README.md

Sorting compatible devices in alphabetical order.

Do people just want to post so they feel like a part of something.

No need to be condescending if you do not appreciate the contribution even if minimal. I just found that more convenient to read for people.

The devices are storted in order of release

If so, the iPod touch 6G would be before the iPad Air 2 and the iPad mini 4 right? Anyway is this sorting really relevant now at this place? Isn't it more convenient for people to read in alphabetical order? It was just a proposal.

This is such a useless pull. I get that you want to be on the contributor list for a jailbreak but come on.

What's your problem here? I'm an editor and I usually pay attention to this kind of detail, it was just to help a little as it's an open source project. You can take changes directly without merging my PR honestly I don't give a damn. I agree this is the least important part of the project for you, but men no need to be condescending.

Close this you buffoon.
Sorry let me put it in alphebitacle order so people don't get confused by reading this.
Buffoon Close This You.

@XAVERRenogadeAngle In fact you're the one trying to give you importance by criticizing the PRs relative to the Readme file, the only thing you understand pretty much in this project. And besides, you're rude.

Ok here is my point. You can organize the device list in plenty of ways.
Alphabetical
Order of compatibility
Order released
By the size
By screen size
Processing power
All iPhones iPads etc in categories to themsleves
And you can organize those sub categories in these ways as well. But then In what order would you present the categories.
Basically the list is endless
Nobody is going to care what order they are in. So I feel that this should be closed because posting is only for code issues and this one is clutter.

Certainly there is a lot of different ways for organizing this list, and I'm just suggesting the one that is the most logical and comfortable to read for someone trying to find out if its own devices are compatible or not.
When you look for supporting devices anywhere else for applications, softwares, etc you never find them organized by released date, screen size or whatever. It's just common sense but it seems you take pleasure to epilogue on the subject.
It's your comments that clutter up the discussion on a very very simple proposition that doesn't even need one. It's sad to waste its time on things so futile. Personally I have better things to do elsewhere.

@Sn0wFr1tz dude... no one CARES


a handful of FAQ edits

@freiburgermsu Could you please edit the commits as mentioned in https://github.com/biosimulations/biosimulations/pull/3923#issuecomment-1002319581

Some of the changes in this PR and others unintentionally change the meaning of the documentation. I will need to review the documentation.

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


Customer support discount enrollment codes for future course runs

As a customer supporter, I'd like to have (small) pools of coupons for a course, so I can offer it to users who have paid but can't complete the course.
This is most common with DEDP, for example this request for JPAL102x: ZenDesk 137496
Acceptance Criteria:

[ ] a short list of enrollment codes that can be drawn down over time
[ ] that expire in two years
[ ] for simplicity, it would be good if they were good for any course run within the expiration period. If that's too hard, CS will just have to manage them more carefully

Created a management command to make these in #1142, then used it to generate 25 codes with CS- prefix for this purpose. These are all one-time use 100% off codes that expire on 2024-10-17. These got put into a Google Sheet in the shared drive for MITxOnline and sent explicitly to @pdpinch as well. I can rerun this at any time to add more codes as necessary (and the command offers a few other options too if we want to generate some for some other reason).
For completeness, this was the command I ran:
heroku run -a mitxonline-production ./manage.py generate_discount_code --one-time --expires 2024-10-17 --amount 100 --discount-type percent-off --prefix CS- --count 25

Closing this - has been done for a bit now.


Set up inititial server

Coverage decreased (-2.6%) to 95.652% when pulling 3b328a71fcdb1e291e85d3ad32517f2660ee017a on set-up-inititial-server into 9b4bf7ac76ea5d55a2bbb9634643f0958a772611 on master.

Coverage increased (+0.6%) to 98.889% when pulling 90be51c194787ded8fc869896c8be690b4961e8d on set-up-inititial-server into 9b4bf7ac76ea5d55a2bbb9634643f0958a772611 on master.


SpotifyRemoteSettings panel unreadable if using a light VS2017 theme

Thanks for your report, I am working on a fix.
Sorry for the inconvenience.

The issue has been fixed, and I have released a new version including the fix.
https://github.com/arjankuijpers/SpotifyRemote/releases/tag/Release_v1.1.0
You should be able to download it through the Visual Studio Marketplace as well.
Look out for version v1.1.0, let me know if you have questions or remarks.
Feel free to re-open the issue, if you need to.


Update Assimp to master at d3d98a7ec0c8d38e1952b46dfe53f7e9233dc92d

ASCII FBX embedded content
Improved uv scaling metadata

Allows ascii fbx files with embedded textures (which are base64 encoded) to be read.

For the next Assimp sync I want to see if it's possible to get https://github.com/assimp/assimp/issues/2375 resolved.
Non visible models are still shown in the scene in the current FBX import.

Thanks!


ci(dci-lint): git refusing to fetch into current branch #1440

The problem can be circumvented by adding the --update-head-ok flag to
the fetch parameters.
Fixes #1440
Signed-off-by: Peter Somogyvari<EMAIL_ADDRESS>

Codecov Report

Merging #1529 (6cb3ed4) into main (b270d28) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1529   +/-   ##
=======================================
  Coverage   70.04%   70.04%
=======================================
  Files         368      368
  Lines       14108    14108
  Branches     1701     1701
=======================================
  Hits         9882     9882
  Misses       3298     3298
  Partials      928      928

Continue to review full report at Codecov.

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


PowerMatch

@CS2103JUN2017-T2/developers PowerMatch is in a separate class of its own, so you can call it to to implement a more powerful search by keyword. Let me know if you need me to clarify what PowerMatch can/cannot match.
Fixes #159

Hmmm, so correct me if im wrong, but this class will be used for the cases where users slightly mistype the commandwords / flags correct? e.g. frim instead of from

Yup. So if you do something like first removing whitespace from the entry name + tags before trying to match against the keyword, then you have quite a powerful flexible search.

👍  that's a pretty cool feature

Coverage decreased (-0.5%) to 76.526% when pulling f713433cd454d608e45b545b6bdc666275d9690e on V0.4_powermatch into 23aa45f02b459f8b324639d682406a4717f6269e on V0.4.

Coverage decreased (-0.5%) to 76.526% when pulling b96ffaf7d923ed0228ace00ca03ffda6d4b06180 on V0.4_powermatch into 23aa45f02b459f8b324639d682406a4717f6269e on V0.4.


[REVIEW]

Github Profile Link:

https://github.com/vikkastiwari
Portfolio link: https://iamvikkastiwari.web.app/
You can also join the discord community here
Feel free to check out other cool repositories of EddieHub Community here

Hey @vikkastiwari, I liked your profile. But I have few suggestions for you.

Remove the profile view badge (Because it is manipulatable)
You can write more in your about section
You can move the reach out to me section below the about section
Categorize your tool badges according to frontend backend etc
Add description to your pinned project. That looks incomplete in the first glance
Also add relevant tags to your projects too.

Thanks for submitting. You profile will get reviewed in the stream as time permits :)

Love your portfolio website

You got a good profile 👍

Loved the profile and portfolio website. A small suggestion from my side, that you may consider replacing AND A with AND AN mentioned below your name

Thank you for sharing, we will review on a live stream soon 👍 It looks like you are getting great community feedback already 💥

Reviewed on a video, coming out soon
Looks great, some feedback...

Great professional photo
Member of EddieHub 🎉
Good use of white space in the README
Suggestion removing the top badges and moving the socials badges up


Add skewX/skewY to transforms

I created a PR here https://github.com/facebook/react-native/pull/2652
However my Linear Algebra isn't strong. I did some reading here http://blog.lotech.org/2013/05/the-beauty-of-using-matricies-to-apply.html which made it seem like I needed to use Math.tan on certain matrix spots however, maybe I don't understand how iOS is decomposing those since using sin/cos from rotateZ causes skewing.
I don't know. If I did it wrong would love to know about how to go about adding skew correctly.

PR accepted :)


outline for C++/C: the Follow Cursor fails

VSCode Version: 1.24.1
OS Version: windows 7
Extension: C/C++ 0.17.4

Steps to Reproduce:

open a c/c++ project and show the outline view
select 'Follow Cursor'. But when I change the selection in the file, the outline selected symbol will not change.

ps: this feature is ok for typescript.

/duplicate of #34968.

The extension needs to adopt the new API first


ADM-691: [frontend] fix: rename setting and fix style

Summary
rename setting and fix style
Before
Description
Screenshots
If applicable, add screenshots to help explain behavior of your code.
After
Description
Screenshots
If applicable, add screenshots to help explain behavior of your code.
Note
Null

2 new issue


possible go lang exec.Command pipe/wait race

Likely a bug, cmd.Wait() should not be called before all I/O is completed on stderr:
https://github.com/fnproject/hotwrap/blob/master/hotwrap.go#L78
(See: https://golang.org/pkg/os/exec/#Cmd.StderrPipe)

Thanks good spot


Broken link

When you go to https://coolify.io/docs/knowledge-base/backups in section "S3 Backups" and click on the link with the text "S3 compatible" you should go to https://coolify.io/docs/knowledge-base/s3-storages, but instead you land on https://coolify.io/docs/introduction

Can i take this?


Update dependencies

Description
Changes proposed in this pull request:

Update minor versions of dependencies

Related issue(s)

validated against dev:


🐛 set c.allowedGroupsSet in NewController()

Summary
set c.allowedGroupsSet in NewController()
Related issue(s)
Fixes #1742

/lgtm
/approve


Stage Damage creating second node when saving an element a second time.

Original author: Cody McCoy
A second node with the same name shows up in the tree when saving a second time.

@codymccoy I think this issue has been resolved. please confirm.


Adjust Eloquent Builder __call to return the result of the forwardCallTo

The Eloquent builder __call method forwards a call to the Base builder. The problem is that the result of the forwarded call is ignored. This PR fixes that by returning the value of forwardCallTo.

This seems to break the test suite.

The issue of the failing tests has been resolved.


#250 FIXED Brittle pathing

https://github.com/advantageous/qbit/issues/250

https://github.com/advantageous/qbit/issues/263


Doesn't reply with PUBACK for PUBLISH

When receiving a PUBLISH of QoS 1, the client does not send a PUBACK packet
#27

Hi Rohith,
Can you let me know why you closed this ticket?
Did you manage to get it working?
nick.


fix update luis name after saving as a project

Description
In luis.ai, an app name is formed by luisName+dialogName+locale+.lu.
After saving as a project, only the root dialog name is changed and after publishing, the previous children dialogs will be overrwritten because of name conflicts. So we can change the luis name in the appsetting.json file to fix it.
Task Item
Closes #5386
Screenshots
The luis app name will be changed after saving as a bot.

Coverage increased (+0.01%) to 55.061% when pulling cb53f163c5d97c27043156021b36de801b230741 on setLuisNameAfterSaveAs into 46e19395f7cb793ac520357184562be428ba3ad7 on main.

Coverage increased (+0.01%) to 55.061% when pulling cb53f163c5d97c27043156021b36de801b230741 on setLuisNameAfterSaveAs into 46e19395f7cb793ac520357184562be428ba3ad7 on main.


Add GNU -Werror & fix warnings

I thought it might be great to add -Werror option

This one is not mandatory, we can use static_cast, I think I replaced it
because my IDE asked for it (proposal from clang-tidy).
Le mer. 14 avr. 2021 à 18:03, An Tao @.***> a écrit :

@.**** commented on this pull request.
In lib/src/HttpAppFrameworkImpl.cc
https://github.com/an-tao/drogon/pull/801#discussion_r613380409:

@@ -1012,10 +1012,11 @@ const HttpResponsePtr &HttpAppFrameworkImpl::getCustom404Page()
static IOThreadStorage thread404Pages;
static std::once_flag once;
std::call_once(once, [this] {

       thread404Pages.init([this](HttpResponsePtr &resp, size_t index) {

           resp = std::make_shared<HttpResponseImpl>(

               *static_cast<HttpResponseImpl *>(custom404_.get()));

       });

       thread404Pages.init(

           [this](HttpResponsePtr &resp, size_t /*index*/) {

               resp = std::make_shared<HttpResponseImpl>(

                   *dynamic_cast<HttpResponseImpl *>(custom404_.get()));

dynamic_cast is slower than static_cast, is there any better way?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/an-tao/drogon/pull/801#pullrequestreview-635800095,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJVXENVUYX26QEJYAVDF5DTIW4G5ANCNFSM425EOM6A
.

This one is not mandatory, we can use static_cast, I think I replaced it because my IDE asked for it (proposal from clang-tidy). Le mer. 14 avr. 2021 à 18:03, An Tao @.***> a écrit :
…

that is okay for call_once：）


Refactor Refactor the rf code interface to remove update filter v1

Proposed changes
Issue Number: close #xxx

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

run buildall


Remove the upstream gatekeeper operator test

The upstream gatekeeper operator test uses an old operator version that is not longer supported and does not work on newer k8s versions including OCP 4.12.
Refs:

https://issues.redhat.com/browse/ACM-3320

/hold
I created this PR quickly and need to double check whether there are additional things to remove.

/unhold
Please take a look now and provide review feedback. Thanks

I don't think anything uses https://github.com/stolostron/governance-policy-framework/blob/main/deploy/gatekeeper/gatekeeper.yaml and I can't tell why we have it.  Anyone know?  I'm going to see what happens when I remove it

I don't think anything uses https://github.com/stolostron/governance-policy-framework/blob/main/deploy/gatekeeper/gatekeeper.yaml and I can't tell why we have it. Anyone know? I'm going to see what happens when I remove it

Looks like it was added along with gatekeeper_test.go, so without further investigation, to me it looks safe to remove.

More links:

https://github.com/stolostron/backlog/issues/27188
https://github.com/stolostron/backlog/issues/27182

I had briefly looked at making a similar PR, but you're ahead of me :D

The failed test is policy_imagemanifest_test.go:20 which I think is unrelated.

/cherry-pick release-2.7

/cherry-pick release-2.6


zh-cn Tutorial_1 Merge Request

Uploading the first Chinese tutorial for testing.
It seems like the format of some links are weird, for example in section 2.2.3, the link toward Olshausen and Field's work is exposed.

This looks great. There are a few things we should do to update this PR.

Add a "Language" hyperlink option between English & Chinese
Convert this into rst format. This should mostly be straightforward, I think. Let me know if you need some guidance here.
Link fixes


Disable JavaScript?

I want my run my tests, which define the behavior with disabled JavaScript, also with webkit (and not with rack_test).
So, can I disable JavaScript in capybara-webkit to achieve this?

@jferris Are you saying that when using RackTest via Capybara.use_default_driver or not specifying any Capybara.javascript_driver, you should be able to simulate JS being disabled in the browser? If so, it's not working for me with capybara-webkit 1.4.1, RSpec 3.1.0, and  Rails 4.1.9.
I'm trying to test a link_to that sends a POST request, which should fail if JS is disabled in the browser because it sends a GET request instead. However, the Capybara feature spec passes. Is there a way to test these scenarios with Capybara?
Thanks!

@monfresh Capybara's rack-test driver will look for data-method attributes even though it doesn't support JavaScript, but as of version 2 you need to enable a setting to get that behavior.
It may be worth asking on the Capybara mailing list, as this definitely isn't an issue with capybara-webkit. We expect JavaScript to always work when using capybara-webkit.


No build

I am not sure if this is WIP but there appears to be no public build, and I can't compile it due to it most likely requiring Intel compiler which I don't want to install, thanks.

Yes it's still a work-in-progress atm. I should be able to get a public release build out soon once I squash some of the more obvious bugs. I'll put up a notice on the readme stating this too.
If you want, I can provide a test build for you if you'd be up for giving some feedback. At the moment I'm mainly trying to get rid of any show-stopper bugs.

If you want, I can provide a test build for you if you'd be up for giving some feedback. At the moment I'm mainly trying to get rid of any show-stopper bugs.

Sure I wouldn't mind.

If you want, I can provide a test build for you if you'd be up for giving some feedback. At the moment I'm mainly trying to get rid of any show-stopper bugs.

Sure I wouldn't mind.

Here it is. Just download and then extract the zip to the game folder.
DMCHDFix_v0_7_pre.zip

I reinstalled the game on Steam to test your patch (resolution 3440x1440, i912900K, 3090Ti 64Go RAM, Windows 11 professional 22H2). dmc1.exe and dmc3.exe seem to work flawlessly, but dmc2.exe is crashing at launch.

I reinstalled the game on Steam to test your patch (resolution 3440x1440, i912900K, 3090Ti 64Go RAM, Windows 11 professional 22H2). dmc1.exe and dmc3.exe seem to work flawlessly, but dmc2.exe is crashing at launch.

The DMC2 crashing issue will be fixed in the next version. I should be uploading that later today.

All right that's the public release build up now. Should fix the DMC2 crashing that @Chachardus mentioned.
I'll close this issue for now, but feel free to open any new issues for anything you catch that isn't already on the known issues list.


Refactor compiler pipeline

Rework the pipeline:

Tokenizer also creates newline tokens

Tokens include the line in the original code

Parser should be split into an Abstract Syntax Tree generator and a semantic checker

Parser does only syntax checks
Semantic checker checks the AST's validity

Semantic checker needs two passes, to be able to properly reference labels and method calls

Blocks #183 #156

The parser should also be split to an compiler that takes the AST created and translates it to Machine Code that can be processed by the MIC-1.


GROOVY-9571: groovydoc: don't add constructors for types that can't have them

If 4cdc998 is too hacky, let me know what a more generic approach could be.  I think I've seen groovydoc show an inherited field called __$stMC which could maybe be hidden, too.

Hold on, I'll move the $INIT thing from this to a separate issue.


add: detect manual mining pool prioritizations

Pools, like for example ViaBTC, are known to manually prioritize transactions based on out-of-band payments.
For example https://miningpool.observer/template-and-block/00000000000000000005bc18c9903efcd39f6a972fb1df4eb843617f6af71b90

This can be detected and annotated with, e.g. block tags.

This get's a bit easier with #72.


Add music/long-lived sounds

Attach to SoundPool?
Should use Media/MediaPlayer instead of AudioClip for long sounds

Handled in #34


python38Packages.python-nomad: 1.3.0 -> 1.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.python-nomad is: "Python client library for Hashicorp Nomad"
meta.homepage for python38Packages.python-nomad is: "https://github.com/jrxFive/python-nomad"
meta.changelog for python38Packages.python-nomad is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.4.1 with grep in /nix/store/l6cy7jhwy1dhd6r01qrbnyjsbdnlki40-python3.8-python-nomad-1.4.1

found 1.4.1 in filename of file in /nix/store/l6cy7jhwy1dhd6r01qrbnyjsbdnlki40-python3.8-python-nomad-1.4.1

directory tree listing: https://gist.github.com/4d24f4a01a394f92d676732a91ff52bf

du listing: https://gist.github.com/d783b8798ea93c40c32ea45b202f92d9

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

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.python-nomad
python39Packages.python-nomad

Instructions to test this update (click to expand)

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

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/l6cy7jhwy1dhd6r01qrbnyjsbdnlki40-python3.8-python-nomad-1.4.1
ls -la /nix/store/l6cy7jhwy1dhd6r01qrbnyjsbdnlki40-python3.8-python-nomad-1.4.1/bin

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

2 packages built:

python38Packages.python-nomad
python39Packages.python-nomad

Maintainer pings
cc @xbreak for testing.

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

2 packages built:

python38Packages.python-nomad
python39Packages.python-nomad


Support incoming traffic from multiple pods

As discussed here, when a deployment has multiple pods we only mirror/steal incoming traffic from one of them, leading to missed traffic. This is being developed as a temporary solution, but we should strive to properly support incoming traffic from multiple pods.

Part of mirrord for Teams


Move Overpass into the OHM infrastructure

What's your idea for a cool feature that would help you use OHM better.
It turns out... Overpass is too important not to have in our infrastructure. Especially when Nominatim has a dependency on Overpass.
Current workarounds
Hosting Overpass externally, but that makes it too tricky to make mods, fix what's broken, etc.

We discussed during check in today having Ruben take a first pass at moving Overpass into OSMseed for deployment along with Tegola, Nominatim, and website.
this will come after current work on vtiles to unblock map styling, but it will come soon.

@jeffreyameyer @danrademacher , I have deployed overpass-api  in staging , here the endpoint 👉  https://staging-overpass-api.openhistoricalmap.org/, i have cloned the turbo-overpass too,  👉  https://github.com/OpenHistoricalMap/overpass-turbo, and replace the endpoint with ours, https://openhistoricalmap.github.io/overpass-turbo/, but for large datasets the overpass-turbo in gh-pages not works  good, some issues about default-passive-events and Permissions-Policy header: maybe someone has faced that issu before? .  running in development  mode in local works fine. 👇

cc. @geohacker

Great progress!
I'm not quite sure I understand where we're at right now. I see your screenshot above running locally and working. So that's good!
I just cloned locally and from https://github.com/OpenHistoricalMap/overpass-turbo, master branch. After successful npm install, with the same query in your screenshot, I am getting a CORS error:

I also tried running a query on the GH Pages version and no CORS error there, but also no results:

Two questions:

Is there some "development mode" setting I need to change to get this working without CORS issues locally?
Is the experience on GH Pages version the same as you are seeing -- successful query but no results?

@danrademacher  the development mode does not work for me either,  but  actually the gh-page is working fine, I fixed the queries and works fine:
here :

highway=primary
amenity=marketplace

could you try some queries?
Also other way to test the API is replacing in the same site: https://overpass-turbo.eu/

Looks the first screenshot  of marketplaces was running with the osm-api, It maybe was still on my local the cache 😬

Great, I confirmed working on GH Pages.
Here's some admin levels:

This is done. We have both of these:
overpass-api.openhistoricalmap.org
staging-overpass-api.openhistoricalmap.org


CrossEntropyLoss reduction write error

should
loss = (- targets * log_probs).mean(0).sum()  in https://github.com/michuanhaohao/reid-strong-baseline/blob/master/layers/triplet_loss.py#L146
be supposed to loss = (- targets * log_probs).sum(1).mean()?

@AutumnZ-94 Try this. They should be the same
x = torch.randn(32, 64)

y1 = x.mean(0).sum()
y2 = x.sum(1).mean()

assert torch.allclose(y1, y2)


CPU usage is strangely high

Are you using SoftEther VPN 5.x?

[X] Yes, I'm using SoftEther VPN 5.x, not 4.x.

Version
No response
Component
VPN Server
Operating system & version
Linux
Architecture or Hardware model
amd64
Steps to reproduce
Why did I migrate from 4.43 to 5.x version and save the configuration file migration directly? Why does the CPU remain at 100% after running for a period of time? What causes this? Does it have anything to do with my direct upgrade? I tried reconfiguring
✔ Expected Behavior
CPU usage is normal
❌ Actual Behavior
No response
Anything else?
No response

im not sure but try to disable ipsec(l2tpv2 and v3 over ipsec)

4.x cpu is ok,
latest version, one core of cpu  is full occupied.

a similar situation, sometimes spontaneously, for some unknown reason, the CPU is loaded to 100%, then the load itself drops to zero after 20 minutes and everything is fine. Have you been able to solve this problem?

which version do you use ?
is the following fix included https://github.com/SoftEtherVPN/SoftEtherVPN/pull/2044 ?

which version do you use ?

my message above states the version SoftEtherVPN 5.02.5187
the problem may be somewhere else and it has not been solved

which version do you use ?

my message above states the version SoftEtherVPN 5.02.5187
the problem may be somewhere else and it has not been solved

is it related to https://github.com/SoftEtherVPN/SoftEtherVPN/discussions/2069 ?

is it related to #2069 ?

no, the question simply specifies the encryption algorithm, and here it is about the problem of the CPU, which spontaneously loads up to 100%

ok, please provide repro steps.
also, I wonder why do you think you issue is the same as other in this thread

ok, please provide repro steps.

I am compiling a program from source codes
I copy the hamcore.se2, libcedar.so, libmayaqua.so, libmayaqua.so, vpncmd, vpnserver  files to the folder /opt/softether/
the service and its settings from the file are used to start /etc/systemd/system/softether.service

[Unit]
Description=SoftEther SSTP VPN Server
After=network.target nss-lookup.target

[Service]
Type=forking
User=softether
Group=softether
WorkingDirectory=/opt/softether/
ExecStart=/opt/softether/vpnserver start
ExecStop=/opt/softether/vpnserver stop
Restart=on-failure
RestartSec=10
LimitNOFILE=infinity
StandardOutput=append:/var/log/softether/vpnserver.log
StandardError=append:/var/log/softether/vpnserver.error

[Install]
WantedBy=multi-user.target

configuring the server through the vpncmd program

ServerPasswordSet
Hub DEFAULT
SecureNatEnable
DhcpSet /START:<IP_ADDRESS> /END:<IP_ADDRESS>  /MASK:<IP_ADDRESS> /EXPIRE:82800 /GW:<IP_ADDRESS> /DNS:<IP_ADDRESS> /DNS2:<IP_ADDRESS> /DOMAIN:none /LOG:yes /PUSHROUTE:none

UserCreate myuser1 /GROUP:none /REALNAME:none /NOTE:none
UserPasswordSet myuser1

ServerCertRegenerate mydomain.com

ServerCipherSet TLS_AES_128_GCM_SHA256

ExtOptionSet DisableKernelModeSecureNAT   # then I enter the value 1

ListenerCreate 55444

ListenerDelete 5555
ListenerDelete 443
KeepDisable
SetEnumDeny

additionally, I change the settings in the file vpn_server.config  to the following:
bool DisableJsonRpcWebApi true
bool DisableOpenVPNServer true
bool DisableIPv6Listener true
bool Tls_Disable1_0 true
bool Tls_Disable1_1 true

I am transferring the settings to the microtik router
all users connect and everything works well, sites open, everything works as needed
I've been waiting a long time
about 1 or 2 times a day, there is a high load on the processor. The "vpnserver" program consumes 100% of the CPU for 30 minutes, then the load drops again to 1-2%

also, I wonder why do you think you issue is the same as other in this thread

it says everywhere about problems with CPU load and that the load is high and it is unclear why.

hey bro try to connect server and set up
Rember your softether VPN server IP address and download this manager connect server enter your server pwd
this way you can Specify an algorithm
or you can run softether vpn client in another server
and specify gateway to running client server in route
Hope it helps
------------------ 原始邮件 ------------------
发件人:                                                                                "SoftEtherVPN/SoftEtherVPN"                                                                                @.>;
发送时间: 2024年10月22日(星期二) 凌晨1:58
@.>;
@.***>;
主题: Re: [SoftEtherVPN/SoftEtherVPN] CPU usage is strangely high (Issue #2000)
is it related to #2069 ?
no, the question simply specifies the encryption algorithm, and here it is about the problem of the CPU, which spontaneously loads up to 100%
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

found an approximate and possible error. SoftEther VPN 5.x program is not compatible with weak Mikrotik routers on the mipsbe processor. If you disable all clients on this processor then everything works fine.
perhaps the weak processor of the router does not have time to process the data sent by the server. the router sends incorrect packets in response or somehow affects the operation of the server.


OpenSSL Question

Hello, I am a very novice user. I have set cpr's (most recent release of cpr is used) CMake options to:

With these options, is it normal to get this error:

Is it a must to set OPENSSL_ROOT_DIR? Even if all of cpr's options are set to "OFF"?

This is definitely not intended. I will have a look at it.
Thanks for reporting.

Thank you very much, maybe it is something to do with me?
I am using macOS Catalina version 10.15.6

Why do you have this line find_package(OpenSSL REQUIRED) in your CMakeLists.txt?
CPR handles this internally.

Idk, I was getting desperate lol. I removed it, cleared the build, and rebuilt. But I am still getting this:

If you do not need HTTPS, please try the following:
FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/tallalnparis4ev/cpr.git GIT_TAG stable)
set(CPR_ENABLE_SSL OFF CACHE INTERNAL "" FORCE)
FetchContent_MakeAvailable(cpr)
set(CPR "cpr::cpr")

Else, you have to fix your OpenSSL installation since automatic detection is not working.

Very strange, even with this I am getting the same error.
cmake_minimum_required(VERSION 3.15.2)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

project(demo)
add_executable(${CMAKE_PROJECT_NAME} fib.cpp)

#Get cppersist
include(FetchContent)
FetchContent_Declare(cppersist GIT_REPOSITORY https://github.com/tallalnparis4ev/cppersist GIT_TAG master)
FetchContent_MakeAvailable(cppersist)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${cppersist_SOURCE_DIR}/cppersist/cmake)

#Link threading and filesystem libraries
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
find_package(Filesystem REQUIRED)

include_directories(${cppersist_SOURCE_DIR})

#Get cpr if needed
if(MONGO)
  FetchContent_Declare(cpr GIT_REPOSITORY https://github.com/tallalnparis4ev/cpr.git GIT_TAG stable)
  set(CPR_ENABLE_SSL OFF CACHE INTERNAL "" FORCE)
  FetchContent_MakeAvailable(cpr)
  set(CPR "cpr::cpr")
endif()
target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE Threads::Threads std::filesystem ${CPR})

I'm facing this issue as well, even when just building cpr directly.
CMake Error at /usr/local/Cellar/cmake/3.20.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.20.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.20.1/share/cmake/Modules/FindOpenSSL.cmake:570 (find_package_handle_standard_args)
  build/_deps/curl-src/CMakeLists.txt:365 (find_package)

I am able to make it work if I manually specify -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl, but this implies that openssl was installed as Homebrew installs it. This could potentially be fixed if CPR linked against LibreSSL, which macOS includes OOTB. I haven't done serious development on macOS in a while though, so I'm not 100%

CPR does not link against OpenSSL.
It only tells curl to use it.
As far as I know curl does not support LibreSSL.

It looks like curl has support for darwinssl built in. Misspoke abotu it being LibreSSL)
https://github.com/curl/curl/blob/6fc805d0c1f82363836f1c6199cebdd3c41cbc5b/CMakeLists.txt#L364-L377
https://everything.curl.dev/source/build/tls
I haven't tested it explicitly, but it looks like it exists

Aha!
Yes, curl works with DarwinSSL, but CPR currently does not support it.
I was planing to add support for it, but it's rather annoying without access to a Mac, so ...

Hey I made a pull request (#549) implementing what you guys suggested, if I interpreted u both correctly?
It works for me, can you guys see if it's ok?


feat: initial keycloak auth service

This PR is an initial port of the KeycloakSecurityService that was originally implemented in the data-sync-server.
This initial implementation is fully working however there is outstanding work to be done. Please just read these bullet points before jumping into the code changes

Integration & unit tests still need to be ported from the original implementation
Need to improve the typings of certain things. For example, the SecurityService interface could have much stronger typing. @wtrocki I might get some help from you on this.
Need to figure out how to configure / pass down a logger properly
Need to review error classes being used inside the implementation
Right now the KeycloakSecurityService is mostly set up directly in the end user code. Look at how the schemaDirectives and the AuthContextProvider are being used in examples/keycloak/server.js to get an idea. IMO this is not very tricky to set up from an end user perspective, but at a later stage we could simplify this and provide a better integration with our framework.

Verification
An example has been provided under the examples/keycloak directory that shows how to get set up from scratch with a local keycloak server. The following instructions are copy-pasted directly from the new instructions I've added to the readme.
Keycloak Example
keycloak/server.js shows how we can use the KeycloakSecurityService from apollo-voyager-keycloak to protect our app with Keycloak.
This example shows

How to set up authentication on the /graphql endpoint
How to add role based access control on a Schema level using the @hasRole directive.

Keycloak Setup
This example requires some extra setup. A docker-compose.yml file has been included to simplify a local keycloak setup.
The following steps set up a local keycloak instance, configures the instance for an example application and sets up a user that we can log into the application.
cd examples/keycloak/config
docker-compose up

Open http://localhost:8080/auth/admin/ and login with the user admin and password admin.
Click Add Realm and click Select File next to the Import label.
Select the examples/keycloak/config/realm-export.json file and click Create.
Click Users and add a new user called developer. You can choose your own name if you wish.
Under the Credentials tab add a new password of developer and make sure it is not temporary. You can choose your own password if you wish.
Under the Role Mappings tab assign the admin realm role.
Select the voyager-testing option from the Client Roles dropdown and assign the admin role.

Start the Server
node examples/keycloak/server.js
Initializing Keycloak authentication
🚀 Server ready at http://localhost:4000/graphql

Open http://localhost:4000/graphql and you will be redirected to a login page. Log in with the user that was created earlier you should now see the the GraphQL playground.
In the playground you will see an error.
{
  "error": "Failed to fetch schema. Please check your connection"
}

Do not worry, this error is caused by the playground making unauthenticated requests. One more step is needed.
In a new tab, open http://localhost:4000/token. You should see a JSON result.
{"Authorization":"Bearer <Long String of Characters>"}

Copy the entire JSON result to your clipboard and navigate back to the Playground at http://localhost:4000/graphql.
In the Playground, click the HTTP Headers button and paste the JSON result into the input box. If successful, the error will disappear and it is now possible to make queries.
Try out the following query
query hello {
  hello
}

Role Based Access Control
The query above will only work if the authenticated user has the admin role. You can see this rule being applied with the @hasRole(role: "admin") directive in examples/keycloak/server.js.
Try change the the role to a made up role and restart the server. Try the sample query again and verify that an error is displayed.

@StephenCoady for some reason I cannot select you for review :/  Tt would be cool if you could try out the verification steps at some stage. No rush though.

@darahayes Just tried this locally by following the instructions in readme and it worked perfectly 👍

@psturc awesome! Thanks for reviewing!

Need to improve the typings of certain things. For example, the SecurityService interface could have much stronger typing. @wtrocki I might get some help from you on this.

Happy to help here

Need to figure out how to configure / pass down a logger properly

See config interface in sync JS-SDK. It has all configuration passed to root level function

@darahayes played with this and it all works as expected. really excellent! The only thing I noticed (playing the ignorance card here) is that after I remove the admin role from the developer I don't seem to be able to cause any errors. I know this is probably a Keycloak thing but is this because the token is still active regardless of when/to whom it was issued? How long after the user has logged in does it expire? Is the only way to revoke it to log out? I tried that and was still able to perform the query.

@StephenCoady I believe it's to do with the role info being stored inside the token so yes... when the token expires or when you log out it should stop working. Might be a silly question but did you remove the client role as well as the realm role?
In any case, we'll have to look into what the best practices are around this.

@darahayes played with this and it all works as expected. really excellent! The only thing I noticed (playing the ignorance card here) is that after I remove the admin role from the developer I don't seem to be able to cause any errors. I know this is probably a Keycloak thing but is this because the token is still active regardless of when/to whom it was issued? How long after the user has logged in does it expire? Is the only way to revoke it to log out? I tried that and was still able to perform the query.

This happens because Keycloak and our server is loosely coupled.

(playing the ignorance card here)

Let me play along and provide long explanation :)
When you paste the token you received to https://jwt.io/, you can see something like this:
{
  "jti": "9be9b92a-611e-4399-be98-4121575a83f6",
  "exp":<PHONE_NUMBER>,
  "nbf": 0,
  "iat":<PHONE_NUMBER>,
  "iss": "http://localhost:8080/auth/realms/voyager-testing",
  "aud": "voyager-testing",
  "sub": "cfd5f04c-1e6a-4f6c-a48c-26f5ee874211",
  "typ": "Bearer",
  "azp": "voyager-testing",
  "auth_time":<PHONE_NUMBER>,
  "session_state": "56dab35d-2808-4f9f-81e9-7ec788b89e1e",
  "acr": "1",
  "allowed-origins": [
    "*"
  ],
  "realm_access": {
    "roles": [
      "admin",
      "uma_authorization"
    ]
  },
  "resource_access": {
    "voyager-testing": {
      "roles": [
        "admin"
      ]
    },
    "account": {
      "roles": [
        "manage-account",
        "manage-account-links",
        "view-profile"
      ]
    }
  },
  "name": "Ali Ok",
  "preferred_username": "developer",
  "given_name": "Ali",
  "family_name": "Ok",
  "email"<EMAIL_ADDRESS>}

It has all the relevant information and all the roles/etc. (depending on your configuration)
A signature is also part of that token. If the signature is "valid", which means signed by Keycloak, we trust the token. The public key (or some secret) of the signing party is available on the Sync server and that's all you need for verifying a token's signature. Or, it is also the case that it is not available immediately but it is fetched from Keycloak (see realm-public-key section in https://www.keycloak.org/docs/latest/securing_apps/index.html#_java_adapter_config).

I tried that and was still able to perform the query.

I think you didn't get a new token but logged out only and used the old token.
As the token verification happens in sync server side, it doesn't know that the token is actually now not up to date.
There are methods to take care of situations like this: https://github.com/lcobucci/jwt/issues/80
But, I don't think any of this is in sync server/framework scope.
BTW,

Might be a silly question but did you remove the client role as well as the realm role?

You can even kill Keycloak and delete the whole realm etc. Result will be the same (I tried it)
Having said all of the things above, I am not an expert in any of this and there might be things I am wrong.
Let's ping @wei-lee and perhaps he can have a look after holidays.

cc @wtrocki


pthread barrier header not installed on unix'like platform

Unix dedicated header 'uv-unix.h' needs 'pthread_barrier.h', nut not accessible in '/usr/include'.
It seems that pthread_barrier.h is not installed on unix platform.
Should it be? I think so.
On windows platform (mingw32), no particular issue.
Issue found on v1.10.1 release.

What platform are you running on?  Currently that header is installed only on Android, macOS and AIX.

on mingw32, built by vcbuild script

Sorry, that is not supported.  On MinGW we support the Makefile.mingw makefile and autotools.


Checkout app

Hey, is there supposed to be an checkout app pre-installed when going over the steps in the readme of the saleor-platform? If not could someone tell me how to setup an local checkout app?

Things I've tried:

connect to the docker contrainer that is running the saleor-app-checkout and try running npx saleor app tunnel 3001 from there, I get You are offline. Saleor CLI requires Internet access to operate. Check your connection. as a response.
decided to try the Vercel approach but figured out that I would have to have my api deployed and dropped this

I managed to install it using ngrok, but I don't think my checkout app is working properly,

I've managed to fix the above, not with npx saleor app tunnel 3001 since I'm getting different errors on different OS but with ngrok and I managed to install the Checkout App but now my issue is

I have the .saleor-app-auth.json file and some values there, ran docker compose build in the root repo but I still get null/undefined for domain and saleorApiUrl. Some assistance would be appreciated.


Update OPAM packages to avoid jbuilder

Update some OPAM packages to remove the dependency on jbuilder, which is an anachronism these days.
Tested by applying the change to a local switch, and building the daemon.
Closes #9302.

To take affect properly in CI you also have to update the mina-toolchain container sha256 sums in buildkite/src/Constants/ContainerImages.dhall


feat: add draft argument to count operation

Allows to count drafts in count operation (both Local and REST) via draft: true.
Additionally, passes the locale argument to db.count / db.countVersions / db.countGlobalVersions as the database adapter may use it for querying.

I guess the args could matter if you need them for querying. I can see how the locale would change how the where query gets docs back and that would be true for draft: true also, but I don't think we would use db.countVersions since that will count drafts multiple times for the same doc.

@DanRibbens the logic for draft: true is based on how we do db.queryDrafts, e.g:
Payload side:
https://github.com/payloadcms/payload/blob/cae300e8e38e54c8c8704c180f90d2ed517f5dba/packages/payload/src/collections/operations/find.ts#L143-L165
Database adapter:
https://github.com/payloadcms/payload/blob/cae300e8e38e54c8c8704c180f90d2ed517f5dba/packages/drizzle/src/queryDrafts.ts#L10-L31
So, to transition from draft: false to draft: true we need to:

Append the version key to each where constraint
Merge {latest: { equals: true }} with the original where.
Instead of querying the original table, query the versions table

I don't think draft: false or draft: true affects whether we query _status: 'published' or _status: 'draft', but it definitely can add some drafts to the result, since we're querying the versions table.


Expect Speech Initiator Always Cleared after Stream Closed

Briefly summarize your issue:

The initiator string is cleared whenever the stream closes after sending voice data to AVS
This results in strange multi-turn interactions where Alexa does not always understand the context

What is the expected behavior?

Initiator is sent with Alexa SpeechRecognizer:Recognize event.

What behavior are you observing?
When asking Alexa a mutliturn question, AVS will send an ExpectSpeech directive with an initiator payload.
This value gets stored on the m_precedingExpectSpeechInitiator field of AudioInputProcessor.cpp. When audio data finishes streaming to AVS, AudioInputProcessor::onSendCompleted is invoked with the status. This function calls executeResetState which then resetsm_precedingExpectSpeechInitiator
When the user tries to respond, the m_precedingExpectSpeechInitiator is null and the default initiator is used
Here are some logs:
MessageRequestHandler:attachmentRead:readStatus=1,bytesRead=0
MessageRequestHandler:onSendMimePartData:size=65536
MessageRequestHandler:attachmentRead:readStatus=1,bytesRead=0
MessageRequestHandler:onSendMimePartData:size=65536
MessageRequestHandler:attachmentRead:readStatus=1,bytesRead=0
MessageRequestHandler:onSendMimePartData:size=65536
MessageRequestHandler:attachmentRead:readStatus=1,bytesRead=0
MessageRequestHandler:onSendMimePartData:size=65536
MessageRequestHandler:attachmentRead:readStatus=1,bytesRead=0
MessageRequestHandler:onSendMimePartData:size=65536
MessageRequestHandler:attachmentRead:readStatus=1,bytesRead=0
MessageRequestHandler:onSendMimePartData:size=65536
MessageRequestHandler:attachmentRead:readStatus=1,bytesRead=0
MessageRequestHandler:onSendMimePartData:size=65536
MessageRequestHandler:attachmentRead:readStatus=1,bytesRead=0
AudioInputProcessor:executeStopCapture::creatingStopCaptureLambda
AudioInputProcessor:stopCapture:stopImmediately=true
AudioInputProcessor:setState:from=RECOGNIZING,to=BUSY
AudioInputProcessor:executeExpectSpeech:initiatorFound={"type"\:"EXPECT_SPEECH_PROMPT"}
AudioInputProcessor:setState:from=BUSY,to=EXPECTING_SPEECH
MessageRequestHandler:onSendMimePartData:size=65536
AudioInputProcessor:executeOnDialogUXStateChanged:newState=EXPECTING
MessageRequestHandler:attachmentRead:readStatus=4,bytesRead=0
MessageRequestHandler:getMimePartHeaderLines
MessageRequestHandler:onResponseFinished:status=COMPLETE,responseCode=200
MessageRequestHandler:reportMessageRequestAcknowledged
MessageRequestHandler:reportMessageRequestFinished
AudioInputProcessor:onSendCompleted:status=SUCCESS
AudioInputProcessor:stopCapture:reason=streamClosed
AudioInputProcessor:stopCapture::stopCaptureInvoked
AudioInputProcessor:resetState:dueToStatus=SUCCESS
AudioInputProcessor:executeResetState
AudioInputProcessor:setState:from=EXPECTING_SPEECH,to=IDLE
MessageRequestHandler:reportMessageRequestAcknowledged
MessageRequestHandler:reportMessageRequestFinished
AudioInputProcessor:executeOnDialogUXStateChanged:newState=IDLE
AudioInputProcessor:executeOnDialogUXStateChanged:newState=IDLE:resettingState
AudioInputProcessor:executeResetState

Provide the steps to reproduce the issue, if applicable:

Set a recurring reminder "Set a reminder to feed the cat every day at 6 pm"
Check the reminder has been created successfully.
Delete reminder "Cancel reminder to feed the cat"
Alexa will ask if you also want to delete subsequent reminders.
Reply to "Yes".

Expected Behavior:
User should be able to delete all the reminders.
Observed Behavior:
Alexa will stay on the same question "do you want me to cancel all instances of this reminder?" over and over again. Amazon history shows that the multi-turn response is not nested on the same flow.
Tell us about your environment:
What version of the AVS Device SDK are you using?

v1.20.1

Hi @jbgoog, I wasn't able to reproduce the issue with v1.20.1 version of the SampleApp.  Could you attach the full device log so we can see why this is happening in your case?

I am closing this issue due to inactivity.  If you have further questions, please open a new ticket and refer to this closed one.


Map caps lock to function key

Description of the new feature / enhancement
I would love to be able to remap my caps lock key to the fn key. Is there a reason this is not possible yet?
Scenario when this would be used?
The function key on my keyboard is in an awkward place, would be much more convenient to use the caps lock key, which I don't use much anyways.
Supporting information
No response

That would probably need a kernel mode driver (or to use an existing one + make some additional mapping configuration for it),

That would probably need a kernel mode driver (or to use an existing one + make some additional mapping configuration for it).


Document [package.metadata.android] entries

Closes #154
Comments might be inaccurate. Also, while I believe it's a good fit for the README, there's also the option to move it to an example, and let the README "redirect" to it.
I would be in favor of keeping this in the README because that's what people see first and they might not want to look further until they're confident that this can solve their problems. My 2 cents.

Looks good, thanks!


[BUG] harvester pod error with helm install

I get the following error from the harvester pods after installing in existing k3os cluster v1.20.6+k3s1 with longhorn already installed:
level=fatal msg="failed to create harvester server: Failed to create virtualMachineTemplate harvester-system/iso-image-base-template: VirtualMachineTemplate.harvesterhci.io \"iso-image-base-template\" is invalid: spec.defaultVersionId: Invalid value: \"null\": spec.defaultVersionId in body must be of type string: \"null\""
helm install command:
deploy/charts/harvester❯ helm install harvester . --namespace harvester-system \
--set longhorn.enabled=false,multus.enabled=true --create-namespace

What's the Harvester/Chart version?
Will harvester pods recover or they always crash?

Using current master branch commit dfeedb83daf8b3cebe6a5c66696b55918b0ec2ca
I set replicas for harvester to 0 before I created the issue and just set back to 3.  Same errors in the logs and they're all in CrashLoopBackOff again now.

hmm, I'm not able to reproduce by:

install k3os v0.20.6-k3s1r0
install longhorn
install harvester

Did it happen before you scale harvester to 0?
Do you have other workloads in your Kubernetes cluster?
Can you show the output of
kubectl get vmtemplate -n harvester-system && kubectl get crd virtualmachineimages.harvester.cattle.io -o yaml

I have lots of other workloads.  I got the error right after installing.
The only thing weird I did was install once, realize it was starting pods on my masters, did helm uninstall, removed the master tolerations from the harvester-network-controller and multus chart values, did helm install again.
I don't have that crd for some reason.

I'm spinning up another cluster to try fresh

New k3s cluster, 1 master, 1 worker.
kube-vip daemonset for the k8s api (because I normally do HA) and to be service load balancer
longhorn installed via chart and configured as default storageclass
traefik 2 installed via chart with dynamic pvc config to ensure longhorn is working
IngressRoutes added for traefik and longhorn dashboards and I can access both.

harvester installed with values:
longhorn:
  enabled: false
multus:
  enabled: true
  tolerations: []
harvester-network-controller:
  tolerations: []

using these commands:
git clone https://github.com/harvester/harvester
cd harvester/deploy/charts/harvester
helm install harvester . --namespace harvester-system -f cv.yml --create-namespace

Same error after letting it run for a half hour to ensure everything is up.
time="2021-05-26T20:28:40Z" level=fatal msg="failed to create harvester server: Failed to create virtualMachineTemplate harvester-system/iso-image-base-template: VirtualMachineTemplate.harvesterhci.io \"iso-image-base-template\" is invalid: spec.defaultVersionId: Invalid value: \"null\": spec.defaultVersionId in body must be of type string: \"null\""
❯ kubectl get vmtemplate -n harvester-system && kubectl get crd virtualmachineimages.harvester.cattle.io -o yaml

No resources found in harvester-system namespace.
Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "virtualmachineimages.harvester.cattle.io" not found

I started over again and installed harvester on my 2 node cluster before adding anything else and it worked if I enabled longhorn in the harvester chart config.

I am facing the exact same issue with fresh install.
git clone https://github.com/harvester/harvester
cd harvester/deploy/charts/harvester
helm install harvester harvester --namespace harvester-system --set longhorn.enabled=true,minio.persistence.storageClass=longhorn
It looks like this is missing some dependency. Following command returns an error.
kubectl get vmtemplate -n harvester-system && kubectl get crd virtualmachineimages.harvester.cattle.io -o yaml
error: the server doesn't have a resource type "vmtemplate"
Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "virtualmachineimages.harvester.cattle.io" not found
any idea ?

We'd close the issue:

Dev mode is not supported anymore.
We've also migrated to sle-micro-based OS.