test if it won't go stale

Description of the issue
Here describe the issue as extensively as possible
Ideas of solution
If you already have ideas for the solution describe them here
Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[ ] I already read the latest version of the workflow for this repository
[ ] The goal of this ontology is clear to me

I am aware that

[ ] every entry in the ontology should have a definition
[ ] classes should arise from concepts rather than from words

test

test

test

test

test


events returning hex string as arguments

Using 0.15.6. Seems to be related to previous problem with functions returning hex values.
With events the arguments are still returning hex in 0.15.6
{"event":"Pay","address":"000000000000000000000000CF5DD3EF066054721FE42561B11C52180168FE09","args":{"originator":"0x88977A37D05A4FE86D09E88C88A49C2FCF7D6D8F","beneficiary":"0x721584FA4F1B9F51950018073A8E5ECF47F2D3B8","amount":"0","servicename":"0x456E657267790000000000000000000000000000000000000000000000000000","alias":"0x43656E7472616C65207665727761726D696E6700000000000000000000000000","providername":"0x456E65636F000000000000000000000000000000000000000000000000000000"}}
The address returned is OK, the values in the arguments are mostly addresses, now with 0x prefix. Would expect them to have no prefix

This will be fixed in 0.16.


Logical axioms of genotype information

Two genotype information were defined logically using SO:genotype and NCBITaxon terms.
human genotype information
'genotype information' and ('is about' some
(genotype and ('is concretized as' some ('inheres in' some
('nucleic acid' and ('part of' some 'Homo sapiens'))))))
parasite organism genotype information
'genotype information' and ('is about' some
(genotype and ('is concretized as' some ('inheres in' some
('nucleic acid' and ('part of' some 'parasite organism'))))))
May consider to move relation between 'genotype information' and 'genotype' to OBI:'genotype information' and SO:'genotype'. The design pattern is worth to discuss in OBI developer group.

Bring the pattern to OBI for discussion. Look at genetic characteristics again. Make our use case clear and how we would use to OBI. Otherwise remove axioms.

Note that we also have 'fungal organism genotype information' http://purl.obolibrary.org/obo/EUPATH_0000758 with a different axiom pattern of just: genotype information and (is about only Fungi)

Related: https://github.com/VEuPathDB-ontology/VEuPathDB-ontology/issues/174


result_type() for mixed arrays/Python scalars

