Compiler crash on match with union types

The following code causes a compiler crash if the /* commented */ section is left commented.
Code snippet
primitive ThingBase
primitive ThingOne
primitive ThingTwo

type OtherThings is (
    ThingOne
  | ThingTwo
)

type Thing is (
    ThingBase
  | OtherThings
)

actor Main

  let _env: Env

  new create(env: Env) =>
    _env = env
    considerThings(ThingBase)
    considerThings(ThingOne)
    considerThings(ThingTwo)

  fun ref considerThings(t: Thing) =>
    match(t)
    | (let t': ThingBase) =>
      _env.out.print("base thing")
    | (let t': OtherThings) =>
      _env.out.print("other thing")
    /*
    else
      // strictly speaking this 'else' shouldn't be necessary,
      // but without it the compiler crashes.
      _env.out.print("unknown thing")
    */
    end

Compiler version
$ ~/opt/pony/bleed/build/release/ponyc -v
0.14.0-c2b4402 [release]
compiled with: llvm 3.9.1 -- cc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609

Crash details
$ ~/opt/pony/bleed/build/release/ponyc
Building builtin -> /home/stewart/opt/pony/bleed/packages/builtin
Building . -> /home/stewart/opt/pony/bugs/union-no-match
src/libponyc/expr/match.c:56: case_expr_matches_type_alone: Assertion `def != NULL` failed.

Backtrace:
  /home/stewart/opt/pony/bleed/build/release/ponyc(ponyint_assert_fail+0x90) [0x11dc640]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x119fda1]
  /home/stewart/opt/pony/bleed/build/release/ponyc(expr_match+0x445) [0x11a06f5]
  /home/stewart/opt/pony/bleed/build/release/ponyc(pass_expr+0x23b) [0x115b77b]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x1148865]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x114894e]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x114894e]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x114894e]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x114894e]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x114894e]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x114894e]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x114894e]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x1148b17]
  /home/stewart/opt/pony/bleed/build/release/ponyc(ast_passes_program+0x256) [0x11490b6]
  /home/stewart/opt/pony/bleed/build/release/ponyc(program_load+0x74) [0x117f9a4]
  /home/stewart/opt/pony/bleed/build/release/ponyc() [0x112c8f8]
  /home/stewart/opt/pony/bleed/build/release/ponyc(main+0x467) [0x112c5c7]
  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fd675d3d830]
  /home/stewart/opt/pony/bleed/build/release/ponyc(_start+0x29) [0x112c809]
This is an optimised version of ponyc: the backtrace may be imprecise or incorrect.
Use a debug version to get more meaningful information.
Aborted (core dumped)

This seems like it is probably the same issue as
https://github.com/ponylang/ponyc/issues/1975

I'm not sure it is. This example crashes in the expr pass while the one in #1975 crashes during code generation.

This builds fine on 0.14.0, so it's likely related to the exhaustive match stuff introduced recently.
Debug backtrace :
Building builtin -> /Users/paul/Projects/ponyc/packages/builtin
Building . -> /private/tmp
src/libponyc/expr/match.c:56: case_expr_matches_type_alone: Assertion `def != NULL` failed.

Backtrace:
  0   ponyc                               0x000000010ea77641 ponyint_assert_fail + 161
  1   ponyc                               0x000000010ea1a9b9 case_expr_matches_type_alone + 329
  2   ponyc                               0x000000010ea1984f is_match_exhaustive + 319
  3   ponyc                               0x000000010ea1928e expr_match + 494
  4   ponyc                               0x000000010ea2c181 pass_expr + 625
  5   ponyc                               0x000000010ea301ed ast_visit + 685
  6   ponyc                               0x000000010ea30124 ast_visit + 484
  7   ponyc                               0x000000010ea30124 ast_visit + 484
  8   ponyc                               0x000000010ea30124 ast_visit + 484
  9   ponyc                               0x000000010ea30124 ast_visit + 484
  10  ponyc                               0x000000010ea30124 ast_visit + 484
  11  ponyc                               0x000000010ea30124 ast_visit + 484
  12  ponyc                               0x000000010ea30124 ast_visit + 484
  13  ponyc                               0x000000010ea30b0c visit_pass + 156
  14  ponyc                               0x000000010ea305e0 ast_passes + 736
  15  ponyc                               0x000000010ea302f5 ast_passes_program + 37
  16  ponyc                               0x000000010ea4d6fe program_load + 190
  17  ponyc                               0x000000010e9922ff compile_package + 47
  18  ponyc                               0x000000010e992130 main + 1120
  19  libdyld.dylib                       0x00007fffb9bc3255 start + 1
  20  ???                                 0x0000000000000001 0x0 + 1

Assigning myself to fix this.


Support getting file metadata on Windows

Main changes are the first two commits - one refactors handles a bit to make their usage more consistent and adds the file variant, the other actually adds the metadata shims.
This also changes miri to never return invalid handle errors, instead always treating them as an error. This behavior matches that of code running under the MSVC debugger - invalid handles are treated as exceptions in debug contexts.
Split off #4043

Before we get too much further on this PR, I'd like to point out https://github.com/rust-lang/miri/pull/4043/commits/296d806930304c03f2cba91cc8a2fed4a2f38d16 on the big PR. It's the changes needed to FileDescription methods to make them platform-agnostic enough for Windows use-cases. If they look fine, we can continue, but if you think it's a bad design then the FileDescription trait will need entirely split in two, which will change code even in this PR.

Reducing the places where we have to use global state like errno seems like an improvement. But please use Result<_, IoError> (with Miri's IoError type).

@rustbot ready

Okay I finally had a look at the core new file in this PR. :)
@rustbot author

@rustbot ready

@rustbot author


[Request] - List of related FK, which link to the current table

Is your feature request related to a problem? Please describe.
FK are good documented, with a link from the FK to the related column(s)
I would also like so see links from a table to all FK which link to the current table
Describe the solution you'd like
an optional  "list of related FK" section after the "Indexes" section
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 or screenshots about the feature request here.

Thanks for the feature suggestion. This was something I originally considered including, but wasn't too sure of its value to people.
This will probably make it into the next non-bug fix release.

Will probably implement this as a "dependency" table, including FKs and user defined object references as well.


Out of Memory error with elm-make (0.18) when compiling large list

I need to initialize an array of static values generated by another piece of code. I produce an elm file that looks like this:
moves = Array.fromList [  (0,0,0,0),
(0,0,0,1),
(0,0,0,2),
(0,0,0,3),
(0,0,0,4),
(0,0,0,5),
(0,0,0,6),
...
(0,0,0,7),
(0,0,0,8),
(0,0,0,9),
(0,0,1,0),
(0,0,1,1)]
with about 13,000 lines. When I try to compile it on Windows 10 with 32GB of RAM, the 32 bits process reach the 2GB limit and exit with an out of memory error.
Is there a better way to initialize an array of static values? Is there a 64 bits version of the compiler?
Thanks

Isn't this issue a duplicate of https://github.com/elm-lang/elm-compiler/issues/1521?

Oh, your problem occurs at compile time.

Thanks for reporting this @frje!
A workaround is to use [ foo, bar ] ++ [ baz, qux ] instead of [ foo, bar, baz, qux ] - the bug is caused by a single large literal, so splitting it up into smaller literals sidesteps it.
I'm going to close this as a duplicate of https://github.com/elm-lang/elm-compiler/issues/1521 - but thanks again for the report!

@rtfeldman, this isn't a duplicate of #1521, so should be reopened. That other issue is about a runtime error. This one here us about a compile time error!

With the development branch, I am able to compile with 70k lines of this kind of thing. (I stopped trying higher numbers at that point.) This may be due to optimizations in type inference, but I'm not certain.
So I am going to close because I can no longer reproduce, and if there are issues again with 0.19, please open a new issue with exactly the code you are struggling with if possible. (Linked in a gist or something.)


KAFKA-17179: Remove integration tag in class level when using ClusterTestExtensions

Since KAFKA-17172 add integration tag on ClusterTestExtensions, we no longer need integration tag on classes which already used tag ClusterTestExtensions.
Furthermore, add integration tag will prevent running unit tests within the class If the user runs unit-tests-only command.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@mingyen066 thanks for this patch. there are other tests having same issues. for example:

@chia7712 Thanks for review. I found I missed so many files need to be changed when I use "Find Usages" for ClusterTestExtensions.
I checked all of the usages and remove the tags.


Disable SafeSnap plugin on non-binary questions

The Reality module that SafeSnap is built on only supports binary questions.
We should disable the SafeSnap elements if the user adds more than two outcomes to a question.

Transfered this issue to Snapshot repo

Hey @mktcode what's the status on this issue?

Maybe for now it would be better but generally it is not really necessary. The criteria for whether to execute transactions will ultimately be evaluated by humans in case of dispute. Therefore you can have full flexibility here. The binary questions that the oracles answer shouldn't be "Did the proposal pass?" but "Is the criteria for transaction group X in proposal Y met?" This way you can even have multiple groups of transactions, with their own individual criteria each, based on whatever choices and outcomes you want. My favorite example: You could handle complex budget allocation proposals with that, with multiple proposed budgets that people can vote on. As far as I'm concerned, this is the great advantage of the optimistic approach. Math-based execution is Snapshot X's job, which is faster/instant but I assume requires specific implementations for every possible use-case. Very bold claim/wild guess: The optimistic approach with arbitration courts is superior and what people can relate to more.

