feat!: improve WAKU2-FILTER

Problem
With https://github.com/vacp2p/rfc/issues/469, a refactor for the Filter protocol was introduced.
Solution

Adheres to the above stated RFC specs, and implement the Filter V2 protocol while keeping the FIlter V1.
Adds interop tests to be run against nwaku and go-waku

Notes

Resolves #1209

keeps the filter v1 protocol as well, but adds support for filter v2

works interop with go-waku and not with nwaku nwaku

can be reviewed per commit

Blocker

[ ] currently interop with nwaku is being investigated: https://discord.com/channels/864066763682218004/1100682212610953286/1100706468476493866

works interop with go-waku and not with nwaku

Is that expected?

@danisharora099 I know you are sorting issues with nwaku interop. Please ping me when done so I can review.


Implement exprs

I have modified dev and pow methods and class description of HOBOExpr class. Also, I have implemented the following classes HOBOVar, IntVar, SpinVar, and BinVar .

@Mostafa-Atallah2020 I see that you didn't update your old commit messages to the format we agreed on and that the new messages do not follow this format either (should be "Fix pylint issues" instead of "fix pylint issues"). I'd prefer to have the commits cleaned up before merging, but otherwise this PR will definitely need to have all the commits squashed into one when you merge it.

Please add some dummy test to the project, because CI/CD is failing due to CoverageWarning: No data was collected. This can't be merged in its current state.


WIP: MAISTRA-2294 create CRD for federation ServiceExport

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

This iteration of the CRD supports exporting services to specific meshes in the following way:

There is a single ServiceExports resource that defines all services exported to a named remote mesh.
The name of the ServiceExports resource must match the name of a MeshFederation resource.  This is used to identify the remote mesh to which the services are exported
There may also be a default named ServiceExports resource, which will be applied to all remote meshes.  If a named ServiceExports resource exists, the alias rules in the named resource will take precedence.
A ServiceExports resource contains a list of export rules.  Each rule defines:

A selector, which is used to select a service or set of services
An option alias, which defines the name of the service to be exposed to the remote mesh
The first rule that matches will be the rule used to export the service

There are two types of export rules:

NameSelector allows for selecting a specific service by namespace and name and applying an optional alias for either/both namespace and name, e.g. foo/service-a might be mapped to bar/service-b or bar/service-a or foo/service-b

The selector may use * for either namespace or name to select services from any namespace or any name or all services (/)
Aliasing when using * will only apply to name or namespace if * is not used, e.g. if */service-a is the selector, only the name may be mapped, so if the alias name were service-b, you'd end up with foo/service-a and bar/service-a being exported as foo/service-b and bar/service-b

LabelSelector allows for selecting services from a specific namespace using a label selector.  It also specifies a list of name mappings to use for aliasing selected services.

If namespace is omitted or specified a *, the label selector will be applied to services in all mesh namespaces.
Aliases work in the same manner as NameSelector (i.e. this is really a two tiered selector, with the label selector selecting the service, then matching an alias rule to determine the export name).  If no alias rule matches, a selected service is exported as-is.

All services are exported as namespace/name.  Any domain suffix will be managed by the importing mesh.  The rationale here is that this brings export/import of services more in line with how istio manages services in the service registry, as these map nicely to simple name and namespace fields.  (Current thinking is that this would be defined in MeshFederation, or just use some convention like, .svc..local.  We probably still need to figure out how the domain suffix bit plays into this, but I think this simplifies export for the user.  The issues will show up on the import side anyway.)
Questions:

Is it acceptable that we allow configuration of a default set of export rules?
Is it acceptable that there is a single resource for defining all exports, vs individual export resources for each service?
Is it acceptable that we only export namespace/name, letting the importer deal with domain suffixes, etc.?
Should we support globbing of names? Should we expand it to support name prefix/suffix?
I'm anticipating only the mesh administrator should be able to configure federation, so only the mesh administrator should be able to configure exports.  Does this seem reasonable?  Using label selectors allows the mesh administrator to delegate some of that configuration, but they can reduce the scope to select namespaces, or not use it at all.

related to https://github.com/maistra/istio-operator/pull/706

This iteration of the CRD supports exporting services to specific meshes in the following way:
* There is a single ServiceExports resource that defines all services exported to a named remote mesh.

The main problem I see with having everything in one resource is lack of RBAC. A system administrator can't really say "you have the right to export services in your namespaces" because it's all handled in one central resource. Some people might find it to be better than having to create individual resources per Service, but I don't really like it. There's single resource to describe all your Deployments, either. It's a matter of taste, though.
The real question is going to be: do we want the mesh administrator to handle all of it or can Service administrators expose their services themselves? Having individual resources is better for a sort of self-service model.

* The name of the ServiceExports resource must match the name of a MeshFederation resource.  This is used to identify the remote mesh to which the services are exported

Again, this strongly ties in with the 1-to-1 relationship between MeshFederation and ServiceExport. I'd prefer a 1-to-many with an explicit meshFederationRef, but that's very verbose, so maybe this proposal is going to be more popular.
Maybe we could opt for a mix? Have the meshFederationRef instead of matching on name, so that you can have >1 ServiceExport for a single MeshFederation. That way, you can either do it the way you planned here (admin does everything) or the admin can delegate to some power users. If we scope ServiceExport to its own namespace (or the whole mesh, if in control plane namespace), an admin could delegate export permissions for services in specific namespaces via RBAC. Wdyt?

* There may also be a `default` named ServiceExports resource, which will be applied to all remote meshes.  If a named ServiceExports resource exists, the alias rules in the named resource will take precedence.

If we go for meshFederationRef, not specifying one could have this behaviour. Not sure if that's something we'd want

* A ServiceExports resource contains a list of export rules.  Each rule defines:

  * A selector, which is used to select a service or set of services
  * An option alias, which defines the name of the service to be exposed to the remote mesh
  * The first rule that matches will be the rule used to export the service

There are two types of export rules:
* NameSelector allows for selecting a specific service by namespace and name and applying an optional alias for either/both namespace and name, e.g. foo/service-a might be mapped to bar/service-b or bar/service-a or foo/service-b

  * The selector may use `*` for either namespace or name to select services from any namespace or any name or all services (_/_)
  * Aliasing when using `*` will only apply to name or namespace if `*` is not used, e.g. if */service-a is the selector, only the name may be mapped, so if the alias name were service-b, you'd end up with foo/service-a and bar/service-a being exported as foo/service-b and bar/service-b

I can see a lot of edge cases with the aliasing. What if services overlap because of the aliasing? Ie we map two services onto the same NamespacedName?

* LabelSelector allows for selecting services from a specific namespace using a label selector.  It also specifies a list of name mappings to use for aliasing selected services.

LabelSelector is kind of delegation through the backdoor, right? If a service admin knows the label, they can export. And we can't use RBAC to control it - because if you own a Service, you can label it. So I'd say we drop LabelSelector

  * If namespace is omitted or specified a `*`, the label selector will be applied to services in all mesh namespaces.
  * Aliases work in the same manner as NameSelector (i.e. this is really a two tiered selector, with the label selector selecting the service, then matching an alias rule to determine the export name).  If no alias rule matches, a selected service is exported as-is.

All services are exported as namespace/name. Any domain suffix will be managed by the importing mesh. The rationale here is that this brings export/import of services more in line with how istio manages services in the service registry, as these map nicely to simple name and namespace fields. (Current thinking is that this would be defined in MeshFederation, or just use some convention like, .svc..local. We probably still need to figure out how the domain suffix bit plays into this, but I think this simplifies export for the user. The issues will show up on the import side anyway.)

+1 on this, I think this makes perfect sense

@dgn, thanks for the feedback.  I went with the 1:1, global model because I thought federation was something that should be restricted to the mesh administrator, as it exposes mesh resources to other parties.  Given that, I didn't think it made sense to support delegation.
You're right, that label selector is sort of a back door for self-service exporting, which doesn't provide for any RBAC control, other than namespace scoping.
My thoughts on this were:

If you're really uptight, only the mesh administrator should be exporting services.  They are responsible for the mesh and are most likely the one to get called if services disappear (e.g. somebody unexported them, or a gateway goes down), or if a service that shouldn't have been exported gets exported.
If you're not so uptight, you can use label selector, appropriated to select namespaces, essentially delegating responsibility to any user who can create/update services in those namespaces.
If you're primarily concerned about HA/FO, you probably have some very simple glob rules that don't require much maintenance (e.g. export /, no aliasing, as a default rule).

Regarding conflicts, for now I was just going to log errors if a duplicate occurs (first match wins), eventually providing status in a status resource.  I agree there are going to be issues here.  Originally, I was thinking about 1:1 with service, but that doesn't help with aliasing. I was anticipating that most cases of aliasing would be namespace-a -> namespace-b, so rules like namespace-a/* aliased to namespace-b/*.  The other option is to require an explicit mapping for every export, which I thought was burdensome.  It is a fallback solution though, as that is supported.
Using something like meshFederationRef is probably a good idea.  One concern I had with supporting multiple export resources was how to manage the rule ordering, which is part of the reason I went with a single export resource (e.g. if there are overlapping rules in two export resources, which one takes precedence).

I guess one thing I didn't touch on was whether or not globbing should be supported at all.  I thought it made sense for things like ha/fo, e.g. export all services, or export all services from a specific namespace.  Another side effect with globbing is that the set of services exported changes with the set of services in the mesh.  I don't know if this is really an issue though.

Finally going through this - some good discussion points here...

The real question is going to be: do we want the mesh administrator to handle all of it or can Service administrators expose their services themselves? Having individual resources is better for a sort of self-service model.

