text:
console.log(moment(d1).fromNow()) //a year ago,But I want 11 months ago

//curdate:2018/8/23
var d1 = new Date('2017/11/1')
console.log(moment(d1).fromNow()) //10 months ago,ok
var d1 = new Date('2017/10/1')
console.log(moment(d1).fromNow()) //a year ago,But I want 11 months ago

@lpali TL;DR: This is by design.
Per the docs, the output strings are actually not an exact representation of the duration. The duration is converted to a string according to pre-defined ranges.
The date 2017/11/1 is 295 days from today (2018/8/23) so it falls in the "45 to 319 days" category, and the output is the exact amount of months.
The date 2017/10/1 is 326 days from today (2018/8/23) so it falls in the "320 to 547 days" category, and the output is "a year ago".

@thewizarodofoz So what is the purpose of this design?

@lpali I cannot answer that since I did not design it. But there is some interesting discussion in issue #4725.

authors: donley828 lpali thewizarodofoz


text:
[new locale] Adding Italian (Suisse) it-ch

Hi
Similar to #2562, the date format of Swiss Italian should use dots instead of slashes: 14.2.2014 vs 14/2/2014.
The language file is based on the original Italian version.

Coverage increased (+0.01%) to 88.146% when pulling ae6de7696145b6ab16921a959dcb54fccf682f3b on xfh:develop into c68b4f111c9bedfb00b96652fde09ae78138e3ee on moment:develop.

source: gharchive/pull-request

authors: coveralls xfh

repo: moment/moment

license: MIT

license_type: permissive

license_source: github-api


text:
chore: remove utils from examples to make it standalone classes

Description
We wanted each example to be it's own standalone class such that users can quickly copy paste stuff and don't have to navigate between classes. This commit simply removes the ExampleUtils class and adds redundancy to each example to print banners.
Testing
examples git:(remove-utils) MOMENTO_AUTH_TOKEN="FAKE_TOKEN" ./gradlew list

> Task :cache:list
16:47:41.845 [main] INFO  momento.client.example.ListExample -- ******************************************************************
16:47:41.846 [main] INFO  momento.client.example.ListExample -- Example Start
16:47:41.846 [main] INFO  momento.client.example.ListExample -- ******************************************************************
16:47:42.410 [main] INFO  momento.sdk.CacheClient -- Creating Momento Cache Client
16:47:42.648 [main] INFO  momento.client.example.ListExample -- Cache with name 'list-example-cache' already exists.
16:47:42.649 [main] INFO  momento.client.example.ListExample -- Adding elements to example-list
16:47:42.808 [main] INFO  momento.client.example.ListExample -- Fetching example-list
16:47:42.841 [main] INFO  momento.client.example.ListExample -- example-list has length 8 with elements:
16:47:42.841 [main] INFO  momento.client.example.ListExample -- element1, element2, element2, element3, element4, element1, element3, element4
16:47:42.841 [main] INFO  momento.client.example.ListExample -- Removing an element that occurs multiple times from example-list
16:47:42.868 [main] INFO  momento.client.example.ListExample -- Checking length of example-list
16:47:42.902 [main] INFO  momento.client.example.ListExample -- example-list length: 6
16:47:42.903 [main] INFO  momento.client.example.ListExample -- ******************************************************************
16:47:42.903 [main] INFO  momento.client.example.ListExample -- Example End
16:47:42.903 [main] INFO  momento.client.example.ListExample -- ******************************************************************

BUILD SUCCESSFUL in 1s
3 actionable tasks: 1 executed, 2 up-to-date

Fixed merge conflicts and spotless failures.

repo: momentohq/client-sdk-java


text:
🛑 Wiki is down

In 9ed13f8, Wiki (https://wiki.momentum-mod.org) was down:

HTTP code: 530
Response time: 273 ms

Resolved: Wiki is back up in 7a6dd92 after 11 minutes.

source: gharchive/issue

repo: momentum-mod/status


text:
EFO classifies CERVICAL RIB as reproductive disease

From @cmungall on October 1, 2017 11:46

The DO xref is to an obsolete term (no replacement or reason given):
[Term]
id: DOID:3102
name: cervical rib syndrome
namespace: disease_ontology
is_obsolete: true
synonym: "Arterial thoracic outlet syndrome due to cervical rib" EXACT [SNOMEDCT_2005_07_31:413577001]

Copied from original issue: monarch-initiative/monarch-disease-ontology-RETIRED#405

From @pnrobinson on October 2, 2017 12:49
Possibly this syndrome does have some impact on reproduction, which is why it is sooo important for MONDO to define really well what the criteria are for the hierarchy. I do not think that any of the existing disease nosologies really do such a great job of it.
-Peter
Peter Robinson
Professor of Computational Biology
The Jackson Laboratory for Genomic Medicine
10 Discovery Drive
Farmington, CT 06032
860.837.2095 t | 860.990.3130 m
peter.robinson@jax.orgmailto:peter.robinson@jax.org
www.jax.org
Robinson lab: https://robinsongroup.github.io/
New Book: Computational Exome and Genome Analysishttps://www.crcpress.com/Computational-Exome-and-Genome-Analysis/Robinson-Piro-Jager/p/book/9781498775984
The Jackson Laboratory: Leading the search for tomorrow's cures

From: Chris Mungall notifications@github.com
Sent: Sunday, October 1, 2017 7:46 AM
To: monarch-initiative/monarch-disease-ontology
Cc: Subscribed
Subject: [monarch-initiative/monarch-disease-ontology] EFO classifies CERVICAL RIB as reproductive disease (#405)
[image]https://user-images.githubusercontent.com/50745/31054104-5c312b64-a6a3-11e7-89b6-e1c742e5255e.png
The DO xref is to an obsolete term (no replacement or reason given):
[Term]
id: DOID:3102
name: cervical rib syndrome
namespace: disease_ontology
is_obsolete: true
synonym: "Arterial thoracic outlet syndrome due to cervical rib" EXACT [SNOMEDCT_2005_07_31:413577001]

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/monarch-initiative/monarch-disease-ontology/issues/405, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEtuPAaMbIbokFhGl1ZFRAtdZoYln4ziks5sn3uJgaJpZM4Pp3cs.
The information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible.

From @jmcmurry on October 3, 2017 23:21
Just mentioning @siiraa for comment.

From @cmungall on October 2, 2017 12:57
On 2 Oct 2017, at 13:49, Peter Robinson wrote:

Possibly this syndrome does have some impact on reproduction, which is
why it is sooo important for MONDO to define really well what the
criteria are for the hierarchy. I do not think that any of the
existing disease nosologies really do such a great job of it.

I think in this case this is simply a mistake, Sira can the EFO team
comment?

From @siiraa on October 11, 2017 8:48
The term was requested by Open Targets that recommended this classified as a reproductive system disease. Can modify/add better classification if someone can make a recommendation please?
PS. @cmungall can you please make me a collaborator so i can close the issue that has been resolved? Thank you :)

From @cmungall on October 21, 2017 0:49
And also determine if they think it is the same as https://omim.org/entry/117900

From @cmungall on October 21, 2017 0:48
@siiraa - now a collaborator. But keep this open til we get to the bottom of it :-)
Would it be OK to check with the OT team what their reasoning was behind this classification? I don't like to overwrite in mondo if there was a good reason, but it seems very odd.

the comment above says to keep this ticket open until we get to the bottom of it.

@siiraa no longer at EBI
@nicolevasilevsky can you submit to EFO?

done, closing this here

@simonjupp

authors: cmungall nicolevasilevsky siiraa

repo: monarch-initiative/mondo


text:
MeSH query when ExactMatch same for two MONDO IDs amyopathic dermatomyositis MONDO:0043317 and juvenile dermatomyositis MONDO:0008054

Can there be two instances of ExactMatch for MeSH xref for two different MONDO ids?
amyopathic dermatomyositis MONDO:0043317
ExactMatch
http://identifiers.org/mesh/C538250
juvenile dermatomyositis MONDO:0008054
ExactMatch
http://identifiers.org/mesh/C538250
http://identifiers.org/mesh/C000598745 (> obsolete)

@lcdaugherty we should only have one exact match to an external source (with some rare exceptions that we call a 'proxy merge'). It looks like in the case you reported, one fo the MESH term is obsoleted, so I need to mark it as such in Mondo.
Thanks for reporting this - I'll fix it asap.

@lcdaugherty I don't see that http://identifiers.org/mesh/C538250 is an ExactMatch to juvenile dermatomyositis MONDO:0008054, where do you see that?

I annotated http://identifiers.org/mesh/C000598745 as equivalentObsolete.

@nicolevasilevsky I use OLS to view and get info info- it shows exactmatch C538250
OLS_MONDO0008054.pdf.
Is this a version issue? Should I be looking elsewhere for this sort info?

@lcdaugherty you are right, I see that too! OLS is a good place to look, I am not sure why that shows up that way.
@cmungall @matentzn can you offer any insight?
In the mondo-edit file, I see this is marked as a directSiblingOf, not equivalentTo. Does OLS treat these as exact matches?

Could it be an older version of Mondo in OLS?

Could be, but it is my understanding that OLS picks up the latest Mondo release each month

You could open mondo.owl from the latest release in protege to confirm. If its correct there, I am confident that OLS did not pick up the latest release..

Ooooh the mondo.obo has this as an exact match:

so directSiblingOf is treated like an exact match?
that doesn't seem right to me...

Definietly not! Prioritise for QC board!

Thanks @lcdaugherty for bringing this to our attention! :)

Nico ran the SKOS generation process and the exactMatch to the juvenile term does not appear to be there anymore.
to do:

[ ] Double check in next release, and close.

authors: lcdaugherty matentzn nicolevasilevsky


text:
[Merge] MONDO_0015989 'congenital valvular dysplasia'

