Update compatible versions of smetrics, cats-helper & cats

Update smetrics to 0.3.4
Update cats-helper to 2.7.6
Update cats-core to 2.6.1
Update cats-effect to 2.5.4

@Z1kkurat - could you please review and create release 3.2.2


A small update of libkermit

Using compose/check package (and less code) 🐍.
Let see how it goes.
🐸
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

LGTM!


Zero mAP when testing

Similar to #671 I am getting all zeros for test results, but there is no answer as to why in that post. Like this previous post, it seems as though i am getting non-zero mAP from manual insepction and from the training loss.
Can anyone explain how they might have fixed it?

hey @rkruegs123 , any update on this? I too am facing this issue. The training loss decreases well, but when I run test_net.py I get 0 mAP for all classes

I met the same issue , have you solved it ?

Do your labels have space or upper cases?
In pascal_voc.py, cls = self._class_to_ind[obj.find('name').text.lower().strip()]
This code causes your labels mismatch to classes.
Maybe you should modify 2 places:

self._classes = (...) Make sure classes are same as your labels.
cls = self._class_to_ind[obj.find('name').text]

Do your labels have space or upper cases?
In pascal_voc.py, cls = self._class_to_ind[obj.find('name').text.lower().strip()]
This code causes your labels mismatch to classes.
Maybe you should modify 2 places:

self._classes = (...) Make sure classes are same as your labels.
cls = self._class_to_ind[obj.find('name').text]


Fixing link for OWNERS in Readme

What type of PR is this?
bug
(bug/feature/cleanup/documentation)
What this PR does / Why we need it?
This PR intends to fix broken link for OWNERS file in Readme
Which Jira/Github issue(s) does this PR fix?
Resolves #
Special notes for your reviewer
Pre-checks (if applicable)

[ ] Ran unit tests locally
[ ] Validated the changes in a cluster
[ ] Included documentation changes with PR

Codecov Report

Merging #59 (16ef3e1) into main (2b2cfe7) will decrease coverage by 1.06%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
- Coverage   42.94%   41.88%   -1.06%
==========================================
  Files          37       37
  Lines        2140     2194      +54
==========================================
  Hits          919      919
- Misses       1078     1132      +54
  Partials      143      143

see 1 file with indirect coverage changes


Create WeatherApp.tsx

This code defines a React component called WeatherApp that displays the current weather for a given city. The component uses the useState hook to store the current weather data and the city name, and the useEffect hook to fetch the weather data from the OpenWeatherMap API whenever the city name is updated. The component also contains a form with an input field for the user to enter the city name, and displays the weather data using Tailwind CSS for styling.

lgtm


Add API for Python binaries watcher

Codecov Report

Merging #14492 into main will increase coverage by 0.04%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##             main   #14492      +/-   ##
==========================================
+ Coverage   59.19%   59.23%   +0.04%
==========================================
  Files         720      720
  Lines       40211    40357     +146
  Branches     5829     5854      +25
==========================================
+ Hits        23802    23907     +105
- Misses      15147    15185      +38
- Partials     1262     1265       +3

Impacted Files
Coverage Δ

.../pythonEnvironments/common/externalDependencies.ts
64.86% <66.66%> (-1.81%)
:arrow_down:

src/client/common/platform/fileSystem.ts
79.92% <75.00%> (-0.08%)
:arrow_down:

.../pythonEnvironments/info/environmentInfoService.ts
91.42% <0.00%> (-8.58%)
:arrow_down:

src/client/common/utils/platform.ts
60.00% <0.00%> (-8.00%)
:arrow_down:

src/client/terminals/codeExecution/helper.ts
14.10% <0.00%> (-5.90%)
:arrow_down:

src/client/linters/pydocstyle.ts
86.66% <0.00%> (-2.23%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
75.38% <0.00%> (-1.54%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0.00%> (-0.73%)
:arrow_down:

...pythonEnvironments/common/environmentIdentifier.ts
96.77% <0.00%> (-0.20%)
:arrow_down:

src/client/datascience/constants.ts
99.78% <0.00%> (-0.01%)
:arrow_down:

... and 13 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 20349f2...ca128ce. Read the comment docs.


'could not import' error coming from gotype

What version of dep are you using (dep version)?
installed from homebrew (my version of dep has no version command...?)
brew info dep gives > dep: stable 0.3.0 (bottled), HEAD
What dep command did you run?
dep init
What did you expect to see?
that gotype would not produce any errors during linting.
What did you see instead?
gotype give the error:
monitor/monitor.go:10:2:error: could not import github.com/docker/docker/api/types (/Users/Jeff/Development/go/pkg/darwin_amd64/github.com/deltaskelta/docker-alertd/vendor/github.com/docker/docker/api/types.a: cannot import, possibly version skew (unknown export format version 5 ("version 5")) - reinstall package) (gotype)

This is my first time using dep and I could not find any references by googling. The package builds ok, but my linter is always showing errors here. I understand the issue may be from gotype as well, but I don't see why the import should have any reason to fail

hi, welcome, thanks for the issue! i agree with google, this is also my first time seeing this :)
so, to be clear, dep init exited cleanly and gave you a Gopkg.toml, Gopkg.lock and vendor, and then gotype failed with this error afterwards?

right, and FWIW gotype was throwing no errors when vendor/ was removed. I believe it has something to do with nested vendor directories but I am not too sure

phew :)


[stable/traefik] Add option for enabling Jaeger or Zipkin tracing

What this PR does / why we need it:
This PR adds options to turn on the Opentracing implementations already included with traefik. See https://docs.traefik.io/configuration/tracing/ for more information on this feature.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #5157

/ok-to-test

/assign @krancour

/assign @dtomcej

/lgtm


chore: standardize naming, move files to locale dir

FAILED action/github/test/test_skill_resources.py::TestSkillResources::test_skill_setup - AttributeError: 'EasterEggsSkill' object has no attribute '_core_lang'. Did you mean: 'core_lang'?

This looks like a bug in the test, not so much the skill itself... grep -R '_core_lang' . returns nothing.


Undo moves

Adds ability to undo moves in a classical game of chess. 16 tests were added to ensure correct functionality.
NOTE: This has not been explicitly tested against chess variants, but all existing tests still pass.

Nice! This week I'll look at how it performs on the variants - I believe it will break on some and work on some others - and make changes for them if necessary.

The behavior for variants is as I expected.
Works for: antichess, king of the hill, horde, and racing kings.
Breaks for: crazyhouse (pockets), atomic (explosions), three-check (checks counter). These three throw NotImplementedException for now.
Thanks for the PR!

Is there a chance that it ends up on nuget?

yes. Thanks for the reminder!

@Sopel97 Sorry for the wait. I uploaded a new version (0.12.0) to NuGet.


[red knot] add Type::is_disjoint_from and intersection simplifications

Summary

Add Type::is_disjoint_from as a way to test whether two types overlap
Add a first set of simplification rules for intersection types

S & T = S for S <: T
S & ~T = Never for S <: T
~S & ~T = ~T for S <: T
A & ~B = A for A disjoint from B
A & B = Never for A disjoint from B
bool & ~Literal[bool] = Literal[!bool]

resolves one item in #12694
Open questions:

Can we somehow leverage the (anti) symmetry between positive and negative contributions? I could imagine that there would be a way if we had Type::Not(type)/Type::Negative(type), but with the positive/negative architecture, I'm not sure. Note that there is a certain duplication in the add_positive/add_negative functions (e.g. S & ~T = Never is implemented twice), but other rules are actually not perfectly symmetric: S & T = S vs ~S & ~T = ~T.
I'm not particularly proud of the way add_positive/add_negative turned out. They are long imperative-style functions with some mutability mixed in (to_remove). I'm happy to look into ways to improve this code if we decide to go with this approach of implementing a set of ad-hoc rules for simplification.
Is it useful to perform simplifications eagerly in add_positive/add_negative? (@carljm) This is what I did for now.

Test Plan

Unit tests for Type::is_disjoint_from
Observe changes in Markdown-based tests
Unit tests for IntersectionBuilder::build()

Can we somehow leverage the (anti) symmetry between positive and negative contributions? I could imagine that there would be a way if we had Type::Not(type)/Type::Negative(type), but with the positive/negative architecture, I'm not sure.

FWIW, I'm quite open to the idea that we discard the positive/negative approach in favor of a Type::Not, if it makes intersection simplification easier.


error about missing gene product even when I've autocompleted one by hitting return

When I type in something like "Bbs2 Mm" into the Gene Product field, and then hit return because it is the first choice in the list, it fills in the appropriate gene symbol, species, and ID into the Gene Product field. However, the SAE form does not seem to recognize the fact that the field is filled because even after I enter a minimum amount of information that should activate the SAVE button, it does not activate, and you can see the explanation for why it is not active is in the screenshot below. This only seems to happen when I initially fill in the field. If I go back to the field, I can delete what is there and type in exactly the same string and hit Return, just as I did the first time, and it now works.

@krchristie - is this still an issue for you?
I just tried the example you gave above and it seems to work okay now.
Thx.

@vanaukenk @krchristie I think this was solved. Is it still an issue? However, related issue is we have to keep an eye after neo reload as sometimes doesn't resolve some urls tagging @kltm hpps still showing


How do I install a specified version library？

In my project，we need openssl1.1，buf vcpkg installed is 3.0.7 default，how do I install the openssl1.1.1?


Add CancelPendingRequests in VolatileLayerClient

Add Add CancelPendingRequests in VolatileLayerClient and provide it
implementation. Add test DataserviceReadVolatileLayerClientTest.CancelPendingRequestsPartitions.
Resolves: OLPEDGE-1094
Signed-off-by: Diachenko Mykahilo<EMAIL_ADDRESS>

Test is dependent on https://github.com/heremaps/here-olp-sdk-cpp/pull/420


Holes in type signatures

It would be really convenient to allow signatures like
#[flux::sig(fn() -> Option<_>))
fn foo() -> Option<Option<i32>> { ... }

which automatically fill in the hole with the relevant rustc thing (here, Option<i32>) but I think the current split with resolver and zip_ty makes rather difficult...

This was implemented in https://github.com/flux-rs/flux/pull/438


Fixed button layout for Create Project.  Tested on all but IE.

closes #2062

Nice :+1:

@ticklemepierce see my comments on https://github.com/CenterForOpenScience/osf.io/pull/2777