This is a great question...and one I had to think about... we often talk about "clusters admins" and "mesh admins" as being the two levels of administration, with the assumption being that the "mesh admin" is also the admin for all of the services. That is not always the case though - sometimes customers do want to divide an individual mesh into different "zones", often based on namespaces. I think the idea of being able to have multiple ServiceExport resources makes a lot of sense, as that would allow each resource to have different RBAC scoping (or other config differences). That said, if this gets complicated, I think it's ok if "service admins" have to ask "mesh admins" for permission to export services.
The label selector option offhand doesn't bother me too much - a lot of things work this way in K8s land. The control over this will be in the hands of the mesh admin, so they need to be aware of the risks. A "mesh admin" should be aware that if they use a label selector, services will be able to export themselves. If we support "globbing" (There's strong demand for the HA use case, and I can see there being a desire for "export all"), that would be even higher risk, and they should be aware that they're "leaving the door open" for services to automatically be exported. If we do provide these different options, I think this is something we should definitely document these risks as a call out/warning with ServiceExport (cc @JStickler).
In general, I'll favour the simpler paths while meeting the two use cases of sharing distinct services and HA/FO, with us adding additional options/flexibility as requested by customers later. That is, start with one set of options that can be expanded on later. No doubt there will be a lot of requests that we'll have to tweak over time, and those can be hard to predict.

/retest

@dgn, @knrc, @jwendell, @brian-avery, this should be ready to merge.  just needs some reviews.


"Event-Based Data" options are not clear

I'm trying to do a testing with Moving Pictures of the Human Microbiome and I'm not sure which option to choose. This needs to be clearly documented.

https://docs.google.com/document/d/1u7kwLP31NM513-8xwpwvLbSQxYu0ehI6Jau1APR13e0/edit#heading=h.ghm5n8t4ys8t

Ah, I had no idea that document existed!
Note that More info > Help points to the wiki (which I think would be a great place to write the documentation, as it would facilitate contributions from non-coders).

It would be good if there were options that didn't involve interventions (e.g., for Moving Pictures).

Agreed, that google doc should probably move to the wiki


Can not upload existing XACML policies - 5.7.0

Start a WSO2IS 570 version with default configuration.

Upload an XACML policy.

Following error is generated at the BE

[2019-08-29 01:18:57,267]  WARN {org.owasp.csrfguard.log.JavaLogger} -  potential cross-site request forgery (CSRF) attack thwarted (user:, ip:<IP_ADDRESS>, method:POST, uri:/fileupload/entitlement-policy, error:required token is missing from the request)
It is not nice to fail when default configurations are there.

I could experience the same issue in IS-5.8.0 as well.


[Bug]: Trying to solve the "obsidian crash on mobile when cloning" problem

Describe the bug
I encountered the problem described on your readme file: if I try to use your plugin to clone a new repo from remote, the cloning is initialized but then makes the obsidian app crash altogether.
I (thought I) found a workaround: using working copy to clone the repo locally (it works very smoothly), then copy/paste it to the obsidian folder using the Files app.
I am then in the following situation: all of my files are copied on my device, in the right folder, with a .git directory already in there (created by working copy). If I open the obsidian app, I can see all my files.
The last obstacle standing in my way is to manage to somehow get your (awesome, I always use it on desktop!) plugin to catch the pre-existing .git folder and use it to start pulling/pushing. But here is the issue: if I now try to install the plugin (through the obsidian app interface, community plugins etc), I can download it... But enabling it makes the app crash.
I tried a couple of other things - if instead of https I use ssh as the cloning protocol in working copy, obsidian-git does not make the app crash upon enabling, but this time throws an error message when trying to pull: "unknown transfer protocol: ssh".
If you managed to solve my problem, you probably would also solve many users' problem according to your warning message! I hope this is all clear.
Relevant errors (if available)
No response
Steps to reproduce
See bug description.
Expected Behavior
No response
Addition context
No response
Operating system
iOS
Installation Method
None
Plugin version
2.20.0

Same issue here. Wanted to clone my repo on the phone to also use it there but existing plugins stored in .obsidian don't work and keep crashing the application.

I also had the problem where cloning the repo on iOS caused obsidian to crash. My repo is ~4500 files, ~65 MB.
I'm not sure if this will help in your case but I was able to get this working. It's the same workaround you posted, but some of the details may be different. Here are the steps that worked for me:

My repo was already created on the desktop version of Obsidian. I have a .gitignore file that excludes the .obsidian folder from the repo so that desktop plugins are not synced to mobile. (note: if .obsidian is already in the repo, you'll have to do extra git commands to remove it)
On iOS, in Obsidian, create a new vault without iCloud sync.
Swipe up and away Obsidian to fully close it. Open Working Copy app.
Clone the repo using Working Copy. Instead of logging in to GitHub through the Working Copy interface, I entered the clone URL directly. Then I entered my username, and for the password I entered my Personal Access Token.
Open Files app.
Copy the repo from Working Copy. Delete the vault from Obsidian and paste the repo there (repo has the same name as the vault).
Open Obsidian.
Immediately my markdown files were visible.
Install and enable the Obsidian Git plugin (plugins are not included in my repo so it must be installed now)
Using the Command Palette, try pulling the latest changes. It fails because the Author info is missing.
Add your name/email to the Author info of the Obsidian Git plugin. Note: I did not have to re-enter my username or password.
Try pulling again - this time it works. At this point the plugin is fully working.

Thanks for that detailed instructions. I've included them in the documentation https://publish.obsidian.md/git-doc/Getting+Started#Clone+via+Working+Copy+on+iOS


Improved: Switch from jCenter to mavenCentral to handle the jCenter shutdown (OFBIZ-12171)

This has to be applied in synch with the lpugins pull request with the same title.
https://github.com/apache/ofbiz-plugins/pull/53

Strange, this worked on my side now, will check again...

Ah, I see. This is a problem which is fixed in the ldap plugin but the fix is not available for this build because it is not committed to the official repo yet. Please check with both PR's for plugins and framework.


Bugfix: issue #7839 horovod optimizer missing 2 required positional arguments

What does this PR do?
Fixes #7839
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

We should also be able to skip the whole optimizer wrapping when we are not training, i.e, there could be a check for `
if trainer.state.stage != RunningStage.TRAINING:
    return

# otherwise setup optimizers


Update version number

Introduction says Dyon 0.21. This should be 0.36.

https://github.com/PistonDevelopers/dyon-tutorial/pull/23


Support for augmented operation ( x += 1 )

Hi all,
I'd like to get familiar with pony so need something simple to dig into internals.
Currently pony missing support for augmented operations.
x += 1 // same as: x = x + 1

I've started with straightforward  implementation in 9568d37.
Not sure if pony really need this feature, maybe you can suggest other preferable ways to help/learn.

Thanks for the effort, but we deliberately omitted += etc from Pony because we think it causes confusion.
The simple substitution you're using has the disadvantage that x may not be just a variable name. It could be an arbitrarily complex expression with various side effects. Your expansion would mean that those side effects would happen twice, and if x was eg extracting an item from a list, you may get different variables in the left and right expansions.
An alternative is to make += a function like + is, rather than enforcing an expansion. This would be a little more effort, but would work fine when x was a number. However this means that people can override += on their classes. This is problematic because there's nothing then to enforce that += and + are related in the obvious way for a given class, but users will assume they are.
So overall we think it's better just to not have +=.
There is however plenty of other stuff that needs doing! Probably the best thing, which will also help with getting to know Pony, is to write things for the standard library. Take a look at what's there, decide what's missing and write it. There's loads of stuff we should add, so pick something you're familiar with or find interesting. It could be a yaml parser, or a native regular expression evaluator, or a library to wrap the C maths functions, or a mime encoder/decoder, or an XML handling library, or (un)compression tools or whatever you want.

Thanks you for so detailed answer.

Your expansion would mean that those side effects would happen twice, and if x was eg. extracting an item from a list, you may get different variables in the left and right expansions.

Just an example from python:
In [1]: a = [1]

In [2]: a[0] += 1

In [3]: a
Out[3]: [2]

In [4]: a.pop() += 1
  File "<ipython-input-4-8c1440dec03e>", line 1
    a.pop() += 1
SyntaxError: can't assign to function call

In more complex cases, when x refers to descriptor - you have to define retrieving and assignment separately. If there are side effects - they happens twice.

we deliberately omitted += etc from Pony because we think it causes confusion.

That's works for me. Not a big deal to repeat thing twice, this was just first thing that struck the eye =)

Probably the best thing, which will also help with getting to know Pony, is to write things for the standard library.

Ok


Fix issue updating models with foreign key constraints

Make sure these boxes checked before submitting your pull request.

[x] Do only one thing
[x] No API-breaking changes
[x] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?
We found an issue where Gorm was trying to write the zero value of a has_one foreign key into the table and when using actual database foreign keys, the value 0 was invalid. This pull request adds a check in the updateCallback to ensure the field being update is not a blank foreign key with a default value. In our case the has_one relationship has a default value of null in the event that the model does not have the child yet.
All gorm tests pass and this makes it safe to use foreign keys with a default value of null.

thank you for your PR.

Is it possible to allow update NULL value to foreign key?  It was work before this.


Calling rmt_write_items caused a failed error check relating to EVT thresholds.

When we call rmt_write_items() with a small number of items, the exception check described here:
https://github.com/espressif/esp-idf/blob/master/components/driver/rmt.c#L343
I believe I have configured the channel I am using (channel 0) with 1 memory block.
Unfortunately I can't easily give you a recreate sample as the RMT code is embedded in a much larger project.  I can run tests and put in instrumentation as needed and will always be willing to screen share live if requested.

Hi @nkolban,
Sorry for the slow reply on this issue. Unfortunately the master branch seems to have changed since your post, so the source line linked above is empty. Can you be more specific about the error you're receiving, please?
Also, how many items is a small number? And can you please confirm if the bug still exists in current master?
Angus


Trait bounds for deserialization are enforced even if deserialization is skipped.

In the example
#[derive(Deserialize)]
struct SomeStruct {
    something: String,
    #[serde(skip_deserializing)]
    SomethingElse: String,
    AThirdThing: &String,
}

the AThirdThing field causes the error  the trait bound `&std::string::String: Deserialize<'_>` is not satisfied despite the fact that it is not being deserialized.

In the shared code snippet you only skip deserialization of the second SomethingElse field, not the third AThirdThing. To achieve that you need to annotate that field as well (I fixed the Rust code too):
#[derive(Deserialize)]
struct SomeStruct<'a> {
    something: String,
    #[serde(skip_deserializing)]
    SomethingElse: String,
    #[serde(skip_deserializing)]
    AThirdThing: &'a String,
}