Mondo term (ID and Label)
MONDO:0015989 'congenital valvular dysplasia'
Reason for deprecation
Obsolete in Orphanet
Term to be merged with
MONDO:0034937 FLNA-related x-linked myxomatous valvular dysplasia
(this term is from the pending orphanet ingest): https://github.com/monarch-initiative/mondo/issues/3038
[Term]
id: MONDO:0034937
name: FLNA-related x-linked myxomatous valvular dysplasia
definition: A rare genetic cardiac malformation characterized by progressive myxomatous degeneration predominantly of the mitral valve (but not uncommonly with multivalvular involvement), presenting as valve thickening and dysfunction with variable stenosis, prolapse, and/or regurgitation, and potentially resulting in lethal heart failure. Hyperextensible skin and joint hypermobility have been reported in some patients. Hemizygous males display a more severe phenotype than heterozygous females. [Orphanet:555877]
subset: ordo_morphological_anomaly
synonym: "Dystrophie valvulaire associée à FLNA" EXACT  [Orphanet:555877]
synonym: "Filamin A-related X-linked myxomatous valvular dysplasia" EXACT  [Orphanet:555877]
synonym: "FLNA-related valvular dystrophy" EXACT  [Orphanet:555877]
xref: ICD10:Q22 {source="Orphanet:555877"} {source="Attributed (The ICD10 code is attributed by Orphanet)"}
xref: ICD10:Q22 {source="Orphanet:555877"} {source="NTBT (ORPHA code's Narrower Term maps to a Broader Term)"}
xref: OMIM:314400 {source="Orphanet:555877"} {source="BTNT (ORPHA code's Broader Term maps to a Narrower Term)"}
is_a: MONDO:0020288 {source="Orphanet:555877"} ! atrioventricular valve anomaly
relationship: has_modifier HP:0001419 {source="Orphanet:555877"} ! X-linked recessive inheritance
relationship: disease_has_basis_in_dysfunction_of http://identifiers.org/hgnc/3754 {source="Orphanet:555877"} ! FLNA
xref: Orphanet:555877 {source="MONDO:equivalentTo"} ! flna-related x-linked myxomatous valvular dysplasia
related to:
https://github.com/monarch-initiative/mondo/issues/2912

Isn't https://www.omim.org/entry/314400?search=myxomatous&highlight=myxomatous an exact match?
How is this different from MONDO:0010753, given that OMIM uses MYXOMATOUS VALVULAR DYSTROPHY, X-LINKED; XMVD as an alternate term for CARDIAC VALVULAR DYSPLASIA, X-LINKED; CVD1

@maglott I think you are correct. I think these two terms can be merged with: MONDO:0034937 FLNA-related X-linked myxomatous valvular dysplasia

MONDO:0015989 'congenital valvular dysplasia'
MONDO:0010753 'cardiac valvular dysplasia, X-linked'

authors: maglott nicolevasilevsky


text:
Request for new term stenosis of the external auditory canal

Label
stenosis of the external auditory canal
Synonyms
ear canal stenosis, stenosis of the auditory canal
Synonym type
exact
Definition
A narrow ear canal, where the eardrum can still be viewed but the canal is narrower than normal.
Parent term
MONDO:0019755 developmental defect during embryogenesis
Children term(s)
No response
ORCID Identifier
https://orcid.org/0000-0002-3458-4839
Website URL
No response
Additional comments
Reference: https://coastalearnoseandthroat.com/services/ear-surgery/ear-canal-stenosis-and-atresia/

@nicolevasilevsky are these added to the ROBOT template for new terms to be added into the upcoming Dec release?

I added it to the spreadsheet but it will be in the Jan release, not December. Do you need this sooner?

@twhetzel and @nicolevasilevsky
This sounds like a phenotype more than a disease. I question whether this term should be added in Mondo.

There are a number of "stenosis" of some anatomical location terms in MONDO currently. Are there plans to remove these other terms at some point?

During the Curation call on Jan 4, 2024 it was decided this term should not be added to Mondo.

authors: nicolevasilevsky sabrinatoro twhetzel


text:
Documentation

How about a flowchart to start with.

and complete step by step practical guide. i was lost in setup..

@Hueristic can this be closed?

It's quite the vague issue, and we have plenty of documentation now.

authors: Hueristic anonimal jonnytracker rehrar

repo: monero-project/monero-site


text:
Prep for implementation of PHP Operator Overloading.

This is just to show an option for implementing the PHP operator overloading that will hopefully be added in PHP7. This could also be added now by installing the RFC specs binary.
The RFC for this implementation can be found here.
NOTE: I haven't done any testing on this. I first wanted to get the opinions of the projects maintainers. There are a few operators that didn't have any obvious implementation for a Money class so for the functions that are currently throwing an exception since the aren't implemented...should they be? Does there need to be functionality added to the library before that would work?

This will bring the Money class closer to a real type that is similar to a native php one.

For the moment this has no sense. The RFC is - so far as I can tell - pretty much dead. In case the RFC, or a similar one, gets merged this might be reevaluated. Closed for now.

I threw that together simply because there is the library that could be installed already (linked in the RFC) if someone wants to use it. Since they are magic methods the fact that they exist wouldn't have any effect until the PHP extension was added. Also, since it's added as a trait it doesn't actually have to be added by default and could instead be an opt-in option.

Opt-in wouldn't work cause the class is final - the only way would be to have a second class like MagicMoney (no real idea).

repo: moneyphp/money

license: mit

license_source: bigquery


text:
fix decimal money parser to accept leading zeros

includes test for leading zeros in all parsers

Thanks @PowerKiKi


text:
Help 5834:  fix(sessions): actually allow ending of sessions

Currently, endSessions filters out any calls that happen while
the topology is connected. However, it is impossible to send
an endSessions command if you are not connected. This fix allows
sessions to be ended while the topology is connected.
Also adds a helper method that native can call to easily end all pooled sessions.
WIP b/c this currently breaks APM tests in native.

This should be ready for review @mbroadst @jlord

repo: mongodb-js/mongodb-core


text:
How to handle below scenario in solr or elasticsearch

I am doing daily batch update (around 100K Doc's) in MongoDB and the update process takes about 10 min to complete and if the connector is running during that time.. it is taking too much time to update in Solr or Elasticsearch.. i tried using auto-commit-interval to 1min but it din't help. How does this --auto-commit-interval work ? is it based on document insertion time in MongoDB, Suppose if i am doing bulkInsert in MongoDB, how does the connector handles with --auto-commit-interval=0 option. will it send a request for every doc of bulkInsert ?

The behavior of --auto-commit-interval is described in the wiki

for Elasticsearch: https://github.com/10gen-labs/mongo-connector/wiki/Usage-with-ElasticSearch#managing-refresh-behavior
for Solr: https://github.com/10gen-labs/mongo-connector/wiki/Usage-with-Solr#managing-commit-behavior.

To summarize: this option has nothing to do with insertion time in MongoDB; it manages how often a "commit" is requested on the remote end.
There's also an entry in the FAQ that gives a few recommendations on how to speed up the connector: https://github.com/10gen-labs/mongo-connector/wiki/FAQ#how-do-i-increase-the-speed-of-mongo-connector

@llvtt Thank you very much, it will be helpful if you can share some details about how commits will happen from "remote end" (solr or es) , is it like a request for every "id" or some kind of bulk requests ? and by any chance is that related to "bulkSize" in configuration option ?

Regarding my previous question, which one (solr or es)  will be faster in replicating the updates(not inserts) from mongoDB using same configuration options ?

Thanks

The goal of the "commit" operation makes available any outstanding changes for reading on the remote system. How this happens completely depends on what remote system you're using; I recommend reading the relevant documentation on Solr and Elastic for an explanation of how this works, since these kinds of implementation details are beyond my personal knowledge. Likewise, exactly how fast Solr will be versus Elastic or vice-versa will be very application-dependent. The most useful assessment of this will have to come from your own measurement.

Are there any methods for increasing performance for bulk operations specifically? This is definitely the sort of thing that should go through the _bulk API (for elasticsearch) but it looks like the oplog sees the bulk operation as individual transactions. Even with --auto-commit-interval=None the performance hit is severe.

Hi @trstephen there are no other ways as far as I know. If you would like to make a feature request please open a new ticket.

authors: aherlihy gsuresh92 llvtt trstephen

repo: mongodb-labs/mongo-connector


text:
(DOCSP-19987) Fix Windows "Permission Denied" Error

There seems to be a difference in behavior between Docker Compose on Windows and Mac:
On Mac, if a container is dependent on another container and the containers use the same image, you do not need to specify a build argument for the container which is built second as the image will be built when it is created.
On Windows, if a build argument is not specified for a container, then docker immediately checks docker-hub to see if the container exists (even if the container is dependent on another container).
To fix this error, build arguments were specified for the mongo1-setup container in all tutorials. This prevents docker from checking docker hub to see if the container exists.
I'm not sure this is a known issue, so it may be worth making an issue in the docker-compose repository to document this.

Created an issue!

repo: mongodb-university/kafka-edu


text:
Fix Filters.regex Javadoc

https://spruce.mongodb.com/version/5f4e52d3d6d80a0e00d2fa56/tasks

Merged on command line.

repo: mongodb/mongo-java-driver


text:
Use $$unsetOrMatches for upsert and multi in spec tests

Modifications made in a previous commit of bulkWrite-comment.json
had to be preserved, so this is not an exact copy of the spec tests
Modifications to require minServerVersion of 3.6 also had to be preserved,
since Java driver still supports older server versions

JAVA-4568

Merging without review since it's only test file changes


text:
Adding time interval to date objects in aggregation pipeline not working

I want to be able to add some time interval (hours in my case) given by one field hour, to a date given by another field (date) to create a new field (datetime) in an aggregation pipeline , i.e. performing the equivalent operation to datetime.datetime(year, month, day) + datetime.timedelta(hours=hour). From what I know there is no such timedelta object in bson (please correct me if I'm wrong and there is a better way to achieve that goal), but it is possible in mongodb/pymongo to convert the desired time interval into milliseconds and adding this to a date/datetime object. My code looks as follows:
from datetime import datetime

import mongomock
import pymongo

collection = pymongo.MongoClient().db.test
collection.insert_one({
    "date": datetime(2021, 1, 1),
    "hour": 6
})

collection.aggregate([
    {
        "$set": {
            "datetime": {
                "$add": [
                    "$date",
                    {"$multiply": ["$hour", 3600000]} # convert hours to milliseconds
                ]
            }
        }
    }
])

The code is working as expected since pymongo "knows" how to add an integer (milliseconds) to a datetime object. However when I want to test my code, using the mocked version of the database, it is not working. Replacing the 6th line of my code to mock the database collection = mongomock.MongoClient().db.test results in an TypeError caused by mongomock trying to add an integer to a datetime object.
I'm getting the following Traceback:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-8-4e9537e5d845> in <module>
      9 })
     10