As @chennan47 said, try to follow COSDev's guidelines for creating a feature branch and adding a PR description. Given that this is a small fix, it's fine to simply link to the issue it addresses. It never hurts to get in the habit of writing descriptive PR descriptions, though =).


New no added sensors page

Description:
In designs there is new no added sensors page to be added to 2.0

Related card: https://github.com/ruuvi/com.ruuvi.station/issues/916
Main card: https://github.com/ruuvi/com.ruuvi.station/issues/854

@andreevdenis added 1 new local sensor and removed it, I see the old add new sensors page.
Please remove the old add sensors page from app, we will only use the new one.

It actually was a sensor card without sensor. Now I've changed behavior and after removing sensor user will go to dashboard.

QA passed


Update release notes labeling

fix retrieve PR script to handle commits with unrecognized/invalid PR numbers, such as in 7b6b2d000023e2aa3365b769866c5f375e0d5fda
add modifications similar to pytorch's #71917, #72085

I am curious, why not making it a CI job and simply make it merge blocking job?

Wanted to try resolving the current approach if changes were simple, as most of the scripts and setup are already implemented. I'm not as familiar with implementing the CI job yet, but if this is still not working or if the team prefers (or if you'd like to make the change), happy to use a CI job to replace this instead.


Related to #4493 Only expunge an instance if all tasks are terminal

Note: we're missing lots of unit tests in this area, I will add some

Thanks!


Rawgit is going away

@theo-armour - https://rawgit.com/ is going away...

What shall we do?

@afomi
A bit of a slow response. Sorry.
Here is where I will be documenting my research:
http://www.ladybug.tools/spider/#pages/content-delivery-network.md
I will keep you informed about updates and conclusions


Dispatch time 0 doc

The documentation does not make it clear that DispatchTime(uptimeNanoseconds: 0) produces a value that represents the current nanoseconds since boot, not the time of boot. The fix adds a documentation comment to that effect.
(Radar 28814085)
Resolves SR-2807.

@swift-ci please smoke test

Shouldn't it be added here as well?

Yes, that’s a different PR ;-)
Kim

On Feb 8, 2017, at 2:49 PM, Maxim Moiseev<EMAIL_ADDRESS>wrote:
Shouldn't it be added here https://github.com/apple/swift/blob/master/stdlib/public/SDK/Dispatch/Time.swift#L37 as well?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/apple/swift-corelibs-libdispatch/pull/210#issuecomment-278488214, or mute the thread https://github.com/notifications/unsubscribe-auth/AYFzK7pBUJO7QMCheiP-uZkaHEZBz5xZks5rakaDgaJpZM4L7d81.

please  don't merge PRs with merge commits, branches should be rebased and flattened before merging them to trunk for a clean history.


Description Box Bug

The image url remains in the description box after the dialogue box for the url input goes away. Not sure why it does this

Claiming this issue :)


Rails Helper Suite

It would be nice if bootstrap-sass had a series of Rails helpers that would make common tasks with bootstrap easier.
On the provisional list are:

Form helpers (no 1 priority really, cause bootstrap forms are a pain to markup)
Headings
Common structural blocks

FYI I don't know if you spotted this little GEM - its pretty neat and JustWorked TM -- I am not the author but -- was wanting the same thing

This would be great!

+1

+1

I think some simple helpers would be useful. For forms, I am content using the simple_form bootstrap configuration.
https://github.com/rafaelfranca/simple_form-bootstrap

There are some good helpers out there already, gonna leave this one for 2.0.


Bootstrap WebSocket with HTTP/2

https://tools.ietf.org/html/rfc8441

The question is — is it worth the effort?
The main driver behind RFC 8441 is the desire to multiplex HTTP and WebSockets over the same connection:

The result is a tunnel on a single HTTP/2 stream that can carry data for WebSockets (or any other protocol).

This tunneled stream will be multiplexed with other regular streams on the connection and enjoys the normal priority, cancellation, and flow-control features of HTTP/2.

This design was selected to minimize the solution complexity while still addressing the primary concern of running HTTP/2 and WebSockets concurrently.

