Add config variable to toggle the addition of  -movflags +faststart

People may be displaying the output files on a web site with progressive downloading, thus they would want the option -movflags +faststart. It will move a small amount of data to the beginning of the file so it can begin playing before the file is completely downloaded. Since not everyone uses plex to just transcode on demand.. it does add a little bit more time to the encode (has to make a quick pass to reallocate the data in the file)... so default to it being off would be ideal.
Per ffmpeg docs:
    Run a second pass moving the index (moov atom) to the beginning of the file. This operation can take a while, and will not work in various situations such as fragmented output, thus it is not enabled by default.

i know your already doing the qt-faststart on:
relocate_moov = True/False - relocates the MOOV atom to the beginning of the file for better streaming
but looks like you could just drop that and use the included method inside ffmpeg now.. which should help cleanup some code and the settings check all over..

I explored and actually briefly implemented this functionality a while ago but it created some problems. There were issues with tagging of large files that would break playback if the moov atom had been moved before tagging took place. This made it more ideal to convert, then tag, then move everything once the metadata was in place.


downloading a subscription feed

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question
my youtube subscription feed is quite long, most of the stuff is years if not decades old. Youtube-dl appears to try and parse quite a big chunk of it before starting to download what i asked
(usually i tell it to check the last week of videos that have not been downloaded, your faq is, thankfully, one of the best written about this)
Is the time it takes a limitation of my PC, or does youtube-dl try and download the entire list of videos before realizing it has to download something like the 10 videos or so that have not been downloaded since last i ran it (usually something like "yesterday")?
this is just a curiosity, honestly.

what info do you need to make this complete?
Downloader.zip
does this configuration help?


sweep job type is already been supported.

@rollingage : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@rollingage : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Switch GitHub runner from macOS-latest to macOS-14

macOS-14 uses Apple Silicon (M1) instead of Intel x86.

I noticed recently that GitHub has started providing M1 Mac runners:
https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/
They won't transition to being default for a few months. I was curious if the tests would run okay. We could just wait for the default to change rather than merging this.

Okay, hmm, interesting. The Apple Silicon image only provides Python 3.10+, it seems. I wonder if 3.8 and 3.9 could get builds before it becomes the default image? If we can't find a definite answer, we might wait and see. If they won't, then we can act now or wait but we have to do something when the default changes. One option is pinning to the older image. Another option is installing Python a different way for 3.8 (conda-forge has osx-arm64 builds for Python 3.8 for example). A motivation for not pinning to the old image is that M1 runners might be faster. For example, the 3.12 run here took about 5 minutes, similar to the Linux runs. In the Actions history, the Mac runs seem to take 7-12 minutes. Keep in mind this is one M1 sample and just a handful of older samples I checked, so it might not be representative, but it has seemed like the Mac run times have varied wildly in the past while the Linux ones have been more consistent.

From https://github.com/actions/setup-python/issues/808, it looks like support 3.8 and 3.9 is planned.

@coruscating An macOS Arm64 build for Python 3.8 was added to GitHub, so this should be good to go now. I don't know if the CI job (macos-13 vs macos-latest) confusion is a problem for merging?

@wshanks Oops, spoke too soon. cron-staging.yml should go back to latest as well.


java.lang.AbstractMethodError: com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.needsCredentials()Z

I am facing similar issue .
Error details .
java.lang.AbstractMethodError: com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.needsCredentials()Z
at com.google.api.gax.rpc.ClientContext.create(ClientContext.java:152)
at com.google.cloud.pubsub.v1.stub.GrpcPublisherStub.create(GrpcPublisherStub.java:164)
at com.google.cloud.pubsub.v1.Publisher.<init>(Publisher.java:187)
at com.google.cloud.pubsub.v1.Publisher.<init>(Publisher.java:88)
at com.google.cloud.pubsub.v1.Publisher$Builder.build(Publisher.java:798)

pom.xml
<properties>
	<beam.version>2.19.0</beam.version>
	<slf4j.version>1.7.25</slf4j.version>
	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	<project.build.outputEncoding>UTF-8</project.build.outputEncoding>
</properties>

<dependencies>
	<dependency>
		<groupId>org.apache.beam</groupId>
		<artifactId>beam-sdks-java-core</artifactId>
		<version>${beam.version}</version>
	</dependency>
	<dependency>
		<groupId>org.apache.beam</groupId>
		<artifactId>beam-runners-google-cloud-dataflow-java</artifactId>
		<version>${beam.version}</version>
	</dependency>
	<dependency>
		<groupId>org.apache.beam</groupId>
		<artifactId>beam-sdks-java-io-google-cloud-platform</artifactId>
		<version>${beam.version}</version>
	</dependency>
	<dependency>
		<groupId>org.slf4j</groupId>
		<artifactId>slf4j-api</artifactId>
		<version>${slf4j.version}</version>
	</dependency>

    <dependency>
        <groupId>com.google.cloud</groupId>
        <artifactId>google-cloud-pubsub</artifactId>
        <version>1.105.0</version>
    </dependency>
</dependencies>

Originally posted by @radhikakale in https://github.com/googleapis/gax-java/issues/825#issuecomment-622145565

I think this is due to a version conflict between beam and pubsub. You are using a version of pubsub that requires a newer version of gax. However you list your beam dependencies first, which pulls in an older version of gax. Due to maven's closest dependency resolution algorithm, you end up with an old version of gax.
You should be able to fix the issue by manually resolving the version conflict:
<dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.google.api</groupId>
        <artifactId>gax-bom</artifactId>
        <version>1.56.0</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
</dependencyManagement>

@radhikakale , I'm closing this bug since Igor mentioned the fix by manually resolving the version conflict. Please re-open if you still have issues. Thanks!


feat: now we can generate mean stack app by running index file

Still need to fix some of the issues ,like user input for name of app and some others

#1 seems to be solved in this version


I want the calendar container show only in the bottom?

I am facing a issue here react-select, container goes behind my date-picker. if i customize the z-index then date-picker calender container goes behind react-select. As for now I need a way that I can only show the date picker in the bottom. is there any way to do that?
Problem:

set props :
calendarPopperPosition: 'bottom',


bugfix: 修复兼容之前的会签节点

Codecov Report

Merging #478 (31124cb) into v2.6.x_develop (236d4e8) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           v2.6.x_develop     #478   +/-   ##
===============================================
  Coverage           62.70%   62.71%
===============================================
  Files                 441      441
  Lines               27219    27220    +1
===============================================
+ Hits                17069    17070    +1
  Misses              10150    10150

Impacted Files
Coverage Δ

...peline_plugins/components/collections/itsm_sign.py
32.98% <0.00%> (-0.35%)
:arrow_down:

itsm/workflow/validators.py
42.39% <0.00%> (+0.21%)
:arrow_up:

Continue to review full report at Codecov.

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


An alternative for empty row

In purescript I can write smth like
type RowApply (f :: # Type -> # Type) (a :: # Type) = f a

infixr 0 type RowApply as +

type X r = (a :: Integer | r)
type Y r = (b :: String | r)

-- type Z = X + Y + ()

But in hamler () is Unit type. What is an alternative for empty row in hamler?
And also how about smth like https://pursuit.purescript.org/builtins/docs/Prim in hamler?
I mean classes for Row, RowLists, etc

Any updates?

I will try it again, any updates?)

I will try it again, any updates?)

I would close this Issue as non-essential :-)


Update morghttpclient

commit=e1e65ba9077af07cce9af20d574f838772388e71

fixed the plugin to work with the latest runelite version at this moment in time.
added a cached threadpool so you won't run into socket errors if you call the endpoint too often.
added a configurable port in case 8081 is already occupied.
added an idle bool to the events endpoint.
added special attack energy to the events endpoint.
updated the build file to use runelite.latest rather than a set version.
removed skill.overall from everything as it's deprecated.

Not that it matters but this is setting a version older than what exists as the current version descriptor.


Use -Wthread-safety and thread safety annotations where available.

If the compiler supports them (like Clang does), we should use the thread safe analysis annotations:
https://clang.llvm.org/docs/ThreadSafetyAnalysis.html

Now that Abseil is a dependency this might be easier.

Let's close this and open specific issues for any code where it would be helpful.


Fix Build-Roslyn solution item and add solution item for bat file

Thanks! I'll take a look/merge later today.


Model constructor (new) - parameter should be optional.

