RESTful API returns 204 but data not got persistent

I have been using v0.9.2 since 3 months ago, it was all running fine, but this morning I noticed that during a period (9 hours), it didn't get my data stored at all, below was the querying result:
time				message	response_time	status
----				-------	-------------	------
2015-10-26T07:56:21.617091181Z	Health OK!					0.195014953613	Operational
2015-10-26T07:57:21.608316979Z	Health OK!					0.18492603302	Operational
2015-10-26T07:58:21.657732938Z	Health OK!					0.19704413414	Operational
2015-10-26T07:59:21.573305386Z	Health OK!					0.150962114334	Operational
2015-10-26T08:00:21.595418011Z	Health OK!					0.171375989914	Operational
2015-10-26T08:01:21.562332534Z	Health OK!					0.137006998062	Operational
2015-10-26T08:02:21.579362949Z	Health OK!					0.151744842529	Operational
2015-10-26T08:04:21.540773114Z	Health OK!					0.118921995163	Operational
--------------------------------------------------------------------------------------
2015-10-26T17:34:21.614339219Z	Health OK!					0.196357011795	Operational
2015-10-26T17:35:21.566347776Z	Health OK!					0.145502090454	Operational
2015-10-26T17:36:21.558258173Z	Health OK!					0.138634204865	Operational
2015-10-26T17:37:21.600137489Z	Health OK!					0.176239013672	Operational
2015-10-26T17:38:21.532443997Z	Health OK!					0.106864929199	Operational
2015-10-26T17:39:21.561829901Z	Health OK!					0.136914968491	Operational
2015-10-26T17:40:21.569315704Z	Health OK!					0.144639015198	Operational
2015-10-26T17:41:21.587080861Z	Health OK!					0.159435987473	Operational

The dash-line "---" was added by me to highlight the missing part, I checked into the influxdb.log (/var/log/influxdb/influxd.log), got the following output:
[shard] 2015/10/26 17:33:54 flush 2 points in 0.002s
[http] 2015/10/26 17:33:55 <IP_ADDRESS> - - [26/Oct/2015:17:33:55 +0000] POST /write?db=hds HTTP/1.1 204 0 - python-requests/2.7.0 CPython/2.7.10 Linux/2.6.32-504.12.2.el6.x86_64 bb7208d0-7c07-11e5-98fd-000000000000 1.878416ms
[shard] 2015/10/26 17:33:56 flush 2 points in 0.003s
[http] 2015/10/26 17:33:58 <IP_ADDRESS> - - [26/Oct/2015:17:33:58 +0000] POST /write?db=hds HTTP/1.1 204 0 - python-requests/2.7.0 CPython/2.7.10 Linux/2.6.32-573.3.1.el6.x86_64 bd438029-7c07-11e5-98fe-000000000000 2.157747ms
[shard] 2015/10/26 17:33:58 flush 3 points in 0.002s
[shard] 2015/10/26 17:34:00 flush 1 points in 0.002s
[http] 2015/10/26 17:34:01 <IP_ADDRESS> - - [26/Oct/2015:17:34:01 +0000] POST /write?db=hds HTTP/1.1 204 0 - python-requests/2.6.0 CPython/2.6.6 Linux/2.6.32-504.12.2.el6.x86_64 bf23fa77-7c07-11e5-98ff-000000000000 2.164451ms
[shard] 2015/10/26 17:34:02 flush 1 points in 0.002s
[http] 2015/10/26 17:34:04 <IP_ADDRESS> - - [26/Oct/2015:17:34:04 +0000] POST /write?db=hds HTTP/1.1 204 0 - python-requests/2.6.0 CPython/2.6.6 Linux/2.6.32-573.3.1.el6.x86_64 c0bf1a0b-7c07-11e5-9900-000000000000 1.877442ms
[shard] 2015/10/26 17:34:04 flush 22 points in 0.005s

So it does return 204 stauts code, however, the data did lost according to my querying, I really have no clew now why during that 9 hours the data were lost.

Until you show us your questions, we can't help you. Perhaps your queries are incorrect? Perhaps you changed the retention policy?
Please also show us your config file.

Also, 0.9.2 is quite old. You should upgrade to <IP_ADDRESS>, as there have been an enormous number of bug fixes since then.

@otoolep Thank you so much for the quick reply, my query does not have problem: SELECT * FROM hds WHERE time > now - 1d, since as I've mentioned, I've been using 0.9.2 for 3 months, means 3 months of programmatically: )
As My query was simply showing all the points during the past 1 day, and it displayed as I pasted above, there was a clear "gap": from 08AM to 17PM, there were no points at all.
I understand that I provided insufficient information, but what does the "flush x points" mean please? Meaning "Writing/dumping data into hard disk"? Is there any possibilities that my data didn't get stored?

Those messages mean the system is flushing data from the write-ahead-log to the the database. It is perfectly normal. Versions after 0.9.2 include stats and diagnostics, to help debug issues like this. You can just drop in the code and will not lose any data that is data already.
Upgrading will help us help you.

@otoolep Thanks for the explanation, I realized that this might be the issue in my side, nothing to do with influxDB, I close this issue for now.
Thank you very much again for the help!


IRC Seems to get in the way

While Using NS++ At College, It seems the IRC Gets in the way, It also doesn't allow me change Regional Officer Titles either.

Should be fixed.


added path drop events

wrap glfws drop events

Great. I will fix some small code style issues and merge it today. Thanks 🚀


Add ability to set different approvers for different resource groups based on tags

Is your feature request related to a problem? Please describe.
Currently all requests for access are channeled into a single group with a large number of admins. Different admins are responsible for different sets of resources, and have to spend time reviewing each request to see if it relates to resources they are responsible for. This leads to a lot of lost time for every admin in the group and creates potential for mistakes in approving resources they are not responsible for
Describe the solution you'd like
Create the ability to define a tag on resources such as "approver=groupA, approver=groupB" and then create slack channels for each approver group - this would limit the noise for each approver group significantly and ensure confidence they are approving only requests relevant to them
Describe alternatives you've considered
The only other possibility I can see is setting the approver based on the requester - so adding a tag to all roles "approver=groupA, approver=groupB" so that the approval flow is based on the requester rather than the resource. This may not work as the manager of a group/role may not be the ultimate owner of the infra for which access is being requested
Additional context
N/A
IMPORTANT: Remember to select a label and project

Please add ForeFlight (Boeing company) to this request.


scan_interval doesn't working

v 1.2.2
yahoofinance:
  symbols:
...
  scan_interval: 900

All symbols update every 6 hours.

I am seeing the scan_interval being respected. Is this for all symbols or for just one?
If enable info level logging like this and restart, then you should see messages about updates.
logger:
  default: warn
  logs:
    custom_components.yahoofinance: info

Hmm... now is ok)


[Usage]: I started an internvl2-1b service using the terminal command vllm serve ./internvl2-1b/ --tensor-parallel-size 1 --trust-remote-code. How can I implement this functionality with a Python script, as I want to customize some logs?

Your current environment
vllm serve ./internvl2-1b/ --tensor-parallel-size 1 --trust-remote-code
How would you like to use vllm
I want to run inference of a [specific model](put link here). I don't know how to integrate it with vllm.
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

You can use offline inference (see the documentation for LLM class).

Do you mean that, based on vllm's offline inference capability, you want to wrap the service using FastAPI and then add custom logs inside it?

Yes, you can create your own FastAPI endpoints as wrappers over offline inference. If you don't want to write as much code, you can try to make a fork of vLLM and edit the existing endpoint directly.


fixed authentication system, name variable changed to username

Spent a solid hour on this with my TA, we got it working locally, no heroku deployment yet.


Fix: HTML Validation Errors

Hi @Krowno04
Absolutely awesome submission for Assignment 02 🎉! Well done.
Issue Description
I ran your code through the HTML Validator and there are a couple of errors being thrown.
If you would like to take some additional time to address these small items, or make any further tweaks to your page, you may make changes to your code for the the next 72 hours without penalty.
HTML Validator Results
Here is the link to the full results:
https://validator.w3.org/nu/?doc=https%3A%2F%2Fimd1005-web-development-winter-2023.github.io%2Fassignment-02-Krowno04
Screenshot

I went through and fixed all those errors, so the validator now shows no issues for the HTML file! Thanks for letting me know and giving me time to fix them!

Yay!
Awesome sauce. Truly well done.
This paradigm of iterative development (build -> review -> fix -> learn) is actually closer to how projects are run in industry.

Just to confirm - you saw issue #3


Make ndarray optional

