example not working and help needed

The example program compiles with errors, and I assume this is due to it being outdated compared to citro3d itself. And because of this, I am stuck, as I was trying to learn how to use citro3d.
Seriously though, if the people of the 3ds homebrew scene are so adamant about using citro3d instead of things like pp2d sf2d etc, then there needs to be a way to learn how to use it. @

The example programs were updated at the same time the latest citro3d was released. I think you don't have an up-to-date install. If you haven't already, use the new pacman-based installation procedure to make sure you have the latest version of everything (including 3ds-examples).
There's also a brand new library called citro2d that, as the name implies, is specifically designed to make 2D graphics programming easier (but not any less efficient!). This lib has full Doxygen documentation.

I'll try citro2d, though I have to ask, what the hell is pacman (in this context anyway).

It's a package manager we have adopted for the purposes of distributing the toolchains, libraries and others. Please refer to this:
https://devkitpro.org/viewtopic.php?f=13&t=8702&p=15914
https://devkitpro.org/viewtopic.php?f=13&t=8711

Hey fincs. Sorry, I'm confused. Is pacman a replacement for 'make install'?
I do have pacman installed, as I can run the command, but I don't really get what it's for. If it helps at all, I'm on Windows.


Unexpected double slash generated using webp in URL Processing

Laravel Mix Version: 2.1.11
Node Version (node -v): 9.9.0
NPM Version (npm -v): 5.6.0
OS: ubuntu ( using workspace container of laradock )

I am using url processing with jpeg and webp and since a while (between mix 2.0.0 and 2.1.11), it's not working anymore with webp.
here is my scss code :
.no-webp .custom-background {
    background-image: url('../img/custom.jpeg');
}

.webp .custom-background {
    background-image: url('../img/custom.webp');
}

css generated with laravel mix 2.1.11 :

.no-webp .custom-background {
    background-image: url(/images/custom.jpeg?47ab273…);
}

