Unable to add post-"Turn" logic in ActivityHandler.run()

Versions
What package version of the SDK are you using. 4.3.2
What nodejs version are you using. 10.14.1
Describe the bug
In C# it's trivial to override the onTurn method to add logic to run at the end of a turn. Due to the event system used in the JS SDK, it's not possible to register a handler that fires after the turn in JS SDK. Developers would need to copy the ActivityHandler.run() method, then override it in their derived class with the same logic and add any post-turn logic.
Additional context
Discovered during the rewrite of BasicBot to CoreBot for 4.3.x in the botbuilder-samples repo (PR).
[bug]

@stevengum can you drop some C# code here that uses this functionality and I'll be able to port it over...

Here's the code that prompted the issue:
public override async Task OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken)
{
    await base.OnTurnAsync(turnContext, cancellationToken);

    // Save any state changes that might have occured during the turn.
    await _conversationState.SaveChangesAsync(turnContext, false, cancellationToken);
    await _userState.SaveChangesAsync(turnContext, false, cancellationToken);
}

@stevengum I actually this this is what Javascript's onDialog method is intended for.
The onDialog event fires last after all other events have fired.  It is intended to do end-of-turn type things like run the dialog stack and save state changes.
Do we need to add something like onAfterTurn or something as well?

Here's the code fwiw -> https://github.com/Microsoft/botbuilder-js/blob/master/libraries/botbuilder-core/src/activityHandler.ts#L144

As long as we document this we should be fine, it's unfortunate about the naming... @sgellock, @Kaiqb, we'll need to pick this change up for the next run-through on the CoreBot sample.
C# code for OnTurnAsync in ActivityHandler.cs
OnTurnAsync == onDialog

Another thing to keep in mind is that there is also an onTurn for Javascript that runs first before any other more specific event.

@Kaiqb FYI
We also need to make sure to document that people call next, otherwise developers might run into some confusing bugs

@benbrown @Kaiqb I believe this should be assigned to @kaiqb for doc updates, as there's no code to be written here.

Content update will appear on the staging server.


Local variable highlighting for redeclared variables

fn main() {
    let x = 5;
    let x = x<caret> + 1;
}

In this case it should hightlight the first and third x, but not the second, because the second is a new binding. Instead if currently highlights the second and third, but not the first.

Ouch, haven't thought about this case. Currently, the scope inside a block is determined based solely on textual offset.
https://github.com/alexeykudinkin/intellij-rust/blob/master/src/org/rust/lang/core/resolve/RustResolveEngine.kt#L69

fixed by #138

this doesn't seem to work for something like let a = format!("foo {}", a); yet, but I suppose that is related to the use of a macro here.

@Turbo87 Yes. The problem with macros is that after foo! you can have any token sequence as long as it has balanced parenthesis. So, theoretically, we can't infer that this a is, in fact, expression.
The simlest strategy here is to support the most common macros on a case by case basis. Currently, the try! macro is supported. println! like macros should be next.

@matklad isn't it possible to parse the macro and replace the macro call with the macro content during resolution?

It should be possible for some cases, but it is hard becase:

you need to reilmplement rust's macro system in Kotlin,
you may need to tweak the parser, which is hard for a generated one. At least in rustc, parsing and macro expansion are somewhat entangled.

And even this approach won't solve everything, becase there are pocedural macros, aka compiler plugins. To interpret them we will need a Rust interpreter in Kotlin, which is a bit of an overkill :)
Another possible approach is to add some options to rustc or future rust oracle specialy tailord for the usecase of explaining macro meaning to the IDE.


replaced standard Exception with FastAPI HTTPException

