net: tcp: Acknowledge FIN packets in TIMED_WAIT state

In case TCP stack enters TIMED_WAIT state (after receiving FIN/ACK reply
from peer), it should stil be ready to reply with ACK for any
consecutive FIN attempts. Othewise, in case the final ACK from Zephyr
side is lost, the connection is not properly closed on the other end,
and peer keeps retransmitting the final FIN packet.
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

CC @ssharks

Thanks, I'll try to give it a spin soon

The fix does not solve my problem so far, but also breaks nothing. I'll try to Wireshark deeper.

The fix does not solve my problem so far, but also breaks nothing. I'll try to Wireshark deeper.

Indeed it would be good then to dig into wireshark logs to find the root cause of your problems. This particular fixed helped with an issue when a final ACK is lost, which I've observed after applying artificial packet loss in the slip driver. I wasn't able to reproduce any other scenario with this simple method - the TCP engine was able to recover finely when packets were lost in both cases, client and server-initiated close.

Today I did thorough testing after carefully cherry picking all the recent changes and cannot reproduce the issue https://github.com/zephyrproject-rtos/zephyr/issues/46350 any more. If I set the CONFIG_NET_TCP_TIME_WAIT_DELAY very short I can see the retransmitted FIN, ACKs flying by in large numbers.
Very much thanks for diving into it and solving it.

The only thing I was wondering is. Do you know why in https://github.com/zephyrproject-rtos/zephyr/blob/53768606da1db5c689b62c718e63c70df08ca2a3/subsys/net/ip/tcp.c#L1258 a net_context_unref(conn->context); is used instead of a tcp_conn_unref(conn, -E....); is used?
Similar in https://github.com/zephyrproject-rtos/zephyr/blob/53768606da1db5c689b62c718e63c70df08ca2a3/subsys/net/ip/tcp.c#L1283


Update sidebar.md

Attempting to fix #3971

Didn't seem to work, not sure why this is not rendering properly.
https://deploy-preview-3972--docusaurus-2.netlify.app/classic/docs/sidebar/#sidebar-object

This is because the bug is only for alpha 70 version, not next version.
Also we made all versions edit buttons link to the upstream docs, so you didn't edit the versioned doc but the upstream doc by clicking on it. (it's more convenient to receive doc contributions to upstream docs by default)


Field descriptions for Pydantic models

Closes #435
Code Changes

[x] Add field descriptions for all Pydantic models
[x] Look at reusing existing doc strings where possible

Steps to Confirm

[x] Changes applied appear in the output openapi.json

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
[x] Documentation Updated
[x] Issue Requirements are Met
[x] Relevant Follow-Up Issues Created

Description Of Changes
One clarification that might be needed for this PR is where we can apply these changes to our docs. Many of these are duplications pulled from the docs themselves (or near copies) so it would be nice to consolidate where possible.

@SteveDMurphy now this is pod racing documentation!

@SteveDMurphy it totally works 🤷

@SteveDMurphy it totally works 🤷

Thank you for validating! Also, appreciate the screenshot - led me to how to validate it myself next time 😅


Task Service should check with Kubernetes for task state

Currently, we refer to storage service for the state of a task.  We should move towards checking within Kubernetes
Goal

Have task service check K8s for task status

Do not complete this before #15
Perhaps do in conjunction with #16

Still leaving open for now, despite the dependent issues being closed.
Still references storage service, which the k8s jobs upload the relevant info to. Not yet configured to do otherwise

Closing since this was recently addressed in 58abd58.  Having the Proxy service get job information from Kubernetes was handled in 91b616f


Use Testcontainers instead of Docker Compose for tests with PostgreSQL

Use Testcontainers instead of Docker Compose for tests with PostgreSQL.
This also made the separate model-server-test project obsolete.
To be verified by reviewers

[ ] Relevant public API members have been documented
[ ] Documentation related to this PR is complete

[ ] Boundary conditions are documented
[ ] Exceptions are documented
[ ] Nullability is documented if used

[ ] Touched existing code has been extended with documentation if missing
[ ] Code is readable
[ ] New features and fixed bugs are covered by tests

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


Add MD5 to SQLI patterns

From my past experiences, md5(), due to its potentially time-consuming nature, can be used to:

Aid blind SQL injections by being able to create a detectable delay
As part of a wider DOS attack
Help to obfuscate values that would otherwise be filtered, escaped or trimmed during a different stage or layer, and then comparing the values with known hashes

It seems pretty safe to me to try to detect it as part of the pattern list. Let me know what you think!

Hey, it's been a while - is this repo maintained at all?

Hey, it's been a while - is this repo maintained at all?

