clnurl plugin doesn't get cleaned up whtn CLN stops

when i start the lightning node up with the plugin, then stop the lightning node, I get the following error when trying to re-start the CLN node. is the clnurl plugin not getting cleaned up on node stop?
thread 'main' panicked at 'error binding to <IP_ADDRESS>:9876: error creating server listener: Address already in use (os error 98)', /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/hyper-0.14.25/src/server/server.rs:79:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

oh wait, maybe this is a me issue? it's under the lightningd process as well?

I don't subscribe to the stop even (didn't know it existed back then), I wonder if that's the reasons?

Idk if you have time to test this, but my best guess is that  #15 would solve the issue.

i had the same problem, can confirm that #15 solves the issue for me (looks like cln-zapper needs an analogous change)


version 0.2.7

Features

diagnostic on insert like emacs. helix

BreakChange

LspSagaWinbar prefix change to SagaWinbar.
LSOutline highlights removed , use SagaWinbar  instead.
custom_kind the value not colors code, use the highlight group instead.


fix: handle Systemd Restart=no correctly

Fixes #27.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 73.88%. Comparing base (923f6bc) to head (e93f617).

Files
Patch %
Lines

systemd.go
50.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   73.49%   73.88%   +0.39%
==========================================
  Files           6        6
  Lines         879      877       -2
==========================================
+ Hits          646      648       +2
+ Misses        197      193       -4
  Partials       36       36

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


I can't translate pages

The output is
ActiveModel::UnknownAttributeError in Spree::Admin::PagesController#create
unknown attribute 'page_id' for Spree::Page::Translation.

Sorry but I have
ruby 2.7.1
rails <IP_ADDRESS>

and I have
gem 'spree', '~> 4.1'
gem 'spree_auth_devise', '~> 4.1'
gem 'spree_gateway', '~> 3.7'
gem 'spree_static_content', github: 'spree-contrib/spree_static_content'
gem 'spree_i18n', github: 'spree-contrib/spree_i18n'
gem 'spree_globalize', github: 'spree-contrib/spree_globalize'
and I have problem with spree_page_translatiosn

Trying to solve it, firstly I had to execute
ALTER TABLE spree_page_translations RENAME spree_page_id TO page_id;
because didn't recognize spree_page_id
and then, when I tried to translate a page I can't
and It returned me
Spree::Page::Translation Exists? (0.2ms)  SELECT 1 AS one FROM "spree_page_translations" WHERE "spree_page_translations"."slug" = $1 AND "spree_page_translations"."locale" = $2 LIMIT $3  [["slug", "prueba buena"], ["locale", "en"], ["LIMIT", 1]]
(0.2ms)  ROLLBACK
00:29

Can anyone help me? Thank you very much. Do I have to download versions of rails? Someone has worked out spree_static_content and spree_globalize? thanks for all

