text:
Adding and removing people from group chats

Is it possible to extend the API to allow management of users in group chats? (adding and removing people).
Here's the message_batch for adding someone to the chat;
message_batch[0][action_type]:ma-type:log-message
message_batch[0][thread_id]:
message_batch[0][author]:fbid:MY_ID
message_batch[0][author_email]:
message_batch[0][coordinates]:
message_batch[0][timestamp]:1433779527722
message_batch[0][timestamp_absolute]:Today
message_batch[0][timestamp_relative]:17:05
message_batch[0][timestamp_time_passed]:0
message_batch[0][is_unread]:false
message_batch[0][is_forward]:false
message_batch[0][is_filtered_content]:false
message_batch[0][is_spoof_warning]:false
message_batch[0][source]:source:chat:web
message_batch[0][source_tags][0]:source:chat
message_batch[0][log_message_type]:log:subscribe
message_batch[0][log_message_data][added_participants][0]:fbid:ID_OF_USER_ADDED
message_batch[0][status]:0

Although I'm not sure if that's much help.

Also messed up and forgot to tag the issue from 6001095, c6d8173, and a029abc.

Hey @jackwilsdon,
This should now be implemented under the functions api.addUserToGroup and api.removeUserFromGroup.

authors: Schmavery jackwilsdon

repo: Schmavery/facebook-chat-api


text:
⚠ Jenkins Plugins Artifactory has degraded performance

In ac3bf50, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1364 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 4c56975 after 1 hour, 37 minutes.

source: gharchive/issue

repo: Schmitzis/Uptime

license: MIT

license_type: permissive

license_source: github-api


text:
Client-specific log level

The API currently knows two different log levels:

the Product speciffc Log Level
the User specific Log Level

They are suitable for most cases, but at rare occasions you might want to increase the log level of an entire client as a current setting. A valid use-case for that would be the rollout of a new solution, that includes a hypercare-phase. Setting a client-wide log level during that phase might be a good idea.
As an abuse of that functionality might lead to ridiculous amounts of data being written, the usage has to be limited to a reasonable extend.
The User specific Log Level already enforces an expiration date, that must not be more than 14 days in the future. The client specific Log Level should default to a maximum of three days in the future.
As the needed validity periods might differ between systems, clients or customers, they should be made flexible using BAdIs. A default implementation shipped with the API should define reasonable defaults (14 days; 3 days), that can be overwritten, if needed.

Implemented with commit #51671e0

repo: SchwarzIT/sap-usi-logging-api


text:
Add ability to group datasets into collections of related datasets

Issue Name
Add ability to group datasets into collections of related datasets
Summary
It could be useful to have a data structure or class that sits between proposal ID and dataset that would allow datasets to be grouped into collections of related datasets.  In our use case, we are using the proposal object for unique user proposals that would ultimately translate to a project or publication and the dataset object for sets of data resulting from a single process on a given machine.  In many cases we expect to have an experiment in which many related datasets would be generated, for example Optical Electron Spectrometry, XPS, and TEM, where it would be useful to group the dataset objects together to form a distinct collection of data within the proposal / project.

There was a nice diagram of this in the 2023-12-12 meeting notes:

From the discussion it seemed that existing work-arounds won't work for you (keywords, derived Datasets, publishedData).
Adding a DatasetCollection seems possible. Some questions that come to mind:

Who owns the collection? Can you make a collection of datasets you don't own? What other permissions are needed?
Do collection have a PID like datasets? Can you retrieve a collection as a unit (presumably yes, this seems like a key feature)? Can you publish a collection as a unit?
Can collection contain other collection? This would enable arbitrary hierarchies.
If groups have metadata, how does this get merged with their children? (I personally think this is going to be too complex, and metadata should just be duplicated between datasets)

My personal opinion regarding the questions/opinions posted above by @sbliven. We are discussing/brainstorming with our team, so I might adjust them soon.

Who owns the collection? Can you make a collection of datasets you don't own? What other permissions are needed?
The collection can be own by any user.
Yes you can create a collection of datasets that you do not own, as long as you have access to. When viewing a collection that lists datasets that the user cannot access, those datasets are excluded by the list and the user should be informed that n datasets are not accessible.
I will use the same schema owner/access groups as we have in datasets.

Do collection have a PID like datasets? Can you retrieve a collection as a unit (presumably yes, this seems like a key feature)? Can you publish a collection as a unit?
Collections should have a unique id.
You should be able to retrieve a collection as unit.
I would implement the functionality to create a published data entry based on all the datasets that are referred by a collection. Access to a collection can be made public

Can collection contain other collection? This would enable arbitrary hierarchies.
Absolutely yes. This will add the flexibility that might be needed in the future.
Close loops will need to be checked and avoided.

If groups have metadata, how does this get merged with their children? (I personally think this is going to be too complex, and metadata should just be duplicated between datasets)
Collection's metadata are different from dataset's metadata. It is a user decision to merge them, and it can only be done on the user side based on the purpose of their task.