It would solve #10
(this is my first PR, sorry if I'm doing something wrong)

Hi b0n3sh,
Thanks for your PR. You're doing fine, no worries!
I would prefer to handle this with a fastapi exception handler (like discussed here) to give a little bit more flexibility in how much information is sent to the client when something goes wrong. It would allow you to give full error information in dev mode for easier debugging, and only return "unauthorized" in prod.


On Large Monitor: Paralax image repeat is showing under the "about founder" section

Not sure if you care about this - feel free to mark this "won't fix" since it's really pretty minor

this has been happening for a while - tried to fix it today and got almost there.

I'll take a stab at it after the mobile stuff is fixed

Decided not to work on this.


Remove version: REALiX.HWiNFO version 7.14

all package installer URLs are broken
Microsoft Reviewers: Open in CodeFlow
part of #170837

URL: https://www.sac.sk/download/utildiag/hwi_714.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 920)


gadgets/deadlock: add deadlock detection using cycles in mutex wait di-graph

adds deadlock detection using cycles in mutex wait graph

Builds edges of the graph in BPF code by tracing mutex locks/unlocks.
Sends events to user-space using MAPITER.
Added WASM modules that make a directed graph from the edges map and detects cycles in the gadgetStop callback (ie. when exiting the gadget).

Challenges

Needs a way to run cycle detection every second (go routines?). A hack worth trying is to run a timer, and with each event check if it's time to run cycle detection.
Output formatting.. currently the output is just a trace of all edges in the graph as they are added.

How to use

Run the gadget using ig.
Run the following script (simulates mutex lock inversions) in a separate container.
Stop the gadget once you see the traces of the above script.

Testing done
Ran the above steps:

The first 2 lines show a potential deadlock. But the third line is an edge from a mutex to itself. In the code it mentioneds that self edges are disallowed - where could this come from? Recusrive mutexes are an issue anyway also for bcc :D

@burak-ok That is not a recursive mutex capture, but just the way FindCycle currently works.

You can see, the graph doesn't contain any recursive mutexes, only the final output does. You can see from the code, we are appending the first node at the end as well after a cycle is found. I would assume bcc is doing it to make it clear that there is a cycle. Either way, this can be fixed by just changing that or just formatting the output properly.

Changes:

PID is part of the key in BPF map.
Separate graph for each PID in WASM module.
New datasource is created which currently only outputs PID, NODES (number of mutexes involved in deadlock), and MNTNS_ID whenever a potential deadlock is detected. The initial datasource is hidden.   PID NODES                MNTNS_ID
 18459 3<PHONE_NUMBER>
 18459 4<PHONE_NUMBER>
 18793 6<PHONE_NUMBER>

Questions:

I am not able to enrich MNTNS_ID as it's coming from WASM. How to?

After some time I get huge delays (over a minute) where I then have to cancle with Ctrl+C. Could it be an endless loop somewhere in the algortihm on some cases?

I can't seem to reproduce this issue nor pinpoint any infinite loops in the code. Is this issue happening definitely or did it happen just once? Could it be memory exhaustion?

Current output format: (after enrichment of mntns id and unreferencing initial ds)
RUNTIME.CONTAINERNAME                     PID NODES
bold_engelbart                          34073 4
bold_engelbart                          34073 3
bold_engelbart                          34821 6


Convert to TypeScript

@JustinBeckwith how do you feel about closing this and tracking it over at https://github.com/googleapis/google-cloud-node/issues/952?

I'd be fine with that


ostest: add test for libc memmem() function

Summary
ostest: add test for libc memmem() function
See https://github.com/apache/nuttx/pull/11889
Impact
Testing

Is if failing because chicken-egg CI test:
/usr/bin/ld: nuttx.rel: in function `user_main':
/github/workspace/sources/apps/testing/ostest/ostest_main.c:266: undefined reference to `memmem_test'

I forgot someone wanted to add cmake to nuttx. This CI error is misleading:
cmake-format check failed, run following command to update the style:
  $ cmake-format -o <src> <dst>

-o option is the output or destination, first argument is input or source file for the cmake-format tool

I forgot someone wanted to add cmake to nuttx. This CI error is misleading:
cmake-format check failed, run following command to update the style:
  $ cmake-format -o <src> <dst>

-o option is the output or destination, first argument is input or source file for the cmake-format tool

Thank you, I will submit a fix to this typo

Done: https://github.com/apache/nuttx/pull/11900


Allow change all matched replacements in selection

I use the extension mostly for changing from double quotes to single quotes in current "string". But doing it by every " is slow, even if you do a multi cursor selection.
Make a setting to allow changing all matches in selected text, so that if I select: "string" and press the shortcut it will switch to all combinations of ", or if there's a match to the entire selection, do the same.
"string"
// to
'string'
// to
`string`
// to
"another-string"   // if any

Thank you, its on the list!


IntEnum interpreted as int when doing type conversion

Hi,
I experienced a strange behavior and would assume it is a bug in type conversion ...
When using RF 3.2.2 or 4.0.0 with a python keyword that has an IntEnum as arguments type hint it is not possible to use the enums member name.
Like
class PowerState(IntEnum):
    On = 0
    Off = 1

Rf does document that enum.
When i call that keyword with On it complains, that "On" can not be converted to int...
When i change the enum type to Enum it works. But i am loosing advantage/functionality of IntEnum...
has to be tested with IntFlags and other Enum types as well...
Cheers

My guess is that our argument type detection considers IntEnum to be int, not Enum. Considering it only Enum probably would be good either and would be backwards incompatible. I guess there should be special handling for this type so that we try both conversions. Shouldn't be too hard to implement, but as a new feature needs to wait for RF 4.1.

Interested to take a look at this @Snooz82? If not, anyone else interested? I can help getting started if needed.

I think IntEnums should, for most parts, work like normal enums. For example, string On should be converted to PowerState.On with the example in the description. We probably should handle also integers somehow, though. For example, 1 either as a string or as an integer could also be converted to PowerState.On with the example above. That would be a bit inconsistent with normal enums because with them we don't do conversion based on values, but in this context values actually are meaningful and handling them specially is probably a good idea.
If we handle integers like proposed above, we needed to decide what to do if an integer matches multiple values. We could make that an error, but because using same value with enums basically means that values are aliases I'd prefer just returning the first match.

The description pointed out that we need to test also with IntFlag and other special enums. That's certainly true, but possible enhancement related to other enums should get their own issues.

I fixed the original reported problem in the commit above. Still need to add a note to the User Guide about IntEnum support and it would also be good to test IntFlag and other special enums. I would expect them to work now after the above fix.

I started to look at supporting integers with IntEnum so that both 1 and ${1} would be same as Off with the example in the description. The code now mostly works, but due to some corner cases it's big ugly and needs to be cleaned up before committing.
I also started to think should we support enums based on values in general. For example, if I had an enum like
class X(Enum):
    x = 'xxx'

we could allow using it with xxx (matches value) in addition to x (matches name). If name matching has precedence and value matching is attempted only if there are no matches, this ought to be backwards compatible. It would also make it easier to handle integers with IntEnums simply because that's anyway value matching.
Although matching by value shouldn't cause problems and would be easy to implement (if we support integers with IntEnums), I'm still somewhat worried it would be confusing. We basically have three alternatives:

No conversion based on value whatsoever, not even with IntEnums.
Support IntEnums with values but not normal enums.
Support values with all enums.

I'm currently thinking going with option 2 would be best. In that case it can be implemented as part of this issues. Support for values with all enums would need a separate issue.
What do others think about this? Please comment here or on the #devel channel on our Slack where I'll also ask about this.

A big benefit of supporting also integer values with IntEnums is that it would allow changing type hints like def example(arg: int) to def example(arg: PowerState) without requiring updating all usages like Example  1 to Example  Off. In some cases seeing the integer value could also be beneficial otherwise.
There wouldn't be that much benefits with supporting values with enums. If you have, for example, def move(arg: str) that actually only accepts strings LEFT and RIGHT as arguments, it could be changed to def move(arg: Direction) where Direction is an enumeration with LEFT and RIGHT as members without needing to change usages like Move  LEFT at all.

Above commits do the following:

Implement conversion based on values with integer based enums (IntEnum and IntFlag) but not with others.
Add explicit tests for Flag and IntFlag. The former worked already with earlier releases but the latter needed the fix that was already done as part of this issue.
Document IntEnum and IntFlag support in the User Guide.
Test that Libdoc handles IntEnum. No code changes were needed.

I would say this issue is done.


Cache erasers based on environment type

This fixes #200

I can't judge this, but could simply merge it ;) Since this is already two weeks old, did you meet with @phischu ?

No, I opened this PR shortly after our last meeting, but we will meet tomorrow.


fix #166: do not pass a nullptr to deallocate

Closes #166

A thought on the size check. I guess it is there to avoid the expense of unnecessarily calling the memcpy function. But how common is that case with zero size and nonzero buffer? The check introduces a branch, which might be bad for performance.

how common is that case with zero size and nonzero buffer

Very common actually. It happens every time a parser is re-used after retrieving a value. I'm okay with removing the check for size_ though, as memcpy is safe to call with a zero size. Up to you.

I think the check should remain in that case. Either way, I wouldn't
remove it without benchmarking first. So please go ahead and merge this
fix if you are happy with it.

I think it is good thanks


Cleanup CSS

There is now a lot of CSS that is not in use or is duplicates. If someone have time todo some cleanup that would be great

Hi, I'll start working on this

@ellieya  Great Work!


Missing documentation for ApolloInterceptor

Hello,
There seems to be no documentation about ApolloInterceptor (not HttpInterceptor). Particularly manipulating the body of the response & returning a different one.
Use Case:
Parse body to check for UnAuthorised, refresh auth token, re-do original request and hand it off to the chain.

Updated doc is here.


Trained vehicle tends to freeze at the entrance of roundabout env

Hi, @eleurent,  recently I've been exploring your excellent project. I used PPO2 from stable-baselines to train vehicle in roundabout env, one weird phenomena I noticed was that the trained vehicle tends to freeze at the entrance of roundabout (not move anymore). This happened quite often when I evaluated the trained model. I'm not sure whether it's the problem of  hyperparameters but I didn't make much changes to hyperparameters. Do you have any idea why this happens and suggestion on how to solve this?
My testing code was like this:
env = gym.make("roundabout-v0")
model = PPO2(MlpPolicy, env, verbose=1, learning_rate=lambda f: f * 5.0e-4, cliprange=lambda f: f * 0.1)
model.learn(total_timesteps=int(1e5))
model.save('ppo2_mlp_roundabout')

Thanks for your help.

Hi @nomatterhoe,
Thank you for that feedback, that's interesting.
I think that for this roundabout environment, I actually have never tried model-free algorithms so far, only model-based (planning) approaches. I'll try and see if I can reproduce the conservative behaviours that you get.
Hypothesis: the model has trouble figuring out whether or not a vehicle is coming, and settles for the safe option.
This could be alleviated by a different choice of observation type and neural network architecture, see e.g.this work on the intersection environment.

That being said, I just noticed that the default observation for roundabout is the Time To Collision observation, which is not appropriate since it was designed for straight roads.
I just changed it to a Kinematics observation, which is better suited (OccupancyGrid could work as well)

Thanks for your reply @eleurent , following your suggestion, I tried the Roundabout env with OccupancyGrid observation and Kinematics observation, the freeze problem was solved in both cases. But it seems like the training curve won't converge (following is the roundabout env with Kinematics observation trained using ppo2)

The training curves also can't converge in Intersection env when I trained the vehicle using dqn and ppo2, I tried adjusting learning rate and total_timesteps, didn't make differences. I had a look at your paper, it seems like you customized the DQN algorithm for the intersection env by adding attention layers in your network architecture. So my new question is, in your opinion, is it possible at all that a baseline algorithm can perform/learn well under these complex driving environments such as roundabout and intersection?


Adds user whitelisting support

Made this modification for a project I'm working on.
Purely feature-enabling, does not change any behaviour if feature is not used.

This is working for me. Let me know if any other changes are needed.


use new isize_max method in FS accesses

also check full buffers for validity

@bors r+

:pushpin: Commit 5345636f37a2934ea4c183baa2069fa50c6793cc has been approved by RalfJung

:hourglass: Testing commit 5345636f37a2934ea4c183baa2069fa50c6793cc with merge 67a63f89d8c0e5b22fb52cc33274283819f41792...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 67a63f89d8c0e5b22fb52cc33274283819f41792 to master...


Lecture 10

Date: Friday December 1st
Members: Matthew, Kieran, Sam, Ethan
Topic: MIS document requirements

Notes:

Informal presentation with TA on Monday, Jan 15th
Design doc due Wednesday, Jan 17th
Design doc review due Friday Jan, 19th
Rev 0 demos Feb 5-16
VnV report Mar 6th
Final Demos Sat, Mar 23
Capstone Expo on Tues April 9th
Suggested to work over holiday break
Make issues for TA issues and complete it with a comment
Follow the marking scheme for the design document -- reflection section
Close issues before Rev 1
Suggestions:

Break down big projects into smaller tasks
Assign tasks based on ability/interest/commitment level
Issues relating to learning tasks are great
Have team members teach one another(everyone should have a surface level understanding of all aspects of the project)
Need progress updates every meeting: accountability for each team member

Design Document specific:

Requirements identify "what", design identifies "how"
Don't need to use MIS to document design
Can use UML diagrams, Algebraic specification, etc.
Document design so that test cases can be made easier
Divide your high level design into smaller modules

Modules should be divided into work assignments
Modules should cover the whole project

Specify interfaces
Encouraged to change existing templates, but keep names

Software Architecture document
Detailed Design Document

Don't describe HOW to do something, just describe WHAT needs to be done
Characterize what something does, not how to do it
System design document is USELESS --- FOR MECH STUDENTS --- delete it
Aspects of the document:

Design patterns
Design  of interface
Design of database
Design of communication protocols
Include modules you won't implement -> point to existing libraries

Use abstraction in the design document
Does not have to be 100% formal but one module should be formalized
Describe in natural language the module's services
Samples in the slides -> including past capstones
Needs to be a timeline for features
Someone not in the group should be able to implement your modules from the design specification
Spencer Smith wants us to look at the rubric
CI/CD should be included in design doc


API: Tick hook

This PR replaces the Ticker component with a tick hook. Ticker was used as a side-effect-only component which doesn't compose well with other effects (which are normally performed via hooks.)
In https://github.com/revery-ui/revery/commit/07e86599bcece57535dd7828c7568375173c32c8 I introduced some opens and module aliases to make rei files in hooks more readable.

Thanks @wokalski !


run coveralls on PRs

This is intended to get coveralls to run from a PR and leave a comment letting us know if coverage increased or decreased.

Coverage decreased (-0.9%) to 98.877% when pulling d432bd5d47791cec2e34eec12f4b3bd182df7a02 on stephenplusplus:travis into a80ff9b0b98dc5e8d2844dfcf00b65cf3ce87420 on GoogleCloudPlatform:master.

Hey, buddy!

Coverage decreased (-0.9%) to 98.877% when pulling 6ec97971f994c39d82c0f615fc7b20c4bd530f47 on stephenplusplus:travis into a80ff9b0b98dc5e8d2844dfcf00b65cf3ce87420 on GoogleCloudPlatform:master.


chore(terraform): applying most recent added ECR image

Description
Since #395 we are using the short SHA hash for the commit tag instead of the latest for the ECR images.
This PR adds changes to the terraform config to use the latest pushed ECR image instead of with the latest tag.
Part of the #53
How Has This Been Tested?
terraform output and, terraform plan run.
Due Diligence

[ ] Breaking change
[ ] Requires a documentation update
[ ] Requires a e2e/integration test update

closing this in a favor of #382


Play on connect

Would it be possible to trigger a play command on connect? It's tedious to  keep  goig on the phone to start playing audio after each connection...
Thanks

No, because Windows doesn't provide such API.

You can set that on your Phone.
My phone automatically plays audio when it connect to Bluetooth device.
I've a setting for your phone not Windows.
It will be called something like => resume playback when connecting to headphones


Update for Operator v1.3.2 release

Description

Related issues/PRs

Todos

[ ] Tests
[ ] Documentation
[ ] Release note

Release Note

None required

Deploy preview for calico ready!
Built with commit 0b0e998d90bf42c7493888d95b5b7721d04e0ce3
https://deploy-preview-3403--calico.netlify.com


Should we go "all in" on async approach?

This would mean getting rid of the letter "a" before each and every async function name (for ex. get_full_message instead of aget_full_message).

The framework is async only, but there is no need to get rid of the "a" prefix in function names.


Add a TranscriptProcessor and new frames

Please describe the changes in your PR. If it is addressing an issue, please reference that as well.
Open issues to resolve:

Events are emitted in the incorrect chronological order. The root cause for this is that the User context frames come after the assistant context frames, even though the user context frames are created first. I'm not sure of the best solution for it. @aconchillo any ideas?

Potential issues:

Anthropic requires user messages be added to the context to direct the LLM. This will appear as transcribed speech. I don't know a good way around this. This is really an Anthropic problem.

Notable:

I'm using the to_standard_message function from each LLM. The provides access to the context in the same message format. I had to update OpenAI to support the "standard message" format so I didn't have to add special case handling. @kwindla and I talked about this, so this might change depending on what we decide.
I've created two new timestamp frames. I wanted to provide timestamps for each transcription message. I didn't want to change the context, so these frames are pushed immediately after the context itself is pushed. The TranscriptProcessor processes these frames and assembles the timestamped transcript message. I think this works pretty well. I'm open to feedback on whether there should be one timestamp frame where the role is included or two so that they can just be handle. I liked the latter approach, which is what's implemented here. @aconchillo any thoughts?

UPDATE (12/16):

Based on Kwin's feedback, I'm reverting the changes to openai_llm_context for to_standard_messages and from_standard_message. Instead, I'll just handle both simple and list content in the TranscriptProcessor.
Also, based on conversations today, this now:

User transcripts, just processes the TranscriptionFrame from the user and emits an event
The previous processor now just handles assistant messages from the OpenAILLMContextFrames

This looks great! Just added a few comments.

@aconchillo thanks for the feedback! This is ready for review.

LGTM!


Add /rows docs

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


[MEDIUM] Axios Cross-Site Request Forgery Vulnerability

Github reported a new dependabot security alert at: https://github.com/cdk8s-team/cdk8s-core/security/dependabot/15

Stale


[Bug] 星穹铁道预下载更新到2.7后游戏损坏

Checklist

[X] My issue was not mentioned by others, and it is not a duplicate issue.

Description

Reproduction Steps
只是进行了更新，正常通过了校验和解压
Expected Behavior
No response
Screenshots
No response
Starward Version
0.13.5
Windows Version
26100.2454
Log
[22:55:43.067] [INFO]
Welcome to Starward v0.13.5
System: Microsoft Windows NT 10.0.26100.0
Command Line: E:\Downloads\Starward\app-0.13.5\Starward.dll

[22:55:43.093] [INFO] Starward.Services.DatabaseService
Database path is 'E:\Downloads\Starward'

[22:55:43.114] [INFO] Starward.Services.DatabaseService
Database version is 11, target version is 11.

[22:55:43.199] [INFO] Starward.Pages.MainPage
Last game region is hk4e_cn

[22:55:43.215] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hk4e_cn

[22:55:43.748] [INFO] Starward.Pages.GameLauncherPage
Game install path of hk4e_cn: "D:\miHoYo Launcher\games\Genshin Impact"

[22:55:43.774] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hk4e_cn is "5.2.0".

[22:55:44.708] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[22:55:44.934] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[22:55:44.934] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_cn

[22:55:44.989] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "D:\miHoYo Launcher\games\Star Rail"

[22:55:45.008] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.6.0".

[22:55:45.752] [INFO] Starward.Services.UpdateService
Current version: "0.13.5", latest version: "0.13.5", ignore version: null

[22:55:45.949] [INFO] Starward.Pages.MainPage
Change game region to hk4e_cn

[22:55:45.950] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hk4e_cn

[22:55:46.014] [INFO] Starward.Pages.GameLauncherPage
Game install path of hk4e_cn: "D:\miHoYo Launcher\games\Genshin Impact"

[22:55:46.042] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hk4e_cn is "5.2.0".

[22:56:00.550] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hk4e_cn)
path: "D:\miHoYo Launcher\games\Genshin Impact\YuanShen.exe"
arg: null