I have the same problem on 4.2.0.beta ... I have tried a few things, but still unsuccessful and I have no idea how to fix it ... :(

I've been debugging this all night and I've found a workaround.
Here's a solution that works for me:

Copy Spree::Page class declaration (app/models/spree/page.rb) to your app but omit these lines.
Create a decorator for globalization of the Spree::Page model, just like found on https://github.com/spree-contrib/spree_globalize, e.g: taxon decorator

# app/models/spree/page_decorator.rb
module Spree::PageDecorator
  def self.prepended(base)
    base.translates :title, :body, :slug, :layout, :foreign_link, :meta_keywords, :meta_title, :meta_description,
    fallbacks_for_empty_translations: true
  end

  Spree::Page.include SpreeGlobalize::Translatable
end

::Spree::Page.prepend(Spree::PageDecorator)

I think the culprit is likely between these lines and globalize's translates method

Thanks @jsavigny!!!! It's working!!!!


With the Julia kernel, execution count starts at [2] not [1]

Open up a Julia notebook
Execute a cell
Execution count will be [2] and not [1]

Seems like some of our silent execution is showing up. Does not appear to repro in jupyter notebook.

Validated. Starts at [1] now both in the editor and interactive window:


Named parameters (Option) unavailable when using raw_arguments=true

Describe the bug
when a command uses support_rawargs named parameters are not passed. Used to work with splunklib 1.6.12, doesn't seem to work with splunklib 1.7.0
To reproduce
commands.conf:
[xx]
passauth = true
chunked=true
supports_rawargs = true
local = true
code snippet:
@Configuration(local=True)
class xx(GeneratingCommand):
splunk_server = Option(require=False, default="*" )
results in always being the value "*" and changing it to require=True causes it to fail with "A value for "splunk_server" is required" but it is in the splunk search.
Expected behaviour
Named parameters are available when using raw_arguments = true and the above mentioned settings in commands.conf - i can reproduce it as working with splunklib 1.6.12
Splunk
Version: 8.2.5
Deployment: searchhead
SDK
Version 1.7.0
Language Version Runtime: Python 3.7.11
OS: RHEL 8

splunklib 1.6.16 also causes the same issue


Revert "Work around memory leak with switch and as patterns."

This pull request reverts commit 33b0163b2c039f4ac36fbfe7e1030425a3b9a55b in light of the issue being fixed in Xcode 7.1 beta 2, as mentioned in https://github.com/thoughtbot/Argo/pull/217#issuecomment-142691899.
This should not be merged until Xcode 7.1 is released.

:+1: love it ... will wait to merge!

@paulyoung This should be good to merge in right?

I think so!

Merged in here: 534bae6d3519cebed085f269567e043b7995bb1f


Jobs - New step (WIP)

Adding @alanrenmsft for the Jobs Dialog comments.

@abist it's fine to ignore the comments for the Job Dialog.  I'll fix those as part of my follow-up changes.

@abist are you planning to merge this today?  I have some changes that are based off Alan's branch that has overlapping commits, so I'm waiting for this to go to master before I submit my changes.  Thanks!

@kburtram I'm merging master to this branch right now. Will merge right after the tests pass successfully.


[SPARK-16031] Add debug-only socket source in Structured Streaming

What changes were proposed in this pull request?
This patch adds a text-based socket source similar to the one in Spark Streaming for debugging and tutorials. The source is clearly marked as debug-only so that users don't try to run it in production applications, because this type of source cannot provide HA without storing a lot of state in Spark.
How was this patch tested?
Manual tests in sparkShell for now. The other Spark Streaming socket source doesn't seem to have a unit test, but we can add one.

Test build #60740 has started for PR 13748 at commit da3513d.

Test build #60746 has started for PR 13748 at commit 189e409.

Test build #60740 has finished for PR 13748 at commit da3513d.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TextSocketSource(host: String, port: Int, sqlContext: SQLContext)
class TextSocketSourceProvider extends StreamSourceProvider with DataSourceRegister with Logging

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60740/
Test PASSed.

Test build #60746 has finished for PR 13748 at commit 189e409.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60746/
Test PASSed.

Test build #60819 has started for PR 13748 at commit e61adfd.

Test build #60819 has finished for PR 13748 at commit e61adfd.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TextSocketStreamSuite extends StreamTest with SharedSQLContext with BeforeAndAfterEach

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60819/
Test PASSed.

Merged build finished. Test PASSed.


[Suggestion] - Allow for creating in-memory (memory only) classes

From this discussion in GG.
It would be cool to have the ability to create in-memory classes, much like heap tables in MySQL. These could be used for temporary data storage or for caching or any other in-memory storage of data use case.
Scott

Some implementation notes:

Minimum requirements would allow "marking" a class as "in-memory" (i.e. specific classes in an otherwise normal PLOCAL database, not a separate MEMORY database), which would automatically keep any record created or previously read in memory, and leave the responsibility of using it wisely to the application (i.e. making sure there is enough memory for the expected records, etc.), and of course it must release the memory used by deleted records. The class would be replicated across multiple servers if the database was configured for replication and could be set for "in-memory only" or "synchronously persisted to disk" (for "asynchronously persisted to disk", see below).

A "better" (but not critical) implementation would add support for setting a max size of the in-memory cache per class (i.e. so the total size of all records could be larger, but the most recently accessed records would remain in memory), allow for "pre-load" (i.e. all of the records in the class would be loaded upon startup, asynchronously in the background, so we're not waiting for it), allow for "lazy" disk persistence (i.e. where creates or updates to records would complete immediately and be written to disk by an asynchronous background thread).

@Eric24 - Doesn't your second point describe a disk caching system? ODB does have disk caching AFAIK.
To me, an in-memory class would be completely volatile and used purely for runtime data persistence. There is no disk access and why that makes such a class advantageous. If there is any "preloading" of data, it would have to be done by the application itself, not ODB.
Scott

@Scott: There are (at least) two different scenarios for what I'm
describing, neither of which are just disk caching (and yes, it's certainly
my understanding that ODB already has this). The first is what you
describe: a fully in-memory class that does not persist data to disk
(although the class schema *does *persist), and this implementation would
work fine for my particular (and immediate) use-case as long as it also
supports cross-server replication (same quorum-commit model that ODB
already implements). The second is an in-memory class that is "backed" by
records stored on disk, and this is different from normal caching in that
the "cached" records in this class are "pinned" in memory, rather than
managed by the caching algorithm (LRU or whatever) and periodically purged
(or "evicted", to use cache terminology). This second scenario has value,
too, and is similar to how Redis/etc. works (or can be configured to work),
for example. It provides disk-backed storage of records that are always
guaranteed to be in memory (and thus fast and highly deterministic with
regard to access times). The pre-loading can certainly be done by the
application, but since that's a fairly common feature for this sort of
design, I mentioned it as a "nice to have". The last point on the "disk
backed" scenario is whether persistence to disk is done synchronously or
asynchronously--both options have their place, based on create/update speed
frequency and performance requirements. My thought is to implement
whichever option is easiest (I assume synchronous) and make the other a
"nice to have".
--Eric
On Thu, Jul 21, 2016 at 1:19 AM, Scott<EMAIL_ADDRESS>wrote:

@Eric24 https://github.com/Eric24 - Doesn't your second point describe
a disk caching system? ODB does have disk caching AFAIK.
To me, an in-memory class would be completely volatile and used purely for
runtime data persistence. There is no disk access and why that makes such a
class advantageous. If there is any "preloading" of data, it would have to
be done by the application itself, not ODB.
Scott
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/6447#issuecomment-234166775,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAp1BAnoNZ0NYjNHf4nR8vglY93txEYrks5qXw9_gaJpZM4JQ2SH
.

@Scott: Also, the other objective that I don't think I was clear on is that
this kind of class must (obviously) reuse deleted space, else it would run
out of memory pretty fast. And since a common use-case (as well as my
specific use-case) is to use such a class for frequently-updated temporary
data, this becomes even more critical. Of course, I'd prefer all ODB
classes to reuse deleted space, as documented elsewhere, but for this
in-memory class, it's critical. I realize that probably makes this more
complicated, but I could envision a design for the in-memory class that
allows it to reuse deleted space in memory, while still not reusing disk
space if it was configured for persistence.
On Thu, Jul 21, 2016 at 9:43 AM, Eric Lenington<EMAIL_ADDRESS>wrote:

@Scott: There are (at least) two different scenarios for what I'm
describing, neither of which are just disk caching (and yes, it's certainly
my understanding that ODB already has this). The first is what you
describe: a fully in-memory class that does not persist data to disk
(although the class schema *does *persist), and this implementation would
work fine for my particular (and immediate) use-case as long as it also
supports cross-server replication (same quorum-commit model that ODB
already implements). The second is an in-memory class that is "backed" by
records stored on disk, and this is different from normal caching in that
the "cached" records in this class are "pinned" in memory, rather than
managed by the caching algorithm (LRU or whatever) and periodically purged
(or "evicted", to use cache terminology). This second scenario has value,
too, and is similar to how Redis/etc. works (or can be configured to work),
for example. It provides disk-backed storage of records that are always
guaranteed to be in memory (and thus fast and highly deterministic with
regard to access times). The pre-loading can certainly be done by the
application, but since that's a fairly common feature for this sort of
design, I mentioned it as a "nice to have". The last point on the "disk
backed" scenario is whether persistence to disk is done synchronously or
asynchronously--both options have their place, based on create/update speed
frequency and performance requirements. My thought is to implement
whichever option is easiest (I assume synchronous) and make the other a
"nice to have".
--Eric
On Thu, Jul 21, 2016 at 1:19 AM, Scott<EMAIL_ADDRESS>wrote:

@Eric24 https://github.com/Eric24 - Doesn't your second point describe
a disk caching system? ODB does have disk caching AFAIK.
To me, an in-memory class would be completely volatile and used purely
for runtime data persistence. There is no disk access and why that makes
such a class advantageous. If there is any "preloading" of data, it would
have to be done by the application itself, not ODB.
Scott
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/6447#issuecomment-234166775,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAp1BAnoNZ0NYjNHf4nR8vglY93txEYrks5qXw9_gaJpZM4JQ2SH
.

For my curiosity, could you please explain a use case, or even two, where such a in-memory, but also stored on disk type of class would be useful?
Scott

Sure, but the caveat is that there's always more than one way to approach a
particular problem. In general, the idea of an in-memory class is speed and
deterministic response, for data that is frequently accessed (which could
be read-only or read-mostly). I also think in terms of scalability under
very heavy load and 24/7 systems that have very rare or no maintenance
windows. So here are a few use cases where I'd want to use an in-memory,
disk-backed class...
A heavily-read lookup table -- The content of the lookup table (say
country/city names based on phone numbers) is relatively static, but is
used for high-frequency real-time transactions where speed is critical.
Here, you could have the application reload the table from a separate
underlying disk-based class at startup and periodically (as records are
updated over time, because the table is not 100% static). Automatic
pre-loading would be desirable here, so the table is "in-memory complete"
as quickly as possible after a server restart. The same logic would apply
to a fully-static lookup table, without any need to do periodic "refreshes".
Temporary storage of web session data, especially in the case of ecommerce
sessions, where you may want to retain the "shopping cart" for some period
of time, even if the user left and came back tomorrow -- If the in-memory
class was replicated to multiple servers, that may be enough
fault-tolerance that you'd not need it to be disk-backed, but one way or
the other, you'd not want the data to disappear in case of a sever crash.
Here, the access pattern is heavy read/write and pre-loading after a server
restart isn't really necessary.
A work queue, where multiple "clients" are queuing requests to multiple
"workers" -- Here, too, multi-server replication may provide enough
fault-tolerance, but if not, you wouldn't want the content of the work
queue to disappear in case of a server crash. Here too, the access pattern
is heavy read/write, and pre-loading after a server restart might be
beneficial, depending on how big the queue is generally expected to be and
if the performance penalty can be tolerated until the old queue items
naturally clear out.
On Thu, Jul 21, 2016 at 10:49 AM, Scott<EMAIL_ADDRESS>wrote:

For my curiosity, could you please explain a use case, or even two, where
such a in-memory, but also stored on disk type of class would be useful?
Scott
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/6447#issuecomment-234296681,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAp1BF6nTMNKkdJZbI7XOR-_nlQ39xTDks5qX5URgaJpZM4JQ2SH
.

Ok. Thanks for the explanation. If I may ask as a last question, which programming language are you using for your application?
Scott

Sure, no problem. We're using node.js with the orientjs driver.
On Thu, Jul 21, 2016 at 1:47 PM, Scott<EMAIL_ADDRESS>wrote:

Ok. Thanks for the explanation. If I may ask as a last question, which
programming language are you using for your application?
Scott
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/6447#issuecomment-234347012,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAp1BNkLs9vbsKfenBiNEYFk3__NNUIdks5qX765gaJpZM4JQ2SH
.

Ok. Thanks.  :smile:
Scott


Create a nextflow module for core-snp-filter

Description of feature
core-snp-filter is not available through nf-core. Write a nf-core standard core-snp-filter module

[ ] include a Singularity/docker container
[ ] include a bioconda container

Added as a custom module and tested


Copy ADB to the application files

Hi, please copy ADB to the application files.

Hi,
We cannot supply ADB with the app since this breaches Google's terms of using Android Platform Tools.
Also, there is this issue was closed some time ago (#7). Please make sure there aren't any related closed or open issues before opening new ones.


Add CODEOWNERS file

Add CODEOWNERS file. The presence of this file means that any changes to the newrelic-ruby-agent repository need to be reviewed by at least one code owner. This feature automatically requests reviews from the code owners when a PR changes any owned file (in this case, all of them).
Closes #1906

Thanks, @hannahramadan! One question -- does the * syntax before the name means there's requirements on every file and not just the .github directory mentioned in the original ticket?

#1906

@kaylareopelle yes! That * means that any file modified under our repo sends one of us a review request. The original ticket mentioned "At a minimum, make sure all .github/workflow files get a review", but seemed like it would be more secure to be a part of every change. We can definitely edit this file to only get notified about workflow changes if it becomes annoying or doesn't seem valuable.


[BUG] Maven failure are not shown to the user

Is there an existing issue for this?

[X] I have searched the existing issues

Konveyor version
analyzer-lsp: 37c4e3e024ad9c0da13f8f02ac87f35a7c37f203
Priority
Major
Current Behavior
When a Maven build fails, the only output is

INFO[0009] unable to get dependencies, using fallback    error="{}" provider=java when the dependency parser fails (cf. #392)
unable to get dependencies (none found), using fallback when the dependency analyzer does not produce any output (for whatever reason)
failed to download dependencies, continuing to download sources when Maven cannot (completely) download binary artifacts (aka. resolution)

In none of these cases we see the original output of the background Maven process. Therefore, we cannot analyse the root cause.
Expected Behavior
Show the (full) output of the Maven process, at least when debug logging is switched on.
How Reproducible
Always (Default)
Steps To Reproduce
It is necessary to have a suitable project / or test case.
Will try to provide something with an upcoming PR.
Environment
No response
Anything else?
No response

Test cases provided by #427 will showcase some of the behaviour above.


Use mergesort for DerivedToFront

Previous algorithm was quadratic and quite difficult to understand. This implementation uses mergesort, and takes advantage of static foreach to reduce template instantiations.

Forgot to mention this PR also includes an improvement for MostDerived.

@n8sh thanks! I added that code to the unittests.


Kanban Board - Display Additional Task Information

Enhance the Kanban Board to display additional information on each task card for improved visibility.
Display the following details on each Kanban card:
•	Task ID
•	Current Owner Username
•	Due Date
•	Priority
•	Task Tag (not implemented yet, I think)
It's essential we maintain a clean and organized look, focusing on readability and user experience.
It does not need to look like the the Figma mockup.

Completed by #40


add response to DiskClient:uploadFile method

added slash by default parameter because without this slash i always got 404 error.

Coverage decreased (-0.03%) to 83.65% when pulling 0ce8438feb04bcbfd89227ff8d71f506cad1037c on San4o2008:issue-208 into 68a1bca9afb3d9018dd2770b68c7bd2ab8171014 on nixsolutions:master.


[SPARK-18442][SQL] Fix nullability of WrapOption.

What changes were proposed in this pull request?
The nullability of WrapOption should be false.
How was this patch tested?
Existing tests.

Test build #68653 has started for PR 15887 at commit a7140cd.

LGTM

Test build #68653 has finished for PR 15887 at commit a7140cd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68653/
Test PASSed.

cc @cloud-fan

LGTM, merging to master/2.1!


remove manual shell scripting from our cmake files

fix: remove manual shell scripting for compiling libleanrt with the additional compile flag "-ftls-model=local-exec".  I think cmake can easily do this just using target_compile_options.  Removing bash shell will eventually get us a cmake system that will work on windows.
This is proof that the cmake change works, there are two sets of object files, one for lean_rt-initial-exec and one for leanrt and they are different:

Nice. Not sure why I couldn't find that option :sweat_smile: .


Set return type of lazy void delegates to void [GDC] [ARM]

Before this commit the delegates generated for lazy void parameters returned the type of the wrapped expression. Example:
void test(lazy void a) {}
test(new Object()); //The generated delegate returns Object

The delegate calling code however expects a delegate with no return value. Usually the result of the lazy func delegate is returned in a register. As a function may modify the result register internally even if defined with void return type this never causes problems and the value is ignored.
For bigger aggregate types (on ARM already >4byte) the result is written onto the stack and this requires an additional hidden parameter passed to the delegate. But as the delegate is called as void(...) the additional parameter is never initialized and whatever is in the argument register is passed into the function and used as the location were the result will be written ==> memory corruption.
This should be reproducible on X86 as well but the observed effects depend on stack layout and function calling conventions. Because of that I don't want to add a testcase as it would make porting to other architectures more difficult for no real benefit.
This bug is actually triggerd in druntime on ARM since 2.066. Once this is reviewed / merged into dmd it'll be backported to GDC to fix the ARM problem.

Auto-merge toggled on

:+1:


falcon-image-analyzer pod produces error logs.

Hello,

Note: this is a duplicate of https://github.com/CrowdStrike/falcon-operator/issues/598 because I don't know if the error is due to the operator or the helm charts.

I am currently working on setting the image analyzer on our Infra, however I am facing a situation where we are able to pull the image from our private registry (after pull from CS then retagging). When deploying the image analyzer using the helm charts I get the following log in the falcon-image-analyzer :

time="2024-11-20T18:09:23Z" level=info msg="starting ivan agent" commit=ea8a0297f66119dfe6fc76920719881b6562b5c3 os=linux mode=watcher version=1.0.9 architecture=amd64
time="2024-11-20T18:09:23Z" level=info msg="successful cleanup on start" version=1.0.9 architecture=amd64 commit=ea8a0297f66119dfe6fc76920719881b6562b5c3 os=linux mode=watcher
time="2024-11-20T18:09:23Z" level=info msg="server_version = v1.29.8-eks-a737599" mode=watcher
time="2024-11-20T18:09:23Z" level=info msg="getting inventory config" mode=watcher
time="2024-11-20T18:09:23Z" level=error msg="error getting imageanalyzer config. will try again" error="unable to get JWT: unable to refresh JWT from crowdstrike: unable to complete request to crowdstrike Auth: Post \"/oauth2/token\": unsupported protocol scheme \"\"" mode=watcher
time="2024-11-20T18:09:53Z" level=info msg="getting inventory config" mode=watcher
time="2024-11-20T18:09:53Z" level=error msg="error getting imageanalyzer config. will try again" mode=watcher error="unable to get JWT: unable to refresh JWT from crowdstrike: unable to complete request to crowdstrike Auth: Post \"/oauth2/token\": unsupported protocol scheme \"\""
time="2024-11-20T18:10:23Z" level=info msg="getting inventory config" mode=watcher
time="2024-11-20T18:10:23Z" level=error msg="error getting imageanalyzer config. will try again" error="unable to get JWT: unable to refresh JWT from crowdstrike: unable to complete request to crowdstrike Auth: Post \"/oauth2/token\": unsupported protocol scheme \"\"" mode=watcher
time="2024-11-20T18:10:53Z" level=info msg="getting inventory config" mode=watcher
time="2024-11-20T18:10:53Z" level=error msg="error getting imageanalyzer config. will try again" mode=watcher error="unable to get JWT: unable to refresh JWT from crowdstrike: unable to complete request to crowdstrike Auth: Post \"/oauth2/token\": unsupported protocol scheme \"\""
time="2024-11-20T18:11:23Z" level=info msg="getting inventory config" mode=watcher
time="2024-11-20T18:11:23Z" level=error msg="error getting imageanalyzer config. will try again" mode=watcher error="unable to get JWT: unable to refresh JWT from crowdstrike: unable to complete request to crowdstrike Auth: Post \"/oauth2/token\": unsupported protocol scheme \"\""

here is the content of the values.yaml provided to the helm charts :

deployment:
  enabled: true
scanStats:
  enabled: true

image:
  repository: <private repo address>
  tag: 1.0.9
crowdstrikeConfig:
  clientID: <client id created for IAR>
  clientSecret: <client secret created for IAR>
  clusterName: <CLuster name>
  env: <us-1 or us-2 or auto? >
  cid: <CID>
  dockerAPIToken: <Docker api token>

serviceAccount:
  name: <sa name>
  annotations:
    <role ARN>

priorityClassName: "be-high"

Are we missing something?
I have been scratching my head since Monday, We checked several time the client id/secret scopes, the configs the doc, etc.
I saw https://github.com/CrowdStrike/falcon-operator/issues/571 and wondering if something is missing on the doc side that is creating this situation
Thank you for your help.

Hey @Blizter -- you have crowdstrikeConfig.env but it looks like the correct property for the IAR chart is crowdstrikeConfig.agentRegion: https://github.com/CrowdStrike/falcon-helm/tree/main/helm-charts/falcon-image-analyzer
Also note that only the latest release of this chart supports auto: https://github.com/CrowdStrike/falcon-helm/releases/tag/falcon-image-analyzer-1.1.10
Apologies for the confusion as I see some other charts do use env.

@Blizter Were you able to get this working?


Request failed with status code 403

Bicep install often fails with a 403 from Azure DevOps pipeline:
Starting: BicepInstall
==============================================================================
Task         : Install Bicep CLI
Description  : Install Bicep CLI
Version      : 0.3.8
Author       : Raúl Piracés
Help         : Installs the Bicep CLI
==============================================================================
##[error][FATAL] Error while retrieving latest version tag: 'Request failed with status code 403'
Finishing: BicepInstall

Hi @jscheeres ! Thanks for reporting. I will review it as soon as I can. It is always the same log error, while retrieving latest version tag?
Maybe we are reaching a rate-limit or some kind of restricition in GitHub... Will investigate 👍

Yes always the same error. We experience it almost every day during a release. The problem is solved after executing the pipeline again.

Hi @jscheeres , I have been trying making multiple runs and I have been able to reproduce the issue in some runs… It appears that the issue is from the GitHub API, that now requires a User-Agent headers for all requests: https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#user-agent-required
This has been fixed and released to the store (v4.0.1). Please try it out and let me know if this keeps happening to you.
Feel free to reopen the issue and comment if you find the same issue.

Thanks for reporting this, I think I made an error while publishing the new versions and changes are not being applied... I'll let you know when fixed.

Hi @jscheeres , I just released v0.4.3 with this fix... Can you try it to reproduce it again? Thank you and sorry for the confusion 😞

Great. We will try it. Thanx.

Hi @jscheeres , just reproduced again with the latest version... will need to investigate further...

Starting: Bicep Install
Task         : Install Bicep CLI
Description  : Install Bicep CLI
Version      : 0.4.4
Author       : Raúl Piracés
Help         : Installs the Bicep CLI
##[error][FATAL] Error while retrieving latest version tag: 'Converting circular structure to JSON'.

Should be fixed by now @jscheeres , I have completely changed the way to obtain the latest version tag. Instead of using the GitHub API, I'm now using URL redirections. Please confirm if its solved on your side with the v0.4.5 🙏


Update spe.markdown

Hey @lisitsyn! Was having a look at SPE and notice a couple of things to improve in the doc.

Cool! Thanks

Once it is merged, do we need to do some sort of manual update to get it live for the website or does it happen auto-magically?

Unfortunately, I'd have to update it


ELE-489 Support dbt-trino connector

Relates to: https://github.com/elementary-data/elementary/issues/739
Other half: https://github.com/elementary-data/dbt-data-reliability/pull/652

Hi, I was wondering if the requirement related to this issue is still ongoing? Thank you!

Hi, I was wondering if the requirement related to this issue is still ongoing? Thank you!

I'm unsure what you mean but from testing within my small to medium production environment everything is working as expected 😄

Can we please expedite this much needed Component 🙏


Add ability to email in advance of refresh token expiring.

Library is built to run in background generally but needs to reauthenticate every 90 days.
Would like a parameter when creating object that will auto notify if less than a set number of days away.

Rough code to implement:
# Acquire a new access token using the refresh token
refresh_token = "your_refresh_token"
token_response = app.acquire_token_by_refresh_token(refresh_token, scopes=scope)

# Retrieve the expires_in value
expires_in = token_response.get("expires_in", 0)

# Calculate the number of days left
expires_in_days = expires_in / (60 * 60 * 24)

# Calculate how many days are left until the refresh token expires (assuming 90 days total validity)
total_validity_days = 90
days_left = total_validity_days - expires_in_days

print(f"Refresh token will expire in {days_left:.2f} days.")


Custom version of MOPAC with circa-2007 AUX file

This is a custom version meant to temporarily repair compatibility with Mercury. I'm only opening a PR to trigger the CI and produce an installer, this is not actually meant to be merged into the main branch.
Status

[ ] Ready for merge

Codecov Report

Merging #118 (7135931) into main (62a570d) will decrease coverage by 2.14%.
The diff coverage is 71.58%.

@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
- Coverage   68.27%   66.12%   -2.15%
==========================================
  Files         330      331       +1
  Lines       71694    74007    +2313
==========================================
- Hits        48946    48938       -8
- Misses      22748    25069    +2321

Impacted Files
Coverage Δ

src/models/parameters_for_PM6_ORG_C.F90
0.00% <ø> (ø)

src/mopend.F90
77.41% <ø> (+0.85%)
:arrow_up:

src/output/to_screen.F90
24.31% <ø> (-12.47%)
:arrow_down:

src/run_param.F90
0.00% <0.00%> (ø)

src/models/switch.F90
60.48% <3.57%> (-3.41%)
:arrow_down:

src/integrals/ccrep.F90
48.63% <11.62%> (-16.80%)
:arrow_down:

src/chemistry/add_hydrogen_atoms.F90
61.01% <25.00%> (-0.17%)
:arrow_down:

src/corrections/post_scf_corrections.F90
76.92% <25.00%> (-4.33%)
:arrow_down:

src/chemistry/geochk_bits_2.F90
56.14% <35.29%> (-0.14%)
:arrow_down:

src/models/refer.F90
59.01% <42.85%> (-5.80%)
:arrow_down:

... and 24 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


image config clean update git repo - [closed]

In GitLab by @luotian-github on Nov 6, 2017, 02:15
Merges imageclean -> dev
when do image config clean, should update git repo first

In GitLab by @wknet123 on Nov 13, 2019, 10:07
closed


Typemill Version 2 is here

Version 2 of Typemill is now available, starting from the 12th of November 2023. You can download the latest version from the Typemill startpage or directly from GitHub!
{.center loading="lazy" width="820" height="600"}
Should I update my old Typemill installation today?
The answer is a firm NO. If you're creating a new website, it's recommended to use Version 2. However, for existing installations, it's advisable to wait for version 2.1.0 before updating. Here are two crucial reasons:

The old plugins and themes are not compatible with Typemill version 2, and it will take some time to update them.
It's prudent to wait until version 2 has been tested thoroughly in real-world scenarios.

For those eager to upgrade immediately (like I did for most of my own websites), you can follow this upgrade guide.
What's New?
While the visual appearance of version 2 remains similar to version 1, there have been substantial changes under the hood:

Compatibility with PHP 8.0, 8.1, and 8.2.
Tech-stack upgrade with Slim 4, Vue 3, and Tailwind CSS.
Complete refactoring of the entire codebase.
General design refresh.
Introduction of a new dark mode.
Improved navigation and publish bar.
Enhanced raw editor with markdown highlighting and auto-scrolling.
Improved media library.
Introduction of a headless mode (coming soon).
And much more.

There is also a public roadmap, that will be updated regularly, and a new discussion board for Typemill on GitHub.
To delve deeper into Version 2, visit the new chapter on the Typemill website.
Next Steps
Over the next few weeks, I will focus on updating the most crucial plugins and themes and resolving any bugs to ensure a stable and battle-tested Typemill 2. After that, I will follow the public roadmap. When the new license system is implemented, my primary focus will shift towards developing exciting plugins for the new license.

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0".
My server in Hostgator does not have php 8.0 installed :(

Hmm, I suppose your server at hostgator is pretty old already? Php 7.4 is end of live since a while and even php8.0 will end in January 2024: https://www.php.net/supported-versions.php
That is why Typemill v.2 has been published, to make it compatible with current versions of php 8.1 and 8.2.

@trendschau the official Docker image will be available this year (2024) ?

@mariushosting The Docker image was a community contribution by @matbgn so I hope for an update. If no update will come, I will dig into it and update it soon (hopefully in 1st Q of 2024). So yes, it will definately available in 2024.

@mariushosting  the dockerimage is back again, did only slight changes, I hope it works in all details.


Spanner library should have a way to track leaked sessions.

Due to a bug in user code or client library code, it is possible that a session is checked out from the pool but never released. We should make it easier for users to be able to detect such leaks and debug where in there code the leak occurred. One way can be to record a trace in a list or a map whenever a session is checked out and remove that trace when the session is released back to the pool. User should be able to look at this list and figure out the location in the code where all the unreleased sessions were checked out at. We can also log these stack traces when the pool is closed.

As this is not blocking an imminent release perhaps we should consider P1?  Unless I am misunderstanding and there is a critical nature to the issue - security or similar?

This issue was moved to googleapis/nodejs-spanner#18


Support "encoding" keyword - Requests to Mocked API on postman results 422 error

Describe Issue
I'm mocking a API that receives as input a x-www-form-urlencoded containing a key called request and a json as value (yaml below for reference).
openapi: "3.0.0"
info:
  description: "Example Documentation"
  version: "1.0.0"
  title: "Example"
servers:
  - url: http://myurl.com
tags:
  - name: "example"
    description: "example"
paths:
  /json:
    post:
      tags:
        - example
      summary: "this is my example"
      description: ""
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                request:
                  $ref: "#/components/schemas/request"
            encoding:
              request:
                contentType: application/json

      responses:
        "200":
          description: "OK"
          content:
            application/json:
              schema:
                type: object
                properties:
                  responseCode:
                    type: integer
                    example: 0
                  description:
                    type: string
                    example: "OK"
                  url:
                    type: string
                    example: "http://myurl.com/response"

components:
  schemas:
    request:
      type: object
      required:
        - amount
        - merchant_id
      properties:
        amount:
          type: integer
          example: 100
        merchant_id:
          type: string
          example: "merchant_id"

I'm running Prism in a docker container and running the yaml file to generate the mock.
The docker command i'm using is as below:
docker run --init --rm -v ${PWD}:/tmp -p 4010:4010 stoplight/prism mock -h <IP_ADDRESS> "/tmp/example.yaml"
Yet, when I make a request in postman at /json it returns me 422 error, as seen in the picture:

Expected Behavior
I Expect Prism to give me the 200 code output with the response examples
Is this a problem from my setup or Prism can't handle this input format?

Correct, we do not support the encoding keyword just yet, that's a power user thing you don't often see in the wild.
Fancy rolling your sleeves up and giving us a hand? It looks like there's two of you interested, but we've got more features on our roadmap than we have developers to write them.

Correct, we do not support the encoding keyword just yet, that's a power user thing you don't often see in the wild.
Fancy rolling your sleeves up and giving us a hand? It looks like there's two of you interested, but we've got more features on our roadmap than we have developers to write them.

Hey team, do you have plans for adding support for application/x-www-form-urlencoded request bodies anytime soon?

Removing points to re-groom and discuss with team.

Hey team! Please add your planning poker estimate with ZenHub @Amjcraft @lukasz-kuzynski-11sigma @radzserg @rainum

OASv3.1 - https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#encoding-object
OASv3.0 - https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#encoding-object
OASv2.0 - not a thing.

Hey team! Please add your planning poker estimate with ZenHub @Amjcraft @daniel-white @EdVinyard @jasonmgillhub @rainum


[common, config, language] Cleanup unused code

Removes code currently unused.
Individual commit messages should be straightforward.

I am not sure about this and don't know what the intent of _old_move_ir_tests was.
Besides Todd and Runtian, maybe @vgao1996 may have a sense of this.
I am fine removing if they are old stuff still lying around otherwise we may want to tackle this in a different way

@vgao1996 could you open an issue referencing this migration please? I'd like this upcoming migration to have more visibility for others to avoid walking in my footsteps.

@huitseeker Done. See https://github.com/libra/libra/issues/789


All image cannot be downloaded on google colab.

Hello there, i was using this package as an img downloader to train my Artificial intelligence project, after installing this package using pip, i ran code like this :
response = google_images_download.googleimagesdownload()
arguments = {"keywords":"people wearing mask","limit":60,"print_urls":False}
paths = response.download(arguments)
print(paths)

after executing the cell i got the response like this :
Item no.: 1 --> Item name = people wearing mask
Evaluating...
Starting Download...

Unfortunately all 60 could not be downloaded because some images were not downloadable. 0 is all we got for this search filter!

Errors: 0

({'people wearing mask': []}, 0)

why? is the frontend of google has change or what? can you help me??

Having the same issue
for i in df['Breed']:     arguments={"keywords":i,"output_directory":'./Images/'+i+'/',"limit":100,"print_urls":True,'chromedriver':'./chromedriver','delay':1}     paths = response.download(arguments)  # passing the arguments to the function     print(paths)  # printing absolute paths of the downloaded images'''
`Item no.: 1 --> Item name = Weimaraner
Evaluating...
Starting Download...
Unfortunately all 100 could not be downloaded because some images were not downloadable. 0 is all we got for this search filter!`

Have you tried my fork which fixes this problem? #298
git clone https://github.com/Joeclinton1/google-images-download.git
cd google-images-download && python setup.py install

Have you tried my fork which fixes this problem? #298
git clone https://github.com/Joeclinton1/google-images-download.git
cd google-images-download && python setup.py install

Thank you so much, i'll try it tomorrow! I'm really sad to see that this repo is so much potential, so much who interest, so much who send PR but not maintained and abandoned by creator :(

@Joeclinton1 thanks for the fork! It works..sort of.
Was going for the script based example at first, directly from the docs:
from google_images_download import google_images_download   #importing the library

response = google_images_download.googleimagesdownload()   #class instantiation

arguments = {"keywords":"Polar bears,baloons,Beaches","limit":20,"print_urls":True}   #creating list of arguments
paths = response.download(arguments)   #passing the arguments to the function
print(paths)   #printing absolute paths of the downloaded images

It didn't work, oddly, showing ModuleNotFoundError.
However it worked from the command line nicely. Any possible explanations?

Have you tried my fork which fixes this problem? #298
git clone https://github.com/Joeclinton1/google-images-download.git
cd google-images-download && python setup.py install

Does the format filter does not work in this
i am trying this but it is still downloading jpeg and webp formats
from google_images_download import google_images_download   #importing the library

response = google_images_download.googleimagesdownload()   #class instantiation

arguments = {"keywords":"Polar bears,baloons,Beaches","limit":20,"format":"jpg"}
paths = response.download(arguments)


fastlane-plugin-android_version_ manager | 0.4.1   | No actions found

No actions were found when adding this plugin

Can you provide more details? What fastlane version are you using? What was the full fastlane output?


Emit a metric when pghoard quits main loop

for example: for alerting purpose
About this change - What it does
Emit a metric when there is unrecoverable error to quit main loop
So we can do some alert on services.
Why this way
A metric will generate each time if there is a main loop quit.

will need to address rohmu PR first: https://github.com/Aiven-Open/rohmu/pull/144

Codecov Report

Merging #598 (dee324f) into main (6e6c70b) will decrease coverage by 0.32%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #598      +/-   ##
==========================================
- Coverage   91.44%   91.13%   -0.32%
==========================================
  Files          32       32
  Lines        4709     4702       -7
==========================================
- Hits         4306     4285      -21
- Misses        403      417      +14

Files
Coverage Δ

pghoard/pghoard.py
85.15% <0.00%> (-0.48%)
:arrow_down:

... and 8 files with indirect coverage changes


named pipes: handle reads when isFifo

Reading from a named pipe with no content will hang infinitely until content is passed in.
Simple test here:
$ fifoPath=testPipe
$ mkfifo $fifoPath
$ sleeper() { i=0;while [ $i -lt 20 ];do echo -e "sleeping $i\r"; let i=i+1;sleep 1;done; echo "done here $i" >> $fifoPath; }
$ sleeper & # Put it in the background
$ cat $fifoPath # Going to hang for the 20 seconds -- this can happen infinitely

Addressed by https://github.com/odeke-em/drive/pull/209


feat: add entrypoint

I was looking for the easiest and fastest way to hash a string. I also understand this is a library so maybe this PR should instead go to eth-utils. Let me know what you think.
The PR intention is to be able to quickly hash something without having to opening a interactive Python console. Using console scripts and in this case I had to add a main function to cast the incoming string.
Note: this PR only hashes the first given argument, in case you need to send multiple strings, I would need to update the function.
How to test
$ pip install -e .[dev]
$ eth-hash "Hello World"
b'Y/\xa7C\x88\x9f\xc7\xf9*\xc2\xa3{\xb1\xf5\xba\x1d\xaf*\\\x84t\x1c\xa0\xe0\x06\x1d$:.g\x07\xba'

I could go further and make it more complicated, adding type checks, encoding options, a CLI library, etc. But need to know if this feature is desired in the first place.

Sorry for the (multi-year) delay on this, but this isn't a feature we'd want to add.  A similar but more flexible function already exists in eth-utils here, but you still need to import the function from the lib first.


feat: finalize enum feature

Change game from Michael.  Just showed up here because of updating PR after a merge.

:tada: This PR is included in version 0.344.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix compilation. Was broken due to incorrect header import.

It's QuartzCore, not Quartzcore.
Fixed the compilation. Was broken due to incorrect case in QuartzCore include.
I have deleted my previous fork. This is a new fork and that fix is in its own branch with nothing else in it, so you may pull without risk.

Thanks!


No Windows support?

After installing the extension on Windows, I noticed that it does not appear to run correctly. For example, if I press Ctrl+Shift+P and run "Run supabase db reset command", nothing happens and this error appears in the Extension Host logs:
2024-02-22 10:18:41.459 [error] Error: ENOENT: no such file or directory, lstat '/c:/Users/colin.emonds/Code/foo'
	at lstatSync (node:fs:1670:3)
	at Object.lstatSync (node:electron/js2c/asar_bundle:2:4026)
	at executeCommand (c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\utils\exec-command.js:9:40)
	at c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\register.js:28:160
	at Generator.next (<anonymous>)
	at c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\register.js:8:71
	at new Promise (<anonymous>)
	at __awaiter (c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\register.js:4:12)
	at c:\Users\colin.emonds\.vscode\extensions\anasaraid.vscode-supabase-cli-0.0.1\out\register.js:28:72
	at s.h (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:175243)
	at s.$executeContributedCommand (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:176103)
	at d.S (c:\Program Files\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:147:5520)
        * snip many more lines *

The directory in the error message exists, but the path looks very odd. Is the leading slash intended?

Same issue here. Extension doesn't seem to connect to my DB properly and I get these error messages whenever I try running any command.


FieldMapper

Fixes #38

Codecov Report

Merging #39 into master will decrease coverage by 0.97%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #39      +/-   ##
==========================================
- Coverage   88.81%   87.84%   -0.98%
==========================================
  Files          13       15       +2
  Lines         313      329      +16
==========================================
+ Hits          278      289      +11
- Misses         35       40       +5

Impacted Files
Coverage Δ

core/src/main/scala/mapper/package.scala
100% <100%> (ø)

core/src/main/scala/query/query.scala
100% <100%> (ø)

core/src/main/scala/mapper/ByteBufferMapper.scala
100% <100%> (ø)

core/src/main/scala/config/model.scala
93.75% <0%> (-6.25%)
:arrow_down:

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 6a6c021...2878cd2. Read the comment docs.


UI Redesign

Before the end of september, Zen is going to have a refreshing new UI.
To do so, a good couple of component/ pages will be redesigned. We have a couple of design that it may be interesting to share (@
We're taking any input on those :+1:

[x] Dashboard (https://forums.coderdojo.com/topic/126/your-personal-dashboard) (https://github.com/CoderDojo/community-platform/issues/897)
[x] Event
[x] Dojo Listing ( https://projects.invisionapp.com/share/RA7971JJQ#/screens/157278849 ? )
[x] Dojo details (https://projects.invisionapp.com/share/RA7971JJQ#/screens/157278769)
[ ] Profile

This "Epic" will then be splitted into several others issues once we'll be ready spec-wise

We're going to share documents (images probably) of the mockups asap

@DanielBrierton Do you have the link to the latest pdf so we can share it? :)

On the coming sprint, we're going to cover the existing first, so that dashboard is scoped out so far

Leftovers :
https://github.com/CoderDojo/community-platform/issues/1041
https://github.com/CoderDojo/community-platform/issues/1042
https://github.com/CoderDojo/community-platform/issues/1046

The dashboard has been added a month ago :)
If anybody has feedback, please do so!


Dangerous command-line incompatibility with pip

User story
I have a Python package that I develop locally, ~/projects/foo. Previously, I installed it by pip install --user -e ~/projects/foo, where the -e is necessary in order to avoid reinstalling after every change. Now I want to modernize my Python package management, so I want to try pipx. Just to check that -e is supported, I check pipx install --help. I see that it is, so I run pipx install -e ~/projects/foo. But then I get this error:
'/Users/me/projects/foo' already seems to be installed. Not modifying existing installation in {str(venv_dir)!r}. Pass '--force' to force installation

I'm briefly very confused, but then figure that this message was supposed to be passed through str.format. I'm still quite confused, though, because this message doesn't explain anything about what the problem is. It seems like pipx thinks this package is installed. Just to check, I run pip list and confirm that it isn't. As suggested in the error message, I run pipx install --force -e ~/projects/foo. This deletes my project!! This is very upsetting, since nothing in the error message suggested this is what would happen. Also, it still doesn't work:
Installing to existing directory '/Users/me/projects/foo'
Could not find package /Users/me/projects/foo. Is the name correct?

After I restore my project from a backup, I look again at pipx install --help to see if I missed anything. I find this statement:
The argument to `--spec` is passed directly to `pip install`.

I am quite confused why the package name I give pipx wouldn't normally be passed to pip install. I don't see any explanation of what the alternative is. But nevertheless I try pipx install -e --spec ~/projects/foo. This gives me a usage error:
pipx install: error: the following arguments are required: package

None of this makes any sense to me given that pip install --user -e ~/projects/foo works just fine. But I figure maybe I need to provide a package name, and try pipx install -e --spec ~/projects/foo foo despite the redundancy. This churns away for a while, and spits out:
No binaries associated with package foo.

Which is patently false. At this point I find https://github.com/pipxproject/pipx/issues/108 and https://github.com/pipxproject/pipx/issues/126 which seem to indicate that --editable isn't really supported. I still don't really understand what's going on, though.
It seems like pipx can't install my package, so I instead create a virtualenv manually and symlink the installed script into ~/.local/bin.

I hope that my recounting of this experience may suggest some changes to the pipx interface or documentation which could avoid such unintuitive, frustrating, and arguably dangerous behavior.

So sorry to hear that it deleted your project! I have never heard of this happening before.
In the mean time I would suggest using virtual environments for development. https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/

So sorry to hear that it deleted your project! I have never heard of this happening before.
That issue may be related to
https://github.com/pipxproject/pipx/issues/137 since that also unexpectedly deleted packages.

@apnewberry thanks for pointing that out. I will get this fixed ASAP.

This deletes my project

This has been fixed in <IP_ADDRESS>

this message was supposed to be passed through str.format

This has been fixed as well.

None of this makes any sense to me given that pip install --user -e ~/projects/foo works just fine.

I could possibly modify pipx to use pip to determine the package name, but right now pipx requires the user to specify the package name.

Which is patently false. At this point I find #108 and #126 which seem to indicate that --editable isn't really supported. I still don't really understand what's going on, though.

If you re-run with the --verbose flag and share the output I might be able to help diagnose. Also make sure there are no egg or egg-info files present.

I am going to close this issue since the removal of existing venvs has been fixed. For the other problem, feel free to open a new issue and add verbose output.

@cs01 Thanks, see https://github.com/pipxproject/pipx/issues/148 for the editable install problem.


Add session_id to the runtime parameter

session_id was removed once because there was a unclear design decision
around session and attempt. Now, there is an idea to add attempt index
to replace attempt_id. Therefore, session_id is now becoming a stable
concept. session_id is used both in REST API and CLI interface.
Fixes #469.

Remeved test will also need to be added, removed here: https://github.com/treasure-data/digdag/commit/1db165b9ca78478ac7579363c0342cb5605f25df
Would be great if this was part of the next release!

@cosmok that's a good point. thank you for pointing it out


Agent (27): Align buttons in a row

Put the Edit button at the end of the Delete button, and give it more space to make it look clear

If needed, replace the button text with an icon and include a tooltip with the replaced text

@gorums Maybe is a good idea to use buttons with icons and a tooltip here. Thoughts?

@YanetABUC  I love that idea. Lets do it


Replace build your own Xero management with connections SDK

Removed steps to build your own "Integration settings" (connection management) page.
Replaced with link to new connections management SDK.
Happy to have this change revoked if further discussion needed.

hi @ajacksoncodat , two things to note here:

please can you check with Jasper if he is happy with this change, because it's his team that uses these pages the most
there are a few more pages with this requirement that also need to be updated - this one on Bank Feeds, this one on AP payments, and this one on general partnerships.


[match] Don't add key if cert already present

Checklist

[ ] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[ ] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary.

Motivation and Context
Resolves: https://github.com/fastlane/fastlane/issues/19268
Description
Avoid adding a private key to the keychain if the cert is already present while doing fetch_certificate. The issue is with security import which adds a random private key if this key is already present.

@googlebot I signed it!


$save is not updating data and $add works perfectly and adds data to database node

Versions used:
AngularFire 2.0.1
Firebase 3.0.3-rc.1
$add is working
var newSync = $firebaseArray(firebase.database().ref("users").child("roles"));

newSync.$add({
  key: "value"
});

$save is not working
var newSync = $firebaseArray(firebase.database().ref("users").child("roles"));

newSync.$save({
  key: "value"
});

$push /$set is not supported

Please use a stable version of Firebase instead of a release candidate (3.0.5 released yesterday is the latest as of this message). Also, please open a new issue with the issue template filled out completely, including actual versus expected results and a minimal repro in JSFiddle or Plunkr.

@jwngr Even 3.0.5 seems to be a RC
https://www.gstatic.com/firebasejs/3.0.5/firebase.js
@license Firebase v3.0.5
Build: 3.0.5-rc.2
Even upgrading doesn't resolve my issue, any help? $save is not working

As noted above, please open up a new issue and follow the issue template, which includes providing a repro and the expected vs. actual results.


Add support for python3(python3-apt)

Currently python3 is not supported, it would be nice to give support to it since python2 will be EOL soon(2020-01-01)  https://pythonclock.org/

have to be careful with deprecation of some functionality: https://docs.python.org/3/library/platform.html


Pin zipp + importlib_metadata to maintain python 3.7 support

This should hopefully be resolved with the latest version of the definitions


💭 Is it possible to decrease the video resolution on v4?

Question
We upgraded to Vision Camera version 4 and noticed that Android videos have significantly higher resolution and size than version 3. We've put together a relatively simple setup to demonstrate the difference:
const device = useCameraDevice('front')

const sortedFormats = (device?.formats || [])
  .filter(deviceFormat => deviceFormat.videoWidth)
  .sort(
    (format1, format2) =>
      format1.videoWidth - format2.videoWidth ||
      format1.videoHeight - format2.videoHeight ||
      format1.photoWidth - format2.photoWidth ||
      format1.photoHeight - format2.photoHeight ||
      format1.minFps - format2.minFps
  )

const deviceWithSortedFormats = { ...(device || {}), formats: sortedFormats }

console.log(JSON.stringify(deviceWithSortedFormats))

On version 3, running on a Samsung Galaxy S21 FE 5G, the output is:
{
  "formats": [
    {
      "autoFocusSystem": "none",
      "fieldOfView": 82.07262253221181,
      "maxFps": 30,
      "maxISO": 3200,
      "maxZoom": 4,
      "minFps": 1,
      "minISO": 32,
      "photoHeight": 240,
      "photoWidth": 320,
      "pixelFormats": ["yuv","native"],
      "supportsDepthCapture": false,
      "supportsPhotoHdr": true,
      "supportsVideoHdr": false,
      "videoHeight": 144,
      "videoStabilizationModes": ["off","off"],
      "videoWidth": 176
    },
    ...
  ],
  "hardwareLevel": "limited",
  "hasFlash": false,
  "hasTorch": false,
  "id": "1",
  "isMultiCam": false,
  "maxExposure": 20,
  "maxZoom": 4,
  "minExposure": -20,
  "minFocusDistance": 0,
  "minZoom": 1,
  "name": "FRONT (1)",
  "neutralZoom": 1,
  "physicalDevices": ["wide-angle-camera"],
  "position": "front",
  "sensorOrientation": "landscape-right",
  "supportsFocus": false,
  "supportsLowLightBoost": false,
  "supportsRawCapture": false
}

On version 4, the same device outputs:
{
  "formats": [
    {
      "autoFocusSystem": "contrast-detection",
      "fieldOfView": 82.07262253221181,
      "maxFps": 30,
      "maxISO": 3200,
      "minFps": 8,
      "minISO": 32,
      "photoHeight": 240,
      "photoWidth": 320,
      "supportsDepthCapture": false,
      "supportsPhotoHdr": false,
      "supportsVideoHdr": false,
      "videoHeight": 480,
      "videoStabilizationModes": ["off"],
      "videoWidth": 640
    },
    ...
  ],
  "hardwareLevel": "limited",
  "hasFlash": false,
  "hasTorch": false,
  "id": "1",
  "isMultiCam": false,
  "maxExposure": 20,
  "maxZoom": 4,
  "minExposure": -20,
  "minFocusDistance": 0,
  "minZoom": 1,
  "name": "1 (FRONT) androidx.camera.camera2",
  "neutralZoom": 1,
  "physicalDevices": ["wide-angle-camera"],
  "position": "front",
  "sensorOrientation": "landscape-right",
  "supportsFocus": true,
  "supportsLowLightBoost": false,
  "supportsRawCapture": false
}

As you can see, this specific device went from supporting video recordings in 176x144 to a minimum resolution of 640x480. Is it possible to re-enable the smaller resolution or resize the frame to get smaller videos?
What I tried
We tried reducing the video resolution by playing around with the useCameraDevice and useCameraFormat hooks and using frame processors with the vision-camera-resize-plugin plug-in, but we couldn't achieve smaller videos.
VisionCamera Version
4.3.2
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Hi! No, I don't think this is possible in V4 anymore.
CameraX is responsible for providing me with all safe resolutions, and if CameraX doesn't give us a specific resolution then it just doesn't consider it safe to use for the media encoding (recording).
You could create a feature request in the CameraX issue tracker to support more resolutions, I'd be curious what they reply as well.

This is how I get the video sizes for a specific device:
https://github.com/mrousavy/react-native-vision-camera/blob/9ca6643748c0b39aa0d3e4fd4ebfb9c377adc0c8/package/android/src/main/java/com/mrousavy/camera/core/CameraDeviceDetails.kt#L117


Localization

[x] Analytics app
[x] Accounts app
[x] Dashboard app
[x] Feedback app
[x] Podcasts app
[x] Category selector
[ ] Podcast import front end
[ ] Uploader front end
[x] Network templates
[x] Feedback templates
[x] Episode templates
[x] Podcast templates
[x] Signup templates
[x] Player template

@mattbasta Is it possible to contribute for new language? (e.g. Korean)

@kimshako Everything is ready for translation, but we don't currently have the resources to dedicate to building a translation pipeline and keeping the strings in the app up to date. We plan to prioritize this in the coming year, so stay tuned.

@mattbasta Great! If you need Korean translation, Just let me know. I’m iOS deceloper and my native language is Korean.


Does need to call db.Close() in using statement

sqlite-databases.md
    using (SqliteConnection db =
        new SqliteConnection("Filename=sqliteSample.db"))
    {
        db.Open();

        // do stuff

        db.Close();
    }

Does db.Close() is necessary?

https://docs.microsoft.com/windows/uwp/data-access/sqlite-databases

Thanks for submitting your feedback and I apologize for the delayed response. I see that updates have not been made since the creation of this Issue so I went ahead and created an internal work item to incorporate your suggestions. The timeline for this may vary, so I will go ahead and close this and circle back when the changes are live.
Though the Issue will be marked as Closed, I will monitor any replies that come afterwards so treat this like an open Issue. Many thanks!


HADOOP-17618. ABFS: Partially obfuscate SAS object IDs in Logs

2845

 Quality gate: Failed
2 Issues

 2 Code issues

Details


Update Purple Air API.md

Added short note on obtaining the API key from the purple air website.

I'm not sure this is how we obtained the Thingspeak API key. I called the PurpleAir API to obtain the Thingspeak ID and key for each sensor.


Annotations formats for other domains

Objdet datasets can already use wai.annotations to provide datasets in various formats.
Add similar functionality for image classification and speech domains.

This functionality is implemented in commit 0520f2a4277dfe783d47f46a987473a503b5dad6


Bugz collector

Fixes Collector handling of filters and types and adds pattern matching for subscriptions.
@barrysteyn please review

The problem was that at some point I changed the order of the decorators but hadn't adjusted the order of the arguments so options were sent to the wrong arguments.


python3.pkgs.pylion: init at 0.5.3

Motivation for this change
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

The commit message seems a little different.
- init at 0.5.3
+ 0.5.2 -> 0.5.3

The diff itself looks fine to me.

Thanks! Fixed that.

@ofborg build python310Packages.pylion

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

4 packages built:

python310Packages.pylion
python310Packages.pylion.dist
python311Packages.pylion
python311Packages.pylion.dist


feat(deploy): add support for updating values in YAML arrays

Support YAML paths containing array indexes, e.g. a.b.[1].c for
a:
  b:
  - foo
  - c: bar
`

lgtm - I guess you can merge

:tada: This PR is included in version 3.2.0 :tada:
The release is available on:

v3.2.0
GitHub release

Your semantic-release bot :package::rocket:


Randomly getting disconnected

I am getting disconnected constantly, whereas before I was almost never getting disconnected. When it does happen, it always says that it the lost connection variable is true.

Hey there, what server are you connecting to?
Some servers require you to send
{"cmd": "ping"}
As a keepalive, since they have a timeout period.

The issue seems to have been resolved, but I was trying to connect to server 2. I'll let you know if it returns.

The issue seems to have been resolved, but I was trying to connect to server 2. I'll let you know if it returns.

Server 2 is hosted on Replit, which is known to be unreliable.

Server 2 is also no longer worked on.

Server 2 is also no longer worked on.

so does that mean it will shut down, it'll be outdated, or i'll be the only one using it?

it will be outdated

ok got it, i'll switch to server 1 because that has worked in the past

Should no longer be an issue with 0.2.0.


Added Debug logger to MvcSandbox

Console is good for self hosting but not useful in IIS based scenarios.
cc @Eilon

Yeah, seems good to me.


ganache consider logIndex as the position in a transaction but the spec define the logIndex as the position in the block

according to https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getfilterchanges and http://web3js.readthedocs.io/en/1.0/web3-eth.html#getpastlogs
the logIndex is "Integer of the event index position in the block."
Ganache report logIndex as the position in the transaction
See test case here : https://github.com/wighawag/web3-logIndex-test
and deployed contract on rinkeby : https://rinkeby.etherscan.io/verifyContract?a=0xff9e5d94dc4205fa0a7dc6905f2eb42372431b0c
look at block https://rinkeby.etherscan.io/block/2345019
to reproduce with ganache

stop_mine
call testEvents
call testEvents
mine

Expected Behavior
get past logs from thet deployed contract:
transaction 0 :
result[0].logIndex == 0
result[1].logIndex == 1
transaction 1 :
result[2].logIndex == 2
result[3].logIndex == 3
Current Behavior
transaction 0 :
result[0].logIndex == 0
result[1].logIndex == 1
transaction 1 :
result[2].logIndex == 0
result[3].logIndex == 1
You can see the full test case in : https://github.com/wighawag/web3-logIndex-test
just clone and run yarn && yarn test
for rinkeby behaviour  on ifnura node see https://github.com/wighawag/web3-logIndex-test/blob/master/rinkeby.js

I have noticed this behavior as well. There is an open issue in geth talking about changing it to act the way ganache does but I don't think it has been implemented.


init commit for pruneUncommittedBlocks

Current dependencies on/for this PR:

feature/pos-fast-hotstuff-consensus

PR #742

PR #746

PR #747

PR #748

PR #749   👈

This comment was auto-generated by Graphite.


Name of the anonymous query in extension

Hello, I'm currently writing simple extension for exporting metrics to Prometheus (if there is already something, let me know). Anyway I've hit the wall with this one - when calling anonymous query, it doesn't return the operation_name and it seems this is by design, check the unit test.
https://github.com/strawberry-graphql/strawberry/blob/f31c1fe91ef363bff2d0e0691090e168efedc449/tests/types/test_execution.py#L33
But, wouldn't it be more reasonable to use that query name? - so if I use query from provided example {ping} , that would be the ping name.
In some implementation I've seen, it was uppermost part / level of the query path.
Or is there better way, how to obtain this info?
Thanks for answer.
Michal

@MichalVasut can you show us the implementation you've seen?
In the past I've seen people using an hash of the query, which we also do in some of our extensions: https://github.com/strawberry-graphql/strawberry/blob/main/strawberry/extensions/tracing/datadog.py#L30

@MichalVasut can you show us the implementation you've seen?

I'm not sure, where it was... Definitely not in Strawberry - probably in Graphene or some internal implementation where I work.
As for hash - that would be great for some query identification, but what I need is some pretty name to serve as label for graphs in graphana.
Maybe I'm just overriding bad method. Maybe what I need is in info attribute of the resolve method.

I think using a nice name might be tricky, queries can have all sort of shapes and can be quite long too


Bug 64644 add custom properties to close connections on readIdletimeout

@markt-asf
Could you please review this PR
Its related to the PR https://github.com/apache/tomcat/pull/330 which was not appropriate.
The current PR is as per your suggestion on the bug https://bz.apache.org/bugzilla/show_bug.cgi?id=64644
Added 2 custom properties for session
IdleReadTimeout
IdleWriteTimeout
Need to check if I can remove the 2 other properties I added : closeOnReadIdleTimeout and closeOnWriteIdleTimeout if they are not needed.

Thanks for the updated PR. This needs to be applied to 10.0.x (master) first and then back-ported. There are also a few small things I'd like to tweak so I'll apply this manually rather than merging it. I'll start on that process now.

@markt-asf
Thanks for your comment.
Do you want me to raise the PR for master branch? or would you be raising that with the tweaks you have in mind?

No need for another PR. I'll just work directly on master.

Applied manually.


Adapt and extend Madchess' lower ratings

a. Its current Elo 600 is way too good for 600. It's maybe more at 1000-1200 according to my measurements.
b. I need them really to go down to 100 (random mover)

Extendend to 100 at lowest. Elo 100 is not a random mover but not too far away. Maybe real elo 300.


chore: use placeholder version in pyproject.toml

Obsolete as work on this project is discontinued. Will reopen this PR if needed.


Running diart + Whisper on Raspberry Pi 5

Dear @juanmc2005
Do you know if anyone has managed to get your code to run diarization with transcriptions (https://betterprogramming.pub/color-your-captions-streamlining-live-transcriptions-with-diart-and-openais-whisper-6203350234ef) working on a Raspberry Pi 5?  I cannot get diart working on the RPi5 as I keep getting a "Segmentation fault" error message, though it seems more promising than the error messages I was getting before on the RPi4.
In Issue #99, there was a discussion about getting diart running on an RPi4, but no final conclusion as far as I can tell.
Kind regards
Simon

Hi @swm35, I think diart should fit into RAM on a raspberry pi, but the segmentation fault might be because of loading whisper. Try checking if you can run both diart and whisper separately first and monitor the RAM consumption.
Otherwise, I've recently been working on compatibility with ONNX models so it should be possible to easily quantize diart models in the future too.

Hi @juanmc2005
Thank you for your response.  I have not got around to trying Whisper yet, the errors all relate to running diart only so far.
I tried your suggestion of monitoring the RAM usage, using htop and iostat -c 1 (also gdb as a debugger).  As far as I can tell, it does not appear to be a memory limit problem as the available RAM falls to about 70% at the lowest, though all the materials online about "Segmentation fault" do suggest some memory issue.
The full error message I get is shown below, does anything here suggest an obvious solution?  Should I be worried about the references to "Bad things might happen ...."?  I tried reverting to those older packages but that did not resolve the problem.
(diart) pi@pi:~ $ python test_stream.py
/home/pi/miniforge3/envs/diart/lib/python3.8/site-packages/pyannote/audio/core/io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
torchaudio.set_audio_backend("soundfile")
/home/pi/miniforge3/envs/diart/lib/python3.8/site-packages/torch_audiomentations/utils/io.py:27: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
torchaudio.set_audio_backend("soundfile")
Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.1.0. To apply the upgrade to your files permanently, run python -m pytorch_lightning.utilities.upgrade_checkpoint .cache/torch/pyannote/models--pyannote--segmentation/snapshots/2ffce0501d0aecad81b43a06d538186e292d0070/pytorch_model.bin
Model was trained with pyannote.audio 0.0.1, yours is 3.0.0. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.10.0+cu102, yours is 2.1.0. Bad things might happen unless you revert torch to 1.x.
Lightning automatically upgraded your loaded checkpoint from v1.2.7 to v2.1.0. To apply the upgrade to your files permanently, run python -m pytorch_lightning.utilities.upgrade_checkpoint .cache/torch/pyannote/models--pyannote--embedding/snapshots/c6335d8f1cd77b30084387468a6cf26fea90009b/pytorch_model.bin
Model was trained with pyannote.audio 0.0.1, yours is 3.0.0. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.8.1+cu102, yours is 2.1.0. Bad things might happen unless you revert torch to 1.x.
Streaming input_device:None ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━   Segmentation fault
Kind regards
Simon

@swm35 the warnings are not the cause of the issue. I also get them without a segmentation fault.
Since you get the progress bar, StreamingInference is at least getting to this line. Are you running with do_plot=True?
Can you debug this method line by line until it gives you the segmentation fault? I'm guessing that should point you to the culprit line.

Thank you @juanmc2005.  I did the line-by-line debugging which showed the crash happened while executing this line:
segmentations = self.segmentation(batch) # shape (batch, frames, speakers)
This is an instance of the SpeakerSegmentation class imported from diarization.py.  Debugging that shows the crash at:
output = self.model(wave.to(self.device)).cpu()
Does this suggest the crash happened when the model was put onto the CPU?  If so, it seems like a lack of memory on the RPi5.
Kind regards
Simon

@swm35 thank you for that valuable info. I suggest you separate that line into:
wave = wave.to(self.device)
output = self.model(wave)
output = output.cpu()
return output

Then debug line by line again to see where it crashes. Most probably it will crash when calling the model. If that's the case, try opening the python interpreter and infer a random chunk:
>>> import torch
>>> from pyannote.audio import Model
# I'm guessing this is the model you're using, please double check
>>> model = Model.from_pretrained("pyannote/segmentation")
>>> x = torch.randn(1, 1, 80000)
>>> seg = model(x)

If this fails then your problem would be coming from pyannote.audio.

Thank you @juanmc2005.  You are right on both counts - expanding the code shows it crashes at the "output = self.model(wave)" line and the subsequent test on a random chunk crashes at the "seg = model(x)" line.  I have also tried reducing the random chunk size from 5 s down to 0.1 s (80,000 to 1,600), but it still gives the segmentation fault.
Does this mean that the pre-trained pyannote/segmentation model is too large for the RPi5 memory?  Should I open this as an issue on the pyannote.audio GitHub site or do I need to look into knowledge distillation to create a smaller model?
Kind regards
Simon

@swm35 I suggest you open an issue on pyannote.audio. It could be a matter of model size but I wouldn't be so sure

Also seeing this segmentation fault on a Mac using the command line example in the docs:
It happens with the microphone and a wav file and with our without the cpu flag. Using the conda environment setup from the environment.yml
> KMP_DUPLICATE_LIB_OK='True' diart.stream --cpu test.wav
/Users/<user>/miniforge3/envs/diart/lib/python3.10/site-packages/pyannote/audio/core/io.py:43: UserWarning: torchaudio._backend.set_audio_backend has been deprecated. With dispatcher enabled, this function is no-op. You can remove the function call.
  torchaudio.set_audio_backend("soundfile")
Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.2.0.post0. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint ../../.cache/torch/pyannote/models--pyannote--segmentation/snapshots/2ffce0501d0aecad81b43a06d538186e292d0070/pytorch_model.bin`
Model was trained with pyannote.audio 0.0.1, yours is 3.1.1. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.10.0+cu102, yours is 2.2.1. Bad things might happen unless you revert torch to 1.x.
[1]    76616 segmentation fault  KMP_DUPLICATE_LIB_OK='True' diart.stream --cpu

What are some things I could do to help get to the bottom of this?

Hi @danielrhodes, as I posted previously, I suggest you debug line by line until you arrive to the line that's causing the crash. Once we know which line causes it we can think of what the problem and solution might be.


Updating a folder outside Files looses selection

What's the Problem?

Open the folder foo which contains several files/folders in Files
Select a few files
Switch to Windows File Explorer or the Terminal and create a new directory inside the foo folder

=> This will refresh the folder in Files and by doing so, the selection is lost.
Solution/Idea
Refreshing a directory outside of Files should keep selected files in Files.
Alternatives
n/a
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
Version <IP_ADDRESS>
Windows Version
version 10.0.19044.1503
Comments
No response

Note: if the selected file is renamed, the selection should be kept as well, ie:

I select the foo file
the file foo is renamed to bar

I am expecting that:

the directory is refreshed
bar (which was renamed from foo) becomes selected

Merging with #2856


Add support for Rust programming language

This tool would be extremely useful for Rust!

Duplicate of #129


--lifetime

Let's add a new command line argument for the update command: --lifetime=X (default: nil). When it's set, the command should stop execution if it runs for longer than X seconds. No more judges should be executed.

@yegor256  May I work on this issue?

@Luliko-hub sure, please


OIDC SecurityDefinition does not work well with OAuthUsePkce

I have my .NET 5 API app configured as follows:
In my ConfigureServices:
services.AddSwaggerGen(c => {
  c.SwaggerDoc("v1", new OpenApiInfo { Title = "MyApp", Version = "v1" });
  c.AddSecurityDefinition("OIDC", new OpenApiSecurityScheme
  {
    Type = SecurityScheme.OpenIdConnect,
    OpenIdConnectUrl = new Uri("<url-to-a-.well-known/openid-configuration>")
  });
});

In my Configure:
app.UseSwaggerUI(c =>
                {
                    c.SwaggerEndpoint("/swagger/v1/swagger.json", "MyApp v1");
                    c.OAuthUsePkce();
                });

If I then run my app, go to the swaggerui and try to authorize, I get AADSTS9002325: Proof Key for Code Exchange is required for cross-origin authorization code redemption.
When I use SecurityScheme.OAuth2, and I manually configure the definition, then I don't have this issue.
Since OIDC is just a usability layer on top of oauth2, I guess that OAuthUsePkce() should work with oidc out of the box as well.

Looks like this was already fixed in swagger-ui: https://github.com/swagger-api/swagger-ui/commit/5e69d3c4f2a3b95bbb3b15d3151fc7d630b1164c
Perhaps just updating to a newer swagger-ui will fix this?
I'm assuming no breaking changes here...

Perhaps just updating to a newer swagger-ui will fix this?

I think so too.
Update swagger-ui please.

Releaed with 6.1.2


fixing inheritance patching

Fixes #581
Basically it goes back to the "non-optimized" property definition that was at the beginning, since that one works well with inheritance, while the optimized version does not due to the reusage of variables for the instance, the prototype, the possible prototype of the prototype etc.
Either way I don't think it is a big deal since each class is patched only once, and only per class, not per instance.

ah, includes previous fix for recursive calls, that one was independent from inheritance

and includes unit test for inheritance, for cases where:
(given Base and C, where C extends Base)

none is observer
Base is observer
C is observer
C and base are observer

Actually even improved it so recursive calls are actually made rather than stopped altogether, but still ensures that mixins are only executed once after all the recursive calls are finished.

Btw, the define a property when a property is set in another "this" is basically how JS does things normally internally.
From https://developer.mozilla.org/en-US/docs/Web/JavaScript/Inheritance_and_the_prototype_chain
Setting a property to an object creates an own property. The only exception to the getting and setting behavior rules is when there is an inherited property with a getter or a setter.
Example:
function FC() { this.a = 10;};
FC.prototype.a = 5;
FC.prototype.b = 10;
const fc = new FC();
Object.getOwnPropertyDescriptor(fc, "a") // some descriptor
Object.getOwnPropertyDescriptor(fc, "b") // undefined
fc.b = 20
Object.getOwnPropertyDescriptor(fc, "b") // some descriptor

@xaviergonz looks solid, good tests, but also complicated. Do you feel comfortable about it or do you fear more potential edge cases? If so, I'm still not against classic monkey patching, despite breaking arrow function lifecycles.

pretty confident, had a few days to think about it :)

and well, it is 90 lines of code if you ignore the newSymbol and imports, so it is not like super complex


change to nd2 package for read in

Not much of a change, but eliminated nd2reader and added nd2 as the default file read in. Some changes to the preprocessing scripts. Also added functionality to specify the number of z dimensions to flatten on, this will make metadata generation easier.

One more note @mat10d
Try to make branch names clear as we will likely have lots of them in the future!
The name for this PR was great, maybe something like implement_nd2_loading for the branch name.

My bad, I thought I was going to make more changes but smaller branches is defo the move. Will make better names going forward.


merge latest version from react-vis into forked repo

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

added PR by accident, sorry!


Improves the ability create initial transactions and improve install validation success

This does two things:
Adds inputVars and checks to go along with them. Input now asks for comma-seperated URLs.  There is no error if they just hit enter and move on.  ensure_sites_started will now check if URLs have been provided and use those instead of the IIS bindings.  Setup so that any errors are ignored and there should be no output.
Adds a new task that asks the user to exercise their web apps.  This task occurs right before ensure_sites_started.  It displays a rather larger "marquee" in yellow text.  The script will not move forward until the user presses enter specifically.  The URLs will still be hit automatically in the ensure_sites_started task.
Please feel free to improve the text for the input prompt and marquee!

We could do both (hitting provide URLs and the IIS provided ones) pretty easily.
As for 2.2 (detect app started), this is not the problem.  The IIS provided URLs will start the app even if there is no page at the specific URL. The problem is we need transactions in order to validate the install.   For our simple test apps, they are created from the root just fine.  For many (I would say most) production apps you need to hit specific urls to start a transaction.

We could do both (hitting provide URLs and the IIS provided ones) pretty easily.
As for 2.2 (detect app started), this is not the problem. The IIS provided URLs will start the app even if there is no page at the specific URL. The problem is we need transactions in order to validate the install. For our simple test apps, they are created from the root just fine. For many (I would say most) production apps you need to hit specific urls to start a transaction.

👍


Flaw in drag&drop walkthrough for VB

[Enter feedback here]
---Walkthrough code example doesn't work as expected in the following section of the page

To process the dropped data

Open Circle.xaml.cs or Circle.xaml.vb.
Add the following [OnDrop](https://learn.microsoft.com/en-us/dotnet<<<

In particular, "If e.Data.GetDataPresent(DataFormats.StringFormat)" never returns true.
After changing this to "If e.Data.GetDataPresent(DataFormats.Text)" the Walkthrough works as expected, i.e. changes the colour of the Circle control to green.
/api/system.windows.uielement.ondrop) override to provide class handling for the Drop event.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 23f605d0-6326-17d5-3087-4f6ef96ab9bb
Version Independent ID: 10411c7d-3586-4904-6d4f-79e84f0c9b98
Content: Walkthrough: Enabling Drag and Drop on a User Control - WPF .NET Framework
Content Source: dotnet-desktop-guide/framework/wpf/advanced/walkthrough-enabling-drag-and-drop-on-a-user-control.md
Product: dotnet-framework
Technology: dotnet-wpf
GitHub Login: @adegeo
Microsoft Alias: adegeo

Hello. Are you using .NET Framework or .NET 6/7?


Please invite me to the GitHub Community Organization

Please invite me to the GitHub Community Organisation.

Name: Vrukshali

Discord Username(if exists):

Additional Context:

I have seen lots of YouTube videos of Eddie. He always encourages people to join the open source community.
I met Eddie at Local Hack Day: Build and I was also a part of eddiehub guild which was really a great fun !!  I like helping nature of the community : )
I am here to learn lots of new stuffs and get connected to lots of new people !!
:nerd_face:

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps


refactor sdlf-ddk-lightweight

Description of changes:

refactor sdlf-ddk-lightweight example to better support custom pipelines (individual changes summarized below)
renamed various files to make purpose more clear, e.g. sdlf_pipeline_stack -> sdlf_base_stack, sdlf_dataset_stack -> standard_dataset_stack
re-organized files to make clear association with each pipeline.

moved code defining "standard pipeline" out of sdlf_pipeline_stack into a subfolder pipelines/standard_pipeline/standard_pipeline.py also moved sdlf_dataset_stack.py into this folder and renamed as mentioned above.
moved sdlf_heavy_transform.py and sdlf_light_transform.py to pipelines/common_stages/...
moved foundations stack to foundations folder

refactored light and heavy transform stages for better code re-use
added more type hints and fixed linting errors on the files that I refactored (i.e. not everywhere)
Made standard pipeline no longer dependent on dataset (each pipeline should support more than 1 dataset). Included removing glue crawler from pipeline and replacing with code in each glue job to update catalog on write
Added CustomPipeline and CustomDataset as an example of how customers can add custom pipelines.
added SDLFPipeline protocol (interface)
updated README and architecture diagrams to reflect the changes
moved routing function within pipeline definition (because it is specific to the standard pipeline) and updated S3 object created EventBridge rules to only pick up events for the specific datasets registered to that pipeline.
explicitly specified stack names so that they are easier to understand from the CloudFormation UI
changed parameters.json to have a config element for pipeline specific configuration to support custom pipelines.

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

I have tested the most recent version end-to-end and everything works.


Cast to ObjectId failed for value _id

Steps to reproduce
I tested now a lot of boilerplates including featherjs-mongoose. But with all examples I get the same error everytime I want to call a record by its _id:
Also with the example in this repository in folder example with the message service. As soon as I call
GET http://localhost:3030/messages/586cef705308f8134b12b7ef
I get this error: "Cast to ObjectId failed for value _id"
Tried also to cast it in the hook, but the error comes before the hook is processed.
node 5.6.0
"apollo-server": "^0.2.4",
"body-parser": "^1.15.0",
"compression": "^1.6.1",
"cors": "^2.7.1",
"feathers": "^2.0.1",
"feathers-authentication": "^0.7.9",
"feathers-configuration": "^0.2.3",
"feathers-errors": "^2.1.0",
"feathers-hooks": "^1.5.2",
"feathers-memory": "^0.6.3",
"feathers-mongoose": "^3.4.1",
"feathers-rest": "^1.3.0",
"feathers-socketio": "^1.4.0",
"graphql": "^0.6.1",
"graphql-tools": "^0.6.4",
"mongoose": "^4.5.3",
"passport": "^0.3.2",
"request": "^2.74.0",
"request-promise": "^4.1.1",
"serve-favicon": "^2.3.0",
"winston": "^2.2.0"

@tobkle can you post some code or a link to a repo?

That would definitely be helpful. It's probably something with the setup (or your MongoDB version), I  ran the example and it looks like it is working.

It was the code of this repository, I've just started the example of this repo. So no other code involved.
But after some hours I switched my node version with nvm to node 6.9.0, did a fresh git clone of the repo, restarted iterm2, chrome and notebook and suddenly it worked. So it must have been the node version.
So I suppose I close it, as it is working now. Sorry to bother you.

Glad you got it worked out.


Added code and readme for first and last position of element in sorted array

Find First and Last Position of Element in Sorted Array
Question number - 34
Issue no.(must) - #21
Closes #21
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me.
[x] One Change in one Pull Request
[x] My file is in proper folder (Name of folder should be Question number) (E.g. 120)
[x] I am following clean code and Documentation and my code is well linted with flake8.
[x] I have added README.md (With question description)
[x] I have added sufficient comments in my code

If issue was not assigned to you Please don't make a PR. It will marked as invalid.

Hey @pawangeek . This PR resolves #21 . Thanks!

Hey @pawangeek . Thanks!