However, that still won't quite work, since &'a String does not implement Default, see https://serde.rs/field-attrs.html#skip_deserializing.
You need to specify a default = "..." as well, to tell the deserialization code how the field value should get created, since it doesn't come from the serialized data.


Invalidate Bad Data

Get with Jonny Gartner on this. Whenever he scans his card, it scans around 14 digits. This is incorrect.
This is because there is another RFID card in his wallet. This for some reason also does not submit a \n at the end.
A proposed solution to this: whenever the first character is entered, time for 0.5s after and automatically submit.

Added a check for id of length 5. Still needs more work to make sure that we don't lose multiple people from a bad scan.


What is the width height units of widgets?

new Container(
    width:200.0,
    height:200.0
)

what is the width height units?
for example, I want to draw width with 200px and height 200px, how to transform 200px here?
many thanks

Flutter uses device independent pixels as default.
For your Container to be of 200px
Container(
    width:200.0/MediaQuery.of(context).devicePixelRatio,
    height:200.0/MediaQuery.of(context).devicePixelRatio,
)

If you do this you will find that your container is quite small on high DPI screens. It is best to design your application around device independent pixels and trust device manufactures to adjust the dpr appropriately based on screen size and resolution

If you do this you will find that your container is quite small on high DPI screens. It is best to design your application around device independent pixels and trust device manufactures to adjust the dpr appropriately based on screen size and resolution

No offence, but I like memes and this meme seemed perfect fort the scenario.

Spicy!

😄
Anything planned to do? Update docs, ...?

If you do this you will find that your container is quite small on high DPI screens. It is best to design your application around device independent pixels and trust device manufactures to adjust the dpr appropriately based on screen size and resolution

we can design design draft with 720p，for 200px width, translate this

Please provide updated docs, the above link doesn't work.


Transitions with JavaScript Hooks

Is there any plan to support JavaScript hooks for page transitions like close to what Nuxt.js does?
react-transition-group already has somes JS hooks with their <Transition> component. The idea is to be able to use JS animation libraries such as GSAP, and ideally even have a done callback as a parameter to be used on the completion of an animation.
Otherwise, is it possible already to use react-transition-group with Next.js to achieve those type of page transitions?

I don't have any plans to implement this at the moment, but I would be open to a PR implementing this! Could you elaborate on the kind of API you have in mind?
Also, to clarify: you're referring to hooks in the sense of a callback and not React Hooks, right?

Yes, that would be in the sense of callbacks and not React Hooks.
The API I had in mind is the one currently used by Nuxt.js:

beforeEnter(element)
enter(element, done)
afterEnter(element)
enterCancelled(element)
beforeLeave(element)
leave(element, done)
afterLeave(element)
leaveCancelled(element)


perf(core): enable status api by default

Summary
Redoing https://github.com/Kong/kong/pull/12254
Checklist