[22:56:01.980] [INFO] Starward.Pages.GameLauncherPage
Game started ("YuanShen", 42100)

[22:56:03.997] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hk4e_cn, 42100)

[23:25:05.011] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[23:25:05.019] [INFO] Starward.Pages.GameLauncherPage
Game is running ("YuanShen", 42100)

[23:25:06.021] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[23:25:06.029] [INFO] Starward.Pages.GameLauncherPage
Game is running ("YuanShen", 42100)

[23:25:07.044] [INFO] Starward.Pages.GameLauncherPage
Game process exited

[23:25:11.135] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[23:25:11.135] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_cn

[23:25:11.190] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "D:\miHoYo Launcher\games\Star Rail"

[23:25:11.212] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.6.0".

[23:26:34.858] [INFO] Starward.Services.Download.InstallGameService
Write config.ini (game_version="2.7.0")

[23:26:34.862] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "D:\miHoYo Launcher\games\Star Rail"

[23:26:34.865] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.7.0".

[23:26:39.553] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:39.578] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:41.059] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:41.065] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:42.403] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:42.409] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:43.275] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:43.281] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:48.940] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:48.947] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:49.090] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:49.096] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:49.248] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:49.254] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:49.398] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:49.403] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:52.992] [INFO]
Welcome to Starward v0.13.5
System: Microsoft Windows NT 10.0.26100.0
Command Line: E:\Downloads\Starward\app-0.13.5\Starward.dll

[23:26:53.014] [INFO] Starward.Services.DatabaseService
Database path is 'E:\Downloads\Starward'