The array API's type promotion rules support mixed scalar/array operations, e.g., 1 + xp.arange(3).
For Xarray, we would like to be able to figure out the resulting dtype from this sort of operation before actually doing it (https://github.com/pydata/xarray/pull/8946).
Ideally, we could use xp.result_type() for this purpose, but as documented result_type only supports arrays and dtype objects. Could we potentially extend result_type to also handle Python scalars? It is worth noting that this already works today in NumPy, e.g.,
>>> np.result_type(1, np.arange(3))
dtype('int64')

This makes sense to me. torch seems to support this as well. What should the result be if there are multiple Python scalars? Undefined?

What should the result be if there are multiple Python scalars? Undefined?

This should indeed probably be undefined by the spec.
In most cases I imagine array libraries will have a default dtype, but different libraries will make different choices (e.g., int32 in JAX vs int64 in NumPy):
>> np.result_type(1, 2)
dtype('int64')
>> jnp.result_type(1, 2)
dtype('int32')

One concern I see with this is that libraries need not support Python scalars in functions, only for operators. So result_type(a, b) working does not imply that func(a, b) will work.

One concern I see with this is that libraries need not support Python scalars in functions, only for operators. So result_type(a, b) working does not imply that func(a, b) will work.

In Xarrray, we are thinking of defining something like:
def as_shared_dtype(scalars_or_arrays):
    xp = get_array_namespace(scalars_or_arrays)
    dtype = xp.result_type(*scalars_or_arrays)
    return tuple(xp.asarray(x, dtype) for x in scalars_or_arrays)

Does xarray automatically call asarray on scalar function arguments like NumPy does? Certainly the recommendation of the standard is to not do that, because it's cleaner from a typing perspective. Implicitly calling asarray at the top of every function is considered a NumPy antipattern. It's not disallowed, but we also should probably avoid standardizing things that encourage it.

the only time we call that function is when preparing arguments for where (and for concat / stack, but there we don't expect to encounter python scalars), which as far as I can tell doesn't support python scalars.

Xarray objects always contain array objects, but indeed there are functions like where() for which it's convenient to be able to use scalars.
I opened a separate issue to discuss: https://github.com/data-apis/array-api/issues/807

This sounds like a useful change to me.

What should the result be if there are multiple Python scalars? Undefined?

This should indeed probably be undefined by the spec.

What is the problem? It seems well-defined to allow multiple. If multiple arrays and dtype objects are allowed, why not multiple Python scalars?

I'm not sure, but I think that was referring to a situation where you have no explicit dtypes, only python scalars. In that case, we'd have to make an arbitrary choice (or raise an error).

Ah of course. Agreed, there must be at least one array or dtype object.

Making this change to result_type seemed fair to everyone in the discussion we just had. Given that our type promotion rules include Python scalars, the function that can be used to apply those promotion rules should support them as well.


Detect which Command has been entered

Is there any way to know which command has been entered?

Since I made this issue, I re-read and managed to understand that the entered command's struct will have its Execute implementation called.


[v1.5.2] error: reference to ‘array’ is ambiguous

net.cpp:64:1: error: reference to ‘array’ is ambiguous
 array<int, THREAD_MAX> vnThreadsRunning;
 ^~~~~
In file included from net.h:9:0,
                 from net.cpp:8:
/usr/include/boost/array.hpp:60:11: note: candidates are: template<class T, long unsigned int N> class boost::array
     class array {
           ^~~~~
In file included from /usr/include/c++/6.1.1/tuple:39:0,
                 from /usr/include/c++/6.1.1/functional:55,
                 from /usr/include/boost/system/error_code.hpp:22,
                 from /usr/include/boost/system/system_error.hpp:14,
                 from /usr/include/boost/thread/exceptions.hpp:22,
                 from /usr/include/boost/thread/pthread/mutex.hpp:14,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from sync.h:8,
                 from db.h:8,
                 from net.cpp:7:
/usr/include/c++/6.1.1/array:90:12: note:                 template<class _Tp, long unsigned int _Nm> struct_ std::array
     struct array
            ^~~~~

Changing net.cpp:61 to boost::array<int, THREAD_MAX> vnThreadsRunning; fixes this, which leads me to
/usr/bin/ld: qt/libbitcoinqt.a(qt_libbitcoinqt_a-qtipcserver.o): undefined reference to symbol 'shm_unlink@@GLIBC_2.2.5'

I'm using arch linux.

Try to prefic configure with the rt lib:
LIBS=-lrt ./configure --with-incompatible-bdb --disable-tests
BTW, what version of boost are you using? What version of arch linux?

Sorry about the second error, that was actually me not reading the docs. I'm on arch linux testing.
The problem with the ambiguous reference still stands, though.

What version of the boost library are you using?

I'm using boost version 1.60.0

I can confirm this bug. This looks like there has been some API change in Boost.

Thanks, @voidus. Fixed now. (761475d)

Sorry to bring this back to life, but IMO a bugfix like this, that solves a compile issue, should be delivered as a new revision release (<IP_ADDRESS>?)... unless you want packagers to backport the fix as a patch... or that you want us to grab the commit, but that surely goes against the packaging standards of almost every sane mantainer.

@emvigo FairCoin2 is under heavy development and will replace FairCoin1.x in the near future, so it would not be worth the effort to create a new release for 'just' a compile bug.
 Help would be very appreciated!


DI Injection - Make it more configurable

Currently each component is involved in an either or scenario. It is either injected by DI or created as a concrete implementation. The component should be able to allow the user to choose whether the component is pulled from DI or concrete implementation.

DI is at the core of Kyameru. I don't think this should be a thing.


[controller] Emit push job status metrics from controller

Summary
VPJ communicates with the controller to write PushJobDetails to the PUSH_JOB_DETAILS_STORE_NAME system store. This PR introduces new metrics emitted by the parent controller for push job success/failure.
Choice of Stat Type: The original idea is for each event (push job success/failure) to emit 1, which can be aggregated in the metrics receiver in any manners to calculate push job availability.

Using OccurrenceRate(SECOND) gives QPS, which needs to be 60x to get the minute’s count. However, with a small number of push jobs and tight SLAs, this might lead to rounding errors.
Using OccurrenceRate(MINUTE) and Gauge requires metric collection time to sync with metric fetch time.
Count provides an unwindowed cumulative over all time. This was chosen but also needed something windowed for push job availability % calculation in the receiver.
So, added CountSinceLastMeasurement via this Tehuti PR to provide a windowed cumulative, emitting the delta every time it’s fetched (every minute in this case) => using tehuti 0.12.2

New Metrics Added (Count and CountSinceLastMeasurement):
batch_push_job_success, batch_push_job_failed_user_error, batch_push_job_failed_non_user_error
incremental_push_job_success, incremental_push_job_failed_user_error, incremental_push_job_failed_non_user_error
Current flow is VPJ checks push.job.status.upload.enable config and sends PushJobDetails to /send_push_job_details path in Venice-controller, which writes it to the push job details system store. Approaches considered to emit metrics:

Derive success/failure in the controller and emit metrics, tying metric emission and push job details upload via push.job.status.upload.enable config. This config is enabled everywhere.
Add a new controller endpoint to emit metrics, duplicating work to talk to controllers and serialize/deserialize data.
Add two new controller endpoints: one to emit metrics if upload is not enabled, and one to do both (emit metrics and upload push status store) to avoid duplicate work.
Evolve PushJobDetails to hold push.job.status.upload.enable config and move the logic of determining success/failure status to VenicePushJob.

Chose approach 1 as it’s the simplest and doesn’t require deployment ordering (controllers -> VPJ) unlike other options and no schema evolution needed.
For Reviewers: Main code changes are in VeniceHelixAdmin.java and PushJobStatusStats.java.
How was this PR tested?
GH CI
Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Messed up the PR with updates. Will open a new one.


Add an exclusion

Some third-party programs get errors. Can I add an Exclude feature to exclude paths for these programs?

https://github.com/MicaForEveryone/MicaForEveryone/wiki/FAQ#window-is-not-displaying-properly


Publish new Release for MR 1

As the MR 1 Ballot succeeded, please tag a new 1.1 Release here.

The final 1.1.0 artifact is now available on maven central and has been tagged here. This issue can now be closed.

It seems the tags are there, just noticed something very strange in the dependency chain, but that's for another ticket.


Where is code?

Hi authors, thank you very much for your work. But I haven't seen the author's open source code, I want to ask when the author's code will be completely open source.


Ingestion engine | Track separately statistics for established, funded, and authorized trustlines

Track three different asset stats for trustlines:

[x] Established (as a result of change_trust op)
[x] Funded (active  trustlines with balance > 0)
[x] Authorized (for assets with AUTH_REQUIRED=true)

Required by  #87, #89

Implemented in v0.10.7


Implement Navbar and Footer Components

To enhance user experience and provide a consistent interface, we need to implement the Navbar and Footer components.
Header:

Navigation Links: Implement clear and responsive navigation links (Home, Dashboard, Upload, etc.) that provide smooth transitions between different sections of the application. Ensure appropriate hover and active states for better user feedback.
Responsive Design: Ensure the Navbar is responsive, adapting to various screen sizes and devices, and collapses into a mobile-friendly menu for smaller screens.

Footer:

Contact Information: Implement contact details such as email address and phone number, allowing users to easily reach out for inquiries or support.
Social Media Links: Integrate links to official social media profiles, enabling users to connect with the application on various platforms.
Copyright and Legal Information: Display copyright information and legal disclaimers, ensuring compliance with legal requirements and user transparency.
Quick Links: Implement quick links to important pages (Privacy Policy, Terms of Service, etc.) for user reference and easy access.
Responsive Design: Ensure the Footer is responsive, adjusting its layout for various screen sizes, and maintaining consistent design with the Navbar.

I'd like to work on this issue

I'd like to work on this issue

Assigned!

can i work on this

@vanshchauhan1310 sure!

@Princeton21 Can you replace the navbar and footer images and logos from the assets folder? I'll complete the issue as completed after those have been updated. Thanks

@Princeton21 Can you replace the navbar and footer images and logos from the assets folder? I'll complete the issue as completed after those have been updated. Thanks

Sorry for replying late , but unfortunately I am very busy with work atm.

@rohin079 / @vanshchauhan1310 : If this is still available, I can help to wrap up pending task.

@rohin079 / @vanshchauhan1310 : If this is still available, I can help to wrap up pending task.

Sure!


[Password Auth] Forget password

The reset flow:

Enter email in Forget password page
Send a reset password email
Clicking email redirect to reset password page
Enter password and confirm password field (validation should same as sign in page)

What to do:
Design:

Forget password page (let user to enter their email)
Reset password page (Password and confirm pass word fields)

Tech:

Implementing  pages follow the design
Research how to handle reset password https://supabase.com/docs/guides/auth/auth-password-reset

done


RecyclableMemoryStream.ToString should not throw if disposed

From https://docs.microsoft.com/en-us/dotnet/api/system.object.tostring?view=net-6.0
Notes to Inheritors
Your ToString() override should not throw an exception.
This comes up for us in unit tests that use moq. it remembers all invocations and their parameters and, if a verification failure happens, it will ToString all of the parameters to make the error report but in the case of Stream arguments, if it was a RecyclableMemoryStream that has long since been disposed, the exception from its ToString prevents meaningful diagnostics from moq.

@gosss Please take a look at PR #244

Thanks for the fix, sorry i missed the PR


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1686 ms

Resolved: Bofrost.at performance has improved in afd1c79.


chore(main): release 1.0.2

:robot: I have created a release beep boop
1.0.2 (2024-12-09)
Bug Fixes

get latest remote changes before running the command for the first time (#7) (9de0ee4)

This PR was generated with Release Please. See documentation.

🤖 Created releases:

v1.0.2

:sunflower:


[Demo BE]

In the core service we need a API gateway -> Lambda -> OpenAI which makes takes code from the frontend and reviews it.
The Lambda should use the the same functions as review/index.ts as much as possible
Api Gateway needs rate limiting
We also need to save the number of requests to the demo in Dynamo per day. This should be limited in the lambda.
We will save the request data and response data from the model in S3 and the key to that data in dynamo Review entity.


Code release date

The paper is great, I liked it a lot. Could you tell an approximate date for code realease so that I can start experimenting too? Thanks.

The code does not have a specific release date yet, and we will make the source code public as soon as possible. However, you are welcome to try out the algorithm demo here in advance: link.

Hi zdyshine, the code has been released. :)
If you find this project helpful, please feel free to leave a star ⭐⭐⭐!


support for 'plaintext' type

Adding a support for 'plaintext' as a encryption type.
This will enable users to create htpasswd entry from plaintext (e.g. strings already encrypted) and check if the existing entry is matching with the new resource attribute.

@akadoya thanks for this PR. Can you fix cookstyle and ping me back? :)

Can you also add some tests?

@guilhem updated. (also added an example to readme and gem dependency for test)

@guilhem it'd be appreciated if you could look into this again :)

@akadoya thanks! :)


Fix case conversion for soc in non "State of Charge" context

Add all variant tests to support this

Merged so will close


Move grunt from devDependencies to dependencies

Right now, it's not possible to use this module as non-dev dependency because grunt won't be installed. This change would fix that.
However, there might be a reason for this structure that I'm not aware of.

The dev branch no longer requires Grunt. I'm going to quote @jonschlinkert's comment on another issue here:

If you or anyone else would like to help, I'm open to someone helping maintain the current branch so we can stay focused on getting the next release published. just let us know

@jonschlinkert I think this one should be closed, just like #206 is. See also #157 #186 #187

thanks @keithamus! much appreciated!


autoDistributeViewsAlongAxis not working on device

Hi, I'm using this code
[views autoMatchViewsDimension:ALDimensionHeight];
[views autoDistributeViewsAlongAxis:ALAxisHorizontal alignedTo:ALAttributeHorizontal withFixedSpacing:10.0f];

to align a dynamic number of buttons inside a UIView. It works with all the simulated devices but not on real devices (tested: iPhone4, iPhone4S).

Hi Darko, can you provide some more information on what's happening so I can help you debug the issue? Perhaps you can share an example project that demonstrates the issue you're seeing, or modify one of the demos in the PureLayout Example project to do so?
I haven't seen any issues with this myself, nor have I seen any reports of this, so it's likely something specific to your configuration (not an issue with PureLayout itself).

It won't be easy as I'm really hurry but I'll try to do it!

Closing this issue for now due to lack of info. Please provide more info or an example project as requested and this can be reopened.

Yeah, I'm sorry about it. I'll be back on that problem next week, I'll open the issue in case.


SSL Padding

brew doctor output
➜  .ssh brew doctor
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:905b0c3896164ae8067a22fff2fd0b80b16d3c8bb72441403eedf69da71ec717
curl: (35) OpenSSL/1.1.1s: error:0407008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding

==> Downloading https://github.com/Homebrew/homebrew-portable-ruby/releases/download/2.6.10_1/portable-ruby-2.6.10_1.arm64_big_sur.bottle.tar.gz
curl: (35) OpenSSL/1.1.1s: error:0407008A:rsa routines:RSA_padding_check_PKCS1_type_1:invalid padding

Error: Failed to download ruby from the following locations:
  - https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:905b0c3896164ae8067a22fff2fd0b80b16d3c8bb72441403eedf69da71ec717
  - https://github.com/Homebrew/homebrew-portable-ruby/releases/download/2.6.10_1/portable-ruby-2.6.10_1.arm64_big_sur.bottle.tar.gz

Do not file an issue on GitHub about this; you will need to figure out for
yourself what issue with your internet connection restricts your access to
GitHub (used for Homebrew updates and binary packages).
Error: Failed to upgrade Homebrew Portable Ruby!

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
Can't access due the same ewrror

What were you trying to do (and why)?
I'm just trying to update any library and have this error
What happened (include all command output)?
It tries to update brew and fails due SSL Padding error
What did you expect to happen?
To successfully download files using curl and installing it using homebrew
Step-by-step reproduction instructions (by running brew commands)
brew update

Do not file an issue on GitHub about this; you will need to figure out for
yourself what issue with your internet connection restricts your access to
GitHub (used for Homebrew updates and binary packages).

If I set curl to insecure i'm able to do the request. So if anyone just want to update everything and is blocked by that do the following:
Create a ~/.curlrc
Edit the file and add --insecure
Run update
@carlocab FYI
I'm able to connect to github this is not an connection restriction.

We don't touch the SSL layer so it sounds like you would have had the same issue running curl https://github.com/Homebrew/homebrew-portable-ruby/releases/download/2.6.10_1/portable-ruby-2.6.10_1.arm64_big_sur.bottle.tar.gz directly.

This error message do not help guiding the user

The problem is that it's not like there's a fixed set of instructions to fix the issue - we don't know from what curl tells us what on your system causes the issue: it could be security software, proxy, router settings, enterprise software, etc. We wouldn't recommend --insecure as that just bypasses security rather than fixing the problem.


assert len

Dear Friend.
I want to ask a question from you. !!
in model, why is this necessary?
assert len(num_hidden_units) == num_rnn_layer
and why can't we change the number of layers with this exception?
Please guide..
Greetings.

Because we are using multi-layer RNN, we have to specify the number of hidden units for each layer. Therefore, there is such assertion.

Dear Leimao.
Thank you so much for kind reply. Yes, I understood this. But, the hidden units are by default 256 and layers 3, and if layers are increased, the error comes. Is it possible to increase layers here? I mean how it is fixed with that ? If you can guide a bit.
Greetings .

Did you mean if you use, say, num_rnn_layer = 4, num_hidden_units = [256, 256, 256, 256], the program will be broken?

Yes something like this.


⚠ Turnos 24x7 has degraded performance

In 9fb8ccc, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1389 ms

Resolved: Turnos 24x7 performance has improved in f0d651b.


Support for binary format of AndroidManifest.xml

The AndroidManifest.xml file in packaged APKs is not stored as regular text-based XML, but in a special binary format.
See:

https://stackoverflow.com/questions/2097813/how-to-parse-the-androidmanifest-xml-file-inside-an-apk-package
https://stackoverflow.com/questions/60565299/how-to-get-a-reliablevalid-manifest-content-of-apk-file-even-using-inputstream

I would love to use this library for analyzing data (such as package names and version numbers) from existing APKs. As such, I would like to request support for this format.

@nicoburns Thanks for the first issue! I noticed this old library and curious - is this something similar to what you need?

Same need! But actually we don't have to rely on resources.arsc. Rust currently lacks this, so I thought it would be nice to support it. Reference java lib: https://github.com/WindySha/ManifestEditor


[Astetics] Improve Add/remove lane connection icon

From #1485 and #1491. Further improvements to Add/Remove lane connection was proposed:

- render +/- overlay texture inside Lane end circle

- Mouse Icon: without/without pointer ?

- currently we use these cursors

render +/- overlay texture inside Lane end circle with pointer

I think only way to know which will work best is to test it - specifically the "overlay inside lane end circle" (I assume that means the larger "circle at end of white lane outline" rather than the tiny circle painted at the end of the lane).


16x16 + 32x32 Caltech Silhouettes

Why not just generate both and put them in the same file under different dataset/source names?
This dataset is tiny, there's really no reason not to do this.

This way the features are still called "features" and we can use Silhouettes as a drop-in replacement for other datasets. "features" seems to be pretty standard.
It's indeed a bit silly. But I don't think there is any harm in having two *.hdf5 files. What is IMHO a bit annoying is that the downloader and converter don't automatically process both.

I guess 'features16' and 'features32' doesn't really bother me that much, but maybe I'm in the minority.


[Feature] Support collect thread pool metrics

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
thread pool monitor is important in web service, server container, like tomcat, undertow etc, monitor its worker pool is very import, every project needs implement it
Use case
when use skywalking, we can config target class extends ThreadPoolExecutor, get thread pool metric, like coresize, maxsize, poolsize, queue size..., and send this metric to oap service every second, from ui, can see the metric
Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Then we need a way to build a labels(pool name) metric for connection pool. What do you want to build?
Could you provide more details?

now, in my projeject, agent core has a model contains pool name and thead threadPoolExecutor instance, the agent plugin set the thread pool name and instance to it on constructor, and the core get  message from the model, and send metrics to oap service

Could you share what do the OAP and UI look like?

instance_undertow_thread_pool_core_size = from(ServiceInstanceJVMThreadPool.corePoolSize).filter(threadPoolNameType == ThreadPoolNameType.UNDERTOW).longAvg();
instance_undertow_thread_pool_max_size = from(ServiceInstanceJVMThreadPool.maximumPoolSize).filter(threadPoolNameType == ThreadPoolNameType.UNDERTOW).longAvg();
instance_undertow_thread_pool_size = from(ServiceInstanceJVMThreadPool.poolSize).filter(threadPoolNameType == ThreadPoolNameType.UNDERTOW).longAvg();
instance_undertow_thread_pool_queue_size = from(ServiceInstanceJVMThreadPool.queueSize).filter(threadPoolNameType == ThreadPoolNameType.UNDERTOW).longAvg();
instance_undertow_thread_pool_active_count = from(ServiceInstanceJVMThreadPool.activeCount).filter(threadPoolNameType == ThreadPoolNameType.UNDERTOW).longAvg();
message ThreadPool {
ThreadPoolNameType type = 1;
int64 corePoolSize = 2;
int64 maximumPoolSize = 3;
int64 poolSize = 4;
int64 queueSize = 5;
int64 activeCount = 6;
}
enum ThreadPoolNameType {
UNDERTOW_WORKER_POOL = 0;
TOMCAT_WORKER_POOL = 1;
}

This kind of filter function is very hard coded, and it has to set for all kinds of pools, which is not flexible, and have to set a lot of UI components to list all possibilities.
I am thinking whether we should treat this as a logic endpoint? And metrics reporting through meter API rather than JVM and OAL analysis.

emm, the agent plugin  and oap server is easy to add new thread pool,  the problem is how to display it in ui, i am not familiar with what you say, this has some demo in skywalking project，or, we can make basic plugin to collect metirc and save it, every one can customizing their dashboard ui

For agent side, it is very similar to agent tracing plugin. Just calling different core APIs. Check this.
https://skywalking.apache.org/docs/skywalking-java/latest/en/setup/service-agent/java-agent/java-plugin-development-guide/#meter-plugin

At the backend, you just need to learn meter receiver and MAL

https://skywalking.apache.org/docs/main/latest/en/setup/backend/backend-meter/#manual-meter-api
Meter design, https://skywalking.apache.org/docs/main/latest/en/concepts-and-designs/meter/
MAL, https://skywalking.apache.org/docs/main/latest/en/concepts-and-designs/mal/

And learn fron slueth MAL setup

https://skywalking.apache.org/docs/main/latest/en/setup/backend/spring-sleuth-setup/
Configuration file example, https://github.com/apache/skywalking/blob/fc27f766c5da0f4165152025a6ba4080d034d1fc/oap-server/server-starter/src/main/resources/meter-analyzer-config/spring-sleuth.yaml

ok, i have a look

i have tried, it is ok，plugin can give the  threadPoolExecutor instance,  and agent core build thread pool metrics, and send it to backend by meter api

It is good to know. Could you post the metric sample here? To make the further review easier?

I think we should use labeled value, which only requires one metric name in the MAL script. And UI's component title could be Thread Pool,  which could add more pool relative metrics easily.

i do not get your mean, there are many kinds of thread pool, every type thread pool can have a ui component, all in one seems strange，and it is difficult to look

i think we can provide some base thread pool metric collect, like undertow, tomcat, other user can easy to add based on this way, and they can custom their own ui component

i do not get your mean, there are many kinds of thread pool, every type thread pool can have a ui component, all in one seems strange，and it is difficult to look

We don't have to set all thread pool metrics in one UI component. But labeled value could reduce the cost of the database resources. The way you are doing right now, is making one metric per database row. But labeled value could compress all types(queue size, pool size, max pool size) into one metric name.
undertow_thread_pool{pool_name="undertow_pool1",type="pool_size"} 10
undertow_thread_pool{pool_name="undertow_pool2",type="pool_size"} 15
undertow_thread_pool{pool_name="undertow_pool2",type="max_size"} 20

Then you just need one metric name on the UI, undertow_thread_pool.

you mean the agent report metric with same name and different tags by meter api ?

Yes. And AFAIK the MAL could land this one metric name with different tags in the storage.

This config still could make the metrics into different metric name. I prefer we could do
metricsRules:
    - name: java_thread_pool
       exp: java_thread_pool

If you want to separate pools of Java, you could use  undertow_thread_pool. And types of metric_type is going to be available on the UI automatically as labels.
Coud you try this? @wankai123 could help if you face any issue.

i try, it not work, could you give some demo with ui template and oal config

Check K8s monitoring temple config. Or just put the metric name on UI setup mode page, and enter. It will tell you, it's a labeled value.
Don't use tag equal to split one metric into several.

This is a labeled value metrics visualized as a chart

yes, i config it in this way, but, it has no data in ui

Could you check what does the metric look like in the database?

And please provide the data in the MeterReceiver. Then we could know what is going on.

this is the data from MeterServiceHandler， the database is h2, i do not have tool to look

Could you put this in JSON format? And print it in the console, and provide us the rawdata? This debug screenshot is hard for us to know the details.

{"metricCase_":1,"metric_":{"name_":"thread_pool","labels_":[{"name_":"metric_type","value_":"active_size","memoizedIsInitialized":-1,"unknownFields":{"fields":{}},"memoizedSize":-1,"memoizedHashCode":0},{"name_":"pool_name","value_":"undertow_worker_pool","memoizedIsInitialized":-1,"unknownFields":{"fields":{}},"memoizedSize":-1,"memoizedHashCode":0}],"value_":0.0,"memoizedIsInitialized":-1,"unknownFields":{"fields":{}},"memoizedSize":-1,"memoizedHashCode":0},"service_":"Your_ApplicationName","serviceInstance_":"e33531aac85b4b93b8404b4f5f008fc8@<IP_ADDRESS>","timestamp_":1642576599799,"memoizedIsInitialized":1,"unknownFields":{"fields":{}},"memoizedSize":-1,"memoizedHashCode":0}

{"metricCase_":1,"metric_":{"name_":"thread_pool","labels_":[{"name_":"metric_type","value_":"max_pool_size","memoizedIsInitialized":-1,"unknownFields":{"fields":{}},"memoizedSize":-1,"memoizedHashCode":0},{"name_":"pool_name","value_":"undertow_worker_pool","memoizedIsInitialized":-1,"unknownFields":{"fields":{}},"memoizedSize":-1,"memoizedHashCode":0}],"value_":80.0,"memoizedIsInitialized":-1,"unknownFields":{"fields":{}},"memoizedSize":-1,"memoizedHashCode":0},"service_":"","serviceInstance_":"","timestamp_":0,"memoizedIsInitialized":1,"unknownFields":{"fields":{}},"memoizedSize":-1,"memoizedHashCode":0}

@wankai123 @mrproliu Could you take a look? I hope the final result keep thread_pool as metric name, and labels(undertow_worker_pool + max_pool_size) as the final label.
@xu1009 It is better you could use H2 server mode to check the data, or ElasticSearch. Otherwise, it is hard for us to help this very detailed thing.

In the MAL, if you want to make it as labels metrics, need to add the  aggregate function on the metric. In this case, it should be thread_pool.avg(['pool_name', 'metrx_type', 'service']).

it is not ok, the above image is data in database

The data looks good, what do you mean not ok?

This is my understanding of the data.

no data display in ui

Do you check the instance name(entity name in the table) and time bucket?
And, you could debug MetricsQuery#readLabeledMetricsValues to see what is going on. The logic is also not hard.

@xu1009 Any update?

it is ok

Cool, good to see this. Let's move on to the official PR/Review to take care of code details. Thank you so much for you patience.

@xu1009 Are you going to add more meter plugins for thread pools?


pkgsStatic.glib: fix build

Description of changes

Since #183507, glib's tests are built (but not run by default) in pkgsStatic.  This broke the build because some of the tests required shared libraries. This patch (which is awaiting review upstream) disables building those libraries and any tests that depend on them in a static-only build.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

The patch looks good, in my opinion


temporarySignedRoute expiration not working in different timezones

Laravel Version: 6.0
PHP Version: 7.2.1
Database Driver & Version: pgsql

Description:
I'm using the temporarySignedRoute functionality.
$url = URL::temporarySignedRoute(
    'foobar', now()->addHours(6), ['foobar' => $foo->bar]
);

This works when I'm in the same timezone as my server (the Netherlands). But when someone else requested a temporarySignedUrl in for instance the US, there is a different timezone. Then it returns me that the Signature is invalid.
In the docs I cannot find things about timezone or something you have to configure for this, so probably this is a bug?
Steps To Reproduce:
Make a temporarySignedRoute and open this in a different timezone then the server is configured at.
$url = URL::temporarySignedRoute(
    'foobar', now()->addHours(6), ['foobar' => $foo->bar]
);

This doesn't make sense to me - the expiration timestamp is generated and validated using the servers time. It's not validated against the timestamp the user is visiting from.

Are you setting the applications timezone to the users somehow?

@netpok No, but even when I try that:
$url = URL::temporarySignedRoute(
                            'foobar', now()->setTimezone(config('app.timezone'))->addHours(6), ['foobar' => $foo->bar]
                        );

It is not working.

The call to now() should return the same time regardless the browser timezone.

Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to report back and I'll gladly help you out and re-open this issue.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


ExcelDataReader reading partial data from .xlsb file in .net 6

ExcelDataReader reading partial data from .xlsb file in .net 6 azure function.Please provide a solution on that.

What is it you want to do that you can't do? What have you tried?

I am reading a .xlsb file from blob storage using exceldatareader using .net 6 function.my xlsb has 255 column and 10200 row but it is reading only 29 row and some column value also coming blank

I encountered a similar issue after upgrading to .NET6. Some of my unit tests that used to pass now fail because some cell values are read as null.
I can share a couple of files privately to help you replicate the issue.

I see now that this issue might be related to https://github.com/ExcelDataReader/ExcelDataReader/issues/637.


Add check if transaction step names are unique

Transactions step names must be unique. Otherwise, function update_transaction/2 will update wrong step, because function lists:keyreplace(N, #step.name, S, Step) always updates first occurrence of Step with name N.

Thanks for bring the issue to my attention and for the patch. I wonder though if the right solution would be to find some other way to iterate through the steps - so that they can literally be named anything and the code will still work correctly.

I think it is nice to have a unique identifier of transaction step. It makes reading and processing of FinalT much easier. For example, I may want to find on which step forward operation failed. It could be confusing if there are many identical steps. Moreover, function delete_step/2 may work incorrect if step names are not unique and steps order is matter.
The other solution is to add new field 'step_num' to the step record. This field should be set automaticly for each step in functions new_transaction/2 and add_step/2: 1 for first step, 2 for second step and so on. Thus, 'step_num' will be unique identifier of transaction step. It will be possible to delete step from transaction by it's 'step_num' instead of 'name'. It is to be noted that function delete_step/2 will be more complicated, because it will have to update 'step_num' field for following steps.
As you mentioned, another solution is to iterate through steps in other way. In this case delete_steps/2 probably should be rewriten.
Please inform me that solution do you think is more sutable. Thank you.

I wonder instead of using a user-specified name if we instead created and assigned each step a reference from make_ref() when it is added to a transaction. That would get us away from numerical index that might mutate and also would provide a safe way to have steps with the same names.
What do you think of that idea?

I think it is a great idea. I replaced the commit in this pull request. New commit contains suggested changes.

Great. Thanks for doing the work.

I think the next step is publishing a new version on hex, probably... I will try to do that today.

Great. Thanks for doing the work.

Yes, it would be great, thank you.

I think the next step is publishing a new version on hex, probably... I will try to do that today.

I agree. I would like to create one more pull request in about an hour. Probably that change could also get into the new version.


Correct and complete all public doc-strings

This is a first pass so that we have some kind of doc-string for everything. There will be follow up work
to augment and improve the descriptions, also adding doc-tests wherever relevant/ possible.

how about add a new ruff rule and required doc-string in all public method/class?

how about add a new ruff rule and required doc-string in all public method/class?

Thanks @zhongjiajie. How would I do that?

how about add a new ruff rule and required doc-string in all public method/class?

Thanks @zhongjiajie. How would I do that? (I haven't done this type of thing with ruff before.)

We can add some new rule in pyproject.toml
[tool.ruff]
extend-select = [
    "I", # Missing required import (auto-fixable)
    "D", # pydocstyle
]

[tool.ruff.isort]
combine-as-imports = true

[tool.ruff.per-file-ignores]
# test directory could ignore the doc-string check
"test/*" = ["D"]

for more detail you can see ruff docs https://beta.ruff.rs/docs/rules/#pydocstyle-d


Transforming specific columns in any table

Hi! I'm trying to transform specific columns of a table:
Given there are following flights available:
  | from_airport | to_airport  | from_date | to_date   |
  | CDG          | JFK         | +93 days  | +98 days  |
  | CDG          | JFK         | +93 days  | +98 days  |

To my understanding, its is possible to transform an entire table, but it is not possible to create a transformer for a specific column name, correct?
I understand that transformers should be called on each "cell" of the table, and the following should work:
Given there are following flights available:
  | from_airport | to_airport  | from_date | to_date   |
  | airport CDG  | airport JFK | +93 days  | +98 days  |
  | airport CDG  | airport JFK | +93 days  | +98 days  |

With this Transformer:
/**
 * @Transform airport :airport
 * @Transform /^airport ([A-Z]{3})$/
 */
public function transform(string $iataCode): AirportInterface
{
    // do stuff
}

But it doesnt work. Any help would be much appreciated!

Up please ?

Confirmed that this is not working, the transformer is not applied


Please see Travis for more information.


Edit Data new row doesn't show up until after a cell change is committed

Azure Data Studio Version: 1.15.0

Steps to Reproduce:

Edit Data on a table
Add a new row then tab into the next new row

Expected: Once the focus cursor moves into the new row, then additional new row should be appended below
Actual: The additional new row is only added once a cell change is committed to one of the cells in the new row
Cursor in new row, but no new row shown

New row only shown after a cell is changed.  The new row should have shown once the current new row received focus

@smartguest I think this may be a regression from the Edit Data refactor.  Could you confirm whether this is a regression?  And prepare a fix?

@kburtram This isn't a regression, this was on builds as early as the September 2019 build, fix is already created.


planner: more motion backlash compensation options

Might be useful in case they have lower precision stages. Default is serpentine
Consider:

Always start at left
Do backlash compensation at the beginning of every image when going left

A crude version of the second strategy was implemented. Open new tickets to refine it


antag latejoins not respecting max player count

Description

even with the maxPlayers for traitors set to 12, it's still possible to exceed the number of antags by latejoining
Reproduction

Screenshots

Additional context

Does this mean at least 150 players joined throughout the round?


SV Schema Tests

bblanken@wmbbe-67c luigi_pipeline % PYTHONPATH=.. nosetests tests/test_seqr_sv_loading.py
Initializing Hail with default parameters...
2023-02-23 10:54:04.749 WARN  Utils:69 - Your hostname, wmbbe-67c resolves to a loopback address: <IP_ADDRESS>; using <IP_ADDRESS> instead (on interface en0)
2023-02-23 10:54:04.752 WARN  Utils:69 - Set SPARK_LOCAL_IP if you need to bind to another address
2023-02-23 10:54:05.125 WARN  NativeCodeLoader:60 - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
Running on Apache Spark version 3.1.3
SparkUI available at http://<IP_ADDRESS>:4040
Welcome to
     __  __     <>__
    / /_/ /__  __/ /
   / __  / _ `/ / /
  /_/ /_/\_,_/_/_/   version 0.2.109-b71b065e4bb6
LOGGING: writing to /Users/bblanken/Desktop/code/seqr-loading-pipelines/luigi_pipeline/hail-20230223-1054-0.2.109-b71b065e4bb6.log
2023-02-23 10:54:18.602 Hail: INFO: Coerced sorted dataset===> (488 + 12) / 500]
2023-02-23 10:54:23.547 Hail: INFO: Coerced sorted dataset==>  (477 + 14) / 500]
2023-02-23 10:54:33.487 Hail: INFO: wrote matrix table with 11 rows and 5 columns in 11 partitions to /var/folders/r2/68lhg74s3m130ynw3bn9wcyw0000gq/T/tmpwrzxtlvx/tmprle98p4m.mt
    Total size: 2.91 KiB
    * Rows/entries: 2.77 KiB
    * Columns: 42.00 B
    * Globals: 107.00 B
    * Smallest partition: 1 rows (204.00 B)
    * Largest partition:  1 rows (321.00 B)
2023-02-23 10:54:45.143 Hail: INFO: wrote matrix table with 11 rows and 5 columns in 11 partitions to /var/folders/r2/68lhg74s3m130ynw3bn9wcyw0000gq/T/tmpwrzxtlvx/tmpi4lnr22j.mt
    Total size: 1.86 KiB
    * Rows/entries: 1.71 KiB
    * Columns: 42.00 B
    * Globals: 107.00 B
    * Smallest partition: 1 rows (152.00 B)
    * Largest partition:  1 rows (171.00 B)
.Stage 11:>                                                       (0 + 11) / 11]
----------------------------------------------------------------------
Ran 1 test in 54.824s

OK

I'm going to merge this into the other branch to reduce branch complexity.  There's only tests and a few small bug fixes of code introduced on the other branch.


Feature Request: Native support on annotationProcessor Gradle Task

Hi Jake - If you can have this compatible with annotationProcessor as well aside from the apt plugin, it can reduce the dependency on additional 3rd party plugin for the annotation processing natively supported on Android N.
Here's the setup to validate the support:
parent build.gradle should be using
classpath 'com.android.tools.build:gradle:2.2.0-alpha1'
The following line is removed on the application build.gradle
apply plugin: 'com.neenbedankt.android-apt'
Thanks.

This is already supported. Use annotationProcessor instead of apt.

Hi Jake - I tried using the tag but it crashes since the @BindView instances are null when using annotationProcessor

Can you see the generated sources?
On Sat, Jun 18, 2016, 2:09 PM Pier Betos<EMAIL_ADDRESS>wrote:

Hi Jake - I tried using the tag but it crashes since the @BindView
instances are null when using annotationProcessor
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/624#issuecomment-226956602,
or mute the thread
https://github.com/notifications/unsubscribe/AAEEEZ_l4Id9tYeHbtxmx-9TGqOlw0lrks5qNDRngaJpZM4I49oN
.

I switched to
classpath 'com.android.tools.build:gradle:2.2.0-alpha3'
and it worked. Thanks.

<EMAIL_ADDRESS>sent you some files
‘You can refer to the link below for the sources’
Download:
https://www.wetransfer.com/downloads/e5f1e4111ab828750b49b6b4536265cd20160619073309/30974dbd6270b97c49dbde7c5ab1eff920160619073309/5e3d22
Files (233 KB total)
source.zip
Will be deleted on
26 June, 2016
Get more out of WeTransfer, get Plus
https://www.wetransfer.com/plus?trk=email-recipient_download
About WeTransfer: https://www.wetransfer.com/about
Contact: https://www.wetransfer.com/contact
Legal: https://www.wetransfer.com/legal
To make sure you can receive our emails, please add<EMAIL_ADDRESS>to your trusted contacts

The new 'com.android.tools.build:gradle:2.2.0-alpha6' works with Butterknife. We can already close this. Thanks.

@peterbetos then close the issue yourself?


"Embed" video feature

I was thinking that it would be pretty cool to be able to embed YouTube videos in some rudimentary way (YouTube only because it's extremely common and has an easy-to-use API -- future video services could be implemented in the future).
I'm not really sure how this feature should work, though. The way I see it, there are two options:

Toolbar button that generates markdown like this.
True embeds, where you can play the video right on the page. To do this and make it consistent with the rest of the editor, we would probably want to introduce a bit of custom markdown specifically for video embeds. Something like $[My cool video](https://youtube.com/myvideoid). We could have a toolbar button that generates this stuff too.
This is the route I'd prefer to take, because you really don't want your users to leave your site for YouTube whenever they view a video.

I'm willing to make a PR to implement this feature, but I need some thoughts first.
Plausible? Stupid? Unnecessary? Too vulnerable to XSS attacks? Let me know!

SimpleMDE aims to be a super easy-to-use editor for stock Markdown. Right now there's no support for custom markup, but it's been proposed before. I wouldn't consider adding a dedicated YouTube button to the editor, because that's outside the scope of what SimpleMDE aims to achieve. Plus the majority of SimpleMDE users wouldn't take advantage of it. However, if you're interested in taking up the task of supporting custom markup, it'd be a much appreciated PR and can be used in conjunction with a custom toolbar icon that you'd create for your website to insert the custom markup.

Something like the MDWIKI gimmicks would be awesome:
http://dynalon.github.io/mdwiki/#!gimmicks.md
On 12 January 2016 at 15:58, Wes Cossick<EMAIL_ADDRESS>wrote:

SimpleMDE aims to be a super easy-to-use editor for stock Markdown. Right
now there's no support for custom markup, but it's been proposed before
https://github.com/NextStepWebs/simplemde-markdown-editor/issues/57. I
wouldn't consider adding a dedicated YouTube button to the editor, because
that's outside the scope of what SimpleMDE aims to achieve. Plus the
majority of SimpleMDE users wouldn't take advantage of it. However, if
you're interested in taking up the task of supporting custom markup, it'd
be a much appreciated PR and can be used in conjunction with a custom
toolbar icon
https://github.com/NextStepWebs/simplemde-markdown-editor#toolbar-icons
that you'd create for your website to insert the custom markup.
—
Reply to this email directly or view it on GitHub
https://github.com/NextStepWebs/simplemde-markdown-editor/issues/225#issuecomment-170791725
.

@WesCossick Thanks for the answer! Just to be sure I understood you, you mean extending SimpleMDE to support any type of custom markup that can be inserted via custom toolbar buttons?
Also, @aruizca thanks for the link! I'll take that into consideration should I decide to take this on.

@JamieWohletz The PR would be for a very user friendly way of supporting custom markup. Honestly, it's something that's so broad, it'd be very difficult to make as easy as it'd need to be for it to be considered as a new option for SimpleMDE. There are so many types of markups, whether the line starts with certain characters, text is wrapped in specific characters, text is followed by or preceded by certain symbols, etc. Then the editing rendering would need to apply some kind of styling, as would the preview rendering.
For these reasons, custom markup is likely something that would necessarily have to be implemented by the developer for his/her own needs. As I see it, a simple option would be too restrictive for it to be useful to anyone, and a complex option would be too difficult for it to be included in SimpleMDE.
Unless you have a very clever method of accomplishing this, I'd say you're better off building this functionality into your own implementation of SimpleMDE.

dfgadfgdsfgsdfg


Join/Part

Don't seem to be getting join and part messages.

Can I see some code? Working fine for me.

Ah, never mind, Twitch did some odd things, all sorted, this can be closed, nothing to do with irc-message.


Set new defaults for Demo Qanary UI chatbot

See this issue for details: https://github.com/WSE-research/team-tasks/issues/220

Related to https://github.com/WSE-research/team-tasks/issues/220
@Wutras please, check this out


Added logger for exceptions,  and minor refactoring

Coverage decreased (-1.8%) to 84.659% when pulling 5580b1a1b74da72a7b52afaa5aadf1051b4ef839 on logger-mikko into 2241dc838f1b538b2868464a73115b317a83832d on master.

Coverage decreased (-1.8%) to 84.659% when pulling 5580b1a1b74da72a7b52afaa5aadf1051b4ef839 on logger-mikko into 2241dc838f1b538b2868464a73115b317a83832d on master.

Coverage decreased (-1.8%) to 84.659% when pulling 7fd2d77adde6bfcf41569b2e9406034e1a3d29b9 on logger-mikko into 2241dc838f1b538b2868464a73115b317a83832d on master.

LGTM


boot_serial rework

Serial bootloader size was too big, so

got rid of snprintf() reference
got rid of cborattr
And on Mynewt side of size reduction:
tuned kernel/os to not bring memory pool code
replace minimal console with a more direct way of accessing uart

On some platforms the watchdog keeps running post-reset, and mynewt users have a gpio reporting when waiting for serial DFU. Therefore changed the code to pass platform specific routines to do reads and writes from uart. This allows Mynewt side to do it's watchdog tickling, gpio toggling without polling common code.
Unittests on mynewt side are still broken, but they've been so even before. So I'll create another PR to address those later.
Signed-Off-By: Marko Kiiskila<EMAIL_ADDRESS>

I have tested this patch against zephyr and nrf52840_pca10056 target. I observed that sometimes (30%) communication had hanged during `image upgrade' command execution:
sudo ./mcumgr image upload -e ~/codedev/mcuboot/signed-smp_svr.bin  -c serial_0
 13.21 KiB / 137.79 KiB [=====>-----------------------------------------------]   9.58% 1m51sError: Timeout reading from serial connection

After that It was impossible to renew the communication.

Just tried the zephyr bootloader build on nrf52:
[marko@IsMyLaptop:~]$ newtmgr -c AL01QIP7 image upload ~/src2/incubator-mynewt-blinky/bin/targets/slinky_nrf52/app/apps/slinky/slinky.img
55.45 KiB / 56.07 KiB [===============================================]  98.89%Done
This is what happened when I had forgotten a minicom open with that same tty:
[marko@IsMyLaptop:~/src2/incubator-mynewt-blinky]$ newtmgr -c AL01QIP7 image upload ~/src2/incubator-mynewt-blinky/bin/targets/slinky_nrf52/app/apps/slinky/slinky.img
2.66 KiB / 56.07 KiB [==>-----------------------------------------]   4.74% 14sError: NMP timeout

And here's the same mcumgr tool:
[marko@IsMyLaptop:~/foo/mynewt-mcumgr-cli/mcumgr]$ go run ./mcumgr.go -c AL01QIP7 image upload ~/src2/incubator-mynewt-blinky/bin/targets/slinky_nrf52/app/apps/slinky/slinky.img
55.45 KiB / 56.07 KiB [===============================================]  98.89%Done

That is interesting. I now built the bootloader for nrf52840, and it seems ok on my 10056. I did 10 uploads in a row, some using newtmgr and some with mucmgr. I did not go via application in the middle, however. Just stayed within the bootloader.

@mkiiskila ^^ I was using quite big image of the smp_svr example 141 KB.

It appears to work for me even with bigger images. I tried 148k and 164k few times both. I assume this works ok when you run this from master?

BTW, i'm not too savvy with zephyr builds. So I did this to build this:
osboxes@osboxes:~/zephyr/mcuboot$ git diff
diff --git a/boot/zephyr/prj.conf b/boot/zephyr/prj.conf
index 50c721f..eb0e152 100644
--- a/boot/zephyr/prj.conf
+++ b/boot/zephyr/prj.conf
@@ -1,6 +1,6 @@
-CONFIG_CONSOLE_HANDLER=y
-CONFIG_SYS_LOG=y
-CONFIG_DEBUG=y
+CONFIG_CONSOLE_HANDLER=n
+CONFIG_SYS_LOG=n
+CONFIG_DEBUG=n
CONFIG_SYSTEM_CLOCK_DISABLE=y
CONFIG_MAIN_STACK_SIZE=10240
@@ -17,9 +17,11 @@ CONFIG_MBEDTLS_CFG_FILE="mcuboot-mbedtls-cfg.h"
CONFIG_FLASH=y
CONFIG_MPU_ALLOW_FLASH_WRITE=y
+CONFIG_UART_CONSOLE=n
+CONFIG_BOOT_MAX_LINE_INPUT_LEN=512
+CONFIG_MCUBOOT_SERIAL=y
+CONFIG_TINYCBOR=y
CONFIG_MULTITHREADING=n
Zephyr keeps turning on major subsystems by default that we don't want.
CONFIG_BT is not set
CONFIG_I2C is not set

@mkiiskila

I assume this works ok when you run this from master?

Yes - I compare this against master - With master I was able to proceed like 10 times in row without issue.

@mkiiskila - Were you able to reproduce issue I had reported? I want to know whether have to reserve some additional time to investigate this by myslef?
cc @carlescufi - looks like I need to instigate the issue I signaled here https://github.com/runtimeco/mcuboot/pull/294#issuecomment-395373877

@nvlsianpu let's wait until @mkiiskila is able to reproduce first. Can you in the meantime post the details of your environment? Was this on Linux? On a Virtual Machine?

I gave this a fair amount of testing today on the nrf52840_10056 with both Mynewt and Zephyr and had no issues at all. I think it's good to merge. @mkiiskila Could you squash the 2 review commits into the main commits, please!

This looks good to me, but I will wait for @nvlsianpu to give us feedback here on the issue he was seeing. Thanks @mkiiskila for this!

@mkiiskila I tried this again, and although I can now reproduce the timeout, this also happens on master. So we agree with @nvlsianpu that this PR can be merged.
@mkiiskila can you join the MCUboot slack channel? I'd like to ask you about how you are testing this.


fix typos and add new translations

Fixing some typos and add new Spanish translations.

@microsoft-github-policy-service agree


does not build under GNURadio 3.9

Hi Dani,
Unfortunately, this repo does not build on my system under gnuradio 3.9.  Is 3.10 an obligate requirement?
Thanks,
Bob
N6RFM

I created this out-of-tree module using GNU Radio 3.10's gr_modtool, so I guess it won't work with earlier versions. I don't know how much effort it would take to backport it to GNU Radio 3.9, but in my opinion it doesn't make sense to do it, since this is a new out-of-tree module.


Bfi token

I have read the CLA Document and I hereby sign the CLA

Hi, @PhanDuyVu please take a look at changes in this PR. You should only add a new address in contract-map.json and provide 1 image in SVG format for it


Bump the version of vmware_web_service

Bump the version of vmware_web_service to 0.3.0

Merging due to cross-conflict with https://github.com/ManageIQ/manageiq-providers-vmware/pull/305

Gaprindashvili backport details:
$ git log -1
commit f74f5dda15199f3af98f0f9491750103415ea354
Author: Jason Frey<EMAIL_ADDRESS>Date:   Mon Jul 23 14:50:56 2018 -0400

    Merge pull request #17746 from agrare/bump_vmware_web_service

    Bump the version of vmware_web_service
    (cherry picked from commit 98247342fb6bd1c039e17a94c5cc6f2033309c31)

    https://bugzilla.redhat.com/show_bug.cgi?id=1608552


Add 'parallel' option, that runs analysis of files in parallel

Add 'parallel' option, that runs analysis of files in parallel
with max parallel number of processes, specified by the option.
Value 'auto' could be used to specify number equal to amount
of scheduler threads, available to emulator.

Related to https://github.com/inaka/elvis_core/pull/107

Hmm.. I renamed get_file/1 to get_path/1 in the elvis_results, to indicate that only file path is included in the result, as the rest of the file content is dropped. But as soon as version 0.4.0 is provided it's not the case and xref fails.
Pls let me know what you think @elbrujohalcon

@elbrujohalcon Maybe you could tag elvis_core, so that I could update this PR, to reflect parallel feature?

@igaray is on it! :)

@igaray just kind reminder

Thanks for the reminder, I'll get to it by EOD.

Noticed that -p option is already defined for the code-path, so fixed that. Please let me know which version do you gonna set for the elvis_core (I guess it's gonna be 5.0.0 ?).
Do you need any help with preparing release for hem.px ? Looking forward to merge this feature =)

@igaray just a kind reminder

@define-null Sorry for the delay, elvis_core has a new release 0.4.2 published on hex.pm

@elbrujohalcon  pls have a look once again, and let me know what you think =)

@elbrujohalcon Shall we merge this PR maybe?

LGTM, merge away

@igaray merged, please bump the version and generate a release. :)