Model constructor takes an optional document so...
This (line<PHONE_NUMBER>d2f34daffaf37ff4ecac032666aeb566e)
    export interface Model<T extends Document> extends NodeJS.EventEmitter {
         new(doc: Object): T;

Should read
    export interface Model<T extends Document> extends NodeJS.EventEmitter {
         new(doc?: Object): T;

@garyham Sure.
Please send pull request, so I'll review it.

Done...PR #4790
On Wed, Jul 1, 2015 at 4:21 AM, Horiuchi_H<EMAIL_ADDRESS>wrote:

@garyham https://github.com/garyham Sure.
Please send pull request, so I'll review it.
—
Reply to this email directly or view it on GitHub
https://github.com/borisyankov/DefinitelyTyped/issues/4765#issuecomment-117424106
.

@garyham Thank you for your contribution!


RDK-28534: Upstream security agent patch

can't bring to sprint/23Q1, pending https://github.com/rdkcentral/rdkservices/pull/3452


Webproxy - Enforce Group

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
Is your feature request related to a problem? Please describe.
In Webproxy - Authentication Settings, there is a setting called "Enforce local group"
(Restrict access to users in the selected (local)group.
NOTE: please be aware that users (or vouchers) which aren't administered locally will be denied when using this option.) I have an LDAP-Authentication Backend with Single Sign on enabled and want to require a specific domain group for Internet Access.
Describe the solution you'd like
Enhance this functionality to enforce a specific domain group.

You can either choose to sync groups via ldap ("Synchronize groups") or use extended queries to limit the allowed users.

Yes, you're right! Sorry.


guest: make relax architecture version for memcpy and memset

Projects such as llvm require code to conform to rv32i2p1_m2p0 and no longer support rv32i2p0_m2p0. This breaks compilation when these files are linked by llvm giving errors like so:
error: invalid arch name 'rv32i2p0_m2p0', unsupported version number 2.0 for extension 'i'
        .attribute      5, "rv32i2p0_m2p0"
                           ^

This change relaxes the architecture versioning by dropping the version numbers for each feature and using rv32im instead. By doing so, we will be able to use newer versions of rust and llvm to generate the guest code.

Note: I tried removing the .attribute all together but I ended up running into an error like this:
risc0-zkvm-methods-std: error: instruction requires the following: 'M' (Integer Multiplication and Division) or 'Zmmul' (Integer Multiplication)
risc0-zkvm-methods-std:         mul     a1, a1, a4
risc0-zkvm-methods-std:         ^

I found that removing the version numbers worked. I'm open to other suggestions too!


Add Chapter 2: Exploring Rust Basics

Description
This pull request adds Chapter 2 to the book-compendium section of the repository. It includes the following examples:

variables.rs: Demonstrates variable immutability and mutability in Rust.
control_flow.rs: Explains basic control flow constructs like if-else and loops.
ownership.rs: Introduces Rust's ownership model and function interactions.

Summary by CodeRabbit

New Features

Introduced a new README file for Chapter 2: "Exploring Rust Basics," outlining key Rust concepts with examples.
Added new sections demonstrating variables, control flow, and ownership in Rust.
Implemented examples for basic control flow, ownership, and variable mutability in separate Rust files.

Bug Fixes

Corrected the filename from varible.rs to variable.rs for consistency.

Fixed the typo


App Insights WebTestDefinition Missing Request and ValidationRules Structs

Starting in REST API version 2018-05-01-preview, there was the addition of a Standard kind which required Request and ValidationRules structs and an optional Configuration field. This was also included in the 2020-10-05-preview version. Unfortunately the REST documentation itself is missing this information, but it is available in the ARM/Bicep docs. Can this be added into the Go SDK to match?
https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2018-05-01-preview/webtests?tabs=bicep
https://docs.microsoft.com/en-us/azure/templates/microsoft.insights/2020-10-05-preview/webtests?tabs=bicep
https://github.com/Azure/azure-sdk-for-go/blob/37b3dad150daade2fffb91063403989ddfded6d9/services/preview/appinsights/mgmt/2022-02-01-preview/insights/models.go#L2334-L2357

@nerddtvg Thank you for the feedback. Please note, the package github.com/Azure/azure-sdk-for-go/services/preview/appinsights/mgmt/2022-02-01-preview/insights has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/applicationinsights/armapplicationinsights. See Migration Guide for guidance on upgrading. Could you please upgrade to the new version first and feel free to feedback if any further problem?


JDBC driver is missing

JDBC driver is not avaliables in

System information:

windows 10
DBeaver version 6.2.3

Connection specification:

Database name -  db2
Driver name

I have deployed my db2 server in aws using db2 aws marketplace ami and able to login to db2 and tested with sample database.

then i want to test connection from dbeaver gui tool getting jdbc missing error

if you have any documentation for get JDBC from IBM and connect db2 from dbeaver.
I am stuck to find JDBC driver in IBM web

probably you could find something helpful there


Fix toggl button inside the new Jira modal

So, this should handle the new Jira design.

this should close #905

works 👍
hopefully this solution will keep this working for a longer while now


Remove support for hosted wallet

Likely closed by https://github.com/vegaprotocol/frontend-monorepo/issues/4370
The Chore
The hosted wallet connection option is no longer required so it can be removed
Tasks

[ ] ACs reviewed/updated
[ ] Dev
[ ] Test

Additional details / background info
https://vegaprotocol.slack.com/archives/C8WS7M50E/p1690892871839569

done in https://github.com/vegaprotocol/frontend-monorepo/pull/4492


elchecking: fix standalone program

parse_binary_bootlog(..) now returns also a Failure object.

Codecov Report

Merging #1124 (3604554) into master (1951b34) will increase coverage by 0.01%.
The diff coverage is 0.00%.

Additional details and impacted files

Flag
Coverage Δ

packit-e2e
72.44% <0.00%> (+0.01%)
:arrow_up:

testsuite
54.26% <0.00%> (ø)

unittests
14.65% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

keylime/elchecking/__main__.py
0.00% <0.00%> (ø)

keylime/revocation_notifier.py
60.37% <0.00%> (-1.26%)
:arrow_down:

keylime/registrar_common.py
59.38% <0.00%> (+0.92%)
:arrow_up:


Question: database.js vs database.json

I'm submitting a...

[ ] Bug report
[ ] Feature request
[x] Question

I'm using confidence, which is a loader for environments.  The configuration is thus not compatible with having a database.json file.
Has it been considered to also check the paths for a database.js file ? If a js file was to be accepted then it's easy enough to do things to programmatically export what db-migrate expects.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Just stumbled upon this as I wanted to cast string 'true' to boolean true so needed a JS file.
Not sure if you are aware, but you can specify custom config file db-migrate --config 'server/database.js'. As long as you module.exports JSON content you should be fine.

thank you!

it would still be nice if it accepted database.js without having to specify --config so I'll leave it open

I retagged this as feature request as of for now, since there are open questions to this. It is most likely this will not be implemented since this will have crucially dangerous side effects. Changing the behavior in this case, will import a database.js file, which might actually exist in the projects of db-migrates user. Therefor this could and will have unknown side effects, I will keep this open for a while and review it again, to decide what to do with this. Clear is only one thing: This will not be a feature by default. Options are however: A plugin to add support for that or configuring it via the rc config.

Also to add, in your use case you might rather want to use the programable interface instead.

since it's already available via --config it would be nice to have an option to not have to specify it each time

@danielb2 Not happening, since this would be an alteration that would end up in an expected behavior for users using db-migrate for a while.  Since db-migrate is being used in a lot of big production projects already, I will never allow any modification to core behavior. However this could be accomplished by plugins or a rc config.

It actually works in the rc like I'd hoped. I played with it a bit more this morning. I've been on the road and it's for a side project. Since it does what I need, I will close this. Thanks so much for taking the time to respond.


add hash param to generate hash string after imgPath

see docs/examples/hash/sprite.scss. with hash string we can avoid browser cache.

This has been discussed in the following pre-existing issues.
#26, Ensighten/spritesmith#37, Ensighten/grunt-spritesmith#71, Ensighten/grunt-spritesmith#71, Ensighten/grunt-spritesmith#75
We would prefer to go with a reusable solution that isn't specific to spritesmith so each module can focus on one thing well. Please see the notes in:
https://github.com/twolfson/gulp.spritesmith/issues/26#issuecomment-71877506


Authentication issue on web

Cannot authenticate user through web. How we can do this kindly update

Hi,
Please have a look here regarding web platform https://github.com/ERP-Ukraine/odoo-rpc-dart#web-platform-notice


Enabled searching evidence by pmc_id

@acoffman I know you mentioned scrapers in genome/civic-client#660, so I don't know if you think there's more functionality that needs to be added with regards to pmcid's.  This was just the base change to have the server respond to the pmcid searches

Coverage remained the same at 72.097% when pulling 2dd228b67579aa48f65f03bcb849043fd7d7ce4b on agraubert:search_pmc into 11bdb06436b95bbc0cf65143afe4a4b950d791fe on genome:master.

Looks good to me! @kkrysiak was right, we're already scraping PMCID as a proxy for "open access."

If you could include an "is empty" and possibly "has/is not empty" as search options, that would be useful.

Okay, I'm adding the server change for that in #291 and the front end change to the existing PR genome/civic-client#677


[BUG] Not receiving Snapshots, latest, or even MQTT jpg to DT

Describe the bug
Receiving errors after install
Version of Double Take
v<IP_ADDRESS>
Expected behavior
Expected to receive snapshots from mqtt: Snapshot and latest
"""
23-09-30 21:03:41 error: AxiosError: stream error: timeout of 5000ms exceeded
at RedirectableRequest.handleRequestTimeout (/double-take/api/node_modules/axios/dist/node/axios.cjs:3053:16)
at RedirectableRequest.emit (node:events:513:28)
at Timeout. (/double-take/api/node_modules/follow-redirects/index.js:179:12)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
23-09-30 21:04:19 error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at new NodeError (node:internal/errors:387:5)
at ServerResponse.setHeader (node:_http_outgoing:644:11)
at ServerResponse.header (/double-take/api/node_modules/express/lib/response.js:794:10)
at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:174:12)
at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
at ServerResponse.json (/double-take/api/node_modules/express/lib/response.js:278:15)
at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:162:21)
at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
at /double-take/api/src/app.js:46:38
at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)
"""
Hardware

Architecture or platform: [Proxmox/lxc]
OS: [Debian 11]
Browser (if applicable) [Chrome]
Docker image (if applicable) [skrashevich/double-take:latest]

Additional context
Add any other context about the problem here.

try to use skrashevich/double-take:1.13 image instead if latest: the latest can be unstable
also, you can increate detector timeout in config; for example:
detectors:
  aiserver:
    timeout: 15

try to use skrashevich/double-take:1.13 image instead of :latest. the latest can be unstable also, you can increase detector timeout in config; for example:
detectors:
  aiserver:
    timeout: 15

Thanks!! Ill switch over. Ill share my detector config just in case I may be missing something
aiserver:
url: http://<IP_ADDRESS>:32168
timeout: 15
opencv_face_required: true
recognize:
min_face_size: 20000 # minimum face size to be recognized (pixels)
recognition_threshold: 0.80 # threshold for face recognition confidence
det_prob_threshold: 0.8
face_template_scale: 0.6 # scale factor for the face template (values between 0.25 and 1.0)
reidentification_interval: 0 # time (in seconds) to wait before re-identifying a person
templates_cache_size: 2000 # maximum number of face templates to keep in cache

opencv_face_required: true does not have sense, as ai.server performs face detection step almost identically. it's better to turn it off to save resources

So I switched over to the image you recommended and now I get the following. And I'll turn off that setting
'''
23-09-30 23:51:43 error: AxiosError: stream error: timeout of 5000ms exceeded
at RedirectableRequest.handleRequestTimeout (/double-take/api/node_modules/axios/dist/node/axios.cjs:3053:16)
at RedirectableRequest.emit (node:events:513:28)
at Timeout. (/double-take/api/node_modules/follow-redirects/index.js:169:12)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
23-09-30 23:51:53 error: AxiosError: stream error: timeout of 5000ms exceeded
at RedirectableRequest.handleRequestTimeout (/double-take/api/node_modules/axios/dist/node/axios.cjs:3053:16)
at RedirectableRequest.emit (node:events:513:28)
at Timeout. (/double-take/api/node_modules/follow-redirects/index.js:169:12)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
23-09-30 23:52:02 error: AxiosError: url validation error: timeout of 5000ms exceeded
at RedirectableRequest.handleRequestTimeout (/double-take/api/node_modules/axios/dist/node/axios.cjs:3053:16)
at RedirectableRequest.emit (node:events:513:28)
at Timeout. (/double-take/api/node_modules/follow-redirects/index.js:169:12)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)
'''

also, you can increase detector timeout in config; for example:

'''
detectors:
aiserver:
timeout: 15
'''

also, you can increase detector timeout in config; for example:

detectors: aiserver: timeout: 15

I did increase it to 15, should I go higher?

How long does it take for the same image to be recognized through the built-in ai.server web-ui?
And what is your system architecture: x86_64 or arm64?

How long does it take for the same image to be recognized through the built-in ai.server web-ui? And what is your system architecture: x86_64 or arm64?

X86_64 and it takes several minutes for them to show up

Where did you get these settings from:
face_template_scale: 0.6 # scale factor for the face template (values between 0.25 and 1.0)
reidentification_interval: 0 # time (in seconds) to wait before re-identifying a person
templates_cache_size: 2000 # maximum number of face templates to keep in cache

this settings never had beed supported by double-take.

Reddit, I had these for awhile. Apparently not correct. I've already
removed them and updated to the settings you have for aiserver. Of course
working better than it has in a long time
On Mon, Oct 2, 2023, 9:10 PM Sergey Krashevich @.***>
wrote:

Where did you get these settings from:
face_template_scale: 0.6 # scale factor for the face template (values between 0.25 and 1.0)
reidentification_interval: 0 # time (in seconds) to wait before re-identifying a person
templates_cache_size: 2000 # maximum number of face templates to keep in cache
this settings never had beed supported by double-take.
—
Reply to this email directly, view it on GitHub
https://github.com/skrashevich/double-take/issues/129#issuecomment-1744053702,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY7PVMQNZU6DDSCT5O5GC3X5NXY3AVCNFSM6AAAAAA5NZTIA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBUGA2TGNZQGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Update: Sorry, ended up having to go outside anyway. So this is my current log, but no photos either match or unknown yet.
23-10-03 05:11:45 info: Double Take v<IP_ADDRESS>
23-10-03 05:12:35 info: MQTT: connected
23-10-03 05:12:35 info: MQTT: subscribed to frigate/events, frigate/+/person/snapshot
23-10-03 05:27:37 info: processing front_door:<PHONE_NUMBER>.962093-kdf693
23-10-03 05:27:37 info: processing front_door: 9fb45cfd-1f3a-4767-b177-2c5acc9a1062
23-10-03 05:27:37 info: ai.server found no face in image
23-10-03 05:27:37 info: done processing front_door: 9fb45cfd-1f3a-4767-b177-2c5acc9a1062 in 0.25 sec
23-10-03 05:27:37 info: {
  id: '9fb45cfd-1f3a-4767-b177-2c5acc9a1062',
  duration: 0.25,
  timestamp: '2023-10-03T00:27:37.509-05:00',
  attempts: 1,
  camera: 'front_door',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
23-10-03 05:27:37 info: ai.server found no face in image
23-10-03 05:27:37 info: ai.server found no face in image
23-10-03 05:27:37 info: ai.server found no face in image
23-10-03 05:27:38 info: ai.server found no face in image
23-10-03 05:27:38 info: ai.server found no face in image
23-10-03 05:27:38 info: ai.server found no face in image
23-10-03 05:27:38 info: ai.server found no face in image
23-10-03 05:27:38 info: ai.server found no face in image
23-10-03 05:27:39 info: ai.server found no face in image
23-10-03 05:27:39 info: ai.server found no face in image
23-10-03 05:27:39 info: ai.server found no face in image
23-10-03 05:28:00 info: done processing front_door:<PHONE_NUMBER>.962093-kdf693 in 23.28 sec
23-10-03 05:28:00 info: {
  id: '1696310855.962093-kdf693',
  duration: 23.28,
  timestamp: '2023-10-03T00:28:00.535-05:00',
  attempts: 11,
  camera: 'front_door',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
23-10-03 05:28:28 info: processing front_door:<PHONE_NUMBER>.034767-ydzngn
23-10-03 05:28:28 info: ai.server found no face in image
23-10-03 05:28:28 info: ai.server found no face in image
23-10-03 05:28:28 info: ai.server found no face in image
23-10-03 05:28:29 info: ai.server found no face in image
23-10-03 05:28:29 info: ai.server found no face in image
23-10-03 05:28:29 info: ai.server found no face in image
23-10-03 05:28:29 info: ai.server found no face in image
23-10-03 05:28:29 info: ai.server found no face in image
23-10-03 05:28:30 info: ai.server found no face in image
23-10-03 05:28:30 info: ai.server found no face in image
23-10-03 05:28:30 info: ai.server found no face in image
23-10-03 05:28:31 info: processing front_door: b3ceeaf5-3b7f-4196-85ca-d6e5049192d7
23-10-03 05:28:31 info: ai.server found no face in image
23-10-03 05:28:31 info: done processing front_door: b3ceeaf5-3b7f-4196-85ca-d6e5049192d7 in 0.14 sec
23-10-03 05:28:31 info: {
  id: 'b3ceeaf5-3b7f-4196-85ca-d6e5049192d7',
  duration: 0.14,
  timestamp: '2023-10-03T00:28:31.501-05:00',
  attempts: 1,
  camera: 'front_door',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
23-10-03 05:28:32 info: ai.server found no face in image
23-10-03 05:28:33 info: processing front_door:<PHONE_NUMBER>.034767-ydzngn
23-10-03 05:28:33 info: ai.server found no face in image
23-10-03 05:28:33 info: ai.server found no face in image
23-10-03 05:28:34 info: ai.server found no face in image
23-10-03 05:28:34 info: ai.server found no face in image
23-10-03 05:28:34 info: ai.server found no face in image
23-10-03 05:28:34 info: ai.server found no face in image
23-10-03 05:28:34 info: ai.server found no face in image
23-10-03 05:28:34 info: ai.server found no face in image
23-10-03 05:28:35 info: ai.server found no face in image
23-10-03 05:28:35 info: ai.server found no face in image
23-10-03 05:28:35 info: ai.server found no face in image
23-10-03 05:28:35 info: ai.server found no face in image
23-10-03 05:28:35 info: ai.server found no face in image
23-10-03 05:28:42 info: processing front_door: 78907b78-fde8-43d0-9457-3f42c1539fdc
23-10-03 05:28:42 info: ai.server found no face in image
23-10-03 05:28:42 info: done processing front_door: 78907b78-fde8-43d0-9457-3f42c1539fdc in 0.15 sec
23-10-03 05:28:42 info: {
  id: '78907b78-fde8-43d0-9457-3f42c1539fdc',
  duration: 0.15,
  timestamp: '2023-10-03T00:28:42.665-05:00',
  attempts: 1,
  camera: 'front_door',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
23-10-03 05:28:47 info: done processing front_door:<PHONE_NUMBER>.034767-ydzngn in 4.57 sec
23-10-03 05:28:47 info: {
  id: '1696310908.034767-ydzngn',
  duration: 4.57,
  timestamp: '2023-10-03T00:28:47.091-05:00',
  attempts: 17,
  camera: 'front_door',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
23-10-03 05:28:55 info: done processing front_door:<PHONE_NUMBER>.034767-ydzngn in 13.4 sec
23-10-03 05:28:55 info: {
  id: '1696310908.034767-ydzngn',
  duration: 13.4,
  timestamp: '2023-10-03T00:28:55.919-05:00',
  attempts: 13,
  camera: 'front_door',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}

Sorry for the long way, just got out of the hospital. I changed and updated config for correct ai.server setting for DT.
   aiserver:
     url: http://XXXX:32168
     timeout: 30
     opencv_face_required: false

I'm receiving snapshots, mqtt, and latest jpg, but also getting the following error (Also keep in mine I have removed all trained jpg. I've decided to start fresh.)
23-10-12 01:29:02 info: done processing storage_room:<PHONE_NUMBER>.897546-vi2qvd in 20.26 sec
23-10-12 01:29:02 info: {
  id: '1697074121.897546-vi2qvd',
  duration: 20.26,
  timestamp: '2023-10-11T20:29:02.628-05:00',
  attempts: 16,
  camera: 'storage_room',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
23-10-12 01:29:02 error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/double-take/api/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:174:12)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at ServerResponse.json (/double-take/api/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:162:21)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at /double-take/api/src/app.js:46:38
    at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)

Sorry for the long way, just got out of the hospital. I changed and updated config for correct ai.server setting for DT. Also I updated to the latest version of DT
   aiserver:
     url: http://XXXX:32168
     timeout: 30
     opencv_face_required: false

I'm receiving snapshots, mqtt, and latest jpg, but also getting the following error (Also keep in mine I have removed all trained jpg. I've decided to start fresh.)
23-10-12 01:29:02 info: done processing storage_room:<PHONE_NUMBER>.897546-vi2qvd in 20.26 sec
23-10-12 01:29:02 info: {
  id: '1697074121.897546-vi2qvd',
  duration: 20.26,
  timestamp: '2023-10-11T20:29:02.628-05:00',
  attempts: 16,
  camera: 'storage_room',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
23-10-12 01:29:02 error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/double-take/api/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:174:12)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at ServerResponse.json (/double-take/api/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:162:21)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at /double-take/api/src/app.js:46:38
    at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)

Had the same problem, downgraded to v1.13.10 and the problem was  gone..

Sorry for the long way, just got out of the hospital. I changed and updated config for correct ai.server setting for DT. Also I updated to the latest version of DT
   aiserver:
     url: http://XXXX:32168
     timeout: 30
     opencv_face_required: false

I'm receiving snapshots, mqtt, and latest jpg, but also getting the following error (Also keep in mine I have removed all trained jpg. I've decided to start fresh.)
23-10-12 01:29:02 info: done processing storage_room:<PHONE_NUMBER>.897546-vi2qvd in 20.26 sec
23-10-12 01:29:02 info: {
  id: '1697074121.897546-vi2qvd',
  duration: 20.26,
  timestamp: '2023-10-11T20:29:02.628-05:00',
  attempts: 16,
  camera: 'storage_room',
  zones: [],
  counts: { person: 0, match: 0, miss: 0, unknown: 0 },
  matches: [],
  misses: [],
  unknowns: []
}
23-10-12 01:29:02 error: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at new NodeError (node:internal/errors:387:5)
    at ServerResponse.setHeader (node:_http_outgoing:644:11)
    at ServerResponse.header (/double-take/api/node_modules/express/lib/response.js:794:10)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:174:12)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at ServerResponse.json (/double-take/api/node_modules/express/lib/response.js:278:15)
    at ServerResponse.send (/double-take/api/node_modules/express/lib/response.js:162:21)
    at ServerResponse.res.send (/double-take/api/src/middlewares/respond.js:41:18)
    at /double-take/api/src/app.js:46:38
    at newFn (/double-take/api/node_modules/express-async-errors/index.js:16:20)

Had the same problem, downgraded to v1.13.10 and the problem was gone..

Thanks, Ill try this.

Just wanted to report back that v1.13.10 is working great with all of the changes suggested by @skrashevich Continue the hard work guys.


Added Azure.Storage.DefenderCloud.MalwareScan

PR Summary
Part of #2206
Added Azure.Storage.DefenderCloud.MalwareScan rule.
PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[x] Change is not breaking
[x] This PR is ready to merge and is not Work in Progress
Rule changes

[x] Unit tests created/ updated
[x] Rule documentation created/ updated
[x] Link to a filed issue
[x] Change log has been updated with change under unreleased section

Other code changes

[ ] Unit tests created/ updated
[ ] Link to a filed issue
[ ] Change log has been updated with change under unreleased section

@BernieWhite Lemme know and as well:

Notes section about behaviour, does it look correct to you? I've done some testing and trying to interpret the documentation, but the documentation is a bit unclear about if it really creates it's own dedicated plan no matter what. Please check.
I see we also have to create a general seperate rule for just Defender on resource level in order for this and #2207 to make the best sense?

Hi @BernieWhite I have done some adjustments and I'd like you to check them. As the rule is working now, only storage accounts with sub-resource set to disabled fails and else passes, but I guess that is what you had in mind, and rather use the subscription rules as the mains, right?

Correct only storage accounts explicitly disabling the malware scan should fail.


Shoelace Support in the documentation

Is your feature request related to a problem? Please describe.
yes, Using external web-component library like Shoelace
& how to implement your own Lit.js components instead of making from vanilla js
Describe the solution you'd like
Adding docs support & examples for shoelace like u added for tailwind
Describe alternatives you've considered
none

@RayyanNafees, do you mean adding examples for use with the Brisa CLI? We can do it, sure. Of course, any PR to add examples will be very welcome, feel free to add examples.
About documentation, here is the documentation on how to add external WC:

https://brisa.build/building-your-application/components-details/external-libraries#web-components-dependencies

And this how to compile WC from Brisa WC to use it in other frameworks or vanillajs:

https://brisa.build/building-your-application/building/web-component-compiler

No Actually integrating shoelace is quite complex thing to be done in frameworks, their Astro Integration also doesn't even function well despite being part of the official docs
The only way to use it is by Astrolace integration that does pretty decent job for it to be used with Astro
I would appreciate if the dev team does a test if it can be supported and hydrated over SSR with an example

Ok, can be a great integration to have then. Thanks for the proposal

I see that adding them in the _integrations file already makes that you can consume them in any page, server component or web component and you get the type-safe of them.
There are things to fix:

There is a warning in the terminal that should not come up.
It does not support SSR. I don't know if you can integrate the SSR of your Web Components.
Make it easier to add the Web Components to the _integrations file. The good thing about this file is that you can add all of them without any problem, and then you only import the ones you use during the build of Brisa.

Example Code

Result

However, using Shoelance right now in Brisa is possible.


Improved industrialization support: persisting of model (configuration), reapeated model scoring, model monitoring

Add functionality to write away model metadata
It would be nice to have a function for writing away the date and time of each new modeling attempt, which variables were selected, which preprocessing was done and which was the resulting score.
Task Description
This could comprise:

store model metadata (scores, datetime, version etc) in a table
storage of files involved (model and preprocessor pickle, and potentially the data) on some filestorage or database blobs.

Provide the code for extracting this metadata, but allow a data scientist/engineer to write a plugin function to do the actual writing of the metadata to the database/filestore of choice.

Hi @sborms, @ZlaTanskY, @nicolasmorandi and @c-morey!
Before we can finish implementing this issue entirely and have a better support for industrializing Cobra models, I think we need to discuss a few things.
Proposed use cases (and processes) throughout industiralization & model usage phase that we could support better in Cobra:

persisting the trained model:

has been trained with the existing Cobra API
persisting the preprocessor pipeline configuration as JSON file (1)
persisting the model scores achieved (2)
persisting the data (the basetable, containing all splits for reproducibility) (3)

model monitoring

scoring the model every now and then, on new data (basetables) and reusing persisted Cobra models.
detecting data drift - let's not re-invent the wheel and integrate with a solution online - Nicolas and I thought of trying out NannyML.
persist the findings (model scores, data metrics) of the above model monitoring steps (2)
persist the data (basetables) used for the above model monitoring steps (3)
visualizing the model monitoring, most preferably in a dashboard (4)

retraining the model (proactive/reactive maintenance of the model): same steps as use case 1.
facilitate easy deployment & running: provide example python scripts for  production-grade runnable Cobra models post-notebooking-phase, provide example Docker images/docker-compose files, ...

Integrations necessary for the above:

persisting files - see (1) above: we support writing to the local file system at the moment, but should consider supporting uploading to a server location instead, or as a blob in a database, etc.
persisting model scores - see (2) above:
persisting data - see (3) above: support databases both locally (MySQL, PostgreSQL) or in the cloud (BigQuery etc.)
visualizing model monitoring findings - see (4) above: integrate with PowerBI or other dashboarding software.

Additional task: documenting the thoughts above - and any of your additions to it of course, the use cases and integrations of above that we support at the moment, and how to use them. While doing so, also fix the points listed in #133 (fix them here and close #133, or fix #133 separately and mention this issue as linked).
Am I missing interesting use cases or integrations above? Feel free to suggest.
Also: we cannot implement everything right now, and not even in the coming years, but must pick the most interesting things at each time, just adding the use cases and integrations just on-the-go as we are industrializing Cobra for clients with different demands and infrastructure.
I've also gathered the files from the Brico pull request and started structuring it a bit, so we can integrate their efforts into Cobra, see the commit so far - mentioned above on this issue page (only FYI). But I'd like to first discuss the above thoughts before proceeding on the gathered code, so we agree on what we want to do.

Nicolás is interested in the investigation of MLFlow, that investigation could fit in this issue. See details on MLFlow's github, all 4 of the MLFlow components (Tracking for storing model parameters, Projects for reproducible runs, Models for easy deployment and Model registry to track model evolution throughout the model's lifecycle) are very interesting to build integrators for within Cobra. Up to you to decide @nicolasmorandi @pietrodantuono.


Removes no-else-raise Pylint exception

Closes: Ongoing Pylint
What's Changed

Removes pylint exception for no-else-raise.
TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

I'm of the opinion that this is one of those linters that's technically correct at the expense of readability with no clear benefit.

Please let me know if I'm missing some context for this change. I don't want to block this over readability issues if you need it merged.

I'm inclined to agree - I appreciate the effort and we absolutely should look at reducing the set of disabled rules to only those that we actually want to disable/ignore, but this particular one doesn't feel like a useful rule to enable to me.


Added XML comments to most types/fields/methods in the TrueCraft.API namespace

Tell me if you want any naming, conventions, etc changed.

Looks good, will merge after we figure out the removed comment thing.

Okay, I've pushed the commit.

Thanks!


Do not add NULLS FIRST/LAST for NOT NULL columns (pg)

It looks like postgresql optimizer is not able to deal with situation when a
column is NOT NULL but NULLS FIRST/LAST is provided. In that case, index is not
used at all which is not efficient.
If you like my patch, I can try to add tests, but I struggle with running them
locally. Hopefully travis will help me out.

Feels like a bug in the PostgreSQL query planner, so I suppose we'll have to work around it.
The approach looks good to me, but apparently the tests are failing with the field '' in the order statement is not valid field for search. That probably means you are returning an empty string instead of a nil value somewhere.

Yeah thanks for info. Since I am unable to setup my dev environment and debug this, I am doing trial and error via travis. Do you want me to write a test? Not quite sure how it should look like to be honest :-)