Personally, I like the idea of having a DatasetCollection concept.  It is (potentially) a very powerful abstraction, and one that (I think) it would solve a few different challenges that DESY is facing in adopting SciCat.
I'm not sure how much this is obvious, but perhaps Proposal could be considered a specialisation of DatasetCollection.  Perhaps, if the DatasetCollection concept is powerful enough then Proposal could be just a DatasetCollection with predefined meaning given to certain metadata fields.
A similar argument could be made for Instrument.  I think this is fairly straightforward to see how this could be reformulated as a DatasetCollection.
Sample might be considered a DatasetCollection, if the metadata support is made sufficiently powerful.  This would be useful, but I think this would require more effort.
Some thoughts on @nitrosx 's comments:
2. Do collections have a PID?  Potentially yes.  I belive we (DESY) may have use-cases for this.
3. I believe supporting a collection hierarchy would be very useful for DESY use-cases.
4. Supporting collection-level metadata would also be very helpful.  (Or, rather, not supporting metadata would greatly reduce the usefulness of the concept); however, I don't think there's any need to merge collection metadata into dataset metadata.  Instead, one could consider a dataset as a member of one or more collections; when viewing that dataset, these memberships would be shown (along with the collection's metadata) but that this information would be distinct from the dataset's metadata.
One possible hierarchy is:

"Dataset X"

is member of  "Desired Conditions Y" (a DatasetCollection)
Metadata is any specific information regarding that dataset.

"Desired Conditions Y"

is a member of "Data taken with sample Z" (a DatasetCollection)
Scientific metadata is information about the desired conditions, actual conditions (etc).

"Data taken with sample Z"

is a member of "Beamtime allocation A." (a DatasetCollection / Sample)
Scientific metadata would include information about the sample.

"Beamtime allocation A."

is a member of "Proposal B." (a DatasetCollection / Proposal)
Metadata could include when this beamtime allocation took place, who was present

"Proposal B."

is a member of "BAG allocation C." (a DatasetCollection)
Metadata could include the proposal's title, abstract, the PI, ...

"BAG allocation 52"

Metadata could include the BAG's title, who is responsible, ...

So, viewing dataset X would bring in all this information.
Also, following the child relationships would naturally support queries like what data was taken with this instrument?  ...with this sample?  ...under this proposal?

Thank you all for all your contributions.
Here is my proposed solution, which I will be happy to open it up for discussion and feedback:
If we apply the following definition for what we see as a collection:

A collection is a derived dataset where the transformation of the source datasets in the current dataset is nothing more than the "grouping" action.

We could implement the collection concept as a specialized type of dataset, a collection dataset.
This approach can be implemented with minimal changes to the current code base and will allow to address all the use cases that have been discussed above and during the meetings.
We would be able to implement the solution by following these steps and it will allow to maintain backward compatibility

Unify and update Dataset DTO and Schema (please see attached images with proposed solution)
Add new dataset type "Collection"

Refactoring the hierarchy proposed by @paulmillar, here is his example implemented as follow:

Dataset X

Raw dataset acquired with sample Z
Metadata is any specific information regarding that dataset.
This dataset will list sample Z as its sample and proposal B under its proposal

Desired Conditions Y

Collection dataset
This dataset will list in source datasets all the datasets matching desired condition y, including data acquired using sample Z
Not all the data acquired using sample Z are listed in here
All the dataset grouped here are part of proposal B, so this dataset can list such proposal in its proposal field.
Scientific metadata is information about the desired conditions, actual conditions (etc) specific to this collection and the datasets that are member of it.

sample Z (and Data taken with sample Z)

Sample entity
all datasets acquired using sample Z can be listed through this sample
Scientific metadata would include only information about the sample.

Beamtime allocation A

Collection dataset
all the source datasets have been acquired under beamtime allocation A
this dataset can list proposal B in its proposal field, as all the member datasets match such condition
Metadata could include information common to all member datasets, including beamtime allocation time, who was present

*Proposal B

Proposal entity
Metadata could include the proposal's title, abstract, the PI, ...

I am not sure about the3 entity that @paulmillar calls BAG allocation 52. We will need to discuss further regarding this entity. Is it a collection of datasets or a collection of proposals? if it is the latter, it is the outside the scope of *dataset collection concept.

The previous two images are just a rough draft of the changes that I foresee needs to happen.

Thanks @nitrosx, your proposal looks good to me.
I believe it will allow SciCat to support DESY's beamtime allocation concept.
Here are a few comments.
1. Hierarchy
Just to check I've understood correctly :-)
From your proposed definition, a collection is a derived dataset, which itself is a dataset.  Therefore, the definition allows a collection to be built from other collections; i.e., this would (in principle) allow the formation of an arbitrary hierarchy of datasets.
Nice.
2. Kinds of collections
I think there may be SciCat instances with different kinds of collections (I'm deliberately avoiding the word "type" :-).  In my example hierarchy, there were "Beamtime Allocations" and "Desired Conditions" as two (distinct) kinds of collection.  However, the exact dataset hierarchy may end up being facility-specific.
It might be helpful if collections could be identified by their type, I suspect mostly for UI purposes.
The kind of collection would help the researcher understand under which context the dataset(s) were combined, when viewing an individual collection.  A researcher might also like to filter their view of multiple collections by showing only a specific kind of collection.
A collection's Scientific Metadata (what data is available and its meaning) might also depend on which kind of collection is it.
Under the proposal, the type field supports only three valid values, so this field would not be able to describe the kind of a collection.   I see there's a classification field.  Might this be used for store the kind-of-collection information for collection datasets?
Otherwise, the kind-of-collection information could be stored as a field within the scientific metadata, but I think that might be sub-optimal.
3. What is a collection?
This is just a very minor comment.
You wrote:

We could implement the collection concept as a specialized type of dataset, a collection dataset.

This confused me slightly.  I read your proposed definition for a collection as indicating it was a specialisation of derived dataset, rather than a specialisation of dataset.
I think either approach would be reasonable, but (to me) there seemed to be an inconsistency in what you wrote -- or did I miss something?

@paulmillar thank you for your feedback.
Here are my answers to your points:

Hierarchy
You are correct!!! The hierarchy can be multilevel, so a collection can group any type of dataset, including collection ones.

Kinds of collections
if we implement the collection as a type of dataset, the filed type is used to described the dataset type.
At the moment, the collection type could only be stored in the Scientific Metadata. I'm not opposed to add a new field, although I would like to keep the deviations (in term if dedicated fields) between the three type of dataset at a minimum.
We should brainstorm about what is the best solution.

What is a collection
You are right in your observation: the collection dataset concept is a specialization of the derived dataset one.
That said, I am envisioning that they will implemented as three different type of dataset, aka the dataset field type can assume the following three values: raw, derived and collection.

Feedback is encouraged

Thanks for your feedback, @nitrosx.
On point 2.
I think simply using Scientific Metadata could work, but I think it might still be worth brainstorming some ideas to see if:

other people see a need to identify different kinds of collections.
how they would like to identify them.

One idea was to add support for tagging datasets; that is, providing the ability for a dataset to have an arbitrary set of keywords associated with it.  These would be facility-specific keywords that group together datasets, probably based on some facility-specific procedure; for example, collections that are a "Beamtime Allocation" could be tagged beamtime.
A dataset could have multiple tags.
For example, a dataset may have an associated instrument.  I know some people consider (and use) "instrument" and "beamline" as synonyms, but I'm not sure this is universal.  Personally, I would see a beamline as part of infrastructure and the detector is the instrument.  If so, then tagging would allow us to identify with which beamline a particular dataset was taken (dataset from P08 are tagged P08.
Like this, tagging might also be useful for derived datasets and raw datasets, so your comment about minimising the deviations between the different types of dataset.
Of course, this could all be done within the Scientific Metadata, so it would be interesting to hear from other facilities on whether they see this as useful and something that could be promoted from Scientific Metadata to core metadata.
Cheers,
Paul

@paulmillar Datasets can already be tagged. Field keywords is a list of arbitrary user defined tags.

That's for the info @nitrosx.  Sorry, I had forgotten that there was a keywords field.
Out of interest, what is the AuthZ model for keywords?  Can a non-facility person (e.g., the PI on the investigation) modify them?
I was thinking of a dataset having a set of tags that the facility can assign, but which the PI (or other non-facility people associate with the dataset) can't modify.
For example, if we were to add P08 as a keyword on a dataset, we wouldn't want someone to accidentally remove the information or change it to P06.

@paulmiller
At the moment, if a user has editing permissions on the dataset, she can add and remove keywords as she pleases.
We do not have a fine authorization control over each keywords.
That said, we the CASL library, the authorization system could be extended to cover your use case. I do not know the effort that it would required.
If you feel particularly strong about your use case, please open a new issue to start a discussion. Of course, we will be happy to discuss it, We will be even happier to accept contributed PR implementing such functionality.

Sorry to muddy these waters, I'm been thinking along the lines of triple stores (not my specialty), where facilities could establish the relationships between items separately. I've been thinking recently about how the raw/derived distinction is quite useful but possibly too simplistic. Quite often there are different categories of processed datasets, often (but not always) created serially. Brian Pauw highlighted this at his talk at the SciCat meeting last year.
So, you could say thinks like:

RawDataset1 and DerivedDataset1 are linked by "NormalizationStep"
DerivedDataset1 and DerivedDataset2 are linked by "MajorDataReductionStep"
RawDataset1 and RawDataset2 are linked by "Experiment1"

I like the flexibility here, and the ability to keep track of and processing steps.
Of course, mongo is probably a terrible triple store database. Creating one "store" collection with separate documents for each relationship might make mongo unhappy at scale. So, what if this Collections document looked something like this:
{
    "metadata": {
       "name": "an_experiment",
       "creationDateTime": "...",
       "lastUpdateDateTime": "...."
    }
    "relationships": [
          {"s": "[id of RawDataset1]", "p": "[id of DerivedDataset1]", "o": "NormalizationStep"},
          {"s": "[id of DerivedDataset1]", "p": "[id of DerivedDataset2]", "o": "MajorDataReductionStep"},
          {"s": "[id of RawDataset1]", "p": "[id of RawDataset2]", "o": "Experiment1"},
    ]

}

FWIW, for the example, I adopted this which I actually know nothing about. :)
Going even further these links could describe things like proposals, instruments, URLs to objects outside of SciCat like DOIs or, whatever.

Hi @nitrosx,
Thanks for the clarification.  I guess that the keywords field is intended to hold ancillary information, and not information that drives core business.  For example, if a facility would like to provide an overview of all datasets produced by a specific beamline then this shouldn't be done by tagging datasets with a beamline-specific  value in the keywords field.
If so, then this is (of course) perfectly fine.
As you say, it might be possible to tweak the AuthZ model using CASL, but (to me) that feels like the wrong approach: if keywords is intended to capture user-oriented (perhaps user supplied) information then it shouldn't be repurposed for a facility-internal task.
Stepping back slightly, the goal here would be to allow a facility to identify different kinds of collections.  Tagging (allowing a set of facility-specific keywords) is just one way this could be supported.  I'm sure there are other ways.

Hi @dylanmcreynolds,
I have rather mixed feeling with triple stores.  On the one hand, I am quite fascinated by the shear expressive power of them, particularly when adopting the well established knowledge-capturing languages (RDF / RDFS / OWL/ SKOS, etc).  On the other hand, I see that (except in specific niche domains, such as JSON-LD in webpages) almost nobody uses them when storing metadata.  I don't think I've found a definitive reason for this, but I've read (what feels like rumours) that triple stores just don't scale --- worse than RDBMS (supporting ACID).   I don't know if that is really true though: there seems some effort into exploring or dispelling this (e.g., see this page).
In terms of using Mongo as a triple store: I also have no experience.  It might do better than a dedicated triple-store (for particular use-cases), but maybe not.  I suspect it makes most sense when somebody is already providing a document store service and you one to take advantage of that service to store your graphs.
Separate from the implementation details, what you're describing (to me) sounds like building an ontology for holding the SciCat metadata ... or, at least, starting to go in that direction.
As you might guess, personally, I like the idea of using a triple-store for storing metadata (as I said, it's really powerful); however,  I've noticed that all the catalogues I've seen don't do this.  I don't really understand why this is, but adopting an RDF-like structure would risk going "off the well trodden path".
This is what I like about @nitrosx 's proposal.  It is a relatively minor, incremental approach: a (relatively) low-risk strategy, which is important for software that is already in production.
Your last comment Going even further these links could describe things like proposals, instruments [...] is somewhat similar to my comment that these concepts are really nothing more than a collection (all datasets of some proposal, all datasets collected with some instrument, ...) with some specific metadata.
This might have merit (in terms of simplifying the code, with corresponding benefits), but I still appreciate @nitrosx's approach where these are left as-is.  They can always be updated in the future, if it makes sense.

Hi @paulmillar,
I understand your hesitancy about triple stores. It's an area that I have no hands-on experience with. I suspect we don't see examples triple stores in Mongo because it's a bad idea, at least for the intended purpose of "establish relationships across the data in the world". I proposed this for the more limited case of a DatasetCollection collection in Mongo that maintains flexible links between datasets. I then went towards triple stores and the json representation I linked to mostly because I'd rather not invent a new protocol if one already exists, and it actually seems to describe links pretty well. Maybe it's not the right fit here, maybe it is.
Perhaps my idea of other datatypes here was too far, but honestly, I can see experiments that span multiple instruments, or were conducted under multiple proposals that we want to capture the relationships for.
So to step back, this original issue talked about link-store that sits between proposals and datasets, and I think there are use cases that cross proposals, I'd like to nudge the thinking toward a higher level collection.

authors: dylanmcreynolds mkywall nitrosx paulmillar sbliven

repo: SciCatProject/scicat-backend-next


text:
Refactor unstructured scheme tests

📰 Custom Issue
The structure of tests in tests.unit.experimental.unstructured_scheme (in the unstructured_scheme feature branch) is currently messy. Especially with respect to helper functions such as _grid_cube which exists in test__cube_to_GridInfo and _flat_mesh_cube which exists in test__regrid_unstructured_to_rectilinear__prepare. After a refactor, these should exist in a common place. It is also worth investigating to what extent pytest fixtures can improve the structure of the tests.

I still think this is an issue to address

authors: stephenworsley trexfeathers

repo: SciTools-incubator/iris-esmf-regrid


text:
Remove deprecated class iris.fileformats.rules.CMCustomAttribute

The class iris.fileformats.rules.CMCustomAttribute was deprecated in Iris 1.10
https://github.com/lbdreyer/iris/blob/015cee9877df87d64e84146975feb9eefea84591/lib/iris/fileformats/rules.py#L250

This looks very similar to the previous issue I addressed. So long as nobody is already working on this I will remove this class and related code. Could somebody please move this to in progress?

Closed by #2794.

authors: LukeC92 dkillick lbdreyer

repo: SciTools/iris


text:
Release 2.1.0

Planning to release a v2.1.0 over the next week or so (target 6th June 2018).
Reminders for me:

[x] Open a v2.1.1 milestone
[x] Ensure the version switcher code is in-place in the iris docs (@pelson re https://github.com/SciTools/scitools.org.uk/pull/191)
[x] Update the what's new

[x] Ensure the docs/iris/src/_templates/index.html link to the what's new is updated
[x] Write a what's new for #2943.
[x] Write a what's new for #3010.

[x] Ensure the URL of the image in the README is updated as per https://github.com/SciTools/iris/pull/3040#discussion_r192319809
[x] ~Ensure a what's new directory exists for v2.2 (and think about whether this process continues to make sense)~ (note: this doesn't make sense, as you have to have a file in order to add the directory, and there isn't any what's new yet. Personally, I see the what's new stuff flawed. I'll address this over the next few weeks, but not for v2.1)
[x] Update the version strings #3051
[x] Update the cf-standard names
[x] Merge any existing release branches (and close some off)
[ ] Push docs to scitools.org.uk
[ ] Push sdist to pypi
[ ] Update conda-forge
[ ] Announce on mailing-list
[ ] Write this down in a release checklist
[ ] Close the v2.1.0 milestone

#3045 Fixes the version switcher and updating the README image URL.

#3044 implements the what's new.

#3046 updates the cf-standard-names

#3047 closes the existing release branches

#3050 adds the what's new for #3010, and improves branding/strap-line for Iris

Handing over some of this to @dkillick.

Pushed version bumps for:
v2.1.1dev0: d888eb6b
v2.2.0dev0: 51e0d158

Docs PRs: https://github.com/SciTools/scitools.org.uk/pull/204 and https://github.com/SciTools/scitools.org.uk/pull/201

I've just written down a high-level overview of the release checklist in https://github.com/SciTools/iris/wiki/Release-checklist-guidance. I hope this is useful and not too much detail. I've xrefd this issue so that people can see an example of it used in practice. cc @SciTools/iris-devs

@pelson Can I suggest an addition to the release checklist:

[ ] Announce on Twitter

 tweeted about the release of Iris 2.1 on our behalf and have encouraged us to do so again with each release. This seems like the most sensible place to make sure we remember to do that.

Looks like Iris 2.1.0 has not yet been announced on the users' google group...

Looks like Iris 2.1.0 has not yet been announced on the users' google group...

Good point. This is my fault for not specifying the "user's mailing list", @dkillick announced it on the dev mailing list... I've just posted something on the users list now.
@kaedonkers -  I'm reluctant to make it one of the checklist items, but definitely support improved PR around releases where appropriate.

authors: kaedonkers pelson rcomer


text:
New axis lazy pt2

Update iris.util.new_axis and cube.transpose (which is barely tested directly) to be lazy.

Commit added.

The big move to dask for Iris v2 made transpose and new_axis lazy. :tada:

source: gharchive/pull-request


text:
update travis

This PR fixes the travis-ci tests. It also tidies the .travis-ci script some what.
Additionally, it also extends the testing to incorporate Python 3.7. So now we have coverage of Python 2.7, 3.6 and 3.7.... well, I say 2.7, but not for long :wink:
Note that, we need to pin to dask<2 as there is some odd behaviour that is difficult to track-down and resolve for 3.6 and 3.7. As such, I've create this issue https://github.com/SciTools/iris/issues/3349.
I'm only happy to pin short-term, and investigate (and fix) the underlying issue asap, but pinning seems appropriate here in order to unblock PRs with successful CI.
Note that, I've moved to language: minimal, as this may speed-up the spin-up time of travis, see Travis CI - Minimal and Generic Images. Also, since we're using miniconda to control our use of packages and Python, there is actually no need to use Python as provisioned with a Travis CI language: python image.

Awesome sauce, thanks @pp-mo


text:
What's new updates for v3.11.1 .

Please ensure you preview the doc build when reviewing this.

Thanks @ESadek-MO nice job !
Sorry for delay.
I took a bit of a while reminding myself what this ought to look like (!)
While I'm here ...

Do we have any input here from the do-nothing release script?
Do we have any feedback for it ?

authors: ESadek-MO pp-mo


text:
appflowy@0.6.1: decompress error

Updating 'appflowy' (0.5.9 -> 0.6.1)
Downloading new version
Loading AppFlowy-0.6.1-windows-x86_64.exe from cache
Checking hash of AppFlowy-0.6.1-windows-x86_64.exe ... ok.
Uninstalling 'appflowy' (0.5.9)
Installing 'appflowy' (0.6.1) [64bit] from 'extras' bucket
Loading AppFlowy-0.6.1-windows-x86_64.exe from cache
Extracting AppFlowy-0.6.1-windows-x86_64.exe ... ERROR Exit code was 1!
Failed to extract files from D:\Scoop\apps\appflowy\0.6.1\AppFlowy-0.6.1-windows-x86_64.exe.
Log file:
D:\Scoop\apps\appflowy\0.6.1\innounp.log
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=appflowy%400.6.1%3A+decompress+error
┌──(Paspar㉿Aurora)-[~]                                                                                1s  
└─$ cat D:\Scoop\apps\appflowy\0.6.1\innounp.log
Signature detected: Inno Setup Setup Data (6.3.0)
This is not directly supported, but i'll try to unpack it as version 5602
; Version detected: 6300
Critical error: The setup files are corrupted. Please obtain a new copy of the program.
Signature detected: Inno Setup Setup Data (6.3.0)
This is not directly supported, but i'll try to unpack it as version 5602
; Version detected: 6300
Critical error: The setup files are corrupted. Please obtain a new copy of the program.
Signature detected: Inno Setup Setup Data (6.3.0)
This is not directly supported, but i'll try to unpack it as version 5602
; Version detected: 6300
Critical error: The setup files are corrupted. Please obtain a new copy of the program.

Relates to #13444.

Duplicates #13487.

authors: Paspartame aliesbelik

repo: ScoopInstaller/Extras

license: Unlicense


text:
spotify: Fix installer error

Closes #11216

[X] I have read the Contributing Guide.

/verify


text:
iphone-sms-backup-and-restore: Fix typos

[x] I have read the Contributing Guide.

/verify

authors: StarsbySea mucahit-keles


text:
Method to retrieve all cookies

Just asking if this is something welcome before i open a PR. It's sometimes convenient to retrieve all the cookies in a raw. Quickly done implementation

function getAll () {
  var len = Cookies._cacheKeyPrefix.length

  if (Cookies._cachedDocumentCookie !== Cookies._document.cookie) {
    Cookies._renewCache();
  }

  var cookies = {}

  for (key in Cookies._cache) {
    cookies[key.substr(len)] = decodeURIComponent(Cookies._cache[key])
  }

  return cookies
}

Mind a PR for this, or you'd prefer to keep the API ultra slick?

Hey @Florian-R ,
This feature has actually been requested in the past. You can read https://github.com/ScottHamper/Cookies/pull/12 for background.
If you can clearly explain a real world use case where this ends up being a valuable feature, then I would absolutely consider adding it.

Sorry for the dupe, missed #12 when I’ve searched for precedent issues. Going to close this, as I wanted this merely as a convenience (not having to keep an array of all possible keys and iterate on them), but after reading the initial issue, I agree there's subtle edge-case. Thanks for taking the time to answer to this.

authors: Florian-R ScottHamper

repo: ScottHamper/Cookies

license: unlicense

license_source: bigquery


text:
Added sparklines to website

This assumes that #338 is merged ;-)

As #338 has landed, I'll merge this also.


text:
Configure granularity for dates and times

Feature Request
Description of Problem:
Currently temporal fields do not have configurable granularity (fixed to milliseconds).
Potential Solutions:
Make temporal fields default to extremely low granularity (eg, thousandth of a millisecond). Add the ability to specify temporal granularity, through some duration-encoding convention such as Java's ChromnoUnit enum. A set of ChronoUnits we might support is:

MILLIS
SECONDS
MINUTES
HOURS
DAYS
MONTHS
YEARS
DECADES
CENTURIES
MILLENIA

each of which requires a multiplication factor, e.g. 10 millis.
Other units within enum for consideration are:

HALF_DAYS
WEEKS

Units within the enum not currently allowed by our datetime ranges or precision are:

MICROS
NANOS
ERAS
FOREVER

It would make sense that the operand for granularTo has the same shape regardless of the data type for the field.
Therefore you might need something like:
{ "field": "foo", "is": "ofType", "temporal" }
{ "field": "foo", "is": "granularTo", "value": { "10 seconds" } }
                                                           ^ ChronoUnit enum

Also to consider: what values do we consider valid for multipliers? Does it differ depending on the unit? For decimal granularity we only allow powers of 10 between 1 and 1e-20.
Additional Context
This ticket has been heavily edited/updated from its original form so that it is more readable and up to date. Useful information from discussion in the comments has been moved up to the body of the ticket.

Priority: Low-Medium

The permitted values for granularTo with different data types need to be considered.

data type
granularTo value
meaning
notes

integer
>= 1, whole numbers
emit integers that are divisible by this value
e.g. 2 = even numbers

decimal
> 0 & < 1
emit decimals that are divisible by this value
e.g. 0.01 = pence, 0.5 = halfs

temporal/datetime
unit and precision
emit datetimes that are divisible by this chronounit
see examples below

ChronoUnits are:

NANOS
MILLIS
SECONDS
MINUTES
HOURS
DAYS
WEEKS
MONTHS
YEARS
DECADES
CENTURIES
MILLENIA

each of which requires a multiplication factor, e.g. 10 millis.
It would make sense that the operand for granularTo has the same shape regardless of the data type for the field.
Therefore you might need something like
temporals
{ "field": "foo", "is": "ofType", "temporal" }
{ "field": "foo", "is": "granularTo", "value": { "unit": "days", "precision": 1 } }
                                                           ^ ChronoUnit enum

decimals
{ "field": "foo", "is": "ofType", "decimal" }
{ "field": "foo", "is": "granularTo", "value": { "precision": 0.01 } }

integers
{ "field": "foo", "is": "ofType", "integer" }
{ "field": "foo", "is": "granularTo", "value": { "precision": 1 } }

In future this could (if deemed appropriate) support this syntactic sugar, which would imply granularTo 0.01
{ "field": "foo", "is": "ofType", "decimal" }
{ "field": "foo", "is": "granularTo", "value": { "decimalPlaces": 2 } }

{ "field": "foo", "is": "granularTo", "value": { "decimalPlaces": 2 } }

I'd personally vote against this - I think we need to be careful to keep the concepts of decimal places (a text formatting concern) and granularity separate. No big objection to something like "decimal precision", though.
{ "field": "foo", "is": "granularTo", "value": { "unit": "days", "precision": 1 } }

Is that preferable to the below?
{ "field": "foo", "is": "granularTo", "value": "1d" }
OR
{ "field": "foo", "is": "granularTo", "value": "1 day" }

General premise would be to 'parse' and map the unit (e.g. 'day') in the profile into the ChronoUnit enum in java, allowing for pluralisation and abbreviation (e.g. ms for millisecond)

I have edited the body of the ticket so that information from comments are now in the body. The ticket has also been updated as parts were outdated.

authors: SL-Mark d-withers sl-slaing tyankovasc

repo: ScottLogic/datahelix


text:
Add Footprint Chart

Can you add the ability add footprint charts: https://www.google.com/search?q=footprint+chart
This can be generalised to add footprints to other charts like bar and error chats.
This is essentially adding window with another chart and / or tables next to or with the marker of existing larger chart.

Hi @sirinath, thanks for the suggestion! I don't intend to do this myself soon, but you can create your own plot types as descibred in:
https://scottplot.net/faq/custom-plot-type/
If you create this plot type, I invite you to share it here by copy/pasting the code in this issue thread or creating a pull request! 🚀

authors: sirinath swharden

repo: ScottPlot/ScottPlot


text:
Can't install and try tranquil: wrong or missing informations

Hi, so I simply tried to compile the project using
git clone https://github.com/ScytheApp/tranquil.git
cd tranquil
./setup.sh
cmake CMakeLists.txt
cmake --build build

But:

There is no sh file at the root
Using the cmake --build build for the first time: Error: /media/olyno/Doc/projects/tranquil/build is not a directory
Using the last command again after creating the directory: Error: could not load cache

Using
  Operating System: Deepin 20.1
            Kernel: Linux 5.4.70-amd64-desktop
      Architecture: x86-64

Thanks you for your work

Hey, sorry for not replying earlier. You really should be adding the library as a CMake dependency and linking it together but if you just want the binary. I wrote the instructions wrong so I will make a commit right now to fix them
git clone https://github.com/ScytheApp/tranquil.git
cd tranquil
mkdir build && cd build
cmake ..
cmake --build build --target tranquil

You can specify no target to build all targets like sandbox. Although in the future there will be more targets for more examples so this is not a good idea.

Hi, thanks you for your answer :p
I'm really a noob in C++, sorry about that. So it successfully compiled the project with new instructions (nice!), but where is the binary to run any of my js file please? 😅
Another question which is not related to the setup of the project: will your runtime run Typescript files in the future as Deno does?
ps: you missed a cd .. in your instructions after the cmake ..

Ah those instructions are to build it. The actual library would be in build/lib/libtranquil.a. This binary cannot run code by itself, its a file that's meant to link as a library. If you just want to test the basic functionality of the runtime don't specify the --target tranquil while building. That should generate an executable that gives you a basic Javascript prompt. If you want to use the library for yourself I suggest checking out the sandbox folder as it shows how you were to link the library and use it properly. Make sure you also do add_subdirectory in your CMakeFile for your project to add the dependency before you link it.

Sorry accidentally closed it

Lmk if you need any more help or face more problems

Sure, thanks a lot for your time and your help!

repo: ScytheApp/tranquil


text:
Delete Ubyte Byte replace by int and not check int8_t size

remove  Ubyte and Byte
replace by int
-> testing send Image with seq octet : c++ to python / python to c++

resolve #20

@swolferDF je viens de "rebase" la branche sur le master 3.20.
je te laisse relire :)

@swolferDF je viens de "rebase" la branche sur le master 3.20.
je te laisse relire :)