Thought I'd open up a separate issue for this, as it has come up in comments repeatedly (and is in the Roadmap of the README).
This would probably a good first step towards feature flags (which is also a concern in #60), which I guess also would need to get some support in rextendr.

Yes. This is a good idea. I'm very much in favour of keeping dependencies low.
Do you want to submit a PR?

I like this in principle. Just one word of warning: There is no way of automatically testing optional features. You'll have to test them explicitly by calling cargo test separately on each crate (not once on the workspace) and turning on the optional features from the command line. Nothing that can't be done, but it'll substantially complicate our testing architecture.
Some projects write fairly complex test scripts to do this. It's easy enough on unix, but I don't know if it'll run on windows also. Maybe it will in mingw.
You can see this approach in the ndarray test setup:
https://github.com/rust-ndarray/ndarray/blob/3a2040d916dd892a76cf7f219c1510cf8e48f34a/.github/workflows/ci.yml#L34
https://github.com/rust-ndarray/ndarray/blob/master/scripts/all-tests.sh
But they test only on linux.


[Feature Request] Use mystery-man-less filter effects if the token isn't precisely detected

Would really love to be able to replace (select new, select none) the image used for detection.  In my example, I am using tremorsense.
 If so, do you want to swap out the image for all tokens or just for specific tokens?

I am going to say yes.
Similar to the modules that allow you to use new images for statuses and conditions, they include images as suggestions... but can be changed by the individual user.
Although I see a value in allowing a user to swap out, or not use, an image for each "type" of vision. (tremorsense, blindsight, etc.) I see 100% no reason to pick and choose specific tokens.   The image you assign for tremorsense is all or none.
I am 100% happy with the built in tremor-like motion 5e uses now by default. I loaded your module to simple help what it was detecting.
Hope this helps.

The thing is a token can be detected by multiple detection modes at the same time (Tremorsense and Detect Magic for example). So we can't really have an "image specific to a detection mode". I could add a global setting though that allows you to swap you the current default (mystery man) for some other image.

OK, I guess I thought you were implying you had different images.  My mistake.  In that case, I'm 100% happy with your default image, and our ability to say (no image, if possible) or this image instead.

I changed Tremorsense to look like Hearing (no mystery man, just waves). Not sure yet if I'll change the detection modes that still show the mystery man (like Detect Magic) to something a version without the mystery man.

Looks fantastic, thank you!


Add hint to use a venv to pip sync --user

We should have this on pip install too, I think?

I don't see compat args for install — I did a global search for --user. We should add one I presume?


map getZoom() not working

In Leaflet 1.0.1 getZoom() does not update and returns contant values (4 in my case)

Can you publish a fiddle/codepen/playground that displays this behaviour?

No more information has been provided, and a few weeks have passed. We'll assume this issue is no longer relevant and/or there is no interest to make a better report.


Port 'Notification' demo to Vala

Current issues:

Demo runs, but on clicking the Trigger notification button presented with the error "assertion 'g_application_get_is_registered (application)' failed"
Notification is not triggered

Is the Application class declaration and object access the right way to do it?
I also tried directly using a Gtk.Application variable which gives the same error.

I'd appreciate any help :)

@Diego-Ivan @lw64
I'd appreciate some reviewing whenever you have the time!

Unfortunately, this demo can't be ported to Vala (or any other language other than JS). By issue https://github.com/workbenchdev/Workbench/issues/110

Ah okay, I'll close this PR then. Thank you


lift height included in RCF

Summary
Lift height should be included in the calculation of RCF.
Details
Currently the lift height is being set in the mobile robot class but its not used to update the RCF.
System Information

in https://github.com/augmentedfabricationlab/mobile_robot_control/tree/lift_transformations this was fixed by adding a z offset to RCF. To make sure this wasnt done multiple times the RCF setter now always gets the coordinates from the mobile_robot_client.


[Chat Participant API] [Regression] defaultChatParticipant should be not needed in enabledApiProposals

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: Insider of 2024-02-27
OS Version: Windows

Note: with Insider of 2024-02-21, it is working: defaultChatParticipant is not needed in enabledApiProposals
Steps to Reproduce:

https://github.com/microsoft/vscode-azureapicenter
npm install
Press F5

Expected:
Run the Chat feature normally. (It works in Insider of 2024-02-21)
Actual:
Meet below error:

cc @isidorn

azure-api-center does not request defaultChatParticipant in package.json. So this feels like a bug.

@formulahendry This is very likely because you assign a fullName to your particpant. We have moved that to the default participant proposal because other names aren't shown anywhere. Please check and adopt. You should not have to be depending on the defaultChatParticipant-proposal

Thanks @isidorn and @jrieken for the quick turnaround! ❤  After removing fullName in participant, our extension could run in Insider of 2/27!


SEAB-5239: Add user-specified image support

Description
UPDATE 6/Mar/2023:
This PR has changed significantly due to feedback.
After absorbing the comments, I did a deep dive, and determined that, in our system:

an  Image represents a snapshot of an image for a particular architecture at a particular time.
a image reference can expand to multiple Images at snapshot time.
In an on-prem install, an image reference could be something weird, like a file path, that doesn't fit into the properties of Image.

And thus, an Image as it currently exists, isn't a good place to store an image reference (such as the kernel image), we really should to put it somewhere else.
To that end, after some thought, I decided that a more general approach was to add an ImageReference entity, a list of which stored in Version (via join table) instead.  The resulting imageReferences table will store image references that aren't in the sourcefiles, and both types of references will be snapshotted at snapshot time (in a subsequent PR).
The bonus: a possible trajectory of the notebooks support is that we'll have to support a different kernel image for each launch platform, and for such purposes, the new ImageReference scheme will be much more easily adaptable, via tagging or some other mechanism.
Also, someday, if we add a feature that allows user to specify additional workflow images in .dockstore.yml - for example, because the docker pulls are dynamically generated or difficult to extract from the source files - it can use this, too.
Original Description:
This PR allows the user to specify a notebook kernel image via the new notebook field image in .dockstore.yml, which is stored in a new userImageReferences field in WorkflowVersion.  This addition supports the LBL "launch to JupyterHub" case, in which their JupyterHub is running an extension which allows a reference to a kernel image (which contains the software dependencies and other things that the notebook might need to run) to be specified to during the notebook startup process.
The "general purposeness" of the userImageReferences field is intentional, so that someday, if necessary, it can be used by any new entry type that needs to store additional image references (beyond those which the language handler can extract).  The purpose of the image references will vary by entry type.  Currently, we only add a single kernel image reference, when specified, for notebooks.
The images referred to by userImageReferences will be snapshotted in a future PR: https://ucsc-cgl.atlassian.net/browse/SEAB-5113
While implementing this, I noticed that our code does not use WorkflowVersion.subClass, and all the values in the corresponding db column are null.  So, I deleted the column and related code.
Review Instructions
Register a notebook with the image specified, and make sure the value shows up in the correct row in db table workflowversion.
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-5239
Security
If there are any concerns that require extra attention from the security team, highlight them here.
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
[x] If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
[x] Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
[x] Do not serve user-uploaded binary images through the Dockstore API
[x] Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
[x] Do not create cookies, although this may change in the future
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

After sleeping on it, I'd like to elaborate since there are a couple conflicting ideas here because there are a few routes that can be taken here.

My main preference, if notebooks sometimes have docker images (like in this PR), then I'd prefer just to breakdown the IDs and store in the Image table. An enum or JPA tricks like single-table inheritance can be used to distinguish between rows that are "just" IDs vs full-fledged snapshotted IDs. You could even store "file path" images by adding an additional columns, my understanding is that postgres is pretty efficient at "sparse" records/tables.
For example, this gives us the ability to quickly query what Docker (or other) images people are "trying" to use vs those images people have snapshotted easily without joins.

As a quicker alternative, I would accept a "path" style String approach. We have descriptor paths, readme paths, and test parameter paths. An imagePath rather than an imageReference would be in-line with existing practice and could be a quick compromise. (e.g. we already have descriptorPaths that basically tell us where to look for a source file)

Definitely avoid: the current approach of having a separate table that sometimes stores records of Docker images, sometimes file paths, but with no relationship to the Image table. Feels like this will eventually lead to inconsistent information between the two tables or queries requiring joins to look at information on images.

After sleeping on it, I'd like to elaborate since there are a couple conflicting ideas here because there are a few routes that can be taken here....

I was off yesterday, plus it seems like there was bit of discussion that went on outside of the PR, which is fine, but it's hard for me to tell what the current state of agreement/disagreement is. :)
All I think know on the agreement side is that the image key in the .dockstore.yml is being renamed to kernel. :)
Random thoughts:

When I last discussed this with Steve, I finally grokked the issue with the images table, that the images table currently contains snapshots, and that these kernel references won't be snapshots.
I hadn't thought of Denis' idea of using "table inheritance"; that could resolve the disconnect (or at least my disconnect).
I do prefer the name kernel in the Version, as opposed to the previous userImages -- it was not apparent to me how the two fields with images in their name were different.

I'd like to see an update to the PR, or the state of the latest thoughts in a PR comment before commenting further.


Updated solana metadata

Updated Solana metadata in the Solana folder, metapelx.js and solanaConfig.js have been changed 👍

Great job :) left some comments

done, the reason there are 5 commits is that I kept copy and pasting to the wrong file XD
There's definitely a better way to do it, but that was the most clear and pain free way that I could see so thats what I did :)

And no problem @Neonode22 when you merge into master it will let you squash merge

lets gooo 👏!!

I didn't know what your Twitter handle was @Neonode22 but I tagged you in https://twitter.com/jalagar_eth/status/1550622288709558295


Convert existing iOS paid app to freemium model with in-app purchase

Hi,
I'm going from a paid app to free and am going to use this library.
Is there a method in react-native-iap that lets me know if they've already bought the app?
Thank you!

Actually, I've not had time to find information about this. Hope you can post some link in this thread that may help investing this issue.

@craig1123 seems you need to attach some info to user account to handle that.

@craig1123 you able to detect the date when app was installed. It is an original_purchase_date or  receipt_creation_date field in the decoded receipt root.


(PE-17059) Make sure that reports.noop flag is always set.

Is was discovered that the latest PDB terminus with an older puppet agent can produce reports with noop set to nil. When noop flag in not defined or is nil in Puppet report the original PuppetDB heuristic needs to be used to set the flag.

Test PASSed

@kbrezina this seems fine to me. Just to check, is there some issue with nil-valued noops in reports in the middleware or UI? They can also arise from old pre-upgrade data.

Currently, the problems are only in PE Overview with the latest reports received within last hour or so (configurable). Still, it makes sense to improve handling of nils in noop.

@kbrezina so in the case of existing data, I imagine users upgrading from certain versions will see unknown for all their nodes. Is that what you'd expect?

@kbrezina also this should be on stable

merged to stable manually


[BUG] Mouse over the name, it is recommended to remove the gesture icon and underline

Repaired


Latest updates

Replaced every instance of text-davinci-003 with gpt-3.5-turbo. Everything else is still working correctly.
Fixed thread summarization
Cherry-picked commit from #15, added pm2 stop command
Updated replit-setup.sh script

🤔 neat, will give it a try hopefully in a few days and let you know how it goes!

BTW Does canvas work with replit now? Have you tried running this branch on replit?

Not sure about canvas as I've never used it, seems that it only received two minor updates. Other than that I ran the branch on replit and it works (at least for me).

Looks like I got that one working as well

Nice!

Update: I'll be able to review it in the week sometime 🙏