[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md

Issue reference
KAG-3359

How about replacing perf with feature? And do the same thing in the changelog.

Yes, I think that it is not a "perf".

How about replacing perf with feature? And do the same thing in the changelog.

Yes, I think that it is not a "perf".

@chronolaw feature or refactor?

How about replacing perf with feature? And do the same thing in the changelog.

Yes, I think that it is not a "perf".

@chronolaw feature or refactor?

In original PR (#12254), it is "feat(templates)".

How about replacing perf with feature? And do the same thing in the changelog.

Yes, I think that it is not a "perf".

@chronolaw feature or refactor?

In original PR (#12254), it is "feat(templates)".

@StarlightIbuki What do you think？

In PR #12268, we reverted #12254, and found some test failings, do you sure those cases are OK now?

@ADD-SP @chronolaw Renamed the PR.

In PR #12268, we reverted #12254, and found some test failings, do you sure those cases are OK now?

They are fixed. Please take a look at the change to the tkong_test.conf.


Error when opening a notebook with spaces

Hi,
When opening a notebook with spaces in the filename, I get the following error:
"file with spaces.ipynb" 60L, 1359B written
Error detected while processing function jukit#convert#notebook_convert[5]..<SNR>123_convert_to_script[12]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 5 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 6, in <module>
  File "/home/sulan/.local/share/nvim/site/pack/packer/start/vim-jukit/helpers/ipynb_convert/convert.py", line 123, in convert
    language, nb = get_nb_and_language(nb, lang)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/sulan/.local/share/nvim/site/pack/packer/start/vim-jukit/helpers/ipynb_convert/util.py", line 11, in get_nb_and_language
    assert nb["nbformat"] > 3, (
           ~~^^^^^^^^^^^^
KeyError: 'nbformat'

It seems to come from nvim reporting the filename with \s in it, after which the python code (in load_json in utils.py) tries to load the wrong filename, and returns an empty dict.
Versions

NVIM v0.9.0
Python 3.11.3
Linux 6.3.3-arch1-1

I can confirm this weird behavior, even though I think it is never a great practice to have space in file names, this issue raises if the space is in any part of the path, even in previous folders that are not part of the relative path.... Fixed it eliminating spaces...

#94 is also same issue. Keeping it open to prevent possible duplicate issues in the future.


enable admission and authorization by default

What type of PR is this?
/kind feature
What this PR does / why we need it:
Enable admission and authorization by default.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/kind feature


Unable to download files from a container using the sz command

What would you like to be added:
download file from pod use command sz
Why is this needed:
It's easier to download files from containers.
Environment you are Lens application on:

Kubernetes distribution: Alibaba ACK
Desktop OS: MacOS Monterey 12.5
Lens version：Lens-2023.12.281947

Hello @zhuangdl
Thank you for reaching out!
We will be sure to update our development team about your request.
Regards,
Oleksandr from Lens

thank you very much


Bard AI is not working with a json unmarshall error

I think the error is something about "json: cannot unmarshal string into Go value of type []interface {}", in the bard module,
It originally works ok, but someday, it fail to work, I tried the latest version, still don't work.
My go version is 1.20.
Thanks for your effort.

Hi there, thanks for using Aih!
1.Error "json: cannot unmarshal string into Go value of type []interface {}" normally caused by the returned empty [[][][]] data which means the server did not return validated response.
2.For now the SNlM0e value lost so making the requesting not work.
3.You could try the newest version of Aih which employ the undetected_chromedriver to interact with google server.
4.You may need python3 and  pip3 installed and run pip3 install undetected_chromedriver.
5.When you run Aih need input bard cookie and wait a while time for bard headless browser login and initialize by return "Bard initializing..." on terminal until it prepared well.
Please do not hesitate to push more question, thanks a lot!

I have tried latest version, but got following error:

Although it is not working in my env, seems you have bring the interactive input/output back (instead of showing the output in a seperated screen), I like this.
I think you can add a 'logging' mechanism, so if there is problem, it is easier to identify the problem.

Thanks for your effort, the tool is very useful.

Hi there!
Nice to receive feedback from you.
If you check the code you could figure out that Invalid cookie indicate a short cookie that seems not a valid google login cookie.

In my case, a effective bard login cookie seems like this:

Please make sure you are use a right login cookie of google bard from the certain page of "www.bard.google.com".
If it still not work properly, welcome to feedback!
Thanks for your testing.

Still, I was not able to have it work

Seems this need Chrome being installed, I have it installed.
I don't know why.
Thanks for your effort.

Hi!
It indeed needs chrome be installed.
And it need time to initialize.
Firstly, you need a valid cookie input via .key command.
Secondly please be a little patiant for the initializing process by keep typing "hello" to see "Bard initializing..." untill Aih give you a google bard response string.


test(message_edit_post_history): New test case for edit post history

Summary

Adding new test case for message edit post history. Contributor is adding Cypress test.
Jira ticket: https://mattermost.atlassian.net/browse/MM-45494
Is the feature in stable branch or under review?

[] Feature in stable branch (master, main)?
[x] Feature still under review? If yes, list all related pull requests for reference.
Webapp PR: https://github.com/mattermost/mattermost-webapp/pull/11069
Server PR: https://github.com/mattermost/mattermost-server/pull/20945
Server PR: https://github.com/mattermost/mattermost-server/pull/21601

Test server

https://mattermost-server-pr-21601.test.mattermost.cloud/
Test client

[x] Browser
[] Mobile App (version, OS)
[x] Desktop App (version, OS)

Thanks @jgilliam17!
Is there an existing test that exercise permission on who can/cannot edit a post? If not, may be something to add? Not necessarily blocking here or for MM-45494.

I'll have to check on this. I'll mention in the webapp or server PR

@saturninoabril Can you sync with Zephyr and share test case ID please? Thanks 🙂

Hello @jgilliam17, done, MM-T5381.

Great - thanks Saturn!


Break source files into two

Do you think you could break the source down into two files, where one is the main part of the code, and the second the SM83 Instruction Jump Table portion with all the opcodes?
The main reason is that it's too large to be opened all at once in Left XD

I've broken it up a bit more than that, as the MBC code seems worth keeping separate as well, and the memory map likely won't ever change. The opcodes.tal file seems viewable all the way to the end in Left now.
I just realized both opcodes.tal and varaboy.tal are currently 875 lines. Neat.


Not really a bug, rather kind of a "hack"

The title of my kata https://www.codewars.com/kata/5a057ec846d843c81a0000ad/discuss#5f9580772599610017d5e6fb
has been modified to an insult by a guy named "n0pd" (1 dan in one month).

:(
The user deleted their account. The kata was editable by users with privilege to coauthor because one suggestion has been open for 2 years.


allows gcloud to fail

also:

ensures drupal path is correct
fails bigquery without project ID

closing in favor of #33


why istio Round robin load balance not work as expect

when Round robin load balance set a pod  responsed many requests  then turn  the next pod  .  it should not be a pod respose one request, then turn  the next  ?  can any one give a clue , thanks!

@zziawan I am not sure what you mean, can you give an example of the incorrect behavior?

@howardjohn

for example， deploying a service with 2 pods, with round robin load balance.  when sending requests to the service with postman, traffic always the same pod, no traffic go to the other pod.  sending batch requests with jemeter,  you can see a certain num request responsed by the same pod  then the traffic go to the next pod. it shouldn't be one pod response only one request ? thanks ！

@zziawan Please refer to this FAQ https://www.envoyproxy.io/docs/envoy/latest/faq/load_balancing/concurrency_lb

@zziawan Please refer to this FAQ https://www.envoyproxy.io/docs/envoy/latest/faq/load_balancing/concurrency_lb


Dates on extension page use American format regardless of display language

The 'Last updated' and 'released on' dates on the extension page use the American format. This is confusing to many people.

Last updated 12/3/2021

I tried changing the display language to Spanish and German, but the problem remains:

Consider using a unambiguous date format such as yyyy-mm-dd (ISO 8601)

@sandy081 I think using the unambiguous date format is a good way forward. However, we could do something where en-US is displayed one way and...well... everything else is displayed the other way... but I don't think that is 100% accurate.

@hickford can I work on this ?

is this issue closed? or still needs help?

Its still open and there is a PR which has to be reviewed.

@sandy081 Hello, is this issue still open? I am new to contributing to GitHub projects and this seems like a good first issue for me. Is there a way to claim this issue?
If I am able to work on this, do you have any advice for me in contributing for the first time?

@hannahcoles  Thanks for your interest. This is already being worked on. Please look for another good first and help wanted issues. Thanks/

I know people often scour these issues for something to work on.
While this comment is in the thread (not deleted), anyone can feel free to take this issue over.
cc @armgp @hannahcoles @cristianosuzuki77


feat: better support for versioning api's with fallback

requesting /api/xxxx now defaults to /api/v1/xxxx through the use of new library hapi-api-version

Nice.

Though... if I recall this plugin might have caused issues with hapi-swagger, which is broken now anyway so we'll have to test this again when hapi-swagger has updated to support joi 16.x


Pull in latest ecto, use hlcid, implement callbacks

This PR does a few things

Update all the dependencies to the latest
Implement the autogenerate and embed_as callbacks.
Change the dependency to use https://github.com/keathley/hlcid

Regarding 3, this was get something working for us at Simplebet, but I appreciate that HLClock and HLCID are two different projects, and thus maybe necessitate two separeate Ecto.Types. If thats the case, I'm happy to split out and add as an optional dependency

Unrelated but related https://github.com/keathley/hlcid/pull/15

I'm OK with relying on HLCID for this. I regret pushing to separate out HLClock and HLCID. It was a poor API decision. I've been thinking a bit about how to fix this stuff going forward but its low priority since there are a limited subset of users for this stuff. The pain isn't very wide spread. @NeilMenne might have a stronger opinion then me on the correct direction to go.

thus maybe necessitate two separate Ecto.Types

That shouldn't be necessary since HLClock is just the machinery now, and HLCID is a useful instantiation of that machinery. Ultimately, the Ecto.Type is the timestamps themselves, so there's just more than one way to initialize the server with the separation as it is.
I'm ok with it in theory, but I will have to investigate the effect of this on Maestro this weekend before I can approve. I've been meaning to dust that off and start to address the issues with it anyway, so now I will have to create an environment to do just that.

Hi @NeilMenne 👋 did you have a chance to look into this?

I am looking right now. Results incoming

{:ecto_hlclock, "~> 0.3"}

Thanks @NeilMenne !!!


Make the check work in all modes

High accuracy
GPS-only
Power-saving (network only)

thanks :)


Use tracing::Instrument in generated bindings to avoid holding spans across await points

This PR fixes #9210.
Previously, if we had a WIT file with a function
async-fn: func();

then the generated code in add_to_linker_get_host would look like this (if tracing is enabled and the function is async)
inst.func_wrap_async(
    "my-func",
    move |mut caller: wasmtime::StoreContextMut<'_, T>, (): ()| {
        wasmtime::component::__internal::Box::new(async move {
            let span = tracing::span!(
                tracing::Level::TRACE,
                "wit-bindgen import",
                module = "test",
                function = "my-func",
            );
            let _enter = span.enter();
            tracing::event!(tracing::Level::TRACE, "call");
            let host = &mut host_getter(caller.data_mut());
            let r = Host::my_func(host).await;
            tracing::event!(
                tracing::Level::TRACE,
                result = tracing::field::debug(&r),
                "return"
            );
            Ok(r)
        })
    },
)?;

This keeps the tracing span active, even when the resulting future is suspended. The end result is that other unrelated tokio tasks running on the same thread in the meantime will be shown as executing within the wit-bindgen import span.
This commit changes the codegen to instead generate
inst.func_wrap_async(
    "async-fn",
    move |mut caller: wasmtime::StoreContextMut<'_, T>, (): ()| {
        use tracing::Instrument;

        let span = tracing::span!(
            tracing::Level::TRACE,
            "wit-bindgen import",
            module = "test",
            function = "async-fn",
        );
        wasmtime::component::__internal::Box::new(
            async move {
                tracing::event!(tracing::Level::TRACE, "call");
                let host = &mut host_getter(caller.data_mut());
                let r = Host::async_fn(host).await;
                tracing::event!(
                    tracing::Level::TRACE,
                    result = tracing::field::debug(&r),
                    "return"
                );
                Ok(r)
            }
            .instrument(span),
        )
    },
)?;

Here, tracing::Instrument takes care of entering the span when the future is polled and exiting it when it is suspended.
I have also manually verified that the codegen for sync functions remains exactly the same.

The macos wasmtime CI job seems to be stalled when running cargo fetch? I'm not sure what's up with that.

Sometimes runners just flake, lets try it again


Update gfx942 BBS TN Equality yaml to fix disagg prefill regression

Local test passed.
[----------] Global test environment tear-down
[==========] 37294 tests from 13 test suites ran. (3207377 ms total)
[  PASSED  ] 37294 tests.
hipBLASLt version: 1000


fix: hyper-link ref-range error on filter

close https://github.com/dream-num/univer-pro/issues/2152

Pull Request Checklist

[ ] Related tickets or issues have been linked in the PR description (or missing issue).
[ ] Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
[ ] Unit tests have been added for the changes (if applicable).
[ ] Breaking changes have been documented (or no breaking changes introduced in this PR).

还是可以复现


#4155 Bridge breaks on "sh.keptn.event.evaluation.triggered" root event

Call hasFailedEvaluation() on root event to prevent endless loop of calling "isFailedEvaluation()"
Signed-off-by: ermin.muratovic<EMAIL_ADDRESS>

Isn't it just the same with a different name? :D

It is, but now it isn't an endless loop anymore because it calls isFailedEvaluation from Trace instead of Root


Fix loading indicators! 🕸

This PR removes the wrapping div that we used in conjunction with the Loader component almost everywhere. We don't need it because it adds extra margin where it shouldn't in 99% of the cases.
In the future, if we do decide to add margin or padding, we can do so in the Loader component itself and it'll just work everywhere :)

Great job! 💯 🎆

mesosphere-ci retest this please

Perfect! 💯  🚢  🇮🇹


[Relay] Function Copy

The Copy function generate new binding for all Var/TypeParam, so they can be combined and reused without worry of breaking uniqueness.
I will add some test once wellform is merged. (testing joining copyied term is ok)

Isn't this only useful if you want to create an exactly duplicate of the expression? For example if we write a transform pass its fine to re-bind a variable as long as its bound uniquely each time. It doesn't make sense to do renaming in that case.

I think this go with the transform pass - instead of rebinding the variable everytime we transform through the var, with this we can call Copy instead.
Also in inlining we need copy since we are duplicating.

Maybe we can wait until we have some concrete need of the deep copy transformation pass to introduce the rebinding of vars.
We also need to keep in mind that many of the things are already CSEed as they get constructed, and somehow we would like to keep that property.

Also the name Copy is a bit confusing, although it does copy but the primary thing is to regenerate the bindings.

should I close or just leave it as is?

If we don't plan to act on this for a while, maybe we could close it and reopen when we think it is close to a state to merge


Upgrade maven-gpg-plugin 3.2.3 -> 3.2.4

This PR contains the following updates:

Package
Type
Update
Change

maven-gpg-plugin
build
patch
3.2.3 -> 3.2.4

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade maven-gpg-plugin 3.2.3 -> 3.2.4

See:
- https://github.com/apache/maven-gpg-plugin/releases/tag/maven-gpg-plugin-3.2.4
- https://github.com/apache/maven-gpg-plugin/compare/maven-gpg-plugin-3.2.3...maven-gpg-plugin-3.2.4


Hyperparameters optimization

KRG(use_het_noise=False, eval_noise=True, hyper_opt="TNC") crash
The gradient-based optimizer was badly adapted to noise evaluation (homo or hetero scedastic)

@Paul-Saves, @anfelopera, Is it a general recommendation: prefer Cobyla optimizer when evaluating noise or should we warn or even prevent such options combination eval_noise=True and hyper_opt="TNC"?

I think that there is a problem in the code and it should not happen.
I am not using TNC and we do not test it for noise @anfelopera .
With the latest version of SMT, it just crash the code and give no error messages :(

Is there an error message or just a bad prediction? If the second, it's normal because we have not compute gradient w.r.t. the noise variance yet... I can code this gradient for the homoscedastic case but it has to wait a couple of weeks (a lot of duties right now). Is it ok for you? For the heteroscedastic case, we do not esimate the noise variance via maximum likelihood so it is not a problem if eval_noise=False and hyper_opt="TCN" (in theory). For instance, we can prevent TNC to consider eval_noise = True

@anfelopera No rush on my side. Suffice to know we will address the issue. I linked this to SMT 1.0 but in 1.0.1 it will be fine as well. :wink:

Closing


[Enhancement] Support for content providers or cloud

Is your feature request related to a problem? Please describe.
I want to fully switch to the cloud with client-side encryption done on my phone and a rented storage box. There are FOSS apps that do that (like Round Sync and DroidFS) but their built-in image/video views are not good and Nextcloud's performance is just bad on Android. So I have no good app to view those images and videos in a comfortable way.
Describe the solution you'd like
Both Round Sync, DroidFS, DAVx⁵ and Nextcloud can expose themselves as content providers which enables other apps to access their storage like internal storage. This does address issue #116 by streamlining the interaction with Nextcloud, as it can be done through the installed Nextcloud app itself. Ideally, this solution requires none to minimal adjustments per app, as long as they adhere to the Android API.
Another nice feature would be to distinct between local and cloud files. For example: The Nextcloud app syncs media to my server and removes the local file after it. The app could now show a cloud icon on the thumbnail and load it though the Nextcloud content provider. So you could parent an album to a content provider (e.g. local DCIM folder to Nextcloud/Camera) and compare files. Like Google Photos does.
Describe alternatives you've considered
I have no idea how good the performance would be and how much could be cached (like thumbnails). The alternative would be to implement rclone to enable extensive cloud fetching with client-side encryption, caching and huge protocol support or to simply support native protocols like WebDAV (big ask, I know).
Additional context
Content provider shown in the AOSP Files app:

Thank you for reading so far. I really hope this gets considered one day.
- Nicolas

Thanks for the feature request!
I would love to add this feature, I'll add it to the list, but patience is needed as right now I'm working on the next release with Photo Editor and lots of fixes.
But definitely will be done.

And about the complexity, it might add some, but it's mostly on the content parsing method and making it compatible with both Android MediaStore and external content providers

I experimented a bit with RSAF and got it working. I was able to mount a samba share and overlay a crypt layer on top of it. Now it would be great to be able to access these files with a good gallery app.

The external storage has some sort of directory structure, but Gallery can't display and navigate folders, only albums.

The first option is to let the user select a folder to "import" using the native file app. After allowing the Gallery app to view a folder from an external storage, we can recursively scan its contents for supported files. (preferred, maybe even with local index cache?)
The second option is the same as the first, but implementing the file picker part inside the app, but this would require full access to the file system. (I assume)
Finally, we could implement a folder structure within the app, but I think that would be overkill for the first iteration.

Where should external albums be displayed?

Along with the other local albums, but with a new icon to indicate that they are managed externally?
Or in the Library tab? (preferred)

Where should a button to add new external libraries be?

On the album page using a fab icon.
In the Library tab (preferred)

Should thumbnails persist on the device or are they only in-memory?
Limit the loading of some albums to a unmetered wifi connection or leave this to apps like RSAF? Because they will most likely be on a remote server.

There also may be some limitations compared to the local media store. I haven't looked at the codebase yet or tried to build it in Android Studio. I don't want to start with a flawed design. Any more thoughts?

@IacobIonut01 duplicate/similar of https://github.com/IacobIonut01/Gallery/issues/116 better to close one to avoid clutter ?

I would argue that this issue is different. I am referring to support for content providers while #116 is suggesting to support Nextcloud specificly via its API (my guess). This issue can solve #116 by using the content provider exposed by the Nextcloud app, but this approach has some limitations. My issue title is maybe a bit misleading...
tl;dr: This issue describes a more general method to support many cloud providers using a standard interface in Android, while #116 talks about specific support for Nextcloud by using its API. Both can be implemented independently.

I guess . I'm against introducing internet requiring functions in a gallery app in the first place . Hope fdroid gets a version without these features if the dev does decide to introduce it .

The neat thing about this approach is that the app itself does not need internet access and thus not the internet permission. The actual internet part is handled by the content provider app (e.g. Nextcloud, RSAF, etc.), while Gallery uses the local/internal Android API to communicate with the other app. In simple terms: A content provider exposes a filesystem that other apps can navigate.
So it will only be available if you decide to install such a provider and connect the Gallery app to it. And as far as I know, no other app currently supports this despite being really useful.


Remove version: taers232c.GAMADV-XTD3 version 6.67.14

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/taers232c/GAMADV-XTD3/releases/download/v6.67.14/gamadv-xtd3-6.67.14-windows-x86_64.msi
OK
(Automated message - build 910)


[Task]: fix git-import audit issues

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

[x] Change color for the sub line to the headline.
[ ] Icons scale to 24px with 32px circle (Cannot do this as this requires changes in all places, has to be separate from git feature)
[x] Move "Where would you like to import your application from?" 8px from the icon.
[ ] Low - Add Icons (separate thing)
[ ] Change the DB name. DB name on top and avenue at the bottom.

These issues on top of #10950

94ee724fba fix: do not use older modal
9126748f42 fix: use git import feature flag
b3d5185e2e fix: add a gap and update color


LimitExceededException: Subscriber limit exceeded: Only 10 tables can be created, updated, or deleted simultaneously

Issue with 10 or more tables to be updated. Tried to use something like mapLimit for
let capacityTasks = tableNames
      .map(async tableName => {

but i'm not familiar with the babeljs stuff.

Interesting, i didn't know this limit existed.  I'll patch this tonight.  Thanks for raising.

@tmitchel2 Great, looking forward to it. I will open up a pull request for fetching "all tables" as this has a limit too.

@tmitchel2 Any success in rate limiting this? Otherwise i just change it to all synchronous.

Yes I've done most of it, couldn't figure out quite why it wasn't working and at the end of the evening remembered I needed to make follow up calls to describe table to get the status.  I've split out all the table updates into a new rate limited section.  Unfortunately waiting for the table updates to complete will incur some additional runtime but the waiting only kicks in if you need to update more than ten tables.  I think all of that makes it the most optimal....   I should get it fully complete today

Sounds great. I don't see any way around the additional runtime either, otherwise you won't be able to rate limit it.

Ok this got a bit more involved than i had hoped!  Anyway, i think i have it working now and ive just checked it in.  I done some testing but please give is a good go to see if its working for you.  Please reopen straight away if there's an issue.

It runs successfully if i run it on my local but it doesn't seem to finish on time when running on Lambda.
{
    "errorMessage": "Connection timed out after 5000ms",
    "errorType": "TimeoutError",
    "stackTrace": [
        "ClientRequest.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/http/node.js:56:34)",
        "ClientRequest.g (events.js:260:16)",
        "emitNone (events.js:67:13)",
        "ClientRequest.emit (events.js:166:7)",
        "TLSSocket.emitTimeout (_http_client.js:533:10)",
        "TLSSocket.g (events.js:260:16)",
        "emitNone (events.js:67:13)",
        "TLSSocket.emit (events.js:166:7)",
        "TLSSocket.Socket._onTimeout (net.js:318:8)",
        "_runOnTimeout (timers.js:524:11)"
    ]
}```

Never mind, i had to increase the memory limit for the lambda function which resolved the issue. Work nicely now. Great job!


accessible colors

Resolves NJWE-1404
updated the colors in the intro blocks on the home page for better accessibility

@mflymfly


Expand isFlagArgument to Config Files

Feature Request
Feature Information:
Currently, isFlagArgument only applies to command line args. Some games would benefit from having the config file behave the same way. Unturned is a current example that some settings are on/off based on a single word showing in the config file, while others are the usual kvp. Link to config details
Bind <IP_ADDRESS>
Gold <-- This line
I confirm:

[x] that I have searched for an existing feature request matching the description.

This no longer applies with the addition of the template config merging.


More than two

added support for more than two locales.
added another script, removeEntitiesInProp, that will clean up .properties file with full UTF-8 Goodness.

Committed.


tests: more robust element json serialization/deserialization tests

Is your feature request related to a problem? Please describe.
Tests exists to ensure that, in pseudo-code:
output.json = elements_to_json(partition(raw_doc.<extension>))
partition(output.json) == partition(raw_doc.<extension>)

However, it is testing individual element objects, which themselves do not compare all metadata fields in the overloaded __eq__ operator.
Describe the solution you'd like
Rather than comparing the element objects, compare the serialized json strings of the LHS and RHS. Pretty much all the tests that need to be updated are in: https://github.com/Unstructured-IO/unstructured/pull/1187

Fixed in https://github.com/Unstructured-IO/unstructured/pull/1681

Merged on Oct 12, 2023.


[FIX] Error importing an EPUB file [mwb_T]

Hi @joaochris, thanks for reporting this. I hope it is solved now.

The same error still persists

Probably, you are still being served by some old results. Have you already tried closing the app (or the browser) and try again?

Yes!! The same error appears:

Mmh... so could you please check the Network tab in the Developer Tools, and filter it for Fetch/XHR only. There you should see 3 requests for docs-id. Could you please post here the result of these fetch?

Does not appear these requests only announcement-v2

Please try to import the source from jw.org first.

But this error appears when I try to import an EPUB file. Is the option to import from JW.Org related? 😅

lol... really sorry! I thought you are meaning the jw.org import. So is EPUB now available for your language? The code currently does not support importing EPUB for T language.

No, from JW.ORG it works perfectly 😁
EPUB files were discontinued in 2023 so from 2022 onwards they are available.
I need this function to populate all the previous years parts to create the assignment history.

Now I understand. 😁 I will look at it again.

Thanks!

Hi @joaochris, hope that it is good now 😊.


DLPModSub-chrisda to Main

Docs Build status updates of commit 953847e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-DlpComplianceRule.md
:white_check_mark:Succeeded
View (exchange-ps)

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


[Feature Request] Add an option in uglifyjs to enable excluding use of some variables when uglifying code

Is it possible to have an option that allows us to specify characters that we want the minifier to exclude from being used during minification. Something like excludeChars: ['$']
In my case, with minification, a function call is sometimes reduced to $(o), which is a macro for output path, and is thus misread by the interpreter.

@anubmat We use uglify-es package for uglification https://github.com/mishoo/UglifyJS2#minify-options.
Use reserved: ['$'] from https://github.com/mishoo/UglifyJS2/tree/harmony#mangle-options
[
  new UglifyJsPlugin({
    uglifyOptions: {
      mangle: {
       reserved: ['$']
      }
    }
  })
]

No, can't do.
reserved (default []) -- Pass an array of identifiers that should be excluded from mangling. Example: ["foo", "bar"].
I don't want to exclude $ from being mangled. I want to prevent it from being used for replacing variables/function names during mangling.
But sure, I'll open that issue against uglify-es


FCP and LCP extremely high in nuxt

Environment

Operating System: Windows_NT
Node Version:     v18.17.0
Nuxt Version:     3.11.1
CLI Version:      3.11.1
Nitro Version:    2.9.5
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools
Runtime Modules:  -
Build Modules:    -

Reproduction
An project with this in the app.vue:
<template>

hello world

</template>

Describe the bug
According to Google Lighthouse (And pagespeed.web.dev on production for a real site) the LCP and FCP are extremely high. After a few hours of debugging I decided to whip up an empty project and test it out there.
I noticed on mobile/desktop de FCP and LCP are both 1.5 seconds. Which is extremely high considering it's almost nothing being shown.

Yes they are green, but almost no margin for error, and the time is drastically increased with dynamic content. The API we wrote responds within 10ms with the data it should display.
Are there any known issues/fixes for this?
Kind regards
Additional context
No response
Logs
No response

This can have lots of reasons which are often not related to Nuxt. Feel free to provide an example, as well as lighthouse reports (e.g. as JSON) showing the problem. Also don't test the dev mode but the production build.

Hi!
No problem, here is the JSON export of lighthouse run in Incognito without extensions enable: https://gist.github.com/InstantlyMoist/0abe6a57cac81142bb349e040f1745ee
Here is a screenshot of the network tab

Here is the minimum reproduction: https://github.com/InstantlyMoist/nuxt-26566
Seeing as it's really just a plain HTML page with one  element, it leads me to believe it might be something in the hydratation.
The lighthouse and network report are from a production build, created by 'nuxi build' and 'node .output/server/index.mjs'

So I deployed two different sites to test:
A fork of your repro: https://nuxt-26566.pages.dev/
and a literal static html site: https://pagespeed-4qv.pages.dev/
Lighthouse shows me a LCP of 0.8 for the nuxt app: trace
as well as a LCP of 0.8 for the static single html page: trace

Oh well you're right in that case, then it's just an issue on my machine.
What I do however notice is the unused javascript. Is this something fixable within Nuxt? Getting somewhat similair results on the production website and at this point I'm not sure what could be causing that

Unused JS is a hard to evaluate and calculate metric as lighthouse won't know what you'll use after the page is loaded. There's plenty of reading material on the topic out there that I recommend reading through.
You're using a vue app so you'll need to ship the js for that in a minimal project.
Nuxt offers solutions for lazy loading components that you can check out.
There's also the option to not ship any JS if you don't have the need for it: https://nuxt.com/docs/api/nuxt-config#noscripts


difference between applying this plugin vs minify on android apps?

can anyone explain briefly what are the differences between applying this plugin vs minify on android apps?
thanks!

@ethanonfire When you create an APK, the code is stored in "dex" format, which can be reverse-engineered using tools like jadx. While the minified code is hard to read, it is not impossible to decipher. If your code contains secrets (e.g., passwords, tokens) as strings, these can be extracted from the APK.
Consider you need to access the OpenWeather API using an API key. Without a backend, the only place to store the token is in your app. As a skilled developer, you know storing the API key in your repository is bad practice. Instead, you use local.properties and read the key with Gradle to save it as BuildConfig.API_KEY in your app. However, if the APK is decompiled, BuildConfig.API_KEY will appear as a constant, with your API key stored as a plain string.
This is before using the hidden-secrets-gradle-plugin. After correctly implementing this plugin, your API key will be buried deeper within your application. It will still be retrievable, but it will require more skill from the hacker. A skilled hacker might not be interested in hacking a simple weather application.
This is one of many ways to secure your app and might be the only justifiable method if your app is the sole place to store your secret (e.g., if you don't use a backend or don't use Firebase).


Can not turn off paging

Paging appears to be set even when using pageable="false" on the  element.  However this is a string yet the code in grid.js assumes a Boolean.  Such that
if (this.pageable && !this.serverPaging) tempData = this.applyPage(tempData);
will evalulate to true along with the if.bind statement if you specify the pageable parameter.  You need to either convert the pageable to be string based or use a different parameter for input vs. bind - see my image below of my app (I am using my own paging toolbar to control content which is why I want it off)

With pageable="false" in the HTML with your grid (this is a different mode where I was hoping to show the grid)

I believe that if you make it pagable.bind="false" it works correctly (but it might legitimately be a bug!)
I recall Rob Eisenberg or someone in the gitter chan mentioned something about strong type support for @bindables - I was hoping that would take care of this particular issue as if you don't use .bind the true/false value is interpreted as a string
Not heard anything since though so I may have to address this as you've suggested


Seg. fault if processing is continued without backward init.

Hi!
If I start Maja including the backward initialization it works fine. If the processing is continued it crashes.
I think the reason is that L2type is overwritten when parsing the existing files, i.e. not specified for the processing later on.
line 382: L2type = Non
should be moved before the loop (e.g. to line 372)
Right?
The original Maja output:
python ./start_maja.py -f folders.txt -c GIPP -t 33UWP -s 33UWP -d 20180701 -e 20180707 --debug -v
2019-04-04 10:11:53,536 - Start-Maja - INFO - repCAMS is missing from configuration file. Needed : repCode, repWork, repL1, repL2, repMaja
2019-04-04 10:11:53,536 - Start-Maja - INFO - Processing without CAMS
2019-04-04 10:11:53,560 - Start-Maja - INFO - Most recent processed date : 20180705
2019-04-04 10:11:53,560 - Start-Maja - INFO - => processing date 20180707
Traceback (most recent call last):
File "./start_maja.py", line 637, in
start_maja(folder_file, context, site, tile, orbit, nb_backward, options, debug_mode)
File "./start_maja.py", line 482, in start_maja
logger.info("MAJA command failed : %s", commande)
UnboundLocalError: local variable 'commande' referenced before assignment

Thanks for the hint, works much better like that.
Olivier


Disabled time inputs on Firefox with Modals

This is happening on the latest version of OSX and Windows 7. Bug seems specific to Firefox 66.0.3 on both platforms. This is with Bootstrap 4.3.1.
With a modal and an input with type time, the input will become unusable if the modal is hidden while the input is disabled. Once the modal is shown again, that is when the input is unusable. Other inputs are not affected (haven't tested date).

Bug reports must include a live demo of the problem. Per our contributing guidelines, please create a reduced test case via CodePen/JS Bin or Stackblitz and report back with your link, Bootstrap version, and specific browser and OS details.
This is an automated reply

Closing due to lack of response. You can comment here and we can re-open the issue.
This is an automated reply


Build number change

We would need to change the build number from 2.0.7 to 2.0.70(as 2.0.7 < 2.0.66) to maintain semver standards and for the appropriate execution of upgrade scripts.

Done? @cakesoft-shashank

Verified this issue on dev app v2.0.70(431)


Unique user-added node IDs

There are some times when a user might want to add a new node for a specific location, and others when functions must add new nodes (most notably cropMap!, but maybe others, too). I originally implemented the function to handle this, addNewNode(location), to just count up from 1 until it finds an available node ID. This is obviously inefficient, but I've just never really cared that much. But another problem arises if you try to combine maps - every cropped map has a node "1." Is there an easier way to have unique node IDs?
One thought I had was to do something like hash((location.east,location.north)). I'm not sure whether we'd need to use the second term or not. The only issue I can think of is that if you want to interact with these IDs by name, they are many digits and harder to keep track of mentally.

Hm I think here's where you'd want to tread carefully, because it'll be nice to eventually be able to re-export the nodes/maps/etc back to osm or shapefiles, and we'd want to be able to (i) distinguish between user-added IDs, and original OSM IDs, and (ii) decide what to do about user-added information when re-exporting.
One way out (which seems reasonable), is to maintain our own set of IDs (which is why I'm still unsettled about https://github.com/tedsteiner/OpenStreetMap.jl/pull/58), running from 1 to N (where N = # of nodes). That way it is easy to add nodes (just push! to the existing list of nodes), and to query whether it was an original OSM node (just check whether there is a corresponding index in the ID->OSM vector).
I'm not sure how cropMap! and everything else works though. It might help to have a coherent approach to it -- e.g. think of it as having a dataframe of nodes (with OSM IDs as one of the columns, and maybe lat/lon as separate columns), where we're simply adding new nodes/records, with missing entries for the OSM IDs. Then cropMap etc are just filters on this dataframe.

So, you probably won't like how things work currently, then. Any time a node is added, anywhere in the package, it is done by calling the addNewNode(nodes::Dict,loc::ENU) function. This function finds an open ID in nodes, puts loc there, and returns the new ID. The implementation inside is that it starts at ID 1 and counts up until it finds an opening. Simple, inefficient, but it's always worked fine.
Functions cropMap!() and interpolateRoute() need to add new nodes, so they do this by internally calling addNewNode() as needed. I'm not sure how much cropMap! is really affected by the inefficiency of adding a bunch of nodes, since it's just highways along the map edges, but I've noticed major slowdowns from interpolateRoute(), but this is only when I'm doing like 50, 50+ km routes, interpolating every 10 meters. Honestly, it hasn't really bothered me because the stuff I go on to use the route for takes a couple minutes, so this is far from my personal bottleneck.
I have changed addNewNode() on my local copy to take an optional argument start_value, which I default to hash(loc). I don't really understand hashing immutable types, but it seems to be consistent, not that it really matters. This gives a unique starting point for addNewNode, and it begins iterating up from there rather than from 1. This is much faster, and a little more unique, but the new IDs are long. It also won't change anyone's functionality, and if they set start_value=1, they get an identical result. Now we don't have the problem of every cropped map having nodes 1-50 in them.
I hear you on this idea about maintaining our own set of IDs. I don't think it's critical, since anyone who really cares can still re-load their original OSM data and check which nodes didn't exist in the original. But tracking it might be more convenient. Currently cropMap!() doesn't return anything. If it returned a list of new IDs added, as something optional you could hold on to, would that solve the problem? Then, if the user desires, they can keep their own list of non-original node IDs, and if we ever add some sort of map-merging feature, we can take in that list of non-OSM nodes and change those IDs if there are any conflicts.

Mmm, I can see what you're saying, and I'm not as vexed about it as you might imagine -- feel free to continue adding functionality (and tests) if it helps with your work!
I'm just wondering longer-term about the way we'll want to deal with everything (by looking at the way things are done in Python/R), and offload as much of the data-mungling to DataFrames as possible. I'll roll up my sleeves one of these days to get them done, but school and research has caught up to me, so it'll take awhile.

Experimenting with using our own 1-N node indices to try using different graph types sounds interesting.
Ideas you've mentioned elsewhere about bringing in DataFrames to to simplify data analysis sound great, but it would be an extremely heavy dependency for this use case (even if DataFrames development was much farther along).

Oh we don't have to bring in DataFrames anytime soon, haha, just suggesting it as a way of thinking about the way we organize the indices/data in OSM internally, so that

we have coherent ways of resolving issues (such as these) as and when they arise, and
it might make the conversion to anything else (in the future) easier

Although they are heavy dependencies, the introduction of DataFrames really shouldn't only be for this particular usecase, and should be part of a more general pattern of working with data, based on the lessons picked up from the GIS community in Python. In particular, I quote from the UrbanSim repo:

We lean heavily on the PyData community to make our work easier - Pandas, IPython, and statsmodels are ubiquitous in this work. These Python libraries essentially replace the UrbanSim Dataset class, tools to read and write from other storage, and some of the statistical estimation previously implemented by UrbanSim.
This makes our task easier as we can focus on urban modeling and leave the infrastructure to the wider Python community. The Pandas library is the core of the new UrbanSim, which is an extremely popular data manipulation library with a large community providing support and a very helpful book.

Longer term, I'm thinking of OpenStreetMap not as a standalone package, but as a package for modeling and handling OSM data, as part of a larger processing pipeline for working with geospatial data in Julia:

organizing data and querying through DataFrames/Graphs (see DataFramesMeta),
performing geospatial operations through engines like LibGEOS or Turf,
importing/exporting geospatial data from/to Shapefile/GeoJSON (see DataFramesIO),
composing and drawing maps through Winston or Compose (see "Working with Geographical Data [in Julia]")

It doesn't require over-engineering on the part of any individual package, just that we start thinking a little harder about the interoperability of julia packages -- and I think we really aren't too far away from performing operations that were traditionally only possible with a RDBMS setup.

I like what you're saying about the ecosystem. Still not sold on using DataFrames for this even once we're using it elsewhere (even though as one of the DataFrames developers, I'd like to see them used all over ;)). I've got some more general ecosystem questions I'd like to hear your vision on. I'll open an issue in Turf.

I went ahead an committed the change I mentioned earlier. It's pretty minor in the grand scheme of things, but I think it's better than what I had before.
And of course, I just noticed I forgot to actually rename the function...

So I just noticed this, and I thought it was kind of interesting. The update I made led to 1 fewer line being covered by testing, according to Coveralls. When I looked into it, this was because addNewNode!() never needed to search for a different available node from the initial guess value. So that should be a big speedup!
Also, to clarify one of my earlier comments, there is no function interpolateRoute() in this package. That's in my own code, it didn't seem relevant enough to add it to the package. addNewNode!() is only used by two functions in OpenStreetMap.jl: cropMap! and findIntersectionClusters().
I also had to remove a couple pieces from the tests, where we were testing to see that specific added nodes had specific IDs (due to cropping). I don't think this is something we want to enforce or depend on, so I just removed them. It also seems to have disrupted some of the edge IDs in Network, so I commented out those couple lines of tests, as well. We should make sure function getEdges() works, but we shouldn't have anything actually dependent on specific IDs, so I think that test was also too specific.
These node IDs aren't guaranteed to be truly unique. I thought of maybe hashing the LatLonAlt position as another option to make them truly unique. But I think it solves the problem much better than the previous version, so I'm going to close this. If we ever need truly unique IDs we can open a new issue. The big downside there is that we then have to convert all OSM ids and maintain a mapping between the two.
I agree that the DataFrames do sound like an interesting option further down the line. Unfortunately I don't really have much to add to @yeesian's comments, as I don't have any experience with formal databases, but I'm open to learning more about them.

Just a little sneak peek at what might possible: I think if we can move towards modelling geometries, e.g.

buildings.nodes -> polygon
highways.nodes -> linestring
routes -> linestring

there are functions in Turf (known as along) that allows you to interpolate within routes, among many other goodies. I have a preliminary port of the library here, but am catching up on research and classes in the meantime


Fix incorrect parsing of intersecting * and ~

The old implementation was incorrectly parsing sequences of intersecting * and ~ resulting in broken tree (#98 and IDEA-280541). The problem was that both EmphStrongParser and StrikeThroughParser were not aware of each other, and it was impossible to determine whether there is an unbalanced delimiter that should break a current element.
The new implementation runs in three passes (should be still linear, since it is based on cmark and markdown-it implementations and using the same search optimizations):

Collecting all possible delimiters
Finding matching closing delimiters for each opening one
Actually creating tree nodes based on matched delimiters

This fixes parsing of sequences with intersecting */~ and some corner cases that were previously parsed incorrectly. Changed test were checked with CommonMark dingus and GitHub markdown editor.
I suggest not to open new .md test files in IDEA, since it currently breaks indices and the whole IDE.

Also, have you made any measurements on performance changes?

Included performanceTest gradle task reports quite similar results with/without my changes (fastest old/slowest new based on few runs):
gitBook: 10.241056ms/10.452499ms
commonMarkSpec: 19.176091ms/19.218096ms
gitBook: 2.946399ms/2.958774ms
fogChangelog: 13.156232ms/13.433774ms
commonMarkSpec: 41.615804ms/41.167164ms

Although, I think new implemntation should be generally slower (not drastically) due to additional steps and allocations.
As for @ignored tests, I need to check them - I had no idea about them.
Not sure why macos build is broken, but it seems to be some issue with kotlin or configuration.

@valich Is it possible to release new version with those changes so we can use it in IDEA?

Yes, I'll do this soon.

Thank you!

Available in 0.3.0


Error on installation

Getting an error when trying to install using the manifest link.
"Unexpected token < in JSON at position 5"

Fixed README to use the right URL


TypeScript Recognizers

Typescript implementation of Text Recognizers with

Numbers
Numbers with Units
DateTime

Including English Extractors/Parsers configuration and tests

@enzocanoo,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@enzocanoo, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, Microsoft Pull Request Bot


User can log in

As a UNDP agency user
I want to log in
So that I can manage my agency's data

This issue was moved to dumparkltd/hr-nmrf-client#1


Update generator to avoid requiring the rails-controller-testing gem

Controller specs produced by the generator use assigns and assert_template, which were "deprecated" in Rails 5 (extracted to the rails-controller-testing gem).
The RSpec 3.5 release notes say:

For new Rails apps: we don't recommend adding the rails-controller-testing gem to your application. The official recommendation of the Rails team and the RSpec core team is to write request specs instead. Request specs allow you to focus on a single controller action, but unlike controller tests involve the router, the middleware stack, and both rack requests and responses. This adds realism to the test that you are writing, and helps avoid many of the issues that are common in controller specs. In Rails 5, request specs are significantly faster than either request or controller specs were in rails 4, thanks to the work by Eileen Uchitelle1 of the Rails Committer Team.

Maybe instead of generating controller specs, the generators could produce request specs.

We  now generate request specs by default.


Add a operation completed checkbox to the operation site

Add the ability to mark the operation as completed. This is useful if the pilot has to make sure, that the rescued animals are set free again.

Resolved with 748b81823528847653bc8c7380845b63b877adeb


UI for data upload

A proof of concept, with a little styling. Still needs:

[ ] File validation
[ ] Documentation

Follow-up issues:

[ ] Set data source type, e.g. forecaster or scheduler (users can be linked to multiple data sources, to discuss)
[ ] Select data source (possible admin feature, to attribute the data to a specific data source)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

13 of 20 (65.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 65.014%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

flexmeasures/api/v3_0/sensors.py
8
15
53.33%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
6697

Relevant Lines:
9657

💛  - Coveralls


Add support for other database options

We can't actually install a different database engine (e.g. Postgres instead of MySQL) because that option is only available at server creation, but we could allow skipping creation of a database or using SQLite.

skipping database creation would be awesome. Also, an example in the README for how to supply custom db info via environment would be nice. Happy to help however I can

By 'custom' do you mean like a hosted one somewhere? You can put any environment variables you want in environment, including DB_HOST, DB_DATABASE, DB_PORT, etc.


Midikit bug fixes and automatic build feature

Midikit bug fixes and automatic build feature

Bug Fix in integration.c  a280ab4b5f6a134031c7c129af3c9af6e4574d70
Feature for automatic build using travis.yml  dc3b97df531e59c0226cb2709113fd6f60bfa281

Hi reviewers and maintainers, kindly review this patch and let me know in case of any issues or suggestion.

Thanks! :+1:
I also added make test to the travis script. :)


[css][html] Publish language servers modules on npm

We'd like to reuse more easily language servers from VSCode (HTML, CSS, JSon...), On npm.js we can see the related "languageservice" which provide some part of the logic, but those don't talk LSP.
Could the language server modules be published on npm.js for easier reuse? Or merged with the languageservice modules directly?

We publish the JSON language server as https://www.npmjs.com/package/vscode-json-languageserver.
Doing the same for CSS and HTML is in the backlog, but there's not been much (or any except of this request) demand for it.
The alternative is to take it form the sources or from a VSCode build.

Just did:
npm install vscode-json-languageserver
./node_modules/vscode-json-languageserver/bin/vscode-json-languageserver
and it failed with :
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '../out/jsonServerMain'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/akurtakov/tmp/vscode-json-languageserver/node_modules/vscode-json-languageserver/bin/vscode-json-languageserver:6:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)

Sorry for that, published again (v1.2.1)

We publish the JSON language server as https://www.npmjs.com/package/vscode-json-languageserver.

Thanks for that, I wasn't aware of it!

The alternative is to take it form the sources or from a VSCode build.

We basically already do it, but it makes maintenance harder overall (build script is harder, potential versioning issues...)

Hi @aeschli ,
May I request the language servers as @mickaelistria asked. If there is no much interest, at least instructions on how to build it yourself independent of VSCode will suffice. Then we the community will publish it to npm as part of contribution and maintain an updated package.
I can take on it if you can guide me how to do it (never have before published anything to NPM though I use a lot of packages from there)

@mickaelistria can you post the procedures to publish the servers? I can take on myself to update them with every new VSCode version!

We use this: https://github.com/eclipse/wildwebdeveloper/tree/master/org.eclipse.wildwebdeveloper/language-servers (and the relative path point to a local copy of VSCode) and then npm install

(and the relative path point to a local copy of VSCode)
can you explain this one?
I downloaded the packages.json and run npm install and I got errors. I understand what errors complain but I don't know how to fix it, sing it is clear I did it wrong. But dunno how to get it right!

I have node installed so I don't understand why all those archives in packages.json
$ npm install
npm ERR! path /Users/hosanna/Projects/Demo/LangServerProtocol/Packaged/node-debug2-1.25.5.tgz
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall stat
npm ERR! enoent ENOENT: no such file or directory, stat '/Users/me/LangServerProtocol/Packaged/node-debug2-1.25.5.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR!      /Users/me/.npm/_logs/2019-07-30T10_43_41_492Z-debug.log

In fact we build our packaging in several steps.

First we download a vscode tar.gz archive.
Then we pack each needed server via npm pack.
Finally we install dependencies.

All steps are managed by our pom.xml.
Please have a look herehttps://github.com/eclipse/wildwebdeveloper/blob/master/org.eclipse.wildwebdeveloper/pom.xml

Thanks for the info. It's long since I messed up with Java build scripts. I guess I will have to write bash or python scripts to automate the build if I will be able to do that

Downloaded the repo and run mvn package and it ended in errors. My plan was to compile it  get the LS build for me. I tried to search build instructions but no one was found. Can you publish it to npm at least for major releases of VSCode?


Generating Authorization Header for Digest Authentication using postman

#Hello Team,
I'm using digest authentication for my project. I add the required parameters in the field. Refer below screenshot

But when i check the header section the Authorization key is added automatically. Refer screenshot

I want to know how do you generate the response string highlighted, by taking all the parameters username, realm and password or only password
Also I need to know if you convert the string to MD5 or any other format.
We need to know what actions are performed on Update Request so that we could replicate the response string generated for iOS and android app.
Waiting for your reply,
Thanks.

Hello All,
I need to know which encryption method you use to generate the response string, so that we can replicate it in iOS and Android apps, so that we get the same string on postman and app.
Waiting for your reply,
Thanks.

Also i wished to know how do you combine the all the parameters username, realm and password to generate the MD5 string.
Thanks.

Hello Team,
Any updates on how to achieve the above?


[QUESTION]

Hello MrPig,
Thanks for the Videos on YouTube, really help me out!
Also i could see that PowerShell is similar to my Ubuntu lesions back to school..
My Doubt is:
Is there any association with my Wallet/keys of my Farming machine if i install you Module?
Or lets say it frankly could there be a backdoor to look in to my Chia Wallet/Plots?
Thanks!

If you are using online code, there is always risk since the person writing the code could add something that makes that code malicious. However, you can read all the code here, so you can feel confident in what you are running on your computer.


Unclear generator error message

multiple target patterns.  Stop. like how would I know what is being duplicated

Agreed. That error message should be enhanced to output the rules that trigger the error.


Add the Manga File Importer

Add availability for users to Upload Manga Files like http://manga.Madokami.com

It seems that I can't try to upload to that site. Can you try and explain it to me instead?


Certain items cause a litany of socket.io errors

What is it about http://soundcloud.com/miguelmigs1/sets/miguel-migs-the-melody-salted-music that causes socket.io to freak out?
You get lots of these messages:
GET http://www.tandem.io/rooms/undefined?consumer_key=db49d667c4efac7121e54d5b6d52b10f 500 (Internal Server Error)

Which makes it seem like the room id used in the socket.io connection is getting... deleted somehow. Room still works afterward somehow.

Looks like there's no media coming from SoundCloud:
media_url: "undefined?consumer_key=a1fb5a1ac98cacd4ccf4028d51b8961e"

It's a Soundcloud set.
http://soundcloud.com/miguelmigs1/sets/miguel-migs-the-melody-salted-music

https://github.com/Fauntleroy/tandem.io/issues/82


New release

cc @therealprof
I think it is time for new release.

I haven't checked the impact of the changes yet. Except for the unsafe fix, what do you figure is important enough to warrant a new release? And do you mean before or after #364 (which lacks the CHANGELOG entry, BTW).

I think it's better to have release before 364.
That PR is serious change and we can miss a lot of bugs.

Works for me. Would you mind re-checking all details (like CHANGELOG entries) and create a PR?

15.3 or 16.0?

The -g flag is a breaking change, right?

Ah, I see, the default hasn't changed. But curiously the -g flag is not mentioned in the CHANGELOG. 😅

Still the new methods in the generated code probably warrant a minor bump.

Still the new methods in the generated code probably warrant a minor bump.

Yes, -g is needed to simplify the change-over.

But curiously the -g flag is not mentioned in the CHANGELOG. sweat_smile

I remember.

The -g flag is a breaking change, right?

By itself, no. You can to not use it and you'll not see changes.


Simple Get example

I'm having a difficult time understanding how to use module given the readme's example.
Assuming I have the following keys:
/MY_APP/RDS/USERNAME
/MY_APP/RDS/PASSWORD
How would I retrieve those for use within a Lambda function. The best I can grok from the examples is as follows - where PARAMETER_STORE_CONFIG_PATH is /MY_APP/:
data = {
    'db_username': os.environ['PARAMETER_STORE_CONFIG_PATH'] + 'RDS/USERNAME',
    'db_password': os.environ['PARAMETER_STORE_CONFIG_PATH'] + 'RDS/PASSWORD'
}

store = EC2ParameterStore()
parameters = interpolate_dict(data, store)

db_username = parameters['db_username']
db_password = parameters['db_password']

The code does not error but I certainly do not get anything I expect.
Thanks

@mattcanty
(I didn't write this module, but use it daily)
The values between the double-curlies are expanded.  In other words, for all values in the data-dict, the string between the curlies are looked up in the parameterstore as-is, albeit stripped,
so your data dict should probably look like:
data = {     'db_username': '{{ MY_APP/RDS/USERNAME }}',     'db_password': '{{ MY_APP/RDS/PASSWORD }}', }
You should probably get away with string-interpolation in the template fragments.
regards,
Paul.

Thanks @pjstevns, have it working like this:
data = {
    'db_username': '{{ /MY_APP/RDS/USERNAME }}',
    'db_password': '{{ /MY_APP/RDS/PASSWORD }}'
}

store = EC2ParameterStore()
parameters = interpolate_dict(data, store)

db_username = parameters['db_username']
db_password = parameters['db_password']


New ControlNet preprocessors do not appear

ControlNet added some new preprocessors like "binary" that are not visible in the PS plugin even though it shows in the webui.

@cpiscos thanks for pointing that out - the preprocesses list seems to be hardcoded in the ControlNet extension without an easy way to access it. I'll add a way to fix that in on upcoming patch.

Hi,
I am new to open source
Can I try to resolve this ?

@cpiscos This issue has been fixed as of version v1.2.2
@hjdskhooba my apologies - I didn't see your message. Had I, I would have replied much earlier.

@AbdullahAlfaraj No problem, I'll try to work with other issue


Reduce checks by implementing before_filter

at app/controllers/admin/visualizations_controller.rb:
many code and repetitions of:
@visualization, @table = resolve_visualization_and_table(request)
return(pretty_404) unless @visualization and @visualization.password_protected? and @visualization.has_password?
return(pretty_404) if disallowed_type?(@visualization)

Should be extracted to a before_filter method to make controllers smaller too

Done at #3222


Discussion: Milestone 16-04 (open for 1 week)

Milestone 160-4 has been updated with issues to address and a target date of 30th November. There's a few issues available to self-assign if you are interested, or if there's any other issues you want to discuss or attach please do so.
My intention is to focus on the .NET Framework detection so that test can be re-added, which I think is key to the usefulness of this tool.
Discussion open for 1 week until 28th October, then we should move forward with the items that are attached and assigned.

Milestone issues are locked. Closing this discussion.