If you have Postgres running locally (or elsewhere), it shouldn't be too hard. Edit https://github.com/wvanbergen/scoped_search/blob/master/spec/database.ruby.yml to match your credentials / databases. You can comment out the sqlite and mysql sections so the tests won't run against those DBs.

Wow tests are green! Thanks @domcleal!
Do I understand the test codebase correctly that this is actually covered by pgsql integration tests? No need of unit test then? :-)

I think it's exercised against PostgreSQL, but I'm not sure that the NULLS LAST/FIRST behaviour is actually checked anywhere (i.e. regression check for value ordering when the column accepts NULL).  Otherwise it reads well to me.

I think the NULLS FIRST/LAST part was explicitly added to make test results pass for both MySQL and PostgreSQL. So IIRC this is covered by the integration tests

Thanks for fixing this!

Thanks @lzap!
@wvanbergen do you plan on a patch release soon?  There are a few useful bug fixes in master.

will do

Cheers.


discovery: Add system-probe endpoint for service list

What does this PR do?
Add a new endpoint in system-probe to get the service list with the service names. This will be used from the agent check in a future PR, since the agent check doesn't have permission to get this information.

Motivation
https://datadoghq.atlassian.net/browse/USMON-1127
https://datadoghq.atlassian.net/browse/USMON-1126
https://datadoghq.atlassian.net/browse/USMON-1128

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Only a suggestion - I'd split this PR to smaller PRs as it contains many changes, but those are not "atomic" changes.

