Help with installation and build

Not an issue per se - just needing a little help during installation and build.  I am using npm - on recommendation not to use npm and yar together.
following npm install I believe the npm readme leads you to build the two packages in node-modules.  I have tried the first step in powershell and bash, with the same issues first and second attempt - any guidance would be greatly appreciated:
admin@DESKTOP-3EMD8C4 MINGW64 ~/dev/epanet-play/node_modules/@model-create/epanet-engine
$ npm run build:dockerimage

<EMAIL_ADDRESS>build:dockerimage C:\Users\admin\dev\epanet-play\node_modules@model-create\epanet-engine
docker build -t mydockerimage .

Sending build context to Docker daemon  4.072MB
Step 1/3 : FROM trzeci/emscripten
---> 7634ecdacf21
Step 2/3 : RUN apt-get update &&     apt-get install -qqy git &&     mkdir -p /opt/epanet/build &&     git clone --depth 1 --branch v2.2 https://github.com/OpenWaterAnalytics/EPANET /opt/epanet/src
---> Using cache
---> 3ef96f39a5a4
Step 3/3 : RUN cd /opt/epanet/build &&     emconfigure cmake ../src  &&     emmake cmake --build . --config Release
---> Running in 11254ed7a641
error: use emcmake rather then emconfigure for cmake projects
The command '/bin/sh -c cd /opt/epanet/build &&     emconfigure cmake ../src  &&     emmake cmake --build . --config Release' returned a non-zero code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build:dockerimage: docker build -t mydockerimage .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build:dockerimage script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR!      C:\Users\admin\AppData\Roaming\npm-cache_logs\2020-07-21T23_33_41_115Z-debug.log
admin@DESKTOP-3EMD8C4 MINGW64 ~/dev/epanet-play/node_modules/@model-create/epanet-engine
$

I am not familiar with emscripten but this https://github.com/tdlib/td/issues/955 suggests it may be minor version related.  Also new to Docker, is emscripten wrapped up in a docker image provided with the npm package?

Hi @hardyb
It's probably worth including a guide within the repo to help out first-time users so they can run the build and tests, and not run into the issues you're facing.
I do all my development on a mac, so I'm not 100% sure of the process on Windows but what I'll do is try to do a fresh install and build from my windows machine and share the results here. Hopefully, you can replicate them or if I find any bugs in the build system I can fix them up.
But to answer your questions, emscripten can be very sensitive to different versions and configurations, which is why I went with a version that was wrapped in Docker. That way everyone can be guaranteed to be building off the same toolset, (at least in theory!)
The first step the build script is trying to do is download an emscripten docker image and then add in extra functionality to run the build, so it's not coming directly from npm.
Also just to confirm, are you wanting to extend/contribute to the epanet-js library? If you just want to use it then you can download precompiled versions without needing docker.
Keep an eye out, I'll provide an update shorty!

Hi Luke,
Thank you so much for your detailed response, I really appreciate it.  I
imagine you are quite busy right now.
I do appreciate you taking a look at Docker and build from Windows and look
forward to hearing how you get on.
My current day to day technologies are nodejs and ReactJS and I use package
manager npm, though I used, for several years, to work with C/C++/STL, but
I am new to Docker and have never used emscripten.
I don't think I will be contributing to the epanet-js library, at least not
for a while, possibly the workspace, but I am new to water distribution
network modelling.  For now I'll be developing application / client code
off of the library.
I don't think I have quite fully grasped the nature of and relationship
between epanet-engine and epanet-js.  The C EPANET Toolkit is a complied
dynamic linked library? and the js epanet-engine wraps and calls in to it?
Or the C EPANET Toolkit is migrated/translated to js?
Then epanet-js  (which is the node module/package, but also just one
part/package of the module?) is a ts library that calls in to epanet-engine
js library/wrapper?
So sorry, I probably have that all wrong, just trying to understand.
If at all possible I'd really like to stick with npm install, as this fits
well with my current technology stack.  Given that preference, my Win10Pro
dev environment and the fact that I'm unlikely to be a contributor right
now, if you were able then to provide an instructional script to follow to
get the installed npm module working in that context, that would be greatly
appreciated.
Longer term there's a possibility I may want to use the npm module on a
Linux platform in a back end deployment context.
Again I realise you are busy and I thank you so much for your help and
guidance.
Kind regards,
Andrew.
On Thu, Jul 23, 2020, 18:20 Luke Butler<EMAIL_ADDRESS>wrote:

Hi @hardyb https://github.com/hardyb
It's probably worth including a guide within the repo to help out
first-time users so they can run the build and tests, and not run into the
issues you're facing.
I do all my development on a mac, so I'm not 100% sure of the process on
Windows but what I'll do is try to do a fresh install and build from my
windows machine and share the results here. Hopefully, you can replicate
them or if I find any bugs in the build system I can fix them up.
But to answer your questions, emscripten can be very sensitive to
different versions and configurations, which is why I went with a version
that was wrapped in Docker. That way everyone can be guaranteed to be
building off the same toolset, (at least in theory!)
The first step the build script is trying to do is download an emscripten
docker image and then add in extra functionality to run the build, so it's
not coming directly from npm.
Also just to confirm, are you wanting to extend/contribute to the
epanet-js library? If you just want to use it then you can download
precompiled versions without needing docker.
Keep an eye out, I'll provide an update shorty!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/modelcreate/epanet-js/issues/34#issuecomment-663130480,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM7VNFGS2JSTLZJIIQMIUTR5BWOBANCNFSM4PEEYJEQ
.

No problems at all about not wanting to contribute at the moment @hardyb, I'm happy you want to use the library! It also has the benefit of simplifying getting you started as you don't need to do any compiling and can just use the library directly from NPM.
@model-create/EPANET-engine

epanet-js is split into two packages, the epanet-engine package which wraps the original C code in C++ and compiles it to JavaScript using Emscripten. And epanet-js is a TypeScript library which wraps over the generated module from Emscripten and manages memory allocation, error handling and returning of varaible.

Your understanding of the relationship between the engine and the main library is correct! emscripten will compile the original C EPANET dll into javascript as part of @model-create/EPANET-engine, however you still need to manage memory which I wanted to simplify and also bring in types through Typescript.
So the main library wraps each of the EPANET functions in typescript and manages the memory for you.
If you're familiar with NPM and using react, you should only need to npm install epanet-js in your project and then import the library within your code to start using it.
Have a look at the follow examples which are both done in react and are using the library:
https://github.com/modelcreate/epanet-js-float-valve-example
https://github.com/modelcreate/epanet-js/wiki/Examples#fire-flow-analysis---react-example
If you need any help using the library or understanding water modelling, feel free to ask away or open issues and I can help out.
I hope this explanation helped out, but feel free to ask for any clarification!

Hi Luke,
Thanks for your response really appreciated.  Just writing some framework
type stuff, but I'm sure I will have lots of library questions soon.
Just to ask, are you happy for me to use github issues as a channel for
more general questions or would you rather I use some other channel, email
or what ever?
Thanks again,
Andrew.
On Fri, Jul 24, 2020, 19:34 Luke Butler<EMAIL_ADDRESS>wrote:

No problems at all about not wanting to contribute at the moment @hardyb
https://github.com/hardyb, I'm happy you want to use the library! It
also has the benefit of simplifying getting you started as you don't need
to do any compiling and can just use the library directly from NPM.
@model-create/EPANET-engine
https://github.com/modelcreate/epanet-js/tree/master/packages/epanet-engine
epanet-js is split into two packages, the epanet-engine package which
wraps the original C code in C++ and compiles it to JavaScript using
Emscripten. And epanet-js is a TypeScript library which wraps over the
generated module from Emscripten and manages memory allocation, error
handling and returning of varaible.
Your understanding of the relationship between the engine and the main
library is correct! emscripten will compile the original C EPANET dll into
javascript as part of @model-create/EPANET-engine
https://github.com/modelcreate/epanet-js/tree/master/packages/epanet-engine,
however you still need to manage memory which I wanted to simplify and also
bring in types through Typescript.
So the main library wraps each of the EPANET functions in typescript and
manages the memory for you.
If you're familiar with NPM and using react, you should only need to npm
install epanet-js in your project and then import the library within your
code to start using it.
Have a look at the follow examples which are both done in react and are
using the library:
https://github.com/modelcreate/epanet-js-float-valve-example
https://github.com/modelcreate/epanet-js/wiki/Examples#fire-flow-analysis---react-example
If you need any help using the library or understanding water modelling,
feel free to ask away or open issues and I can help out.
I hope this explanation helped out, but feel free to ask for any
clarification!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/modelcreate/epanet-js/issues/34#issuecomment-663676062,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM7VNBVZBBXKFXQRSKROQLR5HH3XANCNFSM4PEEYJEQ
.

Feel free to post them here or you can email me directly<EMAIL_ADDRESS>If you have general questions about EPANET or water modelling the best location would be the Water Analytics Community Forum, but anything else related to this library feel free to ask.

Cool, thanks Luke.  Yeah I registered on that forum just recently.
On Tue, Aug 4, 2020 at 10:03 PM Luke Butler<EMAIL_ADDRESS>wrote:

Feel free to post them here or you can email me directly<EMAIL_ADDRESS>If you have general questions about EPANET or water modelling the best
location would be the Water Analytics Community Forum
http://community.wateranalytics.org/, but anything else related to this
library feel free to ask.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/modelcreate/epanet-js/issues/34#issuecomment-668824275,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM7VNFAR34E2DGEYALXDUTR7BZT3ANCNFSM4PEEYJEQ
.


Add reverse method to Iterable

Iterable<E> has no reverse method. This method would come in handy especially when wanting to do fold right on an interable:
// current
iterable.toList().reversed.fold(...)

// proposed
iterable.reverse().fold(...)

Where reverse() would have a similar effect to toList().reversed.

The problem with reverse is that there are no performance guarantees. Most implementations would have to just do Iterable<T> get reversed => new IterableWrapper<T>(this.toList().reversed);.
That makes .toList().reversed and .reversed() equivalent, and you don't need two ways to do the same thing.
We are not planning on adding new members to Iterable at this point unless it's extremely important and/or useful.
(There are a few collections that can actually reverse their members in constant time: LinkedHash based structures, tree-based (ordered) structures, queues and List, but there is no easy way to see if you have one of those).