[23:26:53.030] [INFO] Starward.Services.DatabaseService
Database version is 11, target version is 11.

[23:26:53.083] [INFO] Starward.Pages.MainPage
Last game region is hkrpg_cn

[23:26:53.092] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_cn

[23:26:53.571] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "D:\miHoYo Launcher\games\Star Rail"

[23:26:53.588] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.7.0".

[23:26:54.456] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:54.520] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:54.545] [INFO] Starward.Services.UpdateService
Start to check update (Preview: False, Arch: X64)

[23:26:55.336] [INFO] Starward.Services.UpdateService
Current version: "0.13.5", latest version: "0.13.5", ignore version: null

[23:26:55.363] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:55.375] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:55.504] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:55.509] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:55.643] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:55.648] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:26:55.806] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:26:55.811] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:27:04.670] [INFO] Starward.Pages.MainPage
Change game region to hk4e_cn

[23:27:04.670] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hk4e_cn

[23:27:04.735] [INFO] Starward.Pages.GameLauncherPage
Game install path of hk4e_cn: "D:\miHoYo Launcher\games\Genshin Impact"

[23:27:04.765] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hk4e_cn is "5.2.0".

[23:27:06.565] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[23:27:06.566] [INFO] Starward.Pages.MainPage
Navigate to "GameLauncherPage" with param hkrpg_cn

[23:27:06.630] [INFO] Starward.Pages.GameLauncherPage
Game install path of hkrpg_cn: "D:\miHoYo Launcher\games\Star Rail"

[23:27:06.652] [INFO] Starward.Pages.GameLauncherPage
Acutal version and gamebiz of hkrpg_cn is "2.7.0".

[23:27:10.398] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:27:10.403] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:27:10.729] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:27:10.734] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:27:10.862] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:27:10.867] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

[23:27:10.998] [INFO] Starward.Services.Launcher.GameLauncherService
Start game (hkrpg_cn)
path: "D:\miHoYo Launcher\games\Star Rail\StarRail.exe"
arg: null

[23:27:11.003] [EROR] Starward.Pages.GameLauncherPage
Start game
System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'D:\miHoYo Launcher\games\Star Rail\StarRail.exe' with working directory 'D:\miHoYo Launcher\games\Star Rail'. The specified executable is not a valid application for this OS platform.
   at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo)
   at System.Diagnostics.Process.Start(ProcessStartInfo)
   at Starward.Services.Launcher.GameLauncherService.StartGame(GameBiz biz, Boolean ignoreRunningGame, String installPath) in D:\a\Starward\Starward\src\Starward\Services\Launcher\GameLauncherService.cs:line 399
   at Starward.Pages.GameLauncherPage.StartGameAsync() in D:\a\Starward\Starward\src\Starward\Pages\GameLauncherPage.xaml.cs:line 446

Additional Context
No response

若校验正常通过，那就是解压问题，在确保硬盘正常的情况下，运行修复模式。


Allow function params to have a defined return type

Given the following class:
import AssertionError from '../error/AssertionError';

/**
 * Provides functions to assert, validate and sanitize data types.
 */
class Sanitation {

    /**
     * Asserts an expression, and throws an error when it does not validate.
     *
     * @param {boolean|function:boolean} expression An expression.
     * @param {string} actual The actual value.
     * @param {string} expected The expected value.
     * @throws {AssertionError} If the expression evaluated to `false`.
     * @see http://wiki.ecmascript.org/doku.php?id=strawman:assert
     */
    static assert(expression, actual, expected) {
        if (expression instanceof Function) {
            expression = expression();
        }

        if (!expression) {
            throw new AssertionError(actual, expected);
        }
    }
}

export default Sanitation;

The following is generated by ESDoc:

With function:boolean I am trying to document a function that returns a boolean type. Based on the tag documentation, this is not yet supported.
I don't know how much trouble this would be to add, or whether this function:type syntax is even the proper way to declare a param like this at all, but I would really like it if ESDoc could make this render a bit prettier.
Of course I'm open for input, and with a clear solution (instead of a goal that I am proposing), I may be able to write this functionality myself. But I would need input from the community first.

@StephanBijzitter Hi! Thanks for this issue.
Please write function(): boolean instead of function: boolean.
/**
 * this is example.
 * @param {boolean|function():boolean} a
 * @param {number} b
 */
export default function foo(a, b){}

Seems overly verbose to me, but alright.
Thanks!


++#[OffiCial!TV] *Real Madrid vs Osasuna LIVE Streams Free On TV Channel, 09 November 2024

🔴▶ Click Here To Watch Live Match 🔴▶
🔴▶ Click Here To Watch Live Match 🔴▶
Real Madrid host Osasuna in what will be Los Blancos’ first Liga game since the devastating 4-0 loss in El Clasico. Madrid need to find some momentum and confidence and it will be interesting to see if Ancelotti will deploy any changes to the team’s system.
Real Madrid predicted XI: Lunin, Vazquez, Rudiger, Militao, Mendy, Camavinga, Valverde, Bellingham, Rodrygo, Vinicius, Mbappe.
Osasuna predicted XI: Herrera, Areso, Catena, Boyomo, Bretones, Torro, Moncayola, Oroz, Garcia, Zaragoza, Budimir.
This is a must-win for Real Madrid, there’s no way around it. Dropping points at home would be unacceptable, but Osasuna have performed at a high level so far this season and will surely be a tough challenge for Los Blancos.
HOW TO WATCH, STREAM LA LIGA
Date: 11/09/2024
Time: 14:00CET, 08:00am EST.
Venue: Santiago Bernabeu, Madrid, Spain.
Available TV: Movistar La Liga, ABC
Available Streaming: ESPN+
Managing Madrid has affiliate partnerships. These do not influence editorial content, though Vox Media may earn commissions for products purchased via affiliate links.
More From Managing Madrid
Real Madrid vs Osasuna 2024 live stream: Time, TV channels and how to watch La Liga online
Open Thread: November 9, 2024
Arda Guler gets call-up for Turkey’s upcoming Nations League games
Castilla Corner Podcast: Thoughts on the Mini-Derbi; Why is Jesus Fortea still with Juvenil A?
Preview, Squad List, Team News: Levante Badalona vs. Real Madrid; Liga F
Managing Madrid Podcast: Will Ancelotti Find A Solution?

GFHFGHT

jhhj


change in grammar

We do not recommend using a Node installer, since the Node installation process installs npm in a directory with local permissions and can cause permission errors when you run npm packages globally.

References

permissions errors is the correct term and is consistently used that way across our docs.


Add docs, pypi and license badge

Add docs, pypi and license badge to README.md

Codecov Report

Merging #10 (21e2f3d) into master (a6c386a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #10   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          189       189
=========================================
  Hits           189       189

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 a6c386a...21e2f3d. Read the comment docs.


SAP.UI.TABLE cells not updating on scroll

OpenUI5 version: 1.96.16

Working in 1.71 but not anymore in 1.96 and above

Steps to reproduce the problem:

Create project
Use SAP.UI.TABLE bind to jsonmodel with multiple lines
Reduce table size, scroll and see its values not updating (only num)

Real test:
When expended

When reduced and scrolled (2nd row, this should be 0 but it's 3, working on other versions)

Might be linked to https://github.com/SAP/openui5/issues/3671

Hello @ClementRoyer,
Could you please provide an isolated example of the reproducible issue in JSBin?
Thank you in advance!
Kind Regards,
Niya

Closing this as author has not responded to provide further details. Feel free to reopen the issue with further details.

If you have an example, post it in the related issue or reopen this one.
Yet on the screenshot is visible that there is layout control in the cells, which is not allowed and can break the scrolling and rebinding of rows around
https://experience.sap.com/fiori-design-web/grid-table/#Table(ALV)-CellContent
Note the sap.ui.table based controls reuse the UI (performance optimization) and rows are rebound in the direction of scrolling, where the scrolling also requests more data. This requires valid values for each property per control in a cell.

Hi, @stephania87 the control in the cell is definitely breaking the binding on scroll, I didn't know this wasn't allowed with this component, I never got the issue before
Thanks a lot for the clarification !


bump gofakeit to v6

Upgrade to gofakeit v6 which enables to generate not just logs, it can generate documents for custom schema as well.

Thanks @arunx2! Merged


Add set_description to pbar._NoOpPBar

I'm interested in using the set_description method of a tqdm progressbar. If I do that it may make sense to add an empty set_description method to the emcee.pbar._NoOpPBar, so there's no issue if I try to call the method on a dummy placeholder object.
Would such an addition be welcomed, or would you prefer if I handle the absence of the method in user space?

I'd be happy to include that - thanks!


ESP32] Change the core running Wifi Task and Bluetooth Task