.webp .custom-background {
    background-image: url(//images/custom.webp?1cb1372…);
}

css generated with laravel mix 2.0.0 :

.no-webp .custom-background {
    background-image: url(/images/custom.jpeg?47ab273…);
}

.webp .custom-background {
    background-image: url(/images/custom.webp?1cb1372…);
}

Not reproduced in webpack "4.0.15", thanks.


Syntax error

I have run into a syntax error when loading brachiograph.py at line 608.
raise Exception(f"Cannot reach {hypotenuse}; total arm length is {self.INNER_ARM + self.OUTER_ARM}")
The f before the " mark doesn't make sense to me.  Is this correct?  I see it in several print statements lower down in the code.  I am not familiar with this syntax and it was flag as an error when I went to Start up the BrachioGraph
@ from brachiograph import BrachioGraph

@kenidowa BrachioGraph uses f-strings, and requires Python 3.6 or later.


Register/unregister delegates via delegate call + delegator signature

Proposal
Allow the following flow for initializing an account delegation:

User controls a low risk account (A) and wants to interface with MUD using a high-risk 'session account' (B)
User signs a message with A that states it is giving B delegation access
B submits a tx registering/unregistering B as a delegate to A. A's signature is attached.
MUD confirms the signature is valid and grants execution of the delegation function.
Delegation proceeds as normal.

Why
Primodium's biggest onboarding hurdle has been players running into every bug imaginable to submit the first tx to spawn and delegate (in our case these calls are batched). Some issues include:

Chain id not recognized (WalletConnect/Coinbase)
CoinId not recognized (okx)
Unknown Ethereum Address when clicking play
Transaction failed
ETC.

It would greatly improve UX and streamline our user flow.

Adding signatures is getting closer full-blown account abstraction, IMO. We should see if we can generalise this and/or integrate with EIP's like ERC4337

Added in #2480 (for now in an optional module, moving to the core world contract once audited)


[$1000] DEV: console error on report screen which has task

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

go to any chat
click on + icon
select Assign task option
enter title and click on next button
click on Confirm task button which will navigates to task thread
go back to previous report screen which has task
reload page

Expected Result:
should not show console error
Actual Result:
shows console error (Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?)
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: DEV
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/3d3c78ba-a2dd-4635-b610-21a159e379b7
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686809664829689
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01376acc439f64b8c7
Upwork Job ID:<PHONE_NUMBER>058445824
Last Price Increase: 2023-06-27

Proposal
Please re-state the problem that we are trying to solve in this issue.
Console error is displayed when open report screen which has task.
What is the root cause of that problem?
Task is displayed using TaskPreview in report, and this component use RenderHTML for task assignee and task title.
https://github.com/Expensify/App/blob/820fa93ad1e799c12d8b639b98018b5350ea17af/src/components/ReportActionItem/TaskPreview.js#L62
https://github.com/Expensify/App/blob/820fa93ad1e799c12d8b639b98018b5350ea17af/src/components/ReportActionItem/TaskPreview.js#L85
RenderHTML uses MentionUserRenderer -> Tooltip -> Hoverable -> TextLink components for task assignee.
Hoverable uses ref for children in his render fucntion, but TextLink is a function component.
https://github.com/Expensify/App/blob/820fa93ad1e799c12d8b639b98018b5350ea17af/src/components/Hoverable/index.js#L80-L94
https://github.com/Expensify/App/blob/820fa93ad1e799c12d8b639b98018b5350ea17af/src/components/TextLink.js#L34
So console error is displayed.
What changes do you think we should make in order to solve the problem?
We should change export default TextLink; in TextLink as below.
export default React.forwardRef((props, ref) => (
    <TextLink
        // eslint-disable-next-line react/jsx-props-no-spreading
        {...props}
        forwardedRef={ref}
    />
));

What alternative solutions did you explore? (Optional)
None.

@abekkala I am able to reproduce on dev:

I checked @StevenKKC’s proposal and it looks good.
To be safe I tested a few TextLinks if it affects their behavior.
@joelbettner all yours

@joelbettner do you agree with @mananjadhav's suggestion to hire @StevenKKC based on their proposal?

@abekkala @mananjadhav That proposal from @StevenKKC looks good to me.

@maddylewis Reassigning for sabbatical

CURRENT STATUS:

Issue reported by: @gadhiyamanan [$250]
Assigned for Fix: @StevenKKC [$1000] +/- potential bonus/penalty
C+: @mananjadhav [$1000] +/- potential bonus/penalty

Based on the new update, offers were already sent/created by Upwork 🎉

@mananjadhav @joelbettner PR is ready for review.
And I'm not received an offer on my Upwork account.

@joelbettner is in the process of reviewing - https://github.com/Expensify/App/pull/22007#issuecomment-1624416951

@mananjadhav @joelbettner Thanks for reviewing PR. Am I eligible for bonus?

We created UserMentionRenderer component deprecating in this PR. We added the Tooltip over TextLink and that should've shown the console error. Ideally this should've been handled during the Hoverable component creation itself.  Hence I can't attribute this to that PR.
Also I don't think we need a regression test for this one.

@maddylewis this is ready for payout along with the timeline bonus. I've raised my request on NewDot. Can you help with the payout for @StevenKKC ?

payments:

[ ] @StevenKKC - $1500 (contributor)
[ ] @mananjadhav - $1500 (C+ - NewDot)
[ ] gadhiyamanan - $250 (reporting)

everyone is paid 👍

Approved 1500 to Manan based on https://github.com/Expensify/App/issues/21496#issuecomment-1646034443


Video content not loading after ad (iOS Safari).

I am facing the issue on the website,  it is using ima js.
Please check the following website on iPhone Safari.
https://shahid.mbc.net/ar/
Regards

Hi,
When I go to your page on iPhone Safari, I'm seeing several AWS 502 and 504 errors, so maybe it's something related to that? I don't see any videojs or IMA errors.

this website using the player


Discuss performance issues (or lack therof)

A year or so ago, we released a new API based on aspnetcore, which was a year in the making. It is such a relief to be using a proper, modern, well thought out solution!
One small point of contention which keeps on being brought up is the question of performance and DI. Does having many dependencies increase CPU usage? RAM? Etc. How much is too much?
Note that I don't think we have noticed any abnormal performance issues, but it would make life easier for me if there would be some sort of (at least cursory) discussion in the docs about performance, and recommendations vis-à-vis performance, and perhaps some real world numbers (eg "The .net documenation site injects 700 dependencies")
For some context, we inject roughly 30 items, just about all of them using scoped lifetime.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0d78f540-81fd-1ba9-cb90-591e4ec27d9b
Version Independent ID: 2251f557-dd3a-ec35-2558-6243337db009
Content: Dependency injection in ASP.NET Core
Content Source: aspnetcore/fundamentals/dependency-injection.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

That's the trade off between scoped and singleton. Singletons are only instantiated once but hand on to memory.
It's impossible to come up with real numbers because there is  no standard app, standard services, and standard usage patterns. It sounds like it's not a problem for you.


[v4.y] CI: run on windows

backport of #553

Merging despite #569 failures because more CI is always better.


Support for Yarn as a package manager?

💡 Feature request

Describe the feature
I'm not sure if this is available in Wrangler, but I would like to use Yarn instead of npm.
Yarn is an npm alternative and is usually faster than npm.
See https://github.com/yarnpkg/berry or https://github.com/yarnpkg/yarn

We're no longer actively developing wrangler, as it'll be sunset soon. Active development has shifted to cloudflare/wrangler2, where using yarn is already supported. It should be fairly easy to migrate your project to cloudflare/wrangler2, and we've got a migration guide at developers.cloudflare.com/workers/wrangler/migration which should cover any issues you might encounter.


Security issue: Content Managers can send out email newsletters

A resourceful Content Manager may send out email newsletters without the consent of the person with Newsletter to Lists-permissions.
A Content Manager who only has Newsletters permissions can still access the URL that admins use to send out the newsletter. The easy structure of this URL facilitates guessing (e.g. 'https://website.url/nieuwsbrief/process/3').
I would propose checking whether the user has the appropriate permission (before allowing him to visit this URL). Just hiding it will probably never be enough.

Probably just adding an annotation is sufficient for this, checking that they have the permission to "change" a NewsletterToList for example.


Angular automation testing

Added data-cy & testid attribute in the Angular and React Components.
These attributes used to avoid fetching components  goa-input via name attribute

Closing as we aren't doing cypress automation like this anymore


Arrowhead

OK.  Here's arrowhead.

Hi Raj,
The goal of this exercise is to use guard clauses as part of the linked resource:
public void AddRole(Role role)
{
    if (role == null)
        throw new ArgumentNullException("role");

    if (string.IsNullOrEmpty(role.Name))
        throw new ArgumentException("role does not have a name", "role");

    if (IsInRole(role))
        throw new InvalidOperationException("User is already in this role.");

    roles.Add(role);
}

There's nothing wrong with splitting the functionality into separate methods, but it's not this exercise :P


Invalid Python codegen when record contains aliased nullable union type

Given the following model on commit 42be458d779dc0eb0185b6c5b74278a7d06bfa7b:
X: [null, int, float]

MyRec: !record
  fields:
    a: X

We get the following exception when importing the generated code:
Traceback (most recent call last):
  File "/workspaces/yardl/python/run_sandbox.py", line 5, in <module>
    import sandbox
  File "/workspaces/yardl/python/sandbox/__init__.py", line 21, in <module>
    from .types import (
  File "/workspaces/yardl/python/sandbox/types.py", line 121, in <module>
    get_dtype = _mk_get_dtype()
                ^^^^^^^^^^^^^^^
  File "/workspaces/yardl/python/sandbox/types.py", line 117, in _mk_get_dtype
    dtype_map.setdefault(MyRec, np.dtype([('a', get_dtype(typing.Optional[X]))], align=True))
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/yardl/python/sandbox/_dtypes.py", line 87, in <lambda>
    return lambda t: get_dtype_impl(dtype_map, t)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/yardl/python/sandbox/_dtypes.py", line 60, in get_dtype_impl
    return _get_union_dtype(get_args(t))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/yardl/python/sandbox/_dtypes.py", line 81, in _get_union_dtype
    inner_type = get_dtype_impl(dtype_map, args[0])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/yardl/python/sandbox/_dtypes.py", line 76, in get_dtype_impl
    raise RuntimeError(f"Cannot find dtype for {t}")
RuntimeError: Cannot find dtype for <class 'sandbox.types.X'>

Another problem is that the dtype for [null, int, float] should be np.object_, instead of {"has_value": np.bool, "value": np.object_}
Another problem is that the generated union classes that do not have a named type (e.g. Int32OrString) are not recognized by get_dtype() and throw.

Another problem is that the dtype for [null, int, float] should be np.object_, instead of {"has_value": np.bool, "value": np.object_}

I see that's the intended behavior, but why is that?
We currently convert yardl type [null, int, float] into Python type typing.Optional[Int32OrString], so I would expect the dtype to be {"has_value": np.bool, "value": np.object_}

I see that's the intended behavior, but why is that?

When the value is a python object pointer, there isn't much to be gained by wrapping it in a has_value/value structured array, since the pointer can just be None. But I realize we do this in other cases, for instance an optional string.


Fix-formatting-and-lints

This udpats the analysis configuration to use the Dart teams current "recommended" rule set, with some of the rules disabled as they are either stylistic or would cause alot more code chrun.
The code changes are just "mechanical" refactors, mostly to do things like changing to us the is! operator and adding rule ignores for not having explicit null returns.
Unfortunately this is still a huge amoutn of code churn but hopefully is just a 1 time pass to fix up the code which will then be maintained by having CI enforce the analysis rules from here on in.

Please note this is "stacked" on the previous PR that enables Github actions CI.

LGTM


Implement SSO plugin for StackStorm Enterprise

Add SSO endpoints to the st2 API spec. Add API controllers for the SSO redirect and handle Idp callback. Implement scaffolding for the EWC SSO backends. Add unit tests to capture not implemented errors, unknown exception, and also SSO verification errors in the API controllers.

@armab Per your previous request, I added a GET endpoint here for the EWC UI to query whether SSO is enabled instead of putting the configuration option at the web app. This is the commit. https://github.com/StackStorm/st2/pull/4765/commits/abcee847f81041bf0044f0f6baf580e6dbb58ad0

@m4dcoder I saw last push to this PR was 2 days ago.
Considering difficulties with productizing this feature, I assume we don't plan this functionality for the upcoming v3.2? Please correct me as I'm removing it from the 3.2 milestone.


wip: chore: add workflow for combining PRs by renovate

Fixes #755

This should have popped up a workflow called "combine-prs" in the Actions tab [1]. However, it did not and seems like a lot of people are facing the same issue. One workaround is posted in the thread. It involves pushing a dummy workflow file to master and then we create a PR to modify it according to our needs. It seems like a good idea.
[1] https://github.com/hrvey/combine-prs-workflow/#get-started

It did fire a PR! See https://github.com/SpoonLabs/sorald/pull/766. However, this was after disabling the check that "PRs must be green".

However, this was after disabling the check that "PRs must be green".

Resolved. https://github.com/SpoonLabs/sorald/pull/767


mgmt, update test on MongoCluster

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

/azp run java - mongocluster - mgmt - tests

/azp run prepare-pipelines

/azp run prepare-pipelines

/azp run java - mongocluster - ci

/azp run prepare-pipelines

I'm not seeing mgmt test pipeline being created.

I'm not seeing mgmt test pipeline being created.

I also find it a bit strange. Analyzing from the execution log of prepare-pipelines, the code used when reconfiguring the pipeline is the main branch of Azure/azure-sdk-for-java, and the changes in this PR have not been merged.
The log of prepare-pipelines as follow as:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4146613&view=results

I'm not sure, But I believe we should fix it before merging the PR. Maybe there's a bug in the script.
Let's wait for Weidong's comments first.

/azp run prepare-pipelines

/azp run prepare-pipelines

/azp run java - mongocluster - mgmt - tests

@weidongxu-microsoft  @XiaofeiCao
The mgmt test pipeline has been created by prepare-pipelines , but I cannot confirm whether the live test case added in the PR has been executed. Can you help me confirm this ?

Looks good on tests column

Though I also didn't see any log output in pipeline.

/azp run java - mongocluster - mgmt - tests


valdrEnabled Affecting Other Validations

I ran into some strange behavior that I think is related to the valdr-enabled directive.
Basically, I see invalid values being considered valid in some very special cases.  Here is a plunk that shows such behavior.
https://plnkr.co/edit/L4zbWBTZjllCarmJsTfj
So, in the plunk above, the second input, baz, has it's valdr-enabled set to !!foo.bar (the first input).  Now, if I changed the value of bar to 1, then the validations on baz enable correctly.  Now, if I change the value of bar back to zero, bar appears valid even though bar has a min value of 1 in my valdr configuration.  The validations on baz are properly disabled, however.
Now, if I go from -1 to 0, then all validations function as expected.  It is only when I change from a valid value, to an invalid value that I see the unexpected behavior.
Even stranger, if I remove the valdr-enabled directive from baz then all validations function as expected.  Perhaps there is a problem with setting valdr-enabled to another validated field?

valdr-enabled is completly broken at the moment. The one use case you described is only one of many bugs coming with this directive.

@jdlubrano : There were some issues with your markup. First valdr-form-group add a form-group class itself so you don't need to use form-group explicitly. Second, because you have form-group on a higher level you weren't able to see the different coloring/style that valdr applies on the inputs when their validity changes. Next, you used ctrl.baz as a model for you second input which does not match with the object you define on the $scope.
I did the needed modifications within this plunker.
There you will be able to see that for your case, valdr-enabled works fine. The only time it doesn't work as expected is when for example you have value of 1 in the bar input and clicking the arrows you decrease the value to 0, but that is not connected with valdr-enabled but with the update of the ng-model and its state. I will take a more detailed look in it. However, if you decrease the value using the keyboard, the model will be updated properly and valdr-enabled will behave as expected even when going from 1 to 0 lets say.
@chillyistkult : please provide plunker or something similar explaining the issues you have with valdr-enabled.

@PesanskiGoran apologies for the errors in my Plunker.  I see the behavior that you described in your version.  Thank you for investigating the issue further.


Add csv module to third_party/pypy

This module depends on functools #126

Can csv.py come from CPython? Or do you think there will be compatibility issues?

Yeah, I think I can get from CPython. Hold on for merges for all pending pypy PRs.

Updated to use csv.py from CPython. It was identical.

Great! Thanks for doing this. Will merge once Travis passes.


Added functions for List and Create

Added function for List and created tests

test for list all
test for list by id
test for list by category
test for list by name

Added function for Create and created tests

test for create a product
multiple tests for bath path

Test coverage 100%
Updated README for these two functions

@ZzSteven-Wang This Pull Request is implementing 4 Stories. Create, List, Read and Query. Please remove the code for Read and Queries. Those are not your stories. Also please submit two separate Pull Requests for List and Create. Thanks.


Send Federated Consultation Summary - Send Trigger page

"involvement of a clinician The GP IT system..." capitalisation of The and also suggest using GP PCS
"all messages associated with that encounter can be identifier." suggest "identifier" should be "identified"
"...all messages for this use-case will..." suggest hyphen isn't needed

Covered in https://github.com/nhsconnect/gpconnect-messaging/commit/9591525b519cae8e544d266f8937be1453207206


Pwsh not found if installed as .NET Core global tool

Environment
Windows 10 188995
Latest nightly terminal build as-of 10/6

Steps to reproduce

Install PowerShell Core as a .NET Core global tool. dotnet tool install -g powershell. Confirm it works when you use pwsh.exe.
Create a new PowerShell Core profile and set "source": to "Windows.Terminal.PowershellCore". And open a new shell. Doesn't work. Commenting out source and using "commandLine": "pwsh.exe" works, as it is in the path.
Expected behavior
PowerShell Core should load.

Actual behavior
Profile is skipped or doesn't load.

This'll largely be handled with /dup #2300. Thanks!

(We'll make sure to grab pwsh.exe wherever it lives and trust the system path as part of 2300)


key isn't valid anymore

tried the example. 'Hello' should generate<PHONE_NUMBER>91 but generates<PHONE_NUMBER>92

The api key changes every hour. So it will never match up with the one in the example.

But it now produces incorrect keys


Error unpacking SSD (Metal Gear Survive)

Attempting to unpack any .dat from SSD yields this:
Unhandled Exception: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.    at System.IO.BinaryReader.FillBuffer(Int32 numBytes)    at System.IO.BinaryReader.ReadUInt32()    at GzsTool.Core.Qar.QarEntry.Read(BinaryReader reader)    at GzsTool.Core.Qar.QarFile.Read(Stream input)    at GzsTool.Program.ReadArchive[T](String path)    at GzsTool.Program.Main(String[] args)
I throws this error on line 92 of QarEntry, on QarEntry() #2.
The files can be found here.

The smallest dat (300mb) if you just want to poke at that:
https://mega.nz/#!fZliWS4a!zWzFu_r8-xbRlFmPTSHEcxCrLjo99tGepnTganQKVCE

Breaks on chunk0.dat after the patch, zlib error:
45ada1c810e4.dat
197cd03f88edd.fpk

Unhandled Exception: Ionic.Zlib.ZlibException: Bad state (unknown compression method (0x34))
   at Ionic.Zlib.InflateManager.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibCodec.Inflate(FlushType flush)
   at Ionic.Zlib.ZlibBaseStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   at Ionic.Zlib.ZlibBaseStream.UncompressBuffer(Byte[] compressed, Stream decompressor)
   at Ionic.Zlib.ZlibStream.UncompressBuffer(Byte[] compressed)
   at GzsTool.Core.Utility.Compression.Uncompress(Byte[] buffer)
   at GzsTool.Core.Qar.QarEntry.ReadData(Stream input)
   at GzsTool.Core.Qar.QarEntry.<>c__DisplayClass43_0.<ReadDataLazy>b__0()
   at GzsTool.Core.Common.FileSystemDirectory.WriteFile(String filePath, Func`1 fileContentStream)
   at GzsTool.Program.ReadArchive[T](String path)
   at GzsTool.Program.Main(String[] args)

data1.dat unpacks without a trouble, contents are full of garbage.

Nice start Atvaark, thanks.
As said above, data1.dat extracts, but file contents are still encrypted.

There's still another layer of XORing that's done to the files before the compression layer.
I found the function that I think does the XOR (sub_140062460) but I still have to understand that assembly and port it to c#.

Very nice! I'm curious to poke at those textures. Some of the new visual design looks great!

Here is what I've got when I try to unpack "chunk0.dat"
But ftextool is working and scripts files are well decrypted ;)

Excellent work! I tried having a stab at it but couldn't get very far at all, thanks for working it out so quickly!
I've started adding SSD filenames to MGSV dictionary project too, seems most of this game is reused from TPP so it's not too difficult to find the names (really hope the final game will be more than just a TPP clone though)
(btw, does anyone know what SSD stands for?)

(btw, does anyone know what SSD stands for?)

My best guess was (Metal Gear) Solid Survive Demo. I don't know if that's accurate though.

I need the file extension name that match these hashes:
1531
7263 (wma, wmv, mp4 or something video related I guess)

1531 = gkn / hhy (both give 1531)
7263 = wmv

Slightly straying off-topic here, but @emoose, you might want to check out TinManTex's mgsv-lookup-strings.

Speaking of strings, I have two memory dumps - online and main menu. Strings from them can be found  here - https://mega.nz/#F!h0wzlRJQ!R5iMLhULQF6HhLocGWrAdQ

data1.dat makes the game not respond when repacked and it appears there are some character encoding issues (for example with foxfs.dat) and purportedly with some luas.

releases/v0.6.0-beta

So what can't this do yet?

So far I only checked if I could unpack the dat and convert the ftex texture files to dds.

There are no Survive exclusive file names
Booting the game with any repacked files isn't tested
There appear to be some more custom encrypted file (like the lua files) (e.g. the new "gkn" files)

Ah. When you say that there are no Survive exclusive file names do you mean that the dictionary isn't updated?

All seems to unpack fine now, thanks for the fix!
Also looks like the 1531 "gkn" extension is actually "param", as seen in TppDefine.lua:
"/Assets/ssd/level_asset/server/parameter/SsdWeaponParameters_opt.param"

Likely their custom blowfish with a hardcoded key again.
(Like https://github.com/unknown321/mgsv_emulator)

Hey, @Atvaark, @emoose, do you want to come to our Discord? We have all of the researchers there and I think that it would be easier to discuss issues there.

Ah thanks for the info @Atvaark, you were right - what I thought was a key was actually just an md5 of the param file, the key was hardcoded in the exe as you guessed.
For anyone interested I've uploaded the decrypted param files along with the scripts I used to decrypt them (Blowfish algo sourced from https://github.com/unknown321/mgsv_emulator). Follow the link at https://pastebin.com/Hvs4cx7D
In a nutshell the files are zlib compressed and then encrypted with that custom blowfish algo, pretty simple. Not sure if you might want to add support in GzsTool to automatically decrypt the ones inside the QAR, would be a nice addition, but maybe not much point since they'll just get replaced with the server-side ones anyway (and SSD is always online ;_;)

Hi friends,
I have problem with GzsTools
When I try to unpack pes files (fpk)
Gives Error message
Like this
non-negative number required. parameter name value.


[stable/concourse] Allow for additional affinities

This adds the ability to supply additional affinity settings.
Our use case is to add node affinity to non-spot instances, but any affinity can be added.

/ok-to-test


[Question] How can I get error when no ACK received?

Here is my test code:
func main() {
	ctx, cancel := context.WithCancel(context.Background())
	defer cancel()
	client(ctx)
	time.Sleep(time.Minute)
	fmt.Println("main finished")
}

func client(ctx context.Context) {
	tlsConfig := &tls.Config{
		NextProtos:         []string{"h3-29"},
	}
	session, err := quic.DialAddr("interop.seemann.io:443", tlsConfig, nil)
	checkErr(err)
	stream, err := session.OpenStreamSync(ctx)
	checkErr(err)
	fmt.Println("Client: Sending")
	time.Sleep(time.Second * 5)
	_, err = stream.Write([]byte("GET /"))
	checkErr(err)
	fmt.Println("client finished")
}

func checkErr(err error) {
	if err != nil {
		panic(err)
	}
}

I turned off the network when I saw 'Client: Sending', and this is the output:
Client: Sending
client finished
main finished

How can I get error when no ACK received?
Or can I block in Write() until ACK received?

How can I get error when no ACK received?

QUIC streams are reliable, so when no ACK is received, QUIC will retransmit the data.

Or can I block in Write() until ACK received?

No, there's no API for that. It would make any data transfer incredibly slow.

I want to build an instant messaging APP, only when ACK is received, the message sent prompt can be displayed, so I want to have a function like stream.WriteSync() which block until the corresponding ACK arrives.

It would make any data transfer incredibly slow

I can call each WriteSync() in a separate Goroutine.

I want to build an instant messaging APP, only when ACK is received, the message sent prompt can be displayed, so I want to have a function like stream.WriteSync() which block until the corresponding ACK arrives.

This seems to be an application-layer function, and would probably be better handled by an acknowledgement on the application layer.

I can call each WriteSync() in a separate Goroutine.

That's racy. You can't have multipe Write calls at the same time. How would you determine ordering of the data?


OP request: softmax with mask

Hi,
I think that attention mechanism can be acccelerated if we have a softmax OP with mask.
Currently the input sentences are of different length and I fix this ugly as follows:
if use_masking:
    energy = energy * attend_masks[idx] + (1.0 - attend_masks[idx]) * (-10000.0)  # (batch, 1)

But if there is softmax with mask, we can change to a faster implementation without computing energe for each source sentence word.

Also, this is useful for decoder vocabulary constraint.

@magic282: One solution: SequenceMask("value" -> "-INF", "use_sequence_length" -> true), followed by Softmax. On GPU, this will be your fastest option, as you can use cuDNN Softmax, which will be faster than a custom softmax you could write.
Having a built-in attention layer written in MShadow would be very nice, and could be made faster/memory efficient than building it out of layers.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Feature: auto-focus on text area

On opening the web app the edit area should receive focus by default. This saves a click, at the expense of introducing Javascript.

Fixed in https://github.com/lucasgonze/planck-scratchpad/pull/18


ISPN-7301 Right operand in term query is not being analyzed

https://issues.jboss.org/browse/ISPN-7301

Merged to master, thanks


Make the “.” operator work properly in rvalues (part 1)

Various preparations for making the . operator work properly in rvalues. Core changes are splitting lvalue and rvalue processing in the semantic pass (so they can be refactored independently) and preparing the compiler for the existence of dynamic non-computed member expressions (that is, expressions like foo.bar where foo is not a module).
Part of work on #419.

@bkutil

+1

Fixed the commit message, will merge on green.


Broken link in "Alerts in AWS CloudFormation Templates" page

Description
Steps to Reproduce

Open https://newrelic.com/blog/how-to-relic/create-alerts-aws-cloudformation
Click link "GitHub in the newrelic-experimental repository"
You will arrive at https://github.com/newrelic-experimental/newrelic-alerts-cloudformation
You are seeing a 404. The issue is not permissions, it is that there is no repository.

Expected Behavior
HTTP 200 OK
Additional context
quickstarts/aws/newrelic-alert-cloudformation-resource/config.yaml is where the link to https://github.com/newrelic-experimental/newrelic-alerts-cloudformation lives. The repository this links to is now gone.
Deleted repositories are only kept by Github for 90 days, so that can't be restored.
There is a personal fork of the deleted repo at https://github.com/msummers-nr/newrelic-alerts-cloudformation . If we want to restore the missing repo, we could start from the fork.

Should have been fixed in https://github.com/newrelic/newrelic-quickstarts/pull/2352, which has been merged. Why am I still seeing the manifestion? The problem may be in how I researched this, or it may have been in how the PR was merged or pushed to production.


Detect complex SVs with pbsv

Hi,
I want to discover some complex SVs with pbsv, is there any recommended settings or hints for this? Sniffles has the potential to detect INVDUP and DELINV, I am wondering if pbsv is able to deal with these complex cases?
Thanks!

pbsv will give you the individual calls, but won't phase them. Phasing is an extra step. Separation of concerns.


Enable tempest-remap for all unix and MPI/no-MPI

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@vijaysm, please take a look at these errors and let me know if you have a solution.

@vijaysm, any reason not to merge?


Wrong version when installing from source

When installing from GitHub, the cvrf2csaf -v lists the version 1.0.0rc1. That is incorrect as it should be git describe states (e.g. 1.0.0-rc2-2-g262dcd0).

Well, how do you think this could be implemented?
Afaik this is a standard approach, that you bump the version manually before creating a tagged package/release.
Tried with multiple libraries (requests, turvallisuusneuvonta, PyMISP), if you install them from source, you get the latest tagged version (using <package>.__version__), no matter which revision/commit you have checkout.

It might be that I'm completely wrong here, but why don't we use git decribe within __init__.py? If we can't determine that automatically, why is it within __init__.py and not setup.cfg?
@sthagen: Any opinions?

In compiled languages we normally inject a -D  value per the build tool chain as the source itself rarely knows what marketing or customers wnat to tbe written there.
With python "installing from source" is maybe a bit vague.

Personally, I would use in pyproject.toml the "Blessed" dependency setuptools-scm and have that drive the version variable content per derivitaion from version value in setup.cfg and git status (latest tag going backlwards in current branch) and exposing if that version is dirty and in how many commits forward. I played around it in a toy project piipaa at https://github.com/sthagen/piipaa and that approach seems to work nicely (given the plain intended version when (1) tag, (2) current commit, and (3) setup.cfg declared version value match and amended versions else (also adhering to whatever pplanet python packaging suggests as version expressions ...

Having provided my opinion, I think one can always change later how to manage versions (after the initial acceptance) and repeating: "installing from source" may be too broad a use case to solve perfectly. Imagine a user downloading the source archive and not having git installed on their machine - that should work, right? In that case one can only use python tools (no git describe)

When I wrote "installing from source" I meant through the process described in the Readme - which obviously has a .git. However, you are right that doesn't necessarily need to be the case.
@sustefil: setuptools-scm sounds reasonable for the use cases which need to be covered for acceptance and does not rely on an installed git. Do that answer your question regarding the implementation?

It might be that I'm completely wrong here, but why don't we use git decribe within __init__.py? If we can't determine that automatically, why is it within __init__.py and not setup.cfg?
@sthagen: Any opinions?

You cannot put git describe inside init.py. The init.py content is executed when the package is imported, if there is something like subprocess.call('git describe'), then it works only if your current working directory is inside that git repository (and you have git installed ofc), and that doesn't make sense.

Ok, seems to be working as expected, I did a test on my machine, see the log:
setuptools-scm-test.txt
The file _version.py is generated upon pip install (-e) ., so before creating an sdist for PyPI, you have to run pip install (-e) .
Changes are in the Pull request #104


Add admin ports doc

Verified by running sudo netstat -nlp on a master, agent, and public agent.

What about DNS? port 53 on the masters UDP and TCP

Blocked on #233.

:ship:
And here's to hoping in the future we can hopefully build out good testing for this.


Detect asset pipeline availability

In the github app, the emoji icons are frozen to public/images, and urls to images are coded relative to the value of :asset_root. It'd be preferable to detect the availability of the asset-pipeline and use asset_path when it's available.

:+1: for asset pipeline support, because as it is now my heroku app is serving static assets (for the emoji filter), instead of having them automagically cached by cloudfront.
PS the asset pipeline instructions in the gemoji readme are out of date.


Constrain galsim <2.4.0

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

It didn't work, some gfortran version problem.  I just undid the rerender change to see if that will pass.  If so I'll merge but on Monday somebody will have to investigate why the version 11 didn't work.


[Feature]: 2FA on login?

Description
Hey guys, do you have ideas how to quickly implement 2FA (Google Authenticator/Authy) 6-digits code on regular login?
We see there is no such feature out of the box, but interesting whether you have some hooks or interceptors to implement custom step in login form.
Suggested Solution

Alternatives
No response
Additional Context
No response

https://www.npmjs.com/package/speakeasy  does this help? @ivictbor

https://www.npmjs.com/package/speakeasy does this help? @ivictbor

Thanks a lot, yes, this package looks nice, my cocern is more how to injext a page with a 2FA code after adminjs login page, is there facility to inject custom components on login?

You need to override the login component
https://docs.adminjs.co/ui-customization/writing-your-own-components
componentLoader.override('Login', './Login/index')
Then you have to create your own login provider
 const baseRouter = AdminJSKoa.buildAuthenticatedRouter(admin, adminJSApp, {
    provider: adminJSAuthProvider,
...

Something like this

interface AuthPayload extends DefaultAuthenticatePayload {
  OTPToken: string
}

class AuthProvider extends BaseAuthProvider {
  protected readonly authenticate = async (payload: AuthPayload, context: Koa.ParameterizedContext) => {
    const { email, password, OTPToken } = payload

    const res = getUserLogic(email, password, OTPToken)

    if (!res) return null
    const { user } = res
    if (user.role !== USER_ROLES.ADMIN) throw new ForbiddenError()

    return {
      email: user.email,
      title: `${user.first_name} ${user.last_name}`,
      role: user.role,
      }
    } as CurrentAdmin
  }

  constructor({}) {
    super()
  }

  override async handleLogin(opts: LoginHandlerOptions, context: any) {
    const { data = {} } = opts
    const { email, password, OTPToken } = data

    return this.authenticate({ email, password, OTPToken }, context)
  }
}

export const adminJSAuthProvider = new AuthProvider({
  componentLoader
})

This should get you on the right path, AdminJS is not very well documented. But in general you can override most components and parts of it's logic. So there is a lot to gain by poking around the source code when you want to change something.


Can't make method alias to non existing method object_id

Input
→ View on sorbet.run
# typed: true
extend T::Sig

class Person
  alias unique_id object_id
end

Observed output
editor.rb:5: Can't make method alias from unique_id to non existing method object_id https://srb.help/5037
     5 |  alias unique_id object_id
                          ^^^^^^^^^
Errors: 1

Expected behavior
object_id is a method in Object and should therefore exist, making it possible to alias it.
I've already tried adding a include Kernel to the Person class, but that doesn't work.

Duplicate of #2378


11:30:24 Error during dd. Return code 1. Script output:

Hi all
I am trying to provision a CM4 with a custom image and have uploaded the file as a .gz, plugged in the CM4 and recieved the following
000 (0)	100000003cc4cabe	10:59:47 Error during dd. Return code 1. Script output:
000 (0)	100000003cc4cabe	10:50:05 Preinstall script complete. Starting to write image.
000 (0)	100000003cc4cabe	10:49:57 Provisioning started. Starting preinstall scripts.
I have checked the logs in the 'other settings' tab but nothing in there. I have also looked in the CM4 infomation and have the following
===
Running pre-installation script 'Flash EEPROM firmware (stable/pieeprom-2022-04-26.bin)'
#!/bin/sh
set -e
curl --retry 10 --silent --show-error -g -o pieeprom.bin "http://<IP_ADDRESS>/uploads/pieeprom.bin"
echo "514e49703834474a9ac10317895ed1cbf72f01ee55ee8391bd659df383aa8b80  pieeprom.bin" | sha256sum -c
pieeprom.bin: OK
flashrom -p "linux_spi:dev=/dev/spidev0.0,spispeed=16000" -w "pieeprom.bin"
flashrom v1.1 on Linux 5.4.83-scriptexec (armv7l)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25X40" (512 kB, SPI) on linux_spi.
Reading old flash chip contents... done.
Any ideas what went wrong? I have tried two CM4s with seperate projects but this one produced an output on the CM4 informaiton.
I am using a raspberry pi4 as the server and CM4 16gb and a dual gigabit carrier board foir the CM4
Firmware: stable/pieeprom-2022-04-26.bin
Thanks
Matt

Gives an error writing the image after writing for almost 10 minutes.
What is the exact uncompressed size in bytes of your custom image?
And how much space in bytes does you CM module have exactly? (Recall you can see that if you go to the "CMs" list and export as CSV).
[quote]
I have tried two CM4s with seperate projects but this one produced an output on the CM4 informaiton.
[/quote]
Can you rephrase that?
Not sure what you mean.
(Not a native English speaker, so be very clear with your words).

Hi
Thanks for hte swift response :)
This is the listed size on the provisioner:
Comp.: 3.6 GB
Uncomp.: 31.9 GB
This is the size from the file (size on disk)
3.32 GB (3,571,449,856 bytes)
I have tried a 32 GB CM4 and also a 16GB (would the image have to be remade for a 16GB). Straight out of the box, unsure how I check this without an operating system?
or if you formatted the eMMC as pSLC, which reduces capacity by half
(I didnt chose this option in the project settings)
This is the 32 gb CM4 attempt (which produced the information in the Pre-installation script output)
export-cm-20230315 (1).csv
This is the 16 gb cm4 attempt (didnt report anything in the script output)
export-cm-20230315 (2).csv
Any suggestions would be great
Thanks
Matt

For clarity I am using the following board as a holder for the CM4

Configured like this without the boot and gnd connected

Your CM4 that is sold as "32 GB" actually only has<PHONE_NUMBER>0 bytes of storage space.
I am afraid a 31.9 GB file system image is not going to fit in 31.2 GB space...

ahhh ok I need to resize the image to around 15gb so it will work on the 16gb versions too? The actual file size is 3.32gb and a copy from a 32gb card
I will look at recreating it now

thanks so much

ahhh ok I need to resize the image to around 15gb so it will work on the 16gb versions too?

Your 16 GB module has<PHONE_NUMBER>0 bytes space according to the CSV.
So as long as you make sure things are resized so that the end of the last partition is below that it should work.

brilliant thanks maxnet :) will look at doing this now

This might help
https://github.com/Drewsif/PiShrink/blob/master/pishrink.sh

In 1.6.2 it now should give a proper error message if image does not fit.


Red Syntax Error Randomly in a valid JSX file

Error while using ReactNative, not ReactDOM
When working with react native, you let the package manager prepare the starting code for you, so you run:
npx react-native init <name-of-the-project>, this creates different files, all important for properly developing a native android/iOS application on your PC.
Strangely the starter file App.js seems full of errors.
This syntax cannot be badly written since is the starting file of React-Native itself!
It is important to point out that when running the code, it works, so it is really confusing to see all these errors signs
Steps to Reproduce:
just run npx react-native init
this is the starting file of react-native

this is a valid JSX sintax, if  used in ReactDOM it works properly
Obviously changing:
View => div
Text => p

sorry, my fault, it was a problem with ESLint somehow.


Dynamic component's v-bind one way and .once modifier not working. 1.0.0-rc.1

v-bind one way and v-bind .once still allows child component to change parent component's data.
See http://jsfiddle.net/9a0uxja6/1/.
Click on one of the link "CompA" or "CompB". Edit the text in the input textbox in the child component.
The value of the parent component will be changed accordingly even if the .once modifier is used to pass the data to the child component.

See the red note section: http://rc.vuejs.org/guide/components.html#Prop_Binding_Types
You are passing down an object by reference. .once only ensures if the child sets this.comp = somethingElse it won't affect the parent. If you want a completely fresh object you need to make a deep clone yourself.

Thanks.

How about a deep clone modifier?

@weilao you could use a custom filter for that

@fullfs Thanks, it works!


Can not get swagger metadata

I used to use swagger-tools 0.10.4 and it works to get the metadata defined in swagger.yaml, but in oas-tools, it did not work.

defined a 'x-swagger-roles' which is different for different API operations in the swagger yaml file.

paths:
  /xxx:
     x-swagger-router-controller: xxx
     post:
        x-swagger-roles: [admin, operator]

initializedMiddleware

oasTools.initializeMiddleware(oasDoc, app, (middleware) => {
  app.use(middleware.swaggerMetadata());
}

try to get this 'x-swagger-roles' for API request, but when I debug this, req.swagger is null

async function verifyAPIkey(req, _authOrSecDef, scopesOrApiKey, callback) {
  const roles = req.swagger.operation['x-swagger-roles'];  // req.swagger is null
}

in the last woking version it moved to req.oas
but in latest version also req.oas was empty

Hello, I'm planning to add a new middleware to bring support to the old swagger-tools options. The idea is that this middleware populates req.swagger object just like swagger tools did.
However, I'm currently fixing some bugs concerning the compatibility with OpenAPI spec, so please be patient with this. I will create a repo and transfer this issue there 😄

Looks like this doesn't exist.
Are there any workarounds for this? We have our own middlewares that need to read custom attributes we've defined in our swagger/openapi document.
Thanks!

I know I am a little later here. We forked this package and added this stuff back https://www.npmjs.com/package/@bitbeanllc/oas-tools
see this commit https://github.com/oas-tools/oas-tools/commit/bd87c098c99cc11916bb83404f2e0456e40e13ce


add console warning when state is defined without existing (also selected option)

Drop down has an empty entry

Duplicate by https://github.com/outbrain/Leonardo/issues/74


Bug in import/export

In my attempt to reproduce another orientdb bug on a different machine, i exported the database and tried to import it on the other machine.
Both machines are ubuntu, the first with Java 7 and the target with java 8.
Both have plenty of ram and disk space.
Both with orientdb 2.0.1
this is what i got on the import:
Importing database database /home/avit/db_dump.json.gz...
Started import of database 'remote:<IP_ADDRESS>/ontology-test' from /home/avit/db_dump.json.gz...
Non merge mode (-merge=false): removing all default non security classes
- Class NameString was removed.
- Class taggedWith was removed.
- Class ORIDs was removed.
- Class Source was removed.
- Class originatedFrom was removed.
- Class OFunction was removed.
- Class NamedEntity was removed.
- Class createdFrom was removed.
- Class stringOf was removed.
- Class isA was removed.
- Class OTriggered was removed.
- Class ORestricted was removed.
- Class OSchedule was removed.
- Class Tag was removed.
- Class titleOf was removed.
- Class relatesTo was removed.
- Class systemEdge was removed.
- Class V was removed.
- Class E was removed.
Removed 19 classes.
Importing database info...OK
Importing clusters...
- Creating cluster 'internal'...OK, assigned id=0
- Creating cluster 'default'...OK, assigned id=3
- Creating cluster 'orole'...OK, assigned id=4
- Creating cluster 'ouser'...OK, assigned id=5
- Creating cluster 'ofunction'...OK, assigned id=6
- Creating cluster 'oschedule'...OK, assigned id=7
- Creating cluster 'orids'...OK, assigned id=8
- Creating cluster 'v'...OK, assigned id=9
- Creating cluster 'e'...OK, assigned id=10
- Creating cluster 'namedentity'...OK, assigned id=11
- Creating cluster 'source'...OK, assigned id=12
- Creating cluster 'namestring'...OK, assigned id=13
- Creating cluster 'tag'...OK, assigned id=14
- Creating cluster 'isa'...OK, assigned id=15
- Creating cluster 'titleof'...OK, assigned id=16
- Creating cluster 'taggedwith'...OK, assigned id=17
- Creating cluster 'originatedfrom'...OK, assigned id=18
- Creating cluster 'stringof'...OK, assigned id=19
- Creating cluster 'relatesto'...OK, assigned id=20
- Creating cluster '_studio'...OK, assigned id=21
Rebuilding indexes of truncated clusters ...Error on database import happened just before line 0, column 868
com.orientechnologies.orient.core.exception.OCommandExecutionException: Index 'tagname' not found
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLRebuildIndex.execute(OCommandExecutorSQLRebuildIndex.java:89)
        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:64)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1176)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1165)
        at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:63)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1180)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:385)
        at com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:216)
        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:65)

Error: com.orientechnologies.orient.core.db.tool.ODatabaseExportException: Error on importing database 'ontology-test' from file: /home/avit/db_dump.json.gz

Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Index 'tagname' not found

orientdb {db=ontology-test}> select from source

Error: com.orientechnologies.orient.core.exception.OQueryParsingException: Error on parsing query
Query:  source
------^

Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Class 'SOURCE' was not found in current database

orientdb {db=ontology-test}> list classes

CLASSES
----------------------------------------------+------------------------------------+------------+----------------+
 NAME                                         | SUPERCLASS                         | CLUSTERS   | RECORDS        |
----------------------------------------------+------------------------------------+------------+----------------+
 OIdentity                                    |                                    | -          |              0 |
 ORole                                        | OIdentity                          | 4          |              0 |
 OUser                                        | OIdentity                          | 5          |              0 |
----------------------------------------------+------------------------------------+------------+----------------+
 TOTAL = 3                                                                                0 |
----------------------------------------------+------------------------------------+------------+----------------+

so eventually, the import failed completely
i tried again, with a completely empty database, and still the same results.

Please execute import not with remote, but with plocal connection until we fix this problem.

duplicate of   https://github.com/orientechnologies/orientdb/issues/3226


Plugin has no author on uninstall screen.

This is fixed by over here: https://github.com/EagerIO/Manager/commit/ee0b0e8acf7dfa8df83384c69f64d448a7cf224b
An Author field needs to be provided in the request to manager.


ci(coverage): collect test coverage

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f128b28). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #220   +/-   ##
=========================================
  Coverage          ?   77.54%
=========================================
  Files             ?       32
  Lines             ?      432
  Branches          ?       72
=========================================
  Hits              ?      335
  Misses            ?       97
  Partials          ?        0

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 f128b28...20ac289. Read the comment docs.


Include some tomography code

Some code from tomogui made bby @pierrepaleo  should be included into silx.
To compute rotation center...

@payno is this a duplicate of #1001?

yes. I closed the second one. PR #1117 should remove it

closed by PR #1117


escape characters in string with leading char "r" (raw string indicator)

VSCode Version: 1.8.1
OS Version: windows 8 (64bit)

Steps to Reproduce:

create a python code file
key in the snippet dir=r"C:\Temp\a";
it shows as

http://i.imgur.com/Ix4eE07.jpg (if attached failed)
The string is following "r", it's a raw string with no escape characters, then "\a" and "\T" should not be highlighted.
Thank you very much.
Have a nice day :)

I might misunderstand, highlight or not seems able to switched by upper/lower case "R/r".
So... there might be nothing wrong?

as attached

Another sample image

root cause found : Thomas Haakon Townsend's extension for vscode
found by Danil Tolkachev


Create publish.yml for PYPI package release

Create publish.yml for PYPI package release

@tusharchou : Lets tag this a release branch with tags. Lets create a release branch with version tag from main and have this github action setup done only for the release branch.
@abhishekkar0603 , @redpheonixx  : What do you think  ?

#38 Let me attempt to close this issue with this PR


Implement milestone feature for WCA Contract

Currently WCA contract only have one stage. Create WCA, buyer purchase, creator mark it finished, token is transferred and everything is done.
By introducing milestone, there are multiple stages to finish a WCA. Stages are defined by creator when creating a WCA. Currently there is no plan for changing it later. So parameters required to create a WCA are:

Hash160 owner
int stakePer100Token
int maxTokenSoldCount
int[] endTimestamp
String identifier

Milestones are represented by a list of endTimeStamp, each one marks the deadline of each milestone.
When finishing a WCA, by giving the identifier and the number  of milestone(number not index, index start from 0, but for most human, a number of something start with 1), attaching a link(string) to that milestone.The purchase is disabled after finishing the first milestone.
Internal implementation:

A field of List in WCABasicInfo represent endTimestamp of each milestone
A field of List in WCABasicInfo represent if this milestone is finished. null means not.

Also the query WCA should change the return value.
Last milestone finished means the whole WCA is finished. The number of unfinished milestone divided total count of ms, floor to int, is considered to  returned to buyers. Any decimal will be floored. And the remain part transfer to creator's account. NeoVM has no float number supported, so this might be a simple solution for decimals, since we only have one creator and all decimal can give to him, should have no big issuse.
Anything I forget can be mentioned in comments.

This is done by #8 , the refund feature will be implemented with threshold feature.


Saving Doesn't Reflect Change Until Web Refresh

A number of users have put in tickets ranging from, "I put in an translation end date and it doesn't show." As an admin user, if I go to that project, the end date does show. If you go to that user's machine and actually hit the refresh button (F5 on PC, Command+R on Mac), it will then show that the end date is there. This seems only to apply to the "Plan" area of a project, as I've heard users Products not saving (or showing after saving) and yet, it does once you do a browser refresh.
Basically I've been telling the users to refresh and they'll see their work did go through or I'll just verify that it's there and they are set. Just a bit of confusion on their end when they don't see the change reflected.

closing out as we won't do this in v2. This should not be an issue in v3 but if it is after release we will revisit.


release: create source archive with vendor folder

This will allow for easier integration into port frameworks like the OpenBSD one.
Tested on OpenBSD and Ubuntu Linux this time.
Thanks,
Fabian
Fixes #1550.

@Roasbeef, i know this ticket has a low priority but since lnd is currently preparing a new release I thought it might be worth to bring that PR to your attention again :smile:
Cheers,
Fabian


NEXT: Astro Documentation Site

[!WARNING]
This issue is a work in progress.

As we begin our journey to Skeleton v3, we'll be migrating our documentation from SvelteKit to a new Astro-based solution. This will help enable support for multiple frontend frameworks running in parallel.

Preview: https://next.skeleton.dev/

Resources:

Astro: https://astro.build/
Starlight: https://github.com/withastro/starlight

Dependencies:

[x] @astrojs/svelte
[x] @astrojs/react
[x] Tailwind
[x] Cloudflare
[x] Prettier
[x] MDX
[x] Expressive Code - for code blocks
[x] Nanostores / Persistent

[x] https://lucide.dev/ - for icons
https://github.com/skeletonlabs/skeleton/issues/2675

Maintainer Requests
The following requests are coming straight from the Skeleton team. These are highly likely be implemented:

NOTE: updates to the homepage will come late in the process, when we have a better idea of features to showcase

[x] Flatter navigation structure (see proposal below)
[x] Auto-generate navigation using Astro MDX content collections
[x] Improved layouts:

Floating centered three column structure for inner docs
Detailed frontmatter for standard doc pages
Quick switch between Svelte/React/etc

[x] Convert to static or use prefetch
[x] Investigate i18n support and translations
[x] Enable Iconify for Svelte/React components (or switch to Font Awesome)
[x] Add interface for selecting preferred framework (dropdown, etc)
[x] Implement Lightswitch component
[x] More emphasis on tutorials and onboarding materials, as well as news and the blog
[ ] Consider using View Translations, which Astro supports
[x] https://github.com/skeletonlabs/skeleton/issues/2591
[ ] Changelog page (reference
[ ] Mobile responsive styles and navigation (awaiting Floating UI integration)

Pages:

[x] Introduction

Simpler overall
Provide new/updated video links
Replace comparisons with "inspired by" section
Improve the FAQ

[x] Installation

Recommend utilizing the the CLI for ease of use
Create written walkthrough per each supported meta-framework
Use a timeline like view 1, 2, 3, etc to indicate steps
Emphasize Typescript support

[x] Dark mode - instructions may differ per meta-framework
[x] Cookbook - contains "recipes" for combining Tailwind/Skeleton/JS primitives
[x] 404 Page (reference)

Astro Components:

[x] Tabs (persisted for framework selection)
[x] Tailwind dark mode toggle
[x] Table of Contents

Integration Guides:

[ ] https://github.com/skeletonlabs/skeleton/issues/1916
[ ] https://github.com/skeletonlabs/skeleton/issues/2396
[ ] Lightswitch - replaces the component from v2; differs per framework/meta-framework

Community Requests
The following requests have come from the community and are under consideration:

[x] https://github.com/skeletonlabs/skeleton/issues/1852
[ ] https://github.com/skeletonlabs/skeleton/issues/2107

Bugs and Issues

...

Navigation
The following is a proposal that may grow and evolve over time.
(Top Level)

- Introduction
- Installation
- CLI
- Changelog

Design System

- Essentials
- Figma
- Themes
- Colors
- Dark Mode
- Typography
- Spacing
- Presets

Tailwind

- Alerts
- Badges
- (...)

Components

- Accordions
- App Bars
- (...)

Svelte

- Clipboard
- SVG Filters
- Focus Trap

React

- (Providers, Hooks, etc)

Integrations

- Code Blocks
- Popups
- (...)

Resources

- Cookbook
- Contributing
- Sponsorship

Feedback
If you have additional updates or requests for this feature, please do so in the comments section below.

To allow both desktop and mobile users to link to headings by clicking on them we could utilize: https://github.com/rehypejs/rehype-autolink-headings
See full convo: https://discord.com/channels/1003691521280856084/1191790107867488316/1205063596829048892

Need to look at using something like w-full on some (all?) of the samples, e.g. Accordion when all items are collapsed:

REMINDER: we need to document:

https://github.com/skeletonlabs/skeleton/pull/2556
https://github.com/skeletonlabs/skeleton/pull/2541
New TW plugin extended class: animate-indeterminate on TW Plugin page

This can be handled once this PR is completed and merged: https://github.com/skeletonlabs/skeleton/pull/2561

We need to set the site option in the Astro configuration: https://docs.astro.build/en/reference/configuration-reference/#site
Astro strongly recommends this for good reasons. This will result in a Sitemap and Canonical URL to be generated which results in better SEO which results in more visitors/easier to find docs.

Consider this for i18n translations: https://inlang.com/c/astro

Reminder on mobile navigation drawer: https://github.com/skeletonlabs/skeleton/discussions/2681#discussioncomment-9514241

We also need to add the requirement of the tailwind forms plugin to the forms & input page

Note that I've split the remaining documentation tasks into three smaller tickets to make them easier to manage and implement:

https://github.com/skeletonlabs/skeleton/issues/3067
https://github.com/skeletonlabs/skeleton/issues/2900
https://github.com/skeletonlabs/skeleton/issues/3069

Please redirect any follow ups to these tickets.


Support for xcode73

Fixes all new compiler warnings and errors and one super weird crash that's clearly a
compiler bug.

PR Cover Letter

[ ] A detailed description of the changes in the body of the PR
[ ] If available, a link to the relevant JIRA ticket in the body of the PR

[PROJ-XXXX](https://openedx.atlassian.net/browse/PROJ-XXXX)

Sandbox

[ ] Build a sandbox for your branch and add a link here

Testing

[ ] i18n
[ ] RTL
[ ] Unit, integration, acceptance tests as appropriate
[ ] Analytics
[ ] Performance
[ ] Database migrations are backwards-compatible

Reviewers
If you've been tagged for review, please check your corresponding box once you've given the :+1:.

[ ] Code review #1
[ ] Code review #2
[ ] Docs review (required for UI strings/error messages)
[ ] UX review
[ ] Accessibility review
[ ] Product review

Documentation considerations

[ ] Are there user visible changes? If so, list who is affected, and include a pointer to the relevant code.
[ ] Should this be mentioned in the release notes? If so, make sure that you included a description.

DevOps assistance
If it's needed, or even if you suspect it might be needed, do any/all these things as early as possible. Don't surprise devops right before merging! For example, touching envs/aws.py or or envs/common.py are dead giveaways that you'll need assistance when pushing your changes out. Things that require devops attention include, but are not limited to:

configuration changes
feature flags
migrations
Ways to get devops attention, pick-and-choose whichever is most appropriate for your specific PR:
[ ] Tag devops on your PR (@edx/devops), either for review (more specific to devops = better) or just a general FYI
[ ] File a support ticket

FYI: Tag anyone who might be interested in this PR here.
Post-review

[ ] Squash commits

Won't actually merge this without giving notice.

@mikekatz please review

Hi @aleffert
Running on Xcode 7.3 with commit #1231fffcf40913483c0e6b170e4d2fb7b6552a1d, still getting EXC_BAD_ACCESS below. Do you have any idea?

:+1:

@kythanh I haven't seen that problem, but I'll take a look

@kythanh That issue should be fixed on this branch. Thanks for the report

Current coverage is 48.81%

Merging #698 into master will increase coverage by +0.01% as of b177743

@@            master    #698   diff @@
======================================
  Files          436     436
  Stmts        28451   28454     +3
  Branches         0       0
  Methods          0       0
======================================
+ Hit          13886   13890     +4
  Partial          0       0
+ Missed       14565   14564     -1

Review entire Coverage Diff as of b177743

Powered by Codecov. Updated on successful CI builds.


multi sample/batch data

Hi,
what is the best way to run SE_fun in the case of multiple samples/batches ?
do I run it on each sample, i.e. select genes with p.adj<0.05 (or similar) for each sample, than  combine them all together or should I run it on then combined count matrix of all samples, i.e. assuming SE_fun is not affected by batch  ?
Thanks

Hello Im having the same doubt!


Provider rebuilds in infinite loop when KeepAliveLink is closed immediately.

Describe the bug
When an auto disposed provider calls ref.keepAlive(); and the KeepAliveLink is closed immediately (so not in an async callback for example), the provider rapidly and indefinitely rebuilds as soon as it is read.
The riverpod version I used is 2.1.3.
To Reproduce
Run the following code and press the "Test" button:
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

void main() {
  runApp(
    const ProviderScope(child: MyApp()),
  );
}

final testProvider = Provider.autoDispose<String>((ref) {
  print('create testProvider');
  ref.onDispose(() {
    print('dispose');
  });
  final link = ref.keepAlive();
  link.close();
  return 'value';
});

class MyApp extends ConsumerWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Riverpod bug'),
        ),
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              print('onPressed');
              print(ref.read(testProvider));
            },
            child: const Text('Test'),
          ),
        ),
      ),
    );
  }
}

Expected behavior
The expected output should be:
flutter: onPressed
flutter: create testProvider
flutter: value
flutter: dispose

Actual behavior
The app freezes and the output is:
flutter: onPressed
flutter: create testProvider
flutter: value
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
flutter: create testProvider
flutter: dispose
...

Hey man is there anyway I could contact you?

Resolved problem ?


docker: adds zipkin-rabbitmq test image

This adds a docker image that shares our alpine version, removing the need to manually keep core alpine versions in sync for our ad-hoc image. It is also smaller as our use cases don't require the management extensions.
$ docker images |grep rabbitmq
openzipkin/zipkin-rabbitmq                      test                   dadcf0e1724a   53 minutes ago      105MB
ghcr.io/openzipkin/rabbitmq-management-alpine   latest                 69fca3cdd4be   3 years ago         150MB

Once this is in, I'll publish it and switch zipkin-reporter to use it per below, then I'll update here also. I've tested it locally and it is fine.
https://github.com/openzipkin/zipkin-reporter-java/pull/219

new README test that the docker build works and the corresponding healthcheck, too, passed:

going to merge this as it will help align everything to the same base layer


Add support for zoom / scroll / pan options?

My feature request is something similar to this demo on amcharts:
http://www.amcharts.com/demos/line-chart-with-scroll-and-zoom/
Most specifically: the top bar that allows you to zoom / scroll into a specific date for your data. This is really useful when you have lot's of data to show.
I agree that this should be implemented as a plugin but still, here is my feature suggestion...

Actually I'd love to have a plugin with that functionality!

So what would this look like from a plugin functionality?
Let's assume the top bar idea doesn't work out and we want to just tackle the zooming. I suppose we could bind on mousedown and mouseup to start the selection process. I guess the important thing for us would be to get the first and last point in the selection window. Any suggestions how to get those values?
After we have that, I guess we could set low and high options and re-draw accordingly.
Would it be that simple?

Zooming is possible using the plugin https://github.com/hansmaad/chartist-plugin-zoom

I see that plugin buy my initial idea was a bit more advanced as to have that top bar that amcharts has. Basically this UI allows you to have a big timeline of events where the chartist-plugin-zoom is a more simple approach that only provides zoom. When you have lot's of data to show, that plugin doesn't solve very much.
It's up to you if we should reopen this or drop it. I was just clarifying my initial idea.


issue_32 bluejeans report

please review the draft of bluejeans report

I left a number of comments, feel free to click the 3 dots and reference in new issue if you'd like me or someone else to address those in a future fix.


Suggestion: use compliant JSON in example (double quotes vs single quotes)

Would like to suggest using compliant JSON in the sample code in the online demo.
JSON strings are enclosed in "double quotes" not 'single quotes'.
The sample code you get when you open the online editor uses all single quotes.  The documentation uses a mishmash of both.  It would be good to consistently use double quotes.

Typical WaveJSON is actually JS and in most cases is closer to JSON5. With comments and unquoted keys.
We do need a better explanation of this in the guide.


Merge with kenchi

Hi,
I am currently developing an anomaly detection package called kenchi and would like to merge this code into your package.
https://github.com/HazureChi/kenchi
There are three points that I can contribute to pyod.
The first is the implementation of One-time sampling.
https://github.com/HazureChi/kenchi/blob/master/kenchi/outlier_detection/distance_based.py
Sugiyama, M., and Borgwardt, K., "Rapid distance-based outlier detection via sampling," Advances in NIPS, pp. 467-475, 2013.
The second is the implementation of metrics for outlier function.
https://github.com/HazureChi/kenchi/blob/master/kenchi/metrics.py
Lee, W. S, and Liu, B., "Learning with positive and unlabeled examples using weighted Logistic Regression," In Proceedings of ICML, pp. 448-455, 2003.
Goix, N., "How to evaluate the quality of unsupervised anomaly detection algorithms?" In ICML Anomaly Detection Workshop, 2016.
The last is the implementation of the function that loads and return various datasets.
https://github.com/HazureChi/kenchi/blob/master/kenchi/datasets/base.py
If you agree, I actively would like to contribute to pyod in the future.
Thanks.

Hi Kon,
Thanks for reaching out and I am so happy you are willing to help:) Indeed I starred kenchi and like it; those two libraries have many overlappings as well. You are very welcome to contribute to pyod. I believe the points you raised above, such as metrics, can be good additions.
The only pity is that you may miss the opportunity of becoming a co-author of the latest pyod paper (submitted to JMLR) since it is almost done. You are assured that we will add you as a co-author for any future publications though. I am not sure whether this will be a problem for you...
I also need to apologize first there are many discrepancies/confusions you may find when checking out pyod codes. For instance, we are refactoring all docstring from rst to numpydoc. I also missed writing the documentation for how to contribute, but I would not be worried too much since you are an experienced open-source developer:)
So please let me know whether that aforementioned publication thing would be a concern. If not, you are welcome to contribute and I am looking forward to collaborating!
Besides talking on GitHub, feel free to drop me an email or through other channels (slack, whatsapp, or telegram etc.), whichever you prefer.
Cheers,
Yue

Thanks for your agreeing to merge with kenchi.
I will open pull requests soon.
I am also interested in becoming co-author for any future publications and would like to talk with email or slack.


Laravel Cache stores gigabytes of data and does not clear or purge on its own

Laravel Version: 5.8.12
PHP Version: 7.1.28

Description:
I have a Laravel web API that gets millions of hits a day.

I have not asked Laravel to cache anything on my side.
The cache config settings are vanilla (unchanged)

But apparently, I have 8.7G of /storage/framework/cache/~
Yes, I can create a script to just purge the cache automatically, but that's not the point, this cache thing is becoming an issue and its sucking out the disk space on the server for no reason.
Why? This is not sustainable.
Steps To Reproduce:
Not really sure, use Laravel 5.8, run a few million hits a day and see if your cache continues to grow.

So far, looks like millions of files located in random directories like 4e/25/~ and the contents of all these files are random numbers like<PHONE_NUMBER>i:2; ..<PHONE_NUMBER>i:1557586623; etc.

Are you using the ThrottleRequests/throttle middleware?

@staudenmeir, I do have throttle:60,1 set. But even if that's creating the cache of throttle requests, why would Laravel not automatically clean that mess up like it does with garbage collector on sessions? Something doesnt seem right.

That's where the files are coming from.
Garbage collection for sessions is simpler to implement and faster, as all files are stored in a single folder. The nested structure of the cache directory makes this more complex.

@staudenmeir, right that makes sense. But what you're saying though, if I'm using a throttle on millions of requests a day, there's nothing I can do aside from creating my own automated cache purge action?

You could look at other cache drivers. AFAICS, Redis automatically removes expired values.

@staudenmeir, looks like Laravel Throttle on the file driver is not good with high volume then. I'll look into other options if I decide throttling is worth using for this api project. Thanks again.

@timothymarois nice observation. Maybe the docs can be improved in this regarding throttling and high volume requests (which is the point for using throttling in the first place 😅)

@timothymarois are there any updates on this? We are hitting the same issue on an application where we throttle auth requests via email, have you implemented anything to purge the cache?

@mfn I will give it a try, thanks


Having trouble viewing patient after apparently successful install

Hi,
Thanks for the great work! I am trying to run patient-viz against an OMOP CDM with simulated CMS data on my own postgres server. The installation went well (Ubuntu 15.04, postgres 9.4, Python 2.7, etc). I can start without any issue (though I need to run on port 2120). However, the default page shows no data or way to select data and when I try to access a specific patient, I get the following error from the UI:
http://localhost:2120/patient-viz/?p=json/123&d=json/dictionary.json
"Failed loading file: json/123. Note: put the file argument as 'p'."
The output on the command line is pasted below. Would you have any suggestions of what I can try?

Adding a 'json' folder did the trick! Thank you.

I fixed the server implementation to automatically create the json/ folder if needed. Thanks for the report :)


Allows to override HTTP/2 on per SNI / context

This means you can now enable H2 per domain, without enabling
HTTP/2 globally in the ports specifications.

[approve ci autest]

[approve ci autest]

[approve ci autest]

This simply doesn't work, the internals don't work as the existing code expects :-/. Don't merge this.


WIP: Implement DROP SUBSCRIPTION

Follow up to https://github.com/crate/crate/pull/11897#issuecomment-968953154
Replacement of https://github.com/crate/crate/pull/11937

[x] stop tracking of remote shards (by CLOSE TABLE)
[x] remove retention leases on the remote cluster for each table/index (by CLOSE TABLE)
[x] remove the REPLICATION_SUBSCRIPTION_NAME index setting to turn the tables into normal tables
[x] update doc info for all subscription tables to make them normal after DROP SUBSCRIPTION (by OPEN TABLE)

Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Hi @seut, I addressed comments (my own about hints and splitting open.close). Also committed a fix (last commit) - not sure though, is it future proof - just aligned priority with ES

./gradlew :server:test -Dtests.seed=70135F98DF76A15 -Dtests.class=io.crate.integrationtests.PostgresITest -Dtests.method="testExecuteBatchWithDifferentStatements" -Dtests.locale=dz -Dtests.timezone=Asia/Rangoon
not related

crate.client.exceptions.ConnectionError: No more Servers available
seems to be infrastructural issue. retest this please


PDFs with drop down boxes can't be edited

Hi, I've been importing some character sheets for the chronicle of darkness series made by someone who has created interactive sheets to make characters with but when I import them into pdfoundry then the drop downs are the only selectable feature and there is no way to add any text to them, not sure if its a bug but if you could somehow figure out a way to add our own text along with the drop down then that would be nice, if it's just a problem with the pdf then it won't matter

Duplicate of #35


Feature/card view icons

Description
Jennifer and me (Amy) were working on adding list/thumbnail view icons.
[video]

[X] New feature (non-breaking change which adds functionality)

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have removed unnecessary comments/console logs from my code
[X] My changes generate no new warnings
[X] I have checked my code and corrected any misspellings
[X] No duplicate code left within changed files
[X] Size of pull request kept to a minimum
[X] Pull request description clearly describes changes made & motivations for said changes

Those Icons look great. My only suggestion is that we put like a popover on each one of the icons, so the user would be able to know what each of those icons mean.

That is a good idea, let talk about it tomorrow standup


fix: Expressions not starting with "=" can resolve to a regular TextField

Description
resolveFieldWidget assumed that all expressions start with "=". But there are two types of expressions:

equalsExpression
expression

As such, schema types that were oneOf between expression (not equalsExpression) and a list of non string types were enable to resolve when the input was a string. Such an example is condition:

"condition": {
      "$role": "expression",
      "title": "Boolean condition",
      "description": "Boolean constant or expression to evaluate.",
      "oneOf": [
        {
          "$ref": "#/definitions/expression"
        },
        {
          "type": "boolean",
         "title": "Boolean",
          "description": "Boolean value.",
          "default": true,
          "examples": [
            false
          ]
        }
      ]
    },

This PR addresses this issue by resolving to a regular input field when the type is an expression.
Task Item
fixes #4479
Screenshots

Coverage decreased (-0.05%) to 55.243% when pulling 0cc08521ef716c7d6eb7f875324c486c8eba3c5c on leugene/issue4479 into e828b6234f248123b55cffdb9a02634703b0de0d on main.


feat(mlservice): add base classes for an ml-service

Add a konan_service module to encapsulate all base classes the SDK provides for help with Konan web-server creation

@MohamedAbdultawab This should be ready for review and merge now

@MohamedAbdultawab This should be ready for review and merge now


What species device can be used for extracting the private key?

There are a lot of Android devices. Some using the SoC provided by Qualcomm, some used Mediatek. And some running Android 13/14, some running Android 8.1. Is there any devices have security vulnerability to extract key from secure environment like TEE?

No.


⚠ Bofrost.at has degraded performance

In 03b11b2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2293 ms

Resolved: Bofrost.at performance has improved in 5ecc4b5 after 40 minutes.


[Kosmos-g running Docker image on VM]

Describe
Model I am trying to use Kosmos-g on a GCP VM but failed to run it with both the Docker Image and the Base Environment methods.

Docker image not detecting GPU :

So I tried to run it "locally" on my VM instance :
2. Base environement :
The base does recognize the VM's GPU

But the runapp script can't find the GPU :

Did someone face the same problem and knows how to fix it ??

hi. I still encounter the same problem with the docker setup. Did you find a resolution?


New eslint rules implantation

it is too hard to review and fix
new one
https://github.com/DevExpress/devextreme-react/pull/455


updated depends_on for Java to use OpenJDK (:java was failing)

Running brew tap yugabyte/yugabytedb fails. I updated the depends_on :java dependiencies in your Homebrew tap to depends_on "openjdk", as the depends_on :java dependencies are no longer valid.
Terminal Output before PR
==> Tapping yugabyte/yugabytedb
Cloning into '/usr/local/Homebrew/Library/Taps/yugabyte/homebrew-yugabytedb'...
remote: Enumerating objects: 151, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 151 (delta 12), reused 35 (delta 9), pack-reused 108
Receiving objects: 100% (151/151), 36.17 KiB | 1.21 MiB/s, done.
Resolving deltas: 100% (38/38), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/yugabyte/homebrew-yugabytedb/Formula/yugabytedb.rb
yugabytedb: Unsupported special dependency :java
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/yugabyte/homebrew-yugabytedb/Formula/yugabytedb-client.rb
yugabytedb-client: Unsupported special dependency :java
Error: Cannot tap yugabyte/yugabytedb: invalid syntax in tap!

Other references related to this issue:

https://brew.sh/2020/12/01/homebrew-2.6.0/
https://github.com/klaytn/homebrew-klaytn/pull/6
https://github.com/Homebrew/brew/pull/9209

@bhavin192 I updated both formula to use “openjdk@8”.


[Bug]: သန္တာ + ဥ + ီ + း

What happened?
Convert to Myan-glish Name
input: ဒေါ်သန္တာဦး
response result: Daw
expected result: Daw Thandar Oo
How to reproduce the bug
Convert to Myan-glish Name
$name = 'ဒေါ်သန္တာဦး';
MMName::convertToEn($name);

Package Version
1.x
PHP Version
8.2
Laravel Version
10.x
Which operating systems does with happen with?
macOS
Notes
No response

Fixed in version 1.1.0


Have BDV windows deal properly with 2D data.

Get inspiration from what was done with MaMuT for the same issue.

Solved in #85


Change old ttf to the new release that supports Emoji 15.0

Fixes #2.

Downloaded the Blobmoji.ttf font from https://github.com/C1710/blobmoji/releases/tag/v15.0
Moved file to magisk-blobmoji/system/fonts/
While in that directory, ran mv Blobmoji.ttf NotoColorEmoji.ttf

Note that I did not test this change.

I have tested it and confirmed that it works.

come through

Unofficial release.
https://github.com/reindex-ot/magisk-blobmoji


Attributes on enums are not processed by the FileVisitor

Bug Report

Q
A

BC Break
no

Library Version
0.2.32

PHP version
8.1

Summary
While working in a project using thecodingmachine/graphqlite I wanted to guard with PHPArkitect if all GraphQL output types do have the attribute Type. While this does work as a charm for classes, it doesn't work for enums.
Investigating the codebase of PHPArkitect I found out that the FileVisitor does not retrieve the attributes for enums, likes it does for classes.
Background information: https://graphqlite.thecodingmachine.io/docs/type-mapping#enum-types
Current behavior
Running PHPArkitect for this enum:
namespace Your\Namespace;

use TheCodingMachine\GraphQLite\Annotations\Type;

#[Type]
enum SomeEnum: string
{
    case SomeCase = 'some.case';
}

Results in a violation:
Your\Namespace\SomeEnum has 1 violations
  should have the attribute TheCodingMachine\GraphQLite\Annotations\Type because all GraphQL output types should be configured as GraphQLite Type

Configuration:
use TheCodingMachine\GraphQLite\Annotations\Type;

return static function (Config $config): void {
    $classSet = ClassSet::fromDir(__DIR__.'/src');
    $config->add(
        $classSet,
        Rule::allClasses()
            ->that(new ResideInOneOfTheseNamespaces('Your\Namespace'))
            ->should(new HaveAttribute(Type::class))
            ->because('all GraphQL output types should be configured as GraphQLite Type'),
    );
};

How to reproduce
PR: https://github.com/phparkitect/arkitect/pull/305
Expected behavior
Just as with classes, PHPArkitect should handle attributes for enums as well, not resulting in a violation when attributes are present in the enum.

Closed By #305
Thanks @jerowork


Save JSON's array into JSON

Hi there, I am not really experienced with redis or schemas and stuff and this is what I wanted to use:
Schema:
{
ID: string,
warns: [
{ reason: "Something", id: "1" },
{ reason: "something else", id: "2" }
]
}

How can I do this? I am really confused. Thanks!

In the schema you would define the warns as an array (currently string[]) and on the interface (if usung typescript) create a tuple.
interface YourInterface {
    ID: string;
    warns: [{ reason: string, id: string} }];
}

In the schema you would define the warns as an array (currently string[]) and on the interface (assuming you are using typescript) create a tuple.

interface YourInterface {

    ID: string;

    warns: [{ reason: string, id: string }];

}

Thanks, but does that mean I have to parse it as a JSON every time I want to get each and every warn? And also have to parse it as a string and push to the database?

In the schema you would define the warns as an array (currently string[]) and on the interface (assuming you are using typescript) create a tuple.
interface YourInterface {

    ID: string;

    warns: [{ reason: string, id: string }];

}

Thanks, but does that mean I have to parse it as a JSON every time I want to get each and every warn? And also have to parse it as a string and push to the database?

In redis-om you should be able to just save the json, but if you have any issues regarding saving it directly as a json tell me because im actually not sure

Redis OM only supports an array of strings right now and doesn't support nested object structures. The latter is being worked on.


'module' object has no attribute 'CalcNumSpiroAtoms'

Description:

RDKit Version:  AttributeError: 'module' object has no attribute 'version'
Platform: Ubuntu 14.04

Installation from repositories:
sudo apt-get install python-rdkit librdkit1 rdkit-data
see: http://www.rdkit.org/docs/Install.html

>>> import rdkit.Chem.rdMolDescriptors
>>> rdkit.Chem.rdMolDescriptors.CalcNumSpiroAtoms()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'CalcNumSpiroAtoms'

When I type:
>>> dir(rdkit.Chem.rdMolDescriptors)
CalcNumSpiroAtoms is absent, but it should be between CalcNumSaturatedRings and CalcTPSA.

The version of the RDKit that is provided by Ubuntu tends to be fairly old and is not updated to add new features during the life of the Ubuntu release. In this case you are using a version that was released before the CalcNumSpiroAtoms() descriptor was added.
The most straightforward fix is to use the anaconda python distribution instead of the Ubuntu Python version. Installing the RDKit in anaconda Python is a one-liner.
Alternatively you would likely need to build the RDKit yourself.


Fix code scanning alert no. 21: DOM text reinterpreted as HTML

Fixes https://github.com/botsarefuture/mielenosoitukset_fi/security/code-scanning/21
To fix the problem, we need to ensure that the selectedOrgId value is properly sanitized or escaped before being inserted into the HTML. One effective way to do this is to use a function that escapes any HTML special characters in the selectedOrgId value. This will prevent any malicious content from being interpreted as HTML.
The best way to fix this without changing existing functionality is to create a utility function that escapes HTML special characters and use this function to sanitize the selectedOrgId value before inserting it into the HTML template string.
Suggested fixes powered by Copilot Autofix. Review carefully before merging.

[!

This pull request includes changes to the templates/admin/demonstrations/form.html file to enhance security by sanitizing user input. The changes introduce an escapeHtml function to prevent potential HTML injection attacks.
Security enhancements:

templates/admin/demonstrations/form.html: Added the escapeHtml function to sanitize user input by replacing special characters with their HTML entity equivalents.
templates/admin/demonstrations/form.html: Updated the organizer_id input field to use the escapeHtml function, ensuring that the selectedOrgId is properly sanitized before being inserted into the DOM.


feat(#314): Test classes should not have parent classes

Print warnings if a test class has parent classes.
Related to: #314.

History:

feat(#314): add integration test that emulates what we want to get
feat(#314): first naive implementation of RuleInherianceInTests
feat(#314): add javadocs
feat(#314): fix all integration tests
feat(#314): fix all the linter suggestions

PR-Codex overview
Focus of this PR:
This PR focuses on adding documentation for the RuleInheritenceInTests.java.
Detailed summary:

Added documentation for the RuleInheritenceInTests.java in the docs/rules/inheritance-in-tests.md file.
Added a new method parent() in the JavaParserCharacteristics class to retrieve the name of the superclass.
Added a new method parent() in the BytecodeTestClassCharacteristics class to retrieve the name of the superclass.
Added a new method superclass() in the JavaParserClass class to retrieve the name of the superclass.
Added a new method parent() in the TestClassCharacteristics interface to retrieve the parent class name.
Added a new method parent() in the Fake class of TestClassCharacteristics to set the parent class name.
Added a new class AbstractTest in the src/it/all-incorrect/src/test/java/ directory.
Added a new class UsesInheritenceTest in the src/it/all-incorrect/src/test/java/ directory.
Added a new test case RuleInheritanceInTestsTest in the RuleInheritanceInTestsTest.java file.

The following files were skipped due to too many changes: src/main/java/com/github/lombrozo/testnames/rules/RuleInheritanceInTests.java

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 3min)

@rultor release, tag is 1.2.0, title is 1.2.0.

@rultor release, tag is 1.2.0, title is 1.2.0.

@volodya-lombrozo OK, I will release it now. Please check the progress here

@rultor release, tag is 1.2.0, title is 1.2.0.

@volodya-lombrozo Done! FYI, the full log is here (took me 3min)


Weex with vue 2.4.1, the @click will be call twice at html5

Version
2.4.1
Reproduction link
https://github.com/totzcc/weex-tabbar/tree/bugreport
Steps to reproduce

First you must set up Weex Development Environment
clone project and *** switch to bugreport branch ***, and run it

git clone https://github.com/totzcc/weex-tabbar.git
git checkout bugreport
cnpm install
./start

visit http://localhost:12580/web on chrome  and click mobile device toolbar in web developer Tools
click tab1 text

What is expected?
The click function will be call twice
What is actually happening?
only call once

It's work at Vue 2.3.4.
Today I reinstall package.json, It auto upgrade to 2.4.1
I modify web/index.html script to be reproduce my problem
<script src="https://cdn.bootcss.com/vue/2.4.1/vue.runtime.min.js" type="text/javascript" charset="utf-8"></script>

You can use this code to compare these two differences
<script src="https://cdn.bootcss.com/vue/2.3.4/vue.runtime.min.js" type="text/javascript" charset="utf-8"></script>

Call twice gif

Call once gif