Poetry interpreter support

Sorta wrote the PR before raising an issue and realised one is required :D
Don't really know typescript so would not be surprised if there is a better way to do this. Pretty much just mirrored the pipenv support as poetry is similar

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[x] ~Appropriate comments and documentation strings in the code.~
[x] ~Has sufficient logging.~
[x] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated.
[x] ~Test plan is updated as appropriate.~
[x] ~package-lock.json has been regenerated by running npm install (if dependencies have changed).~
[x] ~The wiki is updated with any design decisions/details.~

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: terrycain sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

Merging #11839 into master will decrease coverage by 0.02%.
The diff coverage is 62.50%.

@@            Coverage Diff             @@
##           master   #11839      +/-   ##
==========================================
- Coverage   60.45%   60.42%   -0.03%
==========================================
  Files         631      633       +2
  Lines       34156    34316     +160
  Branches     4798     4826      +28
==========================================
+ Hits        20648    20737      +89
- Misses      12508    12570      +62
- Partials     1000     1009       +9

Impacted Files
Coverage Δ

src/client/common/process/types.ts
84.61% <ø> (ø)

...c/client/interpreter/autoSelection/rules/system.ts
100.00% <ø> (ø)

src/client/interpreter/helpers.ts
48.19% <0.00%> (-0.59%)
:arrow_down:

src/client/interpreter/locators/index.ts
72.54% <ø> (-13.73%)
:arrow_down:

src/client/telemetry/index.ts
85.21% <ø> (ø)

...terpreter/locators/services/poetryServiceHelper.ts
20.68% <20.68%> (ø)

src/client/interpreter/locators/helpers.ts
64.40% <35.71%> (-6.19%)
:arrow_down:

src/client/interpreter/virtualEnvs/index.ts
76.08% <41.66%> (-6.84%)
:arrow_down:

...ent/interpreter/locators/services/poetryService.ts
77.22% <77.22%> (ø)

src/client/interpreter/contracts.ts
100.00% <100.00%> (ø)

... and 15 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 974e784...85a8fa4. Read the comment docs.

Woot tests are passing :smile:

I tried working on this, https://github.com/microsoft/vscode-python/pull/9399
But closed it as we're in the process of making some architectural changes hence closed my original PR.
@karthiknadig What's the plan here? I closed mine as i figured it would be a waste.

We will revisit this after making the architecture change. One of the intents with the change we have planed is to make it easier to add support for this. Also, have better control over what we can turn on or off when it comes to searching.

:D fair enough, I'll leave this here until you've made said changes

As the restructuring is pretty extensive and this PR has drifted due to merge conflicts, I'm closing this as out of date. But I will say we do still plan to add Poetry support.


Upgrade Swagger 2.2.17 -> 2.2.18

This PR contains the following updates:

Package
Type
Update
Change

Swagger
compile
patch
2.2.17 -> 2.2.18

Release Notes

swagger-api/swagger-core (Swagger)
v2.2.18: Swagger-core 2.2.18 released!
Compare Source