I use ESP32 to scan ble data and transmit scanned data to the internet via wifi connection.
I found that the number of scanned ble data when only bluetooth is active is larger when both bluetooth and wifi are active.
does anysone experience on that?
Both wifi task and bluetooth bluetooth task run on core 0, is it possible to change blue task and wifi task run on prefered core? Will it increase the number of scan ble data and how to do it?
Thank you

In esp32 WiFi and Bluetooth share the same radio and have to cooperate so that sometimes WiFi is active and sometimes Bluetooth is active.  Other Bluetooth devices do not know about WiFi so they may advertise during wifi active time.

@negativekelvin Thank you for your answer, you have any idea to control when wifi run and when bluetooth run. Because when I active wifi, sometime I can not scan any ble package.

@TianHao-Espressif after check the task priority:
main           	R	1	1000	4
IDLE           	R	0	556	6
IDLE           	R	0	556	5
Btc_task       	B	19	8076	38
tiT            	B	18	1548	11
Tmr Svc        	B	1	1380	7
hciH4T         	B	21	1848	40
btuT           	B	20	3028	41
btController   	B	23	2124	43
hciHostT       	B	22	1828	39
ipc1           	B	24	544	2
bt_control_task	B	9	1556	16
pmT            	B	21	1004	14
wifi           	B	23	1964	13
rtT            	B	22	2988	15
eventTask      	B	20	2436	12
ipc0           	B	24	632	1
If I try set priority of bt task (hci, controller,..), will the ble scan performance be improved?

Currently, WiFi can only run on core#0

Can anybody provide code for running classic Bluetooth and Wi-Fi together, running through different cores??


Enable a few extra compiler flags, -Wpedantic on Clang

Resolves #352
Turning on -Wconversion required a few changes to the expression templates as mfem::Vector uses int for indices and sizes.
I also removed the MPI-parallel expression template evaluation outside of a HypreParVector that I had experimented with a few months back, as it's really too slow to be practical.

Codecov Report

Merging #361 (aadce4a) into develop (c9ab792) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #361      +/-   ##
===========================================
- Coverage    93.14%   93.09%   -0.06%
===========================================
  Files           43       43
  Lines         1839     1824      -15
===========================================
- Hits          1713     1698      -15
  Misses         126      126

Impacted Files
Coverage Δ

src/serac/coefficients/coefficient_extensions.cpp
80.30% <100.00%> (ø)

src/serac/numerics/expr_template_impl.hpp
100.00% <100.00%> (ø)

src/serac/numerics/vector_expression.hpp
100.00% <100.00%> (ø)

src/serac/physics/base_physics.cpp
79.66% <100.00%> (ø)

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 c9ab792...aadce4a. Read the comment docs.

LGTM

LGTM


SVG support

Summary 💡
When running onefetch --image path/to/file.svg, I get the following error:
Error: Could not load the specified image

Caused by:
    The file extension `."svg"` was not recognized as an image format

While I don't know about the other image back ends, I do know that kitty does support svg files (as confirmed here), so would it be possible to integrate support for these files for onefetch? I can work on this, just need to know if it's possible or something you would even be interested in.
Motivation 🔦
I would like to be able to display an svg file I have for a specific git repo.

Thanks for reporting this @Rolv-Apneseth
Seems to be an issue with the image crate, which only supports raster formats: https://github.com/image-rs/image/issues/524#issuecomment-206577917

Hmm I see, maybe it's a bit much for this project or what do you think? Very niche anyways I suppose.

Yeah, quickly going through the image-rs docs and source code, I don't think it's possible for a 3rd-party to register a new format. At least not for image::open (less abstracted usage might still be possible). Though I'd be happy if it turns out I missed something :laughing: But this means it won't be easy to support SVGs.
Just speaking generally about image decoding, I think at least partial support for SVGs could be achieved by requiring the user to specify dimensions. So I wouldn't be surprised if a crate existed that implemented the image-rs traits for a type that represents an SVG image.
(We could at least support SVGs as a detected language 😜)

(We could at least support SVGs as a detected language 😜)

You're right, somehow it was missing from the list of languages in #490 😅

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.


Resolve all definitions immediately

In theory, I think all definitions could actually just be resolved right away instead of on-demand. The data is immutable during building anyway- so why resolve the same things over and over?
Would it affect any displayed warnings tied to a datasource context?

Some progress has already been made on this. With #148, we started pre-resolving image fields.


refactor!: use time-based queued staking and reserve unharvested rewards

Description
This PR changes queued stakings to be handled in time-based(24 hours) manner, rather than epoch-based.
Also, auto-withdrawn rewards due to changes of staked coin amount now accumulated in separate module account.
Farmers have to manually claim their unharvested rewards using MsgHarvest.
Note that unstaking whole staked coin results in withdrawal of all current rewards and unharvested rewards.
Background
Since ProcessQueuedCoins is being called at the end of epoch, when there are too many queued stakings it could impact the chain's performance(see #274). By handling queued staking at the moment it should be changed to staked, it mitigates the mentioned performance issue.
Also, automatic withdrawal of accrued rewards when there's a change in staking coin amount(by staking more or unstaking) could confuse many users. Our solution is to move rewards to a separate module account(UnharvestedRewardsReserveAcc) and make users to claim it through MsgHarvest. In this way, users can know how many rewards are still unharvested and claim rewards as they wish.
Note that when unstaking whole amount of coin for a specific denom, all previous unharvested rewards are automatically withdrawn for convenience.
Upgrading
When upgrading a chain which uses the farming module, set EndTime of new QueuedStaking to 24 * CurrentEpochDays hours after current (block)time. It'll result in smooth transition to new time-based staking logic.
Closes #302
Closes #274
Tasks

[x] Provide detailed reasoning about this change and investigate potential risks
[x] All tasks from https://github.com/cosmosquad-labs/squad/pull/282
[x] Add UnharvestedRewards struct
[x] Implement genesis functionalities and write tests
[x] Fix CurrentEpoch preservation rule
[x] Implement gRPC endpoints for UnharvestedRewards
[x] Implement CLI query commands
[x] Update spec doc

References

https://github.com/cosmosquad-labs/squad/pull/282
https://github.com/cosmosquad-labs/squad/pull/283

@hallazzang Great works! It would be better if you rebase(not merge) on the latest main branch and Could you add changelogs with breaking changes as unreleased on CHANGELOG.md

@hallazzang Great works! It would be better if you rebase(not merge) on the latest main branch and Could you add changelogs with breaking changes as unreleased on CHANGELOG.md

@hallazzang looks TestCmdQueryPosition test failed, and could you remove the committed JSON files?


Can't Run Example on MacOS 10.13.6

I'm running into a problem running the rotate example with go version go1.14.1 darwin/amd64 on MacOS 10.13.6. It runs fine on a different machine running 10.14.x.
go run -tags=example github.com/hajimehoshi/ebiten/examples/rotate
# github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/mtl
In file included from mtl.m:18:
In file included from /System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:
In file included from /System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:8:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:29:
/Library/Frameworks/AE.framework/Headers/AppleEvents.h:597:165: error: expected function body after function declarator
/usr/include/Availability.h:216:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
<scratch space>:87:1: note: expanded from here
# github.com/hajimehoshi/ebiten/internal/devicescale
In file included from ../../go/pkg/mod/github.com/hajimehoshi/ebiten@v1.10.5/internal/devicescale/impl_mac.go:24:
In file included from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:87:
In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:14:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:29:
/Library/Frameworks/AE.framework/Headers/AppleEvents.h:597:165: error: expected function body after function declarator
extern OSStatus AEDeterminePermissionToAutomateTarget( const AEAddressDesc* target, AEEventClass theAEEventClass, AEEventID theAEEventID, Boolean askUserIfNeeded ) __OSX_AVAILABLE_STARTING( __MAC_10_14, __IPHONE_NA );
                                                                                ^
/usr/include/Availability.h:216:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:84:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_14
^
1 error generated.
# github.com/go-gl/glfw/v3.2/glfw
In file included from ../../go/pkg/mod/github.com/go-gl/glfw@v0.0.0-20190409004039-e6da0acd62b1/v3.2/glfw/native_darwin.go:7:
In file included from ./glfw/include/GLFW/glfw3native.h:90:
In file included from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:23:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:23:
In file included from /Library/Frameworks/AE.framework/Headers/AE.h:29:
/Library/Frameworks/AE.framework/Headers/AppleEvents.h:597:165: error: expected function body after function declarator
extern OSStatus AEDeterminePermissionToAutomateTarget( const AEAddressDesc* target, AEEventClass theAEEventClass, AEEventID theAEEventID, Boolean askUserIfNeeded ) __OSX_AVAILABLE_STARTING( __MAC_10_14, __IPHONE_NA );
                                                                                ^