---> 11 collection.aggregate([
     12     {
     13         "$set": {

~/venv/lib/python3.8/site-packages/mongomock/collection.py in aggregate(self, pipeline, session, **unused_kwargs)
   1746     def aggregate(self, pipeline, session=None, **unused_kwargs):
   1747         in_collection = [doc for doc in self.find()]
-> 1748         return aggregate.process_pipeline(in_collection, self.database, pipeline, session)
   1749
   1750     def with_options(

~/venv/lib/python3.8/site-packages/mongomock/aggregate.py in process_pipeline(collection, database, pipeline, session)
   1401                     "Although '%s' is a valid operator for the aggregation pipeline, it is "
   1402                     'currently not implemented in Mongomock.' % operator)
-> 1403             collection = handler(collection, database, options)
   1404
   1405     return command_cursor.CommandCursor(collection)

~/venv/lib/python3.8/site-packages/mongomock/aggregate.py in _handle_add_fields_stage(in_collection, unused_database, options)
   1301         for in_doc, out_doc in zip(in_collection, out_collection):
   1302             try:
-> 1303                 out_value = _parse_expression(value, in_doc, ignore_missing_keys=True)
   1304             except KeyError:
   1305                 continue

~/venv/lib/python3.8/site-packages/mongomock/aggregate.py in _parse_expression(expression, doc_dict, ignore_missing_keys)
    830             if it is possible.
    831     """
--> 832     return _Parser(doc_dict, ignore_missing_keys=ignore_missing_keys).parse(expression)
    833
    834

~/venv/lib/python3.8/site-packages/mongomock/aggregate.py in parse(self, expression)
    211         for k, v in six.iteritems(expression):
    212             if k in arithmetic_operators:
--> 213                 return self._handle_arithmetic_operator(k, v)
    214             if k in project_operators:
    215                 return self._handle_project_operator(k, v)

~/venv/lib/python3.8/site-packages/mongomock/aggregate.py in _handle_arithmetic_operator(self, operator, values)
    293             return abs(self.parse(values))
    294         if operator == '$add':
--> 295             return sum(self.parse(value) for value in values)
    296         if operator == '$ceil':
    297             return math.ceil(self.parse(values))

TypeError: unsupported operand type(s) for +: 'int' and 'datetime.datetime'

I think a type check in the last if statement from the traceback if operator == '$add' and probably on other places would help to mirror the behavior of pymongo when dealing with arithmetics of datetime objects and numbers.

I assume the resulting type would be the first argument ($date)? Will do some research later.

I assume the resulting type would be the first argument ($date)? Will do some research later.

Hey, is there any update/suggestive way to fix this ? Will give a PR if some guidance can be provided.
If not, is there a quick fix/hack @alexgawrilow you did in the meantime ?

@gautamvij94 Unfortunately, I did not find a way to fix or workaround it.
Since the error results from  mongomock trying to add an integer to a datetime object, what could help would be to check the type of the objects and if one of them is a datetime object, to convert the integers into timedeltas (with the correct unit, I think ms) and then add the objects together.

@pcorpet any objections to open the sum and check for datetimes? If performance is a concern we could try first the pure sum(...) and optimize for datetime in the except.
        if operator == '$add':
            def to_timedelta(ms):
                return datetime.timedelta(milliseconds=ms)

            total = 0
            has_datetime = False
            for value in (self.parse(value) for value in values):
                if isinstance(value, datetime.datetime):
                    has_datetime = True

                    # $add can have many args. In the middle we can
                    # find one (and only one) datetime
                    if not isinstance(total, datetime.datetime):
                        total = to_timedelta(total)
                    total += value
                elif has_datetime:
                    total += to_timedelta(value)
                else:
                    total += value
            return total

any updates on this ?

repo: mongomock/mongomock

license: ISC


text:
🛑 tchoung-te is down

In 579948c, tchoung-te (https://tchoung-te.mongulu.cm) was down:

HTTP code: 0
Response time: 0 ms

Resolved: tchoung-te is back up in fd1bbc3 after 2 hours, 56 minutes.

repo: mongulu-cm/uptime


text:
⚠ Quirk Club Argentina (API endpoint) has degraded performance

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

HTTP code: 200
Response time: 6487 ms

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


text:
打开软件没有反应

问题描述
打开软件没有反应
版本号
2.44
操作系统
Deepin(linux)
相关截图

相关日志
main文件夹下没有任何日志

问题已经解决，把openjdk卸载掉，重新装个其他的jdk就好了

repo: monkeyWie/proxyee-down


text:
Is SKPath is able to check if Point belong to path geometry ?

In WPF, when you draw for ex. circle using Path and set thick StorkeThickness, you are able to generate a new PathGeometry which contains is their segments also stroke (check MSDN).
Having this PathGeometry you are able to check if hit (touched) point belong to specified Path (check MSDN), and it works only for those places where this path is painted.
I would like to do this exactly in similar way in SkiaSharp.
When I touch canvas, I am able to detect proper SKPath (SKPath.Contains(x, y)) but this function relay on Rect, so when I have for example Circle and touch inside Circle, SKPath.Contains returns true.
How to achieve similar effect in SkiaSharp like in WPF ?

If I understand what GetFlattenedPathGeometry does, this might be what you are looking for: https://docs.microsoft.com/dotnet/api/skiasharp.skpaint.getfillpath

Currently, I finish working on this.
I draw a newPath taken from GetFillPath and check if pixel color in touched/clicked location has the same color like color of my original path (original path has always one color).
Having this function I was able also to detect the real beginning of drawn path for ex. you have triangle with thick StrokeThickness. Original SKPath doesn't include points where border begins but filled Path contains them.
I wanted to avoid drawing of this additional SKPath to detect the real edge of SKPath.
I thought that maybe there is some complex algorithm (based on interpolation) to check if a clicked point is inside SKPath without drawing this SKPath (at the end it is a set of figures in the cartesian system).
Anyway, thank you for pointing me a right direction.

Hi,
I am working on similar requirement. I am trying to imitate IsOutlineVisible function from GDI+ into WinUI3 using SkiaSharp. If possible, could you please share code here? How do you get mouse click location color and compare with your path color?
Thanks In Advance,
Amit

repo: mono/SkiaSharp


text:
German translation contributions.

Juan, unfortunately I did not see where in AMOS we could have translated. Please accept this pull request.
Best regards,
Luca

Thanks for your contribution but you can translate the German strings via https://lang.moodle.org/
You have to select the component: local_moodlemobileapp and Moodle version 2.6, you will see there the list of unstranslated strings

Oh, fair enough, I will deposit my contributions there!
You may spread this information further (didn't find it anywhere, I searched for it) and please do point out as well that you have to choose 2.6 as Moodle Version in AMOS ([https://lang.moodle.org/]) otherwise no result shows up.

Thanks for the suggestion, I created https://docs.moodle.org/dev/Translating_Moodle_Mobile

authors: jleyva lucaboesch moodlemobile


text:
Reagent bag

Using the latest Retail version of this add-on. I noticed that items that were in my inclusions List were not being sold if they were in the new reagent bag slot. If I pulled them out of that bag they would auto sell.

Can confirm. Items in the reagent bag are invisible to the addon.

authors: SchwarzschildX dysreflexia

repo: moody/Dejunk


text:
Feature Request: Provide multiple drivers for sqlite3, controlled through golang compilation options.

Feature Description
Select the corresponding SQLite driver through Golang compilation configuration.
Currently, there are three types of drivers to consider. Through flexible configuration, during Golang compilation, the required binary version can be compiled according to the compilation options to meet the needs of different personnel.
Here we will consider go-sqlite3, modernc sqlite, and sqinn-go with smaller size respectively.
After simple testing, their differences are as follows. The full score is 5 stars (the higher the better).

Binary Size represents the size after compilation (difference, not final value)
Reliability represents reliability
BuildEase represents build difficulty

Method
Binary Size
Reliability
BuildEase

go-sqlite3 (CGO)
⭐⭐⭐ 8.3 MB
⭐⭐⭐⭐⭐
⭐⭐⭐

modernc sqlite (PureGO)
⭐ 11 MB
⭐⭐⭐⭐
⭐⭐⭐⭐⭐

sqinn with go embed
⭐⭐⭐⭐ 6.3 MB
⭐⭐⭐
⭐

sqinn with go-bindata
⭐⭐⭐⭐⭐ 6.1 MB
⭐⭐⭐
⭐

Why is this feature needed?
go-sqlite3 (CGO): the most stable and popular driver.
modernc sqlite : uses SDK for external use, removing CGO dependencies.
go-sqinn: reduces binary size and is convenient for Red Team usage.
Checklist

[x] I have checked the existing issues for similar problems.

Screenshots/Videos
If applicable, add screenshots or videos to help explain your proposal.
Additional Context
Add any other context or screenshots about the feature request here.

Ref:

https://github.com/moonD4rk/HackBrowserData/issues/267

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
harrisonpan1, @bbbbbbboc, @zjliu1984, @ckaock, @zkqcommon, @jnhu76, @We5ter, @xhb, @zhouqinglong520, @tmetme, @ychandhcy, @sorcerer310, @alwqx, @lingyfh, @fanzhuanjun, @ilofxyt123, @Deamon-Z, @Mr9esx, @imloama, @linjunjj, @jaiminpan, @l123456789jy, @skysilence, @erbaijiu1, @beijingcao, @shawncat, @tiancaigg, @huluhaziqi, @KT350926, @SwyftG, @xiaoker, @cleett, @yangxianbo, @jacky-j2ee, @overflowzhang, @brightgong, @masonleung93, @qchen006, @DaBinGOGOGO, @Caterpenthe, @CNKCQ, @lanshanxin, @WangZiChen1996, @willemsestan, @hustlingFive, @chenzhuowen, @suchat932, @idiot1347, @irradiate, @zjulivermore


text:
Add character: Jinx

Hero Description
An impulsive and manic criminal from Zaun, Jinx lives to spread chaos.

Concept Art

Inspiration
Jinx is from League of Legends

Moves
Idle
Jinx in a position where his legs are slightly bent and a little squat, while his vise is facing forward, meanwhile, jinx uses both arms to hold the weapon to his right.
[STICK] Walk
Jinx puts his weapon back a little while running in the desired position.
[LEFT] Gatling
Jinx shoots with her primary weapon.
Animation: When shooting, the jinx body goes a little behind with the impact.
Pojectile: Small flash of fire

[MIDDLE] Flaming Bite!
Jinx throws traps in her front which remain active for 3s
Cast animation: Jinx get something from her right pocket and throw it to her front.
Effect Animation: The traps have a mouth shaped. When it hitting the ground happens a bounce effect.
Trap idle Animation: The little mouths of the traps open up quickly.
Trap end Animation: Traps explode
Note:

Multiply the number of traps in a parallel line
When trapped, the same jump for animation ** trap_end ** (explosion) and the enemy remains paralyzed with a short period of time, in addition to receiving damage

[LEFT] POW!
Jinx fires with her secondary weapon, a rocket carried on her backs.
Animation: Jinx removes the missile launcher from his back, and when she shoots, her body goes far back and her left leg lifts.
Pojectile: Small missile.

[Q] ZAP!
Jinx uses a stun gun to deliver a straight shock.
Cast Animation: Jinx takes her taser, takes aim for a short time, and fires a shot.
Effect Animation: While jinx adjusts the crosshairs, in the chosen trajectory, the shooting trajectory appears
Projectile: A small flash of energy that stops at the first enemy.

[E] TAUNT
Jinx starts and laughs.
Cast animation: none
Effect animation: Jinx plays and starts to laugh, as they leave
[SPACE] SUPER ULTRA MEGA MISSILE OF DEATH
Jinx fires a large missile that crosses the entire map until it hits an enemy, with a big explosion:
Cast Animation: Jinx squat down a bit and uses her rocket launcher to fire the missile
Projectile: Missil
Effect Animation: Huge explosion.

[SHIFT] Cheer up!
Cast Animation: none
Jinx gains movement speed
Effect Animation: While jinx runs, speed (wind) effects come out around her
note: increase the speed of the base walkcycle.

Tasks

[x] Idle
[x] Walk
[ ] Hurt
[ ] [LEFT] Gatling _ castanimation
[ ] [LEFT] Gatling _ projectile
[ ] [MIDDLE] Flaming Bite! _castanimation
[ ] [MIDDLE] Flaming Bite! _trap hitting the floor
[ ] [MIDDLE] Flaming Bite! _trap idle
[ ] [MIDDLE] Flaming Bite! _trap end (explosion)
[ ] [RIGHT] POW! _castanimation
[ ] [RIGHT] POW! _projectile idle
[ ] [RIGHT] POW! _explosion
[ ] [Q] ZAP! _castanimation
[ ] [Q] ZAP! _projectile idle
[ ] [Q] ZAP! _path
[ ] [SPACE] SUPER ULTRA MEGA MISSILE OF DEATH _castanimation
[ ] [SPACE] SUPER ULTRA MEGA MISSILE OF DEATH _projectile idle
[ ] [SPACE] SUPER ULTRA MEGA MISSILE OF DEATH _colission explosion
[ ] [SHIFT] Cheer up! (Walkcycle with velocity effects)

Approved for work!

wip_01
hours worked: 4 hours

today i worked on the jinx model, and some guns.

wip_02
hours worked: 10 hours and 10 minutes
today i worked on the idle animation and also the walkcycle blockout

wip_03
worked hours: 16h5m
i update some gif references (frame by frame)

super_ultra_mega_missile_of_death_projectile
super_ultra_mega_missile_of_death_cast_animation
pow_cast_animation
flaming_bite_cast_animation
zap_cast_animation

[WALK]

walk cycle fineshed

** [MIDDLE] Flaming Bite! **

flaming_bite_trap_idle

** [SPACE] SUPER ULTRA MEGA MISSILE OF DEATH **

super_ultra_mega_missile_of_death_projectile

** [MISC] **

updated the rocket model

wip_04
worked hours: 22:15
i fineshed the most of the simple animations and i'm ready to start the most complex ones (cast animations)
[MIDDLE] Flaming Bite!

trap hitting the floor
trap animation end

Hurt

[SPACE] SUPER ULTRA MEGA MISSILE OF DEATH

missile refine

[SHIFT] Cheer up!

cheer up velocity lines (still unfinished)

[LEFT] POW!

missile little explosion (when collide)

[Q] ZAP!

zap projectile path

wip_05
hours worked: 27 hours and 45 minutes
[SPACE] SUPER ULTRA MEGA MISSILE OF DEATH

collision explosion

[Q] ZAP!

blockout of the cast animation

wip_06
worked hours: 31:15
[SHIFT] Cheer up!

fineshed animation

[Q] ZAP!

zap cast animation (still unfinished)

[LEFT] Gatling

cast animation
projectile

wip_07
hours worked: 38 hours and 45 minutes
[Q] ZAP!

zap cast animation (finished)

[LEFT] Gatling

cast animation (retouch)

[LEFT] POW!

cast animation

[MIDDLE] Flaming Bite!

cast animation

[SPACE] SUPER ULTRA MEGA MISSILE OF DEATH

cast animation (wip)

wip_07
hours worked: 44 hours and 45 minutes
[TAUNT]

taunt animation

reference:

[SPACE] SUPER ULTRA MEGA MISSILE OF DEATH

cast animation

@MaisaMilena @MaiaVictor
for the jinx character, i think it was done.
what do you think ?

I think so. You did an amazing job on her.

authors: MaisaMilena marcmotta

repo: moonad/TaelinArena


text:
Fix "user input malformed" error in config_flow

Proposed change

Added default value for mp4 toggle to False

Type of change

[ ] Dependency upgrade
[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (which adds functionality)
[ ] Breaking change (fix/feature causing existing functionality to break)
[ ] Code quality improvements to existing code or addition of tests

Additional information

This PR is related to issue: n/a

Codecov Report

Merging #323 (85c43cf) into 0.3.0 (6cebcef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            0.3.0     #323   +/-   ##
=======================================
  Coverage   97.44%   97.44%
=======================================
  Files           3        3
  Lines         745      745
=======================================
  Hits          726      726
  Misses         19       19

Impacted Files
Coverage Δ

custom_components/mail_and_packages/config_flow.py
100.00% <ø> (ø)


text:
Update Pages “the-role-of-digitalization”

Automatically generated by Netlify CMS

👷 Deploy Preview for famous-kulfi-ae21db processing.

Name
Link

🔨 Latest commit
6d3faffd7c4963e332d62893b93faf7073eade95

🔍 Latest deploy log
https://app.netlify.com/sites/famous-kulfi-ae21db/deploys/657f1f6edb740a0008238169


text:
Batch() returns non-empty batch sequence for empty input collection

The following test is failing with MoreLinq v3.3.1 and was passing with MoreLinq v3.2.0:
new string[0].Batch(100).ToArray().Should().BeEmpty();

I think this is side-effect of #623 optimization. If this change in behavior was intentional it would be nice if it had been documented somewhere.

@AndrewKostousov That is certainly a bug that seems to have slipped through the cracks and thanks for reporting it!

The fix for this is now published as part of version 3.3.2.

authors: AndrewKostousov atifaziz

repo: morelinq/MoreLINQ


text:
.netcoreapp2.0 is out of support

          is it ok? https://ci.appveyor.com/project/morpher/yandex-checkout-v3/builds/49703667/messages, .netcoreapp2.0 is out of support

Originally posted by @zamap in https://github.com/morpher-ru/Yandex.Checkout.V3/issues/56#issuecomment-2081950233

@zamap, many sdks are out of support, .net5 included. But they're still being used, that's why we need to target them.

@zamap Happy for me to close this issue?

yep

authors: bzaar zamap


text:
ValueError: SAM/BAM file 'sam_file' does not exist!

Hi！when i run the code
talon \ --db talon.db \ --f talon_config.csv \ --threads 10 \ --build ini_talon_hg38 \ --cov 0.99 \ --identity 0.95 \ --o /data/work/temp/talon_anno,the error says
SAM/BAM file 'sam_file' does not exist! Traceback (most recent call last):   File "/usr/local/envs/talon_env/bin/talon", line 8, in <module>     sys.exit(main())   File "/usr/local/envs/talon_env/lib/python3.7/site-packages/talon/talon.py", line 3148, in main     sam_files, dset_metadata = check_inputs(options)   File "/usr/local/envs/talon_env/lib/python3.7/site-packages/talon/talon.py", line 1896, in check_inputs     raise ValueError(msg) ValueError: SAM/BAM file 'sam_file' does not exist!" ,what issue could trigger the error?could anyone give some advice?Thanks!

talon_config.csv contains your sam file, you need to check if your sam file path is correct.

Thank you for quick reply! I will check again!

repo: mortazavilab/TALON


text:
🛑 Bama is down

In c982ac3, Bama (https://bama.design) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bama is back up in 8343033 after 6 minutes.

repo: mortonpepper/upptime-upptime


text:
Consistency in docs [State, time, callbacks]

I am re-writing a callback that was working on composer 0.5 and now it does not.
I see that there is a new class time and that state.epoch is not there anymore, the problem is that the docs still point to that. Like here or that Logger cannot be imported from composer (from composer.loggers import Logger)
I am having a hard time creating a custom callback, maybe a tutorial with the new API?
The callback is for logging images to wandb:
import wandb
from composer import Callback, State, Logger

class LogPredictions(Callback):
    def __init__(self, num_samples=100, seed=1234):
        super().__init__()
        self.num_samples = num_samples
        self.data = []

    def eval_batch_end(self, state: State, logger: Logger):
        """Compute predictions per batch and stores them on self.data"""
        if state.epoch == state.max_duration: #on last val epoch
            if len(self.data) < self.num_samples:
                n = self.num_samples
                x, y = state.batch_pair
                outputs = state.outputs.argmax(-1)
                data = [[wandb.Image(x_i), y_i, y_pred] for x_i, y_i, y_pred in list(zip(x[:n], y[:n], outputs[:n]))]
                self.data += data

    def eval_end(self, state: State, logger: Logger):
        "Create a wandb.Table and logs it"
        columns = ['image', 'ground truth', 'prediction']
        table = wandb.Table(columns=columns, data=self.data[:self.num_samples])
        wandb.log({'sample_table':table}, step=int(state.timer.batch))

Hi there!
We removed state.epoch, state.step, and state.timer. Instead, for the epoch count, could you try using int(state.timestamp.epoch), and for the batch count, int(state.timestamp.batch)? See the Timestamp API Reference for more info.
We'll add the re-export of the Logger to composer to the next release; but for now, yes, could you use from composer.loggers import Logger.
Sorry for the confusion but thanks for letting us know -- we'll get it fixed!

authors: ravi-mosaicml tcapelle

repo: mosaicml/composer


text:
Adding use_masked attr to new GPT-2 YAMLs

We just merged in some new GPT-2 YAMLs, but they lack the use_masked_lm property. This serves to add this to the YAMLs, so BERT can get merged in.

Ah, I just started rebasing and a ton of problems appeared, so this seemed quicker
Basically, adding the GPT-2 YAMLs made PR Gate fail all of a sudden (due to missing a value), and it was quicker to add this PR rather than rebase off of dev + fix it in the BERT PR!


text:
Improved docstring for surgery algorithms

Addresses #406 by adding, for {Blurpool, Factorize, Ghost BN, Squeeze Excite, Stochastic Depth}:

[X] An example of use in the functional API docstring
[X] Types in plaintext next to argument names
[X] More copies of the arguments. Previously some functional API functions indirected to their Algorithm class. Given that we're not even indirecting for default arguments, seemed like we'd want to have the docs self-contained as well.
[X] Expanded docstrings for other public classes and functions, like custom module types. Left some indirection here because otherwise it was a ton of repetition; e.g., we'd be explaining "stride" 8 different times for blurpool. But not positive I chose what/how to indirect ideally.
[X] Updated __all__ in __init__.py
[X] module-level docstrings

Also I fixed an outdated function name in functional/__init__.py.
Two slight semantic changes:

apply_blurpool and apply_stochastic_depth now return the model, instead of None (like other algorithms)
apply_stochastic_depth now has a default min_channels (which it was supposed to have before)

Not fixed:

Consistency across all algorithms (e.g., a few augmentation algorithms put their examples before args)--I only touched the algorithms listed above.
Examples for every public function. There are a few functions in blurpool and factorize that aren't needed to use the functional or Algorithm API, but might be useful for users wanting something more DIY.
Adding Default = Whatever after every arg. Almost nothing in the algorithms dir has this, so I'm keeping this consistent for now. Can add them all later if desired.

Awesome feedback. Think I addressed all of it, except:

Still no Default = whatever at the end of all the args, partially for consistency and partially for time + PR length.
Didn't impose a standard on whether docstrings end with periods or not. We should probably make this consistent everywhere at some point, so I'll punt on making local changes until we have a clear rule for that.

@Landanjs  I resolved your last comment above, but github won't let me click resolved for unclear reasons (UI bug?), and it's blocking merge. Could you delete that comment or resolve it?

I resolved it -- need to click into the Files Changed tab.

authors: dblalock hanlint


text:
Overlay opacity is shown even when the dialog is hidden

I have a problem when using react-native-simple-radio-button inside a dialog from react-native-popup-dialog https://github.com/jacklam718/react-native-popup-dialog
I found a similar issue here with react-native-modal-selector  https://github.com/peacechen/react-native-modal-selector/issues/76#issuecomment-405948871 . The solution provided there works, by removing
 if (Platform.OS === 'android') {       UIManager.setLayoutAnimationEnabledExperimental &&         UIManager.setLayoutAnimationEnabledExperimental(true);     }
From the RadioForm component.
I will make a pull request to remove this, I would like to know if these lines affect drastically the behaviour or performance of this module.

#98

Hope you can merge the pull request @moschan


text:
MSIBI Revamp

Part of my work over the last few years involved using the MISBI method to create CG potentials for polymers,
and a lot of effort was spent by myself and @jennyfothergill to build up a working python package for doing that, building on top of what was already in this repo. This resulted in essentially a complete revamp.  After talking with my PI (Eric Jankowski) we felt it was time to make a PR to mosdef-hub for better visibility and engagement. This isn't a finished product, but is much improved and so far seems to work well for learning bond, angle and pair potentials. The README.md file has a couple examples of the new API.
Main additions include:

Learning more than just pair potentials. IBI is especially useful for learning angle potentials for polymers.
Setting multiple forces in the MSIBI iterations (e.g. Setting fixed bond and angle potentials while learning pairs)
Uses Hoomd 4 and Freud
Convenient methods for saving forces, table potentials, plots, etc..
Target distributions are calculated for you when creating State and Force objects
Improved testing coverage
Improved documentation

Main To Dos remaining are:

Make a set of tutorials with the new API
Add helpful converters so that other trajectory file types can be passed in
Further testing and validation

@ctk3b I'm glad you were notified by the PR! Maybe @tcmoore3 will stop by too, although I've talked to him a few times about all these changes when we run into each other at conferences. I totally understand if you don't have time to do a thorough review, though.
In regard to splitting this PR into multiple PRs, while I totally agree that would be a more sensible approach, I'd still prefer to do it all in this PR. Mostly for the sake of time. But, also because the goal of this PR is not necessarily to be a final version ready for release, but to move further development and maintenance of MSIBI to the MoSDeF repository instead of our lab's fork. Now that I'm an owner/admin with MoSDeF I'll continue closing up any loose ends over here through the more sensible use of smaller issues and PRs. I know this isn't ideal, but I think getting all of these changes upstream will be beneficial.
Most of these changes were done over several separate PRs in our lab's fork of MSIBI which you can see here.  Examples of the API can be seen in our fork's README.
In regard to the CI changes, they are essentially an exact copy of what we're now doing in mBuild, Foyer, and GMSO. So, that is to say, I think the CI changes here are already pretty well reviewed and vetted from when we implemented them in these other packages, and for consistency's sake, the plan is to use it here as well.
This PR shows the majority of the documentation changes. It's mostly added sections for the new classes (Force, Pair, Bond, Angle, Dihedral).

repo: mosdef-hub/msibi


text:
Use a main file as the package entrypoint.

Instead of resume_cli.main(). See the python docs. This may be opinionated but I think it looks nicer. I don't think it's a PEP but it's a good practise.

I think the big question is can this be the file to put in the setup.py as the entry point, I never did this or seen it used, so I don't know how it will work.
My point is that I don't want to duplicate code for this.
How is this supposed to be done? (I want to implement this locally and check that everything works as before, may be except the name of the program, before updating the repository and/or pypi)

Just create a file named __main__.py in the package, then move your if __name__ == __main__: block from resume_cli.py in here. Import your main() from resume_cli.py. Done.
That will allow you to replace the absolute import with relative one and prevent redundant imports.
You will also be able to call the module with python -m resume_json_python.

Why do you prefer it this way?
I ask because it just add a bit of code just to enable the python -m running, but the code become a bit more messy to make it work as a script, and with the -m option.
I don't think there are any redundant imports, can you point me to one (even if I except this I need to know about them)?
I think I will do this (did most of the work already), but need to understand better the benefits (it's OK if it's only enabling the python -m, just want to know about it), it seems like the relative import are possible even without the __main__ so I think it's not relevant for this

Have a read of https://stackoverflow.com/a/28154841. I'm more inclined to use the solution 1, it's easier for everyday developments, as far as I'm concerned.

First, thanks for the link, I still need to read it again to understand all the details, but I think I can learn from it.
I think we will need to keep the absolute imports so it won't break when using as a script, but since __main__ is improving the way to work with the app (because it enables the option to do python -m resume_json, without losing any functionality) I will add it.


text:
Optimize the current examples configuration

The New Feature
Describe the new feature you want to support clearly.
Your scenes
现有的mosn的example的让人太混淆了，个人理解example是想模拟一个dubbo监听2045端口接受client请求，一个dubbo监听2046端口接收mosn的请求，但现在的example把2045和2046都放到一个里面，让配置文件看起来太难懂了，搞了个闭环一样的！！！
https://github.com/mosn/mosn/blob/master/examples/codes/http-sample/config.json
Your advice
如果是要模拟我说的场景，那就起两个mosn，不然堆到一个configure里面，对于用户太难理解了。
Environment

MOSN Version

你的理解是正确的，就是为了模拟client->mosn->mosn->server的场景
如果拆分成两个配置，那么运行一个example需要两个机器才能跑起来。
因为mosn做了平滑升级，一个机器如果同时存在两个mosn就认为处于平滑升级的状态，最终只会留下一个mosn

可以看通过配置项默认把平滑升级的能力关闭了，让可以本地运行2个mosn，让exmple更好理解，分为client.json和server.json 两个文件。

master 分支已将大部分配置均分离为 client_config.json 和 server_config.json

authors: cch123 nejisama taoyuanyuan wenxuwan

repo: mosn/mosn


text:
Hide some items in a sub-menu

Hi,
I would like to hide only the Google items in the 'New' context sub-menu but can't seem to figure out how to reference the sub-menu items. I would appreciate your assistance if this could be achieved.
Many thanks in advance

Currently only top level menu items are customized, I'll try to target other levels later.

Hi @wolive-20,
Modification of sub-items is supported by this command
static
{
    item(find='shortcut' in='/new' vis=remove)
    item(find='rar|cab' in='/7-zip/open archive' vis=disabled)
}

You can use this feature in the next update

Hi @moudey, thank you so much for this! Is it possible to move sub-items to the main menu? For example, moving '/7-zip/open archive' to the main menu. Thanks again.

Hi @zilpe
This feature will be added later

@wolive-20 Please test this build
add this code to static items
static
{
    item(find='google' in='/new' vis=remove)
    item(find='rar|cab' in='/7-zip/open archive' vis=disabled)
}

Hi @moudey - I've downloaded the test build and added the static entries below to the shell.nss file. Unfortunately it does not work.
static
{
item(find='Shortcut' in='/new' vis=remove)
item(find='Google Docs' in='/new' vis=disabled)
item(find='Google Sheets' in='new' vis=remove)
}

@wolive-20 Sorry try this

Hi @moudey - The latest version works perfectly, thank you very much.
static
{
item(find='Shortcut' in='/new' vis=disabled)
item(find='Google*' in='/new' vis=remove)
}

authors: moudey wolive-20 zilpe

repo: moudey/Shell


text:
Se añade fichero para los usuarios

Ejemplo de la pull request o pr

Hola,
Has borrado todo el contenido del fichero. Sólo tienes que añadir tu nombre al final. Cierro la PR para que envíes una nueva cuando quieras.
Un saludo.

repo: mouredev/hello-git


text:
Hola Moure

<3

Cierro la PR por inactividad. Puedes solucionar los problemas y enviar una nueva cuando quieras.

authors: LucianaAG mouredev


text:
"MoveIt Quickstart in RViz" seems to be out of date

Description
I successfully ran and went through the MoveIt Quickstart in RViz however I noticed a few details in the tutorial to be different than the demo I ran:

World is not empty upon launching the demo for the first time
There seems to be no kinova robot but a panda robot
Fixed Frame field does not have a /base_link option but rather is already set to panda_0
Planned Path menu drop-down in Displays seems to have been renamed to Trajectory
under MotionPlanning in Planning Request there is no Planning Group called manipulator but rather panda_arm

There may be few more discrepancies which I may have missed.
🚀 I am new to opensource and if this page needs to be updated I would like to volunteer to help do so. Please guide me accordingly.
Your environment

ROS Distro: Humble
OS Version: Ubuntu 22.04

Steps to reproduce
Step 1: Getting Started
Step 2: MoveIt Quickstart in RViz
Expected behaviour
Documentation must be up to date with the current demo.

If you see a Franka robot, then you must be using the Humble version of the tutorials. Main used a Kinova.
So you can either use the main branch of the tutorials (noting this only works on Jazzy/Rolling now), or follow along with the Humble tutorials.
https://moveit.picknik.ai/humble/doc/tutorials/quickstart_in_rviz/quickstart_in_rviz_tutorial.html

Oh makes sense. Thank you

authors: muhidabid sea-bass


text:
Fix linting errors in libs/movex-server

[x] running npx nx lint movex-server --quiet will not return any more errors

Closes: #130

@GabrielCTroia it would be great if this issue can be counted in Hacktoberfest or I can work on other issues too. Let me know which one to pick.

I just added the hacktoberfest labels! Thanks for pointing it out 🙏

authors: GabrielCTroia riteshmukim

repo: movesthatmatter/movex


text:
ValueError: Latitude must be in the [-90; 90] range.

I tried to run the code below
gdf = gpd.read_file('geolife_small.gpkg')
gdf
tc = mpd.TrajectoryCollection(gdf, 'trajectory_id', t='t')

my_traj = tc.trajectories[0]
my_traj
detector = mpd.TrajectoryStopDetector(my_traj)
stop_time_ranges = detector.get_stop_time_ranges(min_duration=timedelta(seconds=60), max_diameter=100)

Essentially following the tutorial on stop detection with single trajectory.
But I got ValueError: Latitude must be in the [-90; 90] range.
This is not an issue when the longitude value is less than 90.

Yes,  this is a known issue which I've fixed recently https://github.com/movingpandas/movingpandas/issues/336
Please stay tuned for the new release in the upcoming days

Great, thanks so much. Looking forward

authors: anitagraser wongimae

repo: movingpandas/movingpandas-examples


text:
[WIP] Add :moxy-ktx

Добавил в :moxy интерфейс MvpDelegateHolder, реализовал этот интерфейс в классах, которые расширяют android классы, немного изменил MvpProcessor, и добавил делегат moxyPresenter. Выглядеть будет примерно так:
private val presenter by moxyPresenter { presenterProvider.get() }

Добавил пример в README, и ещё javadoc на классы

repo: moxy-community/Moxy


text:
Overhaul for molotov

This overhauls the load tests to work with molotov 0.3 and aiohttp.
The compressed tests don't work and thus the scenarios have a different weighting.
I'm puzzled by what's going on with the compressed tests. What happens now is that they hang during the session.post call indefinitely. It's possible the payload is in the wrong form and so when whatever machinery in aiohttp goes to post the data, it's reading and blocks on that or something like that. I'm not sure what's going on, yet.
The docs have this:
http://aiohttp.readthedocs.io/en/stable/client.html#uploading-pre-compressed-data
That matches our scenario, except we're using gzip compression. Maybe aiohttp is doing something fancy that is surprised by gzip compression? Maybe the payload is not the right type?

aside from few nits, r+.  merge when ready.
hmm, not sure about the compressed test.  i ran it and got 0 OK, 0 Failed.  Perhaps @tarek @m8ttyB and i can take a look.

This is not done and not ready to be merged. I posted it because it's a work-in-progress and I was having problems with the scenarios that send compressed payloads.
Please don't merge it until that gets figured out and I've finished the work involved.

sounds good

I figured it out--it wasn't updating the content-length in the headers.
I'll finish up this code and push fixes today.

This is all fixed up now.
There are a couple of nice things about this version of molotov vs. the version of ailoads we had before:

verbose mode is much nicer and makes it easier to debug problems
async io means that outgoing network requests aren't blocking in nature, so a node can do more of them without having to resort to lots of processes

Given that, I think it's worth switching to.
I've only run it manually on my local machine and haven't done any of the docker stuff with it. I don't know what changes are required to get this working in a test cluster.
r?

@tarekziade when it's convenient can you take a look and r?

@tarekziade If there's stuff I can help with re: molotov 0.4, let me know. I fixed the import. We can probably wait until a molotov 0.4 release, then update this and then think about merging it then.

@willkg great, thanks a lot!  things should happen sooner than later - I want to raise the coverage and make the docs look better + include two small feat. request. If this is blocking your progress I can happily push 0.5 now and do what I am mentioning for 0.5 - no big deal, let me know

@m8ttyB ^^^ Do you have thoughts? On the call earlier, I think you mentioned that you want to go with ailoads for the tests now, but then update to molotov afterwards. Thus, I leave the timing questions up to you.

Wow, thanks you guys. @tarekziade no rush on the timing wrt 0.4. What we currently have is tested and working, in a way introducing less churn right now would help me.  Either way it's not a big deal.

WFM
**** Molotov v0.4. Happy breaking! ****
[64857] Preparing 1 workers...OK
SUCCESSES: 62 | FAILURES: 0
66 OK, 0 Failed

r+ <3

authors: m8ttyB rpappalax tarekziade willkg

repo: mozilla-services/antenna-loadtests


text:
Viewer: Password secured PDF focussing issue

Tested in latest Chrome and FF:
If you have multiple PDF files embedded as Iframe (via viewer.html) and at least one of them is password protected, the browser automatically jumps to the (first) iframe that shows the password prompt.
Imho, the iframe shouldn't modify the behavior of it's parent in any way.
See https://support.softcreatr.com/thread/4360-pdf-test/ for a demo.

the browser automatically jumps to the (first) iframe that shows the password prompt.

But wouldn't that suggest a browser issue, rather than a PDF.js one, in that case?
Furthermore, the PDF.js default viewer uses a custom password prompt and not window.prompt() or similar.

See https://support.softcreatr.com/thread/4360-pdf-test/ for a demo.

Huh, but none of those PDF documents ask for a password when opened!?

Finally, please note http://mozilla.github.io/pdf.js/getting_started/#introduction (emphasis mine):

The viewer is built on the display layer and is the UI for PDF viewer in Firefox and the other browser extensions within the project. It can be a good starting point for building your own viewer. However, we do ask if you plan to embed the viewer in your own site, that it not just be an unmodified version. Please re-skin it or build upon it.

But wouldn't that suggest a browser issue, rather than a PDF.js one, in that case?

Since this happens in all (tested) Browsers... Dunno.

Furthermore, the PDF.js default viewer uses a custom password prompt and not window.prompt() or similar.

I'm aware of that. That's why I think, that this is an issue with this lib.

Huh, but none of those PDF documents ask for a password when opened!?

Restored it 😄

Finally, please note http://mozilla.github.io/pdf.js/getting_started/#introduction (emphasis mine):

That's planned. I'Ve just started working with it.

Apparently an iframe will be automatically scrolled into view, by the browser, if an element within it is focused.
Looking at the code in question, see https://github.com/mozilla/pdf.js/blob/86a4ba55c56f735e51e29a7aa368bcdcce9d8a23/web/password_prompt.js#L70, this is thus expected behaviour since forcing users to manually focus the password-input doesn't seem like a great UX in general; please keep in mind that the default viewer exists primarily for the Firefox use-case.
I'm not sure if we want to change this, in PDF.js, for the embedded use-case specifically; however you can always change it in your own implementation.

Also, for future reference: Please save everyone's time by actually filling out the ISSUE_TEMPLATE when opening an issue.

Thank you for the hint. For our case, I've commented out the focus line and it works as expected now.

The pull request above fixed the issue that was reported here by not focusing the password input field on load if we're embedded in an iFrame.

Thank you :)

authors: Snuffleupagus SoftCreatR timvandermeij


text:
Wrong rendering

Attach (recommended) or Link to PDF file here:
BCSA31_LIFE-newsletter-single-pages_web_v2-3.pdf
Configuration:

Web browser and its version: Chrome latest Version 89.0.4389.90 (Official Build) (64-bit)
Operating system and its version: Windows 7
PDF.js version: 2.8.272
Is a browser extension: no

Steps to reproduce the problem:

open the pdf in https://mozilla.github.io/pdf.js/web/viewer.html
compare with Adobe reader.

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

SVG rendering takes less time and goes further

authors: cetinsert iberezansky


text:
Android 12 - 13 and Chrome v109 - v110 rendering issues and glitches pdfjs

Attach (recommended) or Link to PDF file here: https://mozilla.github.io/pdf.js/web/viewer.html
Configuration:

Web browser and its version: Chrome 110.0.5481.65
Operating system and its version: Android 13; Build/TQ1A.230205.002
PDF.js version: At least 3.4.103 (demo URL) or 3.1.81
Is a browser extension: No

Steps to reproduce the problem:

Visit the URL in android device
Do some scroll and/or zoom

What is the expected behavior? (add screenshot)
(Firefox screenshot)

What went wrong? (add screenshot)
(Chrome)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

This unfortunately looks like a browser, or possible graphics-driver, related bug rather than a general PDF.js library one. (Since you'd expect it to be consistently broken everywhere otherwise.)
One thing that'd be interesting is to check if disabling of hardware acceleration, in the browser, would help here?
To do so in Google Chrome, open the about:flags page and search for (and disable) hardware acceleration.
Does that fix things, because if so this definitely is a bug in the browser itself and needs to be reported to the Chromium bug tracker instead. (And in any case, this bug most unfortunately doesn't look actionable here.)

I agree; this looks very much like a Chrome-specific graphics bug, either in the browser engine or in the graphics driver. I would recommend to file this bug in the Chrome bug tracker instead.


text:
Enable the Stylelint shorthand-property-no-redundant-values rule

Note that these changes were done automatically, using gulp lint --fix; this rule will help avoid unnecessary repetition in the CSS.
Please find additional details about the Stylelint rule at https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values

/botio lint

/botio lint

/botio-linux preview

/botio-linux preview

Thank you for extending the linting!

Thank you for extending the linting!

authors: Snuffleupagus timvandermeij


text:
Widget annotations: do not crash if Parent is not a dictionary during field name construction (issue 8143)

Fixes #8143.

/botio-linux preview

/botio test


text:
Generate Antropometric constant values

Can you give me some hints on how to generate the Antropometric constant values based on the paper "Head-and-Face Anthropometric Survey of U.S. Respirator Users" since I cannot find the data about 3D model points.

Hi @GinYM
I got the anthropometric data from the article you mentioned. In Deepgaze the values are reported in the python file called head_pose_estimation.py and stored in the following numpy arrays:
         P3D_RIGHT_SIDE = np.float32([-100.0, -77.5, -5.0]) #0
         P3D_GONION_RIGHT = np.float32([-110.0, -77.5, -85.0]) #4
         P3D_MENTON = np.float32([0.0, 0.0, -122.7]) #8
         P3D_GONION_LEFT = np.float32([-110.0, 77.5, -85.0]) #12
         P3D_LEFT_SIDE = np.float32([-100.0, 77.5, -5.0]) #16
         P3D_FRONTAL_BREADTH_RIGHT = np.float32([-20.0, -56.1, 10.0]) #17
         P3D_FRONTAL_BREADTH_LEFT = np.float32([-20.0, 56.1, 10.0]) #26
         P3D_SELLION = np.float32([0.0, 0.0, 0.0]) #27 This is the world origin
         P3D_NOSE = np.float32([21.1, 0.0, -48.0]) #30
         P3D_SUB_NOSE = np.float32([5.0, 0.0, -52.0]) #33
         P3D_RIGHT_EYE = np.float32([-20.0, -32.35,-5.0]) #36
         P3D_RIGHT_TEAR = np.float32([-10.0, -20.25,-5.0]) #39
         P3D_LEFT_TEAR = np.float32([-10.0, 20.25,-5.0]) #42
         P3D_LEFT_EYE = np.float32([-20.0, 32.35,-5.0]) #45
         #P3D_LIP_RIGHT = np.float32([-20.0, 65.5,-5.0]) #48
         #P3D_LIP_LEFT = np.float32([-20.0, 65.5,-5.0]) #54
         P3D_STOMION = np.float32([10.0, 0.0, -75.0]) #62

The reference point (0,0,0) is the sellion, that is the bridge of the noose. The other coordinates are estimated moving on the three axes respect to that point. The left eye for instance is  P3D_LEFT_EYE = np.float32([-20.0, 32.35, -5.0]) #45 the three numbers are expressed as X-Y-Z coordinates, with X pointing forward, Y on the left and Z up.
If you want to calibrate this coordinates on a specific face, then you have to estimate all those distances. A good performance can be obtained using a few points, the only requirement is that the points are not on the same plane.
Regards, Massimiliano

authors: GinYM mpatacchiola

repo: mpatacchiola/deepgaze


text:
New parser logic.

This algorithm can deal with a pretty rare edge case of the sequence \n\n at the end of a event arriving on separated network packets.

Hi @rodrigovr,
Thanks for the PR! Does this fix #33 as well?

hello @mpetazzoni !
This PR didn't originally fix #33 but I just added one more commit addressing the issue after reading the specs at https://html.spec.whatwg.org/multipage/server-sent-events.html#dispatchMessage
hope you can validade and accept it to the upstream
best regards

authors: mpetazzoni rodrigovr


text:
V2.3 Tour Doesn't Work

Please view this tour (using API method): http://chrusion.com/tmp/RWR_Tour_EQ.html
Notice that SCENE hotspot links do not work. Cursor changes to an arrow, instead of a pointer finger on mouse over of the hotspot icon. The title of the next scene does appear on mouse over, but the arrow icon is not "clickable," as in, clicking it does nothing... the viewer does not load the next image defined in the scene (yes, the /path/filename is valid (all files are in the root folder).
I've reviewed and scanned over the json syntax in the

The correct key for specifying the hot spot scene ID is sceneId not sceneID; your capitalization is wrong (and JSON is case sensitive).

Oh, Wow! How did I miss that? Thank you very much. Now works.

Doh! Thanks for catching that... works perfectly now! Now that I have all 8 panos linked, the fun begins in getting coordinates for all the hotspots and implementing other features offered in the API.

Just ran into this problem and found this thread, thanks for the answer!

authors: SimonEnvisionVR chrusion mpetroff

repo: mpetroff/pannellum


text:
Escape output in example-requests templates

I'm using Laravel's "simple API Authentication" - https://laravel.com/docs/5.8/api-authentication
The tokens it generates contain the dollar sign by default as shown below:
    -H "X-Access-Token: Bearer $2y$10$qRT...

This causes problems when trying to execute the bash examples in the terminal, suspect they are being treated as variables? Adding a backslash to escape the dollar sign solves the problem:
    -H "X-Access-Token: Bearer \$2y\$10$qRT...

Fixed in 4.0.2

authors: ncatanchin shalvah

repo: mpociot/laravel-apidoc-generator


text:
Also bind the full class name in the service provider, not only the facade

I noticed a small glitch when using the Controller class, which comes in play when using the frontend integration.
A VatCalculator instance is injected in the constructor of this class. But when the container resolves this class, it doesn't use the binding defined in the service provider (registerVatCalculator()), as this only binds the facade, not the main class. For the main class, the container will just use basic reflection, which is ok most of the times, but it means the $config parameter is not set.
This results in not having the config set in this controller, and ultimately the frontend integration ignoring your custom config (e.g. the business_country_code).
This PR makes sure the \Mpociot\VatCalculator\VatCalculator class is also bound.
Thank you for your feedback and/or merging!

Thank you for the PR!
I also removed the failing test, because it wasn't really testing anything (besides spell checking).

authors: mpociot webcraft

repo: mpociot/vat-calculator


text:
Generics review the code and UT

Review the  Generics example to make sure it covers all aspects of this topic.

It takes over the Generics - add example #16
Mark #16  as duplicated.

Review the code.
Remove Generics class and move all examples to a class derived from NodeEnumerable<ValueTypeParameter>
Add unit tests
Now it is moved to standby stage.

repo: mpostol/TP


text:
Updated the effects section to grab the actual label and localize it

This change makes the status effects human readable and localized. Prior to this, it was just using the effect ids which was especially a problem with effects added through SUCC as they have a generated GUID. This also required the removal of the toLower on the id compare which was unnecessary and would have broken on any status effect with an id that wasn't lowercase since defaults_statuses is populated directly from CONFIG.statusEffects anyway.
As an aside, IMO it would be cleaner if _effects and everything down the chain just used the contents of statusEffects rather than the ids. Right now, we convert the array of effects into an array of ids and then use that array of ids to look up the effect back in the original array. I wanted to minimize my changes, though, so I left it as is. Just a suggestion for something to look at if you're looking to clean up the code at any point.

I just noticed that attributes have the same issue. Assuming you take this PR, I'll make another that fixes those to be localized as well.

Are you able to raise the PR with both changes? I'll be happy to merge both changes in one PR.
thanks for heping :)

Sure thing. It shouldn't take me long. I'll try to get it done tomorrow. Happy to help. 🙂

There you go. Let me know if you have any questions.

I need to adjust other stuffs an I'll release this change soon. Thanks for the help.

repo: mrcomac/token-action-hud-swade


text:
extras/pytorch_2_intro.ipynb

A Quick PyTorch 2.0 Tutorial
https://www.learnpytorch.io/pytorch_2_intro/
can you get -> you can get
I think about is -> I think about it is
compartive -> comparative
capbility -> capability
minizes -> minimizes
you may to adjust -> you may adjust
we're discussed -> we've discussed
accuracy metric -> accuracy metrics
to file to -> to file
difference -> different

Outstanding, thank you very much!

repo: mrdbourke/pytorch-deep-learning


text:
Allow server side rendering

The window dependency is problematic in Node. It might be a good idea to perform a check against it or document the limitation.

I'm having the same issue with Gatsby. Any fix/progress on this?

For anyone else having issue with Gatsby. I combined it with use-ssr hook to check its in the browser.
https://github.com/alex-cory/use-ssr

I've just forked Dimitri's repository and converted it for node usage:
https://www.npmjs.com/package/is-url-external-ssr
https://github.com/nextlevelshit/is-external-url-ssr

Solved. Sorry again for the wait.

authors: bebraw hartey11 mrded nextlevelshit

repo: mrded/is-url-external

license: WTFPL


text:
Social Login

[x] web3 auth signin (email / twitter / google / apple)
[ ] in-app wallet view (balance, tokens, links)
[ ] social pfp if available
[ ] moonpay onramp integration
[ ] export private key
[ ] issue when user cancels signup, unable to continue with any provider

state updates/refresh

repo: mrgnlabs/mrgn-ts


text:
Resolve absolute paths based on directory option

Part of fixing https://github.com/mrjoelkemp/node-dependency-tree/issues/40

Awesome work man! Thanks for contributing. The changes you made are great.
I made some tiny changes (updated Readme, added an npmignore while I was there).
This is now in the 4.0.3 patch release.
🎉

Sweet! Glad you liked it :) Can you please publish the latest release to NPM too?

Whoops! Done :)

authors: mrjoelkemp pahen

repo: mrjoelkemp/node-module-lookup-amd


text:
Clear output directory

Add an option to clear the typeOutputDirectory to ensure there is no junk files

looks super easy, something like this with an option

rmdirSync(typeOutputDirectory, { recursive: true });```

Does this issue is still open ?

This is still open, I am open to PRs to add this feature

Sure   I'll start working 👍

sorry for bothering you, I just wanna know when does these typeOutputDirectory are actually being created?
I tried using it with joi to understand how it works , i followed the provided examples but I was facing some errors while running it on my windows10 machine


text:
Question for Putlocker on Specto

Hi. Is there a reason why my Windows Kodi can get Putlocker sources, but my android kodi cannot?

Check kodi ver on both machines

Both running on 16.1
Do you get putlocker on android?

i can test i let you know tonight

Did you test?

what movie/tv show did you search for exactly?

All! I NEVER get putlocker links

Nobody got any idea?

i cant see any putlocker links in what i tested

Lambda has updated exodus and added putlocker source from the same website, and works perfectly. So it is not a matter of windows vs android compatibility problem!

give me some title of movie/tvshow from exodus that has putlocker links

Movie Deadpool for example, gives 1080p, HD and SD links so both android and windows. In Specto, i get putlocker links only under windows system!

i got zero putlocker links in deadpool on win7

Exodus ver 1.3.3 last night updated!

i checked with specto 2016.05.10.7 on win7

I said exodus gives putlocker...... https://www.dropbox.com/s/nsvlmd97bvwzrwt/Screenshot_2016-05-29-17-38-27.png?dl=0 this is on android

Specto win7 gives me putlocker but cant share foto now. I am on mobile.

i dont get any and i have putlocker checked in settings

your dropbox is dead This account's links are generating too much traffic and have been temporarily disabled!

Strange. I can send icons when i get back at a pc! I get MANY putlocker links in specto under win7 for most movies and tvshows as i remember

http://s20.postimg.org/ss3uv7f99/screenshot008.png
http://s20.postimg.org/sgmeifyt9/screenshot009.png
http://s20.postimg.org/uz83j4kjh/screenshot010.png

these are from specto on win7!

your zoolander http://s20.postimg.org/uz83j4kjh/screenshot010.png
compare
my zoolader http://imgur.com/wcXuV5g

Try deleting folder kodi\userdata\addon_data\plugin.video.specto , restart kodi and try again and post!

i dont have this folders

zoolander after i remove plugin.video.specto

my settings for movies showing putlocker selected

So putlocker is locked by your isp!

Try accessing http://www.putlocker.systems from your browser to see if it works!

it fowards to cloudfair then to flixanity.is

For me it stays in www.putlocker.systems !!!! Very strange! Let me try something!

your sure you got the correct website?

Wow! For me if i try to access flixanity.is, it takes me to putlocker-movies.tv
Try editing putlocker_mv_tv.py and change www.pulocker-systems to flixanity.is or putlocker-movies.tv
Clear sources from soecto tools and try to load links for some movies!

Sure it is correct. Check the scraper file in lib, resolvers putlocker_mv_tv.py

not home right now i will try it today

putlocker-movies.tv brings me to flixanity.is
what isp you got? whats the ip? maybe we can try this way

I am in Cyprus. Nothis actually is blocked here! Go to /kodi/addons/plugin.video.specto/resources/lib/sources and edit putlocker_mv_tv.py.......and where you see www.putlocker.systems change to flixanity.is or www.flixanity.is
Then load kodi again and test specto!

yes i will play with it once am home

I will fix this issue today, or tomorrow

I am sure you can do it mrknow 😀 we trust you! Thanks to you we have our favourite addon alive!

@dracosc you can close this issue

Let mrknow solve the puzzle first. He may need our testings or help!

I dont know what changed, but out of nowhere, i get putlocker links now on both Android and Windows!

new version?

or this
mrknow commented 4 days ago
I will fix this issue today, or tomorrow

Seems like we lost putlocker links again.....

putlocker fixed

authors: dracosc mrknow xxcriticxx

repo: mrknow/filmkodi


text:
🐛 An unknown camera error occured.

What were you trying to do?
Can't detect external camera/usb camera in my react native app.
Please help thanks.
Reproduceable Code
An unknown camera error occured.

What happened instead?
An unknown camera error occured.
Relevant log output
An unknown camera error occured.

Device
iMin
VisionCamera Version
Latest Version
Additional information

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

Hi, you did not share the relevant log output, how do you expect me to help you? I cannot see your screen from over there, and I don't have your device. I don't have that error, and I don't have any logs at all.

If you want me to help you you need to provide enough details. Read the stuff I write, in the issue template it says that you need to scan ADB logcat for logs.

An unknown camera error occured.

2023-01-28 14:21:42.888  1292-2082  System.err              com.mrs                              W  java.lang.NullPointerException
2023-01-28 14:21:42.889  1292-2082  System.err              com.mrs                              W  	at com.mrousavy.camera.utils.CameraCharacteristicsUtilsKt.getDeviceTypes(CameraCharacteristicsUtils.kt:30)
2023-01-28 14:21:42.889  1292-2082  System.err              com.mrs                              W  	at com.mrousavy.camera.CameraViewModule$getAvailableCameraDevices$1.invokeSuspend(CameraViewModule.kt:184)
2023-01-28 14:21:42.889  1292-2082  System.err              com.mrs                              W  	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
2023-01-28 14:21:42.889  1292-2082  System.err              com.mrs                              W  	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
2023-01-28 14:21:42.889  1292-2082  System.err              com.mrs                              W  	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
2023-01-28 14:21:42.889  1292-2082  System.err              com.mrs                              W  	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
2023-01-28 14:21:42.889  1292-2082  System.err              com.mrs                              W  	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
2023-01-28 14:21:42.889  1292-2082  System.err              com.mrs                              W  	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2023-01-28 14:21:43.094  1292-4059  unknown:Re...gWebSocket com.mrs                              W  Couldn't connect to "ws://localhost:8081/message?device=rk3399-Android10%20-%2010%20-%20API%2029&app=com.mrs&clientid=DevSupportManagerImpl", will silently retry
2023-01-28 14:21:43.408  1292-1656  ReactNativeJS           com.mrs                              I  FaceIdentification Component | Camera permission status: authorized
2023-01-28 14:21:44.318  1292-1656  ReactNativeJS           com.mrs                              I  Device Utils | 设备型号: rk3399-Android10
2023-01-28 14:21:44.902  1292-1656  ReactNativeJS           com.mrs                              W  Possible Unhandled Promise Rejection (id: 24):
unknown/unknown: [unknown/unknown] An unknown camera error occured.
[unknown/unknown]: [unknown/unknown] An unknown camera error occured.
at _construct (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:20966:39)
at apply (native)
at _construct (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:20971:28)
at Wrapper (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:20933:25)
at apply (native)
at _createSuperInternal (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:229753:382)
at call (native)
at CameraError (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:229761:26)
at apply (native)
at _createSuperInternal (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:229753:382)
at apply (native)
at CameraRuntimeError (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:229810:27)
at tryParseNativeCameraError (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:229834:38)
at getAvailableCameraDevices$ (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:229625:66)
at call (native)
at tryCatch (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21704:23)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21687:34)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21729:30)
at call (native)
at tryCatch (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21704:23)
at invoke (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21735:30)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:21742:19)
at tryCallOne (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:23267:16)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:23348:27)
at apply (native)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:26966:26)
at _callTimer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:26871:17)
at _callImmediatesPass (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:26908:17)
at callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:27080:33)
at __callImmediates (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2257:35)
at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2063:34)
at __guard (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2237:15)
at flushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2062:21)
at invokeCallbackAndReturnFlushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:2056:33)

authors: Jerald042615 liancp mrousavy

repo: mrousavy/react-native-vision-camera


text:
Error detected while processing function simplenote#SimpleNote

I received the following error in VIM when running :Simplenote -l:
Error detected while processing function simplenote#SimpleNote:
line   24:
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "<string>", line 438, in list_note_index_in_scratch_buffer
  File "<string>", line 438, in <lambda>
TypeError: sequence index must be integer, not 'str'

It might have something todo with the content of my notes as in #10.
I'm running MacVim via Homebrew on Max OS X 10.7.2:
➜  ~  python --version
Python 2.7.1
➜  ~  vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Mar  7 2012 08:25:18)
MacOS X (unix) version
Included patches: 1-390
Compiled by bjoern@ghost.zuhause.bjoernalbers.de
Huge version with MacVim GUI.  Features included (+) or not (-):
+arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv -cscope +cursorbind +cursorshape +dialog_con_gui +diff
+digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi
+file_in_path +find_in_path +float +folding -footer +fork() +fullscreen
-gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap
+libcall +linebreak +lispindent +listcmds +localmap -lua +menu +mksession
+modify_fname +mouse +mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm
+mouse_netterm -mouse_sysmouse +mouse_xterm +mouse_urxvt +multi_byte
+multi_lang -mzscheme +netbeans_intg +odbeditor +path_extra +perl
+persistent_undo +postscript +printer +profile +python -python3 +quickfix
+reltime +rightleft +ruby +scrollbind +signs +smartindent -sniff +startuptime
+statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white
+tcl +terminfo +termresponse +textobjects +title +toolbar +transparency
+user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace
+wildignore +wildmenu +windows +writebackup -X11 -xfontset +xim -xsmp
-xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/Applications/MacVim.app/Contents/Resources/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe  -DMACOS_X_UNIX -no-cpp-precomp  -g -O2 -arch x86_64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1     -I/System/Library/Frameworks/Tcl.framework/Headers  -D_REENTRANT=1  -D_THREAD_SAFE=1  -D_DARWIN_C_SOURCE=1
Linking: gcc   -L.   -L.        -arch x86_64 -L/usr/local/lib -o Vim -framework Cocoa -framework Carbon      -lncurses -liconv -framework Cocoa    -fstack-protector -L/usr/local/lib  -L/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc -framework Python  -F/System/Library/Frameworks -framework Tcl -framework CoreFoundation -framework Ruby
➜  ~  cd ~/.janus/simplenote.vim
➜  simplenote.vim git:(master) git status
# On branch master
nothing to commit (working directory clean)
➜  simplenote.vim git:(master) git log --pretty=format:'%h' -n 1
f251977

I found out that the first part of the notes list contains some error objects instead of dicts:
➜  simplenote.vim git:(issue_31) ✗ git diff
diff --git a/autoload/simplenote.vim b/autoload/simplenote.vim
index d605886..79ab4b9 100644
--- a/autoload/simplenote.vim
+++ b/autoload/simplenote.vim
@@ -524,7 +524,14 @@ class SimplenoteVimInterface(object):
         if status == 0:
             note_titles = []
             notes = self.get_notes_from_keys([n['key'] for n in note_list])
-            notes.sort(key=lambda k: k['modifydate'])
+            try:
+                notes.sort(key=lambda k: k['modifydate'])
+            except TypeError:
+                for n in notes:
+                    if type(n) != type(dict()):
+                      print type(n)
+                      print n
+                      break
             notes.reverse()
             note_titles = [self.format_title(n) for n in notes if n["deleted"] != 1]
             self.note_index = [n["key"] for n in notes if n["deleted"] != 1]

The output was:
<class 'urllib2.URLError'>
<urlopen error [Errno 8] nodename nor servname provided, or not known>

HTH

Is this not just network / api error? I get that error sometimes as well TypeError: sequence index must be integer, not 'str', but usually if I try the command again it works.

The error is reproducible, so I don't think this is a temporary issue.
Accessing the Simplenote API via the simplenote gem works fine.

Hmm, strange - it is working ok for me here. As I said I've only ever seen this issue temporarily. Would be interesting to figure out what is causing it. I don't think it's anything to do with issue #10 as I have notes with unicode characters, etc.

Out of interest, in Vim, if you do :!python what version do you get? I wonder if it's a Python version thing. I'm on an old Mac (right now, wasn't earlier was on a Linux machine then), 10.5.8 and Vim 7.3, but it is compiled against Python 2.5. And I get the same error as you now.

I get "Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)" (same version when running the command in my terminal)

The problem lies within the NoteFetcher class, which doesn't check the exit status before adding the note (which is an exception object in that case) to the list. I'm not sure if the key can just be put back into the queue if there was an error. But I'll check that.

I found out that get_note from class Simplenote returns notes AND sometimes those exception objects, which are getting mixed into the notes array (line 178):
158     def get_note(self, noteid):
159         """ method to get a specific note
160
161         Arguments:
162             - noteid (string): ID of the note to get
163
164         Returns:
165             A tuple `(note, status)`
166
167             - note (dict): note object
168             - status (int): 0 on sucesss and -1 otherwise
169
170         """
171         # request note
172         params = '/%s?auth=%s&email=%s' % (str(noteid), self.get_token(),
173                                            self.username)
174         request = Request(DATA_URL+params)
175         try:
176             response = urllib2.urlopen(request)
177         except IOError, e:
178             return e, -1
179         note = json.loads(response.read())
180         # use UTF-8 encoding
181         note["content"] = note["content"].encode('utf-8')
182         note["tags"] = [t.encode('utf-8') for t in note["tags"]]
183         return note, 0

Maybe this exception shouldn't be masked... WDYT?
However, I wonder why the exceptions are raised in the first place...
Manually opening the corresponding URLs (also with Python's urllib2) just works fine.

I've found the simplenote API to be somewhat flaky when running the tests on CI. Sometimes the calls fail, maybe it's a problem with rate limiting or non-premium accounts. So manually testing will most of the time give you different results than running something in bulk. As I said before, failed note retrieval should result in -1 as the return status and be checked in the caller. The NoteFetcher doesn't do that at the moment and I will see what's the best way to fix this.

The return of HTTPError objects as notes is related to mrtazz/simplenote.py#1. So once I fix it there, I will update simplenote.vim and at least it will return the proper exit status then.

authors: atomicules bjoernalbers mrtazz