This is irrelevant to websockets because it doesn't aim at supporting HTTP beyond the minimum required to open a connection.
In the end, this would only result in a more complicated opening handshake, a complex and unnecessary connection management system (as we'd have only one connection), and 9 bytes of HTTP/2 framing added to every WebSocket frame, for no benefits in practice.
Thinking about benefits that I could be missing, I came up with "ability to connect to a server that supports HTTP/2 but not HTTP/1.1" — I don't think this exists in practice!


Wire in chain processing logic

This puts the state transition logic together into a chain module.

eth2genesis handling is mostly complete

the chain module listens to the eth1 module for the eth2genesis event, then creates the genesis state/block and stores in the db

Block processing is wired in, with minor adjustments to the underlying logic
Fork choice is stubbed out, not currently using our lmd ghost
needs tests for

genesis event
processing block
applying fork choice rule

IM SO EXCITED GREAT WORK

CC: @decanus THIS IS PROGRESS

Just went through all the logic one more time, everything seems very solid imo and would be good for a PR depending on how much more logic you want to add in

Yeah, I think we should merge this and add further functionality in later PRs. I think it will be easier to debug the state transition stuff once we move our slots/epochs/validator indices from bignums to numbers.

This should be ready for re-review.
The failing tests are from rebasing on master, looks like linter errors from the recent validator client work.


Custom per-file cache size

Hello there! Wonderful and impressive project you've got. Thanks for your work.
I'm trying to get SQLite to work on top of littlefs, so far it seems like a pretty smooth ride. However one thing I'm curious about is if there's any conceptual problem in having certain files have larger cache size. Currently stock VFS demo examples have their own write cache just for the journal file (8kb that is), while other files just fall back to whatever FS does (which in case of LFS is cache_size cache). I have an option to keep that SQLite own's write cache, but i was looking into re-using the cache used within the LFS instead.
So LFS has the same cache size for all files as specified by cache_size. Explicitly provided buffer has to be of cache_size. The code refers lfs->cfg->cache_size in a bunch of places. However from a cursory glance it seems that it is not fundamentally incompatible in using cache.size instead.
I would provide external buffer with size larger than lfs->cfg->cache_size, and then adjust  file->cache.size explicitly. Would that be a bad idea? I could make a PR to adjust uses of cfg->cache_size if this isn't too dumb

Aww yeah. i guess i'm wrong. LFS computes cache->size on the fly and limits it to lfs->cfg->cache_size. So the only way would be to add a new field to lfs_file_config, and even then it would require some other code adjustments to pass it around

Hi @Inviz, glad you find the project interesting.
I think I have looked into this before, though I can't find which issues at the moment. The extra flexibility of per-cache sizes would be nice to have, though it would come at a tradeoff of additional code-size (though probably not enough to worry about). It might get a bit tricky because cache_size is also used to decide the cutoff for inline-files, but different limits for inline-files should be handled internally, worst case you might expose untested bugs there.
It is worth noting that LittleFS doesn't take advantage of cache sizes larger than the block_size, so if you're expecting to keep a large, multi-block file around in the cache, it probably won't provide much benefit.
I also want to point out that LittleFS does not handle random file-writes performantly (https://github.com/littlefs-project/littlefs/issues/27), and my understanding is that SQLite relies on random writes pretty heavily. It might be fine for small databases, and it's always a good idea to measure performance to see if it's acceptable for your use case, but I just want to make sure that doesn't come as a surprise.

Thanks a lot for the response.

It is worth noting that LittleFS doesn't take advantage of cache sizes larger than the block_size, so if you're expecting to keep a large, multi-block file around in the cache, it probably won't provide much benefit.

I see now, then yes it doesn't make a lot of sense to try having a large cache on file in my use case. I'm using sdcard with 512 block_size. It could be more useful for other cases, but that might be less relevant.

I also want to point out that LittleFS does not handle random file-writes performantly (https://github.com/littlefs-project/littlefs/issues/27), and my understanding is that SQLite relies on random writes pretty heavily. It might be fine for small databases, and it's always a good idea to measure performance to see if it's acceptable for your use case, but I just want to make sure that doesn't come as a surprise.

Yeah, I've seen that issue and another related one... not sure what to say here, I guess I didn't want to think about it :) It does make things more complicated for sure. I understand that it could be possible to use WAL (Write Ahead Log) in SQLite to reduce amount of random writes, but it comes at the cost of read speed. It looks like it could also be possible to split databases into multiple separate files, separating rarely updated tables from hot ones... Either way it's a bit clunky and has tradeoffs.
Do you think LFS may get some sort of optional code path to alleviate the issue of random writes? I don't expect there can be ideal solutions, but some choice would be really helpful.

I came up with idea to let littlefs manage filesize via custom attribute and empty files, and then use raw disk writes to actually maintain sqlite files. The database already has a data recovery mechanism, so I can probably get good behavior from it. The tricky part as it seems right now is making sure filesize metadata doesnt desync from the written files.

Then I will use raw disk writes to actually maintain sqlite files bypassing littlefs

Note this discards wear-leveling (though you note the database handles power-loss).
Wouldn't it be better in this case to store the database in a separate partition next to littlefs? I don't have code available, but an MBR partition table is a very simple partition scheme with tooling on every system.

It looks like it could also be possible to split databases into multiple separate files, separating rarely updated tables from hot ones...

It might take a bit of code to tie into SQLite, but just splitting the file into equal chunks as separate files would improve the performance. Agree it is unfortunately clunky...

I'm using sdcard with 512 block_size.

You can always set LittleFS's block-size to a multiple of the physical block-size. This can moderately improve some of the performance around allocation at the cost of reducing granularity. Most other filesystems support this for similar reasons which is why FAT usually defaults to 8 KiB logical blocks (called clusters over there).

Do you think LFS may get some sort of optional code path to alleviate the issue of random writes?

This is something I'm exploring, but it will be a big change to the LittleFS internals. So unfortunately it won't be ready or usable for a while. (The best option so far is to rip out the existing file data-structure and replace it with a B-tree, but this raises some problems with how files interact with block allocation.)

Note this discards wear-leveling (though you note the database handles power-loss).
Since I use sdcard which are supposed to have its own wear-levelling system it seems it should be OK. Though I am winging it here at this point. Making stuff up as I go.

Wouldn't it be better in this case to store the database in a separate partition next to littlefs? I don't have code available, but an MBR partition table is a very simple partition scheme with tooling on every system.
I'll need to read up on this to see the implications of using MBR or other partitioning schemes. I wanted to in fact to reserve a portion of sd-card for sqlite and its files, allocated very generously. Say 4gb for main db file, and then in hundreds of megabytes for each temp file. I want to do it in a way that everything has fixed hardcoded addresses that i can write to. The only technicality is that SQLite sometimes wants to know file size of the files, so I would need to store that somewhere in a way that wouldn't be corruptable. I was thinking of doing it in the littlefs, but i gather that could be a bit overkill. But i was thinking that i could make this strategy work by wrapping littlefs with my custom behavior. So instead of having two separate FSes, i could opt-in into the weird raw disk storage by setting a custom attribute on the file (e.g. I call it raw fixed address) which would do my custom writes and reads in place of what LFS does internally.

You can always set LittleFS's block-size to a multiple of the physical block-size. This can moderately improve some of the performance around allocation at the cost of reducing granularity.
Thanks for the tip! I think I can consider that in the future. I can see how that can make things easier a bit

This is something I'm exploring, but it will be a big change to the LittleFS internals. So unfortunately it won't be ready or usable for a while.
Thanks for a honest answer and I understand how difficult the task is ahead of you. No software project is perfect, and your work already does a good job for a lot of use-cases. So I appreciate what you've done.


Sheer indexing

Additions

pulls in @Scotchester's sheer indexing branch (thanks, @Scotchester!)
adds custom field handling in journey processor

Changes

adapts journey template to use data pulled from sheer
temporarily points all process pages to prepare-to-shop phase (this should fix the failing tests. hopefully.)

Review

@cfarm
@Scotchester

Were you able to get the tests to pass by running behave -k features/navigation.feature -t=-prod_only -t=landing_page locally?

Nevermind, I ran the test locally and they pass :+1: reviewing rest of code now!

This looks good and is working well with the updated WYSIWYG fields :+1:

@virginiacc Smoke tests are still failing on the Process subpage links.


feat: add mapNonEmpty to Chunk and List

I think updating the map api to preserve the type is a better option. Do you want to give this a shot?

I think updating the map api to preserve the type is a better option. Do you want to give this a shot?

Sure. I tried to have the api coherent with other modules.

Here is some inspiration:
diff --git a/src/List.ts b/src/List.ts
index 05d9386fc..ea252a421 100644
--- a/src/List.ts
+++ b/src/List.ts
@@ -79,6 +79,24 @@ export interface Cons extends Iterable, Equal.Equal, Pipeable, Inspectable
   readonly tail: List
 }

+/**
+ * @since 2.0.0
+ * @category models
+ */
+export declare namespace List {
+  /**
+   * @since 2.0.0
+   * @category models
+   */
+  export type Infer<T extends List<any>> = T extends List<infer A> ? A : never
+
+  /**
+   * @since 2.0.0
+   * @category models
+   */
+  export type With<T extends List<any>, A> = T extends Nil<infer _> ? List : Cons
+}
+
 /**
  * Converts the specified `List` to a `ReadonlyArray`.
  *
@@ -717,8 +735,8 @@ export const last = (self: List): Option.Option => isNil(self) ? Option
  * @category combinators
  */
 export const map: {
-  (f: (a: A) => B): (self: List) => List
-  (self: List, f: (a: A) => B): List
+  <T extends List<any>, B>(f: (a: List.Infer<T>) => B): (self: T) => List.With<T, B>
+  <T extends List<any>, B>(self: T, f: (a: List.Infer<T>) => B): List.With<T, B>
 } = dual(2, (self: List, f: (a: A) => B): List => {
   if (isNil(self)) {
     return self as unknown as List

For now, I'm going to merge this PR since the new APIs are consistent with the existing ones in other modules. I've opened a new issue to track the proposal for unification (https://github.com/Effect-TS/effect/issues/1520).


rpc: remove HTTP proxy support

Closes #1342 by removing all use of hyper-proxy, and the HTTP proxy support in tendermint-rpc client which requires it.

[x] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[ ] Wrote tests
[ ] Added entry in .changelog/

@tony-iqlusion, IIRC you needed HTTP proxy support, which drove the work in #820 right?

HTTP CONNECT support seems doable in house by following the doc on protocol upgrades.

How bad is that vulnerability in practice? I would expect that people will use proxies that they know and trust, and worst case that their VM running Hermes coming to a halt in case the proxy server is compromised to not have major consequences but I could be wrong. So perhaps before removing code that might be helpful to some of our users, although I am always partial to deleting  code and tidying up dependencies, we should (a) assess the actual severity of the vulnerability for our use case and (b) see if we can wait it out a bit and push for the community to move to a better maintained alternative. What do you think @mzabaluev @tony-iqlusion  @thanethomson?

@romac I have commented on the issue. Indeed the potential for exploiting this is quite limited. I've also started looking into implementing HTTP CONNECT transport on our own, which does not seem like a big thing to do (even though we need to set aside a day or two for this).

Let's preserve the functionality and go with #1362 instead.


prometheus restart is very slow

Bug Report
What did you do?
restart my prometheus
What did you expect to see?
restart quickly
What did you see instead? Under which circumstances?
restart very slow (after 1 hour,also not ready )
Environment

System information:
Linux 3.10.0-862.el7.x86_64 x86_64

prometheus version is 2.9.2

Thank you for your report, starup times are already discussed in #6526.

thanks


inspectors/fs: implement Fsync

Required by TiKV community: https://github.com/pingcap/tikv/issues/846

I used this tool for testing: https://github.com/gregsfortytwo/fsync-tester/blob/master/fsync-tester.c

Coverage decreased (-0.1%) to 40.58% when pulling 7e274065bc31527377889f7c428c42926327c14a on suda/wip into 2f8d65f9d6dc16b07d2a11dee55ef91d1a404ac1 on master.


fix truncate table

fix #113, #105

@nautaa  welcome back, my boy! And you understand the idiom in store. It is great.
This impl is OK for serial execution but broken for concurrent working.

It is better to first remove the meta then remove the data.
it is better to do meta removal in a transaction. I mark this as optional. Just have a try. there are some examples around the codes.

@jinmingjian thanks for your advice, the transaction in sled is not support iter() method, so I use the lock in PartStore.


Find robust approach to draw bokeh grid axes

hmap = hv.HoloMap({str(i)+'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa':hv.Curve([1,2,3*i]) for i in range(3)})
hmap.add_dimension('dummy',0,0).grid()

results in
Javascript error adding output!
Error: unsatisfiable constraint
See your browser Javascript console for more details.

in the notebook
Bokeh: BokehJS plotting callback run at Tue Jul 04 2017 12:48:52 GMT+0200 (CEST)
VM1113:121 [bokeh] WidgetBox mode is fixed, but no width specified. Using default of 300.
main.min.js:21348 Error: unsatisfiable constraint
    at t.addConstraint (eval at append_javascript (main.min.js:21632), <anonymous>:177:863)
    at t.add_constraint (eval at append_javascript (main.min.js:21632), <anonymous>:94:6935)
    at e.r.CanvasView.e.set_dims (eval at append_javascript (main.min.js:21632), <anonymous>:117:22590)
    at e.r.PlotCanvasView.e.render (eval at append_javascript (main.min.js:21632), <anonymous>:123:6361)
    at e.r.PlotCanvasView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:123:5779)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)
    at e.r.LayoutDOMView.e._layout (eval at append_javascript (main.min.js:21632), <anonymous>:121:12321)

Have fixed the concrete issue above but the code that computes the appropriate sizes for the grid axes is somewhat brittle regardless. I've therefore repurposed this issue to find a better approach to draw the GridSpace axes with an appropriate size.


CB-12099 [Android] Documented SplashScreenBackgroundColor

Platforms affected
Android
What does this PR do?
Documented SplashScreenBackgroundColor
What testing has been done on this change?
Previewed markdown
Checklist

[x] Reported an issue in the JIRA database
[x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[ ] Added automated test coverage as appropriate for this change.

Closing as per the discussion and decision to move splashscreen plugin functionality to the platform code instead.


fix(android): link color crashes below API 25

Context here https://github.com/nativescript-community/ui-label/issues/17#issuecomment-1684685740

@nikoTM this would prevent linkColor for working below 25.
I fixed it the right way. thanks

@farfromrefug thank you, I didn't have enough knowledge on how Color works to touch Java files and I was under the impression that alpha will get lost in the transition to int since the color spaces were not supported below API 26.


MINOR: Add explanation for disabling forwarding from value transformers

Improve code to be self documenting, in cases where forwarding of messages is disabled due to the type of processor being used,

Retest this please.

@astubbs -- build failed with SpotBug error

Retest this please.

retest this please

Retest this please.

Checkstyle error:
> Task :streams:checkstyleMain
07:47:53 [ant:checkstyle] [ERROR] /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk14-scala2.13/streams/src/main/java/org/apache/kafka/streams/processor/internals/ForwardingDisabledProcessorContext.java:43:33: Name 'explanation' must match pattern '(^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$)|(^log$)'. [ConstantName]

Checkstyle error:

ah dag nammit, sorry guys

Retest this please.

Thanks for the PR @astubbs!
Merged to trunk and cherry-picked to 2.6.


Styles: Button inside tables have transparent background

Here an issue I found in the design system 5.2.0 when migrating the developer portal (I was finally able to build it successfully, yey!)
.table > :not(caption) > * > * {
background-color: var(--bs-table-bg);
Will result in buttons with class: “btn btn-primary” having the backgroup transparent (mouse hover will actually show the button back). The button has to be in a  element in a table with class=”table”.

There is a <tbody> wrapper missing for the table body. When it's added, the selector correctly targets the <td> element.


cargo tree -d with --target can be confusing

Problem
cargo tree -d can show duplicates when used with the --target flag that, although the packages will be built twice, it is unavoidable when cross-compiling. This can be confusing because the output shows the same package twice with the same version, but no other explanation of why they are shown.
Steps
Create a manifest where a dependency shows up as both a normal dependency and a build-dependency (or proc-macro). Example:
[package]
name = "foo"
version = "0.1.0"
edition = "2018"

[dependencies]
anyhow = "1.0.40"

[build-dependencies]
anyhow = "1.0.40"

Running cargo tree -d --target x86_64-unknown-linux-gnu will show:
anyhow v1.0.40
[build-dependencies]
└── foo v0.1.0 (/Users/eric/Temp/foo)

anyhow v1.0.40
└── foo v0.1.0 (/Users/eric/Temp/foo)

Possible Solution(s)
I can think of two possible solutions:

Don't treat host/target duplicates as duplicates.  In essence, behave the same as without --target (but still filtering for the given target).
Display some additional information (like host/target on each line).

Notes
Output of cargo version:
cargo 1.54.0-nightly (070e459c2 2021-05-11)

@rustbot claim
I want to help fix it.

@rustbot claim


mbedtls; add a routine to add AAD data incrementally.

Is this a core mbedtls function or added by us?  If added by us, we should find a way to not have it in core distro (or upstream fix), so that we can maintain / upgrade mbedtls more easily.

There's a PR against upstream mbedtls now. Includes this change as well as the previously added GCM related routine. See https://github.com/ARMmbed/mbedtls/pull/2583

Btw, the CI did not pass for upstream, I'm not sure they will review it in this state.

The reason the CI failed it that mbedtls_gcm_setkey_noalloc has an argument named cipher_info and in the doxygen header you wrote \param cipher    The 128-bit block cipher to use.. Both names should match, and fixing this should enable it to pass...


Align target unset command

Currently we have a target unset command while other commands (env) have a -u flag to do the unset.
We should align this.
Moreover, the target unset command currently has no subcommands but uses the target kind as argument. This is also not consistent.
I vote for introducing an unset flag for this command, too. We could deprecate the unset command and eventually remove it. Or, if we change it bevor the initial release we could also think about removing it immediately.

related issue https://github.com/gardener/gardenctl-v2/issues/85 (second task)


@query() component inside a vaadin-dialog is null

Describe the bug
The @query('#dialog') works like expected. But the @query('#commentTextArea') is null.
export abstract class ButtonDialog extends Layout {

  @state() private dialogOpened = false;
  @query('#dialog') protected dialog!: Dialog;

  protected abstract renderContent(): TemplateResult;
  protected abstract renderFooter(): TemplateResult;

  render() {
    return html`
      <vaadin-dialog
        id="dialog"
        .opened=${this.dialogOpened}
        @opened-changed=${(event: DialogOpenedChangedEvent) => { this.dialogOpened = event.detail.value; }}
        ${dialogRenderer(this.renderDialog, [])}
        ${dialogFooterRenderer(this.renderFooter, [])}
      ></vaadin-dialog>

      <vaadin-button
        .hidden=${!this.buttonIsNotHidden()}
        @click=${() => { this.dialogOpened = true; }}>Open
      </vaadin-button>
    `;
  }

  renderDialog() {
    return html`
      <vaadin-vertical-layout class="gap-m" style="align-items: stretch; width: 32rem; max-width: 100%;">
        ${this.renderContent()}
      </vaadin-vertical-layout>
    `;
  }
}

@customElement('my-dialog')
export class MyDialog extends ButtonDialog {

      @query('#commentTextArea') commentTextArea!: TextField;

      renderContent = () => html`
      <vaadin-text-area
        id="commentTextArea"
        class="w-full"
      ></vaadin-text-area>
      `;

      renderFooter = () => html`
        <vaadin-button id="abortdfgBtn" @click="${this.reset}">Clear</vaadin-button>
      `;

      private reset() {
        console.log(this.commentTextArea); // is null
      }
    }

Expected-behavior
No response
Reproduction
See description
System Info
<vaadin.version>24.5.2</vaadin.version>

This is as expected. The @query decorator executes the query after render before firstUpdated callback.
Dialog will call renderContent much later after dialog is being opened. I.e. the vaadin-text-area does not exists in the DOM when the @query is peformed.
So the @query is not useful in your usecase. Instead you should use opened changed event of the Dialog to observe when it is opened and then find the component by the id.

Thanks. But it would be awesome if I could find such informations in the docs...


Precompute HEALPix pixel for each object

Precompute HEALPix pixel for each object and avoid creating full HEALPix maps. I'm not really sure what this means any more, but I think it would involve some pre-processing before catalog creation.

I'm going to close this since I think it has lost meaning.


Usage of tooltip formatter : onClick stops working on data refresh

What I am trying to achieve
I need to show/hide tooltip based on some logic. As per highcharts documentation, the correct way is to use a formatter function returning the text or false. For this, I need both: this.point.x provided by highcharts and this.props.data which is passed to the chart instance.
I also have a need to update the chart data on some user action.
** Where I am stuck **
The onClick of Series data stops when I use the formatter function.
I forked the sandbox you had created for issue #70 to reproduce the problem. https://codesandbox.io/s/922kn8wy6r
I cannot bind the "formatter" function to the Chart instance, as I need the this.point.x in the formatter function.
What I have tried so far

Creating the function in render() method of the chart --> this interferes with the onClick behavior of series.
Passing the function as props from the container.
Higher Order function to create this function --> I am pretty sure I am doing it wrong.
Using the Highcharts callback. I can get to the tooltip by: chart.tooltip, but I do not see the "formatter" option anywhere underneath it.

Any advice or hint would be appreciated. Also open to contributing a fix if required, but would need some handholding.

Hi @Dubes, you just need to watch out where you are using arrow functions, as they change the this scope to be the outer scope - in React's case, the component's scope.
By using a normal function, it will keep the this to the original scope that Highcharts sets, allowing you to use this.point.x as expected.
I've updated you code here: https://codesandbox.io/s/k7mr4ovq3

Thanks for the hint about the arrow function. It is the scope where I am stuck, the equality check in the example would eventually come from props, both of which belong in different scopes.
 formatter = function() {
    // the 1 will come from "props.toolTipEnabledFor"
    return this.point.x === 1 ? "Yeah" : false;
  `};

I tried with a higher order function, but it works only in constructor... not when I call it on react lifecycle or passing the function via props.
https://codesandbox.io/s/llzzl17jnz

Well good news and bad news.
Good news, you can use both props, and the Highcharts tooltip formatter scope together, using your makeFormatterFunction, see here: https://codesandbox.io/s/m38pnvvv78
Bad news, seems the events which I dynamically added are removed when a series updates see here, so I'll need to add a fix for that.

Just published version 2.2.0 which include a fix for this bug.
You can see the example is fixed here which is using the same code as the previous CodeSandbox.

That was quick!!! thanks a lot!


Separation of the RGB types

This makes it possible to make use of the type system to differ between them and linear RGB, and lowers the number of constructors on Rgb.
Suggestion from Reddit user CryZe92

I renamed this to cover RGB types in general. I think that we can keep linear sRGB as the default, since it's very common in computer graphics, and add the other variants as additional types.


[CommandPalette] how to set defaults when using async search?

Description
When using CommandPalette with async search, the default is always empty state.
Is it possible run the search without typing anything?
Following the document example, I'd want the $fetch to run with an empty q:
const groups = [{
  key: 'users',
  search: async (q) => {
    const users = await $fetch<any[]>('https://jsonplaceholder.typicode.com/users', { params: { q } })

    return users.map(user => ({ id: user.id, label: user.name, suffix: user.email }))
  }
}]
</script>

<template>
  <UCommandPalette :groups="groups" :autoselect="false" />
</template>

Looking at the current implementation this doens't look to be possible, since internally the query is initialized as const query = ref(''), and afterwards there is a watch on that query ref.
The watch is mainly to prevent instant fetches as the user's types and then to select the first item for accessibility reasons.

@Sandros94 thanks!
You're saying that whenever async is in use, the component will always open with "we couldn't find any items"?
That doesn't seem right, does it?

That doesn't seem right, does it?

You are right, the CommandPalette does expose both query and updateQuery as template refs, so indeed this should be possible

@ronenteva feel free to reopen if you find any problem with this issue

@Sandros94 Thanks! I really appreciate your help.
I can get your example to work, but I have 2 follow up questions:

How to get it to work when the UCommandPalette is wrapped in a UModal?
I pretty much followed up the example from DashboardSearch

Is it possible to use an empty string for the initial fetch?

How to get it to work when the UCommandPalette is wrapped in a UModal?
I pretty much followed up the example from DashboardSearch

TBH I don't have access to the ui-pro repo, but looking at it in the docs I can imagine you should properly handle both selection and close of the UCommandPalette, and thus updating the UModal state.

Is it possible to use an empty string for the initial fetch?

You mean so that it execute at first load and returns all the items from the fetch? I'm not entirely sure if this is possible, since this would require an execute of that fetch, and depending on the backend it could even create problems with search functions and nullish strings.

TBH I don't have access to the ui-pro repo, but looking at it in the docs I can imagine you should properly handle both selection and close of the UCommandPalette, and thus updating the UModal state.

Sorry about that, I simply wrapped UCommandPalette in UModal:
<UModal v-model="isOpen">
    <UCommandPalette
      ref="commandPaletteRef"
      :model-value="[]"
      :groups="groups"
      multiple
      @update:model-value="onSelect"
      @close="isOpen = false"
      :autoselect="false"
    />
</UModal>

TBH I don't have access to the ui-pro repo, but looking at it in the docs I can imagine you should properly handle both selection and close of the UCommandPalette, and thus updating the UModal state.

Sorry about that, I simply wrapped UCommandPalette in UModal:
<UModal v-model="isOpen">
    <UCommandPalette
      ref="commandPaletteRef"
      :model-value="[]"
      :groups="groups"
      multiple
      @update:model-value="onSelect"
      @close="isOpen = false"
      :autoselect="false"
    />
</UModal>

My fist instinct was to use a watch instead of onMounted, but upon testing it doesn't work. I wonder if I should pass the query in a different way instead of ref="commandPaletteRef".

@ronenteva sorry for the late reply, had been busy. Yes my first instinct of using watch instead of onMounted was correct, but I didn't think of a timing issue that is simply solved like this:
watch(isOpen, (open) => {
  if (open) {
    nextTick(() => {
      commandPaletteRef.value.query = 'Be'
    })
  }
})

@Sandros94 God bless you :)

I wanted to provide some feedback and share an example related to preloading results when using the UCommandPalette component in Nuxt UI.
Context:
When using the command palette to search for users, I'd like to preload a limited list of users from the backend even when the user hasn't typed anything in the search box. This can be particularly useful for providing suggestions or showing recently interacted users by default.
Example Code:
Here is an example of how I handle this on the backend using Prisma. This function retrieves up to 5 users, even if the search input is empty:
export const findUsersBySearch = async (search: string, loggedUserId: number) => {
  const whereObj: any = {};

  if (search) {
    whereObj['OR'] = [
      {
        username: {
          contains: search,
          mode: 'insensitive',
        },
      },
      {
        email: {
          contains: search,
          mode: 'insensitive',
        },
      },
      {
        firstName: {
          contains: search,
          mode: 'insensitive',
        },
      },
    ];
  }

  const users = await prisma.user.findMany({
    where: {
      ...whereObj,
      NOT: {
        id: loggedUserId,
      },
    },
    take: 5, // Limit results to 5 users
  });

  return users;
};

How It Works:
The findUsersBySearch function filters users based on the search input.
If the search input is empty, it simply returns a default list of 5 users (excluding the logged-in user) without any filtering by search terms.
This approach is useful for preloading the command palette with initial results when no search input is provided.
Suggestion:
It would be great to have built-in support for such preloading behavior directly in the UCommandPalette component, allowing for a smoother user experience when the component is first opened.
Additional Feedback:
I also find it a bit inconvenient that the component is named CommandPalette. While it certainly captures the functionality, it might be more versatile and intuitive to have a more generic name like Autocomplete, similar to what Vuetify offers. An Autocomplete component with a broader set of features could cater to various use cases, including the one I mentioned earlier, where preloading results when no input is provided would be much easier to handle.
By adopting a more generic component name and feature set, it could align better with the expectations of developers coming from other frameworks and make the component more flexible and powerful.


emilua: 0.6.0 -> 0.7.2

Description of changes
version update.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Sorry to open another, my git config fuc#$5 the things up.

Result of nixpkgs-review pr 308155 run on x86_64-linux 1

1 package built:

emilua

Result of nixpkgs-review pr 308155 run on x86_64-linux 1

1 package built:

emilua

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/3867


Set default variables

For what it's worth, we did the following, and it's awesome:
Ractive = Ractive.extend({
	setDefault: function(key, value) {
		this.set(key, value);
	},
	// ...
});

The idea is that you can set default variables after the fact, after initializing the app. I think there are probably other methods for this, but having a simple function available like this is awesome.

its a good idea. but if i what to setDefault to app. i just need to:
ractive = new Ractive({
    el:'',
    template:'',
    data:{
        key:value,
        key,value
    }
});
//or
ractive = new Ractive({
    el:'',
    template:'',
    oninit:function() {
	//do something default,this will be fire when the instance is ready to be rendered.
   }
});

but its very interesting.i like it.

The use case is if you need to set something, say, AFTER bootstrapping your app. Such as loading data after an AJAX call. Or just late in the game, for whatever reason.

@arxpoetica I've stared at your snippet for awhile and not sure I get it. It's just an alias for set as setDefault? Or am I missing something?

@martypdx it may not fit the Ractive convention (it's probably hackish), but it seems to work.
The idea here is that this is all done before instantiating any actual components, and therefore the data is available to all components as "defaults." I'm not sure if this is just a loophole in the code, or if it happens to be doing what it should. Ignore for the moment that this.set(key, value); is present. I could use AJAX to set some defaults in a similar way:
Ractive = Ractive.extend({
	data: {
		setSomeKey: function() {
			$.ajax('/some/url', function(someValue) {
				this.set(someKey, someValue);
			});
		}
	}
});

The main thing to note is that I'm extending Ractive before setting any components, and setDefault or this AJAX methodology will set default variables (global to all inherited components of the main Ractive app) asynchronously or after initializing and rendering any components.
Am I making any more sense?

Another way to put this, one cannot set defaults on components that have already been initialized and rendered. (Or, at least, I don't know another way. :smile:)

What do you do if you attempt to access the variable before it's been 'defaulted'? Or are you building your application around that issue?

That can certainly be an issue, but that can be an issue anyway. It all depends on how one first declares data.
The short answer is to just check if data exists:
if (!this.get('defaultVariable') ...

[or]

{{#if defaultVariable}}
...
{{/if}}

The longer answer is...one might be able to build around the absence of defaults, but it just seems easier to detect if/when they come into existence through some simple if/else checks.

@arxpoetica I don't see how that works. It only sets the data on the instance. Unless you're changing a property of an object reference.
I usually use the view root, not the inheritance root, for global data. Unless it's static data that can be set before extend the components.

I'm tellin' ya, it works! :stuck_out_tongue_winking_eye:
Really, though, not trying to make an issue. I definitely want to do things the right way. This absolutely does seem to be working for our purposes, but since we're in a long term relationship with Ractive.js, I would like to understand the correct way to set globals. I'm not sure what view root means in this context. Do you have an example?
Again, concerned w/ setting non static data. This is data that is set (after extending and initializing components), manipulated, changed, deleted, etc.
Thanks!

Not sure how you're using, what I mean is it is not shared across instances (even same type of component). See http://jsfiddle.net/p313srgg/1/.
This does share across all instances: http://jsfiddle.net/p313srgg/2/. But it doesn't update all instances when you set from one: http://jsfiddle.net/p313srgg/3/.
By "view root", I mean the top level ractive instance (assuming you have one) that contains all the rest of the layout and components. Here's a pattern I like to use: http://jsfiddle.net/p313srgg/5/
But I learn from everyone else too, so maybe you're onto something I'm not realizing.

Yeah, I'm totally lost. These two fiddles operate identically, for example:
http://jsfiddle.net/p313srgg/6/
http://jsfiddle.net/p313srgg/7/
But I might be totally misinterpreting your use-case. Do you have a real-world example?

Awesome thanks for the feedback, guys. I'll try and set something up today for comparison.

Hey, I'm going to close this issue since you haven't responded yet. If you're still interested in providing an example of the behavior you're describing feel free to reopen the issue any time. Thanks!


VM Instance

Describe the bug
hi
i have issue when installation Artemis
i can't install with docker, client, server
i have some error
please help me for installation
does anyone have *.iso or vmdk for artemis
i need pre-installation instance
please help
thanks
To Reproduce
hi
i have issue when installation Artemis
i can't install with docker, client, server
i have some error
please help me for installation
does anyone have *.iso or vmdk for artemis
i need pre-installation instance
please help
thanks
Expected behavior
hi
i have issue when installation Artemis
i can't install with docker, client, server
i have some error
please help me for installation
does anyone have *.iso or vmdk for artemis
i need pre-installation instance
please help
thanks
Screenshots
No response
What browsers are you seeing the problem on?
Other (specify in "Additional context")
Additional context
No response
Relevant log output
No response

This is not the right place for asking about help with the installation of Artemis. Please follow the documentation


Merge up qa-beta

Description

Checklist (Definition of Done)

[ ] Unit and integration tests added
[ ] Added test description under Test manual
[ ] Documentation added if necessary
[ ] CI and all relevant tests are passing
[ ] Add the ticket number to the PR title if available, i.e. ROX-12345: ...
[ ] Discussed security and business related topics privately. Will move any security and business related topics that arise to private communication channel.

Test manual
TODO: Add manual testing efforts
# To run tests locally run:
npm run test

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

 Let us know!.


Added spec generation support for parametric types.

Cherry-picked commit to master (https://github.com/iheartradio/play-swagger/pull/325)

@kailuowang :pray: Looking forward to the releases

@kailuowang Can we merge this and release 2.7 & 2.8 ?

@tudorv91 Just released for all three Play versions. check readme for latest releases. Thanks for your contribution again.


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In 4b83e67, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 7465 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in b8719c9.


Feature to subscribe user task but not auto complete it

Is your feature request related to a problem? Please describe.
We want to subscribe user task information and store its information, so that we can complete it later. However, current implementation auto completes user task after executing the handler.
Describe the solution you'd like
User Task handler should be executed once but not auto completes it.

This library is not intended for user task handling. Therefore auto completing of service tasks is a logical feature. For user task related use cases you should use the tasklist api or create an exporter to process zeebe events.


"flynn -a gitreceive env set" returns "timed out waiting for job events: map[app:map[up:2]]"

This happens repeatedly (looped in the init script) on a newly restored cluster.
https://gist.github.com/f3b193a2096258fcc13ccd5d61386ff5
(Only one of the nodes was able to return collect-debug-info correctly, the other two hit 405s despite very similar log sizes of ~90MB).

This is a bug in the scheduler where it is blocked trying to persist the state of job 56ae78e8-d074-4722-bfa6-e53ee2f17e5b with an invalid state, triggering the following error in the controller:
t=2016-08-23T18:23:44+0000 lvl=info msg="request started" component=controller req_id=a66bfa34-0ca3-4fb7-bfc6-934ac8f10784 method=PUT path=/apps/35cf498d-b14b-44c5-a4f0-03475e2d7f11/jobs/56ae78e8-d074-4722-bfa6-e53ee2f17e5b client_ip=10
t=2016-08-23T18:23:44+0000 lvl=eror msg="ERROR: insert or update on table \"job_cache\" violates foreign key constraint \"job_state_fkey\" (SQLSTATE 23503)" component=controller req_id=a66bfa34-0ca3-4fb7-bfc6-934ac8f10784
t=2016-08-23T18:23:44+0000 lvl=info msg="request completed" component=controller req_id=a66bfa34-0ca3-4fb7-bfc6-934ac8f10784 status=500 duration=3.461748ms

Because the error is a pgx.PgError, it is marked as retryable, so the scheduler retries for one minute, which blocks all other job persistence because there is only a single goroutine so that job events are persisted in order.
Since the scheduler tries to sync job states every 30s, it continually queued up the persistence of this job, thus blocking the put jobs goroutine continuously.
We need to investigate / fix the following:

Why was the scheduler persisting a job with an invalid state, and what was that invalid state?
A postgres foreign key violation should not be a retryable error (perhaps always convert to ct.ValidationError?)
Job events only need to be ordered per job (i.e. always create starting events before up events), so the scheduler should have a goroutine per job doing persistence with retries (rather than a single goroutine for all job persistence which can block for up to a minute)
If a job state is being persisted (but possibly failing), don't queue up another persistence of the same job state

Is this related to #3274?

@titanous certainly looks related yes.


zh blog Reduce, Reuse, Rebase: ...

have blog "Reduce, Reuse, Rebase: Sustainable Containers with Buildpacks" into zh.

LGTM

Thanks!


[Feature] Override quantum control problem defaults in problem templates

Is your feature request related to a problem? Please describe.
Min time and robustness problem templates constructed from a QuantumControlProblem use the problem's constraints and objective. Sometimes, we might want to reset or change these. However, we don't care to redefine the initial trajectory, system, or other problem-specific intializations.
Describe the solution you'd like
Example,
function UnitaryRobustnessProblem(
    Hₑ::AbstractMatrix{<:Number},
    prob::QuantumControlProblem;
    constraints::Union{Vector{<:AbstractConstraint}, Nothing}=nothing,
    objective::Union{Objective, Nothing}=nothing,
    kwargs...
)

would use the problem defaults if nothing, else the provided values.
We will also need to add a default convenience objective that acts as a zero. It might also be nice to treat any usage of zero as referring to this objective, when doing addition of objectives.

Closed by #136


There is no mention of webhooks on this page

A little detail on how webhooks could be used to pick up completed batches would be useful.

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

ID: 73fb7e76-fb80-c420-2efe-e3ca3a27b749
Version Independent ID: 07a42557-deb3-e4b3-3f14-f26a27be49c2
Content: How to use batch transcription - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/batch-transcription.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @wolfma61
Microsoft Alias: wolfma

#https://github.com/MicrosoftDocs/azure-docs/issues/45220
@wolfma61 According to the referenced issue do we still need to add more details about webhooks documentation or add new examples for this feedback?

our github-sample repository contains a sample that also uses webhooks

@haymansfield You can refer the samples repo from here.

Forgive me if I'm wrong, but that doesn't point to a webhook sample.

@haymansfield Apologies. I have updated the link in my previous comment. The webhook receiver code is in the samples directory.

@haymansfield We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.


Adjust styled in colors story

Codecov Report

Merging #30 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #30   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           6      6
  Lines          77     77
=====================================
  Hits           77     77

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 d5ea938...3866065. Read the comment docs.


Remark 1.1.0 isn't available on any repository

Hi,
the library remark-1.1.0.jar is required by the gradle plugin org.kordamp.gradle.markdown, but the library isn't available on any repository anymore.
Could not find remark-1.1.0.jar (com.overzealous:remark:1.1.0).
Searched in the following locations:
https://plugins.gradle.org/m2/com/overzealous/remark/1.1.0/remark-1.1.0.jar
Please provide the library on maven central or an other repository.
Kind regards
Peter

I'm seeing the same issue here; looks like that library used to be here but is now gone.

https://bitbucket.org/OverZealous/remark

Then there was a fork published to bintray & jcenter, also both now gone.

https://github.com/giflw/remark-java/releases/tag/v1.1.0

Looks like this might take a bit of archaeology & necromancy to get going again.

@timtebeek looks like remark was forked and released but in an incompatible manner https://github.com/kordamp/markdown-gradle-plugin/issues/34#issuecomment-1307141348

I found a fork that seems to be maintained: https://github.com/wavefrontHQ/remark-java
It works just fine in my project when using Gradle dependency substitution rules to replace the old dependency:
buildscript {
    configurations.all {
        resolutionStrategy.dependencySubstitution {
            substitute module("com.overzealous:remark:1.1.0") using module("com.wavefront:remark:2023-07.07") because "not available on maven central anymore"
        }
    }
}

plugins {
    id 'org.kordamp.gradle.markdown' version '2.2.0'
}


Count duplicates and delete them when icon is clicked

Is your feature request related to a problem? Please describe.
I like the minimal nature of the add-on but the "show remove notification" isn't optimal either set or unset.  If set you get interrupted with a pop-up that you have to dismiss.  If unset you have pay close attention notice that one of your tabs was just closed. Both demand your attention now but the only cost of delaying action is extra memory usage.
Describe the solution you'd like
Would it be possible for the add-on to simply count number of duplicates, show if >0 (instead of on), and when you click the icon it would delete the duplicate the duplicates like now?
Describe alternatives you've considered
Duplicate Tab Close works similar but I suspect is has a bug that cause all UI dialogs to be auto-closed right away.  In either case, it is kinda bloated, and you have to click on the icon, wait for it show the tabs, and only then can you close it.  FoxyTab, TabSearch, Tab Deduber all lack the visual indication of duplicate tabs.
Additional context

Would it be possible for the add-on to simply count number of duplicates, show if >0

Yes, that would be possible ... but its not so easy to add.
I'll have to see what i can do.

@allanwind
Take a look at this: https://addons.mozilla.org/en-US/firefox/addon/duplicate-tabs-closer/

Yeah, that is what I have been using, but I think it's triggering
a defect causing all dialogs to auto-close.  This means I have to
restart Firefox frequently, say, after 10 minutes if I need a
dialog.  It's also rather slow as you click the icon, wait for it
to populate the list of tabs (could be seconds when I have a few
hundred open), then scroll down (font/ux issue) to to finally
click close duplicates.
/Allan
On 2023-03-16T11:15:51, igorlogius wrote:

@allanwind
Take a look at this: https://addons.mozilla.org/en-US/firefox/addon/duplicate-tabs-closer/
--
Reply to this email directly or view it on GitHub:
https://github.com/igorlogius/dont-open-duplicate-tabs/issues/13#issuecomment-1472491413
You are receiving this because you were mentioned.
Message ID: @.***>

--
Allan Wind
Yaxto - Runs Your Business
https://yaxto.com

@allanwind
Do i undestand you correct in that you dont need the automatic removal?
You are just interested in knowing the amount of duplicates and manually triggering the removal. - Is that correct?


[Bug]:[Auto layout] Scroll bar is not coming in container when contentoverflows

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Scroll bar is not coming in container when content  overflows
Steps To Reproduce
https://www.loom.com/share/b78e6eddd2e54ad6b17cbd71d1f95723
Public Sample App
No response
Issue video log
No response
Version
DP

@kamakshibhat-appsmith is this happening only in auto layout?

@marks0351 yes correct. I fixed layout, its working as expected

Issue still exists in DP. Moving to reopen. @marks0351


Intel-based modulefile for compiling LISF on discover SCU 17

Description
This is the modulefile and associated changes for compiling LISF on discover SCU 17 using the Intel compilers with Intel MPI.
To use, copy env/discover/sles15/lisf_7.5_intel_2023.2.1 into your ~/privatemodules directory and then run
module load lisf_7.5_intel_2023.2.1

I'm testing the new module file on discover-mil.  So far I'm getting a linking error with LDT when I enable:

NetCDF4
ECCODES
HDF4
HDFEOS2
HDF5
GDAL
LIBGEOTIFF

The error message is:
ld: warning: libjpeg.so.8, needed by /usr/lib/../lib64/libtiff.so, may conflict with libjpeg.so.62
ld: warning: libjpeg.so.8, needed by /usr/lib/../lib64/libtiff.so, may conflict with libjpeg.so.62

Sorry, I forgot to mention that linker warning.  My testing has not raised any actual issues.  Note that we get the same linker warning on narwhal and HPC-11.

@jvgeiger Has this been tested on the master branch and on the eis-freshwater2 branch yet?  Or just the public-7.5 branch?

I tested on the master and support/lisf-public-7.5 branches.  I did not test on the eis-freshwater2 branch.

@jvgeiger I continued test compiling LDT with different combinations of libraries disabled.  It appears the link warnings are associated with HDF4 and LIBGEOTIFF.  However, the binary is always created.
I see no problem with LIS and LVT.  I will go ahead and approve the pull request.


Client Allocation Request for: Guangdong Radio and Television Modern Education channel

Client Allocation Questions
Core Information

Name: Guangdong Radio and Television Modern Education channel
Website / Social Media: http://www.gdetv.net/
Region: Greater China
DataCap Requested: 10TiB
Addresses to be Notarized: f3wwfhucp4y5qgdqq3g6lya6gonqh4qtpt7iorrth2sguyhrn7rbdakgjr2nmpdcpaspkhxtifgkytdquix2ga
Notary Requested: steven004

@GDRTModernEducationChannel Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hey @GDRTModernEducationChannel , thanks for your request. Can you kindly add more information / context here on:

yourself/ your organization (with links to official website/social media/news mentions etc)
Your history working on IPFS/Filecoin (notable contributions to the community, type of engagement shown over time etc)
Use case: type/source/quantity/diversity/scarcity of the data you plan to store on Filecoin
Miners you intend to allocate DataCap with allocation proportion(with redundancy/location/specific requirement of storage miners), if you are working with a service provider to store your data to Filecoin network, please name the provider.
How could people retrieve the data you store in Filecoin Network, do you have a tool/app for it?
What's your next plan for the data you plan to store in Filecoin Network? For-profit or not?
Would you be OK in posting deal transactions here?

Thanks

We have got 512GiB datacap from you before, https://github.com/filecoin-project/filecoin-plus-client-onboarding/issues/920
You can check our deal transactions from the following link:
https://pluskit.io/user?id=f3wwfhucp4y5qgdqq3g6lya6gonqh4qtpt7iorrth2sguyhrn7rbdakgjr2nmpdcpaspkhxtifgkytdquix2ga
Thanks

Great!
Would you please share me your wechat id? either in this thread or in Email, both OK.
We will go through the verification process, I'll approve this one once the verification is done and goes well. Thanks.

Wechat id: xz223i. You can do the verification.

Wechat id: xz223i. You can do the verification.

Tried adding you twice, but never get response.

Close the issue due to no response.
Please reopen it if you still need to datacap.


Unable to build docker container

[X] I am using the latest SDK version
[X] This API is compatible with my vCenter version (You can get the info from the Java API Reference Documentation)
[X] I have searched existing issues

Environment

sdk binding version:
lib/vsphereautomation-client-sdk-3.2.0.jar

Java version:
root@3f7ed95c64d7:/work/vsphere-automation-sdk-java# java --version
openjdk 11.0.6 2020-01-14
OpenJDK Runtime Environment 18.9 (build 11.0.6+10)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10, mixed mode)

vSphere version: VMConAWS 1.8 & 1.9

Operating System/Shell (used to run SDK-based apps): MacOS (10.13.6 (17G9016)) and Ubuntu 18.04

Steps or code snippet to reproduce:
docker build https://github.com/vmware/vsphere-automation-sdk-java.git#:docker -t vmware/vsphere-automation-sdk-java
Actual behavior
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 109 source files to /work/vsphere-automation-sdk-java/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /work/vsphere-automation-sdk-java/src/main/java/vmware/samples/common/authentication/VimAuthenticationHelper.java:[17,19] error: package javax.xml.ws does not exist
[ERROR] /work/vsphere-automation-sdk-java/src/main/java/vmware/samples/sso/soaphandlers/HeaderHandlerResolver.java:[19,27] error: package javax.xml.ws.handler does not exist
[ERROR] /work/vsphere-automation-sdk-java/src/main/java/vmware/samples/sso/soaphandlers/HeaderHandlerResolver.java:[20,27] error: package javax.xml.ws.handler does not exist
[ERROR] /work/vsphere-automation-sdk-java/src/main/java/vmware/samples/sso/soaphandlers/HeaderHandlerResolver.java:[21,27] error: package javax.xml.ws.handler does not exist
[ERROR] /work/vsphere-automation-sdk-java/src/main/java/vmware/samples/sso/soaphandlers/HeaderHandlerResolver.java:[29,52] error: cannot find symbol
Expected behavior
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ vsphere-samples-nodeps ---
[INFO] Installing /work/vsphere-automation-sdk-java/target/vsphere-samples-7.0.0.jar to /root/.m2/repository/com/vmware/vsphere-samples-nodeps/7.0.0/vsphere-samples-nodeps-7.0.0.jar
[INFO] Installing /work/vsphere-automation-sdk-java/pom.xml to /root/.m2/repository/com/vmware/vsphere-samples-nodeps/7.0.0/vsphere-samples-nodeps-7.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  41.823 s
[INFO] Finished at: 2020-01-27T20:24:32Z
[INFO] ------------------------------------------------------------------------
Fixed by adding com.sun.xml.ws, javax.xml.ws, and com.sun.org.apache.xml.internal dependencies to pom.xml  see my fork: https://github.com/gavinbarnard/vsphere-automation-sdk-java
gavin@docker-dox:~/vsphere-automation-sdk-java$ git diff 5f6d2a9a0267460a93bc7fcf243a745b4c347ede pom.xml
diff --git a/pom.xml b/pom.xml
index 1c06cc74e..6a6c65bf4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -416,6 +416,21 @@
   <artifactId>commons-beanutils</artifactId>
   <version>${commons-beanutils.version}</version>
  </dependency>
+ <dependency>
+  <groupId>com.sun.xml.ws</groupId>
+  <artifactId>rt</artifactId>
+  <version>2.3.1</version>
+ </dependency>
+ <dependency>
+  <groupId>javax.xml.ws</groupId>
+  <artifactId>jaxws-api</artifactId>
+  <version>2.3.1</version>
+ </dependency>
+ <dependency>
+  <groupId>com.sun.org.apache.xml.internal</groupId>
+  <artifactId>resolver</artifactId>
+  <version>20050927</version>
+ </dependency>
 </dependencies>
  <reporting>
   <plugins>

Hi Gavin, wanted to check in regarding this issue. Are you still waiting on any information? If the issue is resolved, can you please close it?
Thanks!

I am unblocked, but the main vmware/vsphere-automation-sdk-java is still broken with bad information in the Dockerfile.    As long as it remains pulling maven:latest people will get jdk 11 and the build will fail.

Thanks Gavin. We'll work on the fix and notify when its ready.

I have merged the changes for maven jdk version. Can you verify if docker build works for you with the latest changes?

looks good now, thank you
gavinbarnar-a01:test gavinbarnard$ docker build https://github.com/vmware/vsphere-automation-sdk-java.git#:docker -t vmware/vsphere-automation-sdk-java
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ vsphere-samples-nodeps --- [INFO] Installing /work/vsphere-automation-sdk-java/target/vsphere-samples-7.0.0.jar to /root/.m2/repository/com/vmware/vsphere-samples-nodeps/7.0.0/vsphere-samples-nodeps-7.0.0.jar [INFO] Installing /work/vsphere-automation-sdk-java/pom.xml to /root/.m2/repository/com/vmware/vsphere-samples-nodeps/7.0.0/vsphere-samples-nodeps-7.0.0.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time:  01:43 min [INFO] Finished at: 2020-02-11T19:51:40Z [INFO] ------------------------------------------------------------------------ Removing intermediate container bf3a0d8fae23  ---> d6a3b7cd5629 Step 9/9 : CMD ["/bin/bash"]  ---> Running in 49dad2362b44 Removing intermediate container 49dad2362b44  ---> e5e97a009f8a Successfully built e5e97a009f8a Successfully tagged vmware/vsphere-automation-sdk-java:latest


ENH: Improve DataFrame loc indexing

Allow any scalar types in .loc to return a Series
xref #133

[X] Closes N/A but makes forward progress
[X] Tests added: Please use assert_type() to assert the type of any return value

All scalar types work as expected.


Add create/edit/delete functionality for Platforms

I added the mutations to the backend, now we just need to implement them.

075f6983f10e721f79151260d8761782fcdc53c0


Add com.roku/device_info/jsonschema/1-0-0 (close #1190)

As explained in issue #1990 this PR adds a schema for device context that will be automatically added to all events on the Roku tracker.

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

Cherry-picked into https://github.com/snowplow/iglu-central/pull/1196. @AlexBenny, if you're going to review this schema you can do this in the release PR.


Library for X84 64bit architecture, Google warning

Hi I'm using the library for image filter, and I see that there is only x86 (32bit) architecture is supported but x86_64 bit is not. And Google will ban the app that not support both architecture as the link below : https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html.
Can you help provide the x86 64 bit architecture!

OK, I will do it recently.
Also you can do it yourself, just put the x86_64 libraries(opencv, ffmpeg) between the other archs, and rebuild.
If you're not using the recording module, you can also try the min branch. All archs are supported.

Hi @wysaid, can you help to provide these library cause i'm not confident at pick up the library, maybe something wrong happen (wrong version ?), I think it's easy for you to handle this thing of work, I really appreciate your helpful library.
But btw somehow the library still can be run perfectly on a x86_64 bit CPU Android Emulator, but I see that the library has no x86_64 library folder (only x86 folder), can you help me to explain it ?

请问你最后编译出x86_64的.so吗？  我也需要一份

https://github.com/wysaid/android-gpuimage-plus/issues/451

Hi @wysaid ,
Hope you are doing well!
Can you please look into this:

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.test-zJ3d6mH3S1Q-czUhAsOdpw==/lib/x86/libffmpeg.so" has text relocations (https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#Text-Relocations-Enforced-for-API-level-23)
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1669)
at org.wysaid.nativePort.NativeLibraryLoader.load(NativeLibraryLoader.java:18)
at org.wysaid.nativePort.CGENativeLibrary.(CGENativeLibrary.java:18)
at org.wysaid.nativePort.CGENativeLibrary.setLoadImageCallback(CGENativeLibrary.java:76)
at com.canlah.MuzibeesApp.onCreate(MuzibeesApp.java:711)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
at android.app.ActivityThread.access$1100(ActivityThread.java:199)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

I will be very thankful to you if you can help me with this.

Hi @wysaid ,
Hope you are doing well!
Can you please look into this:

java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.test-zJ3d6mH3S1Q-czUhAsOdpw==/lib/x86/libffmpeg.so" has text relocations (https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#Text-Relocations-Enforced-for-API-level-23)
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1669)
at org.wysaid.nativePort.NativeLibraryLoader.load(NativeLibraryLoader.java:18)
at org.wysaid.nativePort.CGENativeLibrary.(CGENativeLibrary.java:18)
at org.wysaid.nativePort.CGENativeLibrary.setLoadImageCallback(CGENativeLibrary.java:76)
at com.canlah.MuzibeesApp.onCreate(MuzibeesApp.java:711)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5871)
at android.app.ActivityThread.access$1100(ActivityThread.java:199)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)

I will be very thankful to you if you can help me with this.

It's finding the x86 version  of ffmpeg,  please check if your package contains that one?

yes, it has all the required variants of abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
from here for gpu image and for running external FFMPEG commands for audio operations using this.
Please review once and let me know which one is causing issue and any suggestion for resolving this.
Thanks for your prompt response.

The all archs are provided.


Add Autocad versions like file system

Central management of Autocad requires a more "local" props for central management to get the right version

Is this really required? I fear we're going to end with +20 Package.props files, which is just going to make everything more confusing.

Well, it's either this or get rid of Central management altogether.  It's already doing this, btw it's just now reflection in the solution.

I'm not sure we need or want to centrally manage every package in a way that's not centralized.
My take on this would be:

We centrally manage everything that has to have a consistent version across the entire monorepo
We manually manage dependencies that are "per-project" (host API versions specifically)

I'm not sure what's the benefit of having different Directory.Packages.props files just for 2 projects at a time. Specially considering the converter also needs the same version as the connector and it lives elsewhere.
We seem to already have 3 different package.props files just for autocad alone.
That being said, I'm happy to be convinced otherwise 😉


code example for ECSQL SELECT for sample viewer

I would like an code example of using ECSQL Select for the front end of the Simple viewer app. Thank you

Hi @ctn227,
I recently wrote a blog post on this subject.
In short, you can use the query  API from the frontend to run ECSql queries.

I'm new at this. I would appreciate it if you could tell me where to add the below lines to the Sample Viewer code to get it to compile:
const query = ('SELECT ECInstanceId AS id FROM BisCore:PhysicalModel');
const compIDs = await imodel.queryPage(query);
Got "property 'queryPage' does not exist on type IModelConnection' when adding the above to simple-viewer-app-master\src\frontend\components\App.tsx "private _onClick"

Looks like queryPage was deprecated. Try using query instead:
const rows = []
for await (const row of imodel.query("SELECT .. ")) {
rows.push(row)
}
I'll update the post.

Got this error with the above code.:
src/frontend/components/App.tsx(258,26): error TS2532: Object is possibly 'undefined'.

Could you please provide a screenshot of your code?
My guess is you are making the call from a place where imodel could still be undefined. If that's the case, either you can add your code within an if (imodel) {} block:
if (imodel) {
  const rows = []
  for await (const row of imodel.query("SELECT .. ")) {
    rows.push(row)
  }
}

or call it after the (!imodel) check in the _onIModelSelected call

Calling it after the (!imodel) check works well!!! thank you.
What table do I use to get the category below:


Update project-generation-options.rst

Description

Checklist:

[ ] I've made sure that tests/test_cookiecutter_generation.py is updated accordingly (especially if adding or updating a template option)
[ ] I've updated the documentation or confirm that my change doesn't require any updates

Rationale

@tanushyara Thanks for wanting to contribute to this project, but Migomail and Mailcot are not an option of the current cookiecutter.json configuration and we have no plans to add it in the future.


[PLAT-936] Script for "Some questions about nodes"

Purpose
For UX we want to know what our users project configurations look like.
Changes

A script that counts nodes with and without a description or wiki.

QA Notes
Run the script to check the number of nodes with each condition.
Documentation
None
Side Effects
None that I know of.
Ticket
https://openscience.atlassian.net/browse/PLAT-936

@caseyrollins Yes and no, This very specifically checks if you have any WikiPages, just having the wiki enabled or even writing unsaved data in the wiki doesn't give you a WIkiPage. The home page you see as a default or stuff that's persistent, but unsaved is not part of Django and doesn't appear as part of the project wiki.
You can a have a WikiPage wiki no content but that means you need to deliberately save a page with nothing on it. So in reality we are checking for content here.

Ah, thanks for the clarification. I was looking at the dead NodeWikiPage model as well 😑
These commands run fine in the shell, but when I attempt to run it as a script (python -m scripts.analytics.node_questions_analylitics) I get the following error:
Traceback (most recent call last):
  File "/Users/caseyrollins/miniconda/envs/osf/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/Users/caseyrollins/miniconda/envs/osf/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/caseyrollins/develop/osf.io/scripts/analytics/node_questions_analylitics.py", line 3, in <module>
    from osf.models import Node
  File "osf/models/__init__.py", line 1, in <module>
    from osf.models.metaschema import MetaSchema  # noqa
  File "osf/models/metaschema.py", line 7, in <module>
    from osf.models.base import BaseModel, ObjectIDMixin
  File "osf/models/base.py", line 5, in <module>
    from django.contrib.contenttypes.fields import (GenericForeignKey,
  File "/Users/caseyrollins/miniconda/envs/osf/lib/python2.7/site-packages/django/contrib/contenttypes/fields.py", line 5, in <module>
    from django.contrib.contenttypes.models import ContentType
  File "/Users/caseyrollins/miniconda/envs/osf/lib/python2.7/site-packages/django/contrib/contenttypes/models.py", line 139, in <module>
    class ContentType(models.Model):
  File "/Users/caseyrollins/miniconda/envs/osf/lib/python2.7/site-packages/django/db/models/base.py", line 110, in __new__
    app_config = apps.get_containing_app_config(module)
  File "/Users/caseyrollins/miniconda/envs/osf/lib/python2.7/site-packages/django/apps/registry.py", line 247, in get_containing_app_config
    self.check_apps_ready()
  File "/Users/caseyrollins/miniconda/envs/osf/lib/python2.7/site-packages/django/apps/registry.py", line 125, in check_apps_ready
    raise AppRegistryNotReady("Apps aren't loaded yet.")

This is resolved by adding the following to the beginning of the script:
import django
django.setup()

Also, the script needs to call the node_question_numbers function, e.g.
if __name__ == '__main__':
    node_question_numbers()

I'll go ahead and pass this off to @sloria so he can run this in prod.

Ran on my production backup and posted the results on the ticket.

For posterity, here's what I updated the script to:
from website.app import setup_django
setup_django()
import logging
from osf.models import Node
from osf.models.spam import SpamStatus

logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.INFO)

def node_question_numbers():
    nodes = Node.objects.filter(is_deleted=False).exclude(spam_status__in=[SpamStatus.SPAM, SpamStatus.FLAGGED])

    nodes_with_descriptions_and_with_wikis = nodes.exclude(description='').exclude(wikis__isnull=True).distinct().count()
    logger.info('Number of nodes with descriptions and wikis: {}'.format(nodes_with_descriptions_and_with_wikis))

    nodes_without_descriptions_and_with_wikis = nodes.filter(description='').exclude(wikis__isnull=True).distinct().count()
    logger.info('Number of nodes without descriptions and with wikis: {}'.format(nodes_without_descriptions_and_with_wikis))

    nodes_with_descriptions_and_without_wikis = nodes.exclude(description='').filter(wikis__isnull=True).distinct().count()
    logger.info('Number of nodes with descriptions and without wikis: {}'.format(nodes_with_descriptions_and_without_wikis))

    nodes_without_descriptions_and_without_wikis = nodes.filter(description='').filter(wikis__isnull=True).distinct().count()
    logger.info('Number of nodes without descriptions and without wikis: {}'.format(nodes_without_descriptions_and_without_wikis))

    # Sanity checksum
    total = nodes_without_descriptions_and_without_wikis + nodes_with_descriptions_and_without_wikis + nodes_without_descriptions_and_with_wikis + nodes_with_descriptions_and_with_wikis
    assert nodes.count() == total

if __name__ == "__main__":
    node_question_numbers()

A couple notes:

Filtering wikis__isnull=True is way faster than ~(wikis__isnull=False) because it returns a much smaller result set (most nodes have at least one wiki)
Use exclude(spam_status__in=[SpamStatus.SPAM, SpamStatus.FLAGGED])  to exclude spammy nodes


Using timestamps() raises exception

Hi, whenever I use timestamps() in my schema, I get this exception when inserting to db:
** (ArgumentError) Invalid expression for MongoDB adapter in insert command
    (mongodb_ecto) lib/mongo_ecto/normalized_query.ex:464: Mongo.Ecto.NormalizedQuery.error/1
    (mongodb_ecto) lib/mongo_ecto/normalized_query.ex:274: Mongo.Ecto.NormalizedQuery.command/4
    (mongodb_ecto) lib/mongo_ecto/normalized_query.ex:124: Mongo.Ecto.NormalizedQuery.insert/3
    (mongodb_ecto) lib/mongo_ecto.ex:520: Mongo.Ecto.insert/6
            (ecto) lib/ecto/repo/schema.ex:297: Ecto.Repo.Schema.apply/5
            (ecto) lib/ecto/repo/schema.ex:81: anonymous fn/11 in Ecto.Repo.Schema.do_insert/4

It doesn't matter if I Repo.insert schema or changeset.
My schema:
  @primary_key {:id, :binary_id, autogenerate: true}
  schema "game_versions" do
    field :name
    field :game_id
    field :game_name
    field :engine_version
    field :engine_type
    timestamps()
  end

As soon as I delete timestamps() the error disappears. I tried different things, none of them worked.
I thought that field :created_at, Ecto.DateTime, default: Ecto.DateTime.utc can be a solution, but as I found out later, default fields are set once.
Any ideas?

Would you be able to list your dependencies and versions?

Sure.
 defp deps do     [       {:ecto, "~> 1.1", override: true},       {:mongodb_ecto, "~> 0.1.5"},       {:emq, git: "git@source.niemau.de:casino/emq.git"},       {:emq2, git: "git@source.niemau.de:experiments/emq2.git"},       {:amqp, "~> 0.2.1", override: true},       {:rabbit_common, "~> 3.6.9", override: true},       {:ex_machina, "~> 2.0", only: :test}     ]   end

Could you also show the exact code that's causing the error?
Also - for the future, please use three backticks to mark code blocks. It makes it so much easier to read (I amended your posts to use it).

So the error appears when I either try to insert using only schema:
Repo.insert(%GameVersion{})
or changeset:
Repo.insert(GameVersion.changeset(%GameVersion{}, %{}))

The error persists in my other schemas too. Although, I can create a datetime field wothout any errors.

Is this still happening on the ecto-2 or ecto-2.1 branch?


OSS-Fuzz: ASSERT: a->type() == b->type()

For some reason OSS-Fuzz has reported three separate issues for this, but they are likely all duplicagtes:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43555
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43570
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43684
We should check the associated test cases all pass before closing.
@s-perron for info.

Invalid spir-v.  The float type is decorated with RelaxPrecision:
           OpDecorate %float RelaxedPrecision


Notify MonthListener when scrolling to a specific date with scrollToDate()

The month listener is only being called right now if the calendar is not in paged mode, but we need to update the month even in paged mode. This can be demonstrated in the sample app using the "Today" button that I added to example1.

Thank you for contributing.

Thank you for accepting the PR!


Alex cannon 86 Close Issue #86

When I login, and authentication fails, I still see a "success you logged in" message on the sign in page.
This PR fixes this issue.

The alert showing the confirmed basic auth even when it has failed is fixed. I'm not sure if better dealth with here or in another ticket; however, there is no alert when you fail signing in cluing the user in as to what has occurred. The api does currently return a bad request message that could be used:

{
    "error": "Bad Request",
    "message": "username or password incorrect"
}

@stevenabadie I'll go ahead and add that case to this branch.

This case is added now. Since you confirmed that that funky error was handled, I'm going to go ahead and merge this.


starter: redesign starter

What is it?

[x] Feature / enhancement
[ ] Bug
[ ] Docs / tests

Description

[x] Reworked the starter app to match CI
[x] moved starter specific routes, styles and components into a dedicated directory to make it easier to remove them
[x] added new gauge component
[x] rework flower app
[x] rework todo app

Video
https://user-images.githubusercontent.com/3241476/232895102-6f081c42-9b58-4060-ba7b-a37f6751f8d4.mp4
Design

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

there would be also an option to get a perfect lighthouse score when changing the front color of the blue button and on the light purple sections. otherwise we would go with 100/96/100/100

Rocking it man!


TaskInfo now returned slightly differently in 5.3

https://github.com/elastic/elasticsearch/pull/22698
Investigate if this is not a breaking change

No change required on our side.


fix(README): update description of explorer

:tada: This PR is included in version 1.0.11 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


From string to constants

@RocketChat/android
Adding some constants and using it.

@laggedHero Great!
But could you provide "push" feature with another pull request?
Replacing strings to constants is very easy to accept, however "push" feature requires some discussion.

https://github.com/cmelchior/realmfieldnameshelper
BTW, can't we use this library?

I don't think that library will help. Some of our fields are just a letter (t as an example). Let's create those constants.
About push: looks like some of my initial work leaked here. My bad. But those are not a lot of stuff. Any problems you see here?

I don't think that library will help. Some of our fields are just a letter (t as an example). Let's create those constants.

I see 👍

About push: looks like some of my initial work leaked here. My bad. But those are not a lot of stuff. Any problems you see here?

"Push" feature is very important for us.
It should be better not to mix incomplete codes with other pull requests even if the code is easy to understand.
So I created a commit for removing "push" features from this pull request.
https://github.com/RocketChat/Rocket.Chat.Android/pull/120/commits/c389c82db95cd2d0bfd1b8c24866aeb5a35779ff
After merging this pull request, the commit can be reverted with other "push" related codes.

Actually I prefer constants to be defined in another (or inner) class
class Message extends RealmObject {
  private String rid;
  private String msg;

  public interface ColumnNames {
    String ROOM_ID = "roomId";
    String MESSAGE = "msg";
  }
}

or with prefix to indicate that it is column name.
class Message extends RealmObject {
  private String rid;
  private String msg;

  public static final String COLUMN_ROOM_ID = "roomId";
  public static final String COLUMN_MESSAGE = "msg";
}

because Message.MESSAGE or Message.USER is hard to guess it have column name in it without checking the definition of Message class.