/usr/include/Availability.h:216:50: note: expanded from macro '__OSX_AVAILABLE_STARTING'
    #define __OSX_AVAILABLE_STARTING(_osx, _ios) __AVAILABILITY_INTERNAL##_osx
                                                 ^
<scratch space>:58:1: note: expanded from here
__AVAILABILITY_INTERNAL__MAC_10_14
^
1 error generated.

Hi, which version of Ebiten are you using?
This error indicates you'd need to use macOS 10.14 or later, but in theory Ebiten should work with older macOS.

I see v1.10.5 listed in ~/go/pkg/mod/github.com/hajimehoshi/

Thanks.
Are you using the latest Xcode and its tools?

I've got Xcode 10.1 installed, build 10B61, that's the latest that runs on 10.13.x I think.

Thanks. Hmm, you can use Ebiten 1.11.0-rc.1, which uses GLFW 3.3 instead of 3.2, but I don't think this would solve this issue. Then, you might need to update macOS to 10.14 or later. Sorry I could not give a good help.

 Thanks anyway for trying!

I'll notify you here when I find another solution. Thank you!

I have a Mac OSX 10.11.6 and all the examples work properly. Sorry to hijack this thread @hajimehoshi but although everything works perfectly fine, I am indeed getting these warnings.
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/ca
warning: unknown warning option '-Wno-unguarded-availability-new'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/ca
warning: unknown warning option '-Wno-unguarded-availability-new'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/ca
warning: unknown warning option '-Wno-unguarded-availability-new'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
ca.m:66:11: warning: instance method '-setMaximumDrawableCount:' not found (return type defaults to 'id') [-Wobjc-method-access]
/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:44:12: note: receiver is instance of class declared here
ca.m:85:35: warning: instance method '-setDisplaySyncEnabled:' not found (return type defaults to 'id') [-Wobjc-method-access]
/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:44:12: note: receiver is instance of class declared here
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/ca
warning: unknown warning option '-Wno-unguarded-availability-new'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
# command-line-arguments
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000014.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000015.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000016.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000017.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000018.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000037.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000038.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000039.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000040.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000041.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000042.o) was built for newer OSX version (10.12) than being linked (10.11)

I been on the Golang threads as well, regarding this. They seem to have closed the issue. I tried their suggestion of CGO_FLAGS=-mmacosx-version-min=10.11 but exact same errors happen. I do know the flag works because if I change it to 10.12 (just to test it) then Ebiten breaks completely and wont even build. Any suggestions on why this might be?

I have a Mac OSX 10.11.6 and all the examples work properly. Sorry to hijack this thread @hajimehoshi but although everything works perfectly fine, I am indeed getting these warnings.
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/ca
warning: unknown warning option '-Wno-unguarded-availability-new'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/ca
warning: unknown warning option '-Wno-unguarded-availability-new'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/ca
warning: unknown warning option '-Wno-unguarded-availability-new'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
ca.m:66:11: warning: instance method '-setMaximumDrawableCount:' not found (return type defaults to 'id') [-Wobjc-method-access]
/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:44:12: note: receiver is instance of class declared here
ca.m:85:35: warning: instance method '-setDisplaySyncEnabled:' not found (return type defaults to 'id') [-Wobjc-method-access]
/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:44:12: note: receiver is instance of class declared here
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/ca
warning: unknown warning option '-Wno-unguarded-availability-new'; did you mean '-Wno-partial-availability'? [-Wunknown-warning-option]
# command-line-arguments
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000014.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000015.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000016.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000017.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000018.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000037.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000038.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000039.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000040.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000041.o) was built for newer OSX version (10.12) than being linked (10.11)
ld: warning: object file (/var/folders/cj/ymv0b8js49l90hc7v5txjqg80000gn/T/go-link-879478339/000042.o) was built for newer OSX version (10.12) than being linked (10.11)

I been on the Golang threads as well, regarding this. They seem to have closed the issue. I tried their suggestion of CGO_FLAGS=-mmacosx-version-min=10.11 but exact same errors happen. I do know the flag works because if I change it to 10.12 (just to test it) then Ebiten breaks completely and wont even build. Any suggestions on why this might be?

I do know the flag works because if I change it to 10.12 (just to test it) then Ebiten breaks completely and wont even build. Any suggestions on why this might be?

What kind of error did you see?

I do know the flag works because if I change it to 10.12 (just to test it) then Ebiten breaks completely and wont even build. Any suggestions on why this might be?

What kind of error did you see?

No errors, just warnings. However, as you mentioned in Slack, by using go build -tags=ebitengl main.go which bypasses Metal and uses OpenGL ES (i believe) .. the warnings have disappeared. Thanks!

No errors, just warnings. However, as you mentioned in Slack, by using go build -tags=ebitengl main.go which bypasses Metal and uses OpenGL ES (i believe) .. the warnings have disappeared. Thanks!

I'm getting a related error when I try to run the example with go1.15 and macOS 10.15.3:
# github.com/hajimehoshi/ebiten/v2/internal/devicescale
../../go/pkg/mod/github.com/hajimehoshi/ebiten/v2@v2.0.4/internal/devicescale/impl_mac.go:23:10: fatal error: 'AppKit/AppKit.h' file not found
 #import <AppKit/AppKit.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
# github.com/go-gl/glfw/v3.3/glfw
In file included from ../../go/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20200707082815-5321531c36a2/c_glfw.go:4:
In file included from ./glfw/src/context.c:30:
In file included from ./glfw/src/internal.h:184:
./glfw/src/cocoa_platform.h:30:10: fatal error: 'Carbon/Carbon.h' file not found
#include <Carbon/Carbon.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/metal/mtl
mtl.m:18:9: fatal error: 'Metal/Metal.h' file not found
# github.com/hajimehoshi/ebiten/v2/internal/graphicsdriver/opengl/gl
ld: framework not found OpenGL
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)

This also sounds like an issue in go-gl/glfw. CC @dmitshur

Maybe, but "fatal error: 'Carbon/Carbon.h' file not found" sounds like a system issue; that file should definitely exist with a properly installed Xcode (or Xcode CLI). If it can be reproduced, please file an issue in the go-gl/glfw issue tracker.


Selected Tab color fix

The color for the Selected Tab was modified bc of the material Update and we need to fix the regression for it not to be blue but black with blue underline as shown in the mockups.
Additionally, unelected Tab is should be blue on hover, which this PR fixes

Coverage remained the same at 28.418% when pulling 566b86a33373095060194e5764531b7b08c13d3d on alioso:selected-tab-color into 3847c29f6c21f97ce6e60ef37c529b9330066050 on linode:develop.

looks good! I added an assertion to the tabbed panel storybook UI test to assert selected tabs have the expected color.


removed unused case categories

Motivation and Context
The case service had a large number of case categories that go unused.
What has changed

Removed almost all case categories that did not exist in preprod/prod's databases from the category enum. The vast majority of these cases categories were hardly used in the code/tests, and I noticed a general correlation between being absent in the databases and being absent in the code.
Updated openapi.yaml documentation to reflect the new enum
Made minor edits to unit tests so that valid categories are used in tests instead of unused categories. In some cases, the now-unused categories were simply deleted from the tests without affecting the functionality of the tests.

The following categories were removed (38 in total):
ACCESSIBILITY_MATERIALS,
ACTION_COMPLETED_DEACTIVATED,
ADDRESS_DETAILS_INCORRECT,
CLASSIFICATION_INCORRECT,
CLOSE_ESCALATION,
DEACTIVATED,
FIELD_COMPLAINT_ESCALATED,
FIELD_EMERGENCY_ESCALATED,
GENERAL_COMPLAINT,
GENERAL_COMPLAINT_ESCALATED,
GENERAL_ENQUIRY,
GENERAL_ENQUIRY_ESCALATED,
HOUSEHOLD_PAPER_REQUESTED,
HOUSEHOLD_REPLACEMENT_IAC_REQUESTED,
H_INDIVIDUAL_PAPER_REQUESTED,
H_INDIVIDUAL_REPLACEMENT_IAC_REQUESTED,
H_INDIVIDUAL_RESPONSE_REQUESTED,
INCORRECT_ESCALATION,
MISCELLANEOUS,
PENDING,
REFUSAL,
REPLACED,
TECHNICAL_QUERY,
TRANSLATION_ARABIC,
TRANSLATION_BENGALI,
TRANSLATION_CANTONESE,
TRANSLATION_GUJARATI,
TRANSLATION_LITHUANIAN,
TRANSLATION_MANDARIN,
TRANSLATION_POLISH,
TRANSLATION_PORTUGUESE,
TRANSLATION_PUNJABI_GURMUKHI,
TRANSLATION_PUNJABI_SHAHMUKI,
TRANSLATION_SOMALI,
TRANSLATION_SPANISH,
TRANSLATION_TURKISH,
TRANSLATION_URDU,
UNDELIVERABLE,
Two categories, ONLINE_QUESTIONNAIRE_RESPONSE and PAPER_QUESTIONNAIRE_RESPONSE, were not found in the prod/preprod databases, but these seemed to be referenced a number of times in the code, and even had unit tests that specifically involved these categories. In the interest of not outright removing tests/functionality from the service, these two categories were kept.
Links
Jira card