refs #4483 - fix NullPointer for @ApiResponse missing description (#4501)
refs #4462 - exclude javax.validation annotations from container values processing (#4500)
Update README.md versions list (#4493)
feat: add getUseFqn to TypeNameResolver (#4484)

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade Swagger 2.2.17 -> 2.2.18

See:
- https://github.com/swagger-api/swagger-core/releases/tag/v2.2.18
- https://github.com/swagger-api/swagger-core/compare/v2.2.17...v2.2.18


Some music searches or links do not work.

What I mean by this is for example: https://www.youtube.com/watch?v=UzQXEQqX70I
will not be played in the bot, it gives me the Dictionary error. Is it possible to fix this to where any you tube video could be played?
I can't even get around this error sometimes.

It sometimes happens, try another link.
This is a part of issues we are not tracking (music) because music will be rewritten at some point in 1.0


Remove stale license information

As per 166f4cc14a955f1501eeb80cf7b751e8c8709154 all past authors agreed
to re-license to Apache 2.

LGTM


Blob will timeout if not sent to reflector in 3 minutes, process stops. Should retry sending blobs

The Issue
The current timeout for sending blobs to the reflector is 30 seconds. If a user has an upload speed lower than ~67 KB\s, the reflection process will stop and will not retry until the re-reflection interval (12 hours?). If this occurs, the daemon should retry reflecting the file again. Not sure this would help if the user's upload is consistently slower than that...unless reflector is able to support partial blobs and then complete them on the retry.
This is probably worth additional exploration/discussion.
Sample:
2018-08-20 12:17:52,540 INFO     lbrynet.daemon.Daemon:377: Success! Published to lbry://reflector5 txid: de912294e04ae132ffb1b77d2f382fb17b6c65fae97a4572985f74329e7078cf nout: 0
2018-08-20 12:17:52,634 INFO     lbrynet.reflector.client.client:132: Reflector needs descriptor and 170 blobs for stream
2018-08-20 12:17:56,766 INFO     lbrynet.reflector.client.client:221: Sent reflector descriptor b02f699964d5ac78
2018-08-20 12:18:03,966 INFO     lbrynet.dht.hashannouncer:78: Took 11.486000061 seconds to announce 2 of 2 attempted hashes (0.000000 hashes per second)
2018-08-20 12:23:02,346 WARNING  lbrynet.reflector.client.client:249: Reflector failed to receive blob bbf0a99432127408
2018-08-20 12:23:02,423 WARNING  lbrynet.reflector.client.client:84: Stopped reflecting b02f699964d5ac78 after sending 14 blobs
2018-08-20 12:23:02,423 INFO     lbrynet.daemon.Daemon:373: Reflected new publication to lbry://reflector5

System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

A community member recently ran into this issue on a few files he was trying to upload.
2018-09-16 23:43:30,543 INFO     lbrynet.daemon.Daemon:377: Success! Published to lbry://lbrymeetup-feedback txid: a6ca9bc71150af64c062393f7a4719ffea40c7867bfd34955331a0e237cd6903 nout: 0
2018-09-16 23:43:31,743 INFO     lbrynet.reflector.client.client:132: Reflector needs descriptor and 134 blobs for stream
2018-09-16 23:43:39,249 INFO     lbrynet.reflector.client.client:221: Sent reflector descriptor dfd1c6fbaa912b2e
2018-09-16 23:43:57,782 INFO     lbrynet.dht.hashannouncer:55: Announced 144/147 blobs, 0.010042 blobs per second
2018-09-16 23:44:09,706 WARNING  lbrynet.reflector.client.client:249: Reflector failed to receive blob 0bb31804a9b780c8
2018-09-16 23:44:09,707 INFO     lbrynet.reflector.client.client:74: Reflector has all blobs for dfd1c6fbaa912b2e

timeout is now 3 min

DOD: Blobs do not fail

Now that more users are uploading to LBRY directly, they are running into this issue. They go to lbry.tv and it won't stream without any indication as to why. Only fix is to quit and restart and hope it reflects.
Would be nice to go along with https://github.com/lbryio/lbry-sdk/issues/2271


Setting for rootMargin

Hello,
It would be nice to allow us to configure the rootMargin Intersection Observer setting. This way we can accomplish pre-loading of images that are not yet in the viewport. The end result would be the users will never see an empty/loading image while they scroll at normal speed to the bottom of the page.

Hi
I recently needed this for a project so extended the default options and allowed these to be overridden with a config argument, e.g. lazyload(lazyImages, {"rootMargin": "150px"});
All 3 arguments to the IntersectionObserver can be specified or they will just use default values
I'd be happy to submit a PR for this?

Fixed via #416.


Add GKeyFile to the API

This should fix issue #135. See the discussion over there.

I currently use a non HEAD/master commit for gir as there is a PR gtk-rs/gir#265

This is causing the failure on TravisCI. When that PR lands, I'll change the gitsubmodule commit to address this.

All this Makefile and submodule things aren't very encouraging. Also, we won't merge anything as long as CIs don't say 'ok'.

As I said, the CI will pass for you merge gtk-rs/gir#265, which is fine to wait on.

Gir part merged

My bad I'll fix the CI.

it is actually a codegen bug :-/

It need this change in gir
diff --git a/src/codegen/enums.rs b/src/codegen/enums.rs
index 2ef5175..efdad75 100644
--- a/src/codegen/enums.rs
+++ b/src/codegen/enums.rs
@@ -134,10 +134,16 @@ impl FromGlib<ffi::{ffi_name}> for {name} {{
     if let Some(ref get_quark) = enum_.error_domain {
         let get_quark = get_quark.replace("-", "_");
         let has_failed_member = members.iter().any(|m| m.name == "Failed");
+        let glib_sys_module: &str;
+        if env.namespaces.glib_ns_id == namespaces::MAIN {
+            glib_sys_module = "ffi";
+        } else {
+            glib_sys_module = "glib_ffi";
+        }

         try!(version_condition(w, env, enum_.version, false, 0));
         try!(writeln!(w, "impl ErrorDomain for {name} {{
-    fn domain() -> glib_ffi::GQuark {{
+    fn domain() -> {glib_sys_module}::GQuark {{
         {assert}unsafe {{ ffi::{get_quark}() }}
     }}

@@ -146,7 +152,8 @@ impl FromGlib<ffi::{ffi_name}> for {name} {{
     }}

     fn from(code: i32) -> Option<Self> {{
-        {assert}match code {{", name = enum_.name, get_quark = get_quark, assert = assert));
+        {assert}match code {{", name = enum_.name, get_quark = get_quark, assert = assert,
+                      glib_sys_module = glib_sys_module ));

         for member in &members {
             try!(version_condition(w, env, member.version, false, 3));

So here is what I propose:

I remove GLib.KeyFileError from the generate Gir.toml
we get this merge
I create a new for the above, and one for gir that will be needed to solve the above issue.

Agree with merge without GLib.KeyFileError.
Gir can also fixed in enum.rs. Not sure what better.
diff --git a/src/codegen/enums.rs b/src/codegen/enums.rs
index 2ef5175..e0c0f1c 100644
--- a/src/codegen/enums.rs
+++ b/src/codegen/enums.rs
@@ -19,7 +19,8 @@ pub fn generate(env: &Env, root_path: &Path, mod_rs: &mut Vec<String>) {
         try!(writeln!(w, ""));
         try!(writeln!(w, "use ffi;"));
         if env.namespaces.glib_ns_id == namespaces::MAIN {
-            try!(writeln!(w, "use error::ErrorDomain;
+            try!(writeln!(w, "use ffi as glib_ffi;
+use error::ErrorDomain;
 use translate::*;"));
         } else {
             try!(writeln!(w, "use glib_ffi;

Well, I vote for the smaller diff ;)

Ok, I'll check that.

ok this is the updated PR

:+1: for this state.
Complete remove KeyFile::error_quark can be done with adding GLib.KeyFileError and KEY_FILE_DESKTOP_*.
Or we can merge PR266 and do it in this PR.

Updated PR with the constant.
Wrapped manually a function to take a path instead of a string.

addressed the last two comments.

@hfiguiere, as @gkoz or @GuillaumeGomez still not merged this PR, can you add GLib.KeyFileFlags and remove manual error_quark here?

no, because it is not solved by the current gir.... ie it doesn't build.

Strange, PR266 merged and all builds fine for me.

I believe updating the gir submodule to the latest master fixes the KeyFileError issue.

I tried that before commenting. If it has changed since, maybe. But 13 hours ago it didn't fix it.

At least it's worked for me right now. But submodules can be a bit confusing sometimes.

I did pull master, rebuild the generated filed. Still not fixing the problem. Problem still in Gir and I'm not familiar with it, so I haven't dug into the problem yet. I thinks perfect is the enemy of good in that case as we are still better than last time.
I have already pushed by code to use the AP this PR provides.

Thanks for contributing! I'll sort out the minor things later then.
@GuillaumeGomez any objections?

Closed by way of #137


Support K8s v1.28 and Drop K8s v1.25

What this PR does / why we need it:
I added support for the K8s v1.28 and dropped the K8s v1.25.
Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):
Part-of: #1999
Checklist:

[ ] Docs included if any changes are user facing

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.01%) to 42.896%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1/mpi/mpijob.go
1
91.06%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
3756

Relevant Lines:
8756

💛  - Coveralls


We should create a custom 500 page

We recently found a place where we were getting a 500 error (Internal Server Error - it's been fixed on production). In addition to the custom 502 and 504 pages we already have (see #853), we should create a similar 500 page.
One possible thing to consider - since 500 errors will probably emerge where there is an error in our code (so the issue won't eventually resolve itself on its own, as is the case for 502s and 504s), we might want to include contact info for Debra (or someone else?) so that news of the error can find its way to us and we can fix it.

I spent a while on Friday trying to set this up, and I wasn't able to get it to work. I think the 500 page is less important than the 502 and 504 pages, so I think this is not worth more of my time - I'm going to mark this as "won't fix" and close it.
If we eventually return to this, it would be a good idea to automatically trigger an email to notify a developer that someone has discovered something on the site that's broken.


Typo in FILTER_TRANSMISSION

Added an underscore. Trying to go thru the right process of making changes thru a merg request.

Perfect! I'll approve and merge now - note we should update all soss branches with this change.

Note also that now this is merged you can safely delete the loic_fixfiltertypo  branch!


util.join does not support exportVal()

Add this into JoinedRecord class. There is an internal bug in Firebase preventing once('value', ...) from correctly setting priorities. So this won't be possible until that is corrected.

Added in the 0.2 release


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_bcay7os4md/clone/recipe/meta.yaml:16: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_bcay7os4md/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: /tmp/abs_bcay7os4md/clone/recipe/meta.yaml:39: missing_description: The recipe is missing a description
ERROR: /tmp/abs_bcay7os4md/clone/recipe/meta.yaml:39: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_bcay7os4md/clone/recipe/meta.yaml:39: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_bcay7os4md/clone/recipe/meta.yaml:39: missing_license_family: The recipe is missing the about/license_family key.
Errors were found


Implement QUIC transport layer for BitTorrent client

https://github.com/radumarias/rfs/wiki/File-sync-between-data-nodes
Implementing a BitTorrent in Rust

https://www.youtube.com/watch?v=r0srf3kfZbs
https://www.youtube.com/watch?v=jf_ddGnum_4

https://github.com/radumarias/rfs/issues/4
https://github.com/radumarias/rfs/issues/43
https://github.com/radumarias/rfs/issues/2
https://github.com/radumarias/rfs/issues/21

Integrating Iroh for RFS
Primary Roles of Iroh in RFS

Peer Discovery:

Use Iroh’s DHT (Distributed Hash Table) to locate peers that store or sync specific files.
This enables a decentralized approach, aligning with the masterless, peer-to-peer architecture of RFS.

Data Transfer:

Iroh provides an efficient, QUIC-based networking layer suitable for decentralized applications.
Though zero-copy isn’t feasible with QUIC, Iroh still provides optimized data transport.

Reliability and Security:

Built on QUIC, Iroh inherently supports encryption and multiplexing, adding resilience to your P2P connections.

Revised To-Do List with Iroh Integration
1. Core Architecture and Foundation
1.1. Define Architecture with Iroh Integration

[ ] Document how Iroh will manage peer discovery and data transfer.
[ ] Specify how RFS nodes interact with Iroh’s DHT to announce and locate file pieces.

1.2. Implement Peer Discovery via Iroh’s DHT

[ ] Use Iroh’s DHT functionality to build a decentralized peer discovery layer.
[ ] Implement peer announcements where each peer registers their file shards’ info hashes.
[ ] Query the DHT to locate peers that hold required file pieces.
[ ] Test multiple peer interactions through Iroh to verify efficient peer discovery.

1.3. (Optional) Custom Tracker as Fallback

[ ] Build a centralized tracker for specific testing or environments where direct DHT access may be unavailable.
[ ] Use this as an alternative discovery method only if necessary, allowing Iroh to be the primary discovery mechanism.

2. Data Transfer and File Synchronization
2.1. Data Transfer Layer Using Iroh over QUIC

[ ] Set up Iroh’s QUIC transport layer for secure data transfer.
[ ] Implement buffered reads and writes to minimize data copying and optimize transfer speed.
[ ] Use Iroh’s connection multiplexing to manage concurrent file piece transfers with multiple peers.

2.2. File Sharding and Data Integrity

[ ] Integrate sharding logic so each file piece (shard) has a unique info hash.
[ ] Ensure shards are validated using their SHA-1 hash before acceptance, supported by Iroh’s reliable transfer.
[ ] Implement an exchange protocol where peers can request specific shards from others, using the info hash as the unique identifier.

2.3. Efficient Syncing with Merkle Trees

[ ] Use Merkle trees to represent the hash structure of files.
[ ] Implement synchronization that only transfers the differing Merkle tree nodes, leveraging Iroh’s QUIC layer for efficient, reliable transport.
[ ] Test syncing between peers by modifying files and confirming that only the changed shards are transferred.

3. Advanced RFS Capabilities with Iroh
3.1. Using Iroh for Fault Tolerance and Reliability

[ ] Build peer-to-peer data redundancy by having multiple peers replicate files or pieces.
[ ] Use Iroh’s DHT to locate redundant copies of data for fault tolerance.

3.2. File Versioning and Snapshots

[ ] Implement version tracking by associating file versions with unique hashes in Iroh’s DHT.
[ ] Allow versioned files to be restored by locating previous versions via their DHT entries.

3.3. Analytics and Metadata Indexing

[ ] Use Iroh’s data layer to handle metadata associated with files, such as the last modified time and data integrity status.
[ ] Build simple analytics to track network performance, bandwidth usage, and active peer count, utilizing Iroh’s peer connection information.

4. Testing, Documentation
4.1. Testing Iroh Integration

[ ] Simulate large-scale testing of Iroh’s DHT and QUIC transport, observing peer discovery times and data transfer reliability.
[ ] Test performance in high-latency environments to evaluate the stability and speed of Iroh’s transport layer.

4.2. Documentation on Iroh’s Role in RFS

[ ] Document how Iroh simplifies peer discovery and data transfer, including code examples.
[ ] Write a dedicated wiki section on Iroh integration for contributors and new users.


Extend indicator_lib.py to support multi-coded indicators

Background
Some indicators, for example, Cur_ARV might be represented using more than one code, i.e.

MCL/CIEL	1088 :
Question on encounter forms: "Is the patient currently taking, or has the patient ever taken, any of the following antiretroviral medications?" or "Current HIV Medications:". This particular concept stores a history of active use of the associated antiretroviral medications for treatment.
MCL/CIEL | 1250 :
Part of the encounter form plan. Answers are drugs started at the end of the particular encounter.

We also have more codes on this here:  https://github.com/AMPATH/etl/blob/4c4acb06989ea3d0b4aac4217104db398631eee2/etl-scripts/stored-procedures/generate_hiv_summary_v213.sql#L494
Possible Solution
It would be nice to extend indicator_lib.py to support multi-coded indicators: So, for example, when a user wants to define TX_CURR, the user can pass a tuple/list of codes needed to calculate this indicator, i.e.
TX_CURR_df_P = indicator_lib.calc_TX_CURR(
      patient_agg_obs_df, ARV_code=('5090A','5090B','5090C'),
      end_date_str=end_date)

Currently you can only pass one code

FYI @bashir2

Thanks @kimaina for filing this. As we discussed today, I think the main building blocks for doing this are already there in indicator_lib.py. If you look at how calc_TX_PVLS works, it takes a patient_agg_obs DataFrame which comes from joining patient data with the output of aggregate_all_codes_per_patient. The output of that function can have multiple codes per patient row. So it should not be too hard to support indicators that need multiple codes.
Hope this is clear enough; and BTW, please feel free to extend indicator_lib as you see fit. The current version is a minimal version to show one indicator use-case.

Thank you @bashir2 for the clarification! closing this issue!


Simple props to start with for sha1

two props one is that a and a.toString are sha1 invariant for a as Long (could consider Numeric of suitable types more generally).
Another one is the expected sha1 property that there are no collisions on sha1 for distinct Longs.

i dont have sleeps maybe that is why it fails on travis CI.

Current coverage is 95.94% (diff: 100%)

No coverage report found for master at fc6895e.

Powered by Codecov. Last update fc6895e...9c487cd

Your tests are fine, most likely Travis fails because of high load. I keep relaxing the test limits, but I still have some tests that do things like start a Thread.sleep for 100 ms and then wait concurrently for 150 ms, assuming that the sleep will be over by that time, but it sometimes isn't.


[User story]:Community Audio

Make user story for Community Audio

https://docs.google.com/document/d/1Xx8xhaHo-b60htMoNknusFyQNaWQoJ43bhiBQsSaZ1w/edit?tab=t.0


Improved logging

Allow configuring the logger destination
Use Langchain logger on OpenAI client requests
Use Langchain logger on Google LLMs http requests
Less verbose logger by replacing info msgs with debug

@dferrazm Could you please add an entry to the CHANGELOG.md?

@dferrazm Great job! 👏🏻


EXEC-112

This PR addresses EXEC-112 by adding a "charset" variable to the LogOutputStream class, and providing an overloaded constructor to allow a user to set it. If this is set, when calling processBuffer, the buffer.toString calls uses the overload with a charset name specified. Existing behaviour with the original constructor is maintained.
The first commit adds a unit test that fails when running "mvn verify" from the command line on Windows so that the issue can be verified, this test is removed in a subsequent commit.

Hi @jackdos
TY.
Closing: Seems to already be in git master.


yarn: not found when using jsbundling-rails with --parallel option

 > [build 7/7] RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile:
#21 3.323 sh: 1: yarn: not found
#21 3.323 rails aborted!
#21 3.324 jsbundling-rails: Command build failed, ensure yarn is installed and `yarn build` runs without errors
#21 3.324 /rails/vendor/ruby/3.2.0/gems/jsbundling-rails-1.1.1/lib/tasks/jsbundling/build.rake:5:in `block (2 levels) in <main>'

Dockerfile

# syntax = docker/dockerfile:1

# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=3.2.1
FROM quay.io/evl.ms/fullstaq-ruby:${RUBY_VERSION}-jemalloc-slim as base

LABEL fly_launch_runtime="rails"

# Rails app lives here
WORKDIR /rails

# Set production environment
ENV RAILS_ENV="production" \
    BUNDLE_WITHOUT="development:test" \
    BUNDLE_DEPLOYMENT="1"

# Update gems and bundler
RUN gem update --system --no-document && \
    gem install -N bundler

# Throw-away build stages to reduce size of final image
FROM base as prebuild

# Install packages needed to build gems and node modules
RUN --mount=type=cache,id=dev-apt-cache,sharing=locked,target=/var/cache/apt \
    --mount=type=cache,id=dev-apt-lib,sharing=locked,target=/var/lib/apt \
    apt-get update -qq && \
    apt-get install --no-install-recommends -y build-essential curl git node-gyp pkg-config python-is-python3

FROM prebuild as node

# Install JavaScript dependencies
ARG NODE_VERSION=16.15.1
ARG YARN_VERSION=1.22.18
ENV PATH=/usr/local/node/bin:$PATH
RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz -C /tmp/ && \
    /tmp/node-build-master/bin/node-build "${NODE_VERSION}" /usr/local/node && \
    npm install -g yarn@$YARN_VERSION && \
    rm -rf /tmp/node-build-master

# Install node modules
COPY --link package.json yarn.lock ./
RUN --mount=type=cache,id=bld-yarn-cache,target=/root/.yarn \
    YARN_CACHE_FOLDER=/root/.yarn yarn install --frozen-lockfile

FROM prebuild as build

# Install application gems
COPY --link Gemfile Gemfile.lock ./
RUN --mount=type=cache,id=bld-gem-cache,sharing=locked,target=/srv/vendor \
    bundle config set app_config .bundle && \
    bundle config set path /srv/vendor && \
    bundle install && \
    bundle exec bootsnap precompile --gemfile && \
    bundle clean && \
    mkdir -p vendor && \
    bundle config set path vendor && \
    cp -ar /srv/vendor .

# Copy node modules
COPY --from=node /rails/node_modules /rails/node_modules

# Copy application code
COPY --link . .

# Precompile bootsnap code for faster boot times
RUN bundle exec bootsnap precompile app/ lib/

# Adjust binfiles to set current working directory
RUN grep -l '#!/usr/bin/env ruby' /rails/bin/* | xargs sed -i '/^#!/aDir.chdir File.expand_path("..", __dir__)'

# Precompiling assets for production without requiring secret RAILS_MASTER_KEY
RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile

# Final stage for app image
FROM base

# Install packages needed for deployment
RUN --mount=type=cache,id=dev-apt-cache,sharing=locked,target=/var/cache/apt \
    --mount=type=cache,id=dev-apt-lib,sharing=locked,target=/var/lib/apt \
    apt-get update -qq && \
    apt-get install --no-install-recommends -y iputils-ping libsqlite3-0 net-tools procps traceroute

# Run and own the application files as a non-root user for security
RUN useradd rails --home /rails --shell /bin/bash

# Copy built artifacts: gems, application
COPY --from=build /usr/local/bundle /usr/local/bundle
COPY --from=build --chown=rails:rails /rails /rails

# Deployment options
ENV RUBY_YJIT_ENABLE="1"

# Entrypoint prepares the database.
ENTRYPOINT ["/rails/bin/docker-entrypoint"]

# Start the server by default, this can be overwritten at runtime
EXPOSE 3000
CMD ["./bin/rails", "server"]

Spent some time to debug it, but maybe put some warning/confirmation when jsbundling-rails is present and user is using --parallel option or add node/yarn into prebuild stage?

not including node/yarn in the prebuild stage is definitely a bug

What would the workaround be here? I don't see any documentation in docker or docker compose about a prebuild stage... 🤔

I'm getting:
Yarn not installed. Please download and install Yarn from https://yarnpkg.com/lang/en/docs/install/

When running
RUN SECRET_KEY_BASE=DUMMY ./bin/rails assets:precompile

Thanks!

Ok, fixed this by removing the --cached and re-running the generator.

You can also fix this (without removing parallel) with this diff:
diff --git a/Dockerfile.fly b/Dockerfile.fly
--- a/Dockerfile
+++ b/Dockerfile
@@ -62,6 +62,8 @@ RUN --mount=type=cache,id=bld-gem-cache,sharing=locked,target=/srv/vendor \

 # Copy node modules
 COPY --from=node /rails/node_modules /rails/node_modules
+COPY --from=node /usr/local/node /usr/local/node
+ENV PATH=/usr/local/node/bin:$PATH

jsbundling-rails and cssbundling-rails (will) support skipping yarn install on assets:precompile.
https://github.com/rails/jsbundling-rails/pull/150
https://github.com/rails/cssbundling-rails/pull/125


Support for official aapt

Create fake AndroidManifest.xml file inside each installed framework file to support official aapt from Google.
This should fix such issues as https://github.com/iBotPeaches/Apktool/issues/1224

Hi, Thanks for the PR.
I see frameworks that are manually tagged are the only ones affected. In the getFrameworkApk function we actually return the internal framework if no framework already exists on the system. We should probably update that as well, but there is no easy way in the current code base since its just copying streams.
We can probably refactor the installFramework function a bit to just allow passing of the resources.arsc data so it can support both internal frameworks and frameworks installed via parameter.
Secondly, we have to generate a real bogus AndroidManifest.xml file so it can be read. I think it can be short as this
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"  />

Though I haven't tested, because if you have an invalid AndroidManifest.xml then you get this error while trying to use a stock aapt binary.
I: Building resources...
W: W/ResourceType( 5563): Bad XML block: header size 29284 or total size<PHONE_NUMBER> is larger than data size 37
W: ERROR: Platform AndroidManifest.xml is corrupt

I can do these changes too, just let me know.

Hi, I'll test it tonight and let you know, or update PR.

Updated the code. Now we can pull AndroidManifest.xml from the framework apk file, like we do with resources.arsc.


Fix make vars and improve docs gen

I've removed the quoting from the variables file sourced by Makefile. This fixes some of the strange errors that occur when the variables are used that result in partial quotations on execution.
I have also moved around the doc gen files and added a templates folder with a README.md, explaining where to get the default templates for modification. I also nested the files used for docgen under docs/files instead of just docs/ so that all of the doc gen stuff can live together there.
Finally, I renamed the .env.public file to config.public.mk to reflect the fact that it is a configuration file for Makefile. This seems to be consistent with some conventions in the Makefile community and helps to differentiate it from an environment file that follows different conventions.
Please give me any feedback you have on these rearrangements. I'm happy to make changes to accommodate how we want to do things in the LinkML community. These were just what made sense to me.

I chose all of you because you appear to have a hand in driving the direction of the cookie-cutter but if there is someone more appropriate for this code review please let me know.

Sorry I haven't taken a look at it yet, will have this reviewed by early next week @amc-corey-cox.


release: 1.6.0

:robot: I have created a release beep boop
1.6.0 (2023-05-15)
Features

add custom cron spec and daily refresh (e2ad774)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/starudream/douyu-task/releases/tag/v1.6.0 :sunflower:


Expand support for sql window functions to allow more functions, window definitions, and updating inputs

Arroyo supports window functions, but only under very specific circumstances:

Only ROW_NUMBER() is supported.
The input data can't be updating.
The first term of the partition clause has to be a window struct, from either hop() or tumble().

The first two constraints are simply a matter of missing implementations. There's no semantic issue with supporting window functions such as LAG or ntile(), just a matter of correctly generating the code.
Similarly, updating inputs just require being able to remove or modify records from state, which is doable.
For the final constraint, it's a little trickier. Many of the window functions, such as ROW_NUMBER(), are sensitive to the total order of the partition. A single record coming in can change the value for an arbitrary number of rows. Supporting this style of update may be asking for trouble. That being said, there are some other time-sensitive windowing functions we could support. For instance, if your ordering is by event time and your window function only needs to know preceding terms, you could compute the streaming result by using the watermarks.
This is a tracking issue just to start the discussion. Individual improvements should reference it as we make progress.

Things like a LAG function is very handy for example to calculate the difference in time between 2 different column values like this:
WITH cte1 AS
  (
    SELECT
        window_start AS start,
        node,
        to_time(lastoccurrence, 'UTC') AS last_occurrence,
        to_time(lastclear, 'UTC') AS last_clear,
        raisetally AS alert_count
      FROM tumble(netcool, to_time(actiontime, 'UTC'), 10s)
      WHERE match(summary, 'is not reachable$')
      AND alert_count > 1
      PARTITION BY node
      GROUP BY start, node, last_occurrence, last_clear, alert_count
      ORDER BY last_occurrence
      SETTINGS seek_to='earliest'
  ),
  cte2 AS
    (
      SELECT
        *,
        lag(last_occurrence) OVER (PARTITION BY node) AS prev_occurrence,
        lag(alert_count) OVER (PARTITION BY node) AS prev_alert_count
      FROM alerts
    )
    SELECT
      window_start AS start,
      node,
      date_diff('second',prev_occurrence, last_clear) AS downtime
    FROM tumble(cte2, ts, 1m)
    WHERE alert_count > prev_alert_count;

┌───────────────────start─┬─node───┬─────────last_occurrence─┬──────────────last_clear─┬─alert_count─┬─────────prev_occurrence─┬─prev_alert_count─┐
│ 2024-03-09 20:40:10.000 │ node01 │ 2024-03-09 20:40:10.000 │ 2024-03-09 20:40:06.000 │           4 │ 2024-03-09 20:40:08.000 │                3 │
│ 2024-03-09 20:40:10.000 │ node01 │ 2024-03-09 20:40:12.000 │ 2024-03-09 20:40:10.000 │           5 │ 2024-03-09 20:40:10.000 │                4 │
│ 2024-03-09 20:40:10.000 │ node01 │ 2024-03-09 20:40:14.000 │ 2024-03-09 20:40:12.000 │           6 │ 2024-03-09 20:40:12.000 │                5 │
│ 2024-03-09 20:40:10.000 │ node01 │ 2024-03-09 20:40:16.000 │ 2024-03-09 20:40:12.000 │           7 │ 2024-03-09 20:40:14.000 │                6 │
│ 2024-03-09 20:40:10.000 │ node01 │ 2024-03-09 20:40:18.000 │ 2024-03-09 20:40:13.000 │           8 │ 2024-03-09 20:40:16.000 │                7 │
└─────────────────────────┴────────┴─────────────────────────┴─────────────────────────┴─────────────┴─────────────────────────┴──────────────────┘


[Feature request] navbar dropdown

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I want to add more entries to the nav bar but don't want to create too much visual cluster. A drop down would be nice, as it allows me to group multiple navbar links together, taking less space by default.
Describe the solution you'd like
A clear and concise description of what you want to happen.
const headerNavLinks = [
  { href: '/', title: 'Home' },
  { href: '/blog', title: 'Blog' },
  { href: '/tags', title: 'Tags' },
  { title: 'Dropdown 1', children: {
href: '/link1', title: 'title 1',
href: '/link2', title: 'title 2',
} // this becomes a dropdown navbar item
]

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I don't mind supporting such a feature. To avoid creating too much clutter, I think just a one level menu would work and it should display well on mobile as well.
If anyone is interesting in contributing a pull request on this item, let me know, thanks!

@timlrx
I'd like to contribute, Would it be okay if I take on this one?

@timlrx I'd like to contribute, Would it be okay if I take on this one?

Sure! Take a look at the recently updated ThemeSwitch component. It contains a menu implementation using @headlessui/react. Try to follow a similar approach for consistency, thanks!

Exactly what I was planning on doing!


safari zoom issue

standard zoom does not work in safari (

I don't have a Mac I only tested using safari on iPad pinch zoom. Appreciate if you can add more details, error messages. PR welcome.

Zoom on safari is working fine on my mac, i didn't have any issues...

Thanks @cesardeazevedo
I also tested with safari on mac today, not able to reproduce on both master and next branches, reopen with more details


add myself as maintainer here

Ping @isuruf who realized we need at least one core member in the dependencies we use for key packages.
@rmax please let me know if you are OK with this, if not I can remove but the goal is only to get notified of the updates here.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


按照教程里的步骤不能执行

@cnazev commented on Wed May 27 2020
按照教程步骤走下来
在调试部分跟教程里的截图不一致
有一个提示 Open a file which can be debugged or run.
下方的Run and Debug按钮不可用。
另外这篇教程题目是‘使用 Visual Studio Code 在 macOS 中创建 .NET Core 解决方案’
但文章基本跟cli下开发一样，只是在Visual Studio Code的内置终端。
没有提及如何是在Visual Studio Code中打开多项目的解决方案，以及打开解决方案里的项目。

文档详细信息
⚠ 请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。

ID: 3343b35c-90c1-2e11-498d-ee1d4eb409f6
Version Independent ID: f2eda261-d4c3-c90a-1294-dfe11e55c341
Content: 教程：使用 Visual Studio Code 在 macOS 中创建 .NET Core 解决方案 - .NET Core
Content Source: docs/core/tutorials/using-on-macos.md
Product: dotnet-core
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

@srvbpigh commented on Wed May 27 2020
Hello, @cnazev
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

Translation:

Follow the tutorial steps down
In the debugging section does not match the screenshots in the tutorial
There is a prompt Open a file who can be be be run.
The Run and Debug button below is not available.

In addition, this tutorial is titled 'Create a .NET Core Solution in macOS with Visual Studio Code'
But the article is basically the same as the development under cli, just the built-in terminal of Visual Studio Code.
There is no mention of how to open a multi-project solution in Visual Studio Code, or a project to open a solution.

/cc @tdykstra
I think this has been partially addressed when I updated the screenshots for the latest Visual Studio for Mac. I think the remaining concerns are addressed with your recent updates. Do you agree?

This is for the Visual Studio Code on macOS tutorial, not the Visual Studio for Mac one. This issue is a duplicate of #18670 on which I commented that the new series of Visual Studio Code tutorials I'm writing will replace this tutorial.


Can not print thai character

Dear sir,
I would like to ask you to help I can't print Thai.
let _encoder = encoder
.initialize()
.codepage('cp874')
.line('ข้าวผัดของไทยอร่อยที่สุดครับ')
.encode();
Thank you very much.

Whether or not a particular codepage works depends a lot on the model of the printer. Some printers do not support all codepages, and some manufacturers use different codepage mappings. The upcoming version 2 should have better support for different codepage mappings.
Which printer are you using?

example code for Thai
const encoder = new EscPosEncoder({
  codepageMapping: {
    cp437: 0x00,
    shiftjis: 0x01,
    cp850: 0x02,
    cp860: 0x03,
    cp863: 0x04,
    cp865: 0x05,
    cp851: 0x0b,
    cp853: 0x0c,
    cp857: 0x0d,
    cp737: 0x0e,
    iso88597: 0x0f,
    windows1252: 0x10,
    cp866: 0x11,
    cp852: 0x12,
    cp858: 0x13,
    cp874: 0x16, // 22, for Thai with EPSON that sold in Thai
    cp720: 0x20,
    cp775: 0x21,
    cp855: 0x22,
    cp861: 0x23,
    cp862: 0x24,
    cp864: 0x25,
    cp869: 0x26,
    iso88592: 0x27,
    iso885915: 0x28,
    cp1098: 0x29,
    cp1118: 0x2a,
    cp1119: 0x2b,
    cp1125: 0x2c,
    windows1250: 0x2d,
    windows1251: 0x2e,
    windows1253: 0x2f,
    windows1254: 0x30,
    windows1255: 0x31,
    windows1256: 0x32,
    windows1257: 0x33,
    windows1258: 0x34,
    rk1048: 0x35,
  },
})

encoder
    .initialize()
    .codepage('cp874')
    .line('ทดสอบภาษาไทย')
    .encode()

are you tested.


registry as variable

hey @olifre ! I'm making a small web interface to manage images, and am running into this (extremely old by now!) issue of whiteout files. I just gave dockerhub2oci a go and I think this will do the trick - is there any reason we are limited to using Docker Hub as the registry endpoint, as opposed to allowing it to also be specified as a variable? For example, I'd like to be able to use it for nvidia images on the GPU cloud (they also have the whiteout files). Looking forward to chatting about this!

oh, and I really like the green, it looks really nice on my purple terminal :)

b

Hi @vsoch !
Yes, indeed, there was no real reason registry was not a parameter yet. I added it just now.
My main problem was I don't have a custom registry to test with - could you test whether it works as expected now?
For the nice green colour, credits go to:
https://aria2.github.io/
All the nice downloading features come from aria2c :wink:

nvidia images on the GPU cloud

Is this public? Then I could use it for testing :smile:

oops, I was writing a message to you as you posted, and am just seeing this! Take a look at the PR and let me know if you think the blob2oci is useful, I'm thinking that your implementation of adding the registry is likely better.
It is extremely hard to test, actually, because nvidia GPU cloud is not public, it requires a special username of "$oauth_token" (and yes I would bet you many evaluate the environment variable and miss that) and then a token. For this reason I decided it would make more sense to let the user handle the https part, and just focus on the harder thing that is handling the whiteout. Let me know what you think is best to do to proceed.


Problem with the usage of normal strings

Hello,
Currently, I want to use strings as dimension input, but sadly it's not working. Have I done something wrong or does this not work? Why not? Isn't this a typical use case?

Hello @nikolai2111 ,
seems like strings with spaces are currently not supported in the dimension input, as the underlying regex do not detect those.

Seems like this change would do it. I'll publish a new version in the next days.
- (?:(?:(\w+)-(\w+))|(\*?\w+))(?:\((.*?)\))?(?:,|$)
+ (?:(?:(\w+)-(\w+))|(\*?(?:\w| )+))(?:\((.*?)\))?(?:,|$)

As a workaround for now you can use any range in the dimensions and define the strings in a list in the global context like this:

{"name":"","template_type":"STOCK_LOCATION","template":{"version":"1.2.2","input":{},"templates":[],"output":{"parent_name_match":"true","dimensions":["*NUMERIC"],"count":["2"],"generate":{"name":"{{global.dim1[dim.1.idx]}}"},"global_context":"{% set dim1 = [\"Flat Bar\", \"Round Bar\"] %}"}}}

Thanks for your very quick respond!
I also used the plugin at the moment and I think decimals are also not supported. Like 1, 2.2, 3.3, 4.7 ... some time it's quicker to enter the numbers by hand than calculate them via the E-series.

Oh you're right, I'll also take care of that. I'll try to match everything non ,
. Thanks for pointing that out.

Thanks, but this does not hurry.

@nikolai2111 this is fixed now with v1.2.3 🚀

Hi @wolflu05 I am not as familiar with this topic as you are with Inventree. I just want a working system, which I have only partially succeeded because after every update of Inventree something breaks again and I can't or only partially fix it.
Would it be possible for you to help me set up a real Inventree production server, preferably bare metal in a proxmox VM that would also work with Docker.
What do you think?

Hi @nikolai2111 , sorry that you have so many issues when upgrading your instance. Great that you could partially solve your issues. But to help you with the remaining, you would need to create an issue on the main repo with your detailed explanation and log output, so somebody can take a look at it.

preferably bare metal in a proxmox VM that would also work with Docker.

What do you mean by that? You can either install bare metal OR via docker. There is a guide for both (docker and bare metal) in the official docs. But I do not have enough knowledge with bare metal, as I personally run my instance via docker. I only know there were some refactoring oversights the last week with the new minior version, so the installer broke, but that should all be resolved now with 0.15.3.

Then I will create an issue in the inventree repo.
I'm still not so convinced of the Docker variant and was just looking for the best solution and in my opinion that would be bare metal, wouldn't it? Or is Docker the state-of-the-art solution? I'm just not sure if the whole thing works cleanly for me.
Sorry, I'm aware of the bare metal OR Docker, I was a bit off.

I'm still not so convinced of the Docker variant and was just looking for the best solution and in my opinion that would be bare metal, wouldn't it? Or is Docker the state-of-the-art solution? I'm just not sure if the whole thing works cleanly for me.

That really depends on your personal preference. I personally like that every process is encapsulated on its own with docker, and that I can easily manage different services running like that on the same server. Also docker containers provide a known, reproducible and easy to get started environment. Installing software bare metal could lead to many side effects, e.g. you update some system dependencies, that don't work well... But at the end it's up to you, what you choose. If you only need inventree and no other services, I' probably use bare metal ???

I opened this issue on the main inventree site.
But thanks for your answers.


Fix vercomp() in goenv-install, update download URLs.

The vercomp() function in libexec/goenv-install had a number of issues, most notably related to attempting installation of Go versions with three version numbers. Replaced the previous vercomp() with a slightly adapted version available from Stack Overflow (thanks to the user fgm).
The download URL for more recent versions of Go has also changed once again. In addition to this, the download URL for Go 1 differs from the URLs for all other versions of Go, which has been corrected (admittedly, in a hackish way).
I also took the liberty of amending the tag referenced in the installation section of README.md, as it erroneously refers to the non-existent 'v0.0.5' tag (if desired -- this was isolated to its own commit).

:+1:


Search parser

Description
Allows a custom parser to be passed for searches.
GitHub Issues
#200

Coverage decreased (-0.8%) to 91.751% when pulling a3a41a0fa01794aaf067fed640c67baeee8a5577 on cmdevpy:search-parser into 2ead52267fb08fbdf8bdb656363abe40451653c2 on refindlyllc:development.


Merge upstream

Seconding upstream merge request @jamierocks :)

Ye, I'm aware. Will get to it later on - been very busy recently :(


Some clarifications and corrections

Some clarifications and corrections having used probe-run for the first time. Hope that they make sense.

All changes are in

All changes are in

Yes, only one fix: I guess we talked past each other for the last change. I added it as a suggestion for the one, but this isn't how it should be. It is a replacement for the whole section 1, but I wasn't able to suggest this, since github doesn't allow this.
Can you therefore please remove everything from
[nRF52840]: https://www.nordicsemi.com/Products/Low-power-short-range-wireless/nRF52840

until the beginning of section 2?

Okay, I was able to do it myself. Looks good now.

bors r+

Great. Thanks.

bors cancel

bors r+


textOutline is not working

Hi, I am using AAChart for funnel graph in Android application. I managed to put the label inside of funnel but there is a white background in labels, I used this
       .dataLabels(new AADataLabels()
           .inside(true)
           .verticalAlign("middle")
           .color("#000000")
           .style(new AAStyle()
               .fontSize(14f)
               .textOutline("")))

but the background is still there. I want to removethat background completely. please help.
Thanks in advance.

Styles for the label. default values：
{"color": "contrast",
 "fontSize": "11px",
"fontWeight": "bold",
"textOutline": "1px 1px contrast"
 }.

So if you want to remove that background completely then you should configure AAStyle like this:
.dataLabels(new AADataLabels()
           .inside(true)
           .verticalAlign("middle")
           .color("#000000")
           .style(new AAStyle()
               .fontSize(14f)
               .textOutline("0px 0px contrast")))

I am searching for Funnel Chart graph. I am using MPChart library from a very log time and don't want to switch to any other because it is only library I have seen based on native background else every library supports JS in background that slowdown the app and increase the heap memory size.

Maybe AAChartCore is a bad choice for your project.🤣🤣🤣

haha,

I am searching for Funnel Chart graph. I am using MPChart library from a very log time and don't want to switch to any other because it is only library I have seen based on native background else every library supports JS in background that slowdown the app and increase the heap memory size.

---- refer to PhilJay/MPAndroidChart#4906
Maybe AAChartCore is a bad choice for your project.🤣🤣🤣

haha, what to do buddy, the show must go on. I will get back to you with more queries regarding this library. be ready for new requirements. Hopefully I will join you as a moderator(if you allow).

Styles for the label. default values：
{"color": "contrast",
 "fontSize": "11px",
"fontWeight": "bold",
"textOutline": "1px 1px contrast"
 }.

So if you want to remove that background completely then you should configure AAStyle like this:
.dataLabels(new AADataLabels()
           .inside(true)
           .verticalAlign("middle")
           .color("#000000")
           .style(new AAStyle()
               .fontSize(14f)
               .textOutline("0px 0px contrast")))

didn't work. Still same reflects.

Thanks brother, Great job 👍


Input event passes through Control-nodes with emulating touch from mouse enabled.

Godot version
v4.0.beta.custom_build [bb08997b8]
System information
Ubuntu 22.10 LTS, GTX1060, Vulkan
Issue description
If you toggle emulate_touch_from_mouse option in ProjectSettings InputEventMouseMotion, InputEventScreenDrag, InputEventScreenTouch passes through Panel, afaik this doesn't happen in 3.x branch
how tree looks:
- Node
  - Panel(half screen size, to stop input events)
  - Node(captures unhandled inputs)

screen separated into 2 sides, left side is Panel, right is empty space, so if you click on Panel you can't get any output from _unhandled_input on Node.
Steps to reproduce

run attachment
click and/or scroll with mouse on left side and right side (check output)
go to project settings and toggle emulate touch from mouse
go to step 2 (check output)

Minimal reproduction project
New Game Project.zip

i was able to locate where bug appears.
alpha08 pass
alpha09 fail (d9daf3869f27e2afdacb2744168052ce0d4ae43b)

gotcha! https://github.com/godotengine/godot/commit/6db8b7616de76b323b003292898a8a4ee6c6f936


test: Randomize the order in which simulated timers scheduled for the same monotonic time execute.

Commit Message: test: Randomize the order in which simulated timers scheduled for the same monotonic time execute.
Additional Description: The order in which real timers scheduled for the exact same wall time execute is non-deterministic.  Simulated timer behavior should be as similar as possible as that of real timers.
Risk Level: n/a, test only changes
Testing: unit
Docs Changes: n/a
Release Notes: n/a

/assign @jmarantz
/cc @alyssawilk

@jmarantz ping

I looked a bit deeper and realize this relies on TestRandomGenerator, which was pre-existing. I think the big concern that I have is that the methodology around that is not obvious.
If CI fails will a developer know to look for the seed printout? If it fails during development, will a developer capture the seed before overwriting it?
I haven't noticed this as an issue before, maybe because TestRandomGenerator doesn't have a ton of usage yet? But this would give it more usage. Maybe we could add some text to CONTRIBUTING.md or a new .md file about debugging/reproducing flakes? That could be a follow-up.

I looked a bit deeper and realize this relies on TestRandomGenerator, which was pre-existing. I think the big concern that I have is that the methodology around that is not obvious.
If CI fails will a developer know to look for the seed printout? If it fails during development, will a developer capture the seed before overwriting it?
I haven't noticed this as an issue before, maybe because TestRandomGenerator doesn't have a ton of usage yet? But this would give it more usage. Maybe we could add some text to CONTRIBUTING.md or a new .md file about debugging/reproducing flakes? That could be a follow-up.

I'll look into this a bit later today.  Any other concerns on this PR?


Agent: fix agent quit when promotion failed

Fixes #1191.
When promoting a node to manager failed, it should and could stay
working as agent role, although it's role is changed to manager
in advance. The ideal solution should change its role back to agent
as well, but it will get more parts involved and require a larger
change. It's a long term item. For now, keep the node running is
better than quiting. It's actually the same behavior as if the
m.Run fails.
Signed-off-by: Jin Xu<EMAIL_ADDRESS>

Current coverage is 54.77% (diff: 0.00%)

Merging #1283 into master will decrease coverage by 0.25%

@@             master      #1283   diff @@
==========================================
  Files            78         78
  Lines         12428      12432     +4
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           6839       6810    -29
- Misses         4657       4681    +24
- Partials        932        941     +9

Powered by Codecov. Last update 587d405...1b24fe8

ping @tonistiigi @LK4D4

It's actually the same behavior as if the
m.Run fails.

Indeed, but it doesn't seem correct. @LK4D4 How are we handling random errors from m.Run(). Nothing should be switching the role to agent then.
Promotion problems are not the only errors that can happen there and for other errors we don't want to wait for demotion. Also if this doesn't happen on promotion but for example on restoring with old settings then failing a node is the correct behavior. If this is about detecting nodes without proper listening address, maybe we can validate this before starting manager(or return a typed error) but even then we should have an endpoint for the manager to refuse its promotion because waiting for a demotion is only one possible way how this error can be resolved. For example if the address is in use correct behavior is to either error or repeatedly try again.

@tonistiigi Insightful. Let's see @LK4D4 's opinion on how to handle potential errors for m.Run.

Updated PR per @tonistiigi 's comments with one more commit which handles the potential errors of m.Run(). Also added check of whether a node's initial role is manager or not to decide whether to quit or wait.

@LK4D4 Maybe we should make a separate PR first that handles the manager returning out of m.Run() (if you see it as an issue).
@jinuxstyle The rest of this pr confuses me a bit because why would a node that has been promoted to a manager(initialRole=worker) behave any differently then a node that has been promoted to a manager and then restarted(initialRole=manager).

@tonistiigi I think a manager will try to restart while node has manager role. There is no error handling from Run, though. Also, I don't see any way for a manager to exit Run apart from demotion, raft node failure or Stop call. Not sure how bad this stuff is.

... raft node failure ...

@LK4D4 If raft node fails we should restart the manager, not wait for a demotion, right?

@tonistiigi we should and if I'm reading code correctly - we do.

I will strip the second commit out and put it into a separate PR per @tonistiigi 's suggestion.

@tonistiigi Regarding the initialRole that confused you, I think the difference is that when promoting the node whose initial role is worker, it's not a member of the raft, while the node whose initial role is manager when it's restarted, it was already a member of the raft. So the failure of running manager part when restarting a node is critical but promoting is not.

Opened issue #1409 for handling the error of m.Run.

@jinuxstyle - are you planning on continuing this PR?

Yes if review can progress. And if you think it's better to solve it by core maintainers due to it's difficulty, feel free to take it over.

Thanks @jinuxstyle
ping @LK4D4 @tonistiigi


Can't run example app

Describe the bug
I download v1.18.7 source code, and try to run the example app. But xcode reports many errors.
SDK Version (if relevant)

Client: [Swift]
Version [1.18.7]

To Reproduce
Steps to reproduce the behavior:

Go to 'Example'
Click on 'ExampleApp.xcodeproj'
select target 'WalletApp'
select a iphone simulator target
click the run button

Expected behavior
the wallet app can be compiled and run successfully.
Screenshots

CR-40 Can't run example app

What's this?
The website asks me to login and create workspace. Why do I need this?

how to solve it? meet the same problem


[Draft] CLU May Preview DPG

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.AI.Language.Conversations


Make some cosmetic changes to smileys.php

For clean diff: https://github.com/cenk/CodeIgniter/compare/smiley-tab.patch

Standard tab size for CodeIgniter is 4 spaces, so I think that config file is okay as-is.


Azure CNI enabled by default for Kubernetes clusters (Linux only)

What this PR does / why we need it: Ships Azure CNI as network implementation for new Kubernetes clusters, unless otherwise specified.
Docs updated to reflect default change from kubenet to Azure CNI.
Fixes #1815 Fixes #1791
Release note:

Azure CNI enabled by default for Kubernetes clusters

@sharmasushant this is ready for review. This PR will deliver Azure CNI as a default networking implementation, with appropriate documentation and test configuration changes.
Following this functional PR, we can work to improve higher order concerns with respect to Kubernetes network config (api model interface, documentation especially). This is a first pass that delivers Azure CNI to new cluster deployments by default.

@CecileRobertMichon Thanks! incorporated both of your comments.


Integrate with Timber 2.0

Just an ongoing grab-bag issue to resolve changes needed to switch to Timber 2.0.

@sdunham Can we close this issue considering Conifer 1.0 has been released and is using Timber 2?
Link to composer.json line

Yep, this can be closed out!
On Mon, Dec 16, 2024, 11:51 AM Ryan Hendrickson @.***>
wrote:

@sdunham https://github.com/sdunham Can we close this issue considering
Conifer 1.0 has been released and is using Timber 2?
Link to composer.json line
https://github.com/sitecrafting/conifer/blob/f2cf093c6d2220b378d0ad7716b03d2fd3ba62d2/composer.json#L24
—
Reply to this email directly, view it on GitHub
https://github.com/sitecrafting/conifer/issues/131#issuecomment-2546584493,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHUGZBG57OLDX6V75GYFWD2F4VMDAVCNFSM6AAAAABTW4C75SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBWGU4DINBZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>


Simulator keyboard not showing up when 'snapshot'-ting

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I have created an UITest which opens the virtual keyboard. When started from Xcode the UITest runs successfully and displays the keyboard on the "on-screen"-simulator. However, when started from snapshot the keyboard does not show up.
When I start the simulator after seeing the line "Patching simulators..." the keyboard does appear in the visual simulator. Unfortunately snapshot closes the simulator for the next localization. So it is not an option to open the simulator at the begging of snapshot.
I urgently need to snapshot with the keyboard visible, but there seems to be a bug in the simulator environment of fastlane snapshot ?
Command executed
fastlane snapshot
Complete output when running fastlane, including the stack trace and command used

 The snapshot process continues to run but does no deliver correct screenshot, so output seems not to be helpful here

Environment
✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.4

Ruby
2.2.4

Bundler?
false

Git
git version 2.20.1 (Apple Git-117)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.14.4 (18E226)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "1.98.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."

  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Deploy a new version to the App Store"
  lane :spwr do
    deliver(force: false)
  end

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
team_id "XXXXXXXX"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.121.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.8.1

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.9.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.6

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.1.3

json
1.8.1

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

naturally
2.2.0

simctl
1.6.5

uber
0.0.15

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

jwt
1.5.6

signet
0.11.0

memoist
0.16.0

os
0.9.6

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.2.7

digest-crc
0.4.1

google-cloud-storage
1.15.0

emoji_regex
0.1.1

libxml-ruby
3.0.0

psych
2.0.8

generated on: 2019-05-02

I don't know much about this, but from the other issue I know we have https://github.com/fastlane/fastlane/blob/master/snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb which seems to do related things.
When you run the command with --verbose do you get the "Patching simulator to work with secure text fields" output? Does the command after that output something?

When I start the simulator after seeing the line "Patching simulators..." the keyboard does appear in the visual simulator. Unfortunately snapshot closes the simulator for the next localization.

So does it work for the first locale and only fails for the next one?

When you run the command with --verbose do you get the "Patching simulator to work with secure text fields" output? Does the command after that output something?

Yes the line appears and Yes it does something, pls s. below !
DEBUG [2019-05-03 07:35:48.01]: Patching simulator to work with secure text fields
INFO [2019-05-03 07:35:48.01]: $ defaults write com.apple.iphonesimulator ConnectHardwareKeyboard 0
INFO [2019-05-03 07:35:48.06]: $ /usr/libexec/PlistBuddy -c "Print :DevicePreferences" ~/Library/Preferences/com.apple.iphonesimulator.plist | perl -lne 'print $1 if /^    (\S*) =/' | while read -r a; do /usr/libexec/PlistBuddy -c "Set :DevicePreferences:$a:ConnectHardwareKeyboard false" ~/Library/Preferences/com.apple.iphonesimulator.plist || /usr/libexec/PlistBuddy -c "Add :DevicePreferences:$a:ConnectHardwareKeyboard bool false" ~/Library/Preferences/com.apple.iphonesimulator.plist; done

So does it work for the first locale and only fails for the next one?

No, if I run normally it always fails (also the first time). My comment was just that IF I start simulator manually while snapshot is running, it behaves correctly and that only for the first time because the (manually started) simulator gets closed by snapshot as soon as the next locale is processed.
Is there a possibility to run snapshot with "visual" simulators (as it was in earlier times) ? Today when running snapshot no simulator pops up, but it might be a solution to start simulators with their GUI because in this case things seem to work OK ???

Ok, so the visually opened simulator does the correct thing, producing correct screenshots, but as for locale changes the simulator is killed and restarted (invisibly), all the following screenshots are invalid, correct?
I don't know enough about the inner workings of snapshot. You'll have to look through its code yourself I suppose.


.Content doesnt rebuild when dynamically-called partial inside hooks modified

What version of Hugo are you using (hugo version)?

hugo v0.106.0-DEV-77fc74a5b20f50298ac4a1cd88e436932fc2226f+extended linux/amd64 BuildDate=2022-10-28T12:41:15Z VendorInfo=mage

Does this issue reproduce with the latest release?
Yes
Bug
In server mode .Content doesnt rebuild when dynamically-called partial template inside markdown render hooks modified
How-to reproduce

start hugo server, then open browser.
modify layouts/partials/dynamic-render-link.html,
Add some random character
Changes detected, site rebuild but .Content doesnt update with new changes

All markdown hooks affected, link,image, heading, codeblock.
Also tested using --disableFastRender still doesnt work.
Demo
https://github.com/pamubay/markdown-hooks-dynamic-call
Thank you.

Similar to, or perhaps a duplicate of, https://github.com/gohugoio/hugo/issues/8863.

I'm closing this as a duplicate. I'm currently working on a more robust setup that should handle this.


[WIP] Android support

Developement of android support for YouTube UI component :
Issue concerned : #35
How is it going :

[x] Display native YouTube player
[x] Get Props & native events
[ ] Some props still to do
[ ] Improve native events
[x] Clean the seekTo code
[ ] Test
[ ] Test a lot
[ ] RNPM support

Hey, I've tried out your pull request and it looks like the nested YouTubeView inside the YouTubePlayerFragment isn't being rendered, are you running into this issue?
I think the issue may be that React Native handles the layout of Android views in a non traditional way. I've hacked around this in the past by using a ViewTreeObserver to register a global layout listener and then manually calling measure and layout on the inner view. Doing it that way is a bit of a hack though because the view is going to redraw on every render call the app makes, even if its props haven't changed. I have a hunch a better way to do it probably exists, but documentation for React Native is pretty sparse.
Thanks for working on this, a side project of mine is sitting unfinished because of this.

Hi @jtuchsen, I do have this problem of 0,0 size view and PLAYER_TOO_SMALL error as well time to time (reload and it should work ...). I already tried the ViewTreeObserver method without success for the moment. I'm still working on it. ;)

I'm also facing another problem : apparently there is problems of compatibility between YouTube app and the android YouTube API.

For me the issue is that I am able to play the video only once but after that YouTubePlayer doesn't play any video and I hope there are many other people who are also facing similar issues with the YouTubeAndroidPlayerAPI. I think the latest youtube app (version 10.37.58) and YouTubeAndroidPlayerAPI 1.2.1 are not compatible.

They speak about  here or here.
So I'm still looking for some solution but if anybody has a solution, let me know !

You can trigger the rendering bug I was referring to by returning only the YouTube component in Javascript. I'm pretty sure that React Native is ignoring the inner Java YouTubeView's requestLayout calls, or more likely batching them in a way that the YouTubeView doesn't expect. If you use the Example/index.ios.js file the bug wont be triggered because it renders itself twice, once initially and then again after onReady is called, which somehow renders the player correctly. So forcing a render from Javascript after onReady is called seems to be enough to fix it. I still don't know the cause of the issue though.
I think the PLAYER_TOO_SMALL issue may be a separate one entirely, I'm not getting that error at all.
Loading different videos into the player works for me as well! I loaded a 20 second video and waited until it finished, then loaded in another one and it worked. I also can restart a video after it's finished without any issues at all. My version of YouTube is 11.16.62, so maybe it was a temporary bug that got resolved?

Using the Example/index.ios.js works indeed. I had a last problem of ProgressBar always displayed but I found a way to remove it.

Hi @jujumoz, have you solved the PLAYER_TOO_SMALL issue ? Is there any solution for that?

no commits since 26 May :(

Hi, I did find a solution which works on my side. Can you try the last commit ?
I added an index.android.js as exemple and a temporary android support README.md.
Please tell me how is it going !

@jujumoz Super excited for this functionality, I tried to implement it based on the instructions in the readme, however I ran into an issue Error:(41, 17) error: cannot find symbol class ReactNativeYouTube. Are we to define this symbol above from the node module? (In MainActivity.java)

Has anyone got this working on react-native 0.29.0 or higher?
Looks like this issue needs to be resolved first: https://github.com/facebook/react-native/issues/8661

@jujumoz last commit is working perfectly...awesome..  :+1:
Option for cueVideo will be great in next commit

@wski : sorry I didn't understand your problem, can you explain again ?
@osoriano :  I didn't try with version 0.29, which version did you use @adeebbasheer to make it work ?
@adeebbasheer : thanks for testing and cuevideo will arrive ;)

i tried with 0.26, to work in 0.29 some slight changes is needed

@jujumoz I think my initial bug was simply from trying to create a new component using the player before the old component had unmounted which was causing a crash in the player.
The only issue I'm having now (which very well could be my own fault) is sometimes the scrub bar extends the entire width of the player overlapping the numbers, In addition the three dots menu doesn't work.
However forceUpdating the component seems to fix the scrubbing issue, and full screening then minimizing the player makes the three dots clickable again.

Apparently no solution was found yet nor commited to get the activity in 0.29. Wait and see ...

I'm curious how to estimate the status of this. The first post says 'some more props and native events' which look like nice-to-have features, but the rest of this thread discusses bugs? What bugs are still open at this point? Is it just the 0.29 issue at this point? Or is there some initialization workaround still necessary?
As far as 0.29, looks like it should be fully fixed by https://github.com/facebook/react-native/issues/9310 , which will be released in 0.33. Which if my math is correct, should be released the week of Sept 5th. So I guess this is blocked until then? :/

FYI @jujumoz , 0.33 is released and live now, and I believe should have unblocked this problem introduced with 0.29.
(Eventually I'll get around to patching and fixing this up for my purposes with 0.33 and Android. But I'm swamped with other things at the moment...)

Thanks @mikelambert , I will check 0.33 asap but I have no time to go ahead lately.

waiting waiting waiting , keep calm and wait :D

So I've gotten it working again with RN 0.33:
https://github.com/mikelambert/react-native-youtube/tree/android
Outstanding issues:

I probably broke seekTo when simplifying a bunch of code, need to test and make that work again
I still sometimes see @wski's bug: "the scrub bar extends the entire width of the player overlapping the numbers"

@inProgress-team any changes this will get into master of this repo?
after the first version we can send some PRs to fix some bugs

https://github.com/inProgress-team/react-native-youtube/pull/51/commits/7fc24d3afb1bdb78c78cd474af722edfd42ebc75
For 0.33 support guys !


[Improvement] If no metalake is specified an obscure error is displayed in the Gravitino CLI

What would you like to be improved?
when this command is run gcli metalake create you get Cannot parse a null or empty identifier.
How should we improve?
Change the error message to say that the metalake is not defined/missing

I would like to work on it. I've finished writing the code


Unable to open after installing, due to 'version conflict' error.

This is the result of running 'rtv' in the terminal:
Traceback (most recent call last):
  File "/usr/local/bin/rtv", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2876, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 451, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 464, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 644, in resolve
    raise VersionConflict(dist, req)
pkg_resources.VersionConflict: (six 1.8.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('six==1.10'))

@TenTypesOfPeople It'd be extremely useful to know how you installed and on what target os/distro.

oh gosh, my bad! I'm using a Debian Jessie, and I installed it by cloning and the setup, iirc. (not using pip)

@TenTypesOfPeople ahhh, well the issue is simple. See that six wants 1.10 and you only have 1.8.

What shaggy said, try running
sudo apt-get install python-pip
sudo pip install six -U

Thanks! That worked.
Unfortunately, another issue popped up. Here's the traceback after I tried to run rtv.
Traceback (most recent call last):
  File "/usr/local/bin/rtv", line 9, in <module>
    load_entry_point('rtv==1.13.0', 'console_scripts', 'rtv')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2476, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/usr/local/lib/python2.7/dist-packages/rtv-1.13.0-py2.7.egg/rtv/__main__.py", line 169, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/rtv-1.13.0-py2.7.egg/rtv/__main__.py", line 137, in main
    page = SubredditPage(reddit, term, config, oauth, name)
  File "/usr/local/lib/python2.7/dist-packages/rtv-1.13.0-py2.7.egg/rtv/subreddit_page.py", line 33, in __init__
    self.content = SubredditContent.from_name(reddit, name, term.loader)
  File "/usr/local/lib/python2.7/dist-packages/rtv-1.13.0-py2.7.egg/rtv/content.py", line 584, in from_name
    return cls(display_name, submissions, loader, order=display_order)
  File "/usr/local/lib/python2.7/dist-packages/rtv-1.13.0-py2.7.egg/rtv/content.py", line 430, in __init__
    self.get(0)
  File "/usr/local/lib/python2.7/dist-packages/rtv-1.13.0-py2.7.egg/rtv/content.py", line 605, in get
    submission = next(self._submissions)
  File "/usr/local/lib/python2.7/dist-packages/praw/__init__.py", line 567, in get_content
    page_data = self.request_json(url, params=params)
  File "<decorator-gen-8>", line 2, in request_json
  File "/usr/local/lib/python2.7/dist-packages/praw/decorators.py", line 116, in raise_api_exceptions
    return_value = function(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/praw/__init__.py", line 622, in request_json
    retry_on_error=retry_on_error)
  File "/usr/local/lib/python2.7/dist-packages/praw/__init__.py", line 453, in _request
    response = handle_redirect()
  File "/usr/local/lib/python2.7/dist-packages/praw/__init__.py", line 434, in handle_redirect
    verify=self.http.validate_certs, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/praw/handlers.py", line 146, in wrapped
    result = function(cls, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/praw/handlers.py", line 56, in wrapped
    return function(cls, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/praw/handlers.py", line 102, in request
    allow_redirects=False, verify=verify)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 569, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 362, in send
    timeout=timeout
  File "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 516, in urlopen
    body=body, headers=headers)
  File "/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 308, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python2.7/httplib.py", line 1039, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1073, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 1035, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 879, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 855, in send
    self.sock.sendall(data)
  File "/usr/lib/python2.7/dist-packages/urllib3/contrib/pyopenssl.py", line 208, in sendall
    return self.connection.sendall(data)
  File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 969, in sendall
    raise TypeError("buf must be a byte string")
TypeError: buf must be a byte string

I apologize for never responding. I think that you need to update your OpenSSL libraries as described here. Feel free to re-open the issue if you try that and it still doesn't work.


Core App

If these files are placed as it is in temp folder. Then we will require the core app to load these dlls.
Where can we download the Core App?
Any code to load the dlls will be useful

https://memoryhackers.org/konular/pubg-mobile-dword-vip-r3-beta-v2-4-march-2019.70425/
core app is here.

Dear leftspace89,
Thanks for the link. The file downloaded tells about virus. which we understand might be hooks detected as virus by the anti virus.
https://ibb.co/yXMRDPb

is it possible to upload c# code just to load specific dlls like LSP_Radar.dll
so we could test the independent functionality
Thanks
Regards,
Hammad Rafique

hello  leftspace89,
i just need one thing even in the forume i requested, awareness and Skelton  in a clean core app, ready to pay for it...

What u mean clean core ? its already virus safe. that just edits your hosts file but its not that important.

I think he means that just specific functionalities not all of them. So app can load faster.
For example just a simple radar functionality nothing else.
I am in for that too. Ready to pay for your exellent work


Update aws-java-sdk-kinesis, ... to 1.11.800

Updates

com.amazonaws:aws-java-sdk-kinesis
com.amazonaws:aws-java-sdk-s3
com.amazonaws:aws-java-sdk-sqs

from 1.11.772 to 1.11.800.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws" } ]

labels: library-update, semver-patch

Codecov Report

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

@@           Coverage Diff           @@
##           master     #362   +/-   ##
=======================================
  Coverage   46.26%   46.26%
=======================================
  Files          24       24
  Lines         281      281
=======================================
  Hits          130      130
  Misses        151      151

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 a12252d...4471a45. Read the comment docs.


DSM GENERATE

Hello and thank you for your excellent work. I'd like to ask why I need a DSM file of the data when configuring my own dataset, don't I need to generate this in the first place, and if I don't have the DSM of my own image area, can I still generate the DSM of this area?

Hi, thank you for your interest in our work. SpS-NeRF requires a low-quality DSM to improve the result, as it uses very sparse input images, which is challenging for NeRF. If you don't have DSM as input, you can still generate DSM but the result would be disappointing. So it is strongly recommended to generate DSM following this: https://github.com/LulinZhang/SpS-NeRF?tab=readme-ov-file#12-generate-dense-depth

Thank you for your answer, can I use the dem of ASTER GDEM instead, but I feel that the resolution of the dem data above is a bit low?

Yes, low resolution DEM would affect the performance.


HDFS-14696. Backport HDFS-11273 to branch-2 (Move TransferFsImage#doGetUrl function to a Util class)

Addressed some of the checkstyle warning, see the second commit message for details.

+1

Compilation passed locally on branch-2


End delimiter logic broken by BEGIN TRANSACTION

Description
As reported in https://forum.liquibase.org/t/sql-scripts-with-multiple-go-statement-no-longer-working/7343/6 if you have BEGIN TRANSACTION then COMMIT, the end delimiters within them are not respected.
Steps To Reproduce
Create a changeset like:
BEGIN TRANSACTION;
DELETE FROM HumanResources.JobCandidate
    WHERE JobCandidateID = 13;
COMMIT;

Hi, I ran into the same problem, is there any temporary workaround?

If you set an explicit endDelimeter you can control where the splitting happens. Like endDelimiter="" or endDelimiter="$$" if there are 's in the body of your SQL otherwise.

I use the solution of xvc from here:
https://forum.liquibase.org/t/sql-scripts-with-multiple-go-statement-no-longer-working/7343/6
"We downgraded to 4.14.0 and everything works."
This seems to be the only version that works for me.

Hi, we are also blocked by this issue, and we are not able to upgrade to the latest liquibase versions. Is this issue going to be picked up soon?

Seems this was caused by the changes done in https://github.com/liquibase/liquibase/pull/1589

I've tested this one with the provided changelog (see issue description) and it seems it was fixed some time ago with #4099. As part of #5756 I added a test to validate this issue.
Thanks,
Daniel.


[FEAT] Implement return to the homepage

⚠ IMPORTANT: Please fill out this template to give us as much information as possible to consider/implement the feature.
Prerequisites

[x] check this box if you have completed the following:

Reviewed the contributing guidelines and support files
Reviewed the README file for the repository you are working in
Searched for relevant instructions on our Discord server
Searched the issues of the repository you are working in to make sure one was not already filed

Summary

Users should be able to return to the homepage by clicking on a button that lives on the nav bar or a return/home button that is present on all of the screens.
Motivation

I have to complete the survey every time that I want to get back to the homepage.
Possible Alternatives

Leave it as is and force users to complete the survey every time.
Additional Context

So this is something that I've been thinking about - what actually is our "home page?" The health log? If so, the users can just click on that in the nav bar already.
What do you think?

@SomeMoosery Currently, when I try do that by clicking Log it doesn't move:

Have you already filled out a survey today? We added this functionality intentionally to require users to fill out a survey before navigating to the health log if they hadn't yet logged one on today's calendar date.
Do you think this could be frustrating UX? If so - I'd suggest we close this issue and file a new one to remove that functionality.

I hadn't filled one out yet, so I see why it wasn't working.
I'm a bit hesitant on forcing users to do anything on an application. Particularly in this instance: I'm a user who fills out my survey at 5pm because I like to see how my symptoms were throughout the day and I take my vitals just before dinner time. But it's the morning and I want to look at my log to see a trajectory, or discuss something with a healthcare provider. Now I can't access my log until I fill out the survey and I have to fill out my answers early.
I think closing this and opening a new issue is a good idea. I think we can think of a more user-friendly way to get them to fill out the log, perhaps it's a prompt to fill it out every time they open the app, but they haven't logged the day yet. We'd have to consider alert fatigue, but at least they can dismiss it if they're not ready to do so.

that brings two ideas to me
First
I think it is a good idea to let the user choose if the user ready to take the survey or not.
I am working on something

we can make it glow when there is no survey taken today as a call for action and normal button when taken
Second
The idea of pages. I was thinking about talking with @SomeMoosery about it. Reorgnize the app stracture as it is getting bigger. Some components are not used but could be kept and used later liake an Archive and better than we are using container like FactQuizContainer.jsx or DiagnosticContainer.jsx, etc. We can do something like this:
scr|----Components|---showMeMore|---Observations.jsx
   |              |             |---BehavioralChart.js
   |              |             |---AvgTemperature.jsx
   |              |             |---Chart.jsx
   |              |---survey|---SurveyPage1.jsx
   |                        |---SurveyPage2.jsx
   |                        |---SurveyPage3.jsx
   |---Pages|---showMeMore.jsx
   |        |---Survey.jsx

So, if you all want, we can make an issue to remove that function. Then and issue for the button and maybe another one for reorganizing the files in the app I can do the last two as the first almost done and the second I have a good idea how to do it

Go for it! That seems like the best course of action. Thanks for pointing this out @salvolpe

closing in favour of #668


Enhancement: natural tapping arrow animation

make the animation of tapping an arrow last longer to make it look more natural
it would look better

i'll look into this one


add use_sidepath as a preset for acces tags

this would mainly be necesarry for bicycles and foot
https://taginfo.openstreetmap.org/search?q=use_sidepath#values
it's already established

related: #196


feat: migrate EVM Connector

This PR migrates the evm-connector package from it's old repo.
The package has been refactored to achieve the following:

Migrate all the code to a self contained package evm-connector.
Export the connector on the umbrella package connectors.
Ensure all tests are up to date and working with Vitest.

Closes #12
Additional notes and open questions:

In order for the evm-connector package's tests to pass when run from the repo's root I had to manually declare the process.env.GENESIS_SECRET = ... within the test file. There is probably a better solution.
I have not included this package in the defaultConnectors.

I don't seem to able to commit a changeset; my husky - pre-commit script fails as below when trying to commit just the changeset.md file:

I don't seem to able to commit a changeset; my husky - pre-commit script fails as below when trying to commit just the changeset.md file:

Now resolved

Closed by #28


Clarification of the definition and use of the meta data annotations

In prep for adding metadata support to the Python implementation, we (@priyanka-amarnani @plamen-neykov @davidcarrascosa00) are looking for clarification on the definition and use of meta data annotations.
A few questions at the start:

Keys

What is responsible for key generation?
Can a key be "user" supplied?
Does the standard enforce uniqueness for keys?  If so and if there is a clash, what is supposed to happen?

global vs external

What is the difference between them?
if an item refers to both, what happens if the globalReference points to a different thing than the externalReference?  Is there a priority in the references?  Does the first reference prevail?

If there are only globalReferences, can the collection of key / values be "destroyed" when the object goes out of scope?
If there are externalReferences, does the collection of key / values need to remain after the object goes out of scope?  If so, for how long?

Additionally, is the global key expected to be invariant between versions of the same "object?"  IE Are all keys expected to be the same after update or, as long as reference consistency is maintained, can they change?

@dschwartznyc
Sorry for the delay on replying to this issue. We will take a look tomorrow morning.

@minesh-s-patel - checking in on this.

There are 3 mechanisms for referencing in RUNE. Some of these concepts need to be reviewed and revised as they evolved along side the development of the CDM.
Global Keys/Global References - Global keys are a pluggable infrastructure where a user of a RUNE model can "inject" calculated a uniquely identifying string to identify an instance of a RUNE type or a Basic Type, and references elsewhere.

Types annotated with [metadata key]
Attributes annotated with [metadata id]
Attributes annotated with  [metadata reference]

Note that global keys may not be invariant over instances of a particular RUNE object.

External Keys/External References - These are keys that a user "sets" as meta data to any identifiable type.

Types annotated with [metadata key]
Attributes annotated with [metadata id]
Attributes annotated with  [metadata reference]

Note that global keys may not be invariant over instances of a particular RUNE object.

More info needed for Address/Location:

Types annotated with [metadata key]
Attributes annotated with [metadata address "pointsTo"=PriceQuantity->price]
Attributes annotated with [metadata location]

The results of the default "Hash based" Global Keys algorithm shipped with the JAVA libraries are not designed to be shared across different implementations of systems built on top of a RUNE Model (even though this is desirable).
A good place to look for how the Global Keys are injected into the model: https://github.com/finos/common-domain-model/tree/master/examples/src/main/java/com/regnosys/cdm/example/globalkey
The hashing utility libraries can be seen here: https://github.com/finos/common-domain-model/blob/master/examples/src/test/java/com/regnosys/cdm/example/TestObjectsFactory.java
The hashing algorithm for CDM is using the Java hashcode fuctionality - https://github.com/finos/rune-common/blob/0f18618e947a69cf69b28dc68329c6926a20b5ac/src/main/java/com/regnosys/rosetta/common/hashing/IntegerHashGenerator.java
This is the processor that sets all global keys making use of the hashing algo - https://github.com/finos/rune-common/blob/0f18618e947a69cf69b28dc68329c6926a20b5ac/src/main/java/com/regnosys/rosetta/common/hashing/GlobalKeyProcessStep.java


Connection Pool and Timeout problems

Hi, I updated my project to RTM today from RC2. It was running smoothly while in RC2.
In RTM I started to see "connection pool exhausted (currently 100), timeout expired (currently 15), sorry, too many clients already" etc...
BTW, I'm new to PostgreSQL. I've tried to increase max_connection setting in conf, I don't know if it's relevant but unfortunately it didn't change a thing, increased the Timeout setting in connection string to 300 same again nothing, tried both Pooling options and didn't see a change.
PostgreSQL runs in the same Ubuntu VPS as application does and sometimes I connect remotely from my machine to check things.
What should I do? Is it me or EF or Npgsql?

I tried the same upgraded RTM project with AzureSQL too, to eliminate my non-existing experience with PostgreSQL (i just installed 9.5 via apt). AzureSQL also gives exceptions about connection pool size so I think something wrong with EF itself, could be leaking connections or something.
Relevant issue on EF repo : #5916

Hmm, I haven't seen this happening. Please keep me up to date on this issue if you suspect anything problematic in Npgsql or its EFCore provider.


Door sensors problem

After V3 update, the Rf Bridge - door sensors does not work anymore. It used to work  as they have 2 states - open/close. So i used the old payload off function. Now i only see 2 entities as button (door_open / door_closed).

Show your yaml config

sonoff:
username: xxxxxxxxxxxxxxxxxxxxx
password: xxxxxxxxxxxxxxxxxxxxx
force_update: [temperature, humidity]
scan_interval: '00:05:00'  # (optional) default 5 minutes
sensors: [temperature, humidity, power, current, voltage]
mode: cloud
reload: always
rfbridge:
living_d:  # button name in eWeLink application (open signal)
name: Usa Living  # optional, you can change sensor name
device_class: door # e.g. door, window
timeout: 0  # disable auto close timeout
payload_off: living_i  # button name in eWeLink application (close signal)

Oh. In new version it works only if you setup turn on signal in ewelink app as sensor, not as button :(

I don't understand. How can i do that ? In ewelink, on rf bridge, when i press Add, i have: 1 button, 2, 3, 4 button, Curtain and Alarm. What shoud I do ?

alarm

Hi,
In my case in the eWelink APP the alarm option doesn't have dual state, only single.

The button also has no dual state...

So, in that case, we can't use dual sensors anymore.

So you are stating we have to add an alarm device for the open state and another for the closed, instead of using a two button device as before.
This really sucks, as the bridge only allows 16 devices.  Before if I had 16 two button remotes, I now need 32 alarms, and would need a new hub.

I have never tried the four buttons, but I currently have 24 dual state sensors configured as 24 two button remotes, across two rf bridges.  (So 48 buttons.) This had been working up until the update.

Latest master-version has new features:

Adds (restore) support buttons as sensors
Sync RFBridge childs available with bridge
Adds restore function to RFBridge sensors

Also updated docs. All changes will be in next release
https://github.com/AlexxIT/SonoffLAN#sonoff-rf-bridge-433

Thank you!


External deps: Facebook runtime.js

https://github.com/facebook/regenerator/blob/master/runtime.js
it is needed to enable some ES6 features, like function* generators
Do we enable it by default or do we allow to enable it per project?

I think we should have an option for it.
I would enable it by default.


Suggestion: function arguments in subscripts

I'm sure there is at least 1 mathematical function where one of its arguments is in subscript

log?

Sorry, I'm not totally sure what this suggestion is asking for. Do you want Intellisense to work for function arguments in subscripts?

Ah, ok. I didn't know that was one of your goals.
Welp, it wasn't completely necessary.


An error occurs when expanding two "Production" nodes at the same time

Environment: VSCode.dev
Azure Resources extension: v0.6.3-alpha.0
Static Web Apps Extension Version: v0.11.5-alpha.0
Repro Steps:

Create two static web apps.
Expand one static web app -> Expand "Production" node.
Expand another static web app -> Expand "Production" node.
Check whether no error occurs.

Expect:
No error occurs.
Actual:
An error occurs.

I've encountered this on desktop too.