Only a suggestion - I'd split this PR to smaller PRs as it contains many changes, but those are not "atomic" changes.

CI changes split to https://github.com/DataDog/datadog-agent/pull/28193
This PR is to add the endpoint to system-probe.
Next PR will use it in agent check.
Deletion of portlist will be done separately.

/merge


No easy way to supress Friendly License reports across all versions of a package

Right now, there's no way to turn off friendly licenses for all versions of a package.
We should provide a way for folks to turn this setting on and off en masse more easily.

@claycompton , @anurse how do we turn off friendly licence reports for a package? I'm trying to understand this issue.

An option to suppress Friendly license reports must have been removed a while ago..


[SUBS] update dependencies (and examples)

Why?
Falling behind on the dependencies, causing increasing technical debt and uncertainty.
What?

update dependencies for the widget and apps
update dependencies for examples (most notably web3modal from v2 to v3)
unify dependencies for docs with rest of monorepo projects

How?
pnpm update --recursive --interactive (and possibly --latest) and fix the issues

slight blocker with web3modal as we rely on isOpen: https://github.com/orgs/WalletConnect/discussions/4164

This issue indicates it's completed, but I'm not seeing any code changes tagged to this issue, and the tip of master has examples that are still out-of-date. Where are the web3modal v3 examples at, @kasparkallas ?