At a glance it looks good.  Though I'm surprised at the list of ones that remain.  Are they actually used in our system at all or are just in the preprod/prod database?

At a glance it looks good. Though I'm surprised at the list of ones that remain. Are they actually used in our system at all or are just in the preprod/prod database?

I'm not 100% certain, but I didn't want to delete anything that would cause the data in prod/preprod to become invalid. As I explained in the PR description, I noticed a correlation between the presence of a category in the database and the presence of that same category in the code. i.e. if a category didn't show up in the database, it wouldn't show up in the code outside of a few miscellaneous tests from which it could easily be removed/replaced with a valid category. Conversely, categories that showed up the database often saw multiple uses in the main code body (not just in the tests). As such, I think using the database as a rough guide as to which categories are in use is sensible, and errs on the side of caution.


1.19.2 Crash with Radium

Forge 43.1.3
Radium 0.8.2
FerriteCore 5.0.1
Both mods individually boot up fine individually and with other mods, but together they crash.
Latest Log with a fresh instance with just these two mods: latest.log
Lemme know if you need anything else.

See https://github.com/malte0811/FerriteCore/issues/80#issuecomment-1184121400.


support LastWill Message

I wonder if your library has support Lastwill message?

@tarzan115
It should work. Please take a look on MqttClient::connect.
The first parameter MQTTPacket_connectData allows you to specify MQTT CONNECT message options.
I believe you are looking for MQTTPacket_connectData::will that contains all parameters related to LWT and MQTTPacket_connectData::willFlag that must be set to true for enabling of the LWT.

Sorry, my mistake. I got it. thank you so much.


Converting SVTTestRepo to ebcdic to execute SVT internal tests on z/OS.

Converting SVTTestRepo to ebcdic to execute SVT internal tests on z/OS.
Added gitattributes to SVTTestRepo and modified system/common.xml which does conversion.
Verification Links
z/OS :- runtimes-jenkins/Test_grinder/job/Grinder/15282
Linux :- runtimes-team-svt-jenkins/Test_grinder/job/Grinder/1246
Fixes: runtimes/backlog/issues/517

This PR does not look correct to me. It changes 43 files. It contains lots of changes that have already delivered to the master.