authors: Sdpierret swolferDF

repo: Sdpierret/pyopendds


text:
Type i64 is used instead of u64

I think I found a bug: I'm using the following code for a migration for a table with a field ID with Rust type u64 and bigint in Postgresql.
But whether I use .big_integer() or .big_unsigned() or .unsigned() the result is always the same: i64.
fn id() -> ColumnDef {
  ColumnDef::new(Id)
    .big_unsigned()
    .not_null()
    .auto_increment()
    .unique_key()
    .to_owned()
}

Am I crazy or this is an error?
I'm using:
sea-orm-migration = "0.9.2"
sqlx = { version = "0.6.2", features = [
  "runtime-tokio-native-tls",
  "migrate",
  "postgres",
] }

UPDATE:
I correct myself: if I generate using .big_unsigned() it panics with:
thread 'main' panicked at 'not implemented', C:\Users\Fred\.cargo\registry\src\github.com-1ecc6299db9ec823\sea-query-0.26.3\src\backend\postgres\table.rs:239:26

Why is big_unsigned() excluded? How to generate u64 as type for the ID field?
Isn't more logical to have an unsigned type for such a field?

UPDATE:
I correct myself: if I generate using .big_unsigned() it panics with:
thread 'main' panicked at 'not implemented', C:\Users\Fred\.cargo\registry\src\github.com-1ecc6299db9ec823\sea-query-0.26.3\src\backend\postgres\table.rs:239:26