Great, thanks!


Animation speed

Is there a way to handle animation speeds?

yes you can use the animations durations & interpolators :)


drivers: eth_mcux: manage PHY reset without interrupt GPIO

MCUX Ethernet driver allows PHY reset management through the CONFIG_ETH_MCUX_PHY_RESET option.
When this option is enabled, a reset GPIO and a interrupt GPIO must be provide.
This interrupt GPIO should be optional.
Board can have a reset GPIO and no interrupt GPIO (not connected).

closed with merge of new nxp_enet driver, eth_mcux will not support this


Issues with Stata 13

Doesn't work with Stata 13

Since I haven't heard back and cannot replicate this problem, I am closing this issue.


Warning: Uglification failed (trying to deploy to IPFS)

I can get my embark app running on a local server but I can't get it to deploy to IPFS.  I get the following error:
Can I get any help/pointers?  Thanks
 embark ipfs
>> Local Npm module "grunt-cli" not found. Is it installed?

Running "clean:workspaces" (clean) task
>> 1 path cleaned.

Done, without errors.
>> Local Npm module "grunt-cli" not found. Is it installed?

Running "deploy_contracts:development" (deploy_contracts) task
primary account address is : 0x7e359655a5f528f18aaa47022bde4313a43daeb2
contract SimpleStorage is unchanged and already deployed at 0x72e5f4f1e859fed87564389984778d46a57c6a66
contracts deployed; generating abi file
address is 0x72e5f4f1e859fed87564389984778d46a57c6a66