Yes, as Lan said above, the PR seems incorrect. It contains changes from previously delivered PRs (e.g. https://github.com/adoptium/aqa-tests/pull/2559/files).
@psoujany , please recreate this PR with only the changes made for "Converting SVTTestRepo to ebcdic".

As said above re-created new PR with only changes related to SVTTestRepo.
https://github.com/adoptium/aqa-tests/pull/2568

@psoujany - by 'recreate', I actually meant recreate the changes in https://github.com/adoptium/aqa-tests/pull/2563 - not recreate the PR literally :) .. but It's all good, we'll review https://github.com/adoptium/aqa-tests/pull/2568.


Force consistent dependency on renamed woodstox-core library

Rationale
There is a sneaky dependency conflict between org.codehaus.woodstox:woodstox-core-asl and com.fasterxml.woodstox:woodstox-core.
Changes

Force consistent dependency on renamed woodstox-core library

Verifying on TeamCity:
SAML: https://teamcity.labkey.org/buildConfiguration/LabKey_Trunk_LabkeyPremiumTrunk_GitModules_SamlPostgres95/1476475
NIHS tests (responsible for finding the discrepancy):
https://teamcity.labkey.org/buildConfiguration/LabKey_Trunk_LabkeyPremiumTrunk_GitModules_NihsPostgres/1476471
https://teamcity.labkey.org/buildConfiguration/LabKey_Trunk_LabkeyPremiumTrunk_GitModules_NihsSqlserver/1476473
NLP (should be unaffected):
https://teamcity.labkey.org/buildConfiguration/LabKey_Trunk_LabkeyPremiumTrunk_GitModules_NlpPostgres95/1476477
https://teamcity.labkey.org/buildConfiguration/LabKey_Trunk_LabkeyPremiumTrunk_NlpVerifiedSqlserver2012/1476479

Does this need to go to 21.7?  It is failing there.

Merged to 21.7 (#108)


Send back more specific error when account already exists

For instance, accounts that try to re-create an account should just follow the login flow instead.
We should add back error handling in general.

Looks like we send a login email but it has an error.


Redmine docker crashes on Qnap NAS

I've been running the docker redmine container for a few weeks on a QNap NAS. It's been stable and easy to use until a few days ago and I'm not sure what happened nor how to recover. The console shows
Symlinking dotfiles...
Installing configuration templates...
Configuring redmine...
Configuring redmine::database...........................................................Initializing logdir...
Initializing datadir...
Symlinking dotfiles...
Installing configuration templates...
Configuring redmine...
Configuring redmine::database..........................Initializing logdir...
Initializing datadir...
Symlinking dotfiles...
Installing configuration templates...
Configuring redmine...
Configuring redmine::database...........................................................Initializing logdir...
Initializing datadir...
Symlinking dotfiles...
Installing configuration templates...
Configuring redmine...
Configuring redmine::database...........................................................Initializing logdir...
Initializing datadir...
Symlinking dotfiles...
Installing configuration templates...
Configuring redmine...
Configuring redmine::database...........................................................Initializing logdir...
Initializing datadir...
Symlinking dotfiles...
Installing configuration templates...
Configuring redmine...
Configuring redmine::database...........................................................Initializing logdir...
Initializing datadir...
Symlinking dotfiles...
Installing configuration templates...
Configuring redmine...
Configuring redmine::database...........................................................

and that's it. The container stops running. I'd like to debug this and get the container running again but I'm not certain where to begin.
Help?

Tried that along with rebooting the NAS. The postgresql container starts and runs, the redmine container starts and then stops.

Here's the code that checks for the database. https://github.com/sameersbn/docker-redmine/blob/9337e813fa33e6ae69421c345eae35d52e2f5d83/assets/runtime/functions#L186
Are you using docker-compose? How are the containers linked? If you shell into the postgres container does the above pg_isready command work?  If you shell into the redmine container does it work?

It was set up through the QNAP Container Station.
Unfortunately, this looks way more complex than I expected. I was able to find the files folder, dump the database and install on a standalone system.


Improve mapping constructor support in select clause

Related to #20737
Query expression should support queries like below.
var x =
   from var { firstName, lastName, country } in personList
   where country == "UK"
   select { firstName: firstName, lastName: lastName };

Added more test cases and fixes to comply with this.

https://github.com/ballerina-platform/ballerina-lang/pull/21160
https://github.com/ballerina-platform/ballerina-lang/pull/21194


Incorrect CORS Screenshot

Now the "Allowed Verbs" is called "Allowed Methods" The screenshot needs to be updated.

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

ID: 4090e045-28aa-2924-ca80-e74546f677f5
Version Independent ID: 438704d0-88ff-aa19-a8cc-4d037290b46a
Content: Quickstart - Create a blob in Azure Storage by using JavaScript and HTML in the browser
Content Source: articles/storage/blobs/storage-quickstart-blobs-javascript-client-libraries-v10.md
Service: storage
Sub-service: blobs
GitHub Login: @KarlErickson
Microsoft Alias: karler

#reassign: @tamram

@PaulStubbs - Thanks for pointing this out. I have updated the screenshot. The changes should be published in the next day or so.
#please-close


Pull out keywords from positive and negative reviews

e.g. via textrank or tfidf

Use naive bayes to assign probability that a word is associated with a positive or negative review

Why does tfidf give the same result as a count vectorizer?

Dealing with imbalanced classes:
http://stats.stackexchange.com/questions/99667/naive-bayes-with-unbalanced-classes
http://stats.stackexchange.com/questions/21592/optimising-for-precision-recall-curves-under-class-imbalance?rq=1

http://ieeexplore.ieee.org/document/5645694/?arnumber=5645694

748e3a87fa86658f50abc660e8cfda09a5823849


Failing to successfully 'link table' with this driver version with MS Access 365.

Driver version
<IP_ADDRESS>
Redshift version
PostgreSQL 8.0.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3), Redshift 1.0.40182
Client Operating System
Winbdows 2011 64 bit
Table schema
All tables & vies
Problem description
Failing to successfully 'link table' with this driver version with MS Access 365.
Notable errors from the odbc driver connection log:
Jul 21 07:42:11.386 TRACE 26864 Simba::ODBC::Connection::SQLGetConnectAttr: +++++ enter +++++
Jul 21 07:42:11.386 INFO  26864 Simba::ODBC::Connection::SQLGetConnectAttr: Attribute: Unknown Attribute (30002)
Jul 21 07:42:11.399 ERROR 26864 Simba::ODBC::Connection::SQLGetConnectAttr: [Amazon][ODBC] (10210) Attribute identifier invalid or not supported: 30002
Our prior installed version driver (<IP_ADDRESS>0) does return this error.
->

Thanks for reporting issue. Do you mean 1.4.56 also has same issue?

Thanks for reporting issue. Do you mean 1.4.56 also has same issue?

I updated my comments above: Our prior installed version driver (<IP_ADDRESS>0) does not return this error.

1.4.56 does not have this issue.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: ilesh garish @.>
Sent: Tuesday, July 26, 2022 12:25:31 AM
To: aws/amazon-redshift-odbc-driver @.>
Cc: Sorensen, Joanna (EOTSS) @.>; Author @.>
Subject: Re: [aws/amazon-redshift-odbc-driver] Failing to successfully 'link table' with this driver version with MS Access 365. (Issue #1)
CAUTION: This email originated from a sender outside of the Commonwealth of Massachusetts mail system.  Do not click on links or open attachments unless you recognize the sender and know the content is safe.
Thanks for reporting issue. Do you mean 1.4.56 also has same issue?
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/aws/amazon-redshift-odbc-driver/issues/1*issuecomment-1194984608__;Iw!!CUhgQOZqV7M!jJwcP8yhxRDoF4dZLaRbN05kDbQ5kUA6xLvJKIwTqsgM1lzpCA2OJ9prACLpi9lXJanEvOkW-J2OF5xMeOeRj2TNTdd-aQ$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AZGGVNRQNLDHIZSG3YBYDWDVV5SDXANCNFSM54SXH7VA__;!!CUhgQOZqV7M!jJwcP8yhxRDoF4dZLaRbN05kDbQ5kUA6xLvJKIwTqsgM1lzpCA2OJ9prACLpi9lXJanEvOkW-J2OF5xMeOeRj2Qs7iGcsA$.
You are receiving this because you authored the thread.Message ID: @.***>


Stop passing around email addresses

Rationale
https://www.labkey.org/home/Developer/issues/Secure/issues-details.view?issueId=51520
Changes

Add UserId column to core.Logins and populate it from the core.Principals table. Make this the primary key.
Consolidate all core.Logins-handling methods from UserManager & SecurityManager into LoginManager. Migrate these methods and their callers to use UserId instead of email address.
Update actions to pass and use userId parameter
Update verification URLs to remove email parameter and not add userId. Verification is now a lookup based solely on the verification token.

Looks like a handful of test failures.

Yep, working on those


LPVSScanossDetectService refactoring and unit test fix

Pull Request
Description
The checkLicenses has been refactored due to long method.
The unit tests, testWithNullHeadCommitSHA and testWithNullHeadCommitSHADB, have been fixed to read the existing test file.
Type of change

[x] Code cleanup/refactoring

Testing
This PR was verified by the unit test.
Test Configuration:

Java: v17
LPVS Release: v1.x.x

Checklist:

[x] My code follows the style guidelines of this project
[ ] My code meets the required code coverage for lines (90% and above)
[ ] My code meets the required code coverage for branches (80% and above)
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Codecov Report
Attention: Patch coverage is 93.65079% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 91.54%. Comparing base (8a6f674) to head (b170f74).

Files
Patch %
Lines

...service/scan/scanner/LPVSScanossDetectService.java
93.65%
1 Missing and 3 partials :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #524      +/-   ##
============================================
+ Coverage     91.47%   91.54%   +0.06%
- Complexity      520      525       +5
============================================
  Files            48       48
  Lines          1737     1739       +2
  Branches        210      209       -1
============================================
+ Hits           1589     1592       +3
  Misses           82       82
+ Partials         66       65       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Do you have any plan to open-source Emulation dataset?

Sure, I will release the code and dataset soon. The code is still a mess.


Stack Trace Isn't Preserved When Processing Nodes Raise

There's no useful information in the stack trace when a processing node raises an error during feature extraction

Fixed in https://github.com/JohnVinyard/featureflow/commit/9fb1307a68d45474ec52fc2a106c99630403b029


Auto-complete for parent call

parent::{method}

The feature has been added and will be available in the next version


[desktop_webview_window] Loading a URL with Post Data

Is there a way to load a URL by sending post data?
Let me give you the corresponding implementations for Android and IOS with flutter_inappwebview and webview_flutter packages:
Android - flutter_inappwebview:
String _baseUrl = 'https://example.com';
var postData = Uint8List.fromList(utf8.encode("firstname=Foo&surname=Bar"));
_webViewController?.postUrl(
    url: Uri.parse(_baseUrl),
    postData: Uint8List.fromList(utf8.encode(_postData)),
);

The documentation for the above code: "Loads the given [url] with [postData] (x-www-form-urlencoded) using POST method into this WebView."

IOS - webview_flutter:
_uriString = <html>
  <body>
  <form id="p_form" action="https://example.com" method="post">
  <input type="hidden" name="version" value="1">
  </form>

  <script type="text/javascript">
    document.forms["p_form"].submit();
  </script>

  </body>
</html>

Uri.dataFromString(_uriString, mimeType: 'text/html').toString()

Is there a way to reach the expected behavior mentioned in the issue description @boyan01?

I am able to reach the expected behavior using the evaluateJavascript function. Anyone has the same issue can look at this StackOverflow post.


Add codefresh cli tool

Description of changes
Add codefresh cli[1] tool to interact with codefresh[2] service.
[1] https://github.com/codefresh-io/cli
[2] https://codefresh.io/
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I had an issue running the tests nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD" which I couldn't solve, seemed to be an issue with generating the name.
error:
       … while evaluating the 'name' attribute of a derivation

         at «none»:0: (source not available)

       … from call site

         at /Users/tom.cammann/.cache/nixpkgs-review/rev-76b34d5d1c23cdf798d29de00cf78b46c8ab50dc/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:371:9:

          370|         in
          371|         lib.strings.sanitizeDerivationName (
             |         ^
          372|           if attrs ? name

       … while calling anonymous lambda

         at /Users/tom.cammann/.cache/nixpkgs-review/rev-76b34d5d1c23cdf798d29de00cf78b46c8ab50dc/nixpkgs/lib/strings.nix:1174:3:

         1173|   in
         1174|   string:
             |   ^
         1175|   # First detect the common case of already valid strings, to speed those up

       … from call site

         at /Users/tom.cammann/.cache/nixpkgs-review/rev-76b34d5d1c23cdf798d29de00cf78b46c8ab50dc/nixpkgs/pkgs/development/tools/yarn2nix-moretea/yarn2nix/default.nix:273:18:

          272|       version = attrs.version or package.version;
          273|       baseName = unlessNull name "${safeName}-${version}";
             |                  ^

Any help appreciated.

Redo everything according to the contributing guidelines.

I can't understand the error of ofBorg...

Usually I "solve" this by rebasing over the most recent upstream/master.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/adding-new-nixpkg-checkmeta-error-in-pr/41875/1

Adding package.json and packageJSON = ./package.json; was the solution, despite this building fine locally and the default for mkYarnPackage having a sensible default.

Thank you.


refactor: Use Fr type from kilic/bls12-381 for BBS+

Signed-off-by: Dmitriy Kinoshenko<EMAIL_ADDRESS>#2248
One missing thing is support of Fr.Inverse() in https://github.com/kilic/bls12-381. It was temporarily solved at fork https://github.com/trustbloc/bls12-381 with implementation adopted from https://github.com/phoreproject/bls

Just wanna confirm, with this change we don't need phorprject anymore @kdimak ?

Yes. This dependency is dropped from all go.mod-s.

@kdimak will create another PR to use the new inverse function.

https://github.com/hyperledger/aries-framework-go/issues/2293