@techcoderx LGTM! How would you like the payment? :D

Would prefer to use it towards future Erin invoices

Would prefer to use it towards future Erin invoices

Understood, will send you a DM in Discord 👍


A push for consistent nomenclature

"The devising or choosing of names for things, especially in a science or other discipline."

I'm a firm believer that a consistent codebase is an intuitive codebase. This pull request is not important, and doesn't add any functionality; it's simply an attempt to improve the consistency of our naming.
AbstractGrant

getRequiredRequestParams -> getRequiredRequestParameters
prepRequestParams  -> prepareRequestParameters
handleResponse -> createAccessToken

AbstractProvider

urlAuthorize -> getBaseAuthorizationUrl
urlAccessToken -> getBaseAccessTokenUrl
urlUserDetails -> getUserDetailsUrl

These are not "change for the sake of change". You should be able to determine what a method does based on its name. isValue, hasValue, setValue, getValue etc are all staples.
urlAuthorize is internal, so could argue that it doesn't matter. But it always matters, even if it's private. It's not clear what urlAuthorize does; maybe attempt to authorize using a URL? I know it's a nitpick but if the goal is to write a solid, top shelf library, these are the kind of things that make a difference.

I'll read through the changes tomorrow, but in general, I'm in favor of these name changes. They were on my mental list of things to do for 1.0.
:+1:

Thanks @ramsey

This isn't a bad idea. Here's another suggestion for consideration: Getters and Setters are Evil.

The author does have some valid points about the procedural mindset vs. the object mindset, but as you said, getters/setters are a well-established pattern in our community. It's easy to grasp the semantics of getters/setters, and the previous names of these methods were not so easily understood, so I think these changes are for the best.


Firewall exception to rhost.exe is not working

We had to edit the path to the exe in order for it to work.
What this means is that my outgoing connections (like package repository) were not working.

This might be because the firewall exception is added before RHost is installed. Moving the firewall exception for RHost into the RHost's installer should fix this.


Does Finatra support Scala 2.11?

I'm having the following issue using Scala 2.11.6:
sbt.ResolveException: unresolved dependency: com.twitter#finatra_2.11;1.5.3: not found

IIRC finagle does not yet compile under Scala 2.11, so Finatra is behind.

2.11 artifacts for finagle-core and most of the other Finagle modules have been available in Maven Central since December. The stragglers (finagle-redis and finagle-ostrich4) can now be built for 2.11 from source, and will be available for 2.11 in the next release (next week, we hope).
See this thread for some recent discussion of the status of Finatra.

any updates?

@dlwh Scala 2.11 artifacts for Finatra (2.0.0.M1 -- the first/latest 2.0.0 milestone release) have been published to Maven Central.

thanks! amazing timing since I first started looking at Finatra yesterday :)
Works great, nice library! First web framework I've seen in Scala that didn't leave a bad taste in my mouth.

That's good to hear -- please feel free to leave us feedback!

@cacoco I'm trying to get Finatra working with scala 2.11.8. When I add:
libraryDependencies += "com.twitter.finatra" % "finatra-http_2.11" % "2.0.0.M1"
or
libraryDependencies += "com.twitter.finatra" % "finatra-http_2.11" % "2.1.6"
to build.sbt I get the following
[error] (:update) sbt.ResolveException: unresolved dependency: com.twitter.common#metrics;0.0.29: not found
[error] unresolved dependency: org.apache.thrift#libthrift;0.5.0: not found
[error] unresolved dependency: com.twitter.common#stats-util;0.0.49: not found
[error] (:ssExtractDependencies) sbt.ResolveException: unresolved dependency: com.twitter.common#metrics;0.0.29: not found
[error] unresolved dependency: org.apache.thrift#libthrift;0.5.0: not found
[error] unresolved dependency: com.twitter.common#stats-util;0.0.49: not found

@danny-zegel-zocdoc please make sure you add the twitter maven resolver (like in the examples), e.g.,
resolvers ++= Seq(
  Resolver.sonatypeRepo("releases"),
  "Twitter Maven" at "https://maven.twttr.com"
)

As those dependencies are hosted on our Twitter maven repo.

So, the lastest Finatra version that works with Scala 2.11 is 2.1.6?

@heldersantosmoreira no, we currently support 2.11.  We just published a 2.11-compatible finatra update last week.  http://search.maven.org/#search|gav|1|g%3A"com.twitter" AND a%3A"finatra-root_2.11"

Is finatra-root equivalent to finatra-http?
Sorry in advance if it's a very nonsense question, dependencies confuse me 😄

@heldersantosmoreira no, it was just an example.  We publish all of our libraries at the same time.


Swift to Objective c issue

How to use AdButler in objective c

Hello! You should be able to reference the ObjC Sample folder in the root of this repository for examples.


Allow single token to be annotated by multiple entities in test stories

This continues the work from here: https://github.com/RasaHQ/rasa/pull/10394
Proposed changes:

...

Status (please check what you already did):

[x] added some tests for the functionality
[x] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

tyfun wrote:

True if and only if CRFEntityExtractor or DIETClassifier is in extractors

or extractors in None which I think it is while initially loading the training data (before pipeline is initialized, but I might be wrong here)

tyfun wrote:

True if and only if CRFEntityExtractor or DIETClassifier is in extractors

or extractors in None which I think it is while initially loading the training data (before pipeline is initialized, but I might be wrong here)

I turned the logic around here (see the new function name). So when extractors is None this returns False, but I also removed the negation where this function is called, so the behaviour is as expected.

/modeltest
include:
 - dataset: ["all"]
   config: ["all"]

Great work, thanks for your effort!

Hi @JEM-Mosig I had a look at the regression tests... The data for those tests seem to include invalid data, such as
UserWarning: Misaligned entity annotation in message 'set the time zone to g. m. t.' with intent 'datetime_convert'. Make sure the start and end values of entities ([(21, 29, 'g. m. t.')]) in the training data match the token boundaries ([(0, 3, 'set'), (4, 7, 'the'), (8, 12, 'time'), (13, 17, 'zone'), (18, 20, 'to'), (21, 22, 'g'), (24, 25, 'm'), (27, 28, 't')]). Common causes:

entities include trailing whitespaces or punctuation
the tokenizer gives an unexpected result, due to languages such as Chinese that don't use whitespace for word separation
More info at https://rasa.com/docs/rasa/nlu-training-data

I searches the repo for those test strings but didn't see them in rasa. Wanted to help but could not. :-(

@raoulvm Thanks! Yes, that's mainly why I ran those regression tests. It's so easy to overlook something and this way we have a better chance of catching such problems. I'll look into this today.
@rctatman Can you please review the docs changes of this PR in the meantime? It's not a big change.

So the warnings come from here, but the reason the tests fail are out of memory problems. 🤦♂

Ok, looks like there is one last test failing. I'll try to fix that today. Afterwards, I'd like another review from @tayfun. In particular, I had to add two docstrings for classes that are not in the research codebase, eventhough I didn't touch them (the linter complains otherwise).