Hello,
Please accept my apologies, the issues on this repo went unnoticed :(
Let us take care of it quickly !

Hello,
Please accept my apologies, the issues on this repo went unnoticed :(
Let us take care of it quickly !

and actually lgtm

and actually lgtm

Thank you!

Thank you!


SSA controller

Handles 4 out of the 5 behaviors in #1427

I have a general question about the content of testdata/controllers. We have a number of folders with scripts for various kserve use cases. None of this serves the purpose of test data. I am wondering if this is the right place for this. If so, shouldn't the modelmesh versions also be included (there is a PR on the branch for this).  I think the right place is probably in the docs project under samples.

I have a general question about the content of testdata/controllers. We have a number of folders with scripts for various kserve use cases. None of this serves the purpose of test data. I am wondering if this is the right place for this. If so, shouldn't the modelmesh versions also be included (there is a PR on the branch for this). I think the right place is probably in the docs project under samples.

Perhaps this needs to be handled in a separate issue? Just so we don't break any existing functionality accidentally?


Redhat / Centos Support

Hello!
Let me ask if you plan to add Centos / Redhat support for this module.
Thanks in advance.

Hi @mativillagra we currently only run filebeats on Debian, so we don't have a base to really test or develop on. I don't think the changes would be too big, maybe give it a go and we can help?

Which version of CentOS do you need? I have tested module with centos 6.. https://github.com/SugarFactory/puppet-beats

Closing issue due to stagnation and above repository no longer active.


python 3.12: unable to format inconsistent use of tabs and spaces

I am testing snakemake to run with Python 3.12-rc3 by running the tests of snakemake itself.
I ran into the following error:
~/git/snakemake/tests/test05$ snakefmt -d Snakefile
  File "<string>", line 27
    threads: 2
              ^
TabError: inconsistent use of tabs and spaces in indentation

This is expected since this is clearly in the changelog of Python 3.12
Mixing tabs and spaces as indentation in the same file is not supported anymore and will raise a [TabError](https://docs.python.org/3.12/library/exceptions.html#TabError).
Snakemake itself is also unable to parse this file under Python 3.12.  Removing the tabs/spaces issue from the snakefile solves both problems, but lowers the usability of snakefmt/snakemake to remove these issues by hand.

So are you asking for snakefmt to resolve the tab/space issue for you?

The issue is that this error does not occur under Python 3.11 and does occur under Python 3.12.

Well TabError is raised because Python does not allow mixing tabs and spaces. (See this SO answer for a nice explanation).
Maybe we need a discussion about whether or not it is snakefmt's responsibility to deal with this. I'm a little bit hesitant to have snakefmt deal with this as I think it should be brought to the user's attention as it may indicate something going wrong in their editor or developer team.
In the meantime, seems like a lot of people use this to make the indentation consistent https://pypi.org/project/reindent/

I also think that it shouldn't be snakefmt's responsibility


Fixed disappearing center toolbar in Actions Explorer

Fixes: #3853
https://bugzilla.redhat.com/show_bug.cgi?id=1253460

@h-kataria @martinpovolny Please review

Fixed, should go to 5.5. Only issue: missing spec. Once spec are in, we can merge.

@romanblanco : work on the commit message a bit next time, please ;-)


Ruby 2.3 issue - undefined method `this' for #<Gem::Specification:0x1315bcc rails_best_practices-1.17.0

Here is the backtrace:
/home/raul/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:2158:in `method_missing': undefined method `this' for #<Gem::Specification:0x1315bcc rails_best_practices-1.17.0> (NoMethodError)
	from /home/raul/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1057:in `find_active_stub_by_path'
	from /home/raul/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:64:in `require'
	from /home/raul/.rvm/gems/ruby-2.3.1@my_project/gems/rails_best_practices-1.17.0/bin/rails_best_practices:5:in `<top (required)>'

RUBYGEMS VERSION: 2.5.1
RUBY VERSION: 2.3.1 (2016-04-26 patchlevel 112) [x86_64-linux]

Any help would be appreciated

Same here.

Hey guys, I encountered this issue too.
You need to update rubygems, just run gem update --system and it should resolve this issue.
Cheers!

thanks @wuzzzzaah , that worked, updated rubygems from 2.5.1 to 2.6.6 and works now.
Thanks a lot :)


feat(types): add generic parameter to toMatchObject

I often use this generic parameter with Jest to have autocompletion on values to match, example :
  expect(response).toMatchObject<
    _.PartialDeep<GraphQLSchema.AnnotateFileResult>
  >({
    __typename: "AnnotateFileErrors",
    errors: [
      {
        __typename: "FileFormatNotSupported",
      },
    ],
  });
});

One DX improvement I made compared to Jest's generic is that I apply the DeepPartial helper by default so the user doesn't have to think about it as we're always matching partial objects.
Here is a usage example on TypeScript Playground.

I'm not sure if DeepPartial is expected behaviour. Jest doc says: Optionally, you can provide an object to use as Generic type for the expected value. This ensures that the matching object matches the structure of the provided object-like type
Indeed, what if I want to add type and check if it's fully compatible with the passed object? DeepPartial will pass even with {}

@sheremet-va IMHO the types should reflect the runtime behaviour, if they are lying about it then they can't be trustee to keep the code safe.
toMatchObject is for matching a subset of the object. For an exact match there is toEqual (which could take a generic as well, without DeepPartial).

@sheremet-va IMHO the types should reflect the runtime behaviour, if they are lying about it then they can't be trusted to keep the code safe.
toMatchObject is for matching a subset of the object. For an exact match there is toEqual (which could take a generic as well, without DeepPartial).

But this generic exists to ensure the type for toMatchObject is equal to passed object. If it was as you say, we would use type that was passed to expect.

@sheremet-va IMHO the types should reflect the runtime behaviour, if they are lying about it then they can't be trusted to keep the code safe.
toMatchObject is for matching a subset of the object. For an exact match there is toEqual (which could take a generic as well, without DeepPartial).

But this generic exists to ensure the type for toMatchObject is equal to passed object. If it was as you say, we would use type that was passed to expect.
DeepPartial will never give an error, so providing anything to toMatchObject would be useless.

I don't really understand this reasoning. In the usage of toMatchObject what I always want is autocompletion + avoiding typos when defining a partial matching object against the value I pass in expect(). Again if the point of the runtime behavior is matching an object partially then I expect my type to reflect this usage. If writing expect(someObject).toMatchObject<{ foo: boolean }>({}) is accepted at runtime then TypeScript should accept it as well. I read this assertion as "I expect myObject of type T to match at least this subset", which is exactly what is happening at runtime, and there is a greater chance in my experience that you will have the type T already provided by your library/API than a custom type U which would be a handmade subset of T (because if it's not a subset then you should definitely use toEqual).
I understand that the current @types/jest implementation differs and I thought it was a good opportunity to provide a better default. If the goal is 100% backward compatibility then I'll remove the PartialDeep (and use module augmentation in my own projects to provide it as I think it's the most sensitive default 😄).
@patak-dev could you tell us which solution you want to see implemented for vitest?


Add support for JX2Antenna

Add Kerbalism support for JX2Antenna from https://github.com/KSPSnark/JX2Antenna
Configure JX2Antenna as a 1Tm High-Gain with very high power consumption, mass, and cost
JX2Antenna is configured with 12y base reliability (as opposed to 8 in other antennas). This is justified by this antenna being specifically designed to be used for long term deep space missions.
Example usage mission in Outer Planet Mods - main antenna on a satellite carrier to Plock-Karen System. Shortest time to destination is ~23 years, max distance from Kerbin ~688Gm

@ShotgunNinja I'm not sure about the current balance so feel free to do any tweaks you deem necessary before committing.

Thanks. The value seem to fit with the other antennas, so balance seem good.
In next version there will probably be some patches to do 'range scaling' on all antennas, for the current supported planet packs.


Update index.md

@MrFrawsty : Thanks for your contribution! The author(s) have been notified to review your proposed change.


NPM

Thanks for this component!
Any plans to put on NPM?
There is a similar project to this one on NPM: https://github.com/sciactive/multicarousel
But it seems to be abandoned, so it would be nice to see this one on NPM.

Hi, sorry just spotted this!
I'm working on it right now - once I'm happy with how it works as a third-party component / js component - I'll publish to github.
Thanks!

https://www.npmjs.com/package/@beyonk/svelte-carousel


Delete block by Id, and disable snap on minor block move

Would it be better to call this something like deleteBranch as it will ultimately remove the branch from that ID? eg. If we had the branch A > B > C > D, and we want to remove C, we would be left with just A > B
We could then add use deleteBlock to simply delete a single block and essentially promote the children. eg. If we had the branch A > B > C > D, and we want to remove C, we would be left with A > B > D
This would make this a little more future proof when the functionality to insert a block between 2 existing blocks is put in place

Hi @pilootchoum,
Thanks for the help, your 2nd commit working awesomely.
But still facing issue in the first commit "add deleteBlock", it's deleting inside the block elements only, block div and arrow not cleared, can you please help again.

@alyssaxuu will we have this snap on minor block move implemented?
@pilootchoum will you continue this PR?


Implement cloud flow

Cloud list

Cloud creation

Cloud sharing

Closing this, provided there is an issue tracking the sheer part of connecting to a cloud server.


Misaligned memory access with same address from different cores in same time

This is a coherency question that misaligned memory access, split into two independent memory access.
We assume misaligned memory access is supported by hardware, and there are split into two cache line requests when it crosses.
For example, there are misaligned instructions that load and store to the same memory address in different HARTs(different cores),
// We assume cache line size is 64B
core0 : LD x10, 0x03c  // two cache line access, 0x00, 0x40
core1 : SD x10, 0x03c  // two cache line access, 0x00, 0x40

We consider the following as time steps:

LD access 0x00, core0's L1D hits and gets partial data.
SD writes to 0x00 and 0x40. Note that cache line 0x00 in L1D of core0 is moved to core1.
LD access 0x40 and the cache line 0x40 moved from core1.

Obviously, in this case, LD in core0 will partially mixture the old L1D value and new SD's value.
How should RVWMO handle this kind of partial memory access inside a single instruction?

Choice A. Not allow memory updates from other HARTs until the end of single instruction behavior
And core0 either gets the complete data of core1's SD, or no SD results at all.
Choice B. The timing of memory access from other HARTs is not relevant
And core0's LD can have partially data from SD in core1.

Which is correct behavior?

There is no guarantee that the two partial loads go in any particular
order, which adds some more cases I suspect.
In the uglier case where both the load and store are misaligned (completely
or partially overlapping) and each can perform the accesses in either
order, it gets worse.
I am making an assumption that for any core, a particular order will be
followed, but it could vary from core to core.
(I would also say it hurts when you do that, so you shouldn't do that)
On Tue, Dec 5, 2023 at 11:46 PM msyksphinz-self @.***>
wrote:

This is a coherency question that misaligned memory access, split into two
independent memory access.
We assume misaligned memory access is supported by hardware, and there are
split into two cache line requests when it crosses.
For example, there are misaligned instructions that load and store to the
same memory address in different HARTs(different cores),
// We assume cache line size is 64B
core0 : LD x10, 0x03c  // two cache line access, 0x00, 0x40
core1 : SD x10, 0x03c  // two cache line access, 0x00, 0x40
We consider the following as time steps:

LD access 0x00, core0's L1D hits and gets partial data.
SD writes to 0x00 and 0x40. Note that cache line 0x00 in L1D of
core0 is moved to core1.
LD access 0x40 and the cache line 0x40 moved from core1.

Obviously, in this case, LD in core0 will partially mixture the old L1D
value and new SD's value.
How should RVWMO handle this kind of partial memory access inside a single
instruction?

OptionA. Not allow memory updates from other HARTs until the end of
single instruction behavior
And core0 either gets the complete data of core1's SD, or no SD
results at all.
OptionB. The timing of memory access from other HARTs is not relevant
And core0's LD can have partially data from SD in core1.

Which is correct behavior?
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-isa-manual/issues/1172, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJRAHIYHJKVVNHNJ23TYIAPD5AVCNFSM6AAAAABAI5ZHLSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDOOBYHAZDSNI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[DOCS] Events json in the README

Description
We can now have events in our profile json, we need to document this
Screenshots
No response
Additional information
No response

@eddiejaoude, I am interested to work on this can you explain this in detail?

This is now documented in the app itself https://linkfree.eddiehub.io/docs


elect, infosync: create Election to elect owner

What problem does this PR solve?

Issue Number: close #587
Problem Summary:
elect.Election is a general election based on etcd election. It's used for electing VIP later.
What is changed and how it works:

Create elect.Election
Move CreateEtcdServer from test file to etcd.go

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Notable changes

[ ] Has configuration change
[ ] Has HTTP API interfaces change
[ ] Has tiproxyctl change
[ ] Other user behavior changes

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Codecov Report
Attention: Patch coverage is 78.06452% with 34 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@e4b7832). Learn more about missing BASE report.

Files
Patch %
Lines

pkg/manager/elect/election.go
78.78%
24 Missing and 4 partials :warning:

pkg/manager/infosync/etcd.go
72.72%
4 Missing and 2 partials :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #588   +/-   ##
=======================================
  Coverage        ?   67.96%
=======================================
  Files           ?       77
  Lines           ?     7107
  Branches        ?        0
=======================================
  Hits            ?     4830
  Misses          ?     1934
  Partials        ?      343

Flag
Coverage Δ

unit
67.96% <78.06%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


I can view actuals in my dashboard

I can add/edit actuals on a workout, but I can't see them without going back into the form.
I'd like to be able to see them on the calendar.

Addressed in #48


throwOnImmutableMutation when using setUserContext

OS:

[ ]  Windows
[X]  MacOS
[ ]  Linux

Platform:

[ ]  iOS
[X]  Android

Output of node -v && npm -v && npm ls --prod --depth=0
v8.9.2
5.5.1
code
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
Config:
Sentry.config('https://...@sentry.io/...',).install()

I have following issue:
When I use setUserContextmethod and try to fill one textinput I get You attempted to set the key 'field' with the value' content' on an object that is meant to be immutable and has been frozen with app:///index.delta in throwOnImmutableMutation.
I use the method like it's shown in https://docs.sentry.io/clients/react-native/config/.
  const { user: { user } } = store.getState();
  const unauthID = 'unauth-' + getUniqueID();
  Sentry.config(Config.SENTRY_TRACK_URL).install();
  Sentry.setTagsContext({ environment: Config.APP_ENV });
  Sentry.setUserContext({
    id: user.id ? user.id : unauthID,
    username: user.name,
    email: user.email,
    extra: user,
  });

if I remove setUserContext call, app runs ok.
It also happened when I tried to use captureBreadcrumbs
Steps to reproduce:

start app,
first screen is showed
fill field with content
press button to continue

Actual result:

nothing happens in app
in sentry appears the error and user data is tracked correctly.

Expected result:

dispatch data to redux and navigate to next screen

Thanks!

any extra info is needed? Thanks

thank you @HazAT !


Downgrade sphinx-autodoc-typehints to 1.8.0

This fixes issue where docs will not build

Closing in favour of #258


Lower network not labelled in Harvester architecture diagram

Ref https://docs.harvesterhci.io/v1.0/#harvester-architecture
Whilst the diagram shows three networks at the top, all labelled, connecting to VMs, there appears to be a separate network at the bottom connecting to the Harvester nodes which is not labelled but is the same colour as Management Network at the top. This could cause confusion - if it's the same network then it should be one line and not two, unconnected lines or it should labelled and/or coloured differently.
Depending on the decision, there may then need to be some text to explain.

still relevant


Ejecting runtime in dev environment with updated runtime bits causes stale runtime bits to be used in emulator

Describe the bug
In developer mode (yarn start:dev) the localPublish plug-in will copy files from the Composer runtime folder into a hostedBots folder.  If a developer is working on a project and publishes it to emulator and then later updates the Composer runtime bits with a new version, the localPublish code keeps using the stale runtime bits in the hostedBots folder.
I believe this is the problem code:
https://github.com/microsoft/BotFramework-Composer/blob/main/Composer/plugins/localPublish/src/index.ts
eject: async (project, localDisk: IFileStorage) => {
const sourcePath = path.resolve(__dirname, '../../../../runtime/dotnet');
const destPath = path.join(project.dir, 'runtime');
if (!(await project.fileStorage.exists(destPath))) {
This code either needs a better check against the checksum/version/date of the bits or to avoid caching the runtime and copy the files every time.  This was particularly problematic for the Composer Core and WebApp DLLs as their versions are always 1.0.0 and only the date stamp distinguishes revs.
Version
Main branch: fd5d15a36d7e8407f47b301b05d3af548d9da776
Browser

[ ] Electron distribution
[X] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[X] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Start composer in dev mode
Eject the runtime and copy a new C# runtime for a project
Update the composer runtime components to a different version
Delete the runtime folder and go back to using the default runtime
Eject the runtime again and copy a new C# runtime again
Inspect the versions/date of the runtime bits

Expected behavior
Always have the latest runtime in copied runtimes and hosted default runtimes.

Hi @GeoffCoxMSFT , I'm not sure if I understand your problem. If you eject your runtime, you would have a copy instance of your C# runtime template, then if you make any changes to that runtime instance, composer will not update the template based on your changes. So If you delete your runtime instance and re-eject the runtime, composer will not record the changes you make to the instance, but get a brand new copy based on the template (the stale runtime you mentioned). I think this is by design.

ejected runtime deprecated.


Setting custom pagination template in Angular templates folder

Is there any way we could do this? The only thing I see to setup a custom .html file is setting the template with inline <script> tag which seems bad.. I would like to have a pagination.html file inside my Angular's templates folder (I am working in Rails fyi). Is that possible ?

Did you read this http://zizzamia.com/ng-tasty/directive/table/custom-pagination bind-template-url ?

Obviously yes. Did I miss something ?

You can set a custom template by using bind-template-url or template-url attribute.

Sorry, I am not sure you understand. In your example you have inline <script></scvript> code to set the template's url, by setting the id of the script as the template-url. I want to set the template as a file in the root of my project's folder, which is not happening. For example, there is an angular-app folder tree, with controllers, filters, directives and a templates folder with all my htmls. If I set the template-url to ../templates/my_pagination_template.html, nothing changes.

@chrisvel
I am using this feature and it works well. Here is the code piece I use:
<div tasty-pagination template-url="/assets/partials/table/pagination.html"></div>

Maybe you should recheck your url.

Thanks @vidvid :+1:


Services: Unbound DNS: Miscellaneous does not get synced to backup firewall

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues and I'm convinced that mine is new.
Describe the bug
When you run OPNsense in High Availability any changes made under Services: Unbound DNS: Miscellaneous does not get synced to backup firewall when you run Synchronize config to backup.
Affects both Private Domains and  DNS over TLS Servers.
If I'm not mistaken the Miscellaneous section was added in 20.7 so no earlier version to test against.
To Reproduce
Steps to reproduce the behavior:

Go to Services: Unbound DNS: Miscellaneous and input your config.
Click on System: High Availability: Status and start Synchronize
Check your standby host.
See error that none of your Unbound DNS: Miscellaneous config gets synced to the standby host.

Expected behavior
Both Primary and Standby host should have same configuration after sync.
Environment
OPNsense 20.7.2-amd64
FreeBSD 12.1-RELEASE-p9-HBSD
OpenSSL 1.1.1g 21 Apr 2020

https://github.com/opnsense/core/commit/09f82165593b065c016b79ba34f16be922509684 should do the trick.


Fix Simple Typo: equilavent -> equivalent

Thanks @jplonie like the suggestion - have updated.

Great! Thank you!


unbuffer stdin before get passwd from stdin

commond  LD_LIBRARY_PATH= openssl rsa -aes256 -passout stdin <<< "xxxxxx” will get pass(fun app_get_pass()) from stdin first, and then load key(fun load_key()). but it unbuffer stdin before load key, this will cause the load key to fail.
now unbuffer stdin before get pass, this will solve https://github.com/openssl/openssl/issues/19835

1.1.1 branch is security fix only. The PR needs to be created against master branch.

1.1.1 branch is security fix only. The PR needs to be created against master branch.

new PR has created master branch. Please check

Duplicate of #19851


Editing node HTML without reloading the page

Every time I edit node HTML like that:
editor.drawflow.drawflow.Home.data[id].html = "..."
I need to reload the page to see new HTML. Is there a way to edit HTML without need to reload the page?

Hi
You only pass data to export, not in editor.
View example in https://github.com/jerosoler/Drawflow/issues/252
Other option is export data an import now.


git versioning

add -g flag

inits git repo in root dir if it's not already init'd
commits local changes automatically and as they happen (fs watch)
stores each modification through the web with user info

alternatively, maybe point server at a git remote and commit directly to that.


Problem with interact option

Hello friends
There was a problem for me that I couldn't find the answer to
Although I set the value of "interact" to "true", it clicks on the sound wave play from the beginning
my constructor:
audioContext: audiocontext,
container: soundWaveContainers[index],
waveColor: "#999",
progressColor: "#00ffaf",
cursorColor: "#999",
height: 52,
mediaType: "audio",
normalize: false,
hideScrollbar: false,
mediaControls: true,
interact: true,
backend: "MediaElement",

load:
wavesurfer.load(streamURL, soundPeaks);

it clicks on the sound wave play from the beginning

can you explain, not sure what you mean.

I load the sound file with the predefined peaks with the command below:
wavesurfer[index].load(item_sound_url, item_sound_peaks, "auto");
But by clicking on the waveform when the interact value is true, the sound is played back from the beginning.
This is not a problem if I don't load the sound without predefined peaks and the sound can be easily dragged back and forth. for example:
wavesurfer[index].load(item_sound_url);


Long paths result in nonportable tar files

This isn't really a bug, but the CRAN guidelines for R packages do not like paths with long file names since technically they are not supported by the tar format, which has a 100 byte limit. Most (or all?) modern tar implementations don't have a problem with this, so the complaint is annoying, but I was wondering if there is a sensible way to shorten some of the paths in Boost.
The two that cause a problem for me in particular are these:
"boost/numeric/odeint/stepper/generation/generation_controlled_adams_bashforth_moulton.hpp"
"boost/numeric/odeint/stepper/generation/generation_runge_kutta_cash_karp54_classic.hpp"
The "generation" portion is repetitive, so perhaps that could be removed from the file names?
Sorry for the irritating complaint.
EDIT: For clarification, the paths in boost are not longer than 100 bytes, but since they're part of an R package, the full path name is longer.

We are not the only ones with this issue too. There's another R package that uses Boost, and the names need to be shortened for that as well: https://github.com/eddelbuettel/bh.

Once I get the CI system setup I can fix this for you. Are the paths short enough with just the redundant "generation" removed?

As of yesterday, there's a chance CRAN may increase this limit, so this may not be needed after all. I'll post here when I know their decision.


Allow for custom settings json file

The tool should allow for a custom json file to be used instead of looking for a default Tailor.json file in the current directory.  Example Get-Tailor -files Log.txt -settings Log.json

i implemented this in https://github.com/tglynx/TailorPosh/tree/improvements


Will not run in Windows Server 2019

ODSyncUtil.exe will not run in Windows Server 2019 abending with missing dll errors.

First message:
The code execution cannot proceed because MSVCP140.dll was not found. Reinstalling the program may fix this problem.
Second and third message:
The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem.
Is there any plan to extend to Windows Server? It is difficult as it is to run OneDrive on Windows Server (2019 - 1809), but it is quite useful to sync a shared folder (SMB) to MS Teams / SharePoint. I was looking for a tool to monitor this operation.

I installed "Microsoft Visual C++ 2015 - 2022 Redistributable" (VC_redist.x64.exe) on this particular Windows Server 2019 VM and it seems to work.

Well, it seemed to run anyway, but I have not received any expected output.
When I run with the debug switch, I get:
PS F:\OneDrive Sync Status> ./ODSyncUtil -d
2024-04-23 16:37:49.623: Command line arguments parsed
2024-04-23 16:37:49.623: Save file name:
2024-04-23 16:37:49.623: Is debug: 1
2024-04-23 16:37:49.623: Ignore quota: 0
2024-04-23 16:37:49.623: CoInitialize succeeded
2024-04-23 16:37:49.638: SyncRootReader created
2024-04-23 16:37:49.638: EnumerateSubKeys returned 1 keys
2024-04-23 16:37:49.638: Getting status for OneDrive!S-1-5-21-4157333126-712245310-4186701322-35348!Business1|ded1b978f419487cb07a2a324bce67f5
2024-04-23 16:37:49.638: SID: S-1-5-21-4157333126-712245310-4186701322-35348
2024-04-23 16:37:49.638: User: ELANCO\SVC-SAPR2R-PROD
2024-04-23 16:37:49.638: Type: Business1
2024-04-23 16:37:49.638: Current User SID: S-1-5-21-4157333126-712245310-4186701322-35348
2024-04-23 16:37:49.654: CoCreateInstance Storage Provider for OneDrive: 0x00000000
2024-04-23 16:37:49.654: QueryInterface for IStorageProviderStatusUISourceFactory: 0x80004002
2024-04-23 16:37:49.654: getInstanceStatus returned 0x80004002
2024-04-23 16:37:49.654: SyncRootReader deleted
2024-04-23 16:37:49.654: serializeStateVector returned 2 characters
[]
PS F:\OneDrive Sync Status>

Hi tpedwards,
This application uses a component that was introduced in Windows 11. Try this:
Windows 10 Additional Configuration (Don't come here if you are using it on Windows 11)
If you have success, please let me know and I update the documentation to include server 2019.
If it does not work, you need to use the previous project for Windows 10, which some people say does not work for Windows 2019.
ODSyncService

ODSyncService worked on Windows Server 2019. I will try again if my VM gets updated to Windows 2023.
Thanks,
Tom


ISPN-16279 Non blocking methods for Query API

Add non blocking methods that can be used easily by the RemoteCache Query API
https://issues.redhat.com/browse/ISPN-16279

Merged, thanks @pruivo


component.json error

component.json is broken
it needs a scripts entry, something like:
"scripts":["queue.js"]
otherwise, component install creates an empty directory with just the component.json file.

It works, but component is dead.  Sorry about that.


Web- Send ID instead of UUID as content ID to npaw

As an admin, I want all previous and future content ID from npaw to be using episode ID instead of UUID, so I could join tables easily.

https://linear.app/magehandas/issue/MAG-11/set-up-db


Replace absolute tolerance by relative tolerance on distances in similarities method

The g-function methods use similarities to accelerate the calculation of thermal response factors (i.e. the finite line source solution) by applying the same values of thermal response factors to borehole pairs (of equal dimensions) that share similar distances, under some tolerance. At the moment the tolerance on radial distances is absolute with a default value of 10 cm. This means that distances are deemed equal if their values are within 10 cm of each other, no matter if the distance is 10 m or 100 m.
A relative tolerance (e.g. 1 %) may yield results that are as accurate much faster.
This issue is to replace the absolute tolerance on distances by a relative tolerance and validate that there is no loss in accuracy.

By relative tolerance do you mean an adaptive tolerance based on distance? Here's a table for distance and tolerances by the way I understand the issue:

Distance (m)
tolerance - 1% (m)
tolerance (mm)

1
0.01
10

10
0.1
100

100
1
1000

1000
10
10,000

Is this specifically referring to the absolute tolerance εd,abs in Agorithm 1: Identification of distance groups in Cimmino (2018)?

By relative tolerance do you mean an adaptive tolerance based on distance? Here's a table for distance and tolerances by the way I understand the issue:

Distance (m)
tolerance - 1% (m)
tolerance (mm)

1
0.01
10

10
0.1
100

100
1
1000

1000
10
10,000

Is this specifically referring to the absolute tolerance εd,abs in Agorithm 1: Identification of distance groups in Cimmino (2018)?

Exactly.
Here is a new version of the figure of Cimmino (2018) for the comparison of steady-state values of rectangular field against the SBM method. The "analytical g-function" values are evaluated with the new tolerance.

Exactly.
Here is a new version of the figure of Cimmino (2018) for the comparison of steady-state values of rectangular field against the SBM method. The "analytical g-function" values are evaluated with the new tolerance.

This time for times -9 < ln(t/ts) < 5:

This time for times -9 < ln(t/ts) < 5:

I updated the last figure after finding an error in the generation script caused by an undocumented issue in the g-function calculations : the g-function is returned as int if the time vector is an array or a list of int.
I opened issue #64 to fix this issue.

I updated the last figure after finding an error in the generation script caused by an undocumented issue in the g-function calculations : the g-function is returned as int if the time vector is an array or a list of int.
I opened issue #64 to fix this issue.


Rename wlr_surface_get_extends() to wlr_surface_get_bounding_box()

Extend (verb): cause to cover a wider area; make larger.

I think the original intention was extents.
(might make the change a little less confusing in case someone is used to the name; though i personally have nothing against bounding_box)

I think the original intention was extents.

At first I thought "extents" was a bit wrong (and should have been just "extent" instead), but now I see that pixman_region32_extents() exists, so I'll just rename the function to wlr_surface_get_extents().

Similar to https://github.com/swaywm/wlroots/pull/2434. Not sure the breakage is worth it.


Add search and link box to add Data Element to Attribute

Currently when creating a new Data Element, the Attribute link is taken from the "Linked Attributes" field in the profile.
It is added as plain text so can be added incorrectly. We only know whether it is correct when we look at the preview.
We would like it to be changed Post Migration so there is a search and link box so we can can select the item and therefore know the link will work on the preview.

Mauro works differently now so this can be closed.


[SPARK-30700][ML] NaiveBayesModel predict optimization

What changes were proposed in this pull request?
var negThetaSum is always used together with pi, so we can add them at first
Why are the changes needed?
only need to add one var piMinusThetaSum, instead of pi and negThetaSum
Does this PR introduce any user-facing change?
No
How was this patch tested?
existing testsuites

Test build #117711 has started for PR 27427 at commit 7bee0b0.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/22471/
Test PASSed.

Test build #117711 has finished for PR 27427 at commit 7bee0b0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/117711/
Test PASSed.


Datetimepicker can't pop up the calendar

datetimepicker: { timepicker: false, format : "Y/m/d"}
Does this plugin support calendars?

Yes, that should work. What datepicker did you linked?
Il lun 1 lug 2019, 11:55 Hailong Yu<EMAIL_ADDRESS>ha scritto:

datetimepicker: { timepicker: false, format : "Y/m/d"}
Does this plugin support calendars?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/KasperOlesen/DataTable-AltEditor/issues/32?email_source=notifications&email_token=ACLII2AV6D77OASNX5RFQP3P5HH7TA5CNFSM4H4QWQPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4TBRBQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLII2EVABE6775QNMHQEZLP5HH7TANCNFSM4H4QWQPA
.

I quote:
Demo.htmleaf.com/1706/201706191524/dist/js/bootstrap-datepicker.min.js
Http://demo.htmleaf.com/1706/201706191524/dist/locales/bootstrap-datepicker.zh-CN.min.js
Http://demo.htmleaf.com/1706/201706191524/dist/css/bootstrap-datepicker3.css

Calendar can be popped up, click date can't be saved into form

Example with the datetimepicker did not work for me either, no pop up.

You are right, there's something broken :(

Issue should be solved. Can anybody confirm?


°F gets extra conversion in Home

I assume with the release of these in the US there is an issue with the use of °F instead of C. The temperature comes in to Home with all of the temperatures from the app converted again. Example - my AirzoneCloud is set for F and heat set to 68F. In the Home it treats the as a C temperature and converts it again to F resulting in showing 155F in Home.
I temporarily set my airzonecloud in C and restarted the child bridge. Everything comes in correctly in home as the proper F temperature but won't be able to leave it that way. Any help / data / debug you need let me know!

Hello @sgeba, could you send me the logs with the debug mode on in the plugin to check what is getting from your Airzone cloud, thanks in advance.

homebridge-airzone.log.txt
don't know what data in here is sensitive if at all, I removed a few of the auth things, but the calls are all still there, let me know if you need something different.

Was the attached data any help?

Hello, I checked your logs and I could see that your Airzone provide data in both unit (C & F). I saw an error setting the temperature with F and the error is regarding a maximum in C.
I'm going to test it with my phone in F as I guest that it will be the problem.
Let me some time, I will be back with news a son as possible.

Hey there. Was just wondering if you had any input on this. Still an ongoing issue for me.

Hi! I assume you have configured the temperature unit by system preference and also in my home app, right? I was checking in this way and as I could see the problem is that the iPhone always uses celsius. I'm going to adapt the plugin in this way but I need a bit of time to change all to only work with celsius and remove the option to change the unit.

Fixed with version 0.3.3

Fixed with version 0.3.3


[Android Editor] Error parsing editor_settings-4.3.tres

Tested versions

Reproducible in Godot Android Editor 4.3 beta 2
Not reproducible in Godot Android Editor 4.2.2 stable

System information
Android 12, Android 14
Issue description
There is a regression that causes the editor_settings-4.3.tres file to be randomly truncated. This seems to be a race condition as the issue doesn't always occur, but when it does, it first causes the editor to crash when re-opening the project, then it causes the editor to crash every time it's opened with the following error logs:
E  USER ERROR: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres:1 - Parse Error:
E     at: open (scene/resources/resource_format_text.cpp:1056)
E  USER ERROR: Failed loading resource: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres. Make sure resources have been imported by opening the project in the editor at least once.
E     at: _load (core/io/resource_loader.cpp:282)
A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8173 (GLThread 30), pid 8145 (editor.v4.debug)
---------------------------- PROCESS STARTED (8196) for package org.godotengine.editor.v4.debug ----------------------------
A  Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 8173 (GLThread 30), pid 8145 (editor.v4.debug)

The editor_settings-4.3.tres file ends up empty.
Steps to reproduce

Download Godot Android Editor 4.3 beta 2
Load a sample project from the asset library. E.g: https://godotengine.org/asset-library/asset/2174
Open the project in the editor
After the project has loaded, select Project -> Quit to project list to return to the project list
In the project list, press the back button to exit the editor
Re-open the editor
Re-launch the sample project

Note: As mentioned in the description, this seems to be a race condition so it may take several attempts before it repros, and even then it's not guaranteed to repro
Minimal reproduction project (MRP)
https://godotengine.org/asset-library/asset/2174

I encountered this problem "naturally" (ie not while trying to reproduce it on purpose) on the Meta Quest.
After cleaning things up so the editor would run again, I attempted to reproduce the problem on purpose by following the "Steps to reproduce" here and was unable to after many tries.

We recently updated how we write the editor settings file in https://github.com/godotengine/godot/pull/90875, could the issue be related to that?
cc @akien-mga @KoBeWi

We recently updated how we write the editor settings file in #90875, could the issue be related to that?

That's possible, but given how difficult the issue is to reproduce, it's tricky to debug.
I don't see at a glance what could cause a race condition / fail specifically on Android and not other platforms in that code.
Maybe some of the DirAccess APIs like dir_exists_absolute don't always work on Android with scoped storage? Still would be weird that it works sometimes and not other times.
I've tried to trigger the bug a dozen times on a Pixel 7a with 4.3-beta3 and didn't succeed so far.

I see @m4gr3d's build is named org.godotengine.editor.v4.debug - is that a custom debug build? Was that also your case when reproducing the bug @dsnopek?
If it's a race condition, it might be more prominent / only present in unoptimized debug builds and not in official 4.3.beta snapshots.

I tested on my Android Samsung A14 with Android 14.
I was able to reproduce the problem with a custom debug build from master after a couple of "open a project, go back to Project List, reopen project, etc...". Sometimes it needs at least 10 retries.
When the problem occurs the content of editor-settings-4.3.tres is empty.
I added some debug print in EditorSettings::save and each time the problem happens when the project is being opened. The EditorSettings::save method begin but never ends before the process is killed by Android.
When it works:
07-20 23:12:27.156 11685 11730 I godot   : Editing project: /storage/emulated/0/Documents/godot-test
07-20 23:12:27.223 11685 11730 I godot   : Saving editor settings...
07-20 23:12:27.225 11685 11730 I godot   : Saving: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres
07-20 23:12:27.236 11685 11730 I godot   : Saving editor settings... DONE!
07-20 23:12:27.253 11755 11755 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
07-20 23:12:27.527 11794 11844 I godot   : Godot Engine v4.3.beta.custom_build.a0943acda (2024-07-19 15:31:49 UTC) - https://godotengine.org
07-20 23:12:27.627 11794 11844 I godot   : Vulkan 1.1.177 - Forward Mobile - Using Device #0: ARM - Mali-G57 MC2
07-20 23:12:28.905 11794 11844 I godot   :
07-20 23:12:29.144 11794 11844 I godot   : Selected screen scale:  1.79999995231628
07-20 23:12:29.312 11794 11844 I godot   : Selected screen scale:  1.79999995231628
07-20 23:12:37.755 11794 11844 I godot   : Saving editor settings...
07-20 23:12:37.755 11794 11844 I godot   : Saving: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres
07-20 23:12:37.760 11794 11844 I godot   : Selected screen scale:  1.79999995231628
07-20 23:12:37.771 11794 11844 I godot   : Saving editor settings... DONE

When it corrupts the settings file:
('Saving editor settings... DONE!' is never printed and afterward the file is empty. I printed the content of the file at the line 'USER ERROR: Content:')
07-20 23:19:22.068 15449 15499 I godot   : Editing project: /storage/emulated/0/Documents/godot-test
07-20 23:19:22.142 15449 15499 I godot   : Saving editor settings...
07-20 23:19:22.143 15449 15499 I godot   : Saving: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres
07-20 23:19:22.153 15547 15547 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
07-20 23:19:22.503 15590 15639 I godot   : Godot Engine v4.3.beta.custom_build.a0943acda (2024-07-19 15:31:49 UTC) - https://godotengine.org
07-20 23:19:22.579 15590 15639 I godot   : Vulkan 1.1.177 - Forward Mobile - Using Device #0: ARM - Mali-G57 MC2
07-20 23:19:23.989 15590 15639 I godot   :
07-20 23:19:24.252 15590 15639 E godot   : USER ERROR: ERROR RESOURCE: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres
07-20 23:19:24.252 15590 15639 E godot   :    at: open (scene\resources\resource_format_text.cpp:1061)
07-20 23:19:24.253 15590 15639 E godot   : USER ERROR: Content:
07-20 23:19:24.253 15590 15639 E godot   :    at: open (scene\resources\resource_format_text.cpp:1064)
07-20 23:19:24.253 15590 15639 E godot   : USER ERROR: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres:1 - Parse Error:
07-20 23:19:24.253 15590 15639 E godot   :    at: open (scene\resources\resource_format_text.cpp:1065)
07-20 23:19:24.254 15590 15639 E godot   : USER ERROR: Failed loading resource: /data/data/org.godotengine.editor.v4.debug/files/config/godot/editor_settings-4.3.tres. Make sure resources have been imported by opening the project in the editor at least once.
07-20 23:19:24.254 15590 15639 E godot   :    at: _load (core\io\resource_loader.cpp:284)

To test my hypothesis, I added a 5 sec wait time in ResourceFormatSaverTextInstance::save after opening the file in write mode. After that, I was able to reproduce the problem almost each time, just by opening a project from the Project Manager. The project crashes on opening the first time.
I think Android does not always wait for all the resources to finish there destruction before killing the process. The EditorSettings::save that corrupts the file is in EditorSettings::destroy which is called in ProjectManager::~ProjectManager. Weirdly, the EditorSettings::destroy in EditorNode::~EditorNode seems always to be executed completely.
I'm absolutely not an Android programmer so I don't known if something could be done to force Android to wait before killing the process, but I guess the easy fix should be to remove the EditorSettings::destroy in the destructor of ProjectManager::~ProjectManager and execute it elsewhere (I'm not even sure it is useful).
I let an expert work on that, I hope my debugging could help with this Release Blocker issue.

Maybe Godot should not react so sensitively if the file editor_settings-4.3.tres is faulty and ask the user?
Try again or load default settings.

I could also reproduce it from 1 second delay. If the delay is removed, the file remains faulty on Android. On Windows 11 there are only problems as long as the delay is present. (Windows Defender could possibly also cause a delay).
Error ResourceFormatSaverTextInstance::save(const String &p_path, const Ref<Resource> &p_resource, uint32_t p_flags) {
	if (p_path.ends_with(".tscn")) {
		packed_scene = p_resource;
	}

	Error err;
	Ref<FileAccess> f = FileAccess::open(p_path, FileAccess::WRITE, &err);
	ERR_FAIL_COND_V_MSG(err, ERR_CANT_OPEN, "Cannot save file '" + p_path + "'.");
	Ref<FileAccess> _fref(f);

	//print_line("BEGIN DELAY: ", OS::get_singleton()->get_ticks_usec());
	//OS::get_singleton()->delay_usec(1000000); // 1 000 000 = 1 sec
	//print_line("END DELAY: ", OS::get_singleton()->get_ticks_usec());

There is already a fallback to manage if the settings resource is invalid but it was broken by #90875.
This line was added before checking if the resource is null in EditorSettings::create:
singleton->set_path(get_newest_settings_path()); // Settings can be loaded from older version file, so make sure it's newest.

That could cause the editor to crash and never do the goto fail:
singleton = ResourceLoader::load(config_file_path, "EditorSettings");
singleton->set_path(get_newest_settings_path()); // Settings can be loaded from older version file, so make sure it's newest.

if (singleton.is_null()) {
	ERR_PRINT("Could not load editor settings from path: " + config_file_path);
	goto fail;
}

I'll create a PR to fix that! Technically, it could also happen on any platform. That will not fix the problem where the editor settings file get corrupted on Android, by at least, the editor will no crash on startup.

I think Android does not always wait for all the resources to finish there destruction before killing the process. The EditorSettings::save that corrupts the file is in EditorSettings::destroy which is called in ProjectManager::~ProjectManager. Weirdly, the EditorSettings::destroy in EditorNode::~EditorNode seems always to be executed completely.

That reminds me of #84839, and bug reports in the past (maybe some still current) about the Editor Settings getting wiped for no obvious reason when closing or opening the editor.
Sounds like we should look into making things more reliable when it comes to destroying EditorSettings at the right time.

Sounds like we should look into making things more reliable when it comes to destroying EditorSettings at the right time.

Shouldn't the filesystem/on_save/safe_save_on_backup_then_rename editor setting prevent this type of issues?

I'll create a PR to fix that! Technically, it could also happen on any platform. That will not fix the problem where the editor settings file get corrupted on Android, by at least, the editor will no crash on startup.

Thanks for the fix @Hilderin. I think I may have an idea what's the root of the issue on Android. I'll work on a fix.

Why is this closed if the error itself is not fixed, just the crash?

I'll create a PR to fix that! Technically, it could also happen on any platform. That will not fix the problem where the editor settings file get corrupted on Android, by at least, the editor will no crash on startup.

Thanks for the fix @Hilderin. I think I may have an idea what's the root of the issue on Android. I'll work on a fix.

I believe I have a fix for the root cause with https://github.com/godotengine/godot/pull/94661. Still need to do some validation tests to confirm, at which point I'll take the PR out of draft.
@Alex2782 Can you check if https://github.com/godotengine/godot/pull/94661 addresses the issue when you add the 1 second delay.


Sometimes exception loading assembly when running VSO online build in Run Functional Tests step

Hi,
I have a sometime issue when running build on VSO online in the Run Functional Tests step.
Run 10 times this issue happened about 3-4 times
I found the exception in DTAExecutionHost.exe log file when loading DLL.
The full log in attached file.
Thank you for any help.
E, 10504, 18, 2016/06/24, 13:28:24.285,<PHONE_NUMBER>89, DTAExecutionHost.exe, TAEF Engine Execution: System.IO.FileNotFoundException: Could not load file or assembly 'LogiGear.TestArchitect.TAIntegrationLoader, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=12834fd652593218' or one of its dependencies. The system cannot find the file specified. File name: 'LogiGear.TestArchitect.TAIntegrationLoader, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=12834fd652593218'    at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)    at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)    at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)    at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)    at System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Int32 attributeCtorToken, Boolean mustBeInheritable)    at System.Reflection.CustomAttribute.IsDefined(RuntimeMethodInfo method, RuntimeType caType, Boolean inherit)    at System.Reflection.RuntimeMethodInfo.IsDefined(Type attributeType, Boolean inherit)    at Microsoft.VisualStudio.TestPlatform.MSTestFramework.ReflectHelper.IsAttributeDefined(MemberInfo memberInfo, Type attributeType, Boolean inherit)    at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.UpdateInfoIfAssemblyInitializeMethod(TestAssemblyInfo assemblyInfo, MethodInfo methodInfo, Type assemblyInitializeType)    at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.GetAssemblyInfo(Type type)    at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.CreateClassInfo(Type classType, TestMethod testMethod)    at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.GetClassInfo(TestMethod testMethod)    at Microsoft.VisualStudio.TestPlatform.MSTestFramework.TypeCache.GetTestMethodInfo(TestMethod testMethod, Boolean isDataSource, TestContextImplementation testContext)    at Microsoft.VisualStudio.TestPlatform.MSTestFramework.UnitTestRunner.RunInternal(TestMethod testMethod, Boolean isDataDriven, Dictionary2 runParameters)
at Microsoft.VisualStudio.TestPlatform.MSTestFramework.UnitTestRunner.RunSingleTest(String name, String fullClassName, Boolean isAsync, Dictionary2 runParameters)    at Microsoft.VisualStudio.TestPlatform.MSTestFramework.UnitTestRunner.RunSingleTest(String name, String fullClassName, Boolean isAsync, Dictionary2 runParameters)
at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteTests(IEnumerable1 tests, IRunContext runContext, ITestExecutionRecorder testExecutionRecorder, UnitTestRunner testRunner, TmiTestRun tmiTestRun)    at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteDurontoTestsInternal(IEnumerable1 tests, IRunContext runContext, ITestExecutionRecorder testExecutionRecorder, String source, TestRunDirectories runDirectories, TmiTestRun tmiTestRun)
at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteDurontoTests(IEnumerable1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, String source, TestRunDirectories runDirectories, TmiTestRun tmiTestRun)    at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteTests(IEnumerable1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunDirectories runDirectories, Boolean isDeploymentDone, String source)
at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.ExecuteTests(IEnumerable1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunDirectories runDirectories, Boolean isDeploymentDone)    at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MixedModeExecutor.RunTests(IEnumerable1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunCancellationToken cancellationToken)
at Microsoft.VisualStudio.TestPlatform.Extensions.VSTestIntegration.MSTestExecutor.RunTests(IEnumerable1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle)    at WEX.TestExecution.ExecutionPlugin.ExecuteTests(IntPtr context, IntPtr logSessionPtr, IDictionary2 rockSteadySettings)
at WEX.TestExecution.InteropMethods.ExecuteTests(String[] rockSteadySettings, Int32 rockSteadySettingsSize, IntPtr context, IntPtr logSessionPtr)

DTAExecutionHost.exe - Log.txt

@Jerry06
Is 'LogiGear.TestArchitect.TAIntegrationLoader' your dll? It seems like it is missing on the machines. Are the deployment/copy steps running properly?
Thanks!

Yes it is my dll, you can see my attached picture, i have 4 steps :

Build solution
Copy file
Deploy test agent
Run function test
Step 1,2,3 success but failed in step 4
This is sometimes not always.

Looks like you have set up your own agent. When you see the error, can you check to see if the file is present and accessible? Maybe call into vstest.console.exe with the file name and see what happens. Thanks!

Thanks for your reply
After running failed, i have run with vstest.console.exe and it passed as attached image

So i am thinking issue happened from DTAExecutionHost.exe?

Hi @atinb , @nigurr , do you have any update for this issue or any work around solution ?

Can you please attach the DTAExecution Host log? Please remove previous logs from it.

hi @nigurr , this is my new log
DTAExecutionHost.exe - Copy.log.txt

From the logs,
2016/07/04, 16:59:21.868,<PHONE_NUMBER>20, DTAExecutionHost.exe, TAEF Engine Execution: System.IO.FileNotFoundException: Could not load file or assembly 'LogiGear.TestArchitect.TAIntegrationLoader, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=12834fd652593218' or one of its dependencies. The system cannot find the file specified.
One of the dependent DLLs or Test related DLLs are missing. Please copy all required DLLs to test machines

I checked, the TAIntegrationLoader is existed, and TAIntegrationLoader is not depend related DLL,
btw running with vstest.console.exe the test is passed, you can see image in previous post.
Any more details i need to provide ?
Thanks,

Can you share your Build config?

As below:

Hi,
From the logs, we can observe one thing, the Test filter you have applied is loading C:\test\Viet1\obj\Release\Viet1.dll too. This is where the loading of dependent DLL is failing.
You are running VsTest against bin folder, where dependent DLL might be existing.
Can you change your Run Functional Task definition to run tests under bin folder only

I will change to bin folder and try again. But the filter "-\obj*" is not exclude obj folder?
i used  -\obj* filter in https://www.visualstudio.com/en-us/docs/build/steps/test/run-functional-tests

Thank for your reply,
After i changed to bin folder, this issue did not happen.
But if i am using drop location C:\test, how to filter exclude all obj folders ?
Both  -\obj**  and  -**\obj** did not work

Hi,
It's documentation defect, we will be fixing that. Currently we don't support exclude functionality in run functional tests.
You can use "Copy File" task to copy the required DLLs from bin folder to test folder which supports exclude/include functionality.

Hi,
After followed up your guide, this issue above was resolved. But we're facing another issue is that: all build steps in the build definition was completed but the vNext build shows the error message "The job running on agent has exceeded the maximum execution time". You can refer to the picture below for more detail:

In additional information, our test suite is small and this issue happens when we queued build in more than 10 times.
Could you please take a look on this issue?


Update garray_sorted_any.go

bugfix: avoid overflow

Codecov Report

Merging #979 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #979      +/-   ##
==========================================
- Coverage   69.36%   69.35%   -0.01%
==========================================
  Files         350      350
  Lines       24691    24691
==========================================
- Hits        17126    17125       -1
- Misses       6152     6153       +1
  Partials     1413     1413

Impacted Files
Coverage Δ

container/garray/garray_sorted_any.go
91.26% <100.00%> (ø)

container/gtree/gtree_btree.go
88.16% <0.00%> (-0.25%)
:arrow_down:

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 176dcdc...ed4a70d. Read the comment docs.


fix #2 - issue with download.sh

This PR fixes problem with install;

It's getting late, but implementation should work now - i still have to do some manual testing on Ubuntu before i can merge it;

Will check changes on Docker machine


ENH: Performance improvements in scipy.linalg.special_matrices

My first PR here. I care about performance, so hopefully my requests would be focused on that aspect. I figured SciPy could use some performance improvements.
Basically two folds of changes with this PR for four functions :
I. scipy.linalg.special_matrices.py/tri : The crux of the implementation is just one line, which is improved with a better use of memory. The performance scales very well across all datasizes, with a speedup over 2.3x on decent and higher sized arrays. Some timings are presented next for reference -
In [1190]: N, M, k = 5000, 5000, 10

In [1192]: %timeit tri(N, M, k)
      ...: %timeit np.greater_equal.outer(np.arange(k,N+k), np.arange(M))
      ...:
10 loops, best of 3: 47.9 ms per loop
100 loops, best of 3: 19.6 ms per loop

In [1193]: N, M, k = 50, 50, 2

In [1194]: %timeit tri(N, M, k)
      ...: %timeit np.greater_equal.outer(np.arange(k,N+k), np.arange(M))
      ...:
100000 loops, best of 3: 7.41 µs per loop
100000 loops, best of 3: 5.4 µs per loop

II. Next up, we are using numpy.lib.stride_tricks.as_strided for striding and thus achieving performance benefits. This works well for toeplitz, circulant and hankel. Some timings -
a. scipy.linalg.special_matrices.py/circulant : 4x+ speedup here and scales well again.
In [40]: from scipy.linalg import circulant

In [41]: a = np.random.randint(0,9,(5000))

In [42]: %timeit circulant(a)
10 loops, best of 3: 75.5 ms per loop

In [43]: %timeit circulant_new(a)
100 loops, best of 3: 18.8 ms per loop

In [44]: a = np.random.randint(0,9,(50))

In [45]: %timeit circulant(a)
10000 loops, best of 3: 21.8 µs per loop

In [46]: %timeit circulant_new(a)
100000 loops, best of 3: 9.77 µs per loop

b. scipy.linalg.special_matrices.py/toeplitz : Similar numbers on performance.
c. scipy.linalg.special_matrices.py/hankel : Similar numbers on performance.

Seems like I missed out editing one comment in scipy.linalg.special_matrices.py at lines 198,199 for the function toeplitz and should be the following -
# Form a 1D array containing a reversed c followed by r[1:] that could be
# strided to give us toeplitz matrix

I haven't tested thoroughly but if others are happy with playing with stride fire, it looks good to me.
The SO reference is not needed though. It's just an explanation of the code but not necessarily the algorithm or the theory which is not applicable here anyways.

@ilayn Thanks for the feedback! Well, on the reference, since most of the code is taken from the referenced SO post, I though it's a good practice to provide the attribution. Seen few before.

Ah let me reword it. I didn't make myself clear. Referencing is of course very important.
Imagine a user clicks that link from the documentation and goes to your answer. S/he won't see the relation between circulant matrices and that SO post unless goes into the source code. That's what I meant. Otherwise SO or not online sources are also quite valuable. Your example is also inside a private function so it clarifies an implementation detail.

It's also useful to note that everyone invents nice tricks that they
reuse when writing code. Usually, these don't cross the line of being
noteworthy enough for needing a citation.

@ilayn @pv I guess it doesn't matter in this case, because I am the SO poster as well. Should I edit out that Reference section?

@droyed yes, please remove the SO reference
Also, given that this is a performance improvement, you may want to add a benchmark that covers the speedup. It would go in benchmarks/benchmarks/linalg.py

@rgommers On the timing results that I showed earlier were done in a separate script in which I had both the current version of SciPy (without my commits) and my commits as two separate functions. For example, I had : circulant (SciPy current version without my changes) and circulant_new being my committed implementation. So, to replicate those same benchmarking steps, I would then need to keep both the versions. I am not clear on how to do so. Guide me how to do those in benchmarks/benchmarks/linalg.py?

So, to replicate those same benchmarking steps, I would then need to keep both the versions.

You don't have to. You only need to benchmark the circulant function. The way the benchmarking system works is that it can be run for any revision, and the result of each benchmark will be stored. Then when it's run for a future revision, the new result is stored. If time_new > time_old (with some tolerance), it is flagged as a performance regression. Results will be like so: http://pv.github.io/scipy-bench/
So concretely:

after line 12, add from scipy.linalg import circulant (it's within the try-except to ensure that benchmarks run on old revisions as well, circulant was added in 0.16.0).
add a new benchmark with def time_circulant, followed by the code you want to time. The params thing you see in some other benchmarks is optional, that's for if you want to for example run the same benchmarks with different size input arrays.

Benchmarks added.

@droyed I think if we fix the reference issue this is good to go. Would you agree?


MySQL connect timeout exceeded should result in a re-connect, but it does not

Laravel Version
10.27.0
PHP Version
8.1.11
Database Driver & Version
MySQL
Description
The DB connector code is meant to retry failed connections, but failing to connect due to a connect timeout is not retried. I have observed this on MySQL, but possibly other drivers suffer the same issue.
Steps To Reproduce
Using the mysql driver, set the host to google.com. Only one attempt is made to connect to the DB because tryAgainIfCausedByLostConnection determines that message SQLSTATE[HY000] [2002] Operation timed out should not be re-tried. I think the tryAgainIfCausedByLostConnection logic is great for re-connecting post-connect, but is not so good for retrying the initial connect. I think we need to add additional message matching specifically for the connector code, only. A timeout should not otherwise be retried, since that could result in double inserts, for example.

This is interesting and simple in original concept, but comes with some caviats.
These issues may be ignorable in original draft when getting review on concept, but I think should be thought out (or accounted for) in the final PR.
I hope these don't prevent anyone from contributing, but instead just allows someone to be able to tackle it knowing some of the edge cases.
Wrinkles that add to the complexity:

Database transactions build up a state, if the connection goes away, that state is purged. A reconnection would not have this state.
Database variables if set will not persist on a reconnection. These are not currently handled within Laravel itself, so would be difficult to track currently.
Temp Tables are temporary tables that are selected into. These are connection dependent, so once a connection is dropped, they go away. They are not supported directly by Laravel, so are difficult to track currently.

Possible solutions:
Database Transactions
Currently Laravel tracks these, so it like the insert counter, we could rely on a counter for that.
Database Variables
We could either add first class support for these, and thus make them more trackable (like a counter). Or we can say that since they are not first class citizens, they should not be used at all.
Temp Tables
At least in my experience these are rarely used. Ignoring these could be somewhat safe, but may more mean this behavior needs to be more configurable?
Dealing with more than one wrinkle at once
Maybe mark the connection as not reconnnectable once any raw query is issued.

Closing this issue because it's inactive, already solved, old or not relevant anymore. Feel to open up a new issue if you're still experiencing this.

Is not solved and is still relevant.

@GrahamCampbell going to close this one now as it's been open for too long. Seems we haven't gotten other reports about this.


Frequency label display is fixed instead of absolute, which causes it to "float"

Description
In version 6.2.0, frequency label display is fixed instead of absolute to enable consistent size on hi-dpi displays. As a result, the label "floats" as the page gets scrolled up and down
Wavesurfer.js version(s):
6.2.0
Browser and operating system version(s):
Chrome version Version 100.0.4896.127
Code and behaviour needed to reproduce the issue:
See example here: https://wavesurfer-js.org/example/spectrogram/index.html
Behaves similarly in the application I am building.

I came across this in developing my own app, and have submitted a (miniscule) PR with a fix. In the meantime, you can workaround with CSS:
spectrogram .spec-labels {    position:absolute !important; }

I guess I figured it out.
If you have one waveform + spectrogram, simply use:
wavesurfer.on('ready', function(){
     document.querySelector(".spec-labels").style.position = 'absolute'
})

In my case i had many waveforms and spectrograms saved into wavesurfer, so:
    wavesurfer[index].on('ready', function(){
        var labels = document.querySelectorAll(".spec-labels")
        labels.forEach(label => {
            label.style.position = 'absolute'
          });
    })


[Bug] [未复现/Unreproduced] Starward 后台异常反复获取焦点 Get Focus from background abnormally

Checklist

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

Description
2023/12/15 00:45(UTC+8) 左右频繁出现前台窗口失焦情况（截图1），大约十几秒一次。
尝试用python和win32api定时获取前台窗口的进程id发现是Starward（截图2-4）。
此时Starward在后台运行，游戏未运行，任务管理器中发现了WebView2残留进程（截图5、6），应该是抽卡记录获取留下来的。
重新打开Starward界面再关闭，获取焦点的情况消失，目前没有复现。
Reproduction Steps
暂未发现复现方法
Expected Behavior
No response
Screenshots

Starward Version
0.10.6-preview.1
Windows Version
22631.2861
Log

[11:44:24.398] [INFO]
Welcome to Starward v0.10.6-preview.1
System: Microsoft Windows NT 10.0.22631.0
Command Line: "C:\Program Files\Starward\app-0.10.6-preview.1\Starward.dll"

[11:44:24.448] [INFO] Starward.Services.DatabaseService
Database path is 'C:\Program Files\Starward\data'

[11:44:24.475] [INFO] Starward.Services.DatabaseService
Database version is 7, target version is 7.

[11:44:24.587] [INFO] Starward.Pages.MainPage
Select game region is hk4e_cn

[11:44:24.604] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hk4e_cn

[11:44:25.549] [INFO] Starward.Pages.LauncherPage
Game install path hk4e_cn: "E:\Genshin Impact Game"

[11:44:25.606] [INFO] Starward.Services.DownloadGameService
Local game version is "4.2.0" (gameBiz: hk4e_cn)

[11:44:25.659] [WARN] Starward.Services.GameService
Game uninstalled path not found (hk4e_global)

[11:44:25.659] [WARN] Starward.Services.GameService
Game uninstalled path not found (hk4e_cloud)

[11:44:25.659] [WARN] Starward.Services.GameService
Game uninstalled path not found (hkrpg_global)

[11:44:25.660] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_cn)

[11:44:25.660] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_global)

[11:44:25.660] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_jp)

[11:44:25.661] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_kr)

[11:44:25.662] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_overseas)

[11:44:25.663] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_tw)

[11:44:26.114] [INFO] Starward.Services.UpdateService
Start to check update (Preview: True, Arch: X64)

[11:44:27.487] [INFO] Starward.Services.GameService
Start game (hk4e_cn)
path: "E:\Genshin Impact Game\YuanShen.exe"
arg: "-popupwindow -screen-fullscreen 0 -screen-height 1440 -screen-width 2560"

[11:44:27.668] [INFO] Starward.Pages.LauncherPage
Game started ("YuanShen", 22896)

[11:44:28.679] [INFO] Starward.Services.UpdateService
Current version: "0.10.6-preview.1", latest version: "0.10.6-preview.1", ignore version: null

[11:44:29.691] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hk4e_cn, 22896)

[11:51:52.565] [INFO] Starward.Pages.LauncherPage
Game process exited

[11:52:24.470] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[11:52:24.476] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[11:52:24.565] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[11:52:24.610] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[11:52:25.465] [INFO] Starward.Services.GameService
Start game (hkrpg_cn)
path: "H:\Star Rail Game\StarRail.exe"
arg: ""

[11:52:25.581] [INFO] Starward.Pages.LauncherPage
Game started ("StarRail", 5272)

[11:52:27.593] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hkrpg_cn, 5272)

[11:52:28.139] [INFO] Starward.Pages.MainPage
Navigate to "GameNoticesPage" with param hkrpg_cn

[11:52:32.962] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[11:52:33.052] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[11:52:33.063] [INFO] Starward.Pages.LauncherPage
Game is running ("StarRail", 5272)

[11:52:33.089] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[12:00:14.523] [INFO] Starward.Pages.LauncherPage
Game process exited

[12:16:21.472] [INFO] Starward.Pages.MainPage
Change game region to hk4e_cn

[12:16:21.477] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hk4e_cn

[12:16:21.562] [INFO] Starward.Pages.LauncherPage
Game install path hk4e_cn: "E:\Genshin Impact Game"

[12:16:21.568] [INFO] Starward.Services.DownloadGameService
Local game version is "4.2.0" (gameBiz: hk4e_cn)

[13:36:47.488] [INFO] Starward.Services.GameService
Start game (hk4e_cn)
path: "E:\Genshin Impact Game\YuanShen.exe"
arg: "-popupwindow -screen-fullscreen 0 -screen-height 1440 -screen-width 2560"

[13:36:47.659] [INFO] Starward.Pages.LauncherPage
Game started ("YuanShen", 368)

[13:36:49.678] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hk4e_cn, 368)

[13:46:58.261] [INFO] Starward.Pages.LauncherPage
Game process exited

[14:29:54.505] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[14:29:54.513] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[14:29:54.622] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[14:29:54.640] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[14:29:55.440] [INFO] Starward.Services.GameService
Start game (hkrpg_cn)
path: "H:\Star Rail Game\StarRail.exe"
arg: ""

[14:29:55.647] [INFO] Starward.Pages.LauncherPage
Game started ("StarRail", 20092)

[14:29:57.667] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hkrpg_cn, 20092)

[14:34:16.928] [INFO] Starward.Pages.LauncherPage
Game process exited

[15:44:45.260] [INFO] Starward.Services.GameService
Start game (hkrpg_cn)
path: "H:\Star Rail Game\StarRail.exe"
arg: ""

[15:44:45.430] [INFO] Starward.Pages.LauncherPage
Game started ("StarRail", 24480)

[15:44:47.452] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hkrpg_cn, 24480)

[15:53:28.996] [INFO] Starward.Pages.LauncherPage
Game process exited

[19:10:41.913] [INFO] Starward.Services.GameService
Start game (hkrpg_cn)
path: "H:\Star Rail Game\StarRail.exe"
arg: ""

[19:10:42.114] [INFO] Starward.Pages.LauncherPage
Game started ("StarRail", 22932)

[19:10:44.122] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hkrpg_cn, 22932)

[19:41:17.323] [INFO] Starward.Pages.LauncherPage
Game process exited

[19:41:19.045] [INFO] Starward.Pages.MainPage
Change game region to hk4e_cn

[19:41:19.049] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hk4e_cn

[19:41:19.163] [INFO] Starward.Pages.LauncherPage
Game install path hk4e_cn: "E:\Genshin Impact Game"

[19:41:19.179] [INFO] Starward.Services.DownloadGameService
Local game version is "4.2.0" (gameBiz: hk4e_cn)

[19:41:20.117] [INFO] Starward.Services.GameService
Start game (hk4e_cn)
path: "E:\Genshin Impact Game\YuanShen.exe"
arg: "-popupwindow -screen-fullscreen 0 -screen-height 1440 -screen-width 2560"

[19:41:20.288] [INFO] Starward.Pages.LauncherPage
Game started ("YuanShen", 22764)

[19:41:22.306] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hk4e_cn, 22764)

[19:50:45.932] [INFO] Starward.Pages.LauncherPage
Game process exited

[20:16:29.849] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[20:16:29.854] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[20:16:29.944] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[20:16:29.952] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[20:16:30.735] [INFO] Starward.Services.GameService
Start game (hkrpg_cn)
path: "H:\Star Rail Game\StarRail.exe"
arg: ""

[20:16:30.891] [INFO] Starward.Pages.LauncherPage
Game started ("StarRail", 1052)

[20:16:32.910] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hkrpg_cn, 1052)

[20:19:08.597] [INFO] Starward.Pages.MainPage
Navigate to "GachaLogPage" with param hkrpg_cn

[20:19:10.748] [INFO] Starward.Services.Gacha.StarRailGachaService
Last gacha log id of uid 100071852 is<PHONE_NUMBER>000443652

[21:41:30.809] [INFO] Starward.Pages.MainPage
Change game region to hk4e_cn

[21:41:30.815] [INFO] Starward.Pages.MainPage
Navigate to "GachaLogPage" with param hk4e_cn

[21:41:30.893] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hk4e_cn

[21:41:31.183] [INFO] Starward.Pages.LauncherPage
Game install path hk4e_cn: "E:\Genshin Impact Game"

[21:41:31.191] [INFO] Starward.Services.DownloadGameService
Local game version is "4.2.0" (gameBiz: hk4e_cn)

[21:41:45.720] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[21:41:45.722] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[21:41:45.807] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[21:41:45.813] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[22:36:46.641] [INFO] Starward.Services.GameService
Start game (hkrpg_cn)
path: "H:\Star Rail Game\StarRail.exe"
arg: ""

[22:36:46.887] [INFO] Starward.Pages.LauncherPage
Game started ("StarRail", 5584)

[22:36:48.892] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hkrpg_cn, 5584)

[22:44:37.556] [INFO] Starward.Pages.LauncherPage
Game process exited

[23:21:40.330] [INFO] Starward.Services.GameService
Start game (hkrpg_cn)
path: "H:\Star Rail Game\StarRail.exe"
arg: ""

[23:21:40.456] [INFO] Starward.Pages.LauncherPage
Game started ("StarRail", 10068)

[23:21:42.465] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hkrpg_cn, 10068)

[23:28:01.636] [INFO] Starward.Pages.LauncherPage
Game process exited

[23:28:16.606] [INFO] Starward.Pages.MainPage
Change game region to hk4e_cn

[23:28:16.609] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hk4e_cn

[23:28:16.698] [INFO] Starward.Pages.LauncherPage
Game install path hk4e_cn: "E:\Genshin Impact Game"

[23:28:16.704] [INFO] Starward.Services.DownloadGameService
Local game version is "4.2.0" (gameBiz: hk4e_cn)

[23:28:17.478] [INFO] Starward.Services.GameService
Start game (hk4e_cn)
path: "E:\Genshin Impact Game\YuanShen.exe"
arg: "-popupwindow -screen-fullscreen 0 -screen-height 1440 -screen-width 2560"

[23:28:17.668] [INFO] Starward.Pages.LauncherPage
Game started ("YuanShen", 5956)

[23:28:19.683] [INFO] Starward.Services.PlayTimeService
Start to log playtime (hk4e_cn, 5956)

[23:39:58.748] [INFO] Starward.Pages.LauncherPage
Game process exited

[23:57:26.405] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[23:57:26.410] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[23:57:26.505] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[23:57:26.514] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[01:01:03.546] [INFO] Starward.Pages.MainPage
Navigate to "SettingPage" with param hkrpg_cn

[01:05:30.547] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[01:05:30.637] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[01:05:30.648] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[01:05:34.553] [INFO] Starward.Pages.LauncherPage
Open banner "": "https://www.miyoushe.com/sr/article/46249092"

[01:05:38.718] [INFO] Starward.Pages.MainPage
Navigate to "GameSettingPage" with param hkrpg_cn

[01:05:38.770] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[01:05:39.651] [INFO] Starward.Pages.MainPage
Navigate to "ScreenshotPage" with param hkrpg_cn

[01:05:39.723] [WARN] Starward.Pages.ScreenshotPage
Cannot find screenshot folder

[01:05:41.591] [INFO] Starward.Pages.MainPage
Navigate to "HoyolabToolboxPage" with param hkrpg_cn

[01:05:41.601] [INFO] Starward.Services.GameRecordService
Change region to China.

[01:05:42.214] [INFO] Starward.Pages.MainPage
Navigate to "SelfQueryPage" with param hkrpg_cn

[01:05:42.885] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[01:05:42.968] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[01:05:42.973] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[01:05:43.859] [INFO] Starward.Pages.MainPage
Navigate to "GameNoticesPage" with param hkrpg_cn

[01:05:47.595] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[01:05:47.668] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[01:05:47.690] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[01:06:47.278] [INFO] Starward.Pages.MainPage
Change game region to hk4e_cn

[01:06:47.282] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hk4e_cn

[01:06:47.372] [INFO] Starward.Pages.LauncherPage
Game install path hk4e_cn: "E:\Genshin Impact Game"

[01:06:47.379] [INFO] Starward.Services.DownloadGameService
Local game version is "4.2.0" (gameBiz: hk4e_cn)

[01:06:55.268] [INFO] Starward.Pages.MainPage
Navigate to "GameNoticesPage" with param hk4e_cn

[01:07:01.801] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hk4e_cn

[01:07:01.895] [INFO] Starward.Pages.LauncherPage
Game install path hk4e_cn: "E:\Genshin Impact Game"

[01:07:01.901] [INFO] Starward.Services.DownloadGameService
Local game version is "4.2.0" (gameBiz: hk4e_cn)

[01:08:21.238] [WARN] Starward.Services.GameService
Game uninstalled path not found (hk4e_global)

[01:08:21.238] [WARN] Starward.Services.GameService
Game uninstalled path not found (hk4e_cloud)

[01:08:21.238] [WARN] Starward.Services.GameService
Game uninstalled path not found (hkrpg_global)

[01:08:21.239] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_cn)

[01:08:21.239] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_global)

[01:08:21.239] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_jp)

[01:08:21.239] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_kr)

[01:08:21.239] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_overseas)

[01:08:21.240] [WARN] Starward.Services.GameService
Game uninstalled path not found (bh3_tw)

[01:10:49.000] [INFO] Starward.Pages.MainPage
Change game region to hkrpg_cn

[01:10:49.003] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[01:10:49.085] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[01:10:49.091] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[01:10:53.290] [INFO] Starward.Pages.MainPage
Navigate to "SelfQueryPage" with param hkrpg_cn

[01:10:53.738] [INFO] Starward.Pages.MainPage
Navigate to "HoyolabToolboxPage" with param hkrpg_cn

[01:10:53.746] [INFO] Starward.Services.GameRecordService
Change region to China.

[01:10:54.189] [INFO] Starward.Pages.MainPage
Navigate to "GachaLogPage" with param hkrpg_cn

[01:10:54.861] [INFO] Starward.Pages.MainPage
Navigate to "ScreenshotPage" with param hkrpg_cn

[01:10:54.913] [WARN] Starward.Pages.ScreenshotPage
Cannot find screenshot folder

[01:10:55.317] [INFO] Starward.Pages.MainPage
Navigate to "GameSettingPage" with param hkrpg_cn

[01:10:55.354] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

[01:10:55.753] [INFO] Starward.Pages.MainPage
Navigate to "LauncherPage" with param hkrpg_cn

[01:10:55.867] [INFO] Starward.Pages.LauncherPage
Game install path hkrpg_cn: "H:\Star Rail Game"

[01:10:55.890] [INFO] Starward.Services.DownloadGameService
Local game version is "1.5.0" (gameBiz: hkrpg_cn)

Additional Context
等待有缘人复现

谢谢你的反馈，等一个能复现的有缘人

好消息，好消息，我也碰到了这个问题。
具体的复现流程是

点击任意轮播图
Alt + Tab 切回 Starward
按下 Esc 隐藏窗口

之后每隔大约 30s，Starward 会获取一次焦点

已知的稳定触发bug的条件是

轮播图大于等于5张
轮播图获取窗口内焦点
窗口处于隐藏状态

当轮播图自动切换到第一张时，Starward获取焦点，原因不明；解决办法是隐藏窗口时停止自动切换轮播图。

已修复 0.10.7-beta.1


About ISIC2017 dataset

Hi，how was the ISIC2017 dataset prepared in your experiment?

Hi @melooooody, you can find this information from the Supplementary Material of the paper
"We use a train-val-test split of 80:10:10 in ClinicDB, Kvasir, ColonDB, ETIS, BKAI, ISIC18, DSB18, EM, and BUSI datasets. For ISIC17, we use the official train-val-test sets provided by the competition organizer."

OK, thanks for your answer.^_^


New post: adding a guidance page about schools and study sites

 Design history: How to use this service - Training locations


Failed to load the tokenizer

Traceback (most recent call last):
File "src/inference_sft3.py", line 25, in
main()
File "src/inference_sft3.py", line 14, in main
llm = LLM(model="/dev/shm/LLaMA-Efficient-Tuning/output/ziya_llama_13b_merged")
File "/home/house365ai/anaconda3/envs/vllm/lib/python3.8/site-packages/vllm/entrypoints/llm.py", line 62, in init
self.llm_engine = LLMEngine.from_engine_args(engine_args)
File "/home/house365ai/anaconda3/envs/vllm/lib/python3.8/site-packages/vllm/engine/llm_engine.py", line 154, in from_engine_args
engine = cls(*engine_configs,
File "/home/house365ai/anaconda3/envs/vllm/lib/python3.8/site-packages/vllm/engine/llm_engine.py", line 80, in init
self.tokenizer = get_tokenizer(
File "/home/house365ai/anaconda3/envs/vllm/lib/python3.8/site-packages/vllm/transformers_utils/tokenizer.py", line 42, in get_tokenizer
raise RuntimeError(err_msg) from e
RuntimeError: Failed to load the tokenizer. If you are using a LLaMA-based model, use 'hf-internal-testing/llama-tokenizer' instead of the original tokenizer.

Please try --tokenizer hf-internal-testing/llama-tokenizer as the error message suggested if you are using LLaMA-based models. Feel free to reopen the issue if you meet any other problems.

@zhuohan123 下载最新代码

@zhuohan123 或参考这个https://github.com/vllm-project/vllm/issues/270


Bower install by default

To run bower install today, it requires a custom deploy script. Given that bower install isn't a destructive action, it should be safe to, if a bower.json file exist, run bower install, similar to how node and package.json works today.
I have an example for the node deploy file here: https://github.com/christopheranderson/azure-node-native-modules-sample/blob/master/deploy.cmd#L109

Hi
Kudu will continue to run in Azure App Service. However, this repo will no longer be maintained.
If the problem persists and is related to running on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Create 0001-null-undefined-usage.md

Since we have no consensus on when to use null vs undefined I decided to create an RFC so we can link to the decision every time we see misalignment, without wasting energy on explanation.

One strong disadvantage of using undefinned, unefined, undefined...

One strong disadvantage of using undefinned, unefined, undefined...

You mean typos? or the length of the word? Typos are prevented by typescript. Otherwise the length of the word is something I don't enjoy either, but what can I do. The only option is to define own global variable and call it nill lol.

Or use the Maybe monad lol.

Merged 🎉


Maven Settings

Maven uses the Java windows registry to determine the user home directory.
Therefore, it is not redirected into the Bench home via the environment variables HOME or USERPROFILE.
Additionally Maven probably ignores the environment variables http_proxy and https_propxy.
Because Maven looks into the windows user home directory for user specific settings <user-profile>/.m2/settings.xml and does not see the Bench home, the global settings in mvn/conf/settings.xml must be overridden during the environment setup step to adapt the Maven settings.
The elements localRepository and proxies must be set with the content according to the Bench configuration.
Still, if the windows user has a <user-profile>/.m2/settings.xml it takes precedence.

Added auto configuration for localRepository in 6116900cdf765e8d0f68cbe01e2c5f1ea4731f13

Added auto configuration for proxy in 7ecd70bcbe8c17d0fdfedde9c0a95b7307995dc3


refactor: Make HTTP a folder and extract methods according to their endpoint

About
This PR corrects HTTPClient typehints and also adds a pyi
Checklist

[x] I've ran pre-commit to format and lint the change(s) made.
[ ] I've checked to make sure the change(s) work on 3.8.6 and higher.
[x] This fixes/solves an Issue.

(If existent): #601

[ ] I've made this pull request for/as: (check all that apply)

[ ] Documentation
[x] Breaking change
[ ] New feature/enhancement
[ ] Bugfix

this is the most unprofessional comment i can make but holy shit thank god we're finally doing this i've absolutely hated the original way we've been doing it thus far

this is the most unprofessional comment i can make but holy shit thank god we're finally doing this i've absolutely hated the original way we've been doing it thus far

lets get this on starboard then

All checks passed now


Update extractor and publisher scripts

Fixed some bugs in the updated code that added support for mac runners

hi @waelkdouh  - in the Github Publisher action 'run-publisher-with-env', it looks like the fixes for whitespace in the 'if else' conditions, also the 'And' logic changes haven't made it through into the published code and subsequent releases.
Scenarios that don't have seem to have the fixes;

-Run publisher without Config Yaml or Commit ID
-Run publisher with Config Yaml and Commit id
-Run publisher with Config Yaml but without Commit id

hi @waelkdouh - in the Github Publisher action 'run-publisher-with-env', it looks like the fixes for whitespace in the 'if else' conditions, also the 'And' logic changes haven't made it through into the published code and subsequent releases. Scenarios that don't have seem to have the fixes;

-Run publisher without Config Yaml or Commit ID
-Run publisher with Config Yaml and Commit id
-Run publisher with Config Yaml but without Commit id

Great catch! I just created a new PR #509 which you can find here to address your concerns.