Why big_unsigned() is excluded? How to obtain u64 as type for the ID field?
Isn't more logical to have an unsigned type for such a field?

There is no unsigned in Postgres

I would like to use big int in postgresql but u64 in Rust for generated models.

This is an ORM for Go (superseeded by Bun): https://pg.uptrace.dev/models/#column-names.
They are using bigint for uint64.

Right now SeaORM is using N/A for PG u64 column type.
Why can't we use bigint?

Doing so it does not panic when I generate and I hope that I will use u64 as a Rust type.

Hey @frederikhors, all unsigned Rust type can't be used with PostgreSQL. Because PostgreSQL simply doesn't support unsigned integers and thus SQLx PostgreSQL driver doesn't support it as well.
You can compile the entity with unsigned fields defined in your SeaORM model but it will cause an runtime error.

https://github.com/SeaQL/sea-orm/blob/207e2df48470c2506272d83f2f91a884a553350c/src/executor/query.rs#L156-L159

Btw... I wonder why you need u64? Because i64 isn't large enough for your use case?

Because this is what I'm using in Golang.
And also because it is logically more correct since an id can never be negative.
I don't understand why at all costs you want to map u64 to an (nonexistent) unsigned on Postgresql.
As I wrote earlier, can't we just map PG bigint to Rust u64?

I don't understand why at all costs you want to map u64 to an (nonexistent) unsigned on Postgresql.
As I wrote earlier, can't we just map PG bigint to Rust u64?

Okay, so, you mean, why don't we get i64 from QueryResult then map it to u64? And we can do the same thing for u32 as well.
Correct me if I'm wrong :)

I think we should do like go-pg or bun (two Golang ORM). They map PG bigint to Go uint64.
I need the u64 in Rust (also for third party libs that are using u64 and not i64 for identifiers (ID fields)), I do not care about PG type.
I would like to be free to use the type I want in Rust and which obviously is mapped with the correct type on the DB that I have chosen to use.

https://www.postgresql.org/docs/current/datatype-numeric.html
bigint	8 bytes	large-range integer	-9223372036854775808 to +9223372036854775807
it's range is only valid for i64, and using u64 is incorrect in Rust.

If you want to, you can create a new type NonNegativeI64

using supabase @tyt2y3 you can use unsigned. We might want to open this open with a feature flag.

repo: SeaQL/sea-orm


text:
find_with_related implicitly adds ordering on left.id

Description
find_with_related implicitly adds an order by on the left table's id. This is extremely unintuitive; for instance:
LeftEntity::find()
  .find_with_related(RightEntity)
  .filter(...)
  .order_by(LeftCol1, Order::Desc)
  .order_by(LeftCol2, Order::Desc)

generates a query that is ordered by (LeftId, LeftCol1, LeftCol2) rather than (LeftCol1, LeftCol2), as might be expected.
Steps to Reproduce

Write a query using find_with_related that includes an order_by after the find_with_related
Either try to execute it, or .build(..).to_string() it
Observe that the order clause has order by left.id asc prepended to it

Expected Behavior
In the example case from the description, I would expect the ordering to be (LeftCol1, LeftCol2).
Actual Behavior
In the example case from the description, the actual ordering is (LeftId, LeftCol1, LeftCol2).
Reproduces How Often
Deterministically.
Workarounds
Placing the order_by before the find_with_related, like so:
LeftEntity::find()
  .order_by(LeftCol1, Order::Desc)
  .order_by(LeftCol2, Order::Desc)
  .find_with_related(RightEntity)
  .filter(...)

produces an ordering on (LeftCol1, LeftCol2, LeftId), which is acceptable. However, the fact that the query needs to be constructed in this manner is very non-obvious.
Reproducible Example
See description
Versions
├── sea-orm v0.12.15 (*)
├── sea-query v0.30.7 (*)
│   ├── sea-orm v0.12.15 (*)

in the past, the consolidator needs the query results to be ordered. this constrait was dropped in https://github.com/SeaQL/sea-orm/pull/1743 but the behaviour has not changed. removing the default order by is a break I want to avoid, but I agree users should be given the preference if they want to override the ordering

I think just calling attention in documentation to the fact that find_with_related introduces an ordering would be valuable for now, since the current behavior is very surprising.
The workaround I noted (placing the order_by calls before find_by_related) isn't terrible or anything—it's just not very intuitive—so maybe even a small note explaining it as an option would probably cover most ordering use cases for the time being.

I totally agree with you, would appreciate if you can make a PR on any of the points above


text:
Derive Clone on sea_orm::DatabaseConnection by default

PR Info

Closes https://github.com/SeaQL/sea-orm/issues/517

Fixes
https://github.com/SeaQL/sea-orm/issues/517
Changes
Adds Clone on sea_orm::DatabaseConnection

Hey @feelingnothing, I'm closing this PR in favour of #562. As discussed on https://github.com/SeaQL/sea-orm/issues/517#issuecomment-1038145883.


text:
OVA-1.0.3 Release

Update CORTX_on_Open_Virtual_Appliance.rst for OVA 1.0.3 release

Unable to pass DCO so raising another PR from different branch

repo: Seagate/cortx


text:
required Software version von LG TV

Hallo,
habe einen LG TV aus 08/2013 Produktionsdatum. Er verbindet sich leider nicht mit dem iO Broker. Welchen Software Stand im LG Betriebssystem benötige ich dafür? Oder muss ich eine bestimmte Einstellung am Fernseher vornehmen?
Wäre nett wenn ihr mir helfen könntet.
Wenn IP und Mac eingetragen ist, Fernseher einschalten, dann im iO Broker auf Speichern und Schließen drücken und dann kommt die Push Meldung auf dem TV?  (Muss er per LAN angeschlossen sein oder reicht WLAN?)
Wofür ist im io Broker das Kästchen mit dem Haken hier in der Einrichtung:
" " Schalten Sie den Fernseher als Fernbedienungstaste aus
Danke und Gruß .. und schöne Weihnachten euch allen

Du benötigst auf jeden Fall WebOS ab Version 2.0.
Eventuell könntest Du ja mal sonst den LGTV11 Adapter versuchen: https://github.com/SebastianSchultz/ioBroker.lgtv11

Du benötigst auf jeden Fall WebOS ab Version 2.0.
Eventuell könntest Du ja mal sonst den LGTV11 Adapter versuchen: https://github.com/SebastianSchultz/ioBroker.lgtv11

authors: SebastianSchultz meistermolli


text:
chore: replace dependabot with renovatebot

Renovatebot is a much more advanced dependency management tool, available as open source. It supports a wide range of configuration options.
The configuration is pretty vanilla with the exception of customizing the PR body to remove the header banner. I've set it to check weekly, but you can toggle runs with the dashboard.
I installed / enabled it on my fork of this repo for demo purposes: https://github.com/jbergstroem/whatsapp-api-js