I am not sure you'll be able to fix this worker crash by changing the code...
Continuous Integration / Run Tests (test-nlu-featurizers, windows-latest, 3.7) (pull_request)
================================== FAILURES ===================================
[55](https://github.com/RasaHQ/rasa/runs/5069805251?check_suite_focus=true#step:14:55)
_________________ tests/nlu/featurizers/test_lm_featurizer.py _________________
[56](https://github.com/RasaHQ/rasa/runs/5069805251?check_suite_focus=true#step:14:56)
[gw1] win32 -- Python 3.7.9 d:\a\rasa\rasa\.venv\scripts\python.exe
[57](https://github.com/RasaHQ/rasa/runs/5069805251?check_suite_focus=true#step:14:57)
worker 'gw1' crashed while running 'tests/nlu/featurizers/test_lm_featurizer.py::TestShapeValuesTrainAndProcess::test_lm_featurizer_shape_values_process[bert-bert-base-uncased-texts1-expected_shape1-expected_sequence_vec1-expected_cls_vec1]'

And it only crashed with Python 3.7 environment.

GitHub is broken and we can't open the Files tab for reviews. I reached out to GitHub. But if it's not fixed by tomorrow morning I'll create a separate PR to work around this.

I'd never expected this to such a braking change.

It works again!


Ui improvements from fritz

Lekker lekker. Feedback from the team is that the nav is much better. It really brings the performance up above the fold nicely.
I've made some minor tweaks (see the commits above), I'm merging.


More links and small fixes

Added links for useful software.
Fixed \newpage example, which was not escaped.
Acryonyms now also show pagenumber where they've been first used.
Ignoring some warnings on compiling.

Cheers


Read pcap formatted files

This seems to work for me and handles the error packetgen has currently:
PacketGen::PcapNG::InvalidFileError: Incoherency in Header Block
from /.../lib/packetgen/pcapng/unknown_block.rb:58:in `read'

And returns an array of parsed packets when given a .pcap file. 🙌
Side Thought
Perhaps some defensiveness could be baked into handle packets that cannot be parsed upon reading a little more wisely. Perhaps that could be tinkered with a bit more. At least from reading the .pcap formatted files. I haven't read how PcapNG deals with packets that it cannot parse when reading from a file.
Would love to know you thoughts on that. ⛵
Lol
Otherwise, finally made that PR. 😊

Great job.
Will add some specs before merging it.


Merge feature/CDJ/fat-burner

It's time to merge this back to master and tag as v0.25.0

Closing in favour of #6


[TimePickerDialog] Text Input mode is scrollable when useMaterial3: true

The TimePickerDialog text input mode is scrollable when using useMaterial3: true flag. When useMaterial3 is set to false, the dialog is not scrollable.
Steps to Reproduce

Execute flutter run on the code sample
Press the Show Time Picker button
Switch to text input mode
Try to scroll

Expected results:
The dialog isn't scrollable
Actual results:
The dialog is scrollable

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData.light(useMaterial3: true),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: TextButton(
          onPressed: () =>
              showTimePicker(context: context, initialTime: TimeOfDay.now()),
          child: const Text("Show Time Picker"),
        ),
      ),
    );
  }
}

Flutter Doctor
[✓] Flutter (Channel stable, 3.7.1, on macOS 13.2 22D49 darwin-arm64, locale en-SI)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.1.3)
[✓] VS Code (version 1.75.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

https://user-images.githubusercontent.com/37480708/217294163-12770909-2d18-4fad-9c10-8175ea72767d.mp4

Hi @andryot, I can reproduce this on the stable channel but not on the master channel.  See the recordings below

recordings

stable
master

I'll be closing this since it has been fixed on the master channel as per our triage policy. If you do run into this issue on the master channel or newer versions, kindly file a new issue.
Thank you

flutter doctor -v
[✓] Flutter (Channel stable, 3.7.1, on macOS 13.1 22C65 darwin-arm64, locale en-GB)
    • Flutter version 3.7.1 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7048ed95a5 (7 days ago), 2023-02-01 09:07:31 -0800
    • Engine revision 800594f1f4
    • Dart version 2.19.1
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[!] Android Studio (version 2022.1)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.75.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (3 available)
    • iPhone 14 Pro (mobile) • 7256EA18-F2CB-4F96-9398-80DC7756A275 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 109.0.5414.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.8.0-7.0.pre.23, on macOS 13.1 22C65 darwin-arm64, locale en-GB)
    • Flutter version 3.8.0-7.0.pre.23 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6e7f580370 (3 hours ago), 2023-02-08 12:37:24 +0800
    • Engine revision f310ffd146
    • Dart version 3.0.0 (build 3.0.0-204.0.dev)
    • DevTools version 2.21.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] Android Studio (version 2022.1)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/221.6008.13.2211.9477386/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.15+0-b2043.56-8887301)

[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.75.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (4 available)
    • Dean’s iPad (mobile)   • 00008103-000825C811E3401E            • ios            • iOS 16.3 20D47
    • iPhone 14 Pro (mobile) • 7256EA18-F2CB-4F96-9398-80DC7756A275 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 13.1 22C65 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 109.0.5414.119
    ! Error: Dean’s iPad is busy: Waiting to connect and unlock the device. Xcode will continue when Dean’s iPad is finished. (code -10)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.


Fix metrics doc section

The docs indicate you can set delay, includes and excludes under the key spring.cloud.stream.metrics, but those properties are really under the control of boot with the prefix spring.metrics.export.  The docs should discuss the include/exclude props a bit since I think they aren't that well described in the boot docs.  There should be a link to the boot docs also http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#production-ready-metric-writers

Also the example payload isn't accurate, should remove instanceIndex.   Prob best to run a sample and do a cut-n-paste job.

List spring.metric.exporter.triggers.application.* as an finer-grained option.  (Also wrt fixing #903 ).


[XiaoHongShu] ERROR: No video formats found!

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Hi admin and supporter. i want to ask one question. how to download from xiaohongshu.com?
yt-dlp -vU --cookies "cookies.txt" https://www.xiaohongshu.com/explore/66a981250000000009017750
[debug] Command-line config: ['-vU', '--cookies', 'cookies.txt', 'https://www.xiaohongshu.com/explore/66a981250000000009017750']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [d2189d3d3] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.3.2-2021-02-02-full_build-www.gyan.dev, ffprobe 4.2.1, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1834 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/_update_spec
[debug] Downloading SHA2-256SUMS from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2<IP_ADDRESS>821/SHA2-256SUMS
Current version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
Current Build Hash: dec09e67683c1f1b019ff09c184234468576f9dc9b9c4d5f1ff992f9f56911f5
Updating to<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds ...
[debug] Downloading yt-dlp.exe from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2<IP_ADDRESS>821/yt-dlp.exe
Updated yt-dlp to<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
[debug] Restarting: C:\bin\yt-dlp.exe -vU --cookies cookies.txt https://www.xiaohongshu.com/explore/66a981250000000009017750
[debug] Command-line config: ['-vU', '--cookies', 'cookies.txt', 'https://www.xiaohongshu.com/explore/66a981250000000009017750']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [f0bb28504] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.3.2-2021-02-02-full_build-www.gyan.dev, ffprobe 4.2.1, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
[XiaoHongShu] Extracting URL: https://www.xiaohongshu.com/explore/66a981250000000009017750
[XiaoHongShu] 66a981250000000009017750: Downloading webpage
WARNING: Extractor failed to obtain "title". Creating a generic title instead
ERROR: [XiaoHongShu] 66a981250000000009017750: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Traceback (most recent call last):
File "yt_dlp\YoutubeDL.py", line 1626, in wrapper
File "yt_dlp\YoutubeDL.py", line 1782, in __extract_info
File "yt_dlp\YoutubeDL.py", line 1841, in process_ie_result
File "yt_dlp\YoutubeDL.py", line 2847, in process_video_result
File "yt_dlp\YoutubeDL.py", line 1123, in raise_no_formats
yt_dlp.utils.ExtractorError: [XiaoHongShu] 66a981250000000009017750: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp -vU --cookies "cookies.txt" https://www.xiaohongshu.com/explore/66a981250000000009017750
[debug] Command-line config: ['-vU', '--cookies', 'cookies.txt', 'https://www.xiaohongshu.com/explore/66a981250000000009017750']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [d2189d3d3] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.3.2-2021-02-02-full_build-www.gyan.dev, ffprobe 4.2.1, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1834 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/_update_spec
[debug] Downloading SHA2-256SUMS from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2<IP_ADDRESS>821/SHA2-256SUMS
Current version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
Current Build Hash: dec09e67683c1f1b019ff09c184234468576f9dc9b9c4d5f1ff992f9f56911f5
Updating to<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds ...
[debug] Downloading yt-dlp.exe from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2<IP_ADDRESS>821/yt-dlp.exe
Updated yt-dlp to<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
[debug] Restarting: C:\bin\yt-dlp.exe -vU --cookies cookies.txt https://www.xiaohongshu.com/explore/66a981250000000009017750
[debug] Command-line config: ['-vU', '--cookies', 'cookies.txt', 'https://www.xiaohongshu.com/explore/66a981250000000009017750']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [f0bb28504] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 4.3.2-2021-02-02-full_build-www.gyan.dev, ffprobe 4.2.1, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.2, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1830 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
[XiaoHongShu] Extracting URL: https://www.xiaohongshu.com/explore/66a981250000000009017750
[XiaoHongShu] 66a981250000000009017750: Downloading webpage
WARNING: Extractor failed to obtain "title". Creating a generic title instead
ERROR: [XiaoHongShu] 66a981250000000009017750: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1626, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1782, in __extract_info
  File "yt_dlp\YoutubeDL.py", line 1841, in process_ie_result
  File "yt_dlp\YoutubeDL.py", line 2847, in process_video_result
  File "yt_dlp\YoutubeDL.py", line 1123, in raise_no_formats
yt_dlp.utils.ExtractorError: [XiaoHongShu] 66a981250000000009017750: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

have seen same error on facebook reels video:
10:34:36.04 - 2024-1009
... C:\tools\media\tools\yt-dlp\yt-dlp.exe -U
Current version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp
Current Build Hash: d0c9ce0a75a46882d321d942426d3e179a702d1659be641d9c7fcbe1c6b779ee
Updating to<EMAIL_ADDRESS>from yt-dlp/yt-dlp ...
Updated yt-dlp to<EMAIL_ADDRESS>from yt-dlp/yt-dlp
= = = =
10:35:23.43 - 2024-1009
... yt-dlp.bat            4   "https://www.facebook.com/reel/888479522746610"
[facebook:reel] Extracting URL: https://www.facebook.com/reel/888479522746610
[facebook] Extracting URL: https://m.facebook.com/watch/?v=888479522746610&_rdr
[facebook]<PHONE_NUMBER>46610: Downloading webpage
ERROR: [facebook]<PHONE_NUMBER>46610: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
.

@seaklin83546  XHS video url looks like https://www.xiaohongshu.com/explore/66a981250000000009017750?xsec_token=<token-here>&xsec_source=<source-here> now. You need to extract a url like this.

@seaklin83546 XHS 视频网址https://www.xiaohongshu.com/explore/66a981250000000009017750?xsec_token=<token-here>&xsec_source=<source-here>现在看起来像这样。您需要提取一个这样的网址。

是的，加了这个认证


H36M SMPL parameters and results.npz file analysis - Request

Hello @Arthur151,
Thank you for the work you posted here.
I went through the following page https://github.com/Arthur151/ROMP/blob/12a624f00be92d1f7195f24106d151d2f26961f4/docs/config_guide.md, however, there are few arrays generated which are not mentioned in it. Could you clarify those to me?

"global-orient"

trans (3,) # rough 3D translation converted from the estimated camera parameters. - in the npz_file 'cam-trans' which is not an issue. My question for this is: " from the estimated camera parameters" <<-- from where these estemated camera parameters were defined for ROMP demo.

Lastly, I am working on a project based on h36m for view-synthesis, and for preparation purposes, I require 4 major metadata : smpl-betas, and poses (got these 2 from the npz file after running the demo on 1 h36m scenario video).

However, I also require the intrinsic and extrinsic camera parameters for the same (I ran the demo romp on h36m subject 11 walking scenario).
Is there a way to generate these for h36m dataset, lets say for the subject 11 walking scenario?  Here is an example of what I require for the synthesis.

I would love to hear from you on this matter.
THANK YOU ONCE AGAIN

@Dipankar1997161
Sure, here is the answers:

the 'global-orient' is the first 3 parameters of  72-dim SMPL pose parameters.
We employ a pre-defined fixed camera model, and all predictions are in this camere model space.
The camera is assumed to be of FOV = 60 degree, and the focal length is calculated via
https://github.com/Arthur151/ROMP/blob/12a624f00be92d1f7195f24106d151d2f26961f4/romp/lib/config.py#L58
The extrinsic is simple, always np.eye(4).

I have struggling with a similar issue. I might have missed the answer to this -   the extrinsic matrix is np.eye(4), whats the intrinsic matrix?

I have struggling with a similar issue. I might have missed the answer to this - the extrinsic matrix is np.eye(4), whats the intrinsic matrix?

The intrinsic is basically your inage center as cx and Cy
Next thr focal length can be taken from the config.py as mentioned in the above comment. This was you can setup the intrisic matrix.
Otherwise use the values ROMP have given in the output file and convert it from weak perspective camera to a regular extrinsic. That's the other way


Compute Extension template type - invalid

In the extension schema, the following key-value pair is invalid:
"type": "extensions"
However, the below works:
"type": "Microsoft.Compute/Extensions"

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

ID: e2d20271-77ef-4c29-26ed-e6ea015a7c63
Version Independent ID: ea4abb54-6c4b-7049-f440-853b5a874ec5
Content: Azure Network Watcher Agent virtual machine extension for Windows
Content Source: articles/virtual-machines/extensions/network-watcher-windows.md
Service: virtual-machines-windows
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

Turns out that's incorrect as well.
I copied a schema from template of a current Windows VM with the extension installed post-deploy:
        {
            "type": "Microsoft.Compute/virtualMachines/Extensions",
            "apiVersion": "2019-07-01",
            "name": "AzureNetworkWatcherExtension",
            "location": "[resourceGroup().location]",
            "dependsOn": [
                "[resourceId('Microsoft.Compute/virtualMachines', variables('vmName'))]"
            ],
            "properties": {
                "publisher": "Microsoft.Azure.NetworkWatcher",
                "type": "NetworkWatcherAgentWindows",
                "typeHandlerVersion": "1.4",
                "autoUpgradeMinorVersion": true
            }
        }

The below error appears:
Deployment template validation failed: 'The template resource 'AzureNetworkWatcherExtension' for type 'Microsoft.Compute/virtualMachines/Extensions' at line '238' and column '64' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-template/#resources for usage details.'. (Code: InvalidTemplate)

@jaydarius
Thanks for the feedback! We are currently investigating and will update you shortly.

@mimckitt Hello Micah! Need your help here. Could you please check the document and update it? Thanks!

#reassign: @damendo
@damendo since your team works on Network Watcher, can you take a look at this?

@jaydarius the type is correct. But you need more segments in the name.
See: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/child-resource-name-type#outside-parent-resource
Something like VmName/AzureNetworkWatcherExtension should work.

Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Is BERT fine-tuned for B-AON?(Discrepency in results)

In the paper, you also report results for B-AON, which simply replaces the LSTM of AON with the pre-trained BERT model as Sentence Encoder. Do you directly extract the BERT embeddings for sentences and then train the model, or is BERT fine-tuned during the training?

Okay, I just read the part where you mention you fine-tune B-AON. I have a follow-up question.
I'm not sure if you are still keeping up with the problem of Sentence Ordering, but recently the authors of AON also published another paper in EMNLP 2020, "BERT-enhanced Relational Sentence Ordering Network".
In that, they report results for a model they call, "BertSenPD", which essentially replaces the ranking network of RankTxNet (Deep Attentive Ranking Networks for Learning to Order Sentences) with a pointer network. Now, as per my understanding, this is the same as B-AON. BERT as sentence encoder( that's how RankTxNet do it), transformer layers to encode paragraph, and then a pointer network on the average paragraph embedding. However, the results reported for BertSenPD vary significantly from B-AON( for example, for SIND, PMR of BertSenPD is 19.19, whereas for B-AON it's 14.30). Am I wrong that BertSenPD and B-AON are the same, or is there some discrepancy here

I quickly skimmed through the papers you mentioned. It looks like there a few differences: (1) B-AON uses a LSTM decoder because AON uses LSTM decoder. The BertSendPD and RankTxNet use a transformer decoder. (2) The loss objectives of RankTxNet and hence BertSenPD seem to be different than B-AON/AON. Finally, I had used the implementation of the AON as provided by the authors of the original paper and replaced BERT sentence embeddings. You must confirm if the BertSenPD implementation is similar to AON or RanTxNet (could be something small like number of layers, dimension size, beam size etc).

First of all, thank you for taking the time out to reply and skimming through the papers.

RankTxNet uses a transformer as an encoder only. It is titled "Paragraph Encoder" in the paper, and they basically use FFNN layers on top of the transformer output. Also, in BertSenPD, the authors mention they replace the ranking module with "traditional pointer network decoder", which I am sure is the same as the decoder used in AON, as there is no mention of transformer decoder.
True, the loss objective for RankTxNet is different, but I guess that's what the authors of BertSenPD mean when they replace the "Ranking module" and used a traditional pointer decoder. Also, using BertSenPD as a baseline really makes sense for their final model BERSON.
Finally, I coded the implementation of B-AON all by myself after posting the issue here, although I only tested it on SIND, the results I got match the ones you reported. So yes I think I am misinterpreting what BertSenPD is, but from the details they have given, it is the same as B-AON is the best conclusion I can draw.
I have matched some of the hyperparameters that they have reported, but the difference is still substantial.
In any case, I tried to contact the authors of BertSenPD's paper but they didn't respond.

Yes, I suppose only the authors of "BERT-enhanced Relational Sentence Ordering Network" can clarify what it means implementation-wise to replace ranking module with "traditional pointer network decoder" (in terms of implementation of the decoder and the loss used). I am glad that you were able to reproduce the results of B-AON on SIND. Note that the AON results reported in our work are also slightly different than the original paper (the reported results are our runs of the code provided by the authors). Best of luck with your experiments! Please close the issue if all your concerns are addressed.

Right, let's see if they reply but I'm not hopeful. I will just implement their final model BERSON and see if the results match. Thanks for your time!


Offline messages are not getting delivered if app is running in background

Offline messages are not getting delivered if app is running in background

fixed with version 2.2.


Unit tests

WIP, this PR is to check codeacy and coveralls along the way

Coverage increased (+0.06%) to 80.601% when pulling 462fb1d8ba3c0c79f9ea32f47096a451615a7d23 on mattheus_junit into cacdf320b0072981d3d053b7a04eb21b03d2f642 on master.

Coverage increased (+0.6%) to 81.15% when pulling d63318379650d66849301449eff12b9af5458bec on mattheus_junit into cacdf320b0072981d3d053b7a04eb21b03d2f642 on master.

Coverage increased (+0.8%) to 81.388% when pulling 3562b7c429b730c158ecdb9a6a6cc4746ed427c7 on mattheus_junit into cacdf320b0072981d3d053b7a04eb21b03d2f642 on master.

Coverage increased (+1.5%) to 82.0% when pulling 8661fae37478bf81366abba552b0e65a571f1779 on mattheus_junit into cacdf320b0072981d3d053b7a04eb21b03d2f642 on master.


Suggestions for chart versioning and release management

Feature Description
Release notes
Would like some type of chart release notes. Bare minimum populate What's Changed in the Github release, in the same way as the grafana and loki-distributed charts do it by just referencing PRs.
In addition to referencing PRs under What's Changed, there could be a custom release note annotation in Chart.yaml. When a contributor creates a new version, they also overwrite the "old" release notes with the release notes applicable for this version. This could get picked up by the helm chart releaser workflow and included in the Github release. Something like this:
version: 3.2.1
[...]
annotations:
  changes: |
    - kind: added
      description: Description of something I added in this version
    - kind: changed
      description: Description of something I modified in this version

With kinds adhering to https://keepachangelog.com/en/1.1.0/
This approach is how argo-helm handles publishing of release notes to artifacthub. For example https://github.com/argoproj/argo-helm/pull/2367/files.

Versioning
Maybe it's on its way in #330, but some guidance and enforcement of chart versioning would be good. Again, perhaps we could use argo-helm's guidelines as inspiration.

Ah yes, I see now the grafana and loki-distributed charts are hosted in the helm-charts repo itself. But could we anyway give it a try setting generate-release-notes: true in this repo's cr.yaml? Looks like that's how they're doing it (e.g. https://github.com/grafana/helm-charts/pull/2469).
I didn't necessarily mean that we should publish the chart or its changes to artifacthub.io, it was just an example of how the Argo project has chosen to handle chart release notes and versioning in general (the "target" being artifacthub.io in their case wasn't the relevant part).

But could we anyway give it a try setting generate-release-notes: true in this repo's cr.yaml?

Actually, yes, definitely! Thank you for the pointer :slightly_smiling_face:

For record's sake. generate-release-notes: true was set to true for the latest Helm release (today) but it didn't seem to generate anything :thinking:
https://github.com/grafana/helm-charts/releases/tag/helm-k6-operator-3.6.0
https://github.com/grafana/k6-operator/releases/tag/helm-k6-operator-3.6.0

Have you considered to version the application and the chart together as a bundle, instead of them having separate life cycles? The application release notes in this repository are superb!


Cannot open console while vue-devtools tab is open

Chrome devtools allows a JS console to be opened in the lower part of the screen by pressing  on any tab. This does not seem to work on a recent version of vue-devtools, but it was previously fine. I am not aware of when it broke. There is a dedicated tab for the console, but this is very convenient when trying to watch Vuex and console logs/errors.
Behavior:

Open Chrome Devtools
Navigate to Vue tab
Press
JS Console pops open and immediately closes

Workaround for the moment:

Open Chrome Devtools
Navigate to any tab that is not Vue
Press
JS Console opens
Navigate to Vue tab
Do not press , console will stay open
Repeat 2-5 to reopen the console

What version of Chrome are you using? I cannot reproduce this with Chrome 61 on Mac.

@yyx990803 happens in version 62. Opening the devtools with the console collapsed seems to always trigger the bug

@yyx990803 I'm currently 61 as well, and interestingly it seemed not to be happening for me anymore either. Found that the key is you need to have some component in the Components tab of the Vue Devtools selected. If you have not clicked on a component from the list, the console opens as expected with .

I have noticed that scrolling the Vue Devtools has weird behavior while the console is open as well. It scrolls the entire devtools area rather than scrolling inside whatever element you are hovering (e.g. the Vuex pane). Makes it impossible to get to some items if the pane is too long.


missing or empty reg/ranges property when trying to build blink_led example

When I try to build any application, it shows this error followed by KeyError: '#cells' and it doesn't finish the build.
I've tried to search something related to this problem but I couldn't find anything that could help.
I only used the command: west build -b nrf52840_pca10056
west build -b nrf52840_pca10056
source directory: /home/luigifernandomarquesdaluz/zephyr/samples/basic/blink_led
build directory: /home/luigifernandomarquesdaluz/zephyr/samples/basic/blink_led/build (created)
BOARD: nrf52840_pca10056
Zephyr version: 1.14.1
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.8", minimum required is "3.4")
-- Selected BOARD nrf52840_pca10056
-- Found west: /home/luigifernandomarquesdaluz/.local/bin/west (found suitable version "0.6.2", minimum required is "0.5.6")
-- Loading /home/luigifernandomarquesdaluz/zephyrproject/zephyr/boards/arm/nrf52840_pca10056/nrf52840_pca10056.dts as base
-- Overlaying /home/luigifernandomarquesdaluz/zephyrproject/zephyr/dts/common/common.dts
nrf52840_pca10056.dts.pre.tmp:317.23-320.5: Warning (simple_bus_reg): /soc/virtualcom: missing or empty reg/ranges property
Traceback (most recent call last):
  File "/home/luigifernandomarquesdaluz/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 517, in <module>
    main()
  File "/home/luigifernandomarquesdaluz/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 503, in main
    generate_defines()
  File "/home/luigifernandomarquesdaluz/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 446, in generate_defines
    generate_node_defines(node_path)
  File "/home/luigifernandomarquesdaluz/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 126, in generate_node_defines
    generate_prop_defines(node_path, prop)
  File "/home/luigifernandomarquesdaluz/zephyrproject/zephyr/scripts/dts/extract_dts_includes.py", line 91, in generate_prop_defines
    names, 0, def_label, generic)
  File "/home/luigifernandomarquesdaluz/zephyrproject/zephyr/scripts/dts/extract/globals.py", line 455, in extract_cells
    l_cellname = [str(cell_yaml[cell_yaml_names][j]).upper()]
KeyError: '#cells'
CMake Error at /home/luigifernandomarquesdaluz/zephyrproject/zephyr/cmake/dts.cmake:174 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  /home/luigifernandomarquesdaluz/zephyrproject/zephyr/cmake/app/boilerplate.cmake:399 (include)
  CMakeLists.txt:4 (include)

-- Configuring incomplete, errors occurred!
ERROR: command exited with status 1: /home/luigifernandomarquesdaluz/bin/cmake/cmake-3.13.1-Linux-x86_64/bin/cmake -B/home/luigifernandomarquesdaluz/zephyr/samples/basic/blink_led/build -S/home/luigifernandomarquesdaluz/zephyr/samples/basic/blink_led -GNinja -DBOARD=nrf52840_pca10056

This builds fine on my machine, can you try the following:

Remove any build folders completely
Make sure you have run west update

This builds fine on my machine, can you try the following:
* Remove any build folders completely

* Make sure you have run `west update`

I've just tried doing this, but the error remains the same :/

Not sure what's going on here either. Works for me when running cmake -GNinja -DBOARD=nrf52840_pca10056 .. in samples/basic/blink_led/b.
From the error it looks like a missing *-cells: key in a binding (.yaml file), e.g. gpio-cells:. Could you try applying this patch and seeing what the last node path it prints before the error is?
The problem might be with the binding for that node.
diff --git a/scripts/dts/extract/globals.py b/scripts/dts/extract/globals.py
index 86db6411bc..60e2665d75 100644
--- a/scripts/dts/extract/globals.py
+++ b/scripts/dts/extract/globals.py
@@ -535,6 +535,8 @@ def extract_cells(node_path, prop, prop_values, names, index,
         except Exception:
             name = ''

+        print("cell parent: " + cell_parent, flush=True)
+
         # Get number of cells per element of current property
         for props in reduced[cell_parent]['props']:
             if props[0] == '#' and '-cells' in props:

@luigiluz are you sure you are on the latest master and with no local changes?

ah wait, you are on 1.14.1? @ulfalizer that might explain it.

maybe i've messed up and cloned an outdated master
i'll only be able to apply this suggestions tomorrow, but i'll update my situation here as soon as I can

maybe i've messed up and cloned an outdated master
i'll only be able to apply this suggestions tomorrow, but i'll update my situation here as soon as I can

I think you have a very old master, from the build output:

Zephyr version: 1.14.1

i've updated to version 2.0.99 and it worked properly, thanks guys


500 MongoError: Can't take a write lock while out of disk space

I checked the quota limit and it almost reached 1GB. How can i delete previous month dataand config the uptime to store only month data.

:bulb:


[improve][misc] reduce WhiteBox usage

Master Issue: #16912
Remove WhiteBox usage in pulsar-client and pulsar-client-tools. We then have only usages in pulsar-broker, pulsar-io-elastic-search, and testmocks.
cc @nicoloboschi @lhotari @Shoothzj
Documentation

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

@nicoloboschi Thanks for your review and your work on the CI env! It's for a long time that my code change passes CI in one take :)


Cursor positions and movement in conceal

Hello,
I am using conceallevel=2 and concealcursor=n (conceal, in normal mode).

Suppose, in the following example, that \alpha, \beta, are concealed to α, β, and we edit the line “1+α+β+1”.
Moving right by pushing ‘cursor right’ gives
|1+α+β+1
1|+α+β+1
1+|α+β+1
1+α|+β+1 (push ‘cursor right’ 6 times)
1+α+|β+1
1+α+β|+1 (push ‘cursor right’ 5 times)
1+α+β+|1, etc.
To surpass one character (as α), one needs to push the cursor 6 (!) times, etc.
Everyone would expect that pushing the cursor once moves over the displayed character α, that's the sense of concealing.

The position of the block cursor is strange as well:
1+\al|pha+2 is displayed as 1+α|+|2. Instead, the cursor should indicate the correct position 1+|α|+2.

It should be corrected.
Thank you!

This is a known limitation of concealing. Cursor movements work on the actual characters and not on the visualization on top of it.
Since this is a duplicate of very old issues like #206 and #260, I am closing this ticket.
These days, virtual text may work better (but I must say I do not know).


Fixed spelling

Small spelling correction of emacs (Written as emcas in script)
P.S.
Such a cute and clever project! Would love to see how this evolves!

Thank you.
I think a little bit of grep, sed, awk and maybe a short vi lesson and we will be done. This would of course require at least 15 more rooms.
If you have any ideas, I'd be happy to hear them.

That's nice! I wish I had this while starting out :)
I think on top of grep, sed, awk we can probably add:

Fundamentals

permissions (a locked chest script which doesn't have run permissions?)
$PATH (have a .spells folder from where we can run spells from?)

Useful Commands

using man, tldr, fzf, xargs, >, >> (Imagine a final boss with grep, awk, sed, fzf and xargs script :skull: )

Scripting (how to give the user scripting powers safely :thinking: )

using exit codes (Can probably couple if..else with the exit code of a script, two-in-one)
strict mode (set -euo pipefail)
naming conventions
if..else, for loops, while loops
echo, read, sleep (in-built functions)
arrays
functions

These are all great ideas! The only thing that delays me implementing them is how to implement them :) I mean in a way that sort of fits into the narrative of a dungeon crawler, so it's fun and also doesn't let the user cheat easily


Are requires, prohibits, permits supposed to be reducible?

x requires y at t iff: x is an instance of Action Regulation at time t, and y is an instance of Act at time t, and x prescribes that some agent must be agent in y.
x prohibits y at t iff: x is an instance of Action Regulation at time t, and y is an instance of Act at time t, and x prescribes that some agent must not be agent in y.
x permits y at t iff: x is an instance of Action Regulation at time t, and y is an instance of Act at time t, and x prescribes that some agent may be agent in y.
I was wondering if these relations are supposed to be reducible, meaning that it would be justified to infer e. g. for requires
x requires y -> x prescribes Agent z, Agent z participates in y
I guess x prescribes Agent z and Agent z participates in y are not sufficient for x requires y because they don't express the "must be", but necessary.
This would lead to x prescribing two Entities. (I wondered about the possibility of multiple entities in a modal subgraph being prescribed by a Directive ICE in #64.)
Any ideas? Thanks.

Opinion:

Correct, "x requires y" doesn't entail "x prescribes Agent z and z participates in y"
Agreed, if an Action Regulation specifies a particular Agent, this would get specified in the Modal subgraph: "x prescribes y, and y mro:has_agent Agent z," etc.

Thanks for your insight.

Agreed, if an Action Regulation specifies a particular Agent, this would get specified in the Modal subgraph: "x prescribes y, and y mro:has_agent Agent z," etc.

That's always an option, I guess.
But I was thinking about sth. like this: (two entry points into the modal subgraph)
x mro:prescribes Process y
x mro:prescribes Agent z
y mro:has_agent z
I'm not sure what the semantic difference between this and
x mro:prescribes Process y
y mro:has_agent Agent z
amounts to.

@nklsbckmnn We have begun to move discussions items to the discussion forum. Please consider adding a thread there regarding this question if it is still open.


Remove gatsby-plugin-s3

gatsby-plugin-s3 seems to be unmaintained and requires deprecated packages.
Replace it with custom S3 deploy scripting.

Resolved by #70


error TS2307: Cannot find module './videoplayer'.

I'm not sure if it is related to the error "Cannot find module './video-source/video-source'".
When I tried running my app i got the following error:
app/pages/video/videoplayerpage.ts(6,9): error TS2305: Module '"C:/sampleapp/node_modules/nativescript-videoplayer/index"' has no exported member 'Video'.
/node_modules/nativescript-videoplayer/index.d.ts(1,15): error TS2307: Cannot find module './videoplayer'.

I had the same issue.
I found that some .ts files are missed in 'node_modules\nativescript-videoplayer' folder:

videoplayer-common.ts
videoplayer.android.ts
videoplayer.ios.ts

I just get them directly from github and put in that folder 'node_modules\nativescript-videoplayer' folder;
Missed files:

https://github.com/bradmartin/nativescript-videoplayer/blob/master/videoplayer-common.ts
https://github.com/bradmartin/nativescript-videoplayer/blob/master/videoplayer.android.ts
https://github.com/bradmartin/nativescript-videoplayer/blob/master/videoplayer.ios.ts

Sorry about those issues, probably just lost in some of the recent updates. I'll try to review and make sure it's fixed with next publish.

Which version are you on?

I use the latest one, downloaded today.

By the way this version works just well for me, I even use emulator to test (local & remote videos).
Brad, thanks a lot!

@scemis all @bnussey lately 👍

The .ts files are intentionally ignored for the npm package as they're not required. This is done to reduce package size.

Found part of the issue (typings key on package.json), the definitions should be on npm - but yea the source TS files don't because they aren't needed. The definition files should be and that resolves the TS compiler so no warnings are thrown.

The 1.0.8 release has the typings key in the package.json which will help resolve the TS pieces. So should be no issue going forward with the package.

I downloaded the latest and still get the following error:
node_modules/nativescript-videoplayer/index.d.ts(1,15): error TS2307: Cannot find module './videoplayer'.
app/video-model.ts(7,10): error TS2305: Module '"/Users/...../Developement/terraceoapps/Sagotecken/node_modules/nativescript-videoplayer/index"' has no exported member 'Video'.
app/video.ts(8,10): error TS2305: Module '"/Users/....../Developement/terraceoapps/Sagotecken/node_modules/nativescript-videoplayer/index"' has no exported member 'Video'.

I may just rewrite the definitions by hand to make it work better.
On Tue, Sep 27, 2016 at 4:45 PM, guru1966<EMAIL_ADDRESS>wrote:

I downloaded the latest and still get the following error:
node_modules/nativescript-videoplayer/index.d.ts(1,15): error TS2307:
Cannot find module './videoplayer'.
app/video-model.ts(7,10): error TS2305: Module '"/Users/...../Developement/
terraceoapps/Sagotecken/node_modules/nativescript-videoplayer/index"' has
no exported member 'Video'.
app/video.ts(8,10): error TS2305: Module '"/Users/....../Developement/
terraceoapps/Sagotecken/node_modules/nativescript-videoplayer/index"' has
no exported member 'Video'.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bradmartin/nativescript-videoplayer/issues/35#issuecomment-250008458,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhM7p_NlEWT-DLttefzUU3pvpW7Muks5quY5egaJpZM4KHeJw
.

i'm still getting the same error as @guru1966 after downloading the updated version.
thank you @bradmartin, will wait for the updated files.

Yea I'm taking a look now. Will figure out a better solution 👍

same issue with 1.0.8

Should be fixed with 1.0.9 just published, let me know if you still have warnings/errors. I've ran it successfully with a new demo app and no TS errors/warnings

Thank you.
It compiled on android

hi @bradmartin it's working now. I tried running the demo. Thank you very much!
Although when i clicked on stop and then play again, the video doesn't play. But that's another story, I'll check that one out.
hi @matart15 you can try to uninstall and install nativescript-videoplayer.

@aquiintac Thank you.
I tried again from zero like this.
$ rm -rf nativescript-videoplayer
$ git clone https://github.com/bradmartin/nativescript-videoplayer.git

and got same error.
However deleting only node_modules and platform and reinstalling worked.
maybe some kind of cache related problem.

Stop on android works. Check the readme
On Wed, Sep 28, 2016, 2:58 AM matart15<EMAIL_ADDRESS>wrote:

@aquiintac https://github.com/aquiintac Thank you.
I tried again from zero like this.
$ rm -rf nativescript-videoplayer
$ git clone https://github.com/bradmartin/nativescript-videoplayer.git
and got same error.
However deleting only node_modules and platform and reinstalling worked.
maybe some kind of cache related problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bradmartin/nativescript-videoplayer/issues/35#issuecomment-250098185,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhEcVGBdm8mt-EpFHC96Ma3-k3A3nks5quh49gaJpZM4KHeJw
.

i just read it... sorry about that hahaha. got it :)

All good. I might have forgotten to publish the def file. If so I'll
release a fix later today.
On Wed, Sep 28, 2016, 5:21 AM Johanna Intac<EMAIL_ADDRESS>wrote:

i just read it... sorry about that hahaha. got it :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bradmartin/nativescript-videoplayer/issues/35#issuecomment-250128827,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhND542cQvIXTiK-tYoyDMifzIpOuks5quj-lgaJpZM4KHeJw
.

Demo not working for me, still same error as @matart15.
Deleting only node_modules and platform and reinstalling did not work for me.
Tested on Android emulator, maybe worked for some of you on Android device?

So @guru1966 still not working for you? I would manually uninstall the app from the device/emulator. Clone the repo, path to demo folder, build the .apk and then run it that should work.

The package is published correctly and all of the TS warnings/errors should be resolved, I've tested multiple times and was successful. It's likely an issue with the old .apk not being removed from the device, even though you rebuild and run sometimes you need a manual uninstall to make Android straighten out. I'm closing this issue for now since the TS warnings/errors are resolved. @guru1966 if you continue having issues with the demo project running please open a new issue with some error logs. Thanks everyone 👍


Complicated relationship to geocoded model, "column "distance" does not exist"

Hey hey
I am trying to search a Team model that is sorted by distance of its members, which are associated through memberships. I get the old favorite, column "distance" does not exist
# Searching
Teams.joins(students: :account, mentors: :account).near(n_place, x_miles).uniq

# Model
class Team < ActiveRecord::Base
  # found this in one of your issues,
  # it worked beautifully for searching
  # and ordering the profile models that own the account
  reverse_geocoded_by "accounts.latitude", "accounts.longitude"

  has_many :memberships, as: :joinable
  has_many :students, through: :memberships, source: :member, source_type: "StudentProfile"
  has_many :mentors, through: :memberships, source: :member, source_type: "MentorProfile"
end

The resulting failing SQL is as follows
SELECT  DISTINCT "teams"."id", distance AS alias_0 FROM "teams" INNER JOIN "memberships" ON
 "memberships"."joinable_id" = "teams"."id" AND "memberships"."member_type" = $1 AND
"memberships"."joinable_type" = $2 INNER JOIN "student_profiles" ON "student_profiles"."id" =
"memberships"."member_id" INNER JOIN "accounts" ON "accounts"."id" =
"student_profiles"."account_id" INNER JOIN "memberships" "memberships_teams_join" ON
"memberships_teams_join"."joinable_id" = "teams"."id" AND
"memberships_teams_join"."member_type" = $3 AND "memberships_teams_join"."joinable_type" =
$4 INNER JOIN "mentor_profiles" ON "mentor_profiles"."id" =
"memberships_teams_join"."member_id" INNER JOIN "accounts" "accounts_mentor_profiles" ON
"accounts_mentor_profiles"."id" = "mentor_profiles"."account_id" LEFT OUTER JOIN
"season_registrations" ON "season_registrations"."registerable_id" = "teams"."id" AND
"season_registrations"."registerable_type" = $5 LEFT OUTER JOIN "seasons" ON "seasons"."id" =
"season_registrations"."season_id" WHERE (seasons.year = 2017) AND "teams"."division_id" IN
(SELECT "divisions"."id" FROM "divisions" WHERE "divisions"."name" IN (0, 1, 2)) AND
"teams"."accepting_mentor_requests" = $6 AND (accounts.latitude BETWEEN -530.7811548433918
AND<PHONE_NUMBER>433919 AND accounts.longitude BETWEEN -937.3637877797452 AND
797.9381087797452 AND (3958.755864232 * 2 * ASIN(SQRT(POWER(SIN((48.14597759999999 -
accounts.latitude) * PI() / 180 / 2), 2) + COS(48.14597759999999 * PI() / 180) *
COS(accounts.latitude * PI() / 180) * POWER(SIN((-69.71283950000002 - accounts.longitude) * PI()
/ 180 / 2), 2)))) BETWEEN 0.0 AND 40000)  ORDER BY distance ASC LIMIT 15 OFFSET 0

Let me know if I need to include anything else to help investigate this issue. Thank you, it's a great gem despite this trip up!
By the way you may notice the "40,000" miles in the query.  I had a scope on teams that had an includes/eager load. I knew about the known issue with includes, but didn't see this until I was able to look at my SQL query closer in my issue description. Changed the eager load in that other scope to a joins. Problem solved :)


win: Support Visual Studio 2019

Checklist

[x] npm install && npm test passes
[x] commit message follows commit guidelines

Description of change

Support Visual Studio 2019.
Original code does not work with Visual Studio 2019 because path of VS2019's MSBuild.exe is different from VS2017's MSBuild.exe.
And improve error check. If msbuild.exe is not found, then throws error.

Problem is MSVS2019 comes with 14.2 toolset, so in that case it needs to set:
defaults['msbuild_toolset'] = 'v142'

But anyway, as soon as GYP3 passes all tests on 2017 & 2019, I'll PR to replace the old GYP, so we won't need these tricks (GYP3 has full support for MSVS 2017 & 2019)

Any estimate of when it will be available?

Please accept this ASAP...

I want to use this solution ASAP…

@syohex support ended up landing from another PR, I believe we can close this one now. Thanks for working on this and opening this PR.
node-gyp v5.0.0 is out with Visual Studio 2019 support. It's not yet integrated into npm so it has to be installed manually. This should do it:
npm install --global node-gyp@latest
for /f "delims=" %P in ('npm prefix -g') do npm config set node_gyp "%P\node_modules\node-gyp\bin\node-gyp.js"

That is, install node-gyp globally and make the npm config variable node_gyp point to node-gyp.js.

How to undo this after node-gyp is integrated into npm
npm uninstall --global node-gyp
npm config delete node_gyp


Helm dependency download the same chart every single time

Output of helm version: v2.14.1
Output of kubectl version: v1.16.1
Cloud Provider/Platform: GKE
In my helm depencencies, I have the same chart definied 17 times for differents purposes and when building the dependencies, the same charts is downloaded every single time:
helm dependency build Hang tight while we grab the latest from your chart repositories... ...Unable to get an update from the "local" chart repository (http://<IP_ADDRESS>:8879/charts):         Get http://<IP_ADDRESS>:8879/charts/index.yaml: dial tcp <IP_ADDRESS>:8879: connect: connection refused ...Successfully got an update from the "xxxxx" chart repository ...Successfully got an update from the "incubator" chart repository                  ...Successfully got an update from the "banzaicloud-stable" chart repository ...Successfully got an update from the "stable" chart repository Update Complete.                                         Is that possible?

duplicate of https://github.com/helm/helm/issues/4618


OBJLoader

Correct the loading, taking into account the UVs.
Set a new parameter to specify to take it into account or not.
Update the readme
Asked by @Temechon , following this topic http://www.html5gamedevs.com/topic/18006-babylonjs-very-slow/

And fix the texture bug here : http://www.html5gamedevs.com/topic/17186-incorrect-obj-loader/?hl=loader

Looking good! How much does it impact the performance, when the flag is true?

With an object like the desk on this topic : http://www.html5gamedevs.com/topic/18006-babylonjs-very-slow/ , 5000ms without, 14000ms with. It's the reason why I add a flag.
With this one : http://i.imgur.com/IkGNZA9.png
300ms without, 400ms with.

na na na na Batman! :-)
Cool. Thanks for the fix!

Go Batman ! :+1:


Linker errors when building with Windows GHC <8.0

I recently observed a build failure on Windows GHCs older than 8.0 on this CI build. Here is the relevant excerpt from a Windows GHC 7.10.3 build:
[22 of 46] Compiling Statistics.Types ( Statistics\Types.hs, dist\build\Statistics\Types.o )
ghc.exe: unable to load package `math-functions-<IP_ADDRESS>'
ghc.exe: C:\SR\ghc-7.10.3\math-functions-<IP_ADDRESS>-948a6b665e43ccbeeaf83d9263903789e679718c\lib\libHSmath-functions-<IP_ADDRESS>-948a6b665e43ccbeeaf83d9263903789e679718c.a: unknown symbol `expm1'
cabal.exe: Failed to build statistics-<IP_ADDRESS> (which is required by
bench:bench from text-show-3.8.2).

This is likely due to an old GHC bug (https://gitlab.haskell.org/ghc/ghc/issues/11223) that was fixed in GHC 8.0.
This error goes away if I downgrade to math-functions-<IP_ADDRESS>. I also tried compiling math-functions-<IP_ADDRESS> with -f-system-expm1, but that simply caused build failures:
$ cabal build -w C:\Users\RyanGlScott\Software\ghc-7.10.3\bin\ghc --constraint="math-functions -system-expm1"
Resolving dependencies...
Build profile: -w ghc-7.10.3 -O1
In order, the following will be built (use -v for more details):
 - math-functions-<IP_ADDRESS> (lib) (requires build)
 - mwc-random-<IP_ADDRESS> (lib) (requires build)
 - dense-linear-algebra-<IP_ADDRESS> (lib) (requires build)
 - monad-par-<IP_ADDRESS> (lib) (requires build)
 - statistics-<IP_ADDRESS> (lib) (configuration changed)
Starting     math-functions-<IP_ADDRESS> (lib)
Building     math-functions-<IP_ADDRESS> (lib)

Failed to build math-functions-<IP_ADDRESS>.
Build log (
C:\Users\RyanGlScott\AppData\Roaming\cabal\logs\ghc-7.10.3\math-functions-<IP_ADDRESS>-f8cafa47f02921354906148e4d4f75cd423f7fe6.log
):
Preprocessing library for math-functions-<IP_ADDRESS>..
Building library for math-functions-<IP_ADDRESS>..
[ 1 of 11] Compiling Numeric.Sum      ( Numeric\Sum.hs, dist\build\Numeric\Sum.o )

Numeric\Sum.hs:56:1: Warning:
    The import of `Data.Monoid' is redundant
      except perhaps to import instances from `Data.Monoid'
    To import instances alone, use: import Data.Monoid()

Numeric\Sum.hs:63:1: Warning:
    The import of `Data.Vector.Generic.Mutable' is redundant
      except perhaps to import instances from `Data.Vector.Generic.Mutable'
    To import instances alone, use: import Data.Vector.Generic.Mutable()
[ 2 of 11] Compiling Numeric.Polynomial.Chebyshev ( Numeric\Polynomial\Chebyshev.hs, dist\build\Numeric\Polynomial\Chebyshev.o )
[ 3 of 11] Compiling Numeric.Polynomial ( Numeric\Polynomial.hs, dist\build\Numeric\Polynomial.o )
[ 4 of 11] Compiling Numeric.MathFunctions.Comparison ( Numeric\MathFunctions\Comparison.hs, dist\build\Numeric\MathFunctions\Comparison.o )
[ 5 of 11] Compiling Numeric.MathFunctions.Constants ( Numeric\MathFunctions\Constants.hs, dist\build\Numeric\MathFunctions\Constants.o )
[ 6 of 11] Compiling Numeric.RootFinding ( Numeric\RootFinding.hs, dist\build\Numeric\RootFinding.o )

Numeric\RootFinding.hs:43:1: Warning:
    The import of `Applicative'
    from module `Control.Applicative' is redundant

Numeric\RootFinding.hs:47:1: Warning:
    The import of `Data.Monoid' is redundant
      except perhaps to import instances from `Data.Monoid'
    To import instances alone, use: import Data.Monoid()

Numeric\RootFinding.hs:48:1: Warning:
    The import of `Data.Foldable' is redundant
      except perhaps to import instances from `Data.Foldable'
    To import instances alone, use: import Data.Foldable()

Numeric\RootFinding.hs:49:1: Warning:
    The import of `Data.Traversable' is redundant
      except perhaps to import instances from `Data.Traversable'
    To import instances alone, use: import Data.Traversable()
[ 7 of 11] Compiling Numeric.Series   ( Numeric\Series.hs, dist\build\Numeric\Series.o )
[ 8 of 11] Compiling Numeric.SpecFunctions.Compat ( Numeric\SpecFunctions\Compat.hs, dist\build\Numeric\SpecFunctions\Compat.o )

Numeric\SpecFunctions\Compat.hs:104:32: Not in scope: `sumSeries'

Numeric\SpecFunctions\Compat.hs:104:44: Not in scope: `liftA2'

Numeric\SpecFunctions\Compat.hs:104:56:
    Not in scope: `scanSequence'

Numeric\SpecFunctions\Compat.hs:105:60:
    Not in scope: `scanSequence'

Numeric\SpecFunctions\Compat.hs:105:80:
    Not in scope: `enumSequenceFrom'

I just screwed up some CPP. I'll upload fix tomorrow. Thanks for the report!

@RyanGlScott I think I fixed bug in current master. Could you check that it's indeed fixed? I don't have any windows box at hand

While bos/math-functions@84ea92943a7e5cff6681b5b0f032e64b76fafa4d does work around the issue, it's overly conservative in that it prevents any version of Windows from linking against the system expm1. The issue observed in https://github.com/bos/math-functions/issues/56#issue-490642288 (namely, GHC #11223) only occurs with Windows GHC 7.10.3 or earlier, so Windows GHC 8.0 and later can use the system expm1 just fine. I believe the conditional logic in the .cabal file should be closer to this:
diff --git a/math-functions.cabal b/math-functions.cabal
index 375a892..86f6c15 100644
--- a/math-functions.cabal
+++ b/math-functions.cabal
@@ -58,7 +58,7 @@ library
                       , vector              >= 0.7
                       , primitive
                       , vector-th-unbox     >= <IP_ADDRESS>
-  if flag(system-expm1) && !os(windows)
+  if flag(system-expm1) && !(os(windows) && !impl(ghc >= 8.0))
     cpp-options: -DUSE_SYSTEM_EXPM1
   if flag(system-erf)   && !impl(ghcjs)
     cpp-options: -DUSE_SYSTEM_ERF

(For comparison, this is basically identical to how the log-domain library does things, as it has to work around the same issue.)
After applying this change, I can successfully build statistics-<IP_ADDRESS> with both GHC 7.10.3 and 8.6.5, with or without the system-expm1 flag enabled in math-functions.

With GHC>=8.0 math-functions just use GHC.Float.expm1 :: Floating a => a -> a unconditionally and flag value is ignored. In fact we have to juggle 3 implementations: one provided by GHC, one coming from C and pure haskell.

My apologies, I did not realize that USE_SYSTEM_EXPM1 was only used on GHC <8.0. In that case, my suggested conditional logic is unnecessary, so 84ea92943a7e5cff6681b5b0f032e64b76fafa4d looks good to me.

<IP_ADDRESS> with fix is on hackage


Error MSB4057: The target "GenerateRestoreGraphFile" does not exist

When I am trying to run inside latest coverlet folder
dotnet add package coverlet.msbuild
I am getting the following error:
C:\coverlet-master\coverlet\build.proj : error MSB4057: The target "GenerateRestoreGraphFile" does not exist in the project.
Unable to create dependency graph file for project 'C:\coverlet-master\coverlet\build.proj'. Cannot add package reference.

I am not sure how to resolve it as coverlet is building and testing without any issue. However, I cannot add packages to dotnet as the file GenerateRestoreGraphFile is not existing.

Hi @losbaltica I'm not familiar with what GenerateRestoreGraphFile  refers to or what exactly you're trying to achieve. Are you having trouble using coverlet in your unit test project?

Hi @tonerdo, no I am just trying to add package coverlet.msbuild to dotnet. All I have done was installing coverlet to dotnet and based on readme add package. However at this step is failing and throw me "GenerateRestoreGraphFile" error.

@losbaltica this sounds like a NuGet restore error. Try deleting your obj and bin directories and perform another restore operation

@tonerdo  ok that fixes the issue! Cheers 👍

Awesome, glad to hear that