Done, without errors.
>> Local Npm module "grunt-cli" not found. Is it installed?

Running "clean:workspaces" (clean) task
>> 1 path cleaned.

Running "deploy_contracts:development" (deploy_contracts) task
primary account address is : 0x7e359655a5f528f18aaa47022bde4313a43daeb2
contract SimpleStorage is unchanged and already deployed at 0x72e5f4f1e859fed87564389984778d46a57c6a66
contracts deployed; generating abi file
address is 0x72e5f4f1e859fed87564389984778d46a57c6a66

Running "coffee:compile" (coffee) task
>> 0 files created.

Running "concat:app" (concat) task
File generated/dapp/js/app.min.js created.

Running "concat:css" (concat) task
File generated/dapp/css/app.min.css created.

Running "uglify:dist" (uglify) task
JS_Parse_Error {
  message: 'SyntaxError: Unexpected token punc «(», expected punc «:»',
  filename: '../../../generated/dapp/js/app.min.js',
  line: 15982,
  col: 13,
  pos: 585313,
  stack: 'Error\n    at new JS_Parse_Error (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1545:18)\n    at js_error (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1553:11)\n    at croak (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2092:9)\n    at token_error (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2100:9)\n    at expect_token (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2113:9)\n    at expect (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2116:36)\n    at eval (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2689:13)\n    at eval (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2139:24)\n    at expr_atom (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2619:35)\n    at maybe_unary (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2795:19)' }