[Guide] How to fetch all transactions / pagination

Description:
Create a new guide explaining how to get transaction related with an account in batches of 10 until all of them have been retrieved.
Category:
account

Proposed code using Rxjs operators to get all transactions
https://gist.github.com/dgarcia360/e076b07f7cb28940179fb72e85a4421e

Closed https://github.com/nemtech/nem2-docs/commit/63dad224569bd0fcc739403b7cf27e60e736de2a


Orchestrator only creates Vaults in East US

The Key Vault orchestrator is hard coded to only create Key Vaults in the East US region.

v2 added support for specifying the region in the store configuration screen.


update DG for Login feature

Added more use case descriptions and activity diagrams for login feature
Added more user stories for filter command and login feature
Added 2 extra appendix for Planned Enhancements and Limitations

Codecov Report
Patch and project coverage have no change.

Comparison is base (683d3aa) 59.38% compared to head (dcc3b04) 59.38%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #165   +/-   ##
=========================================
  Coverage     59.38%   59.38%
  Complexity      530      530
=========================================
  Files           108      108
  Lines          2073     2073
  Branches        218      218
=========================================
  Hits           1231     1231
  Misses          759      759
  Partials         83       83

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


how to automactically restart uvicorn main:app --reload after Stopping reloader process , SyntaxError: invalid syntax

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
Process SpawnProcess-2:
Traceback (most recent call last):
  File "/home/boojongmin/.pyenv/versions/3.10.1/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/home/boojongmin/.pyenv/versions/3.10.1/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/server.py", line 68, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/home/boojongmin/.pyenv/versions/3.10.1/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/server.py", line 76, in serve
    config.load()
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/config.py", line 456, in load
    self.loaded_app = import_from_string(self.app)
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "/home/boojongmin/.pyenv/versions/3.10.1/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 879, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1017, in get_code
  File "<frozen importlib._bootstrap_external>", line 947, in source_to_code
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/boojongmin/study/src/./main.py", line 129
    async def update_item(    item_id: int, item: Item, user: User, importance: int = Body(...):
                                                                                ^
SyntaxError: invalid syntax

---------------------------------------------------------------------------

Process SpawnProcess-11:
Traceback (most recent call last):
  File "/home/boojongmin/.pyenv/versions/3.10.1/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/home/boojongmin/.pyenv/versions/3.10.1/lib/python3.10/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/subprocess.py", line 76, in subprocess_started
    target(sockets=sockets)
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/server.py", line 68, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/home/boojongmin/.pyenv/versions/3.10.1/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "uvloop/loop.pyx", line 1501, in uvloop.loop.Loop.run_until_complete
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/server.py", line 76, in serve
    config.load()
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/config.py", line 456, in load
    self.loaded_app = import_from_string(self.app)
  File "/home/boojongmin/study/venv/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "/home/boojongmin/.pyenv/versions/3.10.1/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/boojongmin/study/src/./main.py", line 70, in <module>
    class Item(BaseModel):
  File "/home/boojongmin/study/src/./main.py", line 76, in Item
    image: Optional[Image] = NOne
NameError: name 'NOne' is not defined
INFO:     Stopping reloader process [8115]

Description
I want to restart uvicorn main:app when process stoped after syntax error without manually run command.
How I do that?
thatnk you :)
Operating System
Windows
Operating System Details
wsl2 Ubuntu 20.04.3 LTS in windows 10
FastAPI Version
0.70.1
Python Version
Python 3.10.1
Additional Context
No response

I believe this is not an issue directly relevant to FastAPI. It is something that needs to be provided by uvicorn. There is an opened issue here .


Only on demand works

I don't know it's api issue but this morning only on demand section working... Other three sections showing empty...

The API has changed.
The request now needs to include the following headers:
x-disco-client: WEB:UNKNOWN:esplayer:prod
x-disco-params: realm=eurosport,,

Thank you so much @peskdale for your pull request.
Just tried with manually patching my add-on installation an it works back again. Just in time to watch the 24h of Le Mans...

Yes! Thank you @peskdale !

@peskdale Patch fixed the issue but when events went next day it's dissapeared from schedule again... I mean le mans event appeared on schedule during day still 19.09 but 20.09 All Le Mans Feeds lost. (Might be need a schedule page)

@ozzymanborn Not sure what you experienced, but seems to be working for me this morning.
Suspect this is some wierdness on Eurosports end with Le Mans being an overnight programme.

@ozzymanborn Not sure what you experienced, but seems to be working for me this morning.
Suspect this is some wierdness on Eurosport’s end with Le Mans being an overnight programme. Looks like they scheduled a 'Part 2' from 01:00 GMT. So for that hour or two between wherever your midnight is and then, Le Mans would not have shown up on the plugin, as it wasn't on "todays" schedule. This is an API limitation.

Yes it was that... Previous plugin had schedule section for these kind of glitches I don't know is it possible for current api/plugin....

I can confirm that at 00:20 GMT, when I stop watching, no more Le Mans streams are available on "On Now" list.
When I started watching again, at about 03:00 GMT, they are present.

Yes, as I say... API limitation combined with bad scheduling.
It’s may have been that the live streams would have still been watchable via the on demand section (the HLS streams would still have been in live mode until 2am), but obviously can’t test that after the event. Only a theory unfortunately.
Either way, schedules are working with the attached PR, so the original issue of no schedules is resolved... pending a merge by the maintainer.

Headers have been updated in code on 25/9/20 to correct issue.


add twitter verification

Codecov Report

Merging #292 (c974294) into master (335f57d) will decrease coverage by 0.95%.
The diff coverage is 21.73%.

@@            Coverage Diff             @@
##           master     #292      +/-   ##
==========================================
- Coverage   16.02%   15.06%   -0.96%
==========================================
  Files          16       16
  Lines        1741     1752      +11
  Branches      329      330       +1
==========================================
- Hits          279      264      -15
- Misses       1462     1488      +26

Impacted Files
Coverage Δ

contracts/CreditLine/CreditLine.sol
10.08% <0.00%> (ø)

contracts/Verification/adminVerifier.sol
36.66% <22.72%> (-31.76%)
:arrow_down:

contracts/Verification/Verification.sol
21.05% <0.00%> (-22.81%)
: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 335f57d...c974294. Read the comment docs.


Removed extra brackets

PHP already evaluates the ! after the stuff on the right. :)

I like the explicitness here: it's more clear, and just in case they ever break the precedence in a future release


Parameterized Quantum Kernel

Opening this PR to facilitate code review

Since you commented up front that this PR is supplied for more of a review I converted it to Draft. Sometimes we just put [WIP] in the title, until we are ready for it to be checked over with the intent of merging, but either way is fine.
Going forwards we would not merge notebooks, unless its part of the tutorial set here providing learning path example code and docs for an end user. Function that is testing the main code needs to be provisioned in the form of unit tests as can be seen in the test folder here. The CI (Continuous Integration) build here will execute these to verify correctness as coded in the tests.


Date in DateType column is rolled back by 1 day when writing to redshift