arkworks eip-4844

Progress:

[x] bytes_to_bls_field_test
[x] compute_powers_test
[x] evaluate_polynomial_in_evaluation_form_test
[ ] compute_commitment_for_blobs_test
[ ] eip4844_test
[ ] blob_to_kzg_commitment_test
[ ] compute_aggregate_kzg_proof_test_empty
[ ] aggregate_proof_for_single_blob_test

IIRC these calls to blst are temporary?

In the end, I can either rewrite those calls to blst methods from scratch or swap them out with their equivalent Arkworks routines, if any exist

Closing in favor of #216


Get-DbaCmObject - Bugfix WMI with Query

WMI used to only work with object requests, not query

💃 💃 💃 💃


GRPC调用失败

Issue Type
Others
Source
binary
Secretflow Version
master
OS Platform and Distribution
windows
Python version
。
Bazel version
No response
GCC/Compiler version
No response
What happend and What you expected to happen.
panic: rpc error: code = Unimplemented desc = unknown service proto.JobService [recovered]
panic: rpc error: code = Unimplemented desc = unknown service proto.JobService。

Reproduction code to reproduce the issue.
winddows本地容器化部署中心节点样例。查询不到相关grpc服务，http端口正常，请问有GRPC客户端调用样例吗

:~/go/bin$ ./grpcurl -plaintext localhost:8083 list
Failed to dial target host "localhost:8083": context deadline exceeded，本地和虚拟机上使用grpcurl也访问不到服务列表


Complete interpreter commands

Add state

Status: Started, Completed, Cancelled, Pending?
Progress/ commands with duration (needs clarification)
Temporal field? Totalization (needs clarification)
Times of start, completion, cancellation?

Relates to #19 and #25

Hi
Status
I agree with the states Started, Completed, Cancelled and Pending.
I think we should be precise about Pending though. I would consider an instruction to be Pending if it was issued manually during Hold or Paused execution state. I would however not consider it to be Pending if it is in the Method but has not yet been reached by the interpreter.
Progress, temporal field and values at change of status
Some instructions may have a limited lifespan. Take for instance a ramp from a current value u0 to a new value u1 during the period dT. Then the calculation in the instruction internals would be something like u = u0 + (u1-u0)/dT * (t-t0) where t0 was the time the instruction was Started and t is the current time.
Other commands might have a duration which is defined by the value of a monotonically increasing tag such as a volumetric totalizer. In that case the equivalent formula is u = u0 + (u1-u0)/dV * (V-V0).
To ensure generality I think it would be optimal to take a snapshot of the entire tag space with their values at the time of status change to Started and attach that copy to each instruction object. That way, any instruction can access the value of any tag at the point of change of status to Started, and use it as it sees fit for progress calculation. This would definitely be my recommendation.
If you agree, then I think we should use the same approach for the other Status changes as well.

Related #216


vaughnlive down

error: Unable to validate response text: Minimum length is 2 but value is 1

Please are there any fix :(

Please look at existing issues before you open a new one. There are already a whole bunch of them with the same problem.
Try if intact's fix works for you: https://github.com/intact/livestreamer/blob/fix-vaughn/src/livestreamer/plugins/vaughnlive.py

It's doing it again:
error: Unable to validate response text: Minimum length is 3 but value is 1

It's doing it again (using intact's fix):
error: Unable to validate response text: Minimum length is 3 but value is 1
It was working about an hour ago.

See issue #1445 for a fix.


Very slow on MacOS

Sail Version
1.31.0
Laravel Version
10.48.18
PHP Version
8.3.9
Operating System
macOS
OS Version
14.5
Description
Since a month I have very slow response times with Laravel Sail on my MacOS development machine. I tried everything, like increasing resources, use caches, etc., but nothing helps.
The following errors occur when the Laravel-app becomes slow:
laravel.test-1  | 2024-08-06 08:30:03,980 INFO reaped unknown pid 711 (exit status 0)
laravel.test-1  | 2024-08-06 08:30:03,981 INFO reaped unknown pid 714 (exit status 0)

For some reason it seems to kill or wait for something?
Do you have idea how to debug this? The project runs fine on production.
Steps To Reproduce

Clone project
Run sail up
INFO reaped unknown pid message
Very slow app load (30 seconds or more)

Can you add the link to the project? I have no problems so far with my Sail-Projects.

@Jubeki It's a close project unfortunately.
I have the same on a clean Laravel app as well, it simply seems to hang somewhere. I have plenty of free memory and space.

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord or InertiaJS Discord for Inertia questions
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

Did you try clearing/purging build images, deleting containers and the volumes and/or setting up a new version of Docker?
(Can't help more than that unfortunately)

I have the same issue, i noticed this first when being force by my employee to switch to mac book, all my Laravel projects in sail seem to have this issue.
During development my initial page load is very slow up to 10 seconds. even on the simplest welcome page. After loading it's almost instant on consecutive refreshes. Then after waiting a couple seconds or minutes during working in my IDE, the first load is again 10 seconds. This is a lot of time throughout a full day. I only have this problem on macOS, never in windows or linux.

@Jubeki Thanks for your help. :)
Yes, I have cleared/purged the containers, including reinstalling Docker using brew, instead of directly installing the app.


Implement guide for SCU/onyx hybrid apps

[ ] write guide how you can integrate core-ui in an onyx blueprint

[ ] in Blueprint docs
[ ] in core-ui docs
[ ] explain in the guide that dark-mode is out of scope
[ ] write a post in the core-ui channel :)