Dependency dashboard (tells you whats new, allows you to start another check): https://github.com/jbergstroem/whatsapp-api-js/issues/1
Example grouped PR that I triggered from Dashboard (which otherwise would've occured on Monday morning)): https://github.com/jbergstroem/whatsapp-api-js/pull/2

I really like that it seems to also check for GitHub Actions dependencies. The grouping is also great.
I will read the pull in half an hour and commit it, thanks!

@Secreto31126 have a look at this to get going with renovatebot for this repo (or across your user/org): https://github.com/apps/renovate


text:
Issue with Password Grant OAuth2 flow (Resource Owner flow) for FIDC

Issue with Password Grant OAuth2 flow (Resource Owner flow)
This is used to get an access_token for the ig service account to use to submit the DCR request to AM. The access token is required as the "Allow Open Dynamic Client Registration" is disabled; this is to enforce that DCR goes through IG in order to enforce OB/FAPI validations.
Example logs (password redacted):
--- (request) id:d14d0cba-9858-4ddc-99cd-3d93484332c8-104 --->

POST https://openam-forgerock-securebankingaccelerato.forgeblocks.com/am/oauth2/realms/root/realms/alpha/access_token HTTP/1.1
Authorization: Basic aWctY2xpZW50OnBhc3N3b3Jk
Content-Length: 138
Content-Type: application/x-www-form-urlencoded

grant_type=password&username=service_account.ig&password=******%21&client_id=ig-client&scope=dynamic_client_registration+fr%3Aidm%3A*
2022-12-12 11:30:08.782 [vert.x-eventloop-thread-1] DEBUG io.netty.handler.ssl.SslHandler - [id: 0x9b544b59, L:/10.20.4.30:48282 - R:openam-forgerock-securebankingaccelerato.forgeblocks.com/35.190.21.35:443] HANDSHAKEN: protocol:TLSv1.2 cipher suite:TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
2022-12-12 11:30:08.818 [RxCachedThreadScheduler-3] INFO  o.f.o.d.c.C.c.ForgeRockClientHandler -

<--- (response) id:d14d0cba-9858-4ddc-99cd-3d93484332c8-104 ---

HTTP/2 500 Internal Server Error
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
cache-control: no-store
content-length: 138
content-type: application/json; charset=UTF-8
date: Mon, 12 Dec 2022 11:30:08 GMT
pragma: no-cache
strict-transport-security: max-age=31536000; includeSubDomains; preload;
via: 1.1 google
x-content-type-options: nosniff
x-forgerock-transactionid: 1670844608795-9be57b214b100e799c44-969290
x-frame-options: SAMEORIGIN

{"error_description":"com.sun.identity.authentication.spi.AuthLoginException: No Configuration found|noConfig.jsp","error":"server_error"}

Potential Fix
After some searching the following issues were found, the first issue is describing the same situation that we are facing, the second contains the fix on the FRAAS side:
https://bugster.forgerock.org/jira/browse/IAM-741
https://bugster.forgerock.org/jira/browse/FRAAS-4143
In short, we have had to fix the OAuth2Provider config to set advancedOAuth2Config.passwordGrantAuthService to  PasswordGrant (applied manually for now).
PasswordGrant exists as an Authentication Tree in the alpha realm in FIDC. This either came as part of the FIDC deployment or was added manually, there is nothing in the initializer to create this.
NOTE we are not configuring the passwordGrantAuthService for CDK environments, the configuration is not supplied by the initializer and has the value of [Empty] in the UI. Also, the PasswordGrant tree does not exist in the CDK env.
Next steps
Investigate why this is needed for FIDC and not CDK
Originally posted by @dbadham-fr in https://github.com/SecureApiGateway/SecureApiGateway/issues/304#issuecomment-1346459777

After further investigation, I think it makes sense to configure a default user authentication service for the realm in FIDC.
This will align the setup with the CDK, the only difference being that the CDK has a realm default pre-configured.
https://github.com/SecureApiGateway/SecureApiGateway/issues/718 has been raised to configured the default in FIDC.
Such default will be used when advancedOAuth2Config.passwordGrantAuthService is not configured. It is also used when doing the REST based headless auth (done by Postman and the func tests)

repo: SecureApiGateway/SecureApiGateway


text:
Don't dereference null pointers for apn, userName, password

Omitting apn, userName, passWord arguments from call to GPRS::join resulted in errors due to dereferencing the default null values (long string of garbage data was sent to device). Simply test apn, userName, passWord against null before sending them.

Hi,
Have you checked it ? I mean, do you have any sim card that works without APN or USERNAME or PASSWORD ?
Is it ok for you ?
Hope your reply.

Yes - I have a SIM that works with only apn, no username or password. It would fail when passing only apn (username, password default to 0, so it would pass garbage to the device). Adding the tests fixes it. I added apn test as well since there is a default parameter for apn also, and dereferencing a null pointer is not a good thing to do!

Thanks a lot, merged.

Great - thanks!

license: mit


text:
Update super-linter

Contributor Comments
Update the super-linter

[ ] Account for the gitleaks (allow disabling)
[ ] Keep an eye on mypy (this and this)

Pull Request Checklist
Thank you for submitting a contribution to the goat!
In order to streamline the review of your contribution we ask that you review and comply with the below requirements:

[X] Rebase your branch against the latest commit of the target branch
[X] If you are adding a dependency, please explain how it was chosen
[X] If manual testing is needed in order to validate the changes, provide a testing plan and the expected results
[X] If there is an issue associated with your Pull Request, align your PR
title with this documentation

Need to keep an eye on the following issues, which may help to fix CI:

[ ] https://github.com/python/mypy/issues/10768
[ ] https://github.com/python/mypy/issues/10600

An update happened in https://github.com/SeisoLLC/goat/pull/55
Still need to handle the gitleaks config; put that on backlog

repo: SeisoLLC/goat


text:
AD Issue

Hi,
I am trying to link AD with this. However AD user is unable to login.
I have Dashboard, Hypervisor & WIN2K12 in different VMs.
If I create a client through dashboard, it works fine. But when I am trying to login with a AD user it's not.
Below is my AD config.

#please specify your LDAP backend:
$LDAP_backend='activedir';
#$LDAP_backend='ldap';
#Domain part to be added to username (only for Active Directory).
$domain_name='vdi.local';
#Address of ACtive Directory/LDAP server.
$LDAP_host='192.168.0.135';
#Username and password to bind to LDAP server (not deeded by Active Directory):
#$LDAP_username='uid=USERNAME,ou=bind users,dc=domain,dc=tld';
#$LDAP_password='ldappassword';
#Base DN pattern:
$base_dn = 'DC=vdi,DC=local';
#For LDAP backend you should specify base DN including username:
#$base_dn = 'uid=%username%,ou=people,dc=domain,dc=tld';
#Specify attribute in LDAP, which will be used as group provider.
#You should add values from this attribute do dasboard "AD group"
#section, to allow LDAP users to login.
$LDAP_attribute_name='Vdi';
#$group_dn is used when you need to specify different base dn
#to list domain groups. If commented out, $base_dn will be used.
#(Active Directory only).
#$group_dn='CN=Users,DC=vdi,DC=local';

AD Group = Vdi
Domain	= vdi.local
Below is the error logged:
[Sun Mar 03 21:50:50.293504 2019] [php7:error] [pid 3760] [client 192.168.0.176:26946] PHP Fatal error:  Uncaught Error: Call to undefined function ldap_connect() in /var/www/html/vdi/functions/functions.php:179\nStack trace:\n#0 /var/www/html/vdi/client_pools.php(44): list_ad_groups('test', 'test@1', 'test@vdi.local', 1)\n#1 {main}\n  thrown in /var/www/html/vdi/functions/functions.php on line 179, referer: https://192.168.0.124/vdi/client_index.php
Can you please help?

Uncaught Error: Call to undefined function ldap_connect()
You should install php-ldap libary.

That worked.

authors: Seitanas emmanualvnebu

repo: Seitanas/kvm-vdi


text:
fix: 🐛 SQFormScrollableCard submit mock fix

Attempting to fix failing CI pipeline tests by moving scope of SQFormScrollableCard submit mock to inside the scope of the test it is working with.
✅ Closes: #826

1_ci (1).txt

Could you set this up as a test instead of a fix? Test commits don't update the version.

@laurelbean done 👍💍🎉

authors: laurelbean samasastudio

repo: SelectQuoteLabs/SQForm


text:
docs: display error of React Component Item

Bug Report
For the React Item component examples -- Metadata, Link, Extra Content, Divided, the example preview cannot show up properly.

Thanks, valid report 👍

authors: ChenjieZhou layershifter

repo: Semantic-Org/Semantic-UI-React


text:
Dropdown click and enter events are not the same

Bug Report
I have a dropdown that I need to modify its event when onChange is called in order to make it usable for formik (https://github.com/jaredpalmer/formik). When I click on an option, the dropdown receives a synthetic event, I update some of its attributes, and then call formik event handler. But if I press enter instead of clicking on an option, the event is not a React synthetic event and its target is a different element, which causes problem with formik.
Steps
In the test case below, first pick a country by clicking on it and see the event in the console. Then try selecting another country by pressing enter and see the difference between events.
Expected Result
In both cases, dropdown should pass React synthetic events to onChange.
Actual Result
As mentioned above, events are not consistent across click and key press events.
Version
0.82.5
Testcase
https://codesandbox.io/s/w663wm3n1k

These events cannot be same by design, one comes from React and other comes from DOM. The best solution for third party form libraries is to create custom wrappers and grab values from the second argument.
Something similar is done for redux-form, you can check our Prototypes section: https://react.semantic-ui.com/prototypes. As I see, wrappers for formik are already exist, please check them: https://github.com/turner-industries/formik-semantic-ui


text:
Stacked icons

I've just setup this fiddle to demonstrate how that could work out: http://jsfiddle.net/kuajqc0d/6/
This would allow to easily mix icons together.
I've already suggested it here:
https://github.com/FortAwesome/Font-Awesome/issues/1181

Wow, really nice implementation. I think It can be easily improved with LESS with main and laternative color for icon and sub/stacked-icon.

It's just a quick&dirty proof-of-concept, just want to collect some feedback. :+1:

@cazzoo I'm getting crazy, help me! :dancer:
http://jsfiddle.net/kuajqc0d/9/

No reason not to include this. Its extremely easy to code and useful.

Thanks @jlukic!

Although these are nice, they probably wont work in a variety of circumstances where icons inherit sizing from other elements like labeled icon menu, icon header etc. I'm not sure how viable that makes them.

You may want to play around with it. You could make it 30% of the "parent icon" and push it to bottom right. This code is just quick&dirty.

Yeah for relative sizing to work, the icon would have to be a child element inside another icon, so we have two scenarios. Sibling stacked icons , which would have similar grouped html as other groups, and sub icons which would be an icon nested inside another icon.
I still need to test some things out.

@jlukic do you mind posting a jsfiddle example of your implementation?
I want to mess around with it and give you some feedback. (Also test on mobile)

Yeah on mobile now, will do when back at office.
You can find html examples before then in the docs repo under branch next.

@jlukic is there a preview of next somewhere to watch online? Or do I have to build it myself?

No, but ill make a jsfiddle sorry its been a busy week.

@jlukic how is it going here? :)

@Anachron you can take the raw build files from the next branch and use them through rawgit.com.  With that, you can create a jsfiddle or codepen.io to experiment.
Here's the CDN links to the latest builds in the branch next:
Minified
https://cdn.rawgit.com/Semantic-Org/Semantic-UI/next/dist/semantic.min.css
https://cdn.rawgit.com/Semantic-Org/Semantic-UI/next/dist/semantic.min.js
Non-Minified
https://cdn.rawgit.com/Semantic-Org/Semantic-UI/next/dist/semantic.css
https://cdn.rawgit.com/Semantic-Org/Semantic-UI/next/dist/semantic.js
Kitchen Sink test page
Unfortunately, the kitchensink test page has been moved in the repo so the relative path to semantic.css needs to be edited (easily done through the browser's inspector, just prepend ../).
Here's a patched version of the kitchensink (I just modified the CSS/JS/image paths).

I haven't spent too much time on this, but you can see some examples here
http://beta.semantic-ui.com/elements/icon.html#icon-group

I'm happy enough with the current state of grouped icons
@Anachron If you see any easily correctable issues for launch related to icon groups feel free to let me know.

@jlukic was giving it a go, however, the navigation seems to be broken in next:
http://beta.semantic-ui.com/elements/icon.html#/definition
Clicking on item groups on the sidebar (Groups > icons) actually throws me back to the list of icons (wrong link).

yeah, the anchor links dont check to see if they are unique. since they both have the same title its linking back to the first one.
I'll need to have fix it to generate the link as #icon2 or something..

authors: Anachron MrFusion42 cazzoo jlukic

repo: Semantic-Org/Semantic-UI


text:
Conditional form valdiation

Could conditional form validation be implemented in semantic ui? Say if one field has a certain value, raise an error if another field has another specified value (error if field1=A and field2=B).

you mean regexes?

I'm not super experienced with regexes. How would I use them to get the contents of one field and then AND them with another?

You can create an arbitrary rule by adding a function to $.fn.form.settings.rules.myRule = function(value, ancillaryValue) { }

authors: NilsJPWerner adriennn jlukic


text:
[Popup] In menu should render

Repro

see https://jsfiddle.net/mez8xokt/2/ which does the following
create a menu
insert an item to display a popup
wire up the js

Expect

popup should display when trigger element is clicked

Actual

popup doesn't display on click
however, if you click and then resize the frame the popup becomes visible

Version 2.1.8
Workaround

embed content in data-html and remove the popup element

Popups can't operate in every location inside the DOM.
Try it outside the menu
https://jsfiddle.net/u9n0uLxs/

in case anyone else runs into this ...
looks like adding position: 'bottom left' in the js config allows the popup to sit next to the trigger.
https://jsfiddle.net/pbL5uo59/1/

authors: jlukic skhavari


text:
[Dropdown] You need this code to FIX ui dropdown dynamic change/selection.

 //Fix ui dynamic selection
$(document).on('change','input, select',function(e){
		$('.ui.dropdown').each(function(k, el){
			el = $(el);
			var select = $('select',el).first().val(),
				text = $('select option[value="'+select+'"]',el).html();
			$('.text', el).html(text);
			$('.item', el).removeClass('active selected');
			$('.item [data-value="'+select+'"]', el).addClass('active selected');
		});
	});

Hi @kaddyadriano, can you please elaborate, what’s the problem that it’s fixing?

I was updating select inputs dynamically with javascript however, the ui dropdowns were not updating to the new passed values with JS. for example I would have 'One' selected from ui dropdown but when I change the value to 'Two' with JS, the ui dropdown would not change the text to 'Two' but the hidden input will change with no problem. The code is to listen to the change of select input and update the ui dropdowns.

@kaddyadriano I think it’s unnecessary, there’re two methods that already do it:

dropdown('set selected')
dropdown('refresh')

If the first can’t be used for some reason, you can use the full HTML pattern instead of initializing it on a select element directly, change a dropdown’s options dynamically and finally dropdown('refresh') it to update everything. You shouldn’t be changing select elements directly.
There’s a possibility that you need to use select, then it’s a use case, and the solution—whatever it may be—doesn’t concern the framework in any way. The following is a standard reply.
Thank you for posting, but although it’s a valid usage question, we’ve limited GitHub Issues to bug reports and feature requests, keeping the board more manageable for maintainers; see the contributing guidelines for more information on what kind of posts should find themselves into the GitHub Issues board.
To get answers or feedback that might allow you to repost or reopen this issue, please use one of our other support resources:

Gitter chatroom
Official forums
StackOverflow

Gotcha! Thanks!

authors: Banandrew kaddyadriano


text:
Telegram bot for gif

Student, group: Махонько Яна, 3530901/90202
URL: https://github.com/Thandriss/softEng
Git approach: git-flow

Окей, но новые ветки нужно форкать от develop, а Dockerfile обычно размещают прямо в корне репо, чтоб сразу было видно  что он есть)

authors: SemenMartynov Thandriss


text:
More realistic collation

A common request/question in Discord, on the survey, and on Twitch chat has been about whether we do collation of cards correctly. There are good resources out there for how paper collation worked in recent sets, for example here: https://www.youtube.com/watch?v=kct0tF0qgdk I've never heard an opinion or analysis either way about whether Arena uses the paper collation rules, but imo we should mimic Arena whatever that is.
I pulled up a pack from an Ikoria draft log https://www.17lands.com/draft/67f5818d36ee481bacb3d7eccfde3fbb/3/1 and compared the commons to the print run of Ikoria https://docs.google.com/spreadsheets/d/1cnnB4iPSXsBZNGIa7K5XnQsFAHQtTUVqa_wQ1mfLjq8/edit#gid=0 (English/US in both cases, though I'm not sure if that matters). I think that pack has several things that show Arena does not use the collation rules of paper:

Glimmerbell without any of its 3 neighbors in Run A (or the last card, if the runs loop, since it appears at the beginning)
Phase Dolphin without any of its 4 neighbors in Run A
Rumbling Rockslide without any of its 4 neighbors in C1

If someone has more information on Arena collation, that would be really useful, but for now, based on the logs I've seen and this comparison to the print collation, I think it's best to assume that cards are selected randomly with the same color balance restriction that we default to. Similarly, if anyone has logs of an Arena pack without color balance, that would be important to know. But I'm going to close this issue since I think our collation is as realistic a representation of Arena as we know, and I'm just filing for tracking.

Lots of information on paper collation for future reference: https://www.lethe.xyz/mtg/collation/

This site is awesome! Can confirm my earlier comment (at least on Glimmerbell) still applies. It seems like Arena doesn't use the collation rules from US/English boosters even when playing in English in the US - seems more likely it's picking cards randomly within rarity like we do.

authors: Senryoku wrmacrae

repo: Senryoku/MTGADraft


text:
Undocumented sleep mode and powerDown() / wakeUp() command codes

Hello dear all,
in the library, there are the powerDown() and wakeUp() functions, which send the command codes 0x36E0 and 0x36F6 respectively.
Also, the "sleep mode" is mentioned in the comments of these functions in SensirionI2CScd4x.h https://github.com/Sensirion/arduino-i2c-scd4x/blob/59aaa4d9ce9eae00865f398c31e2a38f0832d81e/src/SensirionI2CScd4x.h#L380.
My problem is that neither these commands, nor their codes nor the sleep mode are mentioned at all in the latest SCD4x datasheet (Version 1.1).
I've attached the Datasheet's Command Overview:

As you can see, they are missing.
My question is whether these commands work as described in the comments or if there's a reason they are not included in the Datasheet and whether it's safe to use these two functions.
Thanks in advance.

Dear @DominikHoen
Powering down the sensor between single shots will likely result in increased signal noise and might compromise sensor accuracy. Also, power-cycling the sensor is not compatible with the automatic self-calibration algorithm that ensures highest long-term stability.
I hope this helps to answer your questions.
Best regards

authors: DominikHoen MBjoern


text:
move option package to go-common

to remove circular dependencies, create the option package in go-commong

PR merged, release created

repo: Senzing/go-common


text:
Use new helpers

See https://github.com/Senzing/senzing-tools/issues/60

Pull requests:

https://github.com/Senzing/observe/pull/13

repo: Senzing/observe


text:
🛑 Unejutumaa is down

In 57c450d, Unejutumaa (https://unejutumaa.ee) was down:

HTTP code: 403
Response time: 547 ms

Resolved: Unejutumaa is back up in 2de24f1 after 11 minutes.

repo: SeoWeb/upptime


text:
🛑 MedicoVet is down

In 7cf6d3a, MedicoVet (https://medicovet.eu) was down:

HTTP code: 429
Response time: 763 ms

Resolved: MedicoVet is back up in 55ccb42 after 13 minutes.


text:
🛑 Unejutumaa is down

In f14ebba, Unejutumaa (https://unejutumaa.ee) was down:

HTTP code: 403
Response time: 1335 ms

Resolved: Unejutumaa is back up in 374cb79 after 13 minutes.


text:
How to use megaind module in C program

Hello, Alex
Would you please suggest how to use Industrial HAT module in C?
Are there any sample program to read/write digital and analog IOs in C?
Thanks
Nilesh Suthar

Hi,
Unfortunately we have no usage example in C but our command line interface is entirely write in C and the source code is available in this repo, checkout the src folder: https://github.com/SequentMicrosystems/megaind-rpi/tree/master/src
If you have questions about source code feel free to ask.
Alex.

repo: SequentMicrosystems/megaind-rpi


text:
jakttest: Fail if no explicit skip tag is set

Now tests that have no skip tag and that have an incorrect
format (i.e Jakttest can't figure out what the test is expecting) are
not skipped but reported as failures.

This will need a revisit to remove the (explicit) check for selfhost-only that isn't needed anymore since we removed the Rust based compiler.

Just trying to tidy up some old PRs, and saw this has conflicts. Also I feel like this feature might have been implemented already now, but I've not been keeping track of what's going on with jakttest.

Thanks for noticing :). Merge conflict resolved.

Guess it would be worth fixing the failing examples as a commit as part of this so the CI passes for it.

Those changes were part of the original commit but I unknowingly rejected them for being outdated.

authors: AtkinsSJ cybergsus robryanx

repo: SerenityOS/jakt


text:
🛑 Tesseract - Prod is down

In 2e41aa0, Tesseract - Prod ($SECRET_SITE_TESSERACT_PROD) was down:

HTTP code: 502
Response time: 194 ms

Resolved: Tesseract - Prod is back up in 0aa5f77.


text:
fromHeader should return strings behind "BEARER"

HI, there.
Thanks for your job. jose is nice to use.
I found a bug in  fromHeader method
It should return bytes after "BEARER"

Nice catch, thank you!

authors: EricLagergren tooooolong

repo: SermoDigital/jose


text:
Modify the DDL statement

Original content：
creation_time timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
Modified content：
creation_time timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6)
This operation is to solve this problem https://github.com/ServiceComb/ServiceComb-Saga/issues/68

Coverage remained the same at 95.444% when pulling a6742975973048806c9f94cdc73a486a22adc52e on holy12345:master into c6b4869beecc77607e67ee2c1c5c29954a5ea546 on ServiceComb:master.

repo: ServiceComb/ServiceComb-Saga


text:
Update Other Solutions instructions for node with express

Following the node and express deployment options you need to do some addtional steps to get it working because the build/index.html file references the path /FamilyServiceDirectorySearchinator/ .

build the assets
npm run build

create an index.js file as described under git top directory ie: same level as the 'build' folder

const express = require('express');
const path = require('path');
const app = express();

app.use(express.static(path.join(__dirname, 'build')));

app.get('/', function (req, res) {
  res.sendFile(path.join(__dirname, 'build', 'index.html'));
});

app.listen(9000);

Traffic coming in on port 9000 will retrieve the build/index.html  . 'build' is also essentiallly the webserver root and given that index.html has paths relative to /FamilyServiceDirectorySearchinator/  in order for this to work you will need to move all the build files except index.html under a directory build/FamilyServiceDirectorySearchinator
cd build
mkdir FamilyServiceDirectorySearchinator
mv * FamilyServiceDirectorySearchinator/
mv FamilyServiceDirectorySearchinator/index.html .

Start the node server
 node index.js

Index.html is a generated file, during npm build. Its controlled by package.json.
Why are you trying to run a listening server from a build? I can't work out the purpose here.

I was trying to get the service running using a node and express as per the instructions in Deployment>Other Solutions specifically Node and Express.  Because the generated index.html file has references such as
<link rel="shortcut icon" href="/FamilyServiceDirectorySearchinator/favicon.ico">  if you follow the instructions as documented you will get 404 errors, because I believe the webroot essentially is under the build  directory.
so the way to fix that is to move the generated files under the build directory  to build/FamilyServiceDirectorySearchinator/ . It is necessary to leave build/index.html in the same place because the  Node file you generate as per the instructions redirects to that.   - Does that make sense.
My end goal is to be able to run the service as a container image as a standalone Node service. I could do it another way it was just that it seemed to be the most straight forward for now.

The readme boilerplate there comes from the create-react-app we used to create this repo.
If you deploy to another path, i think you can change the package name in package.json. npm build uses that when it build it. One way is to set the "homepage", like you see here : https://github.com/ServiceInnovationLab/pancake-frontend/blob/master/package.json

I'm going to remove the confusing boiler plate from the README -- you'll still have a copy in your fork.


text:
Full logging option

Can we get a option to enable the bot to post the full log output? Their are weird bugs (like some songs not playing) that would be easier to fix and send upstream if the bot logging would output everything when set. (possibly as a config option.)

https://github.com/SexualRhinoceros/MusicBot/commit/1623506d2089a2d8d5a533299a6225d294c2f7a1 and later commits to review have implemented logging. It'll be in the next release version.

authors: TheDoctorsLife jaydenkieran

repo: SexualRhinoceros/MusicBot


text:
!setavatar problem

Says the url is unsupported img. what is supported?

Anything that the Discord client supports. E.g .png, .jpg.

authors: blixend jaydenkieran


text:
fix: /projects seems to have incorrect watchers total

looks like badgen.net has the same values for watchers vs stars

repo: SgtPooki/statusboard


text:
Add time & date overlays

This kind of blurs whether or not it should be in Shabad OS or released as a second standalone app. Need feedback on bloat (size, codebase, packages, cpu perf) and definition/scope of desktop app.
The goal here is to allow users to add the time/date stamps to their livestream. There are two options: (1) expose to the same overlay page, (2) create separate webpages for time and date (3 webpages total including overlay). The first option allows theme creators to place everything in one file; the second option allows users to place the date and time flexibly in their OBS (crucial when switching between 720, 1080, etc. resolutions).

[ ] Add two input boxes for time and date in Settings > Tools > Overlay
[ ] Default string for time: Military (13:04)
[ ] Show options in description for

[ ] Military Hour and preceding 0 (6, 06)
[ ] 12 hour and preceding 0 variant
[ ] Minutes always preceding 0 (03, 14, 59)
[ ] a/p in lowercase (CSS can make upper)
[ ] am/pm in lowercase

[ ] Default string for date: Wed 15 Oct 2019

[ ] day of week 2, 3, and full letters in lowercase (mo, mon, monday)
[ ] day in numeric and preceding 0 variant (3, 03)
[ ] month in alphanumeric options (aug, august, 8, 08)
[ ] year in two or four digits (19, 2019)

[ ] Input boxes should allow for other characters like comma, hyphen, and other words. This allows the flexibility for a user to write Day 6 of '%19% Smaagam, %Wed%, %15% %Oct%

Bloat is next to nothing (everything can be done with setTimeout and new Date(), and any npm packages that have this wrapped in a component will be tiny)

Yeah, first option is fine for advanced users. It's for the people that want to use OBS or their livestream software that the second option is better / easier for them. All they have to do is add a browser pointing to the separate endpoint (/time, /day, /date) and then they can move it wherever they like. I'm still leaning towards second for most users/ease of use.
A better option is to have one single endpoint that is manipulable. So something like /timedaydate?format="HH:mm ddd DD M YY". This endpoint is the most preferable. It allows the user to set up complex strings that don't have to be formatted with fancy left/right aligns in their software (Say if someone wants to show day and date together, but both change widths, how do you arrange them in livestream software? Easy to do when you can create one string that includes both).
We also have to be careful that esc hotkey doesn't turn off these two fields. Also we need a css tag on app tag for when it's escaped/empty.
On time day date endpoint(s), a tag to indicate empty/esc in shabad os would be nice as well. In case they want to hide time, day, date whenever the shabad os is cleared.

Maybe move to another repo, since a lot of people might use this without SOS anyway.

If we add it to a website, it could go with #353 to generate these two static files.

Perhaps we can make this simpler by using moment.js and simply allowing user to pass "locale" and "format" string in URL
So e.g.:

en and llll => Sun, May 17, 2020 1:18 PM
pa-in and llll => ਐਤ, ੧੭ ਮਈ ੨੦੨੦, ਦੁਪਹਿਰ ੧:੧੯ ਵਜੇ

I still don't want to force these dropdown choices in GUI so that user may use USA date formate but also have 24 hour clock from UK with two URLs

We can have option to style this in theme tool and overlays just need to provide support for this

We can use https://momentjs.com as it offers so many date formats and then user can style the date as they want. MomentJS allows us to define locales.

At most I think the user should be able to theme color, font size, font family, and text alignment. I don't think it's enough to really warrant an entire theme tool.
As said before, the format of the time or date should be passed in the URL if possible. The same webpage can be used for multiple formats then.
Maybe it's possible you can pass this formatting through the GUI through a couple drop downs, but the URL overrides (takes priority over) whatever format was chosen in the GUI?
The other option is to simply have n text files created, so for example 3 GUI dropdowns in shabad os settings. These 3 can be formatted as whatever strings preferred. The text file is continually updated. Live stream software can handle formatting/styling/etc. I don't think any user would require more than 3 formatted strings, and could even suffice with just the one perhaps. Text files could be like timedate{1,2,3}.txt. Perhaps dropdowns for this could be "added" so there is only one to start with.

One downside of the text file method, is that only the local machine can access it easily.

We can do the URL way, it is simpler and no need for reading/writing files. We pass in the format in the query as said above and then that param will be rendered in a component. For basic users, they can use the dropdown way where a query param is generated and if you are advanced then they can probably modify it (according to momentJS docs) however they like.
So we have 2 endpoints/overlay/time?format, /overlay/date?format. How does styling work? Do we have multiple defaults for this too (similar to themes)?

My latest thoughts on this are:

Create something similar to the "theme tool". An online "date/time" generator. It would create an html file with javascript embedded in it. This webpage could be added to live streaming programs such as OBS, Wirecast, vMix, etc.
This webpage method is superior for the following reasons

Share date/time configurations for organizations
Still usable offline for recordings (instead of just for live streams)
Easier to set up than fiddling with custom CSS
More separated from presenter project, thus other content creators may feel like they can use it in their live streams

This webpage method is inferior for the following reasons

Have to open a browser and go to a website to create your datetime string, adds a little friction (unless linking to it anyways in settings/overlay)
Cannot access the datetime across the network, it is a local file (which itself could be shared with a USB drive, but ideally, given this downside, the second user should be able to quickly generate their own webpages for date/time)

Each generated website should offer

moment.js string (e.g. dddd => Thursday, LT => 7:03 AM, lll => Oct 29, 2020 7:04 AM)
instructions on how to use it
customizations for fontSize, color, textAlign, fontFamily, etc.
generate/download button with pre-designated but customizable file name

authors: Harjot1Singh bhajneet saihaj

repo: ShabadOS/desktop


text:
Bullet Note Texture Disapearing After I Hit It Once

What is your question?
so basically I have three bullet notes for me to hit the first one has the texture
the second one does not
and the third one does not also
I have a video of the code and everything
please, help me!
https://www.youtube.com/watch?v=O9nIOXRkWQU&feature=youtu.be

send the script

https://www.mediafire.com/file/pn2oug2hh19wv26/Bullet+Note.lua/file

nvm just had to update PE

authors: TheKitBoi doitover

repo: ShadowMario/FNF-PsychEngine


text:
animated sprite not appearing

Describe your problem here.
so im back from the dead i guess
this time stage problem!!! (woo this guy stinks)
so anyways...
im working on the same cancelled i guess mod again and im trying to add a stage and it contains a animated sprite which im still learning about animated sprites and i couldnt see it in gameplay. here is code:
        makeAnimatedLuaSprite('sen', 'beach/beach_senator', -750, 520);
        addAnimationByPrefix('sen', 'sen bop', 'bop', 24, true);
        objectPlayAnimation('sen', 'sen bop',true);
       setScrollFactor('sen', 1, 1);
idk why it isnt appearing
i'll give you the entire code if needed:
function onCreate()
--background shit
makeLuaSprite('beach/beach_sky', 'beach/beach_sky', -1500, -1000);
setLuaSpriteScrollFactor('beach/beach_sky', 0.6, 0.6);
scaleObject('beach/beach_sky', 25, 1);
makeLuaSprite('beach/beach_sand', 'beach/beach_sand', -750, 520);
setLuaSpriteScrollFactor('beach/beach_sand', 1, 1);
scaleObject('beach/beach_sand', 1.25, 2.5);

if not lowQuality then
	makeLuaSprite('beach/beach_umbrella', 'beach/beach_umbrella', 0, 0);
	setScrollFactor('beach/beach_umbrella', 0.9, 0.9);
	scaleObject('beach/beach_umbrella', 0.85, 0.85);

    makeAnimatedLuaSprite('sen', 'beach/beach_senator', -750, 520);
    addAnimationByPrefix('sen', 'sen bop', 'bop', 24, true);
    objectPlayAnimation('sen', 'sen bop',true);
    setScrollFactor('sen', 1, 1);

end

addLuaSprite('beach/beach_sky', false);
addLuaSprite('beach/stand', false);
addLuaSprite('beach/beach_umbrella', false);
addLuaSprite('beach/beach_senator', true);

setObjectOrder('beach/beach_sky', 0);
setObjectOrder('beach/beach_sand', 2);
setObjectOrder('beach/beach_umbrella', 1);
setObjectOrder('beach/beach_senator', 3);

close(true);

end
im learning animated bg sprites so yeah prob why i suck at it
also the anim spr idle thingy name is "sen bop"
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x86/x32
Did you edit anything in this build? If so, mention or summarize your changes.
tried changing the sprite position didnt help tho

Wrong object tag
It's called sen, not beach_senator

im a idiot ngl

still cant find the sprite
i see it nowhere

nvm hes there now

Close it

i got a new problem

head bop to beat = no
so yipee
i'll close it after this

You didn't even show the script
It's probably also using the wrong tag

    makeAnimatedLuaSprite('sen', 'beach/beach_senator', 0, 0);
    addAnimationByPrefix('sen', 'sen bop', 'sen bop', 16, true);
    objectPlayAnimation('sen', 'sen bop', true);
    setScrollFactor('sen', 1, 1);

end

addLuaSprite('beach/beach_sky', false);
addLuaSprite('beach/stand', false);
addLuaSprite('beach/beach_umbrella', false);
addLuaSprite('sen', true);

setObjectOrder('beach/beach_sky', 0);
setObjectOrder('beach/beach_sand', 2);
setObjectOrder('beach/beach_umbrella', 1);
setObjectOrder('sen', 3);

thats the fixed
idk how to fix bop

Is that the entire thing? There's no code telling it to play the animation on beat

yeah thats the entire code nothing above

Cool you got your answer then

i still need it to play on the beat
i guess i'll go scavenger hunting

Read the wiki, it has template scripts


text:
Cant use Flash CS6 for spritesheets

Describe your bug here.
Recently i tried using flash cs6 for sprite sheets to add to psych engine but it didnt work even though i changed some stuff to look more simmilar to other spritesheets please help i keep getting this crash :
C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (line 217)
C:\HaxeToolkit\haxe\std/haxe/xml/Parser.hx (line 117)
C:\HaxeToolkit\haxe\std/Xml.hx (line 122)
flixel/graphics/frames/FlxAtlasFrames.hx (line 246)
editors/CharacterEditorState.hx (line 840)
editors/CharacterEditorState.hx (line 520)
flixel/ui/FlxButton.hx (line 521)
flixel/ui/FlxButton.hx (line 507)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: haxe.xml.XmlParserException: Expected node name at line 2 char 2
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
All i did is mainly add some songs and made sprites with a spritesheet and XML generators

I use Adobe Flash CS6 for sprites in my mods (this because my PC cannot run later versions)
The problem is that the coding of the .xml files of the Flash CS6 is UTF-16 and Haxeflixel use the UTF-8 coding and that is why the error.
Something that I do so that the Psych Engine can read them is that after exporting the sprite I open its .xml with Sublime Text and re guard the file with the utf-8 with bom coding which is the one that Haxeflixel can read.

authors: QuetzalcoutlDev jan-doez-animationz


text:
I'm probably stupid but plz help

What is your question?
So I was compiling psych engine when suddenly I realized I'm stupid and don't know how to fix this,

PLEASE HELP I'VE TRIED EVERYTHING!!!

ok

is hard

@fr459 why are u commenting useless text
for @MrYes3215 change vlc.MP4Handler to VideoHandler
and replace Main.hx with a new one https://github.com/ShadowMario/FNF-PsychEngine/blob/main/source/Main.hx

@fr459 why are u commenting useless text
for @MrYes3215 change vlc.MP4Handler to VideoHandler and replace Main.hx with a new one https://github.com/ShadowMario/FNF-PsychEngine/blob/main/source/Main.hx

Now it's saying that VIDEOHANDLER is non-existent!

you commented on an issue no one replied for a week
so
haxelib remove hxCodec
haxelib install hxCodec 2.5.1


text:
setRatingString() question

What is your question?
I'm trying to get setRatingString/setRatingName working and I've tried EVERYTHING and nothings working.  EVERYTHING.  I search up how to in 0.6.3 and its all NOT WORKING.  I try looking at the 'templateScript.lua' file and it just says:
-- return Function_Stop if you want to do your own rating calculation,
-- use setRatingPercent() to set the number on the calculation and setRatingString() to set the funny rating name
-- NOTE: THIS IS CALLED BEFORE THE CALCULATION!!!

I do the things that it saying, and nothing WORKS!
But the main reason I made this labeled as question is because im wondering if these functions even work in 0.6.3
This was the last code I tried:
function onRecalculateRating()
	-- return Function_Stop if you want to do your own rating calculation,
	-- use setRatingPercent() to set the number on the calculation and setRatingString() to set the funny rating name
	-- NOTE: THIS IS CALLED BEFORE THE CALCULATION!!!
    debugPrint("aaaaa")
    setRatingString("a")
	return Function_Stop;
end

as far as i know they don't work
why? Who knows

I'm having same problem but i know it works in older versions on psych but it wont work on 0.6.3 for whatever reason

authors: CaptainBaldi TFLTV loldog757


text:
i need help with this

Describe your problem here.
hi i am trying to compile psych 0.6.3 but i get this error
I fixed most errors but this one got me stuck

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
nop

deadass?
in flxanimationcontroller, just replace frames with this ```haxe
/**
* The total number of frames in this image.
* WARNING: assumes each row in the sprite sheet is full!
*/
public var numFrames(get, never):Int;
/**
 * The total number of frames in this image.
 * WARNING: assumes each row in the sprite sheet is full!
 */
@:deprecated("frames is deprecated, use numFrames")
public var frames(get, never):Int;

then add this function in too ```haxe
	#if (flixel >= "5.3.0")
	@:allow(flixel.animation.FlxAnimation)
	function getFrameDuration(index:Int)
	{
		return _sprite.frames.frames[index].duration;
	}
	#end

one left, 2 to go
C:/HaxeToolkit/haxe/lib/flixel-addons/git/flixel/addons/effects/chainable/FlxEffectSprite.hx:137: characters 49-58 : flixel.animation.FlxAnimationController has no field numFrames
C:/HaxeToolkit/haxe/lib/flixel/5,3,1/flixel/ui/FlxButton.hx:259: characters 55-64 : flixel.animation.FlxAnimationController has no field numFrames

THXXX

np


text:
I can't install this line "haxelib git hxCodec https://github.com/polybiusproxy/hxCodec.git"

Describe your problem here.

When i tried to run that command that thing just appear. Idk how to fix it but i have tried to do it many times but the result is still the same
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
NO

The same just happened for me today. The only work-around I did was NOT to install the git version of hxCodec. like
haxelib install hxCodec. Just that simple.

authors: BillyLOLwkwk ZanderRivera


text:
Animated Sprites in Stage Editor Don’t Repeat

Describe your bug here.
So when you use the stage editor in unmodified Psych Engine 1.0 to add a stage, when you make a stage and add an animated sprite, unless it’s selected as a looping animated sprite, it won’t repeat on beat in-game. Is there any fixes?
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

all i did was go to the json file of the stage and find the part with the animated sprite so there is a value that is called loop and you have to set it to true


text:
More Dialouge Lua stuff.

What feature do you want to get added on the base engine?
Just more dialogue lua stuff in general, mainly stuff like checking which part of the dialogue is in, how long the player has been in a dialogue. Ability to see when a dialogue ends. That kinda stuff.

Everything you just said is already possible.
Please check the engine on its fullest before making an issue.

authors: ShadowMario WaluigiBestGirl


text:
Bruh This Is Getting Annoying(crashes)

Describe your bug here.
My Game Does This Randomly And Has Been Doing This For A While But Kinda Just Started(it may be the system) it only does this with psych not kade or anything else

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, added stuff with the menu and thats really it

Looks like a problem with your own PC, no clue honestly.

i think it is a memory issue when the game tried loading the files but failed

authors: ShadowMario Theoyeah lolbruhfart


text:
Screen randomly freezes yet you can still hear the game

Describe your bug here.
This bug always happens for me (whether it is modified pe or not), but sometimes pe will randomly freeze the screen, you can still hear it, but the screen freezes. I've tried everything, minimizing, changing screen resolution, restarting, and I even tried reinstalling windows (I had to for something else), yet nothing works. Does anyone know how to fix this, or why it even happens?
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

It's lag due to your PC specs (no offense)

It's lag due to your PC specs (no offense)

Don't think it's because of that, I could be running a stable 240 fps and it can still happen

I mean, I used psych engine on my phone and it never does that. Can't possibly be resources.

Is the engine trying to load other sprites like for example:
Tails switching to Xenophane or "left corner edd" in challeng-edd? If so It may be an issue due to the engine struggling to load external characters and read its XML data.

Yeah, usually. Is there a way to fix this problem or is it a problem on my side?

That's your PC not being strong enough, you can somewhat reduce the spikes by precaching images though

Ok, thanks for the information!


text:
psych crash

Describe your bug here.
i was trying to put a character but some kind of crash appeared, the character's death animation was on the spritesheet and when i pressed the reset key (i was testing the animation) this crash appeared:
Paths.hx (line 352)
Character.hx (line 164)
Boyfriend.hx (line 16)
GameOverSubstate.hx (line 53)
PlayState.hx (line 3224)
PlayState.hx (line 2991)
flixel/FlxState.hx (line 203)
flixel/FlxGame.hx (line 747)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 551)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no, i didn't edit anithing related to the source code.

Do you have the death animation named correctly?
Is it in a character.json? (yes, death anims need it, ex. epiphany monika who has her own character & spritesheet for dying)
are xml & png named the same?
Otherwise, can you maybe show the character?

THIS IS HAPPENING TO ME TO

this was on the 0.6.1 and the character is the CN Takeover boyfriend, and yes, i checked if the animations the xml and the .json.

authors: Moisloud ZeitHeld someuser987


text:
SPFX Integration in Teams: Fabric UI component colors mix with MS Team Dark Theme.

I've integrated my custom SPFX webpart with MS Teams using SPFX 1.7.1-plusbeta version. While changing MS Team Settings to Dark theme color, office fabric UI component (ChoiceGroup) are not taking color based on the dark theme color.

I have the same problem and Typography of certain UI fabric component is wrong (ex : Activity Item => Times new roman)

same here

Yep - theme for SPFx doesn't take Teams theme into consideration.

Yes, same for me, :(

Are there any plans on fixing this one?

We face the same issue. As a workaround I am defining what theme there is in Teams and do my own CSS for it (we have to maintain it ourselves until this is fixed, but at least we can have something readable for clients). Found it in this post by Alex Terentiev: https://blog.aterentiev.com/support-microsoft-teams-themes-in. Hope it helps

Hello @pk091990 - sorry for the long delay.
We've been working on theming support for web parts in Teams.
Currently the theme is applied correctly as soon as you refresh the tab (open another tab and go back to the custom one).
If you want the theme to be applied immediately, you can use SPFx 1.14 beta and override onThemeChanged method. It will be fired each time the theme is changed.
From there you can wrap your controls with OUIFR ThemeProvider and pass the theme.
Please, feel free to open a new issue if there are any problems with this approach.

authors: AJIXuMuK PooLP aslanovsergey joaojmendes pk091990 qazqwertish

repo: SharePoint/sp-dev-docs


text:
Update set-up-your-development-environment.md

The latest version is 1.14.0 (not 1.14.1)
Category

[X] Content fix

Docs Build status updates of commit e27b19d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/spfx/set-up-your-development-environment.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

authors: VesaJuvonen YannickRe