I think the issue is that SafeSnap does not currently allow you to define alternate transaction payloads to correspond to different outcomes, which is somewhat implied by a non-binary question (the exception being ternary questions with something like "abstain" as an option, because it doesn't imply an alternate transaction payload).
From SafeSnap's perspective, the proposal is always "should we execute this transaction, yes or no?"

Here I implemented that mostly. A proposal can have multiple, independent sets of transactions now, each with their own (human-readable) criteria.


Add Filter in the Connection level

Is your feature request related to a problem? Please describe.
I want a filter to be added in the connections level not only in the Table level to filter out the databases not needed to be shown.
And then, in the script file, the database the databases filtered out should not be suggested once we hit Ctrl + Space

Hi @fa5fou5,
You can already add filters. Please check these articles https://github.com/dbeaver/dbeaver/wiki/Filter-Database-Objects, https://github.com/dbeaver/dbeaver/wiki/Configure-Filters.


Migrate to react and admin-on-rest

There is plans to migrate to react with  admin-on-rest [1] UI framework since ng-admin uses outdated angular.
[1] https://github.com/marmelab/admin-on-rest

[ ] edit, view forms
[ ] filters
[ ] relations between tables
[ ] more robust and customizable fields
[ ] drop ng-admin stuff

what about react-admin guys?

We started to test react-admin.
You can use aiohttp_admin as rest api and react-admin as view without any problems.


TableQuery.OrderBy(String)

[Enter feedback here]
I'm trying to do a sort based on a column like this, but I can not figure out how to do this and the documentation on this function is non-existent at best. The docs do state "Only applied to Cosmos Table Endpoint", but I have tried with and without. The result is always the same, either the OrderBy method doesn't do anything or I don't understand what the string part is supposed to contain.
I use myquery.OrderBy("score");
I have a table with five values under score: 3, 5, 2, 1, 4
When I order by score I expect a table that has its elements sorted by score, but nothing actually changes.

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

ID: a20dc69d-0406-e78f-cefc-9a32a924671d
Version Independent ID: 723b184c-16da-819b-d827-a7163796d289
Content: TableQuery.OrderBy(String) Method (Microsoft.Azure.Cosmos.Table) - Azure for .NET Developers
Content Source: xml/Microsoft.Azure.Cosmos.Table/TableQuery.xml
Service: cosmos-db
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Oke for those struggling with the same problem as I did, you need to add (which I had forgotten): using System.Linq;
And then you need to call OrderBy or OrderByDescending on your ExecuteQuery passing a delegate function like this: entity => entity.yourproperty
It would also be nice if the pages for ExecuteQuery and TableQuery.GenerateFilterCondition would contain examples like they do for DataContext.ExecuteQuery.
I think there should be more examples on how to use these operations, at least ChatGPT was able to help me out :D

Funny enough ChatGPT came up with this solution:
List<T> results = (from e in _cloudTable.CreateQuery<T>().AsEnumerable()
                        orderby e.propertyName
                        select e).ToList<T>();

Where it notes:
Note that this approach will execute the entire query in memory, so it may not be suitable for very large tables or for queries that return a large number of results.

But for my approach it notes:
This approach has the advantage of executing the query directly on the server, which can be more efficient than retrieving all the results in memory and sorting them using LINQ. It also allows you to use paging to retrieve the results in smaller chunks, if needed.

And then spits out code to implement: await _cloudTable.ExecuteQuerySegmentedAsync(_query, continuationToken);
Call me impressed, I bashed my head for hours on this!

@sfjuocekr Thanks for reaching out to us and reporting this issue. Could you please let me know if you are still looking for some assistance on this ?

@sfjuocekr I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.


Update to 2.1.1

That towncrier part was new. I thought it was still poetry version patch. Will check on this.

We should do a minor version because we are adding new features not only patches


Add CI Type for Microservice in order to support multiple CI platforms

Jenkins
Openshift

This will also open extension point for other build platforms

Update cypress tests to test new functionality


Issues while building a React App

What version of Turborepo are you using?
1.3.1
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Describe the Bug
Context - we are transitioning to a monorepo using Turborepo with React and Cypress apps.
While building the React app using the npm run build command we are receiving the following error:
:build: Module not found: Error: Can't resolve './version' in '/Users/****/Projects/****/app/node_modules/graphql'
:build: Did you mean 'version.mjs'?
:build: BREAKING CHANGE: The request './version' failed to resolve only because it was resolved as fully specified
:build: (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
:build: The extension in the request is mandatory for it to be fully specified.
:build: Add the extension to the request.

What we have tried so far:
Modifying the package.json type property to either commonjs or module.
Modifying the actual line in the aforementioned package to have the specified suffix.
Thanks in advance!
Expected Behavior
A regular build of the React app.
To Reproduce

have a react app using CRA:   "@craco/craco": "^6.4.3",   "react": "^17.0.2"
Install Graphql in the react app:   "graphql": "^15.5.0"
Install turborepo 1.3.1
run npm run build

At what scope are you executing the command. In my project, running from "scope of turbo" not of the "workspace app" solved these issues.

I'm not sure this is a turborepo issue. Could you provide a repo that reproduces if you would like more help?

Closing this down. Feel free to post more info or open a new issue if you're still seeing this @sedric-eyal-peleg!


Managing local changes

Do you have a workflow in mind for how to deal with local changes? In particular, I have this kind of situation:

There's some opensource project I use
I godep it
Now I want to fix it somehow
I do… what?
I issue a pull request
It's accepted and merged
I do… what?

I know this is a broader Go problem, but I'm thinking about it in terms of how I work with (the anticipated) "godep save -r" and update.
I've been doing this a bit by hand, but basically "… what?" looks like "I break the build for awhile and push random untested stuff up to my github fork's master which hopefully no one is following." In particular, my problem is that I need these things to work cross-platform, so I'd really like to test it out on multiple machines before I push up to my fork.
Here's my half-baked idea of how it might work:

go get X
godep save -r X (rewrites everything)
Hey, I need a change to X
I fork X
godep restore -r X (rewrites everything to use the non-Godeps version; does it delete it out of Godeps?)
... at this point I really want a command that changes "github.com/x/y" to "github.com/myfork/y"
I work in the non-Godeps copy of my fork. I branch. I commit things. I throw thing between machines without pushing to GitHub. Finally there is joy.
I push to my fork on GitHub. I open a pull request.
godep save -r X (rewrites github/myfork/y back into Godeps)
At some point the pull request is accepted
... I run some command that switches my Godep from the fork to the original ...

Am I overthinking this? Is there a simpler approach?

However, as long as you have a fork of a package, nobody else will be able to run godep restore because nothing in your Godeps.json teaches them in what repository they will find the Rev in question, right?

However, as long as you have a fork of a package, nobody else will be able to run godep restore because nothing in your Godeps.json teaches them in what repository they will find the Rev in question, right?

That's right. I had been considering adding a field to Godeps.json to handle this case for some time. This issue is mentioned in https://github.com/kardianos/vendor-spec/issues/6 and #207 that I can find.

two years later, nothing changed?


Run tests NOT in random order - unshuffle

Clear and concise description of the problem
When global tests configuration shuffle is set to true to ensure tests isolation there is no way to run some specific test suite in non-random order.
This is required when you have long integration test which is split in multiple blocks, for example:
describe('long auth test with sequential order', ()=>{
   it('test 1 register', ()=>{})
   it('test 2 login', ()=>{})
   it('test 3 logout', ()=>{})
})

This is similar to #3731
Suggested solution
Add option describe.unshuffle to run specific test block in non-shuffled order
Alternative
Add logic to existing describe.sequential to run specific test block in non-shuffled order
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Same here. I want to shuffle by default, but when I use describe.sequential(...) I expect the suite to run sequentially.
In many cases, the behaviour described inside vitest.config.ts can be overwritten locally : timeout, hookTimeout, repeats, retry, they can all set in situ.

You can disable shuffle in a single file or next describe block with vi.setConfig({ sequence: { shuffle: false } })
And to undo this you can call vi.resetConfig


type "extensions.http_request" does not exist

Bug report
Describe the bug
A 500 Bad Request was encountered while performing a delete
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Go to '…'
Click on '…'
Scroll down to '…'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

## System information

OS: [e.g. macOS, Windows]
Browser (if applies) [e.g. chrome, safari]
Version of supabase-js: [e.g. 6.0.2]
Version of Node.js: [e.g. 10.10.0]

Additional context
Add any other context about the problem here.

Is it because AWS RDS does not support http extension?

The Gotrue encountered a 500 error when performing delete operations.
logs:
<IP_ADDRESS> - - [27/Jun/2024:07:51:59 +0000] "DELETE /auth/v1/admin/users/e731c48f-7232-4935-bb92-75bb6d1aedf1 HTTP/1.1" 500 99 "-" "node" kong_request_id: "f13aa246682d841fd9b1486d4be7dc6c"


Provide an option for the testing runtime to keep the systemDB

Previously, we always drop the system DB when we create a new testing runtime. However, sometimes we don't want to drop it.
For example, if I want to run multiple concurrent testing runtimes, we may not want to drop and re-create the system DB from every process.
Another example is the debug proxy test may want to keep system DB data across test runs, so we can have full provenance information.

Is there something we need to keep in mind when multiple testing runtimes access the same systemDB? E.g. related to concurrency?

I think it should be fine as long as we don't make any assumptions on what data would be there. Because databases should easily handle concurrent accesses.


Junk in the View Model cs.proj

Bunch of compile removes, and page removes in the view model proj. Need to be removed and deleted just to clean things up. If the backing files are already gone from the directory, it should just be a matter of deleting the lines from the proj file.
https://github.com/HydrologicEngineeringCenter/HEC-FDA/blob/b23441b56fe7b5da9950cfb467925fb176ebf06f/ViewModel/HEC.FDA.ViewModel.csproj#L24

I removed that whole section from the csproj. A lot of them were files that i had excluded from project but had not deleted. I deleted those files.


Certificates on OpenShift

I'm wondering if anyone could share the steps for updating the certificates on OpenShift + Kubernetes 4.6? I've checked using the below command and some are expired:
find /etc/kubernetes/ -type f -name "*.crt" -print|egrep -v 'ca.crt$'|xargs -L 1 -t  -i bash -c 'openssl x509  -noout -text -in {}|grep After'

I'm not able to find relevant steps to my UPN install. The following certificates are expired as well:
81789506 lrwxrwxrwx. 1 root root   59 Jan  9 00:32 kubelet-server-current.pem -> /var/lib/kubelet/pki/kubelet-server-2021-06-18-20-35-33.pem 81800208 lrwxrwxrwx. 1 root root   59 Jan  9 00:32 kubelet-client-current.pem -> /var/lib/kubelet/pki/kubelet-client-2021-06-19-13-16-00.pem

Since the API server is offline, I'm not able to renew the certificates via oc commands. All OC commands return an error since the API server ( port 6443 ) is offline. This cluster is installed on VMware using the UPI method. I seen a really similar thread almost exactly, I was wondering if there's any remedy for this?
Thank you so much!
Cheers,
Montana Mendy

For 4.6, the recovery 'should' be automatic and just require CSR approval.  I would start by ssh'ing to the control plane nodes and inspecting the kube-apiserver container logs with crictl logs.  afaik the kube-apiserver shouldnt be crashlooping.

Hey @rvanderp3,
I started investigating and when I tested these additional lines for api-server, it fixed the problem for me:
--feature-gates=APIPriorityAndFairness=false
--runtime-config=flowcontrol.apiserver.k8s.io/v1beta1=false

I also removed the /remove-sig cluster-lifecycle.


We prefer mplex over yamux.

Fixes talking to go-ipfs

This breaks talking from a rust-ipfs node to another rust-ipfs node. This behaviour can also be seen with the libp2p chat application.

I opened two issues #23 #24 and reverted this commit for now.


contacts are shown as offline when clicked

When I click on online contacts they immediately are shown as offline (plus a little text just above the message box: 'contact' is gone). In the header bar, there is still a green circle and in fact the contacts are also all online.

contact is gone - is just the default chat state, why you think it means offline?


Here be magic

Added the mage class as well as the human race.
Re-balanced the magic system; likely still needs some tinkering before balance is correct.
Added gold and diamond tools unlock skills for all classes.
Archer/Ansari combo has the best balance; Human/Mage is the worst.
Please report issues.

Thanks


can not install when build from source code

here is the way i install it :
"""
git clone
cd
install npm packages
yarn install
setup config
cp .env.example .env
run dev mode with hot reload on code changes
yarn run dev
but i get the following errors:
PS C:\lqw\temp\gateway-api> yarn run dev yarn run v1.22.5 warning package.json: License should be a valid SPDX license expression $ nodemon --exec babel-node src/index.js [nodemon] 2.0.4 [nodemon] to restart at any time, enter rs[nodemon] watching path(s): *.* [nodemon] watching extensions: js,mjs,json [nodemon] startingbabel-node src/index.js`
internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\lqw\temp\gateway-api\src\app' imported from C:\lqw\temp\gateway-api\src\index.js
at finalizeResolution (internal/modules/esm/resolve.js:276:11)
at moduleResolve (internal/modules/esm/resolve.js:699:10)
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:810:11)
at Loader.resolve (internal/modules/esm/loader.js:86:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:230:28)
at ModuleWrap. (internal/modules/esm/module_job.js:56:40)
at link (internal/modules/esm/module_job.js:55:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
[nodemon] app crashed - waiting for file changes before starting...
`
and i find it is the following line that doesn't work in src/index.js
`
import app from './app'
`
when i change it into the below it works:
import app from './app.js'
however, it doesnt make sense.

any comment?

@bixia Did you follow the installation step given on the setup.md (https://github.com/CoinAlpha/gateway-api/blob/master/setup.md)? Try checking as well if you're using the latest node, the latest version has a compatibility issue with some of the packages which may trigger that err_module_not_found. I just did a fresh install following the step and using node v10.22.1 and yarn v1.22.10 and didn't get any issue.


fix s3 tvf specify region and s3.region params failed

Proposed changes
Issue Number: close #19920
Problem summary
fix s3 tvf specify region and s3.region params failed
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

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

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.38 seconds
stream load tsv:          420 seconds loaded<PHONE_NUMBER>9 Bytes, about 169 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          80.5 seconds inserted 10000000 Rows, about 124K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230522071840_clickbench_pr_148166.html

cc @TangSiyang2001 @Yukang-Lian

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.27 seconds
stream load tsv:          421 seconds loaded<PHONE_NUMBER>9 Bytes, about 169 MB/s
stream load json:         23 seconds loaded<PHONE_NUMBER> Bytes, about 97 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          78.2 seconds inserted 10000000 Rows, about 127K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230523155907_clickbench_pr_149209.html

run p0

run p0

run p0

run p0

LGTM

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.23 seconds
stream load tsv:          450 seconds loaded<PHONE_NUMBER>9 Bytes, about 158 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          76.5 seconds inserted 10000000 Rows, about 130K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230524055225_clickbench_pr_149464.html

run p0

run p0

run p0

run p0

run p0

run  buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.37 seconds
stream load tsv:          455 seconds loaded<PHONE_NUMBER>9 Bytes, about 156 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          58 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          26.0 seconds inserted 10000000 Rows, about 384K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230525015936_clickbench_pr_150041.html

run p0

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.53 seconds
stream load tsv:          443 seconds loaded<PHONE_NUMBER>9 Bytes, about 161 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          58 seconds loaded<PHONE_NUMBER> Bytes, about 18 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          25.7 seconds inserted 10000000 Rows, about 389K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230525061150_clickbench_pr_150231.html

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.76 seconds
stream load tsv:          449 seconds loaded<PHONE_NUMBER>9 Bytes, about 158 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          79.8 seconds inserted 10000000 Rows, about 125K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230525172143_clickbench_pr_150793.html

run p0

run p0

run p0

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.7 seconds
stream load tsv:          443 seconds loaded<PHONE_NUMBER>9 Bytes, about 161 MB/s
stream load json:         22 seconds loaded<PHONE_NUMBER> Bytes, about 102 MB/s
stream load orc:          60 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          25.7 seconds inserted 10000000 Rows, about 389K ops/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230526132119_clickbench_pr_151343.html

run buildall

run p0

LGTM


Update the compiler to use a Pratt parser instead

I decided to move to a Pratt parser because it is a lot faster than the previous recursive descent one I was using. The speed improvements brought by the Pratt parser are significant. And I think that they are worth it because the code is still very readable and updating the parser won't take much effort.
The numbers for the performance difference:

Number of iterations: 100,000
Time taken by the old parser: 287.976s
Time taken by the new parser: 185.157s
Time difference: 102.818s (about 35.65%)


Required libs versions update

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Updating libs versions, in order to address possible security issues.


Dependencies couldn't be resolved

Any idea on how I could get rid of these?

I think it was an issue with the android-sdk and the "Android Support Repository" not installed,


Calculate IP version just once

As value objects are immutables we can find and store the version just once

Thanks for all of these! Do you have any more pull requests or shall I start towards releasing a new version?


STORY: view messages

As a user, when I log in to the view-message page, I can see all the messages that sent till this moment. The messages will be displayed in chronological order so that the conversations flow logically.

#87

i'm on it


Error? Or do I just not know how to use this.

Hi:
Having issues backing up. Trying to backup to iCloud.
Thanks,
Hoon,
$cat .shallow-backup
[USER]
#backup_path = DEFAULT
backup_path = /Users/hoon/Library/Mobile Documents/com~apple~CloudDocs/Shallow_Bkup

[?] Would you like to update this?:  No
    Yes
 >  No

CREATED DIR: /Users/hoon/Library/Mobile Documents/com~apple~CloudDocs/Shallow_Bkup
/Users/hoon/Library/Mobile Documents/com~apple~CloudDocs/Shallow_Bkup/packages
[?] What would you like to do?:  Back up dotfiles
 >  Back up dotfiles
    Back up packages
    Back up fonts
    Back up everything
    Reinstall packages
##########
('#', 'DOTFILES')
##########

CREATED DIR: /Users/hoon/Library/Mobile Documents/com~apple~CloudDocs/Shallow_Bkup/dotfiles
Traceback (most recent call last):
  File "/usr/local/bin/shallow-backup", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/shallow_backup.py", line 491, in cli
    backup_dotfiles(dotfiles_path)
  File "/usr/local/lib/python2.7/site-packages/shallow_backup.py", line 195, in backup_dotfiles
    with mp.Pool(mp.cpu_count()):
AttributeError: __exit__

Tried to install with pip3 but now I get stopped on npm
pip3 install shallow-backup
Collecting shallow-backup
  Cache entry deserialization failed, entry ignored
  Using cached https://files.pythonhosted.org/packages/da/f2/676f83affd33f639ee669327ccf14a415516282667555a8863627e1f4c2c/shallow_backup-1.3-py2.py3-none-any.whl
Collecting inquirer>=2.2.0 (from shallow-backup)
  Cache entry deserialization failed, entry ignored
  Using cached https://files.pythonhosted.org/packages/bd/b8/0b04f23f7870f96c81bdf9b9863c12985bec0f2738218bcfc67842be4ae8/inquirer-2.2.0-py2.py3-none-any.whl
Collecting Click (from shallow-backup)
  Cache entry deserialization failed, entry ignored
  Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
Collecting colorama>=0.3.9 (from shallow-backup)
  Cache entry deserialization failed, entry ignored
  Using cached https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl
Collecting readchar==0.7 (from inquirer>=2.2.0->shallow-backup)
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/61/a9/d552ab5bb2978b609a0acc917427fb0230ac923d92e32b817ef79908f6e3/readchar-0.7.tar.gz
Collecting blessings>=1.6 (from inquirer>=2.2.0->shallow-backup)
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/03/74/489f85a78247609c6b4f13733cbf3ba0d864b11aa565617b645d6fdf2a4a/blessings-1.7-py3-none-any.whl
Requirement already satisfied: six in /usr/local/lib/python3.6/site-packages (from blessings>=1.6->inquirer>=2.2.0->shallow-backup) (1.11.0)
Building wheels for collected packages: readchar
  Running setup.py bdist_wheel for readchar ... done
  Stored in directory: /Users/hoon/Library/Caches/pip/wheels/f1/67/9f/603400577c2e5725a8b5b0a9a9e01509c24ea6bb022bbf8131
Successfully built readchar
Installing collected packages: readchar, blessings, inquirer, Click, colorama, shallow-backup
Successfully installed Click-6.7 blessings-1.7 colorama-0.3.9 inquirer-2.2.0 readchar-0.7 shallow-backup-1.3
Cache entry deserialization failed, entry ignored
ArthenasMacAir4:~ hoon$ shallow-backup

            dP                dP dP                        dP                         dP
            88                88 88                        88                         88
   ,d8888'  88d888b. .d8888b. 88 88 .d8888b. dP  dP  dP    88d888b. .d8888b. .d8888b. 88  .dP  dP    dP 88d888b.
   Y8ooooo, 88'  `88 88'  `88 88 88 88'  `88 88  88  88    88'  `88 88'  `88 88'  `"" 88888"   88    88 88'  `88
         88 88    88 88.  .88 88 88 88.  .88 88.88b.88'    88.  .88 88.  .88 88.  ... 88  `8b. 88.  .88 88.  .88
   `88888P' dP    dP `88888P8 dP dP `88888P' 8888P Y8P     88Y8888' `88888P8 `88888P' dP   `YP `88888P' 88Y888P'
                                                                                88
                                                                                dP

------------------------------------------------------------
shallow-backup v1.3 by Aaron Lichtman -> (Github: alichtman)
------------------------------------------------------------

Current shallow-backup path -> /Users/hoon/Library/Mobile Documents/com~apple~CloudDocs/Shallow_Bkup
[?] Would you like to update this?:  No
    Yes
 >  No

/Users/hoon/Library/Mobile Documents/com~apple~CloudDocs/Shallow_Bkup/packages
[?] What would you like to do?:   Erase directory and make new back up?:  Yes
 >  Yes
    No

Backing up dotfolders...
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
Backing up dotfiles...
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory

##########
# PACKAGES
##########

CREATED DIR: /Users/hoon/Library/Mobile Documents/com~apple~CloudDocs/Shallow_Bkup/packages
Backing up brew package list...
Error: No available formula with the name "documents/com~apple~clouddocs/shallow_bkup/packages/brew_list.txt"
Backing up brew cask package list...
Error: Cask 'brew-cask_list.txt' is unavailable: No Cask with this name exists.
Backing up gem package list...
Backing up cargo package list...
ls: /Users/hoon/.cargo/bin/: No such file or directory
ls: Documents/com~apple~CloudDocs/Shallow_Bkup/packages/cargo_list.txt: No such file or directory
Backing up pip package list...
Backing up npm package list...
Traceback (most recent call last):
  File "/usr/local/bin/shallow-backup", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/shallow_backup.py", line 489, in cli
    backup_all(dotfiles_path, packages_path, fonts_path)
  File "/usr/local/lib/python3.6/site-packages/shallow_backup.py", line 308, in backup_all
    backup_packages(packages_path)
  File "/usr/local/lib/python3.6/site-packages/shallow_backup.py", line 240, in backup_packages
    with open("{0}/npm_temp_list.txt".format(backup_path), mode="r+") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/hoon/Library/Mobile Documents/com~apple~CloudDocs/Shallow_Bkup/packages/npm_temp_list.txt'

Hmm. Let me take a look at this later today and see what I can come up with. Nothing's jumping out at me right now.

That's a file not found error. Maybe you moved the folder and didn't update the file path in ~.shallow-backup?


Select: #998, fix scroll unlimited loop with PureComponent

Please makes sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you are merging your commits to master branch.
[x] Add some descriptions and refer relative issues for you PR.
[x] Rebase your commits to make your pull request meaningful.
[x] Make sure that your changes pass npm test, npm run lint and npm run build.

Changes in this pull request

Add PureComponent Feature
Fix dependency cycle error
No thing change in docs.

@hazel54 @loadchange
Is any one can review this PR? Thanks!
https://github.com/ElemeFE/element-react/issues/998


[BUG?] Implementation of daisy-chained serial devices

Thank you for this fantastic project.
I'm trying to implement a yaq daemon for daisy-chained XY motorized stages, and I cannot figure out how to do it.
I made a yaq daemon and tested it with one axis, and everything works great.
But when I add the second axis to the configuration file, the second daemon crashes, while the first one continues to work.
When I change the configuration file such as each daemon has its own serial port, then both daemons work great.
It seems like a bug to me, but maybe I just don't understand how daisy-chaining should be implemented in yaq.
Thank you in advance for your help.

Some details
When the daemon configuration is like that, everything works great:
[stage_x]

port = 39003
serial_port = "COM8"
baud_rate = 38400
address = 0
log_level = "debug"
log_to_file = "True"

But when I try to add the second axis like this, the second daemon crashes, but the first one works:
[stage_x]

port = 39003
serial_port = "COM8"
baud_rate = 38400
address = 0
log_level = "debug"
log_to_file = "True"

[stage_y]

port = 39004
serial_port = "COM8"
baud_rate = 38400
address = 1
log_level = "debug"
log_to_file = "True"

The console daemon output is like that:
(test) C:\Users\username\Documents\prog\project_name\serial>yaqd-DaemonName
<6> INFO : 2023-08-18T17:22:31+0200 : stage_x : Config File Path = C:\Users\username\AppData\Local\yaq\yaqd\DaemonName\config.toml
<6> INFO : 2023-08-18T17:22:31+0200 : stage_x : State File Path = C:\Users\username\AppData\Local\yaq\yaqd-state\DaemonName\stage_x-state.toml
<6> INFO : 2023-08-18T17:22:31+0200 : stage_x : TCP Port = 39003
<6> INFO : 2023-08-18T17:22:31+0200 : stage_y : Config File Path = C:\Users\username\AppData\Local\yaq\yaqd\DaemonName\config.toml
<6> INFO : 2023-08-18T17:22:31+0200 : stage_y : State File Path = C:\Users\username\AppData\Local\yaq\yaqd-state\DaemonName\stage_y-state.toml
<6> INFO : 2023-08-18T17:22:31+0200 : stage_y : TCP Port = 39004
Task exception was never retrieved
future: <Task finished name='Task-1' coro=<IsDaemon._main() done, defined at C:\Users\username\mambaforge\envs\test\Lib\site-packages\yaqd_core\_is_daemon.py:210> exception=UnboundLocalError("cannot access local variable 'daemon' where it is not associated with a value")>
Traceback (most recent call last):
  File "C:\Users\username\mambaforge\envs\test\Lib\site-packages\yaqd_core\_is_daemon.py", line 224, in _main
    await cls._start_daemon(section, config, config_filepath)
  File "C:\Users\username\mambaforge\envs\test\Lib\site-packages\yaqd_core\_is_daemon.py", line 252, in _start_daemon
    server(daemon), config.get("host", ""), config.get("port", None)
           ^^^^^^
UnboundLocalError: cannot access local variable 'daemon' where it is not associated with a value
Task was destroyed but it is pending!
task: <Task pending name='Task-6' coro=<IocpProactor.accept.<locals>.accept_coro() running at C:\Users\username\mambaforge\envs\test\Lib\asyncio\windows_events.py:600> wait_for=<_OverlappedFuture cancelled>>
Task was destroyed but it is pending!
task: <Task pending name='Task-7' coro=<IocpProactor.accept.<locals>.accept_coro() running at C:\Users\username\mambaforge\envs\test\Lib\asyncio\windows_events.py:600> wait_for=<_OverlappedFuture cancelled>>
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\username\mambaforge\envs\test\Scripts\yaqd-DaemonName.exe\__main__.py", line 7, in <module>
  File "C:\Users\username\mambaforge\envs\test\Lib\site-packages\yaqd_core\_is_daemon.py", line 204, in main
    loop.run_forever()
  File "C:\Users\username\mambaforge\envs\test\Lib\asyncio\windows_events.py", line 321, in run_forever
    super().run_forever()
  File "C:\Users\username\mambaforge\envs\test\Lib\asyncio\base_events.py", line 607, in run_forever
    self._run_once()
  File "C:\Users\username\mambaforge\envs\test\Lib\asyncio\base_events.py", line 1884, in _run_once
    event_list = self._selector.select(timeout)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\username\mambaforge\envs\test\Lib\asyncio\windows_events.py", line 444, in select
    self._poll(timeout)
  File "C:\Users\username\mambaforge\envs\test\Lib\asyncio\windows_events.py", line 817, in _poll
    status = _overlapped.GetQueuedCompletionStatus(self._iocp, ms)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt
Task was destroyed but it is pending!
task: <Task pending name='Task-9' coro=<IsDaemon.save_state() done, defined at C:\Users\username\mambaforge\envs\test\Lib\site-packages\yaqd_core\_is_daemon.py:342> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-10' coro=<DaemonName.update_state() done, defined at C:\Users\username\mambaforge\envs\test\Lib\site-packages\yaqd_mercury\_DaemonName.py:71> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-45' coro=<Event.wait() done, defined at C:\Users\username\mambaforge\envs\test\Lib\asyncio\locks.py:200> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[_release_waiter(<Future pendi...ask_wakeup()]>)() at C:\Users\username\mambaforge\envs\test\Lib\asyncio\tasks.py:421]>
Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<DaemonName.update_state() running at C:\Users\username\mambaforge\envs\test\Lib\site-packages\yaqd_mercury\_DaemonName.py:81> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-2' coro=<IsDaemon.save_state() running at C:\Users\username\mambaforge\envs\test\Lib\site-packages\yaqd_core\_is_daemon.py:354> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-8' coro=<Server.serve_forever() running at C:\Users\username\mambaforge\envs\test\Lib\asyncio\base_events.py:369> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-44' coro=<Event.wait() running at C:\Users\username\mambaforge\envs\test\Lib\asyncio\locks.py:213> wait_for=<Future pending cb=[Task.task_wakeup()]> cb=[_release_waiter(<Future pendi...ask_wakeup()]>)() at C:\Users\username\mambaforge\envs\test\Lib\asyncio\tasks.py:421]>
^C

Unfortunately, there is not much in the both log files:
<6> INFO : 2023-08-18T17:22:31+0200 : stage_x : Config File Path = C:\Users\username\AppData\Local\yaq\yaqd\DaemonName\config.toml
<6> INFO : 2023-08-18T17:22:31+0200 : stage_x : State File Path = C:\Users\username\AppData\Local\yaq\yaqd-state\DaemonName\stage_x-state.toml
<6> INFO : 2023-08-18T17:22:31+0200 : stage_x : TCP Port = 39003

There is no problem when each daemon has its own serial port like this:
[stage_x]

port = 39003
serial_port = "COM8"
baud_rate = 38400
address = 0
log_level = "debug"
log_to_file = "True"

[stage_y]

port = 39004
serial_port = "COM5"
baud_rate = 38400
address = 1
log_level = "debug"
log_to_file = "True"

The main daemon class is like this:
import asyncio
from dataclasses import dataclass, field
from typing import Any, Dict, List

import serial
from yaqd_core import HasLimits, HasPosition, IsDaemon, UsesSerial, UsesUart, aserial

class DaemonName(UsesUart, UsesSerial, HasLimits, HasPosition, IsDaemon):
    _kind = "DaemonName"

    def __init__(self, name, config, config_filepath):
        super().__init__(name, config, config_filepath)
        # Perform any unique initialization
        # self._ser = serial.Serial(
        self._ser = aserial.ASerial(
            self._config["serial_port"],
            baudrate=self._config["baud_rate"],
            # eol="\r\n\x03".encode(),
        )

    async def update_state(self):
        """Continually monitor and update the current daemon state."""
        # If there is no state to monitor continuously, delete this function
        while True:
            # Perform any updates to internal state
            self._busy = False
            # There must be at least one `await` in this loop
            # This one waits for something to trigger the "busy" state
            # (Setting `self._busy = True)
            # Otherwise, you can simply `await asyncio.sleep(0.01)`
            await self._busy_sig.wait()

    def _set_position(self, position: float) -> None:
        self._loop.create_task(self._aset_position(position))

    def direct_serial_write(self, message: bytes):
        self._ser.write(message)

Tested version:
# Name                    Version                   Build  Channel
yaqc                      2023.6.0           pyhd8ed1ab_0    conda-forge
yaqd-control              2022.4.0           pyhd8ed1ab_0    conda-forge
yaqd-core                 2023.6.0                 pypi_0    pypi

Hi @kadykov!
I don't have time to look closely at your work at the moment, but just reading your summary my first thought is that serial objects are blocking. You can't create two serial interfaces at the same time.
This is a common challenge in daemon development, and we tend to get around this problem using class attributes like this.

Thank you @untzag!
Should this code be in the aserial module like this?


Unabble to use Ctrl+C, Ctrl+X

Type: Feature Request
The combinations Ctrl + C, Ctrl + X do not work for me.
Ctrl+V works. I tried to change the keyboard settings, but in other programs everything works correctly.
In the VS settings, too, everything is fine.
I don't know what's the matter. Maybe someone help me here...
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.19045
Modes:

/confirmPlease

Please perform the following three tasks to diagnose the root cause of the issue:

[ ] 1.) Disable Extensions

Select View and pick Command Palette...
Run Developer: Reload With Extensions Disabled
👉 See if the issue reproduces

[ ] 2.) Disable Configuration

Select View and pick Command Palette...
Run Profiles: Create a Temporary Profile
👉 See if the issue reproduces

[ ] 3.) Try VS Code Insiders

Download VS Code Insiders
Install and Run it
👉 See if the issue reproduces

Then pick one of the three resolutions depending on which step has helped:

Disabling my Extensions helped
Please run the command Start Extension Bisect and follow the instructions to find the extension that is causing this issue.

Please report the issue to the extension causing this.

Disabling my configuration helped
Please report back more details about your configuration, including settings.

Using VS Code Insiders has helped
✅ This likely means that the issue has been addressed already and will be available in an upcoming release. You can safely use VS Code Insiders until the new stable version is available.

Thank you! The last step via VS code insiders is worked


Update solution.js

Blync Deploy!
The following files were deployed

courses/javascript-primer/01-syntax/01-variables-i/solution.js


VI

I have generated my HW on the ZCU102 platform with the DPU Softmax enabled through the Vivado GUI. The problem comes when I try to compile the Resnet50 quantized model through the VAI Compiler, where I am getting two kernels, one for the CPU and another one for the DPU. I have seen that .HWH file has the SFM core enabled, so I do not understand why the Compiler output log is saying that the Softmax is not supported by the DPU where I have explicitly enabled it. Am I missing something here? I want to create just one DPUkernel.

Hi, @jalezeta

The DPU and Softmax are independent IPs and our compiler only targets for the DPU IPs;
The Softmax is not driven by instrucitons and our runtime will provide some necessary APIs to enable users to use the Softmax IP in black-box way.
In summary, from the compiler aspect, the Softmax layer is not supported by DPU and must be deployed in the CPU and users must use the APIs provided by the runtime to leverage the Softmax IP to accelerate their applications in the host deployment code.
Hope it helps instead of confusion, thanks very much.

Hi, @jalezeta
The DPU and Softmax are independent IPs and our compiler only targets for the DPU IPs;
The Softmax is not driven by instrucitons and our runtime will provide some necessary APIs to enable users to use the Softmax IP in black-box way.
In summary, from the compiler aspect, the Softmax layer is not supported by DPU and must be deployed in the CPU and users must use the APIs provided by the runtime to leverage the Softmax IP to accelerate their applications in the host deployment code.
Hope it helps instead of confusion, thanks very much.

Hi, @jalezeta

The DPU and Softmax are independent IPs and our compiler only targets for the DPU IPs;
The Softmax is not driven by instrucitons and our runtime will provide some necessary APIs to enable users to use the Softmax IP in black-box way.

In summary, from the compiler aspect, the Softmax layer is not supported by DPU and must be deployed in the CPU and users must use the APIs provided by the runtime to leverage the Softmax IP to accelerate their applications in the host deployment code.
Hope it helps instead of confusion, thanks very much.

Thanks for the reply @Mookel! Let's say I want to use my Softmax core in the DPU which as you said is not supported by the DPU, is it safe to say that I will only use the DPUkernel generated by VAI_C and completely substitute the CPUkernel from VAI_C with the API operations? My goal is to completely avoid using the CPUkernel from VAI_C and only use the DPUkernel.

Thanks for the reply @Mookel! Let's say I want to use my Softmax core in the DPU which as you said is not supported by the DPU, is it safe to say that I will only use the DPUkernel generated by VAI_C and completely substitute the CPUkernel from VAI_C with the API operations? My goal is to completely avoid using the CPUkernel from VAI_C and only use the DPUkernel.

Yes, @jalezeta , the compiler will only generate instructions for the DPUKernel(s) and will do nothing for the CPUKernel(s). You can/must implement the CPUKernel in pure C++ code or using the APIs for Softmax IP.
And it's worth noting that the dataflow of the whole model must be managed explicitly by host code, which means you have to get output tensors from the DPUKernel(also using APIs of runtime) after the DPUKernel is finished and feed them to the CPUKernel implemented by yourself. In general, the execution flow is:
Preprocessing --> DPUKernel Running --> CPUKernel Running --> PostProcessing.


What is the difference between the lean and the original version of the 3D DenseNet

Thanks for your work.
I read the total paper but I did not find the difference between the lean and the original version of the 3D DenseNet

We cut off the last dense block as it does't contribute to feature learning in this task and cause severe overfitting. Sorry for not explaining it in paper.

Here is the reason:
As the input size of 3d Densenet is 3x16x112x112, different from that in imagenet Densenet 3x224x224, the input feature map of the 4th (i.e. the last) block is degenerated to scalar.
So we might not need to use extra nonlinear module which brings more computation and may cause more overfitting (slight overfitting does exist for lean model on mix dataset).

Thanks a lot for your explanation.
So, it is better to use the lean version?


wrong directory for spell used

I'm not actually sure what's the root of this problem.
But when I add a word to spelling with zg it's added to a list in a folder in the lazy.nvim directory .local/share/nvim/lazy/lazy.nvim/spell.
Before it was always added to .config/nvim/spell
spellfile is set to this directory
but I have no clue how that could happen

did you disable reset rtp? Then it would write to the first directory and that wold be lazy. See docs on spellfile

if anyone has a similar problem in the future
here's how I fixed it
vim.keymap.set("n", "zg", function()
    if vim.bo.spelllang == "en" then
        vim.bo.spellfile = vim.fn.expand("~") .. "/.config/nvim/spell/en.utf-8.add"
    elseif vim.bo.spelllang == "de" then
        vim.bo.spellfile = vim.fn.expand("~") .. "/.config/nvim/spell/de.utf-8.add"
    else
        vim.bo.spellfile = vim.fn.expand("~") .. "/.config/nvim/spell/en.utf-8.add"
    end
    vim.cmd.normal({ args = { "zg" }, bang = true })
end)


[Automation] Generate Fluent Lite from changeanalysis#

[Automation] Generate Fluent Lite from changeanalysis#

communication pom seems not updated its version. Removed the file from this PR.

/azp run prepare-pipelines

/azp run java - changeanalysis - ci


In-cluster builds: allow storing the Dockerfile in a ConfigMap

The Dockerfile can only be currently provided as a string in the CRD, per-mapping.
To reduce repetition, we should allow specifying it:

either at a higher level in the CRD (in a global build object, that could be overridden by mappings), or;
in a ConfigMap.

cc @fabiendupont

Tracked in Red Hat ITS as MGMT-10539.


[#OSF-6892][Hotfix] Delete, Check Out, and Download buttons missing from certain file types

Purpose
Fix the problem that "delete", "check out", and "download" buttons are missing from certain file types. Now those buttons will show up on all files on latest version and won't show up for any old version files.

Changes
Before changes:

After change:
for latest version of file cannot be edited on OSF, the delete, checkout, download button still show up

for previous version of file cannot be edited on OSF, the delete, checkout, download button will NOT show up

Side effects

I think the download button should still be there but with changes to make it to download the current version instead of the most recent version. This can be another improvement ticket.
Ticket

https://openscience.atlassian.net/browse/OSF-6892

Looks great. Thanks, Nan! 🎉 🐧 🎉


publishing v.0.9.0

added two new features, language and omitting issues that have been assigned

I want to test this locally before approving. We can discuss that offline.


No Software Flow Diagram

Great concept! It would be helpful to see a software flow diagram to get an idea of how the real-time processing is carried out.

Team 9

Thanks for your comment, software flow diagram has now been added to README file.


Added VicReg - Variance-Invariance-Covariance Regularization for SSL

This is a draft PR - updated .py files will be added

Any review you need on my side? Or from the TF-Similarity authors?

Hi @fchollet
I'd want your feedback as well as comments from @ebursztein or @owenvallis though I still need to upload the notebook(hence why it's a draft).

The changes look good to me.  @ebursztein & @owenvallis -- please chime in!

The changes look good to me. @ebursztein & @owenvallis -- please chime in!

Hi @fchollet, I did not include the actual file yet. Just have to do some grammar tweaks before I upload the notebook

@owenvallis I've added the VicReg example. BTW - have used a custom fork due to some changes in augmenters. I've made a PR at the tf similarity repo so if that gets merged to either the dev or master branch I'll change the code to use it instead.

@owenvallis @ebursztein could you check the VicReg code to see if everything looks good?

Small note on the pip install commands, but looks good to me otherwise. Thanks again for adding the update.

Okay, I've made some changes - removed Barlow twins commits because those are unrelated to VicReg. Also, the TensorFlow similarity master branch is now used instead of the custom fork.
Let me know if everything looks okay before I create an ipynb notebook

Small note on the pip install commands, but looks good to me otherwise. Thanks again for adding the update.

Hey owen, have also added my VicReg files - LMK if they are okay and we can merge.

@fchollet Could you approve/give feedback on this PR - LMK if there are any issues with it.

Closing and will bump this up


distro-base: Tags latest images after merging automated PR

Instead of pushing the latest tags in the post submits or
periodic jobs, they will now be pushed in the postsubmit
of the tag file update to allow us to control when the latest
tag is reset.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

No rush but what's the plan for this PR?

@jaxesn Any next step we can take with this PR?

going to close this and bring it back later along with some other changes


[Video] Set thumbnail images for video players

Currently the video player uses a black screen as a thumbnail. Let's see if we can use a screen grab from the video as the thumbnail instead.

@bkjohnson added a summary of where things were left off at Ruby by the Bay, here: https://github.com/rubyforgood/terrastories/issues/3

closing for now; moving to google doc


Update British to American text to include non-dialog outer quotes

This came up yesterday/today, but I've seen the comment a couple of other times on the list: because it says "dialog," some people take that literally (and exclusively). This is an attempt to indicate it includes all outer quotes, not just dialog.

Thanks!


Regression on typing.Literal and F821

As of 0.0.279 and 0.0.280 this raises an F821:
from __future__ import annotations

from typing import Literal

TokenType = Literal["reset"]

→
$ ruff --version
ruff 0.0.280
$ ruff --isolated t.py
t.py:6:22: F821 Undefined name `reset`
Found 1 error.
$ pipx run --spec 'ruff==0.0.279' ruff --isolated --fix t.py
⚠  ruff is already on your PATH and installed at /Users/hynek/Work/pw-reset/.venv/bin/ruff. Downloading and running anyway.
t.py:6:22: F821 Undefined name `reset`
Found 1 error.
$ pipx run --spec 'ruff==0.0.278' ruff --isolated --fix t.py
⚠  ruff is already on your PATH and installed at /Users/hynek/Work/pw-reset/.venv/bin/ruff. Downloading and running anyway.

As you can see, the error goes away when going back to 0.0.278. Therefore the regression must come from 0.0.279.
Curiously, the error goes away, if I remove the future import.

I believe this is fixed by #6032 (and so will be out in the next release), sorry about that.

huh how did I miss this while searching… sorry for the noise!

No prob! I felt like we had so much test coverage for F821, embarrassed we didn't have anything for this case 🙈


Contract verify

Closes #830
Introduced changes
This pull request proposes the design for the contract verification through sncast command
Breaking changes

Checklist

[x] Linked relevant issue
[x] Updated relevant documentation
[ ] Added relevant tests
[ ] Performed self-review of the code
[ ] Added changes to CHANGELOG.md

Now, we can merge this PR, right?


[Good First Issue]: Replicate Existing Cookbooks and Create New Examples - Batch 10

For context, see: CONTRIBUTING.md and cookbooks/README.md

Overview
We're looking for contributors to help expand our collection of Jupyter notebooks (cookbooks) that demonstrate various AI and automation tasks using Julep's features. This is a great opportunity for newcomers to get familiar with Julep and contribute to the project!
Objectives

Replicate existing cookbooks to ensure they're up-to-date and functioning correctly.
Create new cookbooks based on the ideas listed in the cookbooks/README.md file.

Tasks
1. Replicating Existing Cookbooks

Choose one or more of the existing cookbooks from the list in cookbooks/README.md.
Follow the instructions in the notebook to run it in Google Colab.
Verify that all cells execute without errors and produce the expected outputs.
If you encounter any issues or outdated information, document them for updating.

2. Creating New Cookbooks

Select an idea from the "Potential Cookbooks for Contributors" section in cookbooks/README.md.
Create a new Jupyter notebook following the structure of existing cookbooks.
Implement the chosen use case using Julep's features.
Ensure your notebook includes:

A clear introduction and overview of the task
Step-by-step implementation with explanations
Proper error handling and user guidance
A conclusion summarizing the key learnings

Guidelines for Creating New Cookbooks

Naming Convention: Name your notebook following the pattern XX-Descriptive_Name.ipynb, where XX is the next available number in the sequence.

Structure:

Start with an introduction explaining the purpose of the cookbook.
Include a cell for installing the Julep client.
Create sections for each major step (e.g., Creating an Agent, Defining a Task, Creating an Execution).
Add markdown cells to explain concepts and code.

Code Quality:

Ensure your code is well-commented and follows PEP 8 style guidelines.
Use meaningful variable names.
Handle potential errors gracefully.

Documentation:

Explain each step clearly, assuming the reader is new to Julep.
Include links to relevant Julep documentation where appropriate.

Testing:

Test your notebook thoroughly in Google Colab to ensure it runs without errors.
Include sample outputs where relevant.

Update README.md:

Add your new cookbook to the table in cookbooks/README.md.
Include a brief description and mark it as implemented.

How to Contribute

Fork the repository.
Create a new branch for your cookbook (e.g., cookbook/weather-notification-service).
Develop your cookbook following the guidelines above.
Test your notebook thoroughly.
Commit your changes and push to your fork.
Open a pull request with a clear description of your contribution.

Resources

Julep Documentation
Existing Cookbooks
CONTRIBUTING.md

Need Help?
If you have any questions or need assistance, please don't hesitate to ask in the comments of this issue or reach out on our Discord channel.
We're excited to see your contributions and help grow the Julep cookbook collection!

Long-ass list of ideas

AI-Powered Personal Shopping Assistant
Description: Helps users find products based on preferences, compares prices, and notifies about deals.
Features:
Tools: web_search, finance, sendgrid
Step Types: Tool Call, Evaluate, Conditional Logic, Compare Prices (Evaluate), Send Deals, Log
Automated Environmental Monitoring and Reporting
Description: Monitors environmental data, detects anomalies, and generates reports for stakeholders.
Features:
Tools: weather, api_call, sendgrid
Step Types: Tool Call, Evaluate, Conditional Logic, Generate Report (Prompt), Send Reports, Log
Intelligent Appointment Booking and Management
Description: Automates the process of booking appointments, managing schedules, and sending reminders.
Features:
Tools: google_calendar, sendgrid, slack
Step Types: Tool Call, Evaluate, Conditional Logic, Create Appointment (Set), Send Reminders, Log
Automated Data Sync and Integration Workflow
Description: Syncs data between different platforms, ensures data consistency, and handles conflicts.
Features:
Tools: api_call, airtable, slack
Step Types: Tool Call, Evaluate, Conditional Logic, Sync Data (Set), Handle Conflicts, Log
AI-Driven Competitive Pricing Strategy
Description: Analyzes competitor pricing, adjusts prices dynamically, and notifies sales teams of changes.
Features:
Tools: finance, web_search, sendgrid
Step Types: Tool Call, Evaluate, Conditional Logic, Adjust Prices (Set), Send Notifications, Log
Intelligent Document Translation and Distribution
Description: Translates documents into multiple languages, ensures accuracy, and distributes them to relevant parties.
Features:
Tools: huggingface, sendgrid
Step Types: Tool Call, Evaluate, Conditional Logic, Translate Documents (Prompt), Send Translations, Log
Automated User Onboarding Workflow
Description: Manages the user onboarding process by collecting information, setting up accounts, and sending welcome emails.
Features:
Tools: sendgrid, slack
Step Types: Tool Call, Evaluate, Conditional Logic, Create Account (Set), Send Welcome Email, Log
AI-Powered Content Curation and Distribution
Description: Curates relevant content based on user interests, schedules distribution, and tracks engagement metrics.
Features:
Tools: web_search, sendgrid, slack
Step Types: Tool Call, Evaluate, Conditional Logic, Curate Content (Set), Schedule Distribution, Send Content, Log

i can work on this

@ijindal1  can you assign this issue to me

@PRIYANKjakharia  @prathamesh424

Can you please specify which idea you want to work on?

I can create a separate issue and assign to you guys.

Can I be assigned to create a cookbook for the Automated Research Assistant Example?


Fix DailyTimeIntervalTriggerPersistenceDelegate trigger type check

Fix of instanceof check in canHandleTriggerType() method. Because of this bug, for any inheritance from DailyTimeIntervalTrigger, we get ClassCastException

Hello! Thank you very much for your contribution and interest in helping improve the Quartz community.
After a period of dormancy, the Quartz project is back under steady maintenance by multiple volunteers, who are working to once again handle contributions such as yours.
We notice that your contribution was made without use of the DCO feature (the sign-off feature on commits via the -s option). Can you please update your PR with commits that use the -s option, agreeing to assign copyright ownership and other terms as described at the contributor agreement referenced here: https://github.com/quartz-scheduler/contributing/blob/main/CONTRIBUTING.md
You can easily add signoff to your previous commits by running (on your PR branch):
git commit --amend --signoff --no-edit
git push -f

Or (for multiple commits):
# change 5 to the number of commits
git rebase HEAD~5 --signoff
git push -f


test: added a condition in sync_initializer

- What I did
Previously the tests were failing because the sync was not yet completed before the assertions. So now

I added a check to see if syncStatus is a success && localCommitId equals serverCommitID. If both are equal, Exit the code as sync completed.

- How I did it
added a check to see if localCommitId is equal to serverCommit id
- How to verify it
All the e2e tests should pass
- Description for the changelog

Hi @purnimavenkatasubbu @sitaram-kalluri a test failed again in an actions run just now on this PR
❌ test/deletion_key_test.dart: A test to verify cached key is deleted in sharedWith secondary when CCD is set to true (failed)
  INFO|2023-05-05 10:34:34.010123|AtLookup|Creating new connection

  INFO|2023-05-05 10:34:34.152622|AtLookup|New connection created OK

  INFO|2023-05-05 10:34:34.268378|AtLookup|auth success

  INFO|2023-05-05 10:34:34.323468|SyncService (@ce2e4)|159428760|Returning serverCommitId 312098

  INFO|2023-05-05 10:34:34.329379|SyncService (@ce2e4)|159428760|Inside syncComplete. syncRequest.requestSource : SyncRequestSource.app; syncRequest.onDone : null

  Exception: cached:@ce2e4:deletecachedkey.wavi@ce2e1 does not exist in keystore
  package:at_client/src/client/at_client_impl.dart 341:7  AtClientImpl.get

Hi @purnimavenkatasubbu @sitaram-kalluri a test failed again in an actions run just now on this PR
❌ test/deletion_key_test.dart: A test to verify cached key is deleted in sharedWith secondary when CCD is set to true (failed)
  INFO|2023-05-05 10:34:34.010123|AtLookup|Creating new connection

  INFO|2023-05-05 10:34:34.152622|AtLookup|New connection created OK

  INFO|2023-05-05 10:34:34.268378|AtLookup|auth success

  INFO|2023-05-05 10:34:34.323468|SyncService (@ce2e4)|159428760|Returning serverCommitId 312098

  INFO|2023-05-05 10:34:34.329379|SyncService (@ce2e4)|159428760|Inside syncComplete. syncRequest.requestSource : SyncRequestSource.app; syncRequest.onDone : null

  Exception: cached:@ce2e4:deletecachedkey.wavi@ce2e1 does not exist in keystore
  package:at_client/src/client/at_client_impl.dart 341:7  AtClientImpl.get

Looking at it.

Hi @purnimavenkatasubbu @sitaram-kalluri a test failed again in an actions run just now on this PR
❌ test/deletion_key_test.dart: A test to verify cached key is deleted in sharedWith secondary when CCD is set to true (failed)
  INFO|2023-05-05 10:34:34.010123|AtLookup|Creating new connection

  INFO|2023-05-05 10:34:34.152622|AtLookup|New connection created OK

  INFO|2023-05-05 10:34:34.268378|AtLookup|auth success

  INFO|2023-05-05 10:34:34.323468|SyncService (@ce2e4)|159428760|Returning serverCommitId 312098

  INFO|2023-05-05 10:34:34.329379|SyncService (@ce2e4)|159428760|Inside syncComplete. syncRequest.requestSource : SyncRequestSource.app; syncRequest.onDone : null

  Exception: cached:@ce2e4:deletecachedkey.wavi@ce2e1 does not exist in keystore
  package:at_client/src/client/at_client_impl.dart 341:7  AtClientImpl.get

Below is the hypothesis on why the test is still failing.
With these code changes, we are waiting until the client and server are in sync. But we might have a possibility that after the test has verified for the client and server are in sync and moved forward, the cached arrived in the cloud secondary.

One approach to fix this is to add an optional parameter "String key" into the E2ESyncService.syncData in the E2E test. So, that we can wait for a particular key to sync into the client and then perform assertions.

Will continue to work on this to find the other potential causes and approaches to fix them.

Hi @purnimavenkatasubbu @sitaram-kalluri a test failed again in an actions run just now on this PR
❌ test/deletion_key_test.dart: A test to verify cached key is deleted in sharedWith secondary when CCD is set to true (failed)
  INFO|2023-05-05 10:34:34.010123|AtLookup|Creating new connection

  INFO|2023-05-05 10:34:34.152622|AtLookup|New connection created OK

  INFO|2023-05-05 10:34:34.268378|AtLookup|auth success

  INFO|2023-05-05 10:34:34.323468|SyncService (@ce2e4)|159428760|Returning serverCommitId 312098

  INFO|2023-05-05 10:34:34.329379|SyncService (@ce2e4)|159428760|Inside syncComplete. syncRequest.requestSource : SyncRequestSource.app; syncRequest.onDone : null

  Exception: cached:@ce2e4:deletecachedkey.wavi@ce2e1 does not exist in keystore
  package:at_client/src/client/at_client_impl.dart 341:7  AtClientImpl.get

Below is the hypothesis on why the test is still failing.
With these code changes, we are waiting until the client and server are in sync. But we might have a possibility that after the test has verified for the client and server are in sync and moved forward, the cached arrived in the cloud secondary.

One approach to fix this is to add an optional parameter "String key" into the E2ESyncService.syncData in the E2E test. So, that we can wait for a particular key to sync into the client and then perform assertions.

Will continue to work on this to find the other potential causes and approaches to fix them.

Below are the log snippets to prove the above hypothesis:
Client Log - ce2e2
------------------
SyncService| SyncProgress{atSign: @ce2e2, syncStatus: SyncStatus.success, isInitialSync: false, startedAt: 2023-05-07 05:23:53.001031Z, completedAt: 2023-05-07 05:23:53.468138Z, message: null, keyInfoList:null, localCommitIdBeforeSync:null, localCommitId:null, serverCommitId:null***
Completed sync| SyncStatus.success | localCommitId: null | ServerCommitId: null
INFO|2023-05-07 05:24:22.833899|Monitor (@ce2e2)|starting monitor for @ce2e2 with lastNotificationTime:<PHONE_NUMBER>843

  Exception: cached:@ce2e2:deletecachedkey.wavi@ce2e1 does not exist in keystore

Server Log - ce2e2
-------------------
ce2e2_secondary.1.fnykmmh3bw1s@cicd2x64    | INFO|2023-05-07 05:24:24.928552|InboundListener|615793957|520731550|RCVD: sync:from:305575:limit:10|
ce2e2_secondary.1.fnykmmh3bw1s@cicd2x64    |
ce2e2_secondary.1.fnykmmh3bw1s@cicd2x64    | INFO|2023-05-07 05:24:24.931124|InboundConnectionImpl|615793957|520731550|SENT: data:[{"atKey":"cached:@ce2e2:deletecache
dkey.wavi@ce2e1","value":"m2XnJ3zkXFFIbU8R/f48hP2UFTLtE9AtT+9lRcSr2jg=","metadata":{"createdBy":"@ce2e2","updatedBy":"@ce2e2","createdAt":"2023-05-07 05:23:53.843Z","
updatedAt":"2023-05-07 05:24:23.680Z","availableAt":"2023-05-07 05:24:23.680Z","status":"active","version":"1","ttl":"0","ttb":"0","ttr":"-1","ccd":"true","isEncrypte
d":"true","sharedKeyEnc":"iCEIxBDe5jXvoyMRHoR9QpyKX1zFr1O6WuiILQEV568TZ0DexkE0nF6GgXYu6pRC7UT0zC4uApOlPzL78daDnfiEUMckQsnhivvWlvmDn4dqGfr7ZSsI2aYmlN4DoIiRPy4BUx3uBOVU
5eE9aznLw7R9t2ll/H+PFxGjiwAaLjFxsWTw4dROuKHJF9RvuHxanAEyRxmAOm4cUr33+GTg2BqrPXNKH24Y1wgzbwyNUug+24atVlmbKngVcWFJgCrG0nldPgpiKSCKzO7MarbHEH8FQ5MfCqJgAInOZokrOiz1Zzx2fl
dx2vyZ6ZgS7nN2eOhP8+QU+MMa418q269zJw==","pubKeyCS":"70984cc0ea4d3ba974ee2682c0979d20"},"commitId":305577,"operation":"*"}

On the client side, the get request was executed at "2023-05-07 05:23:53", but the key was synced at "2023-05-07 05:24:24"

Log snippet from test, On client side, sync waits for the specific key to sync
INFO|2023-05-07 08:05:48.493581|E2ESyncService|SyncService| SyncProgress{atSign: @ce2e2, syncStatus: SyncStatus.success, isInitialSync: false, startedAt: 2023-05-07 08:05:48.001210Z, completedAt: 2023-05-07 08:05:48.493514Z, message: null, keyInfoList:null, localCommitIdBeforeSync:null, localCommitId:null, serverCommitId:null***
INFO|2023-05-07 08:05:48.493761|E2ESyncService|Found SyncOptions...Waiting until the cached:@ce2e2:deletecachedkey.wavi@ce2e1 is synced to client
INFO|2023-05-07 08:05:49.256190|E2ESyncService|SyncService| SyncProgress{atSign: @ce2e2, syncStatus: SyncStatus.success, isInitialSync: false, startedAt: 2023-05-07 08:05:49.001189Z, completedAt: 2023-05-07 08:05:49.256119Z, message: null, keyInfoList:[KeyInfo{key: cached:@ce2e2:deletecachedkey.wavi@ce2e1, syncDirection: SyncDirection.remoteToLocal , conflictInfo: null, commitOp: CommitOp.UPDATE_ALL***], localCommitIdBeforeSync:305688, localCommitId:305689, serverCommitId:305689***
INFO|2023-05-07 08:05:49.256243|E2ESyncService|Found SyncOptions...Waiting until the cached:@ce2e2:deletecachedkey.wavi@ce2e1 is synced to client
INFO|2023-05-07 08:05:49.256308|E2ESyncService|KeyInfo{key: cached:@ce2e2:deletecachedkey.wavi@ce2e1, syncDirection: SyncDirection.remoteToLocal , conflictInfo: null, commitOp: CommitOp.UPDATE_ALL***
INFO|2023-05-07 08:05:49.256356|E2ESyncService|Found cached:@ce2e2:deletecachedkey.wavi@ce2e1 in key list info | SyncStatus.success | localCommitId: 305689 | ServerCommitId: 305689


Update role-based-access-control-custom-roles.md

Added example for Microsoft.Compute/* for clarification on providing access and a short description of the format of the operation strings.

Hi @jboeshart, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Jason Boeshart). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@jboeshart : Thanks for your contribution to the Azure documentation! The author, @kgremban, has been notified to review your proposed change.

Hi @jboeshart. There's a small typo -- opererations instead of operations. If you can fix that, I'm happy to merge this change.

#sign-off


overlapblock Creator - Web design #26

https://images01.nicepagecdn.com/page/56/08/html-template-56081.jpg Design a overlapblock like the above image
Create a file "overlapblock_NUM_by_(YourName).html" in the modules/overlapblock folder.
Use simple HTML and CSS and JAVASCRIPT to create the overlapblock animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "overlapblock_NUM_YOUR_NAME_.html" in the "modules/overlapblock" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/overlapblock/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
'''

'''
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck.

Hey NtemKenyor I will be working on this

Hi @NtemKenyor, Can you please assign it to me?

Hi @Vishwa3210 and Anjan,
I have already resolved the issue and waiting for PR Merge.
@NtemKenyor please review my below PR and Merge if everything is correct. Thank you!
https://github.com/KwickerHub/WebCraftifyAI/pull/1001


Add Pharo 7 to build matrix

Coverage remained the same at 98.401% when pulling a77d73f2208c6ed79659c8760afdfeabb75bfd91 on pharo7 into 28eae0b210470eb789fce7ba6b88b934822b9f91 on master.


This is the expected behavior of the build system.


Improvement for k8s.io/docs/reference/setup-tools/kubeadm/kubeadm-config/

It is very difficult to find any links to the kubeadm config documentation. This is a huge roadblock to new users trying to do anything custom with kubeadm.
As a new user, I don't expect to have to read about the setup phases to find information about configuring the tool. To someone who is unfamiliar with the project, that seems like more advanced documentation than I should need, and therefore not somewhere I would expect to find basic config file documentation. I also was able to find the godoc with config structs long before I found the more user-friendly documentation, which made it seem like that was the only documentation that exists.
I would expect a link to those docs to be available on the kubeadm-config page, as well as where config files are mentioned in the kubeadm-init and kubeadm-join pages.

/language en

@ben-turner it seems you have missed these two sections:
https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-init/#config-file
https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-join/#config-file
and for these commands the kubeadm API is actually the most important for.
linking the kubeadm-config command line reference page to the API makes sense.
but instead of linking to a particular version of the API we should link to:
https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm
and let users navigate to a particular API version. this is done with the idea that kubeadm config can also migrate v1beta1 -> v1beta2.
PRs welcome.
thanks
/sig cluster-lifecycle
/priority backlog
/help wanted

/help

A related PR in the kubeadm repo. I will keep most of the discussion over there for now.

/remove-help
/assign
/lifecycle-active
sending a PR with:

linking the kubeadm-config command line reference page to the API makes sense.


Do you support for full parameters pre-training?

Hi team,
I'm wondering if you support full parameters pre-training? I've checked the files but only can find supports for lora pre-training and sft parameters full training. If you support, could you point me to where? Thank you very much!

stage: pt
finetuning_type: full