>> Uglifying source generated/dapp/js/app.min.js failed.
Warning: Uglification failed.
SyntaxError: Unexpected token punc «(», expected punc «:».
Line 15982 in generated/dapp/js/app.min.js
 Use --force to continue.
Error
    at new JS_Parse_Error (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1545:18)
    at js_error (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:1553:11)
    at croak (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2092:9)
    at token_error (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2100:9)
    at expect_token (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2113:9)
    at expect (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2116:36)
    at eval (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2689:13)
    at eval (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2139:24)
    at expr_atom (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2619:35)
    at maybe_unary (eval at <anonymous> (/home/david/projects/embark_demo/node_modules/uglify-js/tools/node.js:28:1), <anonymous>:2795:19)

Aborted due to warnings.

@qualisign embark 2.0 is out with a fix


edge: Pins nginx-ingress-integrator charm

Pins the nginx-ingress-integrator charm. The ingress relation is currently deprecated, and may be removed in the future, breaking the bundle.
(cherry picked from commit 1d6841c72befb8ff4a13c96460bccd79c1b8064d)

Integration tests passed.


Allow default key for error response like in Openapi 3.0+

Environment:

flask-openapi3 version: 4.0.1

Openapi allows to have default error response https://swagger.io/docs/specification/v3_0/describing-responses/#default-response.
This isn't supported on:
Openapi(validation_error_status="default")

Quick fix is in adding default to HTTP_STATUS:
flask_openapi3.utils.HTTP_STATUS["default"] = HTTPStatus(422).phrase

My understanding is that default can be set not only to an error response, but also to a correct response.
There are other ways to specify the default response:

default_response = {
    "default": {
        "description": "Unexpected error",
        "content": {
            "application/json": {
                "schema": {
                    "$ref": "#/components/schemas/Error"
                }
            }
        }
    }
}

app = OpenAPI(__name__, info=info,responses=default_response)

# in APIBlueprint
api = APIBlueprint(__name__, responses=default_response)

# in api
@app.get("/test", responses=default_response)
def get_test():
    ...

but also to a correct response.

Can you link to a spec that mentions this? Two places that I've read mentioned only for error response.
Another way would be to use 1XX, 2XX, 3XX, 4XX, and 5XX like in https://spec.openapis.org/oas/latest.html#patterned-fields-0

There are other ways to specify the default response:

Yes you can create the responses there. But you still link to the default error response (fixed in https://github.com/luolingchun/flask-openapi3/pull/190)

Sorry, I understand that #190 just encapsulates a function(_register_default_error_responses) and doesn't change substantially.
I mean we don't need to make any adjustments for this, because the way to set the default response already exists.

I want to set the default error response to be "default" (i think it's by the spec).
But it breaks in https://github.com/luolingchun/flask-openapi3/blob/0b072ebfa3aee3dfbb60149abf742b8cf97bfe63/flask_openapi3/utils.py#L559
Because it returns a http response with status_code="default".
But that is not needed if I override OpenAPI.validation_error_callback, which I have.
I think merging #190 will make this to not be needed since I can override that function too.
I may be a bit confused because I'm trying to do multiple things at once.
But this issue was to also get your opinion.
So merging #190 will also close this I believe.


Linux port: vulkan layer init & intergration

This PR adds @xytovl's vulkan-wsi-layer to the main ALVR tree and integrates it with the session.json / Settings class to allow for dynamic resolution and refresh rate and also with a connection to transfer Vulkan images to the ALVR CEncoder.
I commented the logging bits in Settings.cpp out for now so it builds but I suspect you'll want them back soon.
Added logging stuff back with my own Logger.cpp implementation.
Relevant wiki page here.

Do we want to rename all wsi_ prefixes to alvr_? I don't think there can be collisions with the proper wsi layer, but we are not doing any window system integration anymore.

@xytovl That seems like unnecessary work to me but if you want to do it, go for it.

Proceeded by https://github.com/alvr-org/ALVR/pull/604.


Should OpenWhisk web actions that return an error HTTP status code be treated as errors?

I'm unsure if this is a bug, or what the desired behavior should be:
I have a function that will return a HTTP status code 404 if it can't find a particular file, e.g. by calling https://adobeioruntime.net/api/v1/web/helix/helix-services/static@ci109?owner=trieloff&repo=helix-demo&ref=master&entry=/index.js&plain=true and it returns 200 when everything is ok: http "https://adobeioruntime.net/api/v1/web/helix/helix-services/static@ci109?owner=trieloff&repo=helix-demo&ref=master&entry=/index.js&plain=true&root=/htdocs"
Both kinds of behavior are expected by the action developer, but not necessarily by the user of the action.
For HTTP requests made by the function, Epsagon treats everything >=400 as an error. Should the same rule apply to HTTP responses returned by the action?
I could also see that only HTTP status codes >=500 should be treated as an error in the action, and 4xx status code indicate an error only from the perspective of the caller, i.e. if it's called externally, then it's not an error, but if observed through #122 then it should be reported as an error, similar to a failed HTTP request.

Hi, In general you are right for this case - but since we will do soon https://github.com/epsagon/epsagon-node/issues/122, I think this one will be irrelevant. right?

No, this and #122 are largely orthogonal. #122 treats the observation of outgoing invocations, and what I'm wondering is how to deal with execution failures that got handled correctly, but are still failures.

Well, it's really depends.
I guess there's no doubt that >=500 should be treated as errors.
For 400 ones - as it indicates a client side error, IMO, since you're at the side that making the call - you want to be notified. Think as if this call was to some 3rd party that you don't own - you would definitely want to know about it.
But as I mentioned, since we are going to implement a specific instrumentation for wsk, we can ignore anything that is not >=500 - so in this specific case it helps you.
Do you think otherwise? We will be able to probably set the 400/500 as a configuration if you think that other developers might want a different behaviour.

In my app, 404 is exceedingly common (not just because we are serving stuff to web browsers, but also because we do speculative requests in parallel). 403/401 would be something to look out for.
It's probably a good idea to add a switch, so you can fine-tune the selectiveness.

:tada: This issue has been resolved in version 1.27.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Slightly rework how this is implemented to prevent meta being used instead of #polls

Whilst this new feature should work much better and is, the whole point of #polls was to be a spammy area for users. This can't happen due to the restriction on the trusted role which few people have, also due to the low position of #polls this is likely to be more widely used by people instead.
If the rank of trusted as given out more widely or the restriction was lifted this would likely cause less issues.

Shorter title plz

The entire reason we had to change the previous #suggestions system was because it was being abused. You misunderstand the point of #polls, it is absolutely not "to be a spammy area for users", and the exact reason it is tied to Trusted is so that we can remove it from people who use it as such, to allow for the people who actually want to poll stuff. However, to make this clearer I've edited the channel description of #polls.

Time for a third revolution I think, everyone join the new server


Access to v2g_scoring_source_weights.tsv

@afaulconbridge, @edm1, @mkarmona, @pieterlukasse
Hi guys,
while loading data to clickhouse I've discovered that external dictionary source file is absent in the project.
Would it be possible to publish this file?
e.g. here or gs:///open-targets-genetics-releases/19.03.03
gs://genetics-portal-data/ seems to be private.

hi @forus . you are absolutely right. Here you have and sorry about it; I will keep this issue open until I get it properly included if you don't mind. Best
v2g_scoring_source_weights.tsv.gz

@mkarmona Has v2g_scoring_source_weights.tsv been changed in the new release? I've gotten different overall scores compared with the public instance.


Fixed headDot

Here the headDot changes in size accordingly to the distance of the enemy so that the dot wouldn't become a nuisance, because enemies further back have really big head dot and enemies closer front have a small head dot. I have also change the headDot into a single circle.

The radius is inversely proportional to the distance of entity
y = k / x
I found that 13.f meters has the perfect radius of 3
So,
y = radius, x = distance
3 = k / 13
k = 39

distance() is basically Pythagoras theorem

Too much mathematics for me

lol, I'm 12 and I just learned Pythagoras theorem in school
Since I changed the filled circle into a circle, and if you insist on making it a filled circle here you go:
static constexpr void renderHeadDot(Entity* entity, const decltype(config.esp[0])& config) noexcept
{
	if (config.headDot)
	{
		Vector head{ };
		if (worldToScreen(entity->getBonePosition(8), head))
		{
			const auto localPlayer{ interfaces.entityList->getEntity(interfaces.engine->getLocalPlayer()) };

			interfaces.surface->setDrawColor(config.headDotColor, 255);

			Vector localPos{ localPlayer->origin() };
			Vector entityPos{ entity->origin() };

			float distanceToEntity{ distance(localPos, entityPos) };

			int rad{ (int)ceil(39.0f / distanceToEntity) };

			int seg{ (int) ceil(rad * 35.0f) };

			for (int i = 1; i <= rad; i++)
				interfaces.surface->drawOutlinedCircle(head.x, head.y, i, seg);
		}
	}
}

Thank you for pull requests

Thanks :)


skhd: could not lock pid-file! abort..

Hi, I've just installed skhd via homebrew, did everything like it was written in instructions and after running command "skhd" I constantly get error:
skhd: could not lock pid-file! abort..
I tried to do things advised in similar threads but none of them fixes that.

I tried to do things advised in similar threads

Care to list what you've tried?

I don't mean to be rude.. but this is an issue with your understanding of what's going on.
The error message indicates that upon launch, it was unable to lock the pid file, meaning that some other process on your system already acquired an exclusive lock.
Now the only reasonable explanation is that you probably followed the installation instructions without actually understanding what they do, as the final step is to launch skhd and have it managed by brew services. This implies that skhd is already running, and so when you afterwards try to run it a second time, manually, it will fail with the above message.
I suppose the instructions could be more explicit, but I don't think it is my job to educate people in terms of how launch services work on macOS.

Yes, I probably don't fully understand how it works. I suppose, once I start service via brew, skhd runs in background and I should be able to access my key bindings. And that's why I get that 'pid' error, as I try to run second instance of skhd.
But there is another problem... Once I run service I am not able to access bindings (even after restarting/logout). On the other hand, when I stop brew service and run command 'skhd' everything works. Any ideas?

Hmm I wonder if this could be an issue related with the config path. Can you try to run it through brew services with the --verbose flag? To set this you need to edit the .plist file for the service. I believe it is located in ~/Library/LaunchAgents/homebrew.<something>.skhd.plist
You probably also need to specify the output files for stdout and stderr, this can be done by adding the following to the .plist:
    <key>StandardOutPath</key>
    <string>/tmp/skhd.out</string>
    <key>StandardErrorPath</key>
    <string>/tmp/skhd.err</string>

The final plist should look something like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Label</key>
    <string>com.koekeishiya.skhd</string>
    <key>ProgramArguments</key>
    <array>
        <string>/usr/local/bin/skhd</string>
        <string>--verbose</string>
    </array>
    <key>EnvironmentVariables</key>
    <dict>
        <key>PATH</key>
        <string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
    </dict>
    <key>RunAtLoad</key>
    <true/>
    <key>KeepAlive</key>
    <true/>
    <key>StandardOutPath</key>
    <string>/tmp/skhd.out</string>
    <key>StandardErrorPath</key>
    <string>/tmp/skhd.err</string>
</dict>
</plist>

Well, it's surprisingly weird but it turns out, that my plist file was empty. I copy-pasted the final plist file that you proposed and it works! There must have been something wrong with the brew installation.
I have one more question. One of my key bindings runs python command. When I press the shortcut through brew service (not command line 'skhd') I get the message: The “python3” command requires the command line developer tools. Would you like to install...
Everything seems to work when I add source ~/.bash_profile to my commands in skhdrc. I suppose it may be caused by my python3, which is installed in /opt/local/bin/.
Is there any elegant way to avoid such things? I mean, to make the commands run as they were run from terminal? This problem doesn't occur when using command line skhd.

what you're asking for (to have commands run from skhd work the same as they do when run from your terminal) is possible, but very complex and beyond the scope of this issue / skhd in general. The reason a solution to your problem is hard has nothing to do with skhd and everything to do with launchd, which is the MacOS init system which runs and manages skhd.
I would suggest you start learning how launchd work, and the execution environment that it runs services in.
The answer to your question lies in the launchd documentation: https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html
good luck


Pipeline management commands

Pre-Flight checklist

[x] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets?
Closes #383
What's this PR do?

Management command for triggering existing website pipelines
Management command for creating/updating website pipelines

How should this be manually tested?

Set the following env variables to the same as on RC:OCW_STUDIO_BASE_URL
GIT_ORGANIZATION

Plus set the following:AWS_PREVIEW_BUCKET_NAME=ocw-content-draft-qa
AWS_PUBLISH_BUCKET_NAME=ocw-content-live-qa
GIT_DOMAIN=github.mit.edu
ROOT_WEBSITE_NAME=ocw-www
CONTENT_SYNC_PIPELINE=content_sync.pipelines.concourse.ConcourseGithubPipeline
CONCOURSE_URL=<QA instance of concourse>
CONCOURSE_USERNAME=<ask me>
CONCOURSE_PASSWORD=<ask me>

Create a website based on a valid github slug (source="github", path=<valid_url>)
Run manage.py backpopulate_pipelines --filter <website.name>
The command should run without errors.
Go to the RC concourse site and verify that an unpaused pipeline exists for the website.
Run manage.py trigger_pipelines --filter <website.name>
The command should run without errors.
Go to the RC concourse site and verify that the pipeline is running a build (which will likely fail because it can't find the git repo, that's okay).
Using the fly CLI (which you can download from the concourse site if you don't already have it), delete the pipeline you created to clean things up:fly -t ocw destroy-pipeline -p draft/site:<site_name> --team ocw
fly -t ocw destroy-pipeline -p live/site:<site_name> --team ocw

Codecov Report

Merging #388 (36123ac) into master (c35b442) will increase coverage by 4.60%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #388      +/-   ##
==========================================
+ Coverage   90.03%   94.64%   +4.60%
==========================================
  Files         135       69      -66
  Lines        4397     1737    -2660
  Branches      681      382     -299
==========================================
- Hits         3959     1644    -2315
+ Misses        395       91     -304
+ Partials       43        2      -41

Impacted Files
Coverage Δ

static/js/util/factories/websites.ts
96.49% <0.00%> (-3.51%)
:arrow_down:

main/sentry.py

content_sync/backends/base.py

content_sync/api.py

content_sync/tasks.py

main/utils.py

content_sync/factories.py

content_sync/serializers.py

...caldev/management/commands/override_site_config.py

repl.py

... and 57 more

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 c35b442...36123ac. Read the comment docs.

@mbertrand I've been testing this and I was able to get a pipeline created on RC, but when I went to trigger it I got the following error:
gumaerc@gumaerc-laptop:~/Code/ocw-studio$ docker-compose run --rm web ./manage.py trigger_pipelines --filter cg-test-course
/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.2) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Creating ocw-studio_web_run ... done
usage: manage.py trigger_pipelines [-h] [-f FILTER] [-s STARTER] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH]
                                   [--traceback] [--no-color] [--force-color] [--skip-checks]
                                   version
manage.py trigger_pipelines: error: the following arguments are required: version

Sorry, needs an argument, "draft" or "live"
docker-compose run --rm web ./ manage.pyhttp://manage.py trigger_pipelines --filter cg-test-course draft
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Carey P Gumaer @.>
Sent: Wednesday, July 21, 2021 4:05:00 PM
To: mitodl/ocw-studio @.>
Cc: Matt Bertrand @.>; Mention @.>
Subject: Re: [mitodl/ocw-studio] Pipeline management commands (#388)
@mbertrandhttps://github.com/mbertrand I've been testing this and I was able to get a pipeline created on RC, but when I went to trigger it I got the following error:
@.***:~/Code/ocw-studio$ docker-compose run --rm web ./manage.py trigger_pipelines --filter cg-test-course
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.2) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Creating ocw-studio_web_run ... done
usage: manage.py trigger_pipelines [-h] [-f FILTER] [-s STARTER] [--version] [-v {0,1,2,3}] [--settings SETTINGS] [--pythonpath PYTHONPATH]
[--traceback] [--no-color] [--force-color] [--skip-checks]
version
manage.py trigger_pipelines: error: the following arguments are required: version
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mitodl/ocw-studio/pull/388#issuecomment-884463094, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AABN2HAYPIG4MZZWXRGW2J3TY4R6ZANCNFSM5ANSFEEQ.


hotkeys: Change * to Ctr+s for starring a message.

Users don't have muscle memory for * on their keyboard. Ctr+s is also nicely analogous with "saving" a message/thread.
Note that Ctr+s should both star and unstar a message, just like * does now.

Tagging this as a priority, since I think this is high-value.

@zulipbot claim


Update ta state

We decided that it's wrong to save empty Results in DAP. Instead we set the status of Threat Assessment to finished or error to indicate whether comparing finished successfully or failed.

It seems ok from my standpoint. @tbartynski if you are happy with it merge at will.


Cardinality Problem does not fit

@SmalsJulien @annenerenhausen ,
from #400
Problem cardinality is 0..*, this field should be mapped to reasonCode, which is in the current profile 0..1
please provide advice!

It appears that in business templates for Nursing, the prescriber has to select at least one problem. (based on this statement, it would then be 1..*)


investigate why #1020 added 6 allocations per connection

#1020 adds 6 allocation per connection (pair) and it's not entirely clear to me why that is, we should investigate that.

dupe of #1047


Navbar icon bars do not appear in Windows High Contrast theme

Navbar .icon-bar elements do not appear in High Contrast theme in Windows. Adding a transparent border to the element makes them visible.
Image example of bug in High Contrast theme:

Image example of fix in High Contrast theme:

Example CSS:
  .icon-bar {
    ...
    border: 1px solid transparent;
  }

v3 is no longer maintained. If you would like you can submit this again against v4-dev.
A pointer for next time, don't run grunt dist, only edit the .less (v3) or .scss (v4) files

@wolfy1339 Great :) I'll work to get that into V4 if it persists there. So no need to compile or build after .scss edit?