[ ] provide stylesheet for mapping core-ui colors with onyx (if possible, detect in CoreUI if onyx is used (e.g. by doing something like :has(.onyx-app) in CSS and apply the stylesheet then so no manually work is needed for the project)

Live on: https://vue-blueprint.schwarz/migrations/v3.html#coreui-hybrid-mode (only accessible inside Schwarz VPN)
We decided to not map any CoreUI tokens to onyx to:

keep it simple
do not make "hybrid mode" too pretty so users want to fully migrate to onyx asap
not change CoreUI visuals


vendor: respect repository field in restore and update

Somehow the repository field from the manifest isn't used.
With this I can replace packages with forks.

I just noticed an issue with my approach. Consider these two entries in manifest, they retrieve two packages from the same repository.
		{
			"importpath": "github.com/aws/aws-sdk-go/private/protocol",
			"repository": "https://github.com/aws/aws-sdk-go",
			"revision": "85a81a15072b38078dd2114b87d34d02fa633c1c",
			"branch": "master"
		},
		{
			"importpath": "github.com/aws/aws-sdk-go/service/cloudwatch",
			"repository": "https://github.com/aws/aws-sdk-go",
			"revision": "85a81a15072b38078dd2114b87d34d02fa633c1c",
			"branch": "master"
		},

Since I just replaced importPath with repository, it now clones the root of the repositories into the two improtpath locations, leading to a broken vendor state.

Codecov Report

Merging #730 into master will increase coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #730      +/-   ##
=========================================
+ Coverage   50.52%   50.7%   +0.18%
=========================================
  Files          42      41       -1
  Lines        3119    3102      -17
=========================================
- Hits         1576    1573       -3
+ Misses       1405    1386      -19
- Partials      138     143       +5

Impacted Files
Coverage Δ

build.go

cmd/gb/build.go
71.34% <0%> (+66.47%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f11784c...0153a33. Read the comment docs.

Testing this some more, I noticed that I broke vanity imports.
I pushed a really dirty hack in 0153a33 to make golang.org/x/... working again but it's not good since it only works for go.googlesource.com/....


Enhancement: Is there a property for these input components to set them required?

Can I set a props value on these input components to show them as required?
I can't seem to find a way, specifically I'm looking to conditionally set the DatePickerInput required

The input elements let you pass in props as need be - for example, you can pass the required prop like so
<TextInput required> and it'll go through
Same with DatePicker

There doesn't seem to be any visual indicator that these are required fields, any plans in the future?  Thanks!

It looks like we use validation styles instead.
You can add data-invalid to apply validation styles on an input to indicate that a required field should be filled in.

Or if a password needs to match a certain pattern, the same kind of style gets used but with different messaging.

Source: Form Usage - carbondesignsystem.com


java.lang.AssertionError: unexpected concatenated term projection

I got this on kompile:
[Error] Internal: Uncaught exception thrown of type AssertionError.
Please file a bug report at https://github.com/kframework/k/issues

Then after using the --debug option, here is the top of the stack trace:
java.lang.AssertionError: unexpected concatenated term projection
('delta((# <thread><props>S:Set</props>C:Bag</thread>B:Bag)(.KList)))
     at org.kframework.backend.java.kil.CellCollection$Builder.concatenate
         (CellCollection.java:353)

And here is the rule that has the problem:
	rule
		<threads>...
			delta(<thread> <props> S:Set </props> C:Bag </thread> B:Bag)
			=>
			<thread> <props> S </props> C </thread>
			delta(B)
		</threads>

I don't understand what the problem is.

Can I see the syntax declaration for delta()?

	syntax Bag ::= delta(Bag)	[function, latex(\delta{#1})]
	syntax Exp ::= delta(Exp)	[function, latex(\delta{#1})]

Can you try making the two productions have different KLabels and let me know if that solves your issue?

Just to clear the confusion for myself, this is now version 3.6.
I did this
	syntax Bag ::= delta(Bag)	[function, latex(\delta{#1}), klabel(deltaOnThreads)]
	syntax Exp ::= delta(Exp)	[function, latex(\delta{#1}), klabel(deltaOnExps)]

but I'm still getting this:
java.lang.AssertionError: unexpected concatenated term projection(deltaOnThreads
((# <thread><props>S:Set</props>C:Bag</thread>B:Bag)(.KList)))

Okay, thanks.
@andreistefanescu how hard would it be to support functions on cell collections?

Closing as no longer relevant in new KORE. @omarz1 , this will be fixed in the upcoming K 4.0 that is planned in the next several months.


[sw,tests] Chip level test chip_sw_aon_timer_wdog_bite_reset

This PR add the test chip_sw_aon_timer_wdog_bite_reset listed in the chip-level testplan;

Read the reset cause register in rstmgr to confirm that the SW is in the POR reset phase.
Program the AON timer wdog to 'bark' after some time.
Let the bark escalate to bite, which should result in a reset request.
After reset, read the reset cause register in rstmgr to confirm that the SW is now in the wdog reset phase.

Looks good to me, but we probably need a SW review before merging.

I will give it a quick passthrough now.

@rswarbrick Sorry about that, but I did a slight change to cover also the test chip_sw_aon_timer_sleep_wdog_bite_reset.


Query param for certain test in matrix

We can add a query param for example like this, {link}?testName, and put a border for every test that has that testName. or other params.

Closing this issue for now.


Problems

Some problems in the site
1: Directly Contact me site
2: Main page is so simple and empty
3: Some responsive issues with foldable phones

Some problems in the site 1: Directly Contact me site 2: Main page is so simple and empty 3: Some responsive issues with foldable phones

New repo opened as a development repository


[FIX] Issue #202 and #190

Description
This pull request aims to fix numeric precision when decoding, fixing issue #202 and potentially #190 and #120?
Task items:

[X] Preserve the literal value of a numeric type when unmarshalling/decoding via UseNumber();
[X] Minor update to a test to prove the precision is kept;
[X] Add coverage for the all numeric types (handleNumeric() function);

@aren55555 lmk what you think.

I'll take a look on Sunday when I'll actually be able to allocate enough time to dig into this.

@aren55555 the work on this PR is done, do take a look.

Would be nice if you can merge according the dependency to #122


[$60] Test issue 5

Test issue 5

@${assignee} Please use Ragnar-Self service tool to map topcoder user to Github username

@[object Object] Please use Ragnar-Self service tool to map topcoder user to Github username

@test-user-dkndkv1 Please use Ragnar-Self service tool to map topcoder user to Github username

@test-user-dkndkv1 Please use Ragnar-Self service tool to map topcoder user to Github username

@test-user-dkndkv1 Please use Ragnar-Self service tool to map topcoder user to Github username

@test-user-dkndkv1 Please use Ragnar-Self service tool to map topcoder user to Github username

@test-user-dkndkv1 Please use Ragnar-Self service tool to map topcoder user to Github username

@test-user-dkndkv1 Please use Ragnar-Self service tool to map topcoder user to Github username

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate with your Topcoder handle

est comm

sasdfsdf

/bid sdf

/bid sdd

/bid try2

/bid try2

/bid try2

/bid try2

/bid try2

/bid try2

/bid try2

/bid try2

/bid try2

/bid try2

/bid try2

/bid try2

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

/bid try2

/bid try2

/bid try2

/bid try2

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

/bid $50

/accept_bid sfasdf

@kondakovdmitry: Only admin can issue /accept_bid command.

/accept_bid sfasdf

@kondakovdmitry: Cannot parse /accept_bid command. Should be like "/accept_bid @user $50".

/accept_bid @test-user-dkndkv1 $50

/accept_bid @test-user-dkndkv1 $50

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate your Topcoder handle with Github

/accept_bid sfasdf

@kondakovdmitry: Cannot parse /accept_bid command. Should be like "/accept_bid @user $50".

/accept_bid sfasdf

@kondakovdmitry: Only admin can issue /accept_bid command.

/accept_bid sfasdf

@kondakovdmitry: Only admin can issue /accept_bid command.

/bid sdsdds

@kondakovdmitry: Cannot parse /bid command. Should be like "/bid $50".

/accept_bid @test-user-dkndkv1 $60

@kondakovdmitry: Only admin can issue /accept_bid command.

/accept_bid @test-user-dkndkv1 $60

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate your Topcoder handle with Github

/accept_bid @kondakovdmitry $60

/accept_bid @kondakovdmitry $70

/accept_bid @kondakovdmitry $80

/bid $40

/bid $40

/bid $40

/bid $40

/bid $40

/bid $40

/bid $40

/bid $400

/bid $500

/accept_bid @test-user-dkndkv1 $500

@test-user-dkndkv1: Only admin can issue /accept_bid command.

/accept_bid @test-user-dkndkv1 $500

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate your Topcoder handle with Github

/accept_bid @test-user-dkndkv1 $50

@test-user-dkndkv1 Please sign up with the Ragnar Self-Service tool to associate your Topcoder handle with Github

/accept_bid @lazybaer $50


Merge combination and bigCombination

Why not merge those two and simply call bigCombination if ary is bigger than 31? One less thing to think about.

👍

@dankogai can you comment on why you closed this please?


Remove lean.

About the PR
I think that's more than enough of that.
Changelog
:cl: moony

remove: Removed fun! No more lean, don't do drugs kids.

Game's got meth, murder and you can put mice in blenders.


Thank you!

Just wanted to say Thank you :pray:
Your library is awesome! It's just fun to use the API with it and async await / Promise.coroutine
And the REPL link to also great!
I just finished with a flow of API calls with octocat which automate the whole pull request flow (changing, adding, removing files, forking a repo, create a new branch, apply the commits and send the pull request)
Just one thing where I'm not sure: Does the GitHub API support multiple file changes within one commit?

Thanks for using octokat!
You can write many files using octokat, just not directly... yet (see below).
To commit multiple files now, you will need to go through these steps:

Find the base commit tree (ie repo.git.refs('heads/master'))
Create new blobs for each file (ie repo.git.blobs.create({content: 'Hi'}))

Note: binary files need to be handled with care (base64 encode & send a special header)

Generate a new commit tree which includes the sha's of the created blobs (ie repo.git.trees.create({tree, base_tree}))
Create a new commit using the commit tree (ie repo.git.commits.create({message, tree, parents}))
Update the branch to point to the new commit (ie repo.git.refs('heads/master'))

Or, create a new branch instead of updating an existing one
This could also be used to Merge a Pull Request

For reference, the relevant code to do it using a now-defunct library can be found here: https://github.com/philschatz/octokit.js/blob/master/octokit.coffee#L1012-L1070
Also, there is a refactor PR (#81) that pulls out most of the code into separate plugins (ie Binary Files, Pagination, Hypermedia, Cache Handling, Camel Casing) so you can include only the plugins you use.
I was planning on adding a writeMany() plugin that would add the functionality described above but have not yet had the time or the motivation from the community to add it in yet :smile:.
Hope that helps! If you get it working with await (probably relatively easier than in ES5) please add a snippet here!

Wow, that looks good, I will try it :)

I wonder how to delete a file via blob or tree API...
... just found a solution here: http://stackoverflow.com/a/23714505
But I'm confused now: What does it mean to generate a new tree exactly?
I don't get this:

The tree creation API will take nested entries as well. If both a tree and a nested path modifying that tree are specified, it will overwrite the contents of that tree with the new path contents and write a new tree out.

Do I need to list all files, otherwise unlisted files will be deleted?

I didn't find time to try out use the blobs and do in one commit, but here is the Promise/Generator version to do it with multiple commits: https://gist.github.com/timaschew/c5daed16394522b756fc86039b8d19d6
By the way: I started to write some tests for this workflow, but it doesn' t work, because I cannot stub octokat with sinon:
TypeError: Attempted to wrap undefined property forks as function

Here is a demo for the test case: https://tonicdev.com/timaschew/570f420ae3cbbb11004b29e9

I've wrote my own stub/spy for octocat: https://gist.github.com/timaschew/44de7de88d875971a5369a0046d5ba7d

Does someone have that aforementioned snipped on getting this  to work with async  / await I can't seem to nab it down.


In-game move data check

Feature Description:
I was thinking, like in the real games, before committing to forget a move or use one in battle, there could be a sort of option to display the move data like a description etc.
Implementation ideas:
When I added the move data into the game, I made sure to include a description of the moves into the JSON file so this could be done. I was thinking when a move is selected there could be another menu to choose use or info afterwards. It would make it more tedious to use a move in battle though.
Reasoning:
This feature would make it more like the real games and it would help make the decision to forget/use a move easier.

[ ] I decline to being added to the Contributors list.

Thanks for taking a look :)

This is a good idea, I'll look into it.


Minor Bug: Blank tooltip for Export icon and request to add hover text colour changes for other icons

Describe the bug
When hovering over the Export icon in the left-hand navigation bar, a blank white box (tooltip) is displayed. Additionally, the text colour of the icon remains white on hover, making it difficult to confirm visually that the mouse is on the icon. Despite this, clicking the Export icon works as expected and triggers the download properly.
Additional Feature Request:
For consistency and better user experience, it would be helpful to apply the same hover text colour change (e.g., to red) to the other navigation icons in the left-hand menu. This behaviour would provide users with clear visual feedback when hovering over any icon.
Link to the Bolt URL that caused the error
http://localhost:5173/
Steps to reproduce

Navigate to the left-hand navigation bar in the application.
Hover the mouse pointer over the Export icon.
Repeat the same for other icons in the navigation bar (e.g., Delete) to observe hover behaviour.

Expected behaviour

The Export icon should display a clear and meaningful tooltip when hovered over.
The text colour of the Export and other navigation icons should change (e.g., to red) on hover, providing consistent visual feedback.

Proposed Fix:

Ensure the tooltip for the Export icon displays correctly with meaningful content.
Update the hover state for the Export icon and other navigation icons to change the text colour (e.g., to red) for improved clarity and usability.

Screen Recording / Screenshot
No response
Platform

OS: Windows 10
Browser: Canary

Additional context
While the Export icon’s functionality works as expected, addressing the tooltip and hover feedback issues would significantly enhance usability. Extending the hover colour change to all navigation icons would ensure consistency and improve the overall user experience.

Raised PR #422 to address this issue


Return code actions of the source type for the current cursor position?

VSCode and other editors request code actions whenever caret/selection is changed. Those requests don't specify any "kinds" in context.only. Is server expected to return code action types of the source kind in this case?
Empirical evidence shows that:

Many servers don't return source code actions unless explicitly asked for those using context.only: ['source'] (which happens when explicitly triggering Source actions... menu item in VSCode, for example).
Even if server returns source code action in that case, editor (VSCode) filters out the source kind and doesn't show in the view as an annotation or a bulb icon.

Questions:

Is that intention that servers don't return source code actions unless explicitly asked?
Is the intention that editors filter out source code actions for cases when request is made for the current caret position in the file?
(Bonus question) Should request for the source code actions include whole document range and all active diagnostics in the file (currently not the case in VSCode, for example)?

Actually this has some legacy / backwards compatibility issues :-)
At the beginning there weren't any source or refactoring code actions. Code actions were solely used to (quick) fix code, not to write / rewrite code. So if a client asks for code actions without any kind the standard quick fix code actions should be returned.
If a server returns more code actions (e.g. includes source code actions) clients are allowed to filter them to ensure UI consistency.

Is that intention that servers don't return source code actions unless explicitly asked?

As said the minimum a server needs to return are the default quick fix actions. It is allowed to return more and clients other than VS Code might do something with them. However VS Code decided to drop them

Is the intention that editors filter out source code actions for cases when request is made for the current caret position in the file?

This is up to the client to decide.

(Bonus question) Should request for the source code actions include whole document range and all active diagnostics in the file (currently not the case in VSCode, for example)?

We decided not to do this. Reason is that a server can easily compute all active diagnostics for the given file. The diagnostics provided in a code action request are hints for the server to know which errors the user currently sees. If you run a source code action (for example fixAll) this is not very useful since the server should fix all errors and not rely on what the user sees in the context.
Hope that makes sense.

Thank you. This makes it much clearer.
I do think that something of the effect of what you wrote below should be in the spec to make this official:

At the beginning there weren't any source or refactoring code actions. Code actions were solely used to (quick) fix code, not to write / rewrite code. So if a client asks for code actions without any kind the standard quick fix code actions should be returned.

Agree.


Subset crashing randomly

xclim version: 0.25.0
Python version: 3.7.6
Operating System: LinuxMint 20.1

Description
The algorithm is trying to select the cells that are located within a polygon (defined by a .geojson file) using the function clisops.core.subset.subset_shape. The DataArray passed to this function contains a 2D matrix of climate indices with annual frequency ('YS').
It sometimes works the way it should, sometimes crashes, when calling the function with the same exact parameters (DataArray; path of a .geojson file defining polygon boundaries).
I would expect the same behaviour and result every time I run the function with unchanged parameters. Right now, the behaviour appears random, although there must be an explanation.
What I Did
The test was done on 2 climate indices, which are 'drought_code' and 'tx_days_above'. In the former case, the index was calculated with xclim.indices.drought_code and with xclim.indicators.atmos.drought_code. In the latter case, the index was calculated using xclim.indices.tx_days_above.
The subset_shape function was then applied to a Dataset that contains a DataArray corresponding to a climate index. This is where the crash happens, when there is a crash.
I shared a .py file, along with 3 input NetCDF files and a .geojson file to help PCDO investigate this problem. The path of these directory on the server was communicated by email.
What I Received
Traceback (most recent call last):
  File "/home/yrousseau/anaconda3/envs/xclim-dev/lib/python3.7/site-packages/clisops/core/subset.py", line 673, in subset_shape
    ds_copy = subset_bbox(ds_copy, lon_bnds=lon_bnds, lat_bnds=lat_bnds)
  File "/home/yrousseau/anaconda3/envs/xclim-dev/lib/python3.7/site-packages/clisops/core/subset.py", line 265, in func_checker
    return func(*args, **kwargs)
  File "/home/yrousseau/anaconda3/envs/xclim-dev/lib/python3.7/site-packages/clisops/core/subset.py", line 947, in subset_bbox
    "There were no valid data points found in the requested subset. Please expand "
ValueError: There were no valid data points found in the requested subset. Please expand the area covered by the bounding box, the time period or the level range you have selected.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "subset_shape_tester.py", line 474, in <module>
    main()
  File "subset_shape_tester.py", line 466, in main
    ds_idx = subset_shape(ds_idx, d_bounds, idx_name)
  File "subset_shape_tester.py", line 63, in subset_shape
    ds_res = subset.subset_shape(ds_res, d_bounds)
  File "/home/yrousseau/anaconda3/envs/xclim-dev/lib/python3.7/site-packages/clisops/core/subset.py", line 678, in subset_shape
    ) from e
ValueError: No grid cell centroids found within provided polygon bounding box. Try using the "buffer" option to create an expanded area.

Hey @yrouranos, I would open this ticket in https://github.com/roocs/clisops. The subsetting utilities are now maintained by the ROOCS team. If you could share the python file (without hard-coded internal paths) as a script in an issue, it'll help them get a sense of what might be happening.

And the problem is not what is described in the error message ?

I don't understand your comment @huard. A call to clisops.core.subset.subset_shape is making my script crash, so it is related to the clisops.

Hi all! I found the problem and it is indeed not related to clisops!
I ran the script in a debugger fashion and found the culprit : get_coord_names. @yrouranos  uses this function to get the current spatial dimensions and ensure clisops receives lat and lon (instead of latitude and longitude). However, the function returns a set, not a tuple, and sets are unordered. Thus, here the returned order is not constant. Note that the scripts fails when the order is the "wrong" one as there is also an error on line 465.   I'm not sure what the python implementation really does, but the order is constant within a python process, but may switch across processes (when you restart python).

Note for drought_code  : Sadly the use of xr.apply_ufunc internally does change the axis order by sending 'time' to the last place. However, we made the decision to follow xarray and not rely on dimension order. DataArrays have named dimensions, and thus no need to have a specific order. This is also motivated by the fact that transpose actions are not free when using dask, they add complexity to the compute tree.

The tricky part is that the call to subset_shape does not always result in a crash. The error message doesn't make sense to me knowing that if I run the code a few times, it will end up working. This may be why @huard mentioned that the problem is not what is described in the error message.
I will create an issue in the ROOCS repository, as suggested by @Zeitsperre.

It makes a lot of sense. It now works every time when get_cord_names returns an array instead of a set. Thanks for fixing my bug, which was not related to clisops.


RelayChainAccountId32Aliases

Add RelayChainAccountId32Aliases to xcm-support.
Similar to AccountId32Aliases from Polkadot, but also accept AccountId32 from relaychain.
Need to make sure not accepting AccountId32 from other parachains.
Need integration tests.

[ ] first stage: add RelayChainAccountId32Aliases struct, and add unit-testcase
[ ] second stage: add integration test

I've checked homa_lite config, and found type SovereignSubAccountLocation use create_x2_parachain_multilocation() which make form of (1, X1(AccountId)) , and it's like RelayChainAccountId32Aliases we add here to xcm-support. right? @xlc @syan095

RelayChainSovereignSubAccount represents a sub account of Karura sovereign account on relaychain. It is used to send KSM into this account to perform staking.


[Feature] update star mgr to 0.1.6

What type of PR is this：

[ ] bugfix
[x] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


Add: selection.classed("foo", toggle);

Suggestion to add feature or give example in documentation about how to code using existing currently available true/false values.
Rationale for:

Common use case? (included in JQuery as toggleClass).
A bit challenging to code using currently allowed true/false values? especially for .selectAll()
Straightforward  and clear addition?

Argument against:

Only partially consistent with current approach. value accepts a function (toggle is really a function), but returns truthy.

See: https://jaketrent.com/post/d3-class-operations/

No plans to do this.
Partly this is because toggling is not especially idiomatic for D3, as the resulting DOM state is not data-driven but instead driven by the previous state of the DOM. So, a more idiomatic approach would be to toggle some data state, and then derive the new class based on the data. For example:
selection.classed("active", d => d.active = !d.active);

If you do want to toggle the class of a selection of elements, rather than using selection.classed to read the current state of each element, I would probably use the DOM API directly:
selection.classed("active", function() { return !this.classList.contains("active"); });

Or, using an arrow function:
selection.classed("active", (d, i, nodes) => !nodes[i].classList.contains("column"));

If you find yourself doing this often, you could write a plugin that extends d3.selection.prototype to add a method. (See also d3-jetpack.)


[web]: Verifying keyboard input on web

With new keyboard input features, we need to verify if there are any regressions.
Areas to look at:

[x] Handling of modifier keys and caps lock
[x] Handling of IME-based input -- e.g. CJK input. I would verify this for macOS and Windows independently since I've noticed Flutter actually receives different keycodes on macOS and Windows. The browser may normalise some of that to something consistent though - I recall seeing a w3c standards doc mentioning that on the web, browsers were meant to ensure they emit virtual key events that behave the way Win32 behaves natively
[x] Specifically with modifier keys, I'd check platform-specific shortcuts like alt-tab behaviour, which we saw regressions to, though I'd look at the general case too. I imagine this applies to iPadOS too since it implements cmd-tab app switching

Was there any follow-on work identified by this? Do we have issues filed for any of those items?

This was a one-off manual exercise. Closing.


Some questions about paper

Hi,Mr.Zhang ，i have some questions about the paper，can you explain it ？ thanks~
1、image input size is  315 × 560 ？
2、How to get Ga with Ma  and  Fa ?
3、And then ， np.dstack  Ga and Gb   to  Resnet34 ？
4、Training data is  imageA imageB and Homography matrix  from imageA to imageB ?
5、Can the training set be generated like 《Deep image homography estimation》?
I want to try to implement your paper, but I feel that there will be some difficulties in the loss function part, can I get your help?

yes
pointwise multiply
torch.cat , do not use numpy
Hab =  imageA to imageB
no
All processes need to be implemented with torch or tf, so that the entire calculation process is differentiable. You need to read ’ Unsupervised deep homography: A fast and robust homography estimation model ‘(https://arxiv.org/abs/1709.03966) first。


[Experimental] compression only in GRPC

I did compression experiments only in gRPC servers. I would like to hear feedback. I will keep experimenting to find better way to use compression in etcd.

What algorithm to use (I have another branch with cgzip, cgzip-level2, gzip, snappy, snappy C++ -- https://github.com/gyuho/etcd/commit/65d9ed403c87fc67cea6a5eab1610416ed9a339e)

For our use case (100-conns, 8-byte key, 256-byte value, 2M keys):
# fastest to the right
gzip < cgzip < cgzip level 2 < snappy C++ < snappy (fastest) == no compression

# cgzip, snappy C++ need CGO, so we might skip them

Optimize how to use compression. Currently, it has one sync.Pool to share compress Writer between goroutines. This is good for decreasing gc overhead but seems like it doesn't use enough CPU (https://blog.klauspost.com/gzip-performance-for-go-webservers/).

snappy vs no compression. Snappy seems to have best performance. Slightly faster than no compression in this case.

Would lz4 be possible? I ran some tests last year that showed it to be comparable in performance to snappy but with a better compression ratio.

@heyitsanthony Sure, I didn't include lz4 because it has different interface than other compression packages. Which one did you try? There's one https://github.com/cloudflare/golz4 but it needs CGO.

@gyuho that one looks like it's using the same C implementation. I don't think a pure go compression library is going to have good performance...

Ok will try lz4 as well.

Closing. Will rework on this in a new branch.


Can you run commands when adding a new container without specifying a user?

In https://github.com/rancherio/rancher/issues/31, it implies that the user is required if you input a command in the option.
Is this correct? If so, do we need to update the UI so that it forces the validation before trying to launch the container?

You do not have to specify a user.  The problem is that if you focus the user field, the value stored internally switches from a null to an empty string.  The API accepts null, but not empty string.
#239 was the original issue in rancherio/ui to track this, can we consolidate it with #270 and #96?    There are probably other fields besides name and command where this can occur, but it's one underlying problem.

User is not required and the UI doesn't send empty strings anymore.

v0.17.0
Verified Fixed


New Website Logo: Heat Rivals - Android Game

Please fill the following out:

Name: Heat Rivals
Homepage url: https://play.google.com/store/apps/details?id=com.perfectedz.heatrivals
Brand Guidelines/Licensing: Nothing specific
Logo: http://heatrivals.com/images/about-logo.png

Heat Rivals is built using Typescript, Angular.js and the Ionic Framework. It's a typical card game and it's targeted in Android devices.

Added.


Issue with PageController

First of all, thank you for this wonderful add-in - it is exactly what I was looking for.
I am having a small issue with the gallery's PageController.  Besides allowing my users to swipe between photos in a gallery I am providing buttons for them to 'go to next photo' or 'go to previous photo'.  I created/instantiated/attached the pageController and 'jumpToPage' works perfectly.  However 'animateToPage' does not ever 'animate'.  It simply 'jumps'.  Regardless of how large the Duration is, it jumps immediately.  Is this expected behavior?

PageController used here is the same as used in PageView and PhotoView only passes it to PageView. If any behavior is different than a pageview would have in the same context, so there is a bug. Would you mind to see if a pageview in the same place of PhotoViewGallery hast this behavior? You can also create a gist for easy reproduction of your issue, so there we can figure if it is an issue with PhotoView or the framework.

As I was creating the gist, I noticed that the 'Duration' was 2000 MICROseconds... not MILLIseconds!  I must have typed "M I" and then 'intellisense' took over and suggested microseconds, which I accepted... and didn't give a second thought to!  Once I changed the units to milliseconds just now it all works perfectly.  Thank you again @renancaraujo !

Hahaha, I'm happy you figured it out, thanks.


Maintenance Page - Contacts

Probably should change it from contact Irek to contact QBI-Helpdesk

Done at commit 54d9153 repo ipp-homepage

still there

Maybe due to caching issues.


web reporter refactor and issueFormService

more refactoring and adding in web functionality.

Adding myself for reviewing overall structure and layering of the code, not so much deep detail of it.


Multiple attachments

Are you planning implementing feature to support multiple attachments with text in single message? Or is this already in library or/and I can implement this feature myself (if so, please point out how is this achievable)

@ftp27 In the future, please use the search feature to look at existing issues before opening new ones.  😜 This is discussed in issues #681 #809 #1487 #1536 and #1548. There is also PR #1520 for labeled messages, and #1537 for custom view messages.
To answer your questions: this is not already available, but you can definitely implement it using custom mediaView cells. Start by reviewing the various issues and if you have more questions, ask away.

Thanks for your quick reply,
I could use custom mediaView cells, but will they help me? I have a feeling these attachments must by placed as a preview above an input field. Am I right?

I can't tell if you are asking about the layout of the mediaView, or the input of attachments into the input text view. If you want to allow the user to paste multiple images, look at #1516 for the paste support.
Once you have the input, it's up to you to figure out how to serialize text+images into a combo message and render it into a mediaView.


Image builder cli presubmits

Adds presubmits for image builder cli
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Use FloatingActionButton instead of custom view

getting closer to the real material design

This should give more flexibility on making and modifying fabs


Docker Run has error

docker run
-d
--rm
--name adsbx
-e TZ="YOUR_TIMEZONE"
-e BEASTHOST=beasthost
-e TZ=Australia/Perth
-e LAT=-33.33333
-e LONG=111.11111
-e ALT=50m
-e SITENAME=My_Cool_ADSB_Receiver
-e UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
mikenye/adsbexchange
SITENAME and UUID should have backslash at end of lines.
This is my first time interacting on github.  I'm sorry if I am not doing it right.

Thanks for reporting this! I’ve fixed the typos. Congrats on your first github issue. :-)


Spellcheck and case sensitivity

When testing the demo environment, we need to check the basic hygiene of the dashboards. “Nishtha” should be used in all upper case.

Please point out any other spelling mistakes as well.


Provide an example of a customized process

Please consider to include an example of a customized workflow with restricted state transitions.
Example: show a user story where an "Active" can only move to "Resolved", and "Closed" can not move to any state.

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

ID: 715eca62-8a31-4163-c27b-f5e71d781982
Version Independent ID: 06dc711f-1946-29e9-aece-75af903da09b
Content: Customize the workflow of an inherited process - Azure DevOps Services
Content Source: docs/organizations/settings/work/customize-process-workflow.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

@mmisqe - Thank you for your request for an example. I've added this to my backlog of work and will address it within the coming weeks.


Support for Constructor property promotion

	public function __construct(
			protected \PDO $db,
	) { }

Released in v1.0.6


[NEW ICON] [COMPLETED] Forth

Skill Name
Forth
Why?
Very popular low level language implementing high level constructs. Also now officially supported by GitHub. https://forth-standard.org/
Completed icon

Added in f100fddcf1ce9893e3c38be204a0adcfccfd18aa


proxymise not working with Knex queries

proxymise is great, thank you!
Unfortunately I've just discovered that it's not working with Knex.js queries.  Here's an example which demonstrates the problem.
// $ npm install knex sqlite3 proxymise
import Knex from 'knex'
import proxymise from 'proxymise';

async function main() {
  // create Knex connection
  const knex = Knex({
    client: 'sqlite3',
    useNullAsDefault: true,
    connection: {
      filename: ':memory:',
    },
  });

  // create a users table
  await knex.raw(
    'CREATE TABLE users ( ' +
    '  id INTEGER PRIMARY KEY ASC, ' +
    '  name TEXT ' +
    ')'
  );

  // insert a row
  await knex('users').insert({
    name: 'kozhevnikov'
  });

  // knex example without proxymise()
  const row = await knex('users').select('id', 'name').where({ name: 'kozhevnikov' }).first();
  const name = row.name;
  console.log('EXPECT name: ', name);

  // works if knex method are inside proxymise()
  try {
    const prxm1 = proxymise(
      knex('users')
        .select('id', 'name')
        .where({ name: 'kozhevnikov' })
        .first()
    );
    const name1 = await prxm1.name;
    console.log('PASSED name1:', name1);
  }
  catch(error) {
    console.log('FAILED name1:', error);
  }

  // doesn't work when knex methods are outside proxymise()
  try {
    const prxm2 = proxymise(
      knex('users')
    );
    const name2 = await prxm2
      .select('id', 'name')
      .where({ name: 'kozhevnikov' })
      .first()
      .name;
    console.log('PASSED name2:', name2);
  }
  catch(error) {
    console.log('FAILED name2:', error);
  }

  knex.destroy();
}

main();

Output:
EXPECT name:  kozhevnikov
PASSED name1: kozhevnikov
FAILED name2: TypeError: Function.prototype.apply was called on undefined, which is a undefined and not a function
    at .../proxymise@1.0.2/node_modules/proxymise/index.js:27:53
    at async main (file:///.../proxymise-knex-bug.js:53:19)

I'm closing this issue as further investigation has revealed that the problem appears to be in Knex, not proxymise.  It seems that Knex doesn't return "real" promises but a query object that implements a .then() method according to the Promise/A+ specification.  The .then() method executes the query, which works for Knex, but it doesn't play nicely with proxymise (or other similar implementations)


New Flow Control Valve Hardware

New hydraulic valve installed on equipment. Valve Model: pefc12-30-12
This may offer variable control options and will need implemented in the control code.

This issue is being created to discuss and track development progress.
Info: @hansen95

Closed by #11


Simple Volume Model support for non-English Locale

The Simple Volumetric Model (SVM) application formats its output using whatever default Locale is in place.  However, some of its formatting is incompatible with non English/US locals.  For example, it creates a comma-separated-value file (CSV) which conflicts with the commas used as a decimal point in many European languages.
Make SVM properly support non English locales.

Code updated. This issue is resolved.


Crash issue in 0.73.0 when Keyboard has InputAccessoryView enabled.

Description
In version 0.73.0 the Keyboard component goes frozen and causes an app crash when InputAccessoryView is added and enabled.
Steps to reproduce
Add an InputAccessoryView to a TextInput. When the Touch Keyboard is shown, the app freezes and crashes.
React Native Version
0.73.0
Affected Platforms
Runtime - iOS
Output of npx react-native info
-

Stacktrace or Logs
-

Reproducer

Screenshots and Videos
No response

Closing as invalid: missing reproducer, stacktrace, logs, etc.

I can confirm this bug, upgrading the app to React Native 0.73 and using a InputAccessoryView, causes the app to freeze and manually closing it.
Strangely, it only happens to us on release mode for iOS, Android is working fine.

I've found the same happens here, any remediation possible?


Sync Issue

Please review previous closed issues before filling out a new one! Duplicate issues will be closed without comment.
Describe the bug
Whenever I submit a code on LeetCode after successful submission LeetHub v2 not working properly not make commit to the GitHub repo and does no sync it happens a lot of time pls view this problem and make correct
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

I have been getting sync issues since last 2 days, please help!!!


[BUG] 1.2.0 Upgrade Check Fails with non-ready Helm bundles: fleet-local/mcc-rancher-monitoring

Describe the bug
I logged into my first node and ran the upgrade check script found here. I get 1 error.
>>> Check all bundles ready...
There are non-ready Helm bundles:
fleet-local/mcc-rancher-monitoring

Expected behavior
I expect to receive no errors, or perhaps given a direction for how to troubleshoot it.
Support bundle
supportbundle_4a3c7f30-937b-4c83-bdae-ef6526a6a90e_2023-09-11T13-58-20Z.zip
Environment

Harvester ISO version: 1.1.2
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal

Additional context
Not sure if this is related, but I also don't have an "Upgrade" button on the Harvester Dashboard.

With help from Slack, the solution was to apply these two patches.
kubectl patch prometheus rancher-monitoring-prometheus -n cattle-monitoring-system -p='{"spec":{"enableAdminAPI":false,"listenLocal":false,"paused":false,"resources":{"limits":{"cpu":"1000m"}}}}' --type=merge

kubectl patch alertmanager rancher-monitoring-alertmanager -n cattle-monitoring-system -p='{"spec":{"listenLocal":false,"paused":false,"resources":{"limits":{"cpu":"1000m"}}}}' --type=merge

The problem was revealed by checking the Status of the mcc-rancher-monitoring bundle.
kubectl describe bundle mcc-rancher-monitoring -n fleet-local


board: cavs15: Add a option to control signing ways

Fixed #31819
Zephyr testcases(not SOF case) not use kernel DSP driver to load image
on ADSP board, thus do not need signing with xman. So add a option -X
to specify signing without xman in image. If use DSP driver load image,
we should not specify -X.
And fixed a syntax error in script when download firmware. When copy the data to buffer, the old script can not assign sequence of same size, so specify size.
Signed-off-by: Jian Kang<EMAIL_ADDRESS>

@mbolivar-nordic

--no-xman should not be added to the common arguments, because it doesn't apply to imgtool. Please use tool_args.

source code:
 sign_base = ([tool_path] + args.tool_args +
                     ['-o', out_bin] +  conf_path_cmd + ['-i', '3', '-e'] +
                     [bootloader, kernel])

From source code, the args.tool_args are used by imgtool already, but --no-xman should not be applied in imgtool, so I added a option that can be use if needed.

@mbolivar-nordic address your comment, could you help to approve or add any comments?

I would like to see it fxied in 2.5 release. @mbolivar-nordic , please take look at the code change again.

@mbolivar-nordic Hi, could you help to review again?


facebook new color

First thank you so much for publishing these package :)
How e can make the icon and button with the new facebook design guideline on color?
https://developers.facebook.com/docs/facebook-login/userexperience/

@sowsan Thank you man,
For the icons I'll update those quickly, but for the button color you don't need to await me just use style staff specifically buttonColor and you'll done.

This is related to: #24


error for using dist_train.sh

Excuse me
I'm Trainning with multiple GPUs,for example:./tools/dist_train.sh ${CONFIG_FILE} ${GPU_NUM} [optional arguments] and I have 2 GPUs try to use
Traceback (most recent call last):
File "/home/anaconda3/envs/py37_torch1.6/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/anaconda3/envs/py37_torch1.6/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/anaconda3/envs/py37_torch1.6/lib/python3.7/site-packages/torch/distributed/launch.py", line 261, in
main()
File "/home/anaconda3/envs/py37_torch1.6/lib/python3.7/site-packages/torch/distributed/launch.py", line 257, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['/home/anaconda3/envs/py37_torch1.6/bin/python', '-u', './tools/train.py', '--local_rank=1', 'configs/SETR/SETR_Naive_768x768_40k_cityscapes_bs_8.py', '--launcher', 'pytorch', '--load-from=./pth/jx_vit_large_p16_384-b3be5167.pth']' returned non-zero exit status 1.
Thanks for your answer！

Maybe your environment is installed incorrectly, please refer to the A from-scratch setup script in the README.md to reinstall the environment. And run the command ./tools/dist_train.sh ${CONFIG_FILE} ${GPU_NUM}.

Maybe your environment is installed incorrectly, please refer to the A from-scratch setup script in the README.md to reinstall the environment. And run the command ./tools/dist_train.sh ${CONFIG_FILE} ${GPU_NUM}.

Thanks for your reply.I'll try again


Wip current user

reference from https://github.com/simplabs/ember-simple-auth/blob/master/examples/4-authenticated-account.html

Tks. Can you compare it against my own current user branch?


Feature: aider coding assistant agent

It would be great to see a coding agent that could leverage the aider coding assistant tool to implement changes. The aider tool's features such as git integration could be an interesting and powerful addition to this framework.

For what it's worth, I've been using Aider to prompt code my autogen agents. It works fantastically and will often generate proper code the first shot.
I created my Typescript coder with 5 agents in different folder structures and the example pipeline in a single prompt.
10000% worth adding Aider here. The way they've solved for the full repository context has been working really great.

AutoGen requires "openai~=1.2" which conflicts with Aider until this aider issue is resolved. https://github.com/paul-gauthier/aider/issues/351

I love aider and have been looking for an excuse to work with autogen. I'm assuming that a new custom agent would live in https://github.com/microsoft/autogen/tree/main/autogen/agentchat/contrib ? Or is there a different protocol for managing extensions and customised agents?
Would the main use case look like having something like https://github.com/microsoft/autogen/blob/main/test/agentchat/contrib/chat_with_teachable_agent.py in the root dir of a code base which loads in the aider agent and and any other agents you want to interact with?

I love aider and have been looking for an excuse to work with autogen. I'm assuming that a new custom agent would live in https://github.com/microsoft/autogen/tree/main/autogen/agentchat/contrib ? Or is there a different protocol for managing extensions and customised agents?
Would the main use case look like having something like https://github.com/microsoft/autogen/blob/main/test/agentchat/contrib/chat_with_teachable_agent.py in the root dir of a code base which loads in the aider agent and and any other agents you want to interact with?

It would be awesome if one agent could be responsible for one repo each; I'd imagine that the integration opportunities are huge. :)

That is an implementation detail best left to the developer. The secret
sauce of aider is its full repository context via its source map and its
ability to add, track, and intelligently pull in context from working files.
I find the write logic problematic at times. It often gets the diff wrong,
and is usually just whitespace when that happens.
It's also missing a critic agent and would benefit from the ability to
customize the instructions.
We already have agents who can logic, learn, critique, and eval code. What
autogen would benefit from most is full repository context, reliable file
editing, and working memory context.
On Mon, Nov 27, 2023, 7:23 PM Joshua Kim @.***> wrote:

I love aider and have been looking for an excuse to work with autogen. I'm
assuming that a new custom agent would live in
https://github.com/microsoft/autogen/tree/main/autogen/agentchat/contrib
? Or is there a different protocol for managing extensions and customised
agents?
Would the main use case look like having something like
https://github.com/microsoft/autogen/blob/main/test/agentchat/contrib/chat_with_teachable_agent.py
in the root dir of a code base which loads in the aider agent and and any
other agents you want to interact with?
It would be awesome if one agent could be responsible for one repo each;
I'd imagine that the integration opportunities are huge. :)
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/autogen/issues/528#issuecomment-1828912117,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADUQXK2YB4W4SYFEIOGDTYGU4JBAVCNFSM6AAAAAA63YPDCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYHEYTEMJRG4
.
You are receiving this because you commented.Message ID:
@.***>

I agree with @codeninja it would be best to leave the implementation flexible. My original idea was an easy way to drop aider into a group chat. Then have an Assitant Agent check the aider commit and issue a rollback or update if necessary as a simple example.
Overall, as @codeninja said, the primary benefit is the repo context and existing git integration out of the box. This prevents the need to reimplement this in autogen or each app.

I believe you can do that through function calls... you would want to give
the agent info on the aider commands, and then give the user access to run
those commands through aider passing the agent output as the command.
returning aider response as the user's message to the agent completes the
cycle.
You would also want some file LS methods to give the agent info about the
repo, or implement, tap into, the repomap from aider.
I'm following this pattern for other implementations and it's working well.
On Mon, Nov 27, 2023, 8:29 PM IT Lackey @.***> wrote:

I agree with @codeninja https://github.com/codeninja it would be best
to leave the implementation flexible. My original idea was an easy way to
drop aider into a group chat. Then have an Assitant Agent check the aider
commit and issue a rollback or update if necessary as a simple example.
Overall, as @codeninja https://github.com/codeninja said, the primary
benefit is the repo context and existing git integration out of the box.
This prevents the need to reimplement this in autogen or each app.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/autogen/issues/528#issuecomment-1828961548,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADUQRNRWTNVLPPUFF5AYDYGVD7NAVCNFSM6AAAAAA63YPDCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYHE3DCNJUHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

That makes sense. I may give it a try in apersonal project.
However, I'm still somewhat of a python novice. So I may not be the best option for a PR to this repo. I'm happy to collaborate on a fork or at least help test if anyone wants to lead the charge.

Be warned, I don't think Aider is compatible with the latest openai
library.
On Mon, Nov 27, 2023, 9:03 PM IT Lackey @.***> wrote:

That makes sense. I may give it a try in apersonal project.
However, I'm still somewhat of a python novice. So I may not be the best
option for a PR to this repo. I'm happy to collaborate on a fork or at
least help test if anyone wants to lead the charge.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/autogen/issues/528#issuecomment-1828992802,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAADUQUPXI3KGNE6AQNNTIDYGVH73AVCNFSM6AAAAAA63YPDCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYHE4TEOBQGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yeah it's a bit of a showstopper at the moment, but openai has gone 5 days without a release so hopefully aider updates to 1.3.5 before open ai drops another release. 😉

A PR has been submitted to update aider to openai 1.3+
https://github.com/paul-gauthier/aider/pull/391
I am testing the changes this morning and it's going pretty well so far. Hopefully this will be merged soon. If anyone can help test please feel free to jump in and help get it pushed forward.

The PR has been merged to main. This should unblock this feature. 🥳

I believe you can do that through function calls... you would want to give the agent info on the aider commands, and then give the user access to run those commands through aider passing the agent output as the command. returning aider response as the user's message to the agent completes the cycle. You would also want some file LS methods to give the agent info about the repo, or implement, tap into, the repomap from aider. I'm following this pattern for other implementations and it's working well.
…
On Mon, Nov 27, 2023, 8:29 PM IT Lackey @.> wrote: I agree with @codeninja https://github.com/codeninja it would be best to leave the implementation flexible. My original idea was an easy way to drop aider into a group chat. Then have an Assitant Agent check the aider commit and issue a rollback or update if necessary as a simple example. Overall, as @codeninja https://github.com/codeninja said, the primary benefit is the repo context and existing git integration out of the box. This prevents the need to reimplement this in autogen or each app. — Reply to this email directly, view it on GitHub <#528 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADUQRNRWTNVLPPUFF5AYDYGVD7NAVCNFSM6AAAAAA63YPDCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRYHE3DCNJUHA . You are receiving this because you were mentioned.Message ID: @.>

@codeninja would you be willing to share an example of what you have been doing?

I'm almost done mine as well it uses functions and the Coder object directly.. will share my code soon as I test that it works

Awesome, thank you @sidhujag!
I've started hacking at it but still learning autogen. So I'm excited to see how you approach it.

Awesome, thank you @sidhujag! I've started hacking at it but still learning autogen. So I'm excited to see how you approach it.

This is the front-end change I did: https://github.com/sidhujag/autogen/commit/6e3fce27238dcd9ac020a14f1ab068bdefbbb072
and backend:
https://github.com/sidhujag/autogen-backend/commit/de0e6f411e2456454a24e95d32702c7dffc1b980
Should give you some idea!

Is there any working prototype available yet?

it is working in my fork against remote github repos as well! But it should be easy now that aider upgraded OAI to hook into base autogen.. in my repo I added agents in groups to manage repository and assistant objects themselves along with discovery and persistent of those objects when using coding assistance.

@sidhujag but there is no pr for commits yet?

It would be great to see a coding agent that could leverage the aider coding assistant tool to implement changes. The aider tool's features such as git integration could be an interesting and powerful addition to this framework.

Awesome, thank you @sidhujag! I've started hacking at it but still learning autogen. So I'm excited to see how you approach it.

This is the front-end change I did: sidhujag@6e3fce2
and backend: sidhujag/autogen-backend@de0e6f4
Should give you some idea!

I'm currently working on something similar. Would love to colaborate

It would be great to see a coding agent that could leverage the aider coding assistant tool to implement changes. The aider tool's features such as git integration could be an interesting and powerful addition to this framework.

Awesome, thank you @sidhujag! I've started hacking at it but still learning autogen. So I'm excited to see how you approach it.

This is the front-end change I did: sidhujag@6e3fce2
and backend: sidhujag/autogen-backend@de0e6f4
Should give you some idea!

I'm currently working on something similar. Would love to colaborate

Sure yes I took some vacation but back now. I am basically in testing mode against aider and remote github repo. It seems to be working, I would like to add a few more groups and then I think its ready to either be a stand alone fork of Autogen but with automated agent framework on top or try to merge into autogen as contrib.

It would be great to see a coding agent that could leverage the aider coding assistant tool to implement changes. The aider tool's features such as git integration could be an interesting and powerful addition to this framework.

Awesome, thank you @sidhujag! I've started hacking at it but still learning autogen. So I'm excited to see how you approach it.

This is the front-end change I did: sidhujag@6e3fce2

and backend: sidhujag/autogen-backend@de0e6f4

Should give you some idea!

I'm currently working on something similar. Would love to colaborate

Sure yes I took some vacation but back now. I am basically in testing mode against aider and remote github repo. It seems to be working, I would like to add a few more groups and then I think its ready to either be a stand alone fork of Autogen but with automated agent framework on top or try to merge into autogen as contrib.
Let me know your intuitions on design to know if we can benefit from each others design choices.

Curious if you've continued this work. Would love to play with it and help if I can.

It would be great to see a coding agent that could leverage the aider coding assistant tool to implement changes. The aider tool's features such as git integration could be an interesting and powerful addition to this framework.

Awesome, thank you @sidhujag! I've started hacking at it but still learning autogen. So I'm excited to see how you approach it.

This is the front-end change I did: sidhujag@6e3fce2

and backend: sidhujag/autogen-backend@de0e6f4

Should give you some idea!

I'm currently working on something similar. Would love to colaborate

Sure yes I took some vacation but back now. I am basically in testing mode against aider and remote github repo. It seems to be working, I would like to add a few more groups and then I think its ready to either be a stand alone fork of Autogen but with automated agent framework on top or try to merge into autogen as contrib.
Let me know your intuitions on design to know if we can benefit from each others design choices.

Curious if you've continued this work. Would love to play with it and help if I can.

Yes it is functional, you should run my autogenstudio here to try it out: I made a skill for it and will make a workflow for it: https://github.com/sidhujag/autogen/tree/main/samples/apps/autogen-studio

We are closing this issue due to inactivity; please reopen if the problem persists.

@sidhujag Hi there. I'm looking at the link you've provided, but I can't find any references to using aider within autogen-studio. Can you elaborate? Thanks!

Is there any update, please? Since this idea is really groundbreaking
@sidhujag btw, it would be helpful if you can answer the question from @heijligers


Added more gems

Added more Gem Icons/Token Gems with the following amounts :

1K
2K
3K
4K
5K
6K
7K
8K
9K
10K
15K
20K
Also new gems were added to PrimalGameData

Hi, thanks for your PR and sorry for the delay. We are still figuring out how to best approach this open sourced mod.
I talked to @ropiemasta and he mentioned that the gems should be registered elsewhere. I'm not sure about the details, so I'm waiting for @ropiemasta to fill those in

Sorry for the late reply, I'm not used to answer here, regarding what you say, I have the same amount of gems running in a private mod (even some more for special occasions) and to add all use the same process (duplicate, modify and add to PGD) with that should be enough to make them work, I have nothing else done to make them work except what I said.

Should be good to add them to the PGD.  With ASA, the Mod Data Asset is the prefered method since it's faster to open/save vs the PGD.


Unable to specify a variable in files: specification

My release files are set by environment variables specified in earlier steps.  When I use these variables in the action-gh-release files: section the variables are taken as string literals rather than the values they represent.
Expected behavior:
MY_FILE=foo.txt
files: $MY_FILE evaluates to files: foo.txt
Actual behavior:
MY_FILE=foo.txt
files: $MY_FILE evaluates to files: $MY_FILE

You should using ${MY_FILE} instead of $MY_FILE.

my-file-${MY_FILE} evaluates to my-file-${MY_FILE} instead of my-file-foo.txt


Remove python 3.6 reference

Describe your changes
Issue ticket number and link
Closes #x
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I have added thorough tests (when necessary).
[x] I have added the right documentation (when needed). Product update? If yes, write one line about this update.

awesome, great catch!


Question about the SUN RGB-D metric of VA-DepthNet

I am writing to you today with a question regarding your impressive paper, "VA-DepthNet: A Variational Approach to Single Image Depth Prediction." I am particularly interested in Table 4, which presents the results on the SUN-RGB-D test set when the model is trained only on the NYU V2 training dataset.
While reading your paper, I noticed that the reported metrics for the SUN-RGB-D test set in Table 4 differ from those presented in other related works, such as the AdaBins paper by Bhat et al. (2021) and the DDP paper by Yuanfeng Ji et al. (2023). I am wondering if there might be an explanation for these discrepancies or if I have perhaps missed some important detail in my understanding.
Metrics written on VA-depthnet:

Metrics written on Adabins:

Metrics written on DDP:

I would be very grateful if you could clarify this point for me. I am eager to learn more about your work and its impressive methodology.
Thank you for your time and consideration.

Sorry for the late reply!
Yes, the evaluation metrics on SUN-RBGD are different.
Please note we have mentioned in the paper, "In addition, we align the predictions from all the models with the ground truth by a scale and shift following Ranftl et al. (2020)."


raftstore: Revert remove peer check

What is changed and how it works?

Issue Number: Close #16465

What's Changed:
revert the remove peer check. Without this revert, the scale-in will be blocked when there're one slow or down peer in a region of the scale-in node.

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

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

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

/merge

/test


[BUG] When I send<PHONE_NUMBER>0000000 Wei tokens, the actual transferred amount is only<PHONE_NUMBER>25 Wei.

When I send<PHONE_NUMBER>0000000 Wei tokens, the actual transferred amount is only<PHONE_NUMBER>25 Wei.

There's was a bug when converting from little endian to big endian. Should be fixed now. Can you verify or provide a code snipped to test? Thanks

I tried and succeeded. Thanks.


Multiple profiles

I am trying to use idios with multiple profiles but I don't see how I can create different profiles when creating a new user.
idios/model.py:60 registers the function create_profile with the post_save signal but create_profile creates a profile without any profile_slug passed in.
Does it mean that I can't create a user and a non-default profile at the same time?

I too am interested in this.


Release version 2.0

Version 2.0-SNAPSHOT has been used quite a bit at MITRE and has had some enhanced tests -- it's solid.  The memory usage is better and it's more flexible to build/maintain indices since it's based directly off of Lucene instead of building a custom persisted memory structure, and it's simpler code too.  The tagging performance wasn't specifically measured, but it was in aggregate with the rest of OpenSextant and there was no marked difference -- that's success as far as I'm concerned.
What 2.0 lacks as of this writing is v1.2's ability to use more rich text analysis, thanks to @westei.  See #20. I'm a little conflicted on wether to just release it.  I was about to announce that it'll happen anyway next week but I think this big feature mis-match and no truly pressing reason to release 2.0 quite yet so I should hold up, and document some remaining issues.
When 2.0 does get released, the master branch will be renamed to 1_x, and MemPF will become master.

I'm going to release 2.0 next week, moving into master branch position, and put the current master as a 1.x branch.  1.1 will remain a viable choice as it supports more flexible text analysis choices. I'll push 2.0 to Maven as well.

thanks, Dave.  I published a 2.0-beta snapshot internally and have been using that copy to simplify things. java/SSL woes abound back here at the ranch.  Regards, marc

I created a "v1x" branch off master, then deleted master.  Then I renamed MemPF to master.  You may have issues with your existing checkout, and this will explain it but it should be fixable.  I'll push 2.0 in the morning.

I released 2.0.  It should sync to Maven Central within 2 hours, if I recall.


Rename section to avoid confusion with the chart format

This being potentially confusing never came to my mind lol, thanks for catching that!


ERROR panicked at 'BufferedUarte overrun' on NRF52840

I have a task that sits in a loop and tries to consume the UART RX buffer, but I seem to be running into the buffer overrun panic. It feels like a "slow leak" as depending on the RX buffer, it might take a few seconds to panic (128 byte buffer, up to 10-15 minutes with the 1024 byte buffer.
The UART is receiving 60 bytes every second during this test, no writes.
Four questions:

At 60 bytes per second, how could I possibly get a buffer overrun when the task only fills and then consumes (with a log in the middle)?
Is there a less aggressive option other than panic on an overrun? Is there no safe way to recover from that? Crashing the application feels aggressive.
Does the choice of Timer or PPI impact this? Should I be configuring my UART differently? I can't use Timer0 as then my SoftDevice will assert out.
Does the BufferedUart adhere to the CTS/RTS lines and apply back pressure to it?

let mut stm32_uart_config = uarte::Config::default();
    stm32_uart_config.baudrate = uarte::Baudrate::BAUD921600;
    stm32_uart_config.parity = uarte::Parity::EXCLUDED;

    let stm32_ring_buffer_rx = STM32_RING_BUFFER_RX.init_with(|| [0u8; 1024]);
    let stm32_ring_buffer_tx = STM32_RING_BUFFER_TX.init_with(|| [0u8; 1024]);

    let stm32_uart = STM32_BUFFERED_UARTE.init(BufferedUarte::new_with_rtscts(
        p.UARTE0,
        p.TIMER1,
        p.PPI_CH0,
        p.PPI_CH1,
        p.PPI_GROUP0,
        Irqs,
        p.P0_29,
        p.P1_13,
        p.P0_31,
        p.P1_12,
        stm32_uart_config,
        stm32_ring_buffer_rx,
        stm32_ring_buffer_tx,
    ));

#[embassy_executor::task]
pub async fn stm32_uart_reader(
    mut uart: BufferedUarteRx<'static, 'static, peripherals::UARTE0, peripherals::TIMER1>,
    mut receiver: drivers::stm32::UartReceiver,
) -> ! {
    info!("stm32_uart_rx: Starting...");
    loop {
        let buf_len = {
            let Ok(buf) = uart.fill_buf().await else {
                info!("stm32_uart_rx: Error filling buffer!");
                continue;
            };
            buf.len()
        };
        info!("Consuming {} bytes from buffer", buf_len);
        uart.consume(buf_len);
    }
}

This is a Rust re-write of an existing C++ application which has been working fine in the field for many years with a way higher data rate, so I'm confident in the hardware and code on the other side.

can you try uncommenting all trace! in here  and post trace-level logs of the issue? (DEFMT_LOG=trace)

At 60 bytes per second, how could I possibly get a buffer overrun when the task only fills and then consumes (with a log in the middle)?

Agreed this shouldn't happen, yep.

Is there a less aggressive option other than panic on an overrun? Is there no safe way to recover from that? Crashing the application feels aggressive.

Yes, it's possible in theory, I just didn't implement it because it's a bit tricky. It'd have to stop UART RX, reinit the "timer as counter", flush everything, then restart. All with no race conditions... PRs welcome :smiling_face_with_tear:

Does the choice of Timer or PPI impact this? Should I be configuring my UART differently? I can't use Timer0 as then my SoftDevice will assert out.

shouldn't matter, no...

Does the BufferedUart adhere to the CTS/RTS lines and apply back pressure to it?

Yes. You have to enable RTS/CTS on the other side of course.

can you try uncommenting all trace! in here and post trace-level logs of the issue?

Yep, I was just doing that when I saw they were all commented out at the moment. Will be posting shortly.

Yes, it's possible in theory, I just didn't implement it because it's a bit tricky. It'd have to stop UART RX, reinit the "timer as counter", flush everything, then restart. All with no race conditions... PRs welcome

Oof... Maybe after I can unblock myself on this ticket. I have a few private branches that I'm working on with PRs loaded up (only private because of all the proprietary ANT+ code, that I need to hide away first).

Yes. You have to enable RTS/CTS on the other side of course.

 Every 10 messages transmitted on my system, the connected device sees a parsing error, and the following message size is incorrect. I believe this happens on wraparound of the ring buffer:
#[embassy_executor::task]
pub async fn stm32_uart_writer(
    mut uart: BufferedUarteTx<'static, 'static, peripherals::UARTE0, peripherals::TIMER1>,
    mut transmitter: drivers::stm32::UartTransmitter,
) -> ! {
    info!("stm32_uart_writer: Starting...");
    loop {
        let Some(bytes) = transmitter.next_message().await else {
            info!("stm32_uart_writer: Error receiving next message!");
            continue;
        };

        info!(
            "stm32_uart_writer: Sending bytes: {}, {:?}",
            bytes.len(),
            bytes.as_slice()
        );
        // let _ = uart.write(&bytes).await;
        let result = uart.write(&bytes).await;
        match result {
            Ok(len) => {
                info!("stm32_uart_writer: Successfully wrote {} bytes", len);
            }
            Err(e) => {
                info!("stm32_uart_writer: Error writing: {:?}", e);
            }
        }
    }
    // info!("stm32_uart_writer: Done!");


analog sensor read crashes spark core

I discovered a bug that is related to voodoospark when using cylonjs.  I believe this is a problem with voodoospark and not cylonjs.
if you build this circuit http://docs.spark.io/assets/images/breadboard-temp-sensor.jpg and run this code http://pastebin.com/9acm0AjY.
The default tinker firmware will run the application fine.
if you update to voodoospark firmware the sparkcore will not return proper values for the temperature reading, and shortly red light the core and it will crash the hardware and restart ending the application.

This has been fixed for some time


Simplify third-party integration

inspired by the changes in #785 and some thoughts on packaging and dependency management:
Right now, we are building our third-party dependencies during configure time, manually pass all CMake parameters and construct targets out of the generated libraries manually.
Since all dependencies except for hwloc are only used inside Ginkgo, I think it might make more sense to build them as subdirectories, since then all CMake-specific flags are forwarded directly and consistently.
Another thing that we might want to address here is that currently, compiling Ginkgo (even without tests, benchmarks) on CUDA systems without internet connectivity fails, since we try to pull in CAS. Since we only ever need a single file from that repository, why don't we include it directly in our source instead, and set up a sync action that either syncs CAS from our repo or creates a PR if CAS was changed?
Finally, Ginkgo 1.4.0 is the first release with an actual library dependency exceeding vendor libraries (hwloc), so we should check whether the current design is future proof (also thinking of library separation and #715), since we don't seem to be using any hwloc functionality yet, right now. It looks to me like the functionality is most useful for GenericExecutor #704 and MPI support #760 ?

[x] Add a CI job checking compatibility with pre-installed dependencies
[x] Consider vendoring CAS
[x] Consider improving separation of hwloc component I think I misunderstood some details there, the separation looks fine

When looking into ExternalProject, I think we do not use ExternalProject fully in ginkgo.
Can FetchContent set the config type of MSVC?
MSVC in linking will require they use same crt in debug mode (with d) or others (without d). or can it mix them together?

Since everything is built as part of the same CMake workflow, everything uses the same config. The only issue is GTest, which overwrites the existing CRT flags. Just in general, their CMake setup is a bit of a mess.

the google test does not use the value from ginkgo due to CMP0077?
From this https://cmake.org/pipermail/cmake/2019-March/069206.html and also CMP0077 is shown in the log.
make the variable be in the CACHE or to set CMP0077 outside to affect googletest CMakeList?

I added CAS directly to the repository and a sync step with the CAS repository. You can see it working in my forks https://github.com/upsj/ginkgo-bot-playground and https://github.com/upsj/CudaArchitectureSelector

Could it be also done by github submodule?

git submodules have the same issue as FetchContent: You need an internet connection, plus any change in the submodule requires a change in the main repo as well. This way, we make it easier to change CAS and have a self-contained library for builds that don't enable tests and benchmarks.

the update from CAS to ginkgo may be true.
but I think the internet somehow depends the download ginkgo in the beginning.
you can use git clone --recurse-submodules to download them together.

That doesn't work if you download Ginkgo as a tarball (as many package managers do). I have gotten the impression that git submodules are frowned upon for dependency management (and found them overly complicated myself), and since we control this dependency completely, I think it might be easier to vendor it directly.

I see. one nit for the update, could you also add the commit sha of CAS into playground? like you have the commit sha of playground inside CAS

After some discussion with @yhmtsai I decided to keep the CAS sync out of the library for now.

So I think my changes here are now complete, I simplified the HWLOC integration by

Removing all MSVC-specific code, since we disable it for Windows/Mac anyways.
Merging the GINKGO_USE_EXTERNAL_HWLOC variable with HWLOC_FOUND, because they will both always have the same value
Removing GINKGO_USE_EXTERNAL_* and TPL_* variables from the installed Ginkgo config, since the test and benchmark environment is not installed, and users should now care whether the hwloc we are linking to internally was existing or built by Ginkgo.
Removing unused CMake code
Checking for packages with find_package only if they are needed
@tcojean or @yhmtsai could you give the latest version another read?