Fixed docker-compose command in docs

Hey,there!
I've noticed that running the docker command
docker compose up -d

resulted into the following error
unknown shorthand flag: 'd' in -d
See 'docker --help'.

It is because the docker-compose command was mistakenly written as docker compose
I've fixed this by changing  "docker compose" into "docker-compose".
Thank you for reviewing this pull request,have a good time!

Thank you for your PR! I am so happy to merge this!
In fact, the Chinese version had been a little behind the English version, but I could not fix it. Your contribution has made it better!


[DO NOT REVIEW] Testing AST-less Snarky frontend

This pulls in o1-labs/snarky#170 and a few other small changes, replacing the usual Snarky ('a, 's, 'f) Checked.t with ('s, 'f) Run_state.t -> ('s, 'f) Run_state.t * 'a.
Initial tests on my machine show ~23% speedup in witness generation (using coda tra -witness-only -repeat 5).
Checklist:

[ ] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

Closing, will follow up in a fresh PR at some later point.


Is aws-sdk installed by default?

I'm getting issues using serverless-bundle. It always excludes the aws-sdk package from bundles.

@yspreen The aws-sdk is not installed by default (see https://github.com/fusebit/everynode#faq), you need to include it in your deployment package to use it. We've decided not to couple the version of aws-sdk with the version of Node.js and leave the choice of aws-sdk version to the developers instead.


Wrong flex table syntax

System information:

Operating system (distribution) and version Win10
DBeaver version 21.0.5 EA

Connection specification:

Database name and version Vertica

Two cases exist: wrong syntax is used when a flex table is created  via UI and flex table appears in Tables folder when you create it via SQL Editor
Steps to reproduce, if exist:
Case 1:
Create flex table via UI
Expected: the flex table is created https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Statements/CREATEFLEXTABLE.htm
Acual result: a usual table is created
Case 2:
Create flex table via SQL Editor (e.g. https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/FlexTables/CreatingFlexTables.htm)
Expected: the flex table appears in Flex tables folder
Acual result: objects with the table name appear in Tables, Views, Projections folders

So, the reading of flex tables, simple tables, and views was changed.
More table fields added.
Statement for flex tables fixed.
Please test creating flex tables, tables, and views.

System tables view also was changed

verified


Add Coppell Independent School District

School Website: http://coppellisd.com/
Coppell High School teaches AP Computer Science (college-level CS 101) and Data Structures (college-level intro to Data Structures), so an advanced IDE like IntelliJ is needed.

Proof that Coppell ISD students get @coppellisd.com emails:
https://www.coppellisd.com/Page/12646

@arjvik Pull request merged. Thank you!


[FEA] Dynamic spark.rapids.sql.concurrentGpuTasks and spark.rapids.sql.batchSizeBytes

Is your feature request related to a problem? Please describe.
(A).    In the current spark-rapids (0.1 and 0.2), spark.rapids.sql.concurrentGpuTasks and spark.rapids.sql.batchSizeBytes are static and across through the whole query (and may even across multi-query in some benchmark workload), and what's more, it's  difficult for end-user to find a good setting values (particular when the user had to run multiple queries with very different runtime patten)
(B).    Radical values for those two conf may lead to OOM，but conservative values will put the GPU into an inefficient state (low efficiency)
(C).    Different query, even different query-stage in the same query have very different runtime pattern, so we need different concurrent and batch-size setting. but we can't change by using the --conf command line options (e.g. when we running TPC-DS benchmark, we can only give a fixed set of command line --conf when we submit the job with 103 queries)
(D).   So, rapids need the ability of dynamically change those two options at runtime (transparent to users), which i call it Dynamic spark.rapids.sql.concurrentGpuTasks and spark.rapids.sql.batchSizeBytes
Describe the solution you'd like
For spark.rapids.sql.batchSizeBytes, I think we can rely on the AQE framework, for different query-stage, we set different value to spark.rapids.sql.batchSizeBytes based on the statistical information from the upstream stage (for this I do not have more detailed idea, But i think AQE is a good start)
For spark.rapids.sql.concurrentGpuTasks, I think we can do  some thing by extend the GpuSemaphore

when a task want to acquire gpu，we can dynamic judge whether it can be allowed to use the gpu based-on the gpu memory pressure (i.e. total memory, free memory, and the number of tasks currently running on gpu or use some history information)
when we judge that the free gpu memory is enough, we  then put the task on gpu, if not, we put the task into a wait-list
when other task release gpu or exit, we weak up one or more task that waiting in the wait-list

By using dymamic concurrentGpuTasks， the user can give a bigger concurrent setting for better perf for most query，and for some corner query that will OOM when concurrent is bigger，rapids will dynamic limit the concurrent to minimum the OOM risc
Based on my understanding of the rapids and rmm code , three thing need to be done:

impl the get_mem_info (or other API) in RMM's pool_memory_resource
add some code in the RMM JNI code in rapids
extends rapids's GpuSemaphore (add some counter，add a judge logic based on memory pressure，add a wait-list)

I think the introduced overhead will be negligible，because we can let the task first acquire the gpu-semaphore then do the judgement
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context, code examples, or references to existing implementations about the feature request here.

I had already started doing this work (just started), but I think it's better to listen to the experts firstly

I do like the idea of allowing more tasks through based off of the amount of free memory available in the system, but I do have a few concerns with the approach.
The first is fragmentation, which we are working hard to find solutions to.  Having 5GB free does not mean that all 5GB are usable by another task.  There has been discussion about exposing a metric from RMM, something like largest possible allocation, to give us some kind of an idea about how bad fragmentation is.  That way we could take that into account too.
Second is that we use a BufferManager currently as a part of the UCX shuffle work, and we plan on using it more in the future for general processing, so we can hold more data on the GPU, but only spill it when we have to. You would have to find a way to take this into account in deciding what can go on the GPU and what cannot, what is more because we try to fill up the GPU it can also interfere with our measure of fragmentation, so we might need some statistics from the BufferManager about what is spillable and how big those buffers are.
My final concern is that memory allocation is all or nothing in many cases and predicting how much operating memory is needed can be very hard.  For example there is a join in the plan.  In one case nothing matches and there is no output.  In another case everything matches badly and we get a combinitorial explosion.  If there is not enough memory free for the later case the task fails.  If we are constantly trying to push the GPU to the limits of what it can do we are going to hit these types of situations more and more.

https://github.com/rapidsai/rmm/issues/536

@JustPlay that issue alone does not solve fragmentation problems.  It's designed to target the particularly bad fragmentation that can occur when using multiple streams, as without it each stream is essentially fragmenting the space from the perspective of other streams.
We have seen significant fragmentation in some cases with only a single stream (e.g.: cannot allocate 1.8GB when only 1.7GB of total GPU memory is allocated).  Resolving that issue will not address those scenarios.

There has been discussion about exposing a metric from RMM, something like largest possible allocation, to give us some kind of an idea about how bad fragmentation is. That way we could take that into account too.

While I may add tracking of the largest available block to the pool memory resource, knowing the largest possible allocation requires syncing and merging all streams' free lists, which is not what you likely want to do until you fail to allocate.

There has been discussion about exposing a metric from RMM, something like largest possible allocation, to give us some kind of an idea about how bad fragmentation is. That way we could take that into account too.

While I may add tracking of the largest available block to the pool memory resource, knowing the largest possible allocation requires syncing and merging all streams' free lists, which is not what you likely want to do until you fail to allocate.

No, i think you can  tracking of the largest available block(s) to the pool memory resource without doing stream sync (only give the user a info: there exists one or more block(s), but not guarantee usable immediately), let the sync to de done at the actually allocating time  (just let the task wait on the stream)

Also because the memory usage is changeing all the time this number will likely be out of date the instant it is reported.  I am a bit skeptical that a point in time measurement is going to give us what we want, but at least it would be a starting point.  We can iterate on rolling average memory usage and other things if we see some kind of improvement from the point in time metrics.

I don't think you got my point. The largest current free block is not the same as largest possible allocation. Knowing the latter requires merging all free lists to coalesce blocks from multiple streams.


Update date_range filter

"ranges" specified in "date_range_options" now get replaced instead of (replace else merge)
(A) what you did: I provided the date_range filter with custom defined ranges
(B) what you expected to happen: I expected the filter to use the custom defined ranges
(C) what happened: The custom defined ranges merged with the default ones
(D) what have you already tried to fix it: Override ranges when they are specified

A new inspection was created.

The inspection completed: No new issues


outdated README

Since the version numbering reset in 5f1bab26c4bb95e91a90a9fb581e246a08df3d85 and since rustfmt hit version 0.9 for the second time, the readme is confusing(especially since there's no rustfmt-nightly 0.8.6) and makes this sound like a recent/ongoing change:

We are changing the default style used by rustfmt. There is an ongoing RFC process. The last version using the old style was 0.8.6. From 0.9 onwards, the RFC style is the default. If you want the old style back, you can use legacy-rustfmt.toml as your rustfmt.toml.

And --config-help has been gone since 798bffb8b1e24b05a93745db14ce287d5ecddef6 but it's still mentioned, instead of --help=config:

See rustfmt --config-help for the options which are available, or if you prefer to see visual style previews, Configurations.md.

#2902 tried to fix this but cb10e06559ce583760f964385ca38d9aa59067a9 got the command backwards.

@nrc this seems to be fixed.


forge test doesn't support absolute path

Component
Forge
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (7922fd5 2024-02-05T00:19:20.258041000Z)
What command(s) is the bug in?
forge test
Operating System
macOS (Intel)
Describe the bug
forge test --match-path  absolute_path will report No tests match the provided pattern, only relative path works.
 --match-path should work for both absolute path and relative path.

I'll give this issue a try


Fix for case sensitivity

Decorators in JavaScript or TypeScript are with camelCase.

Once this is merged, I have some more upcoming suggestions.

@m4ss1m0g this is ready to be reviewed and merged.

Closed by #8.
Thanks, @ffMathy


Should $SHELL be set to bashInteractive?

I'm using Flakes to enter devenv shells (i.e. https://devenv.sh/guides/using-with-flake-parts/).
An issue I'm running into is that I'm seeing the following errors whenever tools in the devenv try to do something with a shell:
bash: bind: command not found
bash: complete: command not found

I think this is because nix develop sets $SHELL to ${pkgs.bash}/bin/bash instead of ${pkgs.bashInteractive}/bin/bash.
I can get rid of these errors by explicitly setting $SHELL:

enterShell = ''
  export SHELL=${pkgs.bashInteractive}/bin/bash
'';

Which is fine doing it once or twice, but I'm finding it tedious to do for every project I work on.
So the question is, should devenv be setting the $SHELL environment variable by default to the bashInteractive variant of bash? Or is there some other way of avoiding these errors that doesn't require me setting $SHELL in every devenv?

What OS are you using? And what is SHELL set to before nix develop?

What OS are you using? And what is SHELL set to before nix develop?

I'm on Archlinux. It's set to /bin/bash before nix develop.
But I would hope that this behavior should be independent of the OS, since this is one of main reason for using devenv in the first place.

But I would hope that this behavior should be independent of the OS, since this is one of main reason for using devenv in the first place.

Well, you never know 😄 On Nix-managed systems, you can get stuff like starship working in nix develop. Lots of opportunity for breakage.
It appears that Nix launches an interactive shell as a QOL improvement, but the SHELL var remains set to the non-interactive bash builder. mkShell also adds stdenv to the shell, so the bash in PATH in also non-interactive.
We could set SHELL to the interactive version in enterShell and also add bashInteractive to `packages.
However, in devenv test, the launched shell is non-interactive. So the above changes would invert the problem there. Not sure what the side-effects would be.


Update version to 1.0.91-2 on staging

Update version to 1.0.91-2

🚀 Deployed to production by @roryabraham in version: 1.0.92-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Mini dairy error

TypeError: Cannot read property 'getIn' of undefined
    at e.exports (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:21:230406)
    at e.exports (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:21:229945)
    at e.exports (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:21:228911)
    at e.exports (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:21:228269)
    at file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:87:98276
    at Object.m (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1024)
    at k (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1167)
    at file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1313
    at S (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1399)
    at T (file:///snap/mini-diary/4/resources/app.asar/bundle/renderer.js:37:1848)

Mini Diary 2.5.0
Electron 7.1.2
linux 5.3.0-24-generic
Locale: en-GB

@deepudoit Could you please provide more information? When does this error occur?

Seems to be a bug in draft-js-plugins-editor or Draft.js, and having multiple editors on the same page (in Mini Diary's case, that's the entry title and text editors). See https://github.com/draft-js-plugins/draft-js-plugins/issues/298.
I cannot reproduce this error, though. @deepudoit, please let me know if you manage to do so.

Closing due to inactivity. If someone can reproduce this, please let me know.


Be backwards compatible with OTP18

Notice the tests fail because some of them are implemented to fail (throw(not_implemented)). The next PR ( #675 )changes that so those tests will be skipped instead

closed via #675


[Documentation Issue] Authentication page needs to be updated to reflect the new Credentials UI

The Credentials UI in Google Developers Console has been updated. Some of the things to be updated:
-The nav hierarchy has changed. The phrases are different, but still recognizable with the old hierarchy.
-New credentials wizard has been added to help guide the users to the right credential type.
Please update the Getting Started -> Authentication in gcloud-ruby to reflect these changes.

Thanks for the issue @vsubramani!


Remove surround-* classes

The surround-* classes are no longer required as the same can be achieved with the new border-* classes.

Removed surround-* classes.


Add new endpoint for CentOS Stream

Is your feature request related to a problem? Please describe.
CentOS Project offers two platform variants: CentOS and CentOS Stream.
The differences can be found here: https://www.centos.org/cl-vs-cs/
Considering that these two platforms are run in parallel and possess different specifications I think it makes sense to keep them under different endpoints in the API.
Describe the solution you'd like
I would like a new endpoint to be created for CentOS Stream e.g. https://endoflife.date/api/centos-stream.json
Currently, under https://endoflife.date/api/centos.json there is one CentOS Stream that would have to be moved out i.e. stream-8.

I also think this makes sense, and splitting the page would make things simpler/clearer for users. This subject may have been discussed when the first stream release has been added to the page (#290), but unfortunately I cannot find any trace of that discussion.
Any opinion on this subject @endoflife-date/everyone ?

I have created a pull request for this issue https://github.com/endoflife-date/endoflife.date/pull/2958


Safe handling of service instance params (user input) in gotemplates

Is your feature request related to a problem? Please describe.
Hi folks!
In our use case, we require the user to input service instance parameters when creating service instances. Since it's untrusted user input, we need to handle it carefully (i.e. validate it etc.).
These service instance parameters - currently, it's just simple string values - are passed as is to our operator's CR's Spec.
Our provision template looks as follows (simplified:
  templates:
    - action: provision
      content: |
        apiVersion: <some-resource>/v1alpha1
        kind: <some-kind>
        metadata:
          name: {{ .instance.metadata.name }}
        spec:
          param1: {{ .instance.spec.parameters.param1 }}
          param2: {{ .instance.spec.parameters.param2 }}

This works fine, as long as param1 is a simple string without YAML-related special chars.
If the user however inputs some chars as param1 that confuse the YAML templating (we used "{}'\"\n" as an example), a Service Broker Error, status code: ETIMEDOUT, error code: 10008 is received.
The sfserviceinstances.osb.servicefabrik.io CR shows the following error:
    "status": {
        "appliedSpec": {
            "planId": "",
            "serviceId": ""
        },
        "description": "Service Broker Error, status code: ETIMEDOUT, error code: 10008",
        "error": "Retry threshold reached for de6830ca-46d4-d466-974a-68f544980ff3.\nunable to unmarshal from yaml. error converting YAML to JSON: yaml: line 6: did not find expected key",
        "state": "failed"
    }

Describe the solution you'd like
Is there a safe way to a.) ensure the input value is actually a string and b.) a safe way to render the string for downstream use?
Maybe some kind of toString function?
Describe alternatives you've considered
We tried the following YAML hacks, but the error persisted:
        spec:
          param1: {{ .instance.spec.parameters.param1 | toYaml }}

        spec:
          param1: |-
            {{ .instance.spec.parameters.param1 }}

Would be nice if you can point us in the right direction - many thanks :)

OSB api supports validation of input parameters. This feature is supported by inter operator as well as part of SFPlan.

Also
        spec:
          param1: |-
            {{ .instance.spec.parameters.param1 | nindent 12 }}

Should also force the passing the parameter as string to the Custom Resource.
Note that the nindent value might need to be adjusted

@vivekzhere Thanks for your response!
I assume these capabilities should be enough to achieve what we want. I'll quickly test them and add my findings here.

@vivekzhere Looks good!

The schema validation configured in the plan works fine
The issue with multiline strings etc. works nicely when nindenting. We added a trim to get rid of the leading new line that is otherwise always added, so it looks something along the lines of:

  templates:
    - action: provision
      content: |
        apiVersion: <some-resource>/v1alpha1
        kind: <some-kind>
        metadata:
          name: {{ .instance.metadata.name }}
        spec:
          param1: |-
            {{ .instance.spec.parameters.param1 | nindent 4 | trim }}

Many thanks for your help!


[Event Request] Codeunit 7020 (Sales Line - Price) - OnAfterIsPriceUpdateNeeded

Dear Team,
can you please add a new Event to codeunit 7020 Sales Line - Price please?
We are currently working on making our product compatible with the new price feature.
But we are struggling with one issue.
In function 'IsPriceUpdateNeeded' there is a fixed check if the CalledByFieldNo isn't Quantity or Variant Code.
We would like to decide ourselves when the update needs to be done and then we like to have the following event.
procedure IsPriceUpdateNeeded(AmountType: enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer) Result: Boolean;
begin
    if FoundPrice then
        Result := true
    else
        Result :=
            Result or
            not (CalledByFieldNo in [SalesLine.FieldNo(Quantity), SalesLine.FieldNo("Variant Code")]);
    OnAfterIsPriceUpdateNeeded(AmountType, FoundPrice, CalledByFieldNo, Result);
end;

[IntegrationEvent(false, false)]
local procedure OnAfterIsPriceUpdateNeeded(AmountType: Enum "Price Amount Type"; FoundPrice: Boolean; CalledByFieldNo: Integer; var Result: Boolean)
begin
end;

Thanks in advance,
Gunter

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 43560.


MessagePublishThrottlingTest flaky in CI

Deactivated for now
https://github.com/cbornet/pulsar-grpc/blob/7686f09ac09bb90f598d4c235b3163b417547ae8/.github/workflows/pr-test.yml#L39

Fixed by #10


docs: attaching additional cdks to agglayer

Description
Draft documentation of steps to attach additional CDK to the agglayer and have proofs settled there.

@jhkimqd is this a duplicate of #209?

This was the docs for manually doing #209, and #209 is the PR with most of the steps included in this PR automated into Kurtosis

Closing this PR as #209 was merged.


Add NodeSelector modal to utils/components

📝 Description
add NodeSelector modal to utils/components and consume in VM details page
🎥 Demo
https://user-images.githubusercontent.com/67270715/163159092-9040d9e9-e83a-41c6-ae64-fb28e6869965.mp4
Signed-off-by: Aviv Turgeman<EMAIL_ADDRESS>

/lgtm


Mark as read for selected message when navigating/narrowing to a new view is inconsistent

As discussed in these CZO threads:

#frontend > inconsistent mark as read
#issues > messages not getting marked as read

When we fixed a bug in commit e7b97e25c96cec5de4186470cace78f12b3d83ec, the behavior for marking the selected message in a new view became inconsistent, possibly due to races between scroll events and fetching messages.
The expected behavior when navigating to a new view that allows for marking messages as read (based on the type of narrow/view and the user's mark as read settings) is that the newly selected message in that view (which is normally the first unread message) should be marked as read.

Closing as fixed in #31890


[SPARK-47583][CORE] SQL core: Migrate logError with variables to structured logging framework

What changes were proposed in this pull request?
Migrate logError with variables of the sql/core module to structured logging framework. This transforms the logError entries of the following API
def logError(msg: => String): Unit

to
def logError(entry: LogEntry): Unit

Why are the changes needed?
To enhance Apache Spark's logging system by implementing structured logging.
Does this PR introduce any user-facing change?
Yes, Spark core logs will contain additional MDC
How was this patch tested?
Compiler and scala style checks, as well as code review.
Was this patch authored or co-authored using generative AI tooling?
No

cc @gengliangwang here is the structured logging migration for logError within sql/core.

Thanks, merging to master


Pass through Okta Token from Client App to Web API using Ocelot Gateway

Expected Behavior / New Feature
Pass through Okta Token from Client App to Web API using Ocelot Gateway
Actual Behavior / Motivation for New Feature
Not sure how can I simply pass Okta Token coming in header
Steps to Reproduce the Problem

Client App configured to call API using Okta Authentication
Gateway - takes request from client and passes to secure WebAPI
WebAPI is created using Okta authentication

I have appiled suggestion from this thread https://github.com/ThreeMammals/Ocelot/issues/446  I am getting " ArgumentNullException: Your Okta URL is missing. You can copy your domain from the Okta Developer Console. Follow these instructions to find it: https://bit.ly/finding-okta-domain"  Though I am using Okta-domain.
Specifications

Version: 13.5.0 (I don't think version could be an issue)
Platform: Windows
Subsystem:

Getting unauthenticated error crossroad-gateway_1  |       requestId: 0HLOMJVI4GG2T:00000001, previousRequestId: no previous request id, message: Error Code: UnauthenticatedError Message: Request for authenticated route /SystemAdminServices/api/v2/Network/UnfilteredNetworkLiteList by  was unauthenticated errors found in ResponderMiddleware. Setting error response for request path:/SystemAdminServices/api/v2/Network/UnfilteredNetworkLiteList, request method: GET

Pass through Okta Token from Client App to Web API using Ocelot Gateway
Not sure how can I simply pass Okta Token coming in header

Ocelot can forward any HTTP data including token value as:

URL query parameter value
HTTP request header
HTTP body data

I don't see any issue with Ocelot!
If you still have the same problem, please confirm the problem in newest Ocelot version which is 22.0.1 now!


SourceContext not outputing correctly in Serilog logger

Hi Mr Hickey,
As a proposed fix for #40 I would like to use SourceContext as the key when calling Serilog's ForContext().
This change brings LibLog in line with how Serilog's other overloads of ForContext() behave when given a type.
In the Serilog library, this constant is defined in Serilog.Core.Constants.SourceContextPropertyName .
Thanks for your consideration!
Ben Brandt

+1. @damianh, could you please merge(and push to nuget.org) this PR?

Without this neither NLog and Log4Net sinks don't work.

Merged, thanks guys. Will be looking to do a release in the next week.

Thanks @damianh!

When will we see a new release with this feature?

Thanks for reminding me. Will publish soon.
On 29 March 2016 at 10:27, Tommy Holm Jakobsen<EMAIL_ADDRESS>wrote:

When will we see a new release with this feature?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/damianh/LibLog/pull/99#issuecomment-202776097

4.2.5 up on nuget.org


Changed String code to 44

The code I had set before 43 is actually already taken by the BaseWorker forced code.

@vvmnnnkv @cereallarceny would you please take a look at this


COIN_API_SDK.ohlcv_historic_data() doesn't use time_end param

"params.time" should be "params.time_end" at
https://github.com/coinapi/coinapi-sdk/blob/933bce956cad1aedefed5bc702c937dee3723b63/javascript-rest/coinapi_v1.js#L107

Thanks, was fixed in the #7e0476c


Hi can we use this indian market by taking data from yfinance for every 2 min, why the development is stopped

Sure, as long as the API provides the necessary fields of data. As of now the exchange API calls are made in src/wallet.py so if you want to contribute you can make adjustments there.
I have been quite busy recently and also distraction from other projects caused me to not pay too much attention to this one. I do have a lot of optimization and refactoring in mind though, I will certainly do more devs for this project in the upcoming weeks.


Implement the FLUSH command

Adds support for the FLUSH command.
This command completely clears down faktory and is primarily useful when integration testing.
Fixes #19

Awesome, thanks for quick review 👍


DateFormat doesn't find "sr_Latn" locale variant

I'm trying to get the DateFormat class to output in Serbian Latin script (Serbian has Cyrillic "sr" and Latin "sr_Latn" variants). No matter what I do, as long as the first 2 letters of the locale variable are 'sr', the Cyrillic version is used.
MMM -> Short month name, since we're in October, the short name in Cyrillic is "окт" and in Latin is "okt".

DateFormat("MMM", "sr").format(DateTime.now().toLocal()); //  output: "окт" - this is expected, defaults to Cyrillic
DateFormat("MMM", "sr_RS").format(DateTime.now().toLocal()); // output: "окт" - this is expected, defaults to Cyrillic
DateFormat("MMM", "sr_Latn").format(DateTime.now().toLocal()); // output: "окт" - this is not expected, the correct output should be "okt" for the Latin script
DateFormat("MMM", "srWhatever").format(DateTime.now().toLocal()); // output: "окт" - confirming that only the first 2 letters of the string are used, no error is thrown
DateFormat("MMM", "Whatever").format(DateTime.now().toLocal()); // output: Exception - confirming that the string is indeed being parsed

Printing DateFormat.allLocalesWithSymbols() yields this array that doesn't have the "sr_Latn" locale in it:
flutter: [af, am, ar, az, be, bg, bn, bs, ca, cs, da, de, de_CH, el, en, en_AU, en_CA, en_GB, en_IE, en_IN, en_SG, en_ZA, es, es_419, es_MX, es_US, et, eu, fa, fi, fil, fr, fr_CA, gl, gsw, gu, he, hi, hr, hu, hy, id, is, it, ja, ka, kk, km, kn, ko, ky, lo, lt, lv, mk, ml, mn, mr, ms, my, nb, ne, nl, no, or, pa, pl, ps, pt, pt_PT, ro, ru, si, sk, sl, sq, sr, sv, sw, ta, te, th, tl, tr, uk, ur, uz, vi, zh, zh_HK, zh_TW, zu].
This doesn't seem like intended behaviour, or am I missing something?

same issue

Ok first as a note. This code is mother of all hacks and i cant grantee it wont make problems with some others part of code.
First find date_localizations.dart in flutter_localizations plugin.
then on line 35. replace code that is there with this  countryCode = codes[1];
it will make it possible to use sr_Latn. This problem is happening because they filter out anything that has more then two letters after '_'.
Note:
If you want to use this code on git you need to make a local copy of flutter_localizations plugin and then change that code

This is weird, as the symbols for sr_Latn do exist in the package data. I will investigate this further.


Actually parse feedback RTCP packets

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (53a9337) 72.72% compared to head (a5a3c55) 72.48%.

Files
Patch %
Lines

src/compound.rs
0.00%
4 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   72.72%   72.48%   -0.25%
==========================================
  Files          15       15
  Lines        1199     1203       +4
==========================================
  Hits          872      872
- Misses        327      331       +4

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


[Feature Request] Display binary protobuf payloads

Is your feature request related to a problem? Please describe.

You can't currently get the decoded contents of binary/protobuf payloads like you can for json/plain and json/protobuf.
Describe the solution you'd like

When payload.metadata.messageType is present (a namespaced string like "foo.bar.MyMessage", introduced in https://github.com/temporalio/sdk-typescript/pull/430 and I'll be adding it to other SDKs) in a payload with metadata.encoding == "binary/protobuf", then match it against user-provided protos to decode payload.data, wherever payloads are in a response, for instance here:
/api/v1/namespaces/{namespace}/workflows/{execution.workflowId}/executions/{execution.runId}/events
http://localhost:8080/openapi/#/WorkflowService/WorkflowService_GetWorkflowExecutionHistory

User-provided protos

I'm not sure what the easiest way is for users to provide ui-server their .proto files, both in dev and prod.

^ is assuming that decoding payloads is done server-side. If payload decoding is done in the browser (like if the "string"s in the pictured payload are base64 encoded binary), then I can migrate this issue to the frontend repo. Also, not sure if tctl dc web is relevant.
I think ideally this feature:

would work without having to run tctl
for prod, is configured (through providing .proto files) once by a single user (and then all viewers of prod UI would see decoded binary protobufs) until protos changed
can be configured programmatically, through a build step

Please move this issue to https://github.com/temporalio/ui, it's not a server issue.


enable testnet5 support

By reading BASE_URL at function call time instead of function definition time users of the SDK can change the client to testnet5 by setting blockchain.util.BASE_URL. (Similar to how timeout can be set to a custom value)

ok thanks


Feature 2.0.0/move device base classes

marks device base classes in Essentials.Core as obsolete and moved them to Essentials.Devices.Common
removed Rooms
removed Cisco
removed Zoom Room
added a method to resolve PepperDash_Core, PepperDash_Essentials_Core, Essentials Devices Common
fix for parsing versions

I'd add something to the Obsolete statements that says that the classes will be removed in version 2.1 or something like that. Not that we need to actually keep to that, since there's no set schedule of releases...but it'll help motivate people to update plugins as necessary when they move to using 2.0.0 as a dependency.

@andrew-welker I added in some extra notes in the obsolete classes, can you approve?


React to changes in corefx

New package versions incoming to this patch causes a cascading change to preserve transitive dependencies

System.Data.SqlClient
System.Memory
System.Runtime.CompilerServices.Unsafe
System.Threading.Tasks.Extensions

Depends on these changes to bump versions in our repos

https://github.com/aspnet/Antiforgery/pull/188
https://github.com/aspnet/BasicMiddleware/pull/332
https://github.com/aspnet/BrowserLink/pull/71
https://github.com/aspnet/Common/pull/372
https://github.com/aspnet/Configuration/pull/838
https://github.com/aspnet/CORS/pull/161
https://github.com/aspnet/DataProtection/pull/309
https://github.com/aspnet/DependencyInjection/pull/643
https://github.com/aspnet/DotNetTools/pull/448
https://github.com/aspnet/FileSystem/pull/323
https://github.com/aspnet/Hosting/pull/1445
https://github.com/aspnet/HtmlAbstractions/pull/56
https://github.com/aspnet/HttpAbstractions/pull/1015
https://github.com/aspnet/HttpClientFactory/pull/126
https://github.com/aspnet/HttpSysServer/pull/455
https://github.com/aspnet/IISIntegration/pull/887
https://github.com/aspnet/JsonPatch/pull/136
https://github.com/aspnet/Localization/pull/443
https://github.com/aspnet/Logging/pull/845
https://github.com/aspnet/Options/pull/259
https://github.com/aspnet/ResponseCaching/pull/162
https://github.com/aspnet/Routing/pull/525
https://github.com/aspnet/ServerTests/pull/125
https://github.com/aspnet/Session/pull/218
https://github.com/aspnet/Caching/pull/400

FYI @mmitche @muratg

Verbal approval from Murat. Merging this to unblock the build.


Edit all message

Required Information

Operating system: ubuntu
PHP version: 7.0
PHP Telegram Bot version: 0.45.0
Using MySQL database: yes
MySQL version: 5
Update Method: Webhook
Self-signed certificate:  no
RAW update (if available):

my Bot sends message to users with
Request::sendMessage($data);
This method works perfect and sends message to all users.
but when I want edit these message , only is edited one message (for one user).
my code :

foreach ($users_id as $user_id) {
$data['chat_id'] = $user_id;
$data['message_id'] = $postid['message_id'];
$data['text'] = $txt;
$result = Request::editMessageText($data);
}

You have to save message_id of each sent message and connect it with the user and store it somewhere in database.
I can assume from your code that you only save one of the message_id's, that won't work since it will be different for each user.

thanks a lot


Added support for CYGWIN

Added support for CYGWIN with workaround when using __STRICT_ANSI__.

I expected you to merge those two commits into one by using git rebase -i master. But ok, let's go this way.

I'm sorry, I misunderstood.


Fixed alignment check of memory allocated by kmalloc.

What this exactly changes?

Page alignment check is wrong when allocating memory. I fixed it in my PR.
For reference read it from here https://wiki.osdev.org/James_Molloy's_Tutorial_Known_Bugs#Problem:_main_function


⚠ Bofrost.at has degraded performance

In 55659f2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1294 ms

Resolved: Bofrost.at performance has improved in 5298e00 after 6 minutes.


Remove filters on homepage

Resolves #219
Removes filters on homepage.
My reasoning for this was just there's no reason to filter before seeing all the data, especially since a restrictive filter can make no data show up.

It looks like we shaved its mustache


[improve][broker][branch-3.0] PIP-364: Introduce a new load balance algorithm AvgShedder

https://github.com/apache/pulsar/pull/22949

There is an CI can't pass in branch 3.0, could you help to take a look? @lhotari @dao-jun :
StreamingEntryReaderTests.testCanCancelReadEntryRequestAndResumeReading
Unfinished stubbing detected here:
-> at org.apache.pulsar.broker.service.streamingdispatch.StreamingEntryReaderTests.testCanCancelReadEntryRequestAndResumeReading(StreamingEntryReaderTests.java:286)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. you are trying to stub a final method, which is not supported
 3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed


Website: Add headers to articles tags hero and CTA's

Awating confirmation from Sam, if the issues she encountered updating some items were fixed


chore: Support Java11, Python3.8, and Nodejs12.x runtimes

Issue #, if available:
Description of changes:
What is left to do:

[ ] Update appveyor to run java11 for in-process builds
[ ] Update appveyor to run python3.8 for in-process builds
[ ] Update aws-lambda-builders to 0.6.0 after it is released

Checklist:

[ ] Write Design Document (Do I need to write a design document?)
[ ] Write unit tests
[ ] Write/update functional tests
[ ] Write/update integration tests
[ ] make pr passes
[ ] Write documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

aws-lambda-builders has been updated to 0.6.0 on all build-* images 👍

@TheSriram I added debug support for Python3.8 and Node12.x, which are based on the previous runtimes. Java11 needs more investment before we can confidently support debugging. The reason for this is because Java11 containers are based on provided and the overriding mechanism is slightly different. I don't want to hold up releasing everything else so my recommendation is to go forward without debug support. In the meantime, I will be spending time on ensuring things work before adding that related debug config.


Data Science with Python : Multilayer Perceptron

Welcome to 'DSWP' Team, good to see you here
This issue will helps readers in getting all the guidance that one needs to learn about Multilayer Perceptron. Tutorial to Multilayer Perceptron and how it's applied and used effectively.
To get assigned to this issue, add your serial numbers mentioned in the spreadsheet of "Data Science with Python", the approach one would follow and choice you prefer (Documentation, Audio, Video). You can go with all three or any number of options you're interested to work on.
If you had referred any resources, add them up in "DS Resources". Similarly if you had used datasets, include them in "DS Datasets".
Domain : Deep Learning
Mentors Assigned : Dhruv Bajaj / Peehu Saxena
Points to Note :
The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Changes should be made inside the Datascience_With_Python/ directory & Datascience_With_Python branch.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'GWOC' contributors of 'DSWP' domain.
All the best. Enjoy your open source journey ahead. 😎

Issue is assigned to @GauravPoosarla for documentation

I want to contribute here
Name : Anindyadeep
Batch 1
Approach :

What is MLP
basics of maths for MLP
coding a dummy MLP
using keras and pytorch to show working of MLP

What kind of contribution? Documentation is already done. @Anindyadeep

@prathimacode-hub , Mam
I am M. Ashish Reddy. I would like to do AUDIO on this issue.
Batch number: 5
serial number:174.
Approach: A detailed explanation with examples and real life uses

Issue assigned to @ashish-reddy-20-08 for audio contribution


python3Packages.wagtail-localize: 1.8.2 -> 1.9

Description of changes
Fix wagtail-localize, which was broken when upgrading python3Packages.wagtail to 6.0. For this package to build, https://github.com/NixOS/nixpkgs/pull/302047 needs to be merged.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

@ofborg build python312Packages.wagtail-localize


Initializing from an image

Hi! Thank you so much, I love VD, so powerful !
Is there any way to also initialize from an image?
using autoencoder or something like encode_first_stage from SD?
thanks!

Yea, we are currently implementing new features, and this is among the updates. Please stay tuned for this.

@itjustis We just published a new code base that supports this feature. Execute the demo with python app.py and move to Image-Variation. You can control that with the fidelity slidebar.


Adding a script to build onefuzz.exe

Summary of the Pull Request
script to build onefuzz.exe and updating requirements.txt format from binary to ascii. exe will be available at .\dist
What is this about?
PR Checklist

[ ] Applies to work item: #xxx
[ ] CLA signed. If not, go over here and sign the CLI.
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?
manually tested

This should go in src/ci

moved to src/ci


Nоrmalization of line endings

Normalization of line endings:

Add .gitattributes;
Normalization existed files with mixes line endings.

This is great, thank you!! 🎁
💯💯💯


completion for set constraints

I can't figure out how to run tests locally anymore so let's see if this works.

Codecov Report

Merging #855 (a680c60) into main (d43df5c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #855   +/-   ##
=======================================
  Coverage   85.10%   85.11%
=======================================
  Files         126      126
  Lines        1746     1747    +1
  Branches      146      147    +1
=======================================
+ Hits         1486     1487    +1
  Misses        260      260

Impacted Files
Coverage Δ

...s/core/shared/src/main/scala/data/Completion.scala
100.00% <ø> (ø)

...d/src/main/scala/net/message/CommandComplete.scala
91.80% <100.00%> (+0.13%)
:arrow_up:

@tpolecat Are you on OS X? x86 or ARM? Things should mostly just work if using Docker Desktop & Intel. The Redshift tests don't work on ARM.


1.21.1 - Neoforge - Trees dont grown without datapack

Good morning,
I would like to report a problem with treeplacer for neoforge. Trees do not grow (For example, if you use treeplacer without any datapack for treeplacer, no trees will grow).
It only fails in version 1.21.1 for Neoforge.
In the fabric version it works correctly.
For now I use a small fix to have treeplacer in Neoforge: treeplacer-fabric-1.21.1-1.20.0 + Sinystra Connector + forgified-fabric-api
Thanks for your time and work!
Sorry for my bad English ;)

Thanks for the report! I'll take a look as soon as I can

Issue found and fixed. Thanks for the report am publishing a fix right now.


[Bug]: Contract slow to decompile and with duplicated events in ABI

Component
Decompile Module
Version
0.3.3
Please check the following

[X] This is not a duplicate issue
[X] I have checked the wiki and tried troubleshooting the issue

Operating System
Linux
Command used to produce the issue
heimdall decompile 0xce1f2c3139dae247bdd916056cb7c244defc8dd6 --rpc-url  -vvvv
Describe the issue you are facing
The decompilation of the contract 0xce1f2c3139dae247bdd916056cb7c244defc8dd6 took 590.15 seconds, and the decompiled ABI contains duplicated events. You can check it here: gist.github.com (they're all present 9 times).
I suspect it has something to do with the recursive_map method not detecting loops, but I'm not sure. If you give me some hints, I can try to investigate further. Removing duplicates is probably an easy thing to do when building the output, but I think reducing the decompilation time is much harder.

yeah, something is wrong haha. I'll take a look today.


Improve LogFile performance with bitset iterator

Backport https://github.com/influxdata/influxdb/pull/10044

During a run of megacheck the following issues were discovered:

LGTM 👍  Just a reminder to keep [1.6] out of the PR title as it would end up in the CHANGELOG.

Will do. 👌


Trouble interacting with numba

I'm working with Python on Windows, managed via Anaconda.  I've tried both 3.6.4 and 3.7.3 and get the same problem.  Just these three lines:
import numba
import awkward
import awkward-numba
give me an error with the following traceback:
Traceback (most recent call last):
File "", line 1, in
File "d:\Anaconda3\lib\site-packages\awkward\numba_init_.py", line 7, in
from awkward.numba.array.base import NumbaMethods
File "d:\Anaconda3\lib\site-packages\awkward\numba\array\base.py", line 10, in
class NumbaMethods(object):
File "d:\Anaconda3\lib\site-packages\awkward\numba\array\base.py", line 11, in NumbaMethods
NUMBA_DEFAULTTYPE = numba.from_dtype(numpy.float64)
File "d:\Anaconda3\lib\site-packages\numba\numpy_support.py", line 90, in from_dtype
if dtype.fields is None:
AttributeError: type object 'numpy.float64' has no attribute 'fields'
Numba 0.26.2
Awkward 0.12.10
Awkward-numba 0.12.10
Any suggestions?

I started implementing this awkward-numba in February, then realized that it would essentially be another whole implementation and I can't maintain both. Instead of two side-by-side implementations, I'm working on a single reimplementation that exposes the same algorithms to Python and Numba: awkward-1.0.
As you can see from the status, I'm at the level of getting basic jagged arrays (ListOffsetArray) in C++, Python, and Numba from a shared implementation, and this will be the basis for building an awkward-array that can be reliably used in Numba.
For now, the original awkward-numba is available only as an experiment, and I need to not maintain that in order to develop the version that will work. Sorry!

Thanks for the extremely rapid feedback.   Given that ListOffsetArray is the only one I was looking for (if I've understood correctly: effectively list of list of list of... ), do you think it's worth taking a punt with awkward-1.0 yet?  This is for investigative code, not production use.

Even at that level, probably not yet. I'm struggling through what I know to be the most definitive part: __getitem__. The class structure will be heavily influenced by what information I'll need to pass down to implement this method.
That said, the master branch will always be clean, and the tests demonstrate what features are currently possible (I've taken to naming tests after pull requests, so you know which are the new ones, though old ones necessarily change to keep up with changes in interface). It's deliberately feature-poor until the class structure is figured out, so there's __getitem__ (for int and slice) and __iter__, but not much else.

OK. Good luck! I look forward to trying the result.


Recursive overloads break when using short function syntax

This looks to be related to the way type verification is performed for short function definitions (where the return type is inferred).
Foo ::= (x: i64) => x
// Foo ::= (x: i64, y: i64) -> i64 { return Foo(x) }
Foo ::= (x: i64, y: i64) => Foo(x)

Error:
[140421545211720 compiler/context.cc:179] Assertion failed
    Expected: inserted == true
         LHS: false
         RHS: true
*** SIGABRT received at time=1639546172 on cpu 2 ***
PC: @     0x7fb6705c2808  (unknown)  pthread_kill
    @          0x1923ef0         64  absl::WriteFailureInfo()
    @          0x1923bd4        224  absl::AbslFailureSignalHandler()
    @     0x7fb67056e520  (unknown)  (unknown)
Aborted (core dumped)

If you uncomment the middle line and comment out the last line, then the overloads resolve as expected and everything works.

That's right. Currently we break the verification step into two parts (signature then body) but keep them combined for short functions. We actually need three steps (parameters then return then body, combining the last two for short functions).


support node.js native Promise?

hi , can ioredis work with native Promise of node.js

Released in v4.0.0-0. We using native Promise by default in this version.


Unexpected crash when checking for permission

Hi,
While my users' permissions are correct, I get the following traceback when checking a permission for a given user. I can't reproduce it in the shell, but it always happen when run through a django view :
Traceback (most recent call last):
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/home/www/virtualenvs/imaginationforpeople.org/imaginationforpeople/apps/member/views.py", line 143, in profile_edit
if not current_user.has_perm('change_profile', profile):
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/contrib/auth/models.py", line 324, in has_perm
return _user_has_perm(self, perm, obj)
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/contrib/auth/models.py", line 181, in _user_has_perm
backend.has_perm(user, perm, obj)):
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/guardian/backends.py", line 59, in has_perm
return check.has_perm(perm, obj)
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/guardian/core.py", line 49, in has_perm
return perm in self.get_perms(obj)
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/guardian/core.py", line 77, in get_perms
.values_list("codename"))))
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/db/models/query.py", line 514, in values_list
_fields=fields)
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/db/models/query.py", line 754, in _clone
query = self.query.clone()
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/db/models/sql/query.py", line 247, in clone
obj.where = deepcopy(self.where, memo=memo)
File "/usr/lib/python2.6/copy.py", line 173, in deepcopy
y = copier(memo)
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/utils/tree.py", line 61, in deepcopy
obj.children = deepcopy(self.children, memodict)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 228, in _deepcopy_list
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 173, in deepcopy
y = copier(memo)
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/utils/tree.py", line 61, in deepcopy
obj.children = deepcopy(self.children, memodict)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 228, in _deepcopy_list
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 173, in deepcopy
y = copier(memo)
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/utils/tree.py", line 61, in deepcopy
obj.children = deepcopy(self.children, memodict)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 228, in _deepcopy_list
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 173, in deepcopy
y = copier(memo)
File "/home/www/virtualenvs/imaginationforpeople.org/lib/python2.6/site-packages/django/utils/tree.py", line 61, in deepcopy
obj.children = deepcopy(self.children, memodict)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 228, in _deepcopy_list
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 235, in _deepcopy_tuple
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 235, in _deepcopy_tuple
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 235, in _deepcopy_tuple
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 235, in _deepcopy_tuple
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 235, in _deepcopy_tuple
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 235, in _deepcopy_tuple
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 235, in _deepcopy_tuple
y.append(deepcopy(a, memo))
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 338, in _reconstruct
state = deepcopy(state, memo)
File "/usr/lib/python2.6/copy.py", line 162, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.6/copy.py", line 255, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.6/copy.py", line 189, in deepcopy
y = _reconstruct(x, rv, 1, memo)
File "/usr/lib/python2.6/copy.py", line 323, in _reconstruct
y = callable(*args)
File "/usr/lib/python2.6/copy_reg.py", line 93, in newobj
return cls.new(cls, *args)
TypeError: instancemethod expected at least 2 arguments, got 0
My backends are the following:
AUTHENTICATION_BACKENDS = (
'userena.backends.UserenaAuthenticationBackend',
'guardian.backends.ObjectPermissionBackend',
'django.contrib.auth.backends.ModelBackend',
)
And my versions:
Django 1.3.1, Guardian 1.0.3
Thank you !
Guillaume

Maybe i've found the problem, it seems related to: http://bugs.python.org/issue1515 (I'm using python 2.6.6).

yep, that was the problem ! I'm closing the issue.


Modrinth install results in ‘no valid versions found’ with many 1.18 mods

Hey! I have a packwiz mod pack for 1.18.1 based on Fabric, and I have tried to install some mods from Modrinth. 1.18.1 was a relatively small update to 1.18, so most of the 1.18 mods are compatible with 1.18.1, so I tried to install a mod that has compatibility set to 1.18, yet I know it for sure works in 1.18.1. Unfortunately, packwiz doesn't seem to recognise that this is the case and errors out with an error message.
Steps to reproduce

Run the following command:

packwiz modrinth get https://modrinth.com/mod/dynamic-fps

Expected result
Packwiz would install Dynamic FPS mod since it has a version for 1.18.
Actual result
Packwiz errors out with no valid versions found and forces you to manually find the version link.
Proposed solutions

I can see there being an -f option to override this behaviour and install whatever version is available, but it's not good and gives completely unexpected behaviour (since mods aren't published in order; although you can sort by game version maybe? still.)
Instead, I think the better solution would be to have a flag like --game-version-range=[1.18,), which would allow to specify ‘compatible’ game versions for the mod. So with [1.18,) (in Ivy notation) it would match v2.0.6 version of Dynamic FPS mod, which is available for versions 1.17.1, 1.18.
An easier solution would be to take ATLauncher approach and allow to change mod restrictions to either of the options: current Minecraft version (default), current major Minecraft version, all Minecraft versions. --select-game-version=major.

That's just what comes to mind, really. There might be even better ways to do that which are not to manually link the mod version...

Nvm, you can just add the following to your pack.toml:
[options]
acceptable-game-versions = ["1.18", "1.18.1"]

Well, that wasn't obvious. Anyway this issue is resolved now.


Is there a limit to the number of routes

Describe the bug
In a Remix app, we are struggling to add any additional routes. We are getting the following error:
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at /Users/my-appl/node_modules/@routes-gen/remix/dist/index.js:52:30
    at ChildProcess.exithandler (child_process.js:310:7)
    at ChildProcess.emit (events.js:376:20)
    at maybeClose (internal/child_process.js:1055:16)
    at Socket.<anonymous> (internal/child_process.js:441:11)
    at Socket.emit (events.js:376:20)
    at Pipe.<anonymous> (net.js:673:12)

The only way around it, is to delete an existing route in order to create a new one.
I have tested on a fresh remix app and limit appears to be 68 routes and issues shows up when I create any additional routes.
Your Example Website or App
Local app
Steps to Reproduce the Bug or Issue

Create 70 routes on a fresh remix app
Try to run the command routes-gen -d @routes-gen/remix in a Remix App

Expected behavior
To be able to generate an updated /routes.d.ts file
Screenshots or Videos
No response
Platform

OS: macOS

Additional context
No response

@brightpixels Looking into it.

@brightpixels This is now fixed and published under @routes-gen/remix 0.3.3.

Upgrade with yarn add @routes-gen/remix@latest.
Please let me know if you still encounter this issue.
Thank you very much for opening the issue!


Bump kotlin to the latest

This may be useful

As far as I know Kotlin 1.1.3 is going to be release really soon, so I would rather wait for the release.

Released as 0.12.14


Tag released image with branch name

This will ensure that stable branches have images tagged correctly.
Signed-off-by: Mike Kolesnik<EMAIL_ADDRESS>

We should probably rename master to devel prior to merging this

We should probably rename master to devel prior to merging this


Correctly increment downsample metrics

That'll teach me to copy/paste :)

Thanks! lgtm :+1:

There should be some sort of linting possible on these things ...


Backwards compatibility with latest sinusoidal embedding change

Hey there,
I am currently trying to reproduce the en-de MustC example for joint speech_text_to_speech translation. Training the models works fine , however upon trying to evaluate the results of the model by using the suggested command
python ./fairseq_cli/generate.py \
        ${MANIFEST_ROOT} \
        --task speech_text_joint_to_text \
        --max-tokens 25000 \
        --nbest 1 \
        --results-path ${infer_results} \
        --batch-size 512 \
        --path ${model} \
        --gen-subset tst-COMMON_st \
        --config-yaml config.yaml \
        --scoring sacrebleu \
        --beam 5 --lenpen 1.0 \
        --user-dir examples/speech_text_joint_to_text \
        --load-speech-only

I get the following error message:

Traceback (most recent call last):
  File "/work/asr3/rossenbach/schuemann/envs/fairseq_22_env/bin/fairseq-generate", line 33, in <module>
    sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-generate')())
  File "/work/asr3/rossenbach/schuemann/envs/fairseq_22_env/lib/python3.10/site-packages/fairseq_cli/generate.py", line 413, in cli_main
    main(args)
  File "/work/asr3/rossenbach/schuemann/envs/fairseq_22_env/lib/python3.10/site-packages/fairseq_cli/generate.py", line 48, in main
    return _main(cfg, h)
  File "/work/asr3/rossenbach/schuemann/envs/fairseq_22_env/lib/python3.10/site-packages/fairseq_cli/generate.py", line 96, in _main
    models, saved_cfg = checkpoint_utils.load_model_ensemble(
  File "/work/asr3/rossenbach/schuemann/envs/fairseq_22_env/lib/python3.10/site-packages/fairseq/checkpoint_utils.py", line 367, in load_model_ensemble
    ensemble, args, _task = load_model_ensemble_and_task(
  File "/work/asr3/rossenbach/schuemann/envs/fairseq_22_env/lib/python3.10/site-packages/fairseq/checkpoint_utils.py", line 484, in load_model_ensemble_and_task
    model.load_state_dict(
  File "/work/asr3/rossenbach/schuemann/envs/fairseq_22_env/lib/python3.10/site-packages/fairseq/models/fairseq_model.py", line 128, in load_state_dict
    return super().load_state_dict(new_state_dict, strict)
  File "/work/asr3/rossenbach/schuemann/envs/fairseq_22_env/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2041, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for DualInputS2TTransformerModel:
        Missing key(s) in state_dict: "encoder.spch_encoder.encoder.embed_positions._float_tensor", "decoder.text_decoder.embed_positions._float_tensor"

I am assuming this is due to one of the latest commits 31fba013a070eaff69dec8642e68e7134d60ab0f deleting the _float_tensor from the state_dict. According to the description of the commit this should have backwards compatibility as the _float_tensor is only needed to track if the embedding is on CPU/GPU. However this does not seem to be the case here, or I am missing something entirely. I will try to revert to one of the last commits and see if this issue is resolved. Still, help in regards to if this issue is on my part or a mistake in the commit would be appreciated.
Best regards.

/attempt #5286

Update: Reverting the git and retraining the Model did solve this issue for me. So there seems to be an issue with the commit.


Add a link to the sources

Hello, I've noticed you copied my article and example app without any references. Could you please make sure to link it everywhere (yt,fb,github)?
https://github.com/linean/AnimatedVerticalGrid
Thanks! 🤝

Hai Linean, Yes i referred your code.
Thanks!!!


streamlit version 1.21.0 compatability

Great package - just what i needed to have forms with Streamlit sliders to save their session states when switching pages for multi-page Streamlit app!
However please change in state.py file the following line for compatability with streamlit v1.21.0, otherwise locally I did not get it to work when importing the package after a pip install:
#from streamlit.scriptrunner import get_script_run_ctx
from streamlit.runtime.scriptrunner.script_run_context import get_script_run_ctx

Sure, I will make a new release soon.

Just release the new version

Much appreciated! Thank you for the update.


Please update for Foundry 11 !!! lib dependency doesn't work!

The hotkey dependency doesn't work to install.. too old. Please update.

Feel free to use the version in my pull request. You may need to manually stick the files in though. It fixes the issues.


Add link to change.org petition

http://chn.ge/1LGpefC

We could also display the number of Change.org signatures via their API: https://github.com/change/api_docs/blob/master/v1/documentation/resources/petitions/signatures.md

Fixed by @nickybourque!


fml::WriteAtomically does no clear the temporary file.

The temporary file is not cleared after the rename at least in the Posix implementation. This might lead to fml::WriteAtomically consuming disk space per write in addition to the file being written.

Nevermind, I was mistake. The new file path does not exist and the rename isn't a swap. There is no leak.

Nevermind, I was mistake. The new file path does not exist and the rename isn't a swap. There is no leak.


LLamalend UI

https://www.notion.so/volumefi/EPIC-3-1-24-LLAMALEND-ezETH-leverage-bot-92d10b971f344ceb89642c5b5fa62d09?pvs=4
For v1, the UI will be the same as the curve leverage Juice Bot UI for easy use.
Acceptance Criteria

Create a bot for each token, but allow CHAIN selection (Ethereum / Arbitrum)

Curve Llamalalend WETH Squeeze bot (using old Juice UI)

Create a decentralized Curve llamalend Leverage Bot for your WETH collateral with continuous monitoring and automatic repayments.

Curve Llamalalend sUSDe Squeeze bot (using old Juice UI)

Create a decentralized Curve llamalend Leverage Bot for your sUSDe collateral with continuous monitoring and automatic repayments.

Curve Llamalalend tBTC Squeeze bot (using old Juice UI)

Create a decentralized Curve llamalend Leverage Bot for your tBTC collateral with continuous monitoring and automatic repayments.

Curve Llamalalend wstETH Squeeze bot (using old Juice UI)

Create a decentralized Curve llamalend Leverage Bot for your wstETH collateral with continuous monitoring and automatic repayments.

@taariq Please confirm the LLamalend bot spelling in above description.
Llamalalend or Llamalend or LLamalend

@taariq Please confirm the LLamalend bot spelling in above description. Llamalalend or Llamalend or LLamalend

This  is just Llamalend. Fixed in the OP as well.


Create a static storybook builder

NOT READY

@arunoda I think this one's ready

@mnmtanish Everything works pretty well. But when we used a custom config file, things get bit weird.
See:

Since these modules load dynamically. We may need to do something about this.

Interestingly, this works pretty well with the simple-demo but not with the todo-mvc-app.


Move home-assistant back to my Alpine base when Python 3.12 is supported

The PR https://github.com/onedr0p/containers/pull/977 migrated hass to the official Python Alpine image because Hass is removing support for 3.11 come this April.
After my Alpine base supports 3.12 this PR should be reverted, and then updated.
Ref: https://github.com/onedr0p/containers/issues/963

Going to keep hass on python image


Likely regression in track handling between versions 20240101T000844 and 20240401T222316

Version
64 bit, AnsiBuild, 20240401T222316
Describe the bug
The first 75 sectors of the second track for the disc mentioned below are scrambled.
DIC treats the track as an audio track and descrambles the first 75 sectors. The latest version comes to a result which differs from version 20240101T000844 and also from Redumper. Redumper treats the whole track as a data track.
Also see: https://github.com/superg/redumper/issues/148
I first wrongly reported this as an issue in Redumper.
Disc title
PC Action 9/99
Log files
PCABONUS0999 (DiscImageCreator).zip
PCABONUS0999 (Redumper).zip
DIC 20240101T000844 and Redumper build 314: PC Action 1999-09 (Bonus-CD).zip

I was misled by this report. http://forum.redump.org/topic/53657/fixed-cdi-track-2-wrong-in-cdi-video-cd-titelneuheiten-ii95
Uploaded.
Linux DiscImageCreator_test.tar.gz
Windows DiscImageCreator_test.zip
Btw, it seems he is busy, but I'm not. Please report a bug firstly to me. Your report is always welcome, whatever it is.

Your provided test version produces the correct checksums again.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE datafile PUBLIC "-//Logiqx//DTD ROM Management Datafile//EN" "http://www.logiqx.com/Dats/datafile.dtd">
<datafile>
    <header>
        <name>-insert name-</name>
        <description>-insert description-</description>
        <version>-insert version-</version>
        <date>-insert date-</date>
        <author>-insert author-</author>
        <homepage>-insert homepage-</homepage>
        <url>-insert url-</url>
    </header>
    <game name="-insert name-">
        <category>Games</category>
        <description>-insert description-</description>
        <rom name="PCABONUS0999 (Track 01).bin" size="472274544" crc="2dc274b8" md5="f0dfc99bfb3cda88608555e86a7922ca" sha1="41deb9d70a24321188e4236d7b33e1c6d64f4308"/>
        <rom name="PCABONUS0999 (Track 02).bin" size="25298112" crc="b3238145" md5="692d5ce49785260a510e180361739815" sha1="510d9d79cbf3532824a345e108d42091ef0822a2"/>
        <rom name="PCABONUS0999 (Track 03).bin" size="15360912" crc="d4b2e0de" md5="8a105fa7ba4f1c518aa11b23e15bcfb0" sha1="65811b97c03ef4dac89393989c035e1e1f828614"/>
        <rom name="PCABONUS0999 (Track 04).bin" size="27036240" crc="e9f65554" md5="6497583f25de2a7063942db0e716d92f" sha1="e45cccebeae7ca303eaa264e69b85e53ed1505aa"/>
        <rom name="PCABONUS0999 (Track 05).bin" size="23141328" crc="fd30f5b9" md5="0e9267062c7d4459e3c07b49570a97d9" sha1="e26d470cda9fe56198bdb4a5e6d972ff7625a9da"/>
        <rom name="PCABONUS0999 (Track 06).bin" size="30655968" crc="fbd2fb68" md5="63e4a69843a9f78cf6c90d4d64fb46be" sha1="d79cc8c215d8130a6d445edf7f7199b6a3c9a6df"/>
        <rom name="PCABONUS0999 (Track 07).bin" size="23738736" crc="d77e9731" md5="e9645193e4236f645c8bd113035b2b1a" sha1="659fb656044216de7bdf3613b09948bd3c5b098c"/>
        <rom name="PCABONUS0999 (Track 08).bin" size="28882560" crc="ee577992" md5="d403972c9c0ab6ed5e5ebe95190764a5" sha1="9a33b227b8ed6f91395b8d70abdb51073cda145c"/>
        <rom name="PCABONUS0999 (Track 09).bin" size="24051552" crc="fdbdb674" md5="d320cd8e48b8fd4c6c71fe9af3aff865" sha1="95bd7aa9e4dfd5b7e7510cd6104584031bdb5d37"/>
        <rom name="PCABONUS0999 (Track 10).bin" size="29461152" crc="2a44a71f" md5="602bce017b8ef53777290f563faab514" sha1="191133c9eaaec2812b5dede81520c462e2bbde4e"/>
        <rom name="PCABONUS0999 (Track 11).bin" size="25914336" crc="8ce02019" md5="b457e5ee75e33fb4aa0caa36ee16c226" sha1="d594c025edaac235e0eda9d4dda6a76c68026c20"/>
        <rom name="PCABONUS0999 (Track 12).bin" size="21577248" crc="2c79c959" md5="0a18b264e985733058afcd4d5d371743" sha1="384c121643261978b9056052e69fa394b9d0b64e"/>
        <rom name="PCABONUS0999 (Track 13).bin" size="30150288" crc="2e587780" md5="fc3a936a4b4cc28158b23143b55b2e3f" sha1="e5f43345df42ec35f303eb560768082072fca770"/>
    </game>
</datafile>

The log of the test version.
AppVersion
        64 bit, AnsiBuild, 20240519T232943
/c2 val3 was omitted. set [0]
/c2 val4 was omitted. set [0]
valid extension was omitted. -> set .bin
CurrentDirectory
        /tmp/PCABONUS0999
WorkingPath
         Argument: /tmp/PCABONUS0999/PCABONUS0999.bin
         FullPath: /tmp/PCABONUS0999/PCABONUS0999.bin
            Drive: /
        Directory: tmp/PCABONUS0999/
         Filename: PCABONUS0999
        Extension: .bin
StartTime: 2024-05-19T19:41:18+0200
Set the drive speed: 7056KB/sec
          Block Size: 4096
       Flagment Size: 4096
       All Block Num: 24635381
      Free Block Num: 2825099
 Available Block Num: 1567141
          I Node Num: 6275072
     Free I Node Num: 4749567
Available I Node Num: 4749567
      File System ID:<PHONE_NUMBER>398096367
          Mount Flag: 1024
 Max Filename Length: 255
DiskSize of [/tmp/PCABONUS0999]
        Total:<PHONE_NUMBER>76 bytes
         Used:<PHONE_NUMBER>2 bytes
        ---------------------------
        Space:<PHONE_NUMBER>4 bytes
         => There is enough disk space for dumping
Check if subchannel pack mode is supported
[INFO] This drive supports subchannel pack mode
Checking SubRtoW (Track) 13/13
This drive (CD-R   PX-W4012A 1.07 03/22/06  09:00     ) supports [OpCode: 0xd8, SubCode: 0]
This drive (CD-R   PX-W4012A 1.07 03/22/06  09:00     ) supports [OpCode: 0xd8, SubCode: 1]
This drive (CD-R   PX-W4012A 1.07 03/22/06  09:00     ) supports [OpCode: 0xd8, SubCode: 2]
This drive (CD-R   PX-W4012A 1.07 03/22/06  09:00     ) supports [OpCode: 0xd8, SubCode: 8]
Checking Pregap sync, msf, mode (LBA)  -7843
Reading DirectoryRecord   21/  21
LBA[000000, 0000000]: [F:ReadTOCText][L:546]
        Opcode: 0x43
        ScsiStatus: 0x02 = CHECK_CONDITION
        SenseData Key-Asc-Ascq: 02-04-01 = NOT_READY - LUN_NOT_READY - BECOMING_READY
LBA[000000, 0000000]: [F:ReadCDForCheckingSubQAdr][L:1109]
        Opcode: 0xd8
        ScsiStatus: 0x02 = CHECK_CONDITION
        SenseData Key-Asc-Ascq: 06-29-00 = UNIT_ATTENTION - POWER ON, RESET, OR BUS DEVICE RESET OCCURRED
Please wait for 40000 milliseconds until the device is returned
lpCmd: d8, 00, 00, 00, 00, 00, 00, 00, 00, 02, 08, 00
dwBufSize: 5484
Checking SubQ adr (Track) 13/13
Creating (Track AA).bin & .sub (LBA)   330687/  330687

        There is not non-zero byte in the (Track AA)
Creating (Track 00).scm & .sub, (Track 01)(-LBA).scm & .sub (LBA)    -8508/  -10000
Set OpCode: 0xd8, SubCode: 8(Raw)
Checking SubQ ctl (Track) 13/13
Creating .scm (LBA) 330588/330588
No C2 errors
Copying .scm to .img
Set LBA to descramble sector 330587/330587
Descrambling data sector of img: 200796/200796
Exec ./EccEdc.out check Sub "/tmp/PCABONUS0999/PCABONUS0999.img"
Checking sectors: 330587/330587
[ERROR] Number of sector(s) where user data doesn't match the expected ECC/EDC: 75
Total errors: 75
Total warnings: 0
Creating cue and ccd (Track) 13/13
Creating bin (Track) 13/13
Hashing: PCABONUS0999.scm
Hashing: PCABONUS0999.img
Hashing: PCABONUS0999 (Track 01).bin
Hashing: PCABONUS0999 (Track 02).bin
Hashing: PCABONUS0999 (Track 03).bin
Hashing: PCABONUS0999 (Track 04).bin
Hashing: PCABONUS0999 (Track 05).bin
Hashing: PCABONUS0999 (Track 06).bin
Hashing: PCABONUS0999 (Track 07).bin
Hashing: PCABONUS0999 (Track 08).bin
Hashing: PCABONUS0999 (Track 09).bin
Hashing: PCABONUS0999 (Track 10).bin
Hashing: PCABONUS0999 (Track 11).bin
Hashing: PCABONUS0999 (Track 12).bin
Hashing: PCABONUS0999 (Track 13).bin
EndTime: 2024-05-19T19:53:55+0200

The tracks now match the old DIC version's and Redumper's results.

Btw, it seems he is busy, but I'm not. Please report a bug firstly to me. Your report is always welcome, whatever it is.

Alright. I will report messages which are connected to both programs here first, if you insist. Especially anything connected to scrambled sectors.
So far I tried to determine the most likely source and then reported it where it seemed appropriate. But this makes it easier for me too.


Add ability to run Atlantis as a deployment

what
My team and I have added the ability to deploy Atlantis using a deployment controller rather than a statefulSet.  This also included adding the ability to create a seperate PVC for atlantis-data, which may help with PR 304 - Move atlantis-data volume to a separate PVC.
The type of controller used to deploy Atlantis is determined by a new setting .Values.atlantisController which has a default value of statefulSet. In the absence of this setting, a statefulSet controller will be created by default. This means that the changes are completely backwards compatible with the current default values.yaml file.
The deployment is configured through the values.yaml file in the .Values.deployment object.
In the event that the Atlantis cluster is scaled to zero and quickly scaled to one again, to prevent two pods from simultaneously trying to access the same lock and plan files we use .Values.deployment.strategy: "Recreate" by default.
why
We use KEDA to scale our Kubernetes clusters based on events, but we would like the ability to scale our Atlantis clusters based on HTTPS events. To do this we need to use the KEDA http-add-on, which currently only supports deployment type controllers.
tests
Deployment
We tested these changes by deploying Atlantis with deployment and statefulSet controllers using the modified Helm chart in this request. Both are able to successfully deploy and pass the UI test suggested in the README by running
helm test my-atlantis

Scaling
When running Atlantis with a deployment controller, one of the main concerns is data in the PVC surviving pod failure. To confirm that data in the atlantis-data directory in the PVC does survive pod failure we;

Launched an interactive terminal in the Atlantis Pod
Created a text file in the atlantis-data directory
Exited the interactive terminal
Scale down the cluster to zero and Immediately scale back up to 1
Launched an interactive terminal in the new Atlantis Pod
Checked that the text file was still present in theatlantis-data directory

Backwards Compatibility
We also used the following command to test the Manifests produced.
helm install atlantis-release atlantis/ --values atlantis/values.yaml --dry-run --debug | tee manifests.txt

I ran this command in three scenarios:

Old Helm Chart, with old default values file
New Helm Chart, with old default values file
New Helm Chart.  with new default values file (with default statefulSet controller)

In all of these scenarios the manifests produced were exactly the same. (Tested by comparing stringified YAML output)
references
No references.

thanks for the contribution @jacob-jameson , we will review shortly

The lint test failed because I forgot to bump the chart version number. What should I bump the version number to? Does this count as a Major/Minor/Patch update?

since is not a breaking change let's update the minor version.

Could a Maintainer approve the Test Workflows pleas

Is there anything I need to do pre-merge?

Is it acceptable to give a reviewer write permissions on my branch so that they can update the chart version when they review my code? I can't keep up with the chart version changes, and I have no idea when the linting pipelines will be run, so they always fail.

no, you should wait until is reviewed and approved and then bump the chart version

I think all linting tests should pass now. Could I please get a code review?

Can I get a review please?

we also have the same requirement. LGTM, can we get a review?

@jacob-jameson could you fix the conflict? Thanks.

@jacob-jameson please update the chart version please

@jacob-jameson I bumped the version for you but now we have a JSON schema validation so please update the values there.


No cards in @clr/core anymore?

Describe the bug
There used to be .card class in clarity v4. We are upgrading to clarity v5 and use it with modern js tools(webpacker) to bundle our js and css.
However, v5 requires every module to be "imported" since there is no more "@clr/ui" documentation on the official site(discontinued?) and no more ways to just load clarity css file and use css classes. I cant even find the list of css classes. Also, everything starts with "cds" like  and they are tags instead of css classes.
We implemented and upgraded everything to webpacker with clarity v5 but there are no cards in v5 core components. There are no grids either!!
It's almost impossible to develop apps without a grid(clr-col-md-4 etc.) or cards.
What is going on?
Am I missing something?

You can find documentation on the old card component at https://clarity.design/angular-components/card.

Hi @dave105010, it sounds like you are looking at the two different implementations, Clarity Angular/UI and Clarity Core. So when we talk about versions, we have to be more clear about which implementation we are talking about.
Clarity Core is not yet complete, so there are some gaps. You can continue to use the original Clarity Angular/UI components, but long term we are focusing on Clarity Core implementations for better accessibility, higher quality, and broader compatibility.
Clarity Core  just launched cards. We also have a layout system. Some documentation is not yet moved to the main website, so that might explain some gaps you are seeing.
You can also continue to use Clarity Angular/UI in your project with Clarity Core at the same time. We are hoping to complete the rebuild of all components in the coming months, but it will still be a little bit of time. If you are not ready to update to use Clarity Core components, you can certainly continue to use the existing Clarity Angular/UI components for as long as you need, they will not go away.
We have promoted some content on our blog about what is happening, so you can follow it as well for updates. We are also working on some website enhancements to help with questions like these in the coming weeks.

Hi @gnomeontherun ,
What's the reasoning behind switching from css classes to actual tags?
Before, it was easier to switch from bootstrap to clarity. It was easier for any developer to start building on.
Now, it's almost its own niche and the learning curve keeps increasing. Especially with those cds tags and attributes with very long names.
I think I've never spent this much time understanding what's going on in the frontend while trying to make clarity work.
Also, I still cannot find the CSS classes/examples of the Clarity v5 even if I wanted to use UI component classes.
On v4, it was here (e.g. badges): https://v4.clarity.design/documentation/badges#examples
Now, it's like CSS disappeared from existence for clarity.
I couldn't find anything that mentions that in the changelog either. The stuff in the changelog is mostly linking to closed github issues. I'm very very confused.

@dave105010
The tags are web components. We've written some articles about our rationale for moving to web components as well as a blog detailing the performance benefits of moving in this direction.
While web components may be unfamiliar to some, they are a web standard that is gaining a lot of traction. As far as styling the web components, we do that with CSS custom properties. It makes it easier for an application to customize the components individually or application-wide. What's more, the CSS styling of the web components is self-contained so there's the added benefit of Clarity's styles are no longer contributing to any sort of CSS cascade inflation. It will also be easier to use something like Bootstrap alongside Clarity if a team needed to. There's less risk of the two libraries stomping on each other.
For what it's worth, the Clarity Core components are far easier to customize and support more radical customization than was possible (at least without significant CSS hackery) with Clarity UI.
Other libraries that are moving in the direction of web components and/or CSS custom properties include the aforementioned Bootstrap, Material, IBM Carbon, and more.
@coryrylan did a presentation on web components and more of the lower level details of what we are doing, how, and why.

@mathisscott Thank you so much for your detailed answer. It makes much more sense now. I'm reading the articles as we speak.


components

So @karissa asked in https://github.com/datproject/datproject.org/issues/511 what the status is on a certain component, and I linked to like 5 different things. I feel I've got a pretty good grasp of the status of components in choo, but that information is not written down anywhere right now. So this is a tracking issue to figure out where our components are at.
Building components
When I first wrote about the ideas of choo v5, I also mentioned components. We didn't end up shipping components in the final release. This was because it turned out all the primitives for components can be built on top of choo, so by documenting the patterns needed, we can have them live as separate modules instead.
At their core, components are stateful DOM nodes that are not affected by the diffing algorithm. They manage their own lifecycle, and fire internal events when they're mounted, unmounted or receive new data. This makes them ideal to wrap stateful third party code, like the leaflet map framework.
In order to achieve stateful nodes, we must make sure that certain parts of the DOM tree are not diffed by nanomorph. We can do this by setting .isSameNode() on a node. This must be done conditionally, however, because at a first render we must pass a DOM tree. To detect when nodes are added and removed from the DOM we use on-load. Because wiring all these bits up together can be tricky, and prone to error, we created nanocomponent.
nanocomponent is the core of our component abstraction. It's just a convention turned into code. It exposes a prototypical API, which might prove to be a bit unwieldy if you're writing application code. So for applications we've created microcomponent. It has a whole bunch of conventions around state management, logging, tracing, and determining if elements should be updated. If you're curious how to write your own nanocomponent-based elements, I think the microcomponent API should give you a good idea of how to shape it (e.g. never expose a prototype API for application-level code).
Core modules

nanocomponent is the core abstraction for our components.  It's a convenience wrapper around the patterns nanomorph requires to have stateful nodes, and uses on-load under the hood. It exposes a prototypical API. This is a module-level component; you should generally only use this if you're creating modules to put on npm and not in applications.
cache-element caches an element, forever. This is ideal for parts of the app that never change (e.g. headers, footers, inner elements, etc.)
microcomponent is a small wrapper around nanocomponent. It exposes an API that's quite similar to React's component API. But we also include tracing and logging, which makes it very debuggable. This is an application-level component; you should generally only use this if you're writing applications, and not use it to to create npm modules.
cache-component by @bcomnes - a different take on microcomponent.  This is not sure yet, but I think there's a fair chance the two modules may converge in the future (or find a slightly different niche, too soon to tell)

Issues

[ ] on-load listeners may leak over time (https://github.com/shama/on-load/issues/13). Since we rely on on-load for stateful components, this might be an issue
[ ] nanomorph when morphing lists, elements don't apply child node reordering (https://github.com/yoshuawuyts/nanomorph/issues/8). Has a PR in https://github.com/yoshuawuyts/nanomorph/issues/61
[ ] morphing two instances of nanocomponent can leak proxy nodes https://github.com/yoshuawuyts/nanocomponent/issues/29

ecosystem

[ ] list element: So far hyperlist-component seems to be working the best, but I feel there's a few things missing still:

[ ] No tracing support yet (e.g. nanotiming)
[ ] The API uses an options argument to pass down methods, I think ideally we'd have something closer to https://github.com/editdata/infinite-elements/issues/1 (less words to learn means it's easier to pick up)
[ ] It doesn't support variable height elements yet, although there appears to be work on that front (https://github.com/tbranyen/hyperlist/issues/12)

[ ] form element: I feel forms can be improved upon, I sketched out an API 7 months ago, but yeah we should probably figure out a way to easily create forms
[ ] modal element: either https://github.com/shama/modal-element needs a patch, or we need to rewrite it from scratch to work with nanocomponent.  Can be mostly modeled after base-elements/modal.

And there's probably other elements that can be done: tabs, dropdown menus, slide-in panels, notification bubbles. The works. It'd be cool if people that are interested would start building those out too!
Wrapping up
And that's it - I think this captures the current state of components in choo. I hope it's been useful, and if you build something cool, have questions or want to help out on any of this - we'd love to hear from you! Cheers! :sparkles:

Nice writeup

I like the nanocomponent idea, but after reading this, it doen't sound like components are a part of choo. I mean, they can be used with choo, but they are not made for choo, also you could use (maybe) another component library with choo.
So, when I think about choo components I imagine a plugin or library that extend nanocomponent and allow to use components in choo like this
var html = require('choo/html')
var choo = require('choo')
var components = require('choo-components')

var app = choo()
app.use(components(require('list-component'), require('form-component')))
app.route('/', mainView)
app.mount('body')

function mainView (state, emit) {
  return html`

count is ${state.count}

      <FormComponent path=${state.path}>
        <List source=${state.data}></List>
      </FormComponent>

  `
}

I don't know if that make sense, but thats the way it feels natural for me to use components. The registration method was the first one I came up with haha.

Yeah that could totally work! It'd be heaps cool if people experimented
with all this and found patterns that work well - like you said: I don't
think we should tie components into choo - that way we keep core small and
allow people to innovate on top :D
On Tue, May 9, 2017 at 2:08 PM Yerko Palma<EMAIL_ADDRESS>wrote:

I like the nanocomponent idea, but after reading this, it doen't sound
like components are a part of choo. I mean, they can be used with choo,
but they are not made for choo, also you could use (maybe) another
component library with choo.
So, when I think about choo components I imagine a plugin or library
that extend nanocomponent and allow to use components in choo like this
var html = require('choo/html')var choo = require('choo')var components = require('choo-components')
var app = choo()app.use(components(require('list-component'), require('form-component')))app.route('/', mainView)app.mount('body')
function mainView (state, emit) {
return html
count is ${state.count}
      <FormComponent path=${state.path}>        <List source=${state.data}></List>      </FormComponent>
}
I don't know if that make sense, but thats the way it feels natural for me
to use components. The registration method was the first one I came up with
haha.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/yoshuawuyts/choo/issues/486#issuecomment-300143602,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleudrE3h00l6xOeCSIN1aAHKp6O4Yks5r4FdVgaJpZM4NJqrw
.

Great summary. Has anyone played around with ways to initialise the components? You have to use new and cache the instance for later renders. It becomes very difficult with lists.

I've only component-ized the entire list.  I imagine the only way to do it with list items, is to track instances in an array, and manage their lifecycle in the array.