closing in favor of https://github.com/twbs/bootstrap/issues/21269
(the issue is broader in v4 due to use of SVG backgrounds. simply adding a transparent border won't fix the problem there, likely only solution will be to rethink the approach for critical cases like the hamburger menu)


A topology UI extension

Context
When running services under Tilt, I'd love to have a UI that would show me the topology of the running services. Examples would be:

Apache Skywalking's topology
Datadog's service map

(I know that the above examples are APMs, and then use the telemetry to determine the connection between services)
Question(s)

Is it possible to construct a dependency graph based from Tilt's context?
Is it possible to build this as an extension?

Ah perfect! That gives me an idea already
What about for modifying UIs? As I browse this repo, I see v1alpha1.ui_button uibutton. Are there other points of extension - e.g., a panel to render this hypothetical graph?

P.S.: For starters, I'll start with just printing on the UI


php: composer2 as default composer

Motivation for this change
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 114554 at ad990d49 run on x86_64-linux 1

10 packages built:

adminer
php73Packages.composer
php73Packages.composer1
php73Packages.php-parallel-lint
phpPackages.composer (php74Packages.composer)
phpPackages.composer1 (php74Packages.composer1)
phpPackages.php-parallel-lint (php74Packages.php-parallel-lint)
php80Packages.composer
php80Packages.composer1
php80Packages.php-parallel-lint

2 suggestions:

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/php-packages/composer/1.x.nix:18:3:
   |
18 |   installPhase = ''
   |   ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/development/php-packages/composer/default.nix:18:3:
   |
18 |   installPhase = ''
   |   ^


Not working on linux (CachyOS)

No logs either just not working extracted directly to game folder

Please tell me what you need from me. Thanks!

My bad i misspelled launch command


Fix typo s/nett4/netty4/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/31/


WICKET-5926 - Arquillian Java EE 6 Support with Container ServletContext in BaseWicketTester/WicketTester.

I'm using Wildfly example from
https://github.com/wildfly/quickstart/tree/master/wicket-war
Made some modifications and added an Arquillian Test configured and
running, everything passing, and has some LOG to help to understand.
To run for the first time just type: mvn install
Then mvn test.
Import to Eclipse (or any IDE), and run the example inside, to debug,
has to run the test normally and connect as remote.
Not necessary to download any Application Server, the maven plugin
already do this for you (It's managed).
Signed-off-by: Felipe C Almeida<EMAIL_ADDRESS>

This Pull is to help understand the improvement at JIRA - https://issues.apache.org/jira/browse/WICKET-5926

I'm using JDK 8 here.
So if you uses JDK 7, you have to change the file arquillian.xml, on the property javaVmArguments. Change the parameter:
-XX:MaxMetaspaceSize=128m
to
-XX:MaxPermSize=128m

Using Arquillian with Java EE 6 (CDI+EJB+JPA) and Wicket and the applied the patch suggested. Was so fast and I the configuration is less than before.

I've added some comments - we have to upgrade to latest Wicket. I can help here if you want.
I don't see the change in BaseWicketTester in this PR. Please add it so we can review it too.
Thanks!

Hi Martin,
Thank's for these suggestions.
Ok, I understand now. I thougth that I've just to PR the example and not everything.
I'm going to change everything as you suggested.
But are the merges then going to be replicate to wicket 6.x and another versions? Here in my projects I'm using yet wicket 6.x.

The example/demo/test will be part of Wicket from now on so we have to adapt it (package names, versions, etc.).
I guess the example will be only in 7.x but the just improvement in BaseWicketTester will be in 6.x as well.

Do I have to change the Header license? Actual is:
{code}

{code}

Done! I hope that's all.
If you need more information just send.
Thank's.

Just minor nitpicks.
Looks good to me!
Thanks!

Martin,
Thank you for your patience and help!
My projects and those tests are also using the project https://github.com/ingwarsw/arquillian-suite-extension. I had to search a while because before using this project, Arquillian , I think that's by default, deploys micro deployments.
It's kind of easy to use. To summarize, it take all tests and do just one single deployment, so the deployment time is less than doing micro deployments as Arquillian does. Arquillian in future could use this idea, it's worthwhile. It's working great and a project with lots of tests and big tests runs fast!

It seems your branch is too far from current master. I have problems to merge it locally.
Could you please rebase it and probably squash your commits into one?
Thanks!

Sure!
I don't know how to do and I'm learning right now. My first time doing a rebase. Just a minute or two.

I think I did as expected. I hope.

Many thanks, Felipe!

Whoops, I forgot to change the folder name. Sorry!
Thank you! I can't wait for a snapshot and a release, I hope it is going to be soon! :D


Multiples nodes in a cluster

Hi,
I have 4 nodes in my cluster and I can see in RethinkDB Admin UI that all 4 are connected to a cluster.
1.) How to I know that also BigchianDb communicates/votes in a cluster via all 4 nodes. I have added the 3 other public keys to the Keyring of each server. How can I test the setup ?
2.) What is your recommendation to setup replication and shards to scale out on each node ?
Unfortunately I can't find anything in the documentation on this topic
BTW, each of the 4 nodes is an legally independent company and the server will be cross different countries
Best, Michael