When dataframes are written to Redshift, Dates in Columns of type 'DateType' are rolled back by 1 day. i.e. 2017-02-18 in the dataframe is written to redshift as 2017-02-17.
Below is a Dataframe with "date_string" being defined as String and date_DataType column dervied from casting the string as 'DateType'. Note that the value of the date remains the same
+-----------+---------+-------------+
|date_string|unique_id|date_DateType|
+-----------+---------+-------------+
| 2017-02-01|      AAA|   2017-02-01|
| 2017-02-02|      AAA|   2017-02-02|
| 2017-02-03|      BBB|   2017-02-03|
| 2017-02-04|      AAB|   2017-02-04|
| 2017-02-04|      AAB|   2017-02-04|
| 2017-02-05|      AAB|   2017-02-05|
| 2017-02-06|      AAC|   2017-02-06|
| 2017-02-07|      AAC|   2017-02-07|
| 2017-02-08|      AAD|   2017-02-08|
+-----------+---------+-------------+
A new column is added to the above dataframe by casting back the 'DateType' column to String. This is to show that there are no issues in the conversion of the Date to DateType and String.
+-----------+---------+-------------+-----------------------+
|date_string|unique_id|date_DateType|date_DateType_to_string|
+-----------+---------+-------------+-----------------------+
| 2017-02-01|      AAA|   2017-02-01|             2017-02-01|
| 2017-02-02|      AAA|   2017-02-02|             2017-02-02|
| 2017-02-03|      BBB|   2017-02-03|             2017-02-03|
| 2017-02-04|      AAB|   2017-02-04|             2017-02-04|
| 2017-02-04|      AAB|   2017-02-04|             2017-02-04|
| 2017-02-05|      AAB|   2017-02-05|             2017-02-05|
| 2017-02-06|      AAC|   2017-02-06|             2017-02-06|
| 2017-02-07|      AAC|   2017-02-07|             2017-02-07|
| 2017-02-08|      AAD|   2017-02-08|             2017-02-08|
+-----------+---------+-------------+-----------------------+
The above dataframe was written to Redshift and the resulting CSV in tempdir was probed to see if the values for the columns reflect what is seen in the dataframe as shown above:

cat part-r-00000-7cc82d8c-e174-4177-bc30-146b30b8ad29.csv
2017-02-01,AAA,2017-01-31,2017-02-01
2017-02-02,AAA,2017-02-01,2017-02-02
2017-02-03,BBB,2017-02-02,2017-02-03
2017-02-04,AAB,2017-02-03,2017-02-04
2017-02-04,AAB,2017-02-03,2017-02-04
2017-02-05,AAB,2017-02-04,2017-02-05
2017-02-06,AAC,2017-02-05,2017-02-06
2017-02-07,AAC,2017-02-06,2017-02-07
2017-02-08,AAD,2017-02-07,2017-02-08

It is evident that the column with 'DateType' values got converted strings but were rolled back by a day. I tested the above scenario writing the dataframe to CSV using spark.write.csv. The resulting file had the correct dates as in the dataframe.
Hence it appears to be something with the date handler in the library. Please address.

@dilipbalachandran - could you please tell me what version of Spark you are using? We are seeing similar issues come up when writing to CSV on Spark 2.0.2. I am curious if the CSV portion was fixed in newer versions (e.g. - 2.1.0) of Spark.

@kgbaird - we are using spark 2.0.2.

We ended up upgrading to Spark 2.1.0+ and the issue appears to have been fixed. We ultimately traced it to apache/spark@176afa5e8 that appeared to resolve the issue.


Add structured data to "What is QML" page

Summary:
Adds structured data block to the layout.html style file, which automatically inserts the block into the whatisqml.html page.
The result has been tested at Google's online tool.

Website build
Commit: c67fce47dc5807d1aad8dc7366851eccd3bf4cdf
Circle build number: 594
Website zip: https://594-214003948-gh.circle-artifacts.com/0/tmp/qml_html.zip
Website url: https://594-214003948-gh.circle-artifacts.com/0/_build/html/index.html
Please double check the rendered website build to make sure everything is correct.

Whoops, you are right. I wonder how I could test that? The google test does not even complain...


⚠ ClamAV has degraded performance

In 465cd6f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 20 ms

Resolved: ClamAV performance has improved in 447a3f1.


fix(build-tools): Support unscoped package names

Several commands, such as flub release, did not fully work with unscoped package name arguments. This was caused by some commands saving the argument name and treating it as the full package name. Instead, this PR fixes that limitation by determining the full name of the package and updating relevant variables with the scoped name.

Thanks for the review, @zhenmichael !


Remove an extraneous '['

@secretGeek : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Confirmed corrections. Thanks.


Update add-domain.md

Made changes to the navigation to add a new custom record
fixes#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/11015

@JohanFreelancer9 Please copy review

@nataliekagole Please merge this PR. Thanks


Force flush to circumvent buffering from "compression" middleware

Some other contributed nodes (like node-red-dashboard) might register middleware (like compression) that can change the behavior of sse-server.
This pull request implements the recommended approach of flushing the buffer after writing the event.

Hello.
Thanks for your contribution.
Unfortunately, your pull request introduces an error when starting up the runtime. flush seems to not exist on _res

I've made the flush method optional. If you'd like to continue to work on this issue, please pull the latest changes from master.

Good catch, thanks! 1.2.1 fixes the issue. Cheers!


Obscure error message when generated statically parameterized method is not yet applied

This is not very intuitive error message:
The type provider 'FirstProvider.TP+MyTypeProvider' reported an error in the context of provided type 'ExampleTypeProvider.ExampleType', member 'ExampleMethWithStaticParam'. The error: ProvidedMethod: no invoker for ExampleMethWithStaticParam on type ExampleTypeProvider.ExampleType

:+1:

My understanding is that this was fixed in #703


Launch from URL doesn't work on Android (when app is in background)

This seems to require an onNewIntent listener: https://github.com/NativeScript/NativeScript/issues/2747
I've tried extending the com.tns.NativeScriptActivity as suggested in that post, but so far onNewIntent does not fire.
To be clear, the app currently resumes from a URL when the app in the background, but we are not catching the new intent to get the target url.
Be careful about trying to use an existing plugin, e.g. https://github.com/hypery2k/nativescript-urlhandler
On iOS, that plugin implements UIApplicationDelegate, but we also implement this for analytics, and there can only be one delegate.

As an update, I was able to create a custom Activity to catch the onNewIntent event by following this guide: https://docs.nativescript.org/runtimes/android/advanced-topics/extend-application-activity#extending-activity
However, this breaks nativescript's application.suspendEvent and application.resumeEvent, which we use in a few places. I've created a post regarding the issue here: https://discourse.nativescript.org/t/androidactivitycallbacks-onpause-onresume/1811
For now the progress is in the android-url-launch branch.

Note that some of this changes in nativescript 3.0: https://github.com/NativeScript/NativeScript/blob/master/Modules30Changes.md#application


introduce golang generics to heap.go

What would you like to be added:
track comment here https://github.com/kubernetes-sigs/kueue/pull/202/files#r849474069
Why is this needed:

/assign

/priority backlog

/remove-lifecycle stale

/remove-lifecycle stale

/assign

I think there's no need to use generics here because there's no need to write similar logics for different types.


dulwich: use SubprocessSSHVendor when necessary

Falls back to using SubprocessSSHVendor instead of AsyncSSHVendor when:

we are inside git-bash/msys environment on windows
OpenSSH ~/.ssh/config exists and contains options which are unsupported by asyncssh

Fixes: https://github.com/iterative/dvc/issues/7702
Related: https://github.com/iterative/dvc-ssh/issues/20

Codecov Report
Patch coverage: 70.49% and project coverage change: -2.61 :warning:

Comparison is base (3a1df25) 82.29% compared to head (1b16112) 79.69%.

:exclamation: Current head 1b16112 differs from pull request most recent head 61bf1ad. Consider uploading reports for the commit 61bf1ad to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #213      +/-   ##
==========================================
- Coverage   82.29%   79.69%   -2.61%
==========================================
  Files          25       25
  Lines        3497     3556      +59
  Branches      608      617       +9
==========================================
- Hits         2878     2834      -44
- Misses        527      613      +86
- Partials       92      109      +17

Impacted Files
Coverage Δ

src/scmrepo/git/backend/dulwich/__init__.py
80.41% <70.00%> (-0.99%)
:arrow_down:

tests/test_dulwich.py
92.45% <70.00%> (-5.23%)
:arrow_down:

src/scmrepo/git/backend/dulwich/asyncssh_vendor.py
75.92% <70.96%> (-7.41%)
:arrow_down:

... and 10 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


The same class name in different css files generates the same localIdentName

If I have one file with
.fill { color: red }
and another with
.fill { width: 100%; height: 100%; }
I get both styles on my element even if I just use one of them for that element because the generated class name is the same.

You can probably solve this by changing the localIdentName to include the path.

@re222dv How are you using only one of them?

@vramana Probably import styles from './styles.scss' and

@mtsr I remember using styles.scss causes problem. It kind of throws things in a global namespace(I am bit unsure but I am think I mostly correct). Can you change both your styles.scss files to the corresponding component name? css-modules scoping is dependent on the filename you give.

Ah, sorry, by ./styles.scss I mean a scss files local to the component. E.g. views/Home/styles.scss with the homeview being views/Home/index.js.
On 13 Dec 2015, at 17:58, Ramana Venkata<EMAIL_ADDRESS>wrote:

@mtsr I remember using styles.scss causes problem. It kind of throws things in a global namespace(I am bit unsure but I am think I mostly correct). Can you change both your styles.scss files to the corresponding component name? css-modules scoping is dependent on the filename you give.
—
Reply to this email directly or view it on GitHub.

@mtsr That still puts all the css classes in global namespce of Styles_{your-classname}. The scss file should be names Home.scss instead of styles.scss

That all depends on what naming scheme you've defined for your css-modules, I personally always use some kind of hash, as it more or less guarantees uniqueness for anything but the same css.

Absolutely true. But when developing seeing hashes all over kind of feels noisy to me.

Alternatively you can use [path] I guess.
On 14 Dec 2015, at 16:00, Ramana Venkata<EMAIL_ADDRESS>wrote:

Absolutely true. But when developing seeing hashes all over kind of feels noisy to me.
—
Reply to this email directly or view it on GitHub.

I think https://github.com/webpack/css-loader/pull/284 will fix this issue.

I'm sorry for not having responded. I have different names on all style files (the component name) however multiple components share the same folder. But I think #284 will fix this, thanks!


Tile iterator

Added a tile iterator.  This doesn't depend on Girder.  To use, get a tile source, then, for example,
for tile in tilesource.tileIterator(magnification=20, format=TILE_FORMAT_NUMPY):
  Tile = tile['tile'][:, :, :3]  # three components only
  # process the Tile