You can check the votes in the block. The block document itself should contain the key voters with a list containing the 4 public keys of the nodes. And after a block as been voted you should see each node appending their vote to the block https://bigchaindb.readthedocs.io/en/latest/models.html#the-vote-model
Regarding sharding for best performance and data distribution you should set the sharding to the number of nodes in the cluster. You can do this using https://bigchaindb.readthedocs.io/en/latest/bigchaindb-cli.html#bigchaindb-set-shards. This only needs to be done once on a node since the configuration change replicates through the cluster.
For replication it depends on the fault tolerance you want. You can find more information here https://rethinkdb.com/docs/failover/

BTW, each of the 4 nodes is an legally independent company and the server will be cross different countries

Nice =)

I've started working on documentation about how to set up and run a decentralized BigchainDB federation (see Issue #331). It's a big topic so I decided to create a separate set of docs to cover it. I've started on those docs and hope to have the first bits live next week.

I have a similar question as @gekko68 . I created a RethinkDB cluster with 3 nodes. And I started bigchaindb in all the three nodes. When one of the nodes created a block, I could see only 2 votes even though there are 3 nodes in the RethinkDB cluster. And out of those two votes, one vote is positive and the other is negative vote. But it is supposed to be a valid block. Because of this, when I run get_owned_assets() method, it doesn't return anything. Am I missing something? Thanks in advance..

Thanks a lot.. Now it works perfectly.. :-)

I updated and added to the documentation so now it explains more about how to set up a federation, including keyring, sharding and replication.