You can use many criteria for determining which tiles you get from the image (magnification, level, size of pixels, etc.).  See the method documentation of tileIterator in tilesource/base.py.  Currently, the tiles that you get from the iterator can optionally be scaled.
This should be fully functional (it is used by getRegion), but needs more tests and probably more documentation.
Report magnification and pixel size of images.
Changed init to allow flake8 to process it (mostly).

This addresses issue #75.

@manthey Few more comments.
@cooperlab Can you please take a look at this PR and comment on the API of the TileSource class?

@cdeepakroy @manthey I looked but probably need to walk through this with someone - or to implement the use cases we described. Will have more time to look at this later this week.

I still have more changes coming based on @cdeepakroy's comments (renaming parameters, at least).

One of the reasons width and height refer to the output dimensions is because getRegion functions as a superset of getThumbnail, and I'd expect callers of getThumbnail are only interested in width, height, and possibly encoding. There is no requirement that getRegion have the same parameter names as getThumbnail, so we can diverge the two calls.
One method to improve clarity is to rename width and height to maxOutWidth and maxOutHeight, and rename left, top, right, bottom to regionLeft, regionTop, regionRight, regionBottom (or change the region prefix to be source on these and on regionWidth and regionHeight). The thumbnail function and REST endpoint could still use width and height, but the region function and REST endpoint would not (and could even throw an exception if width or height were in the kwargs).
Another option is that the getRegion function could take nested parameters: region: {left, top, right, bottom, width, height, units}, output: {maxWidth, maxHeight, magnification, mm_x, mm_y, exact, resample}, format, encoding, jpegQuality, jpegSubsampling.
@cdeepakroy, opinions?

@manthey

One method to improve clarity is to rename width and height to maxOutWidth and maxOutHeight, and rename left, top, right, bottom to regionLeft, regionTop, regionRight, regionBottom. The thumbnail function and REST endpoint could still use width and height, but the region function and REST endpoint would not (and could even throw an exception if width or height were in the kwargs).

I like this.

region: {left, top, right, bottom, width, height, units}, output: {maxWidth, maxHeight, magnification, mm_x, mm_y, exact, resample}, format, encoding, jpegQuality, jpegSubsampling

I also like this because of the way it groups parameters but it will require a bit of extra work in creating the region and output dictionaries before calling the getRegion function.
One issue you will face with both is - what will the function do if all of {left, top, right, bottom, width, height, units} are passed.
Maybe you could define two functions:
def region_ltrb(left, top, right, bottom, units='base_pixels'):
    return {
        'units': units,
        'left': left,
        'top': top,
        'bottom': bottom,
        'right':  right,
        'width': right - left + 1,
        'height': bottom - top + 1
    }

def region_ltwh(left, top, width, height, units='base_pixels'):
    return {
        'units': units,
        'left': left,
        'top': top,
        'width': width,
        'height': height,
        'bottom': top + height,
        'right':  left + width,
    }

You could even create an abstract region class and define two concrete subclasses region_ltrb and region_ltwh and pass a region object in.

@cdeepakroy I've refactored tileIterator (and getRegion) to use the dictionaries of region and output parameters.  Note that the code already handled specifying any two of left, right, width and any two of top, bottom, height for the region.
I think that documentation of using this should be in the next PR (possibly adding a setup.py file at that time, too).

@manthey Looks good! This should be enough to enable HistomicsTK to start processing large images.
The only suggestion i have is to not include magnification, mm_x, mm_y, exact, resample in the output dictionary as they dont seem to fit well under it that well.  These parameters are for describing at which magnification to region spec belongs to, and what to do if that magnification is not available natively.

Rest LGTM!

@cdeepakroy Do you think it would be better to have magnification, mm_x, mm_y, exact in another parameter set (scale perhaps?), or just move them back to the base-level parameters?

Another parameter set for magnification, mm_x, mm_y, exact is a good idea!

@cdeepakroy I've added this as the scale parameter set.  If you want to look it over one more time before merge, I'd appreciate it.

LGTM! Merge!


Question: Using Camel LSP with Spring Boot

I have a Spring Boot (Backend) / Angular (Frontend) application. In the frontend there is a codemirror editor to edit Camel routes. Now I like to add support for Camel code completion and I checked the code-mirror example:
https://github.com/camel-tooling/camel-lsp-client-codemirror
In the example the LSP seems to be running as an independent server.
https://mvnrepository.com/artifact/com.github.camel-tooling/camel-lsp-server
Is is it also possible to embed the Camel LSP directly into my Spring Boot backend? If so, do I need to configurate/code something to enable it (especially websockets)? Or can I just add Camel LSP as an dependency?

Is is it also possible to embed the Camel LSP directly into my Spring Boot backend? If so, do I need to configurate/code something to enable it (especially websockets)? Or can I just add Camel LSP as an dependency?

I never tried it myself but in theory yes:

I think you will need to write some glue code so that when Spring Boot is starting, it is calling this kind of code https://github.com/camel-tooling/camel-language-server/blob/fdf82f47cc1ccb4e32d5afa1bbd4e4c24f87c164/src/main/java/com/github/cameltooling/lsp/internal/Runner.java#L59-L63
For CodeMirror, you will need to configure with a Websocket communication.

it might be possible to configure the Camel language Server with Spring Boot annotation so that no glue code is required. In this case, if you provide a Pull request, I will be happy to review it.

Thanks, I think there are multiple approaches:

Use either some glue code or use Spring Websocket Configuration (like I have here https://github.com/assimbly/gateway/blob/master/src/main/java/org/assimbly/gateway/config/WebsocketConfiguration.java)

And then need to adjust the ports etc in the frontend adapter config.

I already managed to communicate from CodeMirror to a standalone LSP using the code mirror example. There the websocket communication was working, but the editor didn't show any hints. This is probably because I use ngx-codemirror which doesn't support hints (https://github.com/scttcper/ngx-codemirror/issues/235).
I leave it for now because of:

hints not working in nxg-codemirror
lsp-editor-adapter package doesn't seem to get updated (it works though).
Embedding the LSP seems to be pretty large (around 80mb), because it's batteries included.  It contains all languages/catalogs (currently I only need a part of it). Or are there also stripped down versions?

Probably will experiment with it later on, because the functionality of LSP is kinda cool. My question is answered so you can close this ticket.

On point 3. For embedding it would be good to have modularized version (just like camel) with a core lsp and then add suppor for languages or support when needed.


Samantha's little fixes 12/5

-added Oxford comma on account.md
-Delete page and size from wrong section on getAccountTransactions.md
-Fix wording on availableNumbers.md
-Fix verb tense on postAvailableNumbersLocal.md
-Fix verb tense on getAvailableNumbersLocal.md
-Add first line to getAvailableNumbersTollFree.md
-Fix verb tense on getAvailableNumbersTollFree.md
-Grammar fix in first line of bridges.md and fixed “an specific”
-Grammar fix in bridgeAudio description (“two way” versus “two-way”) and change “that” to “when the” in other property descs
-“two way” versus “two-way” in postBridges.md
-Replace “that” and “that the” with “when the” in getBridgesBridgeId.md
-Fixed e.g. after “manage an active phone call”
-Added “by startTime” after “how to sort calls”
-Changed “set active” to “set to active” in postTransferCall.md
For the Committer

[x ] I made sure that the site looks great and functions perfectly live
[x ] I ran splell check
[x ] I'm ready for these changes to be made live

For the Reviewer
General Review

[ ] All changes/updates requested were intentionally changed or added (no extraneous file or partial updates)
[ ] The live rendered page behaves and looks like intended.
[ ] All links work as intended. (click every link to make sure that it takes the user to the expected place).
[ ] The markdown was rendered to HTML as intended. (Tables look right, code samples are gated properly).
[ ] Any style or CSS changes are tested on multiple different pages to ensure nothing unexpected broke or changed.
[ ] I proof-read the live site (gitbook serve) and there are no oblivious splelling or grammer misteaks.

Gitbook Specific

[ ] Any new documentation pages have been added to the SUMMARY.md file so they are rendered to HTML.
[ ] Any links to other pages within this documentation use relative links ([read more about ...](guides/voice/voicemail.md)).
[ ] Gitbook can install and build the documentation (gitbook install & gitbook build)

Code Specific

[ ] All code has been tested against the live API.
[ ] All code can be run without throwing errors or new warnings.
[ ] All code is formatted correctly and consistently (spaces, tabs).
[ ] All code is legible and idiomatic to the language.
[ ] All code uses sensical method, function, and variable names.
[ ] All code samples use the appropriate syntax highlighting.
[ ] Any examples re-use same phone numbers, uuids, variable names, etc... throughout (IE don't have something like {from: '+19191231234', to: '+19191231234'} unless it's meant to show the same phone number calling/texting itself ).

TL;DR

[ ] I did these things
[ ] I'm ready for these changes to be made live

 Sam's Card 12/4 to 12/10

Preview Changes at:
http://bw-apdocs-samantha-little-fixes.s3-website-us-east-1.amazonaws.com/


starting fix https://github.com/igor90007/translater/issues/2

starting fix Readme

There are 3 code directories within this project: ios, android and Javascript(TypeScript).
Not 2 as mentioned here:

And by structure I want you to add general logic explaining to me or any other person coming to this repo, how your app works. Explain what architecture you have in your app and how it actually makes stuff happen, ie:
App launches -> user does input -> app fetches data from API -> user gets a result.
But explain it app wise:
On app launch we do this, on user input we do this, on data fetch we do that and so on.

What is the meaning of this?

Fix obvious mistakes(english ones) here:

And also this(wut the actual fk is Google Translator??):

This is not a set of rules for contributing, this is just a quote, also with a very low quality as well:

Reason why I am asking this to be done, because I want you to actually learn how other people do and google it first, before marking it as done(which is also not true). I do require you to google, learn and maybe even ask relevant questions about result if need be, before actually doing something. Doing subpar thing and marking it as done is not a viable solution.
So, please read this for reference:

https://github.com/nayafia/contributing-template
https://gist.github.com/PurpleBooth/b24679402957c63ec426
https://help.github.com/en/articles/setting-guidelines-for-repository-contributors

Starting from this commit this should be either cherry picked from here or directly removed:
e1e24418687e3c481fd70c3cd90540de29d73477

Text is not a mandatory field as well.

why?

Well, I left an example, but it was meant to be used as a reference, not a copypaste. This is not entirely correct and I left a comment with an example of why here:
#4

fixed

Please adhere to your ts lint rules and use prettier as it is configured for your project.

I've just installed 'TSLint' plugin for VSC.


Release R117 Biskupin

TODO

[ ] Publish RCs
[ ] Wait for Iglu Central release https://github.com/snowplow/iglu-central/pull/1012
[ ] Update dates in CHANGELOG
[ ] Write blog post

We need to update event_fingerprint_enrichment.json to use 1-0-1.

Removed add assembly step to Ci, as it was producing false positives (tests were failing, but build was green). Also reordered commits.

geo ip test fixed

Still not all the requirements on this checklist are met. The commit bumping SCE version is before another commit that updates the lib (IPv6 anonymization). Also, Prepare for release needs to be the last commit (before -rc -M that will be removed of course).

@benjben It does met the checklist.
Github on commits tab shows some wrong data.
git log --pretty=oneline origin/release/r117-biskupin produces:
8e06435b3e0c6b20dc1392f343da4b32d154c707 (HEAD -> release/r117-biskupin, tag: stream_enrich/0.22.0-rc4, tag: spark_enrich/1.19.0-rc4, tag: scala_stream_collector/0.17.0-rc4, tag: scala_common_enrich/0.38.0-M4, tag: r117-biskupin-rc4, tag: emr/r117-biskupin-rc4, tag: beam_enrich/0.4.0-rc4, origin/release/r117-biskupin) Bump to M/rc
7d48e215ebfdca3818c682fac3d981177e8fe4dd Prepare for release
4964c02812bc7d62ca8f0b41c143f33c5e95cade Scala Stream Collector: bump to 0.17.0 (closes #4208)
b0461448cb721d87a3e14ce712e09de3e6997352 Scala Stream Collector: remove duplicate section in example hocon config file (closes #4210)
2d6b5277fa52f304546872a8d610d2db2567be19 Scala Stream Collector: add support for TLS port binding and certificate (closes #4085)
be0e54c83b56a848c1939a40704b87ac305322b5 Scala Stream Collector: bump akka-http to 10.1.10 (closes #4185)
4d6a1e8aa88ded6003512c8feea52323923c0c75 Scala Stream Collector: bump Scala version to 2.11.12 (closes #4206)
782521f1dc059c67072f5c8e6be6b9133d39f093 Scala Stream Collector: allow users to disable the default redirect endpoint (closes #4211)
c51bbb658a477e2b12e8e2aa6a6d612a4ced9cb5 Common: change Travis distribution to Trusty (closes #4214)
c4314be404299f5b3a5f0bfeae20e4a1419d81b5 Spark Enrich: bump to 1.19.0 (closes #4142)
049ea2f52b6e36a434be9cf9444b8e743ba0cc22 Spark Enrich: bump scala-common-enrich to 0.38.0 (closes #4141)
fc09199a949f7916d384d94caed199a5b0c7110e Stream Enrich: bump to 0.22.0 (closes #4140)
07f6afa786b21031e787ccf855d2c771f07327f7 Stream Enrich: bump scala-common-enrich to 0.38.0 (closes #4139)
3d6c8c1dee0c8abb78b86eae098055d3d8c016cd Beam Enrich: bump to 0.4.0 (closes #4138)
acac41ea6ce3074dace28df7c1845035b88c7619 Beam Enrich: fix docker deployment authorization (closes #4231)
12b5423a77c0558079b92c2c849822f29e32379e Beam Enrich: fix unit tests failing after update of MaxMind database (closes #4230)
dfad49951931b240659e8cc2597bc8c64fc18d78 Beam Enrich: bump scala-common-enrich to 0.38.0 (closes #4137)
acc8becc30185546e0b0b838e2586841ce744b83 Scala Common Enrich: bump to 0.38.0 (closes #4136)
aa7c434e92ae9d815455dc70b05ff5126a096284 Scala Common Enrich: add additional event fingerprint hashing methods (closes #4226)
c1bc3c451a5473e60bca14ae6644fc494f84b3c2 Scala Common Enrich: add anonymization for IPv6 (closes #4222)
206d5958cdcf3702cebaa0bac76433d3609ff3fb Scala Common Enrich: bump referer-parser to 0.3.1 (closes #4135)
4c041c712b457cb0f4bb3c95b4ca8cfb93d38f3c EmrEtlRunner: bump to 0.36.0 (closes #4143)
922aaa73852bf807f334394c80298b324972b383 EmrEtlRunner: add support to the spot market for core instances (closes #3487)

The commit is Scala Common Enrich: add additional event fingerprint hashing methods (closes #4226) when the issue is Scala Common Enrich: support additional hashing methods for event fingerprint enrichment.
Apart from that LGTM.

@benjben  Issue #4226 renamed to match commit/changelog.


Need help with the physics

Hey,
I'm new to this and am therefore still learning the ropes and I have managed to implement a custom model, it loads in the game and everything, but I just can't figure out how to get the physics to work, I tried spring Bones, Dynamic Bones, and the included Jiggle Physics and nothing worked. They always work fine within the Unity editor but are nonexistent in the game. And the documentation doesn't give any sort of info on how to use them.
I would be extremely thankful for any sort of tutorial or explanation on how to implement the physics.
Greetings,
StrikingPopcorn

I can't help you with how to do it but I can redirect you to the custom physics implementation
https://github.com/naelstrof/UnityJigglePhysics

Historically, UnityJigglePhysics related issues have always been a result of people importing the primary UnityJigglePhysics package into their unity project. Even if you remove the package and use the scripts in the SDK, this has still been an issue.
It could also be due to an outdated API.dll that you are building your mod with, or are using in your bepinex plugins folder, but that shouldn't be very likely due to how outdated it would need to be.
Besides that, if you don't want to use UnityJigglePhysics as supplied in the SDK, you'll have to mess around with Assembly Definitions which is a real pain, and not something I would recommend.

So, I have never imported the primary UnityJigglePhysics, I've only used the scripts in the SDK, besides the Spring Bone and Dynamic Bone tests of course. I've now even created a brand new 3D HDRP Unity Project and only imported the SDK. And again the after adding the Jiggle Rig Builder, settings for it etc. The physics did work inside the Unity Editor, so I exported everything using the Project thingy from the SDK and compiled it in Visual Studio put it into the game. The model loaded just as it should but again, had no physics whatsoever.
Maybe I'm missing something in the code, or I am placing the Rig Builder in the wrong part of the Hierarchy or maybe the model is just incompatible due to the way it is set up or something. I am completely confused and have already spent somewhere around a day just trying different things.

If you've confirmed that those two possibilities are not the issue, then there is unfortunately no way for me to help you. The physics using specifically the SDK scripts have worked every time I have used them. If they aren't working for you, I wouldn't have any idea how, as I did not write the scripts themselves. Perhaps contact Naelstrof at the UnityJigglePhysics github.


WhatsApp API

https://www.reddit.com/r/api/comments/yxeqk6/api_request_looking_for_whatsapp_status_tracker/

Hey @asim any updates?

No I haven't had a chance to implement this.


no antialiasing on nested elements in rotated parents

Environment:
OS: macOS High Sierra 10.13.2
Node: 8.3.0
Yarn: 0.27.5
npm: 5.3.0
Watchman: 4.7.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.52.2 => 0.52.2
Target Platform: iOS (10.3.3)
Steps to Reproduce

create an element
add a rotate transform to that element
add a child to the rotated parent element

Expected Behavior
Child should render with antialiasing
Actual Behavior
Child should does not render with antialiasing - the pixels are very prominent on the edges. The top line is a rotated View, while the bottom line is a view within a rotated parent

Reproducible Demo
Expo Snack Example

https://github.com/facebook/react-native/issues/17832


[Feature request]: please translate advertisement text to target language.

Version

[X] I'm using version 1.12.0

Existing requests

[X] I've checked Existing requests

Advanced Preferences

[X] I've checked Advanced Preferences

What operating system are you using?
Windows
Operating System Version
Windows 10 19044.2251
Problem description
please translate advertisement text to target language. i am ready to help for translate your text to persian.
Possible solution
translate advertisement text to target language
Alternative solutions
i am ready to help for translate your text to persian.
Additional information
No response
Code of Conduct

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

Hi, what do you mean by advertisement? Break messages?
You translate via weblate: https://github.com/hovancik/stretchly#translations

Hi, what do you mean by advertisement? Break messages?
You translate via weblate: https://github.com/hovancik/stretchly#translations

Hi hovancik.
I Translate Some Break Texts. But it seems that if some Breaks have pictures, it will be much clearer.
For example this Break:
"Stand up and do a lunge. Hold for 10 seconds, then do the other leg."
I didn't know what the "lunge" was. I searched and saw image.
Thanks for good job hovancik.

Hi and thanks for the feedback as well. I was thinking about adding images, but that would be rather hard, as in fact, the best would be to add videos, but that would be expensive to do.


Eject mobile - agar

How to move the eject mobile physic in normal agar?
Normal agar eject

Mobile agar eject

If you please you can add this feature :)
[EJECTED MASS]
; ejectPhysics: 1 - mobile agar eject, 0 - Normal agar eject
ejectPhysics = 1/0

If you want ejected cells to collide for mobile physics, remove the && !self.config.mobilePhysics from this line in GameServer.js

No, I want to extract the cells collide mobile physics were normal physics agar ._.

@DeadLord1337 You can stop ejected cells from colliding on normal agar by commenting out the function call on this line.

Ohh... xD thx. But please add this feature to other users to make it easier <3