Peers are reported as "modified" when fetching repeatedly

On one of my networks, if I issue fetch commands to the server one after the other, I will get the same set of peers reported as "modified".
Example output (with names changed to generic names):
[brian@machine ~]$ sudo innernet fetch NETWORK_NAME
[sudo] password for brian:
[*] fetching state for NETWORK_NAME from server...
[*]   peer peer_1 (KEY_1...) was modified.
[*]   peer peer_2 (KEY_2...) was modified.
[*]   peer peer_3 (KEY_3...) was modified.
[*]   peer peer_4 (KEY_4...) was modified.
[*]   peer peer_5 (KEY_5...) was modified.
[*]   peer peer_6 (KEY_6...) was modified.
[*]   peer peer_7 (KEY_7...) was modified.
[*] updating /etc/hosts with the latest peers.

[*] updated interface NETWORK_NAME

[*] reporting 2 interface addresses as NAT traversal candidates
[*] Attempting to establish connection with 7 remaining unconnected peers...
[brian@machine ~]$ sudo innernet fetch NETWORK_NAME
[*] fetching state for NETWORK_NAME from server...
[*]   peer peer_1 (KEY_1...) was modified.
[*]   peer peer_2 (KEY_2...) was modified.
[*]   peer peer_3 (KEY_3...) was modified.
[*]   peer peer_4 (KEY_4...) was modified.
[*]   peer peer_5 (KEY_5...) was modified.
[*]   peer peer_6 (KEY_6...) was modified.
[*]   peer peer_7 (KEY_7...) was modified.
[*] updating /etc/hosts with the latest peers.

[*] updated interface NETWORK_NAME

[*] reporting 2 interface addresses as NAT traversal candidates
[*] Attempting to establish connection with 7 remaining unconnected peers...
[brian@machine ~]$ sudo innernet fetch NETWORK_NAME
[*] fetching state for NETWORK_NAME from server...
[*]   peer peer_1 (KEY_1...) was modified.
[*]   peer peer_2 (KEY_2...) was modified.
[*]   peer peer_3 (KEY_3...) was modified.
[*]   peer peer_4 (KEY_4...) was modified.
[*]   peer peer_5 (KEY_5...) was modified.
[*]   peer peer_6 (KEY_6...) was modified.
[*]   peer peer_7 (KEY_7...) was modified.
[*] updating /etc/hosts with the latest peers.

[*] updated interface NETWORK_NAME

[*] reporting 2 interface addresses as NAT traversal candidates
[*] Attempting to establish connection with 7 remaining unconnected peers...

These 3 fetches were issued one after the other, so it is very unlikely the exact same set of peers happened to change in between fetches.

After some println debugging, I see these modifications are triggered by a change in the endpoint address.
My guess is my machine has an incorrect/inaccessible endpoint for each of those 7 peers, and the server update contains new endpoints which are also inaccessible.
Even though the new endpoints are inaccessible, we should still update our local data to point to those new endpoints to reduce further churn on the output for the fetch command.

Yeah this has been long bothering me too. I think this is caused by peers that are offline but have multiple NAT addresses still reported. But let me check your PR.


Windows compatibility

Currently ippper's SimpleIppService is not compatible with Windows.

Here are two ipp-client impls on Windows:

Select a shared printer by name
Add a printer using TCP/IP address or hostname (seemingly added on newer Windows)

The first one require IPP v1.0 compatibility, this is fixed in @50e0f92653b00d80d2252e5fedc312ae4f7af7bd.
But it seems hard to use pdf descriptor in this model.

The second ipp impl have these requirements for identity:

ipp v2.0 support
printer-uuid attr

and these requirements for printing properly:

media-related attr (media-default & media-supported)

Note that you should use url like http://<IP_ADDRESS>:631/ instead of <IP_ADDRESS>:631 even though it is tipped that you input the ip or hostname.

fixed in v0.2.0


Unknown error when creating DiaglogFlow agent

Ater clicking 'create' as part of step 'Create a Dialogflow agent' on page: https://codelabs.developers.google.com/codelabs/actions-1/index.html#2 an error was displayed:
"Unknown error errorid=14f81937-afdf-472a-9bf8-d0e0f8d163a9"
It appears as if everything is working though.

Is anyone having this error???

Same
Unknown error errorid=79b15066-d937-4edd-b589-64847d6ba08c

Tried logging out and starting fresh:
Unknown error errorid=b0353905-b59d-4a5c-b17c-ac2d9fc4e23a

We're aware of an issue affecting project creation. Please see status.cloud.google.com

I'm getting this error whenever I try to upload a json intent: Unknown error errorid=8d5fabcb-3115-4d3f-af58-a66933dfee11

I am getting error as "Unknown error errorid=43c7c230-8ce4-4c75-bfa1-6a6b28bf5efe"

The original project creation bug has been resolved.

im having the same issue

I'm having this issue as well

I have fixed this issue! The problem was the intent which I have downloaded was follow-up intent and by default when we select upload intent it upload as a single intent which conflicts.

I'm having the same erro when I try to create the agent, is this your case?

I am also having the same error

@adriancc57 : is this fixed for you?
I am having that issue while creating a new agent

I'm also having the same issue by creating a new agent from an existing project:
Unknown error errorid=c7febd8c-e7a8-424e-aaed-3a2611ef007f

@vineetfrequent  nope, I'm still facing the issue, not sure why it's happening, but I'm exploring other option like this app
https://play.google.com/store/apps/details?id=tkstudio.autoresponderforwa&hl=en

In my case, I've created a new project from GCP after that a new agent based on that recently created project. It works!


Target groups not deleted when load balancer is deleted

If I remove an ingress from my cluster, it appears that the ALB controller deletes the ALB listeners, and the ALB itself. However, it never tries to delete the target groups.
Is this expected behavior, or should the controller be deleting the target groups as well?  If not, why?
Example logs from removing an ingress:
I1016 18:50:42.441912       1 lb_attachment.go:49] qa/cloudfront-merged: modify securityGroup on LoadBalancer arn:aws:elasticloadbalancing:us-west-2:<redacted> to be [sg-<redacted>]
I1016 18:50:42.637179       1 listener_group.go:85] qa/cloudfront-merged: deleting listener 443, arn: arn:aws:elasticloadbalancing:us-west-2:<redacted>
I1016 18:50:42.706573       1 loadbalancer.go:150] qa/cloudfront-merged: deleting LoadBalancer arn:aws:elasticloadbalancing:us-west-2:<redacted>

Note there's no errors or any messages indicating that it even considered removing the target groups.  I had to remove them by hand through the AWS console.

I cannot confirm that behavior, just tested it and everything got deleted properly, including target groups 👍🏻
I1017 22:00:41.848203       1 targetgroup_group.go:93] demo/ingress: deleting target group arn:aws:elasticloadbalancing:eu-west-1:XXXXXXXXXXXX:targetgroup/408547c3-1d0dae14bb3ca6663fd/204a09b721de4ad9
I1017 22:00:41.848434       1 api.go:1053] Request: elasticloadbalancing/DeleteTargetGroup, Payload: {  TargetGroupArn: "arn:aws:elasticloadbalancing:eu-west-1:XXXXXXXXXXXX:targetgroup:targetgroup/408547c3-1d0dae14bb3ca6663fd/204a09b721de4ad9"}
I1017 22:00:41.881124       1 api.go:1053] Response: elasticloadbalancing/DeleteTargetGroup, Body: {}

On v. 1.1.3

We're running v1.1.3.  I did some further testing, and figured out how to cause the issue.  If you run the ingress controller with the --default-tags option, and then in the Ingress itself you also specify the alb.ingress.kubernetes.io/tags annotation with a tag using the same tag name as one of the default tags, but a different value, you can reproduce the behavior I saw.
For example: run the ingress controller with the --default-tags=Foo=Bar option, then create an ingress with the annotation alb.ingress.kubernetes.io/tags: Foo=Baz. Once the ALB has been built, delete the ingress.  You will see the load balancer and and listener be deleted, but not the target group.
It seems that the --default-tags option affects what tags the controller is using to actually find the target groups, in addition to just decorating the target groups with those tags. That may very well be intended behavior, in which case the fix may be to just document that if you provide default tags, you should not override them with the annotation or target groups may get orphaned.
In any case knowing this, I can at least work around the issue for now.


sudo: 1.9.6 -> 1.9.6p1

Motivation for this change
Update
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[X] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 116524 at 2457d64a run on aarch64-linux 1

1 package skipped due to time constraints:

mysql-workbench

7 packages built successfully:

charliecloud
interlock
lxqt.lxqt-sudo
passExtensions.pass-tomb
qsudo
sudo
tomb

1 suggestion:

error: no-flags-array
configureFlagsArray is only intended to be used in Bash, not as a Nix attribute.
Near pkgs/tools/security/sudo/default.nix:45:3:
   |
45 |   configureFlagsArray = [
   |   ^


Simplified edges have the same reversed attributes despite being reversed

Contributing guidelines

[X] I understand the contributing guidelines

Documentation

[X] My problem is not addressed by the documentation or examples

Existing issues

[X] My problem does not appear in an existing issue

What operating system and Python version are you using?
Debian Bookworm
What OSMnx version are you using?
1.5.0
Environment packages and versions
Fiona                         1.9.4.post1
geopandas                     0.13.2
geopy                         2.3.0
matplotlib                    3.7.1
networkx                      3.1
numpy                         1.24.3
osmnx                         1.5.0
pandas                        2.0.2
pyogrio                       0.6.0
pyproj                        3.5.0
pyproject_hooks               1.0.0
rasterio                      1.3.6
requests                      2.29.0
scikit-learn                  1.2.2
shapely                       2.0.1

How did you install OSMnx?
Pip
Problem description
While using osmnx, I realised that the MultiDiGraph object I get contains simplified edges for the forward and reverse directions. That is, the simplified edges are made of the same simpler edges. However, the reversed attributes in these are identical even though the geometry is not (it is reversed) and the osmids appear in the same order. Is this a bug? It strikes me as wrong to have the geometry reversed and not the reversed attribute too, since that is what happens in the standard case (see below).
Complete minimal reproducible example
import osmnx as ox
G = ox.graph_from_bbox(north=55.68070,south=55.67957,west=12.25981,east=12.26271)
#************************************************************************************************
# the standard case (unsimplified)
#************************************************************************************************
arc_key_forward=(3411585490,1495987314,0)
arc_key_reverse=(1495987314,3411585490,0)
# it is unsimplified
assert type(G.edges[arc_key_forward]['osmid']) != list
assert type(G.edges[arc_key_reverse]['osmid']) != list
# the osmids are the same
assert G.edges[arc_key_forward]['osmid'] == G.edges[arc_key_reverse]['osmid']
# the reversed attributes are logical opposites
assert G.edges[arc_key_forward]['reversed'] == (not G.edges[arc_key_reverse]['reversed'])
# the geometry is equivalent...
assert G.edges[arc_key_forward]['geometry'].equals(G.edges[arc_key_reverse]['geometry'])
assert G.edges[arc_key_forward]['geometry'].equals(G.edges[arc_key_reverse]['geometry'].reverse())
# ... and is reversed
assert not tuple(G.edges[arc_key_forward]['geometry'].coords) == tuple(G.edges[arc_key_reverse]['geometry'].coords)
assert tuple(G.edges[arc_key_forward]['geometry'].coords) == tuple(G.edges[arc_key_reverse]['geometry'].reverse().coords)
#************************************************************************************************
# the unexpected case
#************************************************************************************************
arc_key_forward=(3411585488,3411585486,0)
arc_key_reverse=(3411585486,3411585488,0)
# it is simplified
assert type(G.edges[arc_key_forward]['osmid']) == list
assert type(G.edges[arc_key_reverse]['osmid']) == list
# the osmids are the same
assert G.edges[arc_key_forward]['osmid'] == G.edges[arc_key_reverse]['osmid']
# the reversed attributes are the same
assert G.edges[arc_key_forward]['reversed'] == G.edges[arc_key_reverse]['reversed']
# the geometry is equivalent...
assert G.edges[arc_key_forward]['geometry'].equals(G.edges[arc_key_reverse]['geometry'])
assert G.edges[arc_key_forward]['geometry'].equals(G.edges[arc_key_reverse]['geometry'].reverse())
# ... but is reversed
assert not tuple(G.edges[arc_key_forward]['geometry'].coords) == tuple(G.edges[arc_key_reverse]['geometry'].coords)
assert tuple(G.edges[arc_key_forward]['geometry'].coords) == tuple(G.edges[arc_key_reverse]['geometry'].reverse().coords)

The reversed tag denotes whether the node order in an edge is the same or the reverse of the node order as digitized on OpenStreetMap, to account for reciprocal edges between linked nodes in a MultiDiGraph. From the docs:

By default, OSMnx simplifies this topology by discarding non-intersection/dead-end nodes while retaining the complete true edge geometry as an edge attribute. When multiple OpenStreetMap ways are merged into a single graph edge, the ways’ attribute values are collapsed into a single edge attribute value if they are all the same, or a list of unique values if any of them differ.

Thus, in your example code, you are just seeing that the observed edges simplified into a single new edge contained multiple unique values in their reversed attributes: that is, the values True and False were observed at least once each. As the docs suggest, these are unique values, so you should think of this attribute as a set though it's represented as a list for data structure consistency.

I see. I went through the code for the simplify_graph method and realised that that was what was being done but I wondered if that was really intended. In my mind, information is being lost if only the unique values are being preserved and not their order (as the type suggests). I suppose somebody might be interested in that information but it's not critical for me. I have been writing a method to test whether or not two edges are reversed by osmnx standards and all I wanted to know was if this was really intended. Might such a method be of interest to the project?

information is being lost if only the unique values are being preserved and not their order

Precisely. This is a model simplification algorithm rather than lossless compression. Its purpose is to discard some information to return a simpler, more parsimonious model that retains its usefulness in representing the phenomenon of interest. If full information is ever required, setting simplify=False provides it.


DF Curvy Walls: Won't draw

Module
DF Curvy Walls v3.2.4
Foundry VTT v9 build242
Describe the issue
It just won't draw.
To Reproduce
Steps to reproduce the behavior:

Go to Wall Controls.
Choose any wall or door.
Choose any CW option.
Nothing draws.

I used Find the culprit and isolated DF Curvy Walls, lib-wrapper, and lib-df-hotkeys. With just those active (and Find the culprit), DF Curvy Walls simply won't draw.
Expected behavior
Walls. Drawn.
Screenshots (Optional)
Here are screenshots of some errors, as well as a log of them:

DFCurvyWalls-1641682799349.log

Duplicate of #260


feat($animate): add support for customFilter

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Feature.
What is the new behavior (if this is a feature change)?
This commit adds a new customFilter() function on $animateProvider (similar to classNameFilter()), which can be used to filter animations (i.e. decide whether they are allowed or not), based on the return value of a custom filter function.
This allows to easily create arbitrarily complex rules for filtering animations, such as allowing specific events only, or enabling animations on specific subtrees of the DOM etc.
Does this PR introduce a breaking change?
No.
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Other information:
Fixes #14891.
Needs docs:

[x] Complete the API docs.
[x] Update the Developer Guide.

One minor question - otherwise LGTM

I like it. I would add a note though that this going to be called for every attempted animation, so developers should keep the function lean.

I added docs for customFilter() (and large-ish docs commit that face-lifts the Animations Guide - sorry).
I didn't make any change wrt throwing on "invalid" argument types, because of https://github.com/angular/angular.js/pull/14914#r94752256.
Feel free to TAL ☺

Comments addressed. PTAL

Note to self: Update links after #15654.

This looks (almost) done, wanna put it into 1.6.5?

@gkalpak Looks like this needs a rebase. After that, I will do another review - or do you have some other changes to make?

I have squashed and rebased this and added two new commits:

One for further clarifying when the customFilter function is called.
One for skipping the customFilter and classNameFilter checks, if animations are globally disabled.

@Narretz PTAL


memoize literals in query context in order to deduplicate them

Description
LiteralTransformFunction is allocated as many times as there are segments but they contain a large buffer, this change memoizes literals so each literal is shared.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #7720 (ec17511) into master (91d2a95) will decrease coverage by 56.98%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #7720       +/-   ##
=============================================
- Coverage     71.50%   14.52%   -56.99%
+ Complexity     4033       80     -3953
=============================================
  Files          1581     1536       -45
  Lines         80472    78610     -1862
  Branches      11954    11752      -202
=============================================
- Hits          57540    11416    -46124
- Misses        19037    66354    +47317
+ Partials       3895      840     -3055

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
14.52% <0.00%> (-0.02%)
:arrow_down:

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

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


Simplify indexes, remove paths table

Paths table is redundant and was slowing down both write
and read path, since it was much harder to simplify it.
It was initially an artefact of having leaves and prefixes
queries, although after optimising the query building,
it's all not required and will allow for faster queries.

Good riddance.


Update CCFileUtils-win32.cpp

THIS PROJECT IS IN DEVELOPMENT MODE. Any pull requests should merge to branch dev, otherwise will be rejected immediately.
Describe your changes
By default check "{s_exeDir}/Resources" if not exist fallback to s_workingDir
Before that change "{s_exeDir}/Resources" was used only when application was started from exe dir (s_workingDir == s_exeDir)
Issue ticket number and link
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] I have checked readme and add important infos to this PR (if it needed).
[ ] An improved cpp-test/lua-test is not needed (explain why not, thanks).

@halx99 could you merge it?

@crazyhappygame Are you sure this change is correct?
If I recall correctly, the working directory should always have priority over the executable directory, but with the change you have made, that is no longer the case.
Why exactly have you made this change, and are you sure it's following the correct and expected behaviour?

Consider the example with the change made in this PR:
1 - User installs application, which has a "Resources" sub-directory in the executable directory
2 - User changes the working directory of the executable
3 - User starts up executable, expecting it to be reading from the working directory, but instead with this change, it will ignore the working directory, since it's hard-coded to use the executable directory if the "Resources" sub-directory exists.
This is definitely incorrect behaviour.

Consider the example with the change made in this PR:
1 - User installs application, which has a "Resources" sub-directory in the executable directory 2 - User changes the working directory of the executable 3 - User starts up executable, expecting it to be reading from the working directory, but instead with this change, it will ignore the working directory, since it's hard-coded to use the executable directory if the "Resources" sub-directory exists.
This PR definitely introduces incorrect behaviour.

Correct

@rh101 @halx99
In the case the Resources folder is copied to exe location I have following problems

Can not run app from different directory
Dir/my_app.exe
Can not run app with using shortcuts (e.g.: desktop shortcut )
Can not run my tests using ctest

In all above case exeDir!=workDir but Resources folder is in exeDir. I think that proper behavior is that by default Resources should be taken from folder relative to exeDir.

Generally, I do not understand few things around Win32 and current/working dir behavior

why user would like to use resources from current directory at all if there are resources close to exe file?
Why this behavior change (compare to cocos2d-x) is done for Win32 only and not for Linux (Linux copies Resources folder as well)?
Why we need this current/working dir behavior at all if always (by cmake) Resources are copied to exe directory?
What if user working/current dir is some random dir location without resources?
Generally, any logic around current/working dir could be flaky. E.g.: what if someone (e.g.: 3rd part lib ) changed current dir between process is created and current dir access?

@halx99 will have the answer most of those questions, but here are my responses to a few:

4. What if user working/current dir is some random dir location without resources?

That's fine, it's something the user would have changed, so not something you should be concerned about.  If a user does this, then what happens is their problem, not yours.  The best thing to do in that situation is to display a pop-up notifying the user that resources a missing, and exit the app.

5. Generally, any logic around current/working dir could be flaky. E.g.: what if someone (e.g.: 3rd part lib ) changed current dir between process is created and current dir access?

What is concerning about this point is a 3rd party library modifying the working directory when none should ever do that, and if one does, then the more important question is why.  If something like that is happening, then something is seriously wrong, and that 3rd party library should not be used.
If a user decides to move the game resources into another folder, and set the working directory to that folder, then that is there choice.  They are explicitly choosing to do so, and restricting them from doing that doesn't seem like a good idea.
My only concern regarding this PR was to do with the changes to the working directory, which should always have priority if it's been set by the user on the executable properties.

@halx99 any comments?

@rh101 Thank you for reply.

1 - User installs application, which has a "Resources" sub-directory in the executable directory
2 - User changes the working directory of the executable
3 - User starts up executable, expecting it to be reading from the working directory, but instead with this change, it will ignore the working directory, since it's hard-coded to use the executable directory if the "Resources" sub-directory exists.

Why user should change working directory to use Resources from that directory? Why not copy "Resources" or cheaper change symlink to Resource folder?

@rh101 Thank you for reply.

1 - User installs application, which has a "Resources" sub-directory in the executable directory
2 - User changes the working directory of the executable
3 - User starts up executable, expecting it to be reading from the working directory, but instead with this change, it will ignore the working directory, since it's hard-coded to use the executable directory if the "Resources" sub-directory exists.

Why user should change working directory to use Resources from that directory? Why not copy "Resources" or cheaper change symlink to Resource folder?

The current working directory has nothing to do with Axmol or the resources. In Windows, a user can modify the working directory of an executable for whatever reason they may have, and the application is expected to use that directory.  What the user does or doesn't do it with working directory or resources is not really an issue we need to concern ourselves with.

Is it possible to change priority of dir to exeDir?

This is not the fix, but I actually agree with you regarding the fact that there is an issue that needs to be addressed here.
On the Windows platform, axmol seems to be forcing the resources to be mapped to the same folder as the executable, which I don't feel is correct.
I had not given this issue much thought since my primary target platforms are Android and iOS, but the majority of my development is done using the Windows build in Visual Studio.  The app works when running it from inside the debugger, but when running the exe directly from the output folder, it doesn't work, since it was trying to look for the resources in the current folder, and they don't exist because of the changes done to axmol a while back.
The file run.bat.in was added to generate a batch script that allowed the application to run correctly, but this seems to be covering up the real issue, which is that the developer doesn't have a choice in where the engine is reading the resources from.
So, the solution to this would be to add functionality to the engine to allow the developer to set exactly where the resources are read from, whether it be current exe directory, or a sub-directory named "Resources", "data" or whatever else.  What is not correct is forcing the exe directory to have priority over the working directory; that is not the fix.

@rh101 yes, one of the solution would be to add functionality to provide Resources path. Current solution based Working/current dir has problems describe above.
Another option would be to always use Resources from exeDir (it works in that way for cocos2d-x). To use different Resources you can copy files or use symlink

All platforms woking directory is priority for system find file, so we don't change system behavior, just add exeDir to search path when work dir not equal exe dir.

Would this work:
Say that we still copy the "Resources" sub-directory to the executable directory, and "Resources" is added to the search path via FileUtils::addSearchPath.  Would this solve the issue?

@halx99 not Tru for Linux. Please check https://github.com/axmolengine/axmol/blob/dev/core/platform/linux/CCFileUtils-linux.cpp#L65 always exe path.
But ok. I will explicitly set search path in all my apps for windows

Would this work:
Say that we still copy the "Resources" sub-directory to the executable directory, and "Resources" is added to the search path via FileUtils::addSearchPath. Would this solve the issue?

@rh101 currently we (cmake) always copy Resources folder to exe dir

@rh101 currently we (cmake) always copy Resources folder to exe dir

I understand, so it would be like this:
game.exe
lib1.dll
lib2.dll
Resources/resources1.xyz
               /resource2.xyz etc etc

If you call this:
FileUtils::getInstance()->addSearchPath("Resources", true);
Would that work?

I have added something similar to
FileUtils::getInstance()->addSearchPath(exeDir+"/Resources", true); to all my apps.
Question is if we would like to have similar default behavior for axmol?

I have added something similar to FileUtils::getInstance()->addSearchPath(exeDir+"/Resources", true); to all my apps.
Question is if we would like to have similar default behavior for axmol?

It shouldn't be default behaviour, otherwise it would be forcing developers to use the "Resources" folder, which is what we're trying to avoid here as well.
For example, a developer may want resources to be in a different folder, such as "data".  It would be up to the developer to make that call with the correct folder name.

It shouldn't be default behaviour, otherwise it would be forcing developers to use the "Resources" folder, which is what we're trying to avoid here as well.

That what I do not understand. Using Working/current dir is tricky -
But ok. I will close this PR and leave with settings search path in my application.

@halx99 not Tru for Linux. Please check https://github.com/axmolengine/axmol/blob/dev/core/platform/linux/CCFileUtils-linux.cpp#L65 always exe path.
But ok. I will explicitly set search path in all my apps for windows

Yes, current, axmol only avoid resources copy in development time on windows dev workflow, should cover PC platforms


Merge Dev ke UAT 13 April 2017

Coverage remained the same at 64.701% when pulling 072364818d7a525e4ac1072c66f324a6d89752ca on dev into 7ae7423f00f4ee98db1a833d80582abc8d247363 on uat.


feat(cli): Add option to format dates in output files

See https://github.com/invoice-x/invoice2data/issues/209

Thanks. Will test this tomorrow.

Thanks. Will test this tomorrow.

Well, I forgot something, I'll fix it before tomorrow...

Merged. Sorry for the delay.


Added benchmarks

Early benchmarks added.

LGTM ;-)

@vdemeester am I dreaming or it's not visible in the master?

You're not dreaming; it's not visible; which is weird, because I know I've seen it yesterday. Possibly a GitHub bug? (haven't checked out the repository, as I'm on my phone now)

@EmileVauge Yeah that's definitly weird.. I'm not seeing commits either.. :sweat:

Merged it back.. but that's weird.. :sweat:

Woah... Scary... Will ping Github on that.
Thanks @vdemeester.

yeah.. that's a little bit scary indeed ! :screaming_cat:

Did you do a force push by accident? (you can now protect against that on GitHub by the way)

@EmileVauge as @thaJeztah said, I think we should protect the master branch indeed :wink: against us :sweat_smile:

Yeah, It's now protected.
I'm sorry it seems to be my fault :cry:
Github' support said that I forced pushed this commit bbfd6c7257c87298d184d89850801957d3a08f9c but I still don't understand exactly what happened because it comes from a merge from @vdemeester https://github.com/EmileVauge/traefik/pull/23.


Agent: Fix WeaveWorker wait on destroy event

Fixes #1369

Always initialize the Weave@ipam_client

Cleanup the WeaveWorker wait logic to wait closer to the actual operation
Hopefully make it more obvious when the wait is needed and when it isn't. Consider moving the wait right into the Weave actor itself?

Also trap errors in on_destroy_destroy

kontena-agent | D, [2016-11-22T15:55:39.853177 #1] DEBUG -- RpcServer: rpc request: Kontena::Rpc::ServicePodsApi#terminate ["583446fede3578427000002a", 1, {"lb"=>true}]
kontena-agent | I, [2016-11-22T15:55:39.867025 #1]  INFO -- Kontena::ServicePods::Terminator: terminating service: /null-redis-1
kontena-agent | D, [2016-11-22T15:55:40.090674 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:40.598484 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:41.122169 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:41.632621 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:42.145753 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:42.681548 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:43.197776 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:43.729727 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:44.263652 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:44.803471 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:45.344866 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:45.855873 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:46.390916 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:46.905207 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:47.437354 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:47.972975 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:48.499063 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:49.035475 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:49.568937 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:50.101425 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:50.633696 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:51.169857 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:51.698412 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:52.156886 #1] DEBUG -- Workers::LogWorker: /kontena-ipam-plugin/{}
kontena-agent | D, [2016-11-22T15:55:52.157401 #1] DEBUG -- Workers::WeaveWorker: skip start for container=/kontena-ipam-plugin without overlay_cidr
kontena-agent | D, [2016-11-22T15:55:52.209964 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:52.735588 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:53.269115 #1] DEBUG -- Workers::WeaveWorker: waiting for all network components running
kontena-agent | D, [2016-11-22T15:55:53.396375 #1] DEBUG -- NetworkAdapters::IpamCleaner: ipam signalled ready, starting cleanup loop
kontena-agent | I, [2016-11-22T15:55:53.396646 #1]  INFO -- Kontena::NetworkAdapters::Weave: network and ipam ready, ensuring default network existence
kontena-agent | D, [2016-11-22T15:55:53.399834 #1] DEBUG -- NetworkAdapters::IpamClient: reserving pool kontena with subnet <IP_ADDRESS>/16 and iprange <IP_ADDRESS>/17
kontena-agent | I, [2016-11-22T15:55:53.803584 #1]  INFO -- Kontena::NetworkAdapters::Weave: Remove container=6a496cd20a8a4c6ad365ca059958d322d168ade80b300b45b51a3f79fd2f7e65 from network=kontena at cidr=<IP_ADDRESS>/16
kontena-agent | D, [2016-11-22T15:55:53.803584 #1] DEBUG -- NetworkAdapters::IpamClient: releasing address <IP_ADDRESS>/16 for network kontena
kontena-agent | D, [2016-11-22T15:55:53.826794 #1] DEBUG -- NetworkAdapters::IpamClient: response: 200/{}

Rebased.


vehicle is wrong after match

Before match, Vehicle 1 is at waypoint (0|0) (idx_lvn=0), with 1 dist left until the next waypoint.

After match, Vehicle 1 is now at (4|1) (idx_lvn=1), but with 3 dist until next waypoint (should be 4).
Schedule is 2 6, but should be 8 5 6
Load is still -2, should be -1

[2018-06-11 11:32:36][noname] Vehicle 1:
[2018-06-11 11:32:36][noname] origin     	0
[2018-06-11 11:32:36][noname] destination	6
[2018-06-11 11:32:36][noname] early      	1
[2018-06-11 11:32:36][noname] late       	19
[2018-06-11 11:32:36][noname] load       	-2
[2018-06-11 11:32:36][noname] nnd        	1
[2018-06-11 11:32:36][noname] route      	(0|0) (4|1) (7|2) (12|5) (15|6)
[2018-06-11 11:32:36][noname] schedule   	1 6
[2018-06-11 11:32:36][noname] idx_lvn    	0
[2018-06-11 11:32:36][noname] status     	1
[2018-06-11 11:32:36][cargo] new nnd: 0
[2018-06-11 11:32:36][greedy_insertion] Match (Customer 3, Vehicle 1)
[2018-06-11 11:32:36][greedy_insertion] best cost: 13
[2018-06-11 11:32:36][greedy_insertion] best route: (0|0) (4|1) (8|8) (14|5) (17|6)
[2018-06-11 11:32:36][greedy_insertion] best schedule: 1 8 5 6
[2018-06-11 11:32:36][cargo] t=4; stepped 2 vehicles; remaining=2;
[2018-06-11 11:32:36][cargo] (0 customers have timed out)
[2018-06-11 11:32:36][noname] Vehicle 1:
[2018-06-11 11:32:36][noname] origin     	0
[2018-06-11 11:32:36][noname] destination	6
[2018-06-11 11:32:36][noname] early      	1
[2018-06-11 11:32:36][noname] late       	19
[2018-06-11 11:32:36][noname] load       	-2
[2018-06-11 11:32:36][noname] nnd        	3
[2018-06-11 11:32:36][noname] route      	(0|0) (4|1) (8|8) (14|5) (17|6)
[2018-06-11 11:32:36][noname] schedule   	2 6
[2018-06-11 11:32:36][noname] idx_lvn    	1
[2018-06-11 11:32:36][noname] status     	1

Possible cause:

t1 -- cargo::step() grabs vehicle info
t2 -- greedy_insertion commits a match to the db
t3 -- cargo::step() commits a new state t3 = step(t1) to the db and overrides the state at t2

Commit c69ef15 seems to fix the issue, but

should use conditional variables instead of polling
we lock the entire vehicles table during step()! for long step(), the table will always be locked! Better to use row-locking, but how can we do that? we could issue separate select statements for each vehicle during the step

Seems to be working now:
[2018-06-11 15:43:02][noname] Vehicle 1:
[2018-06-11 15:43:02][noname] origin     	0
[2018-06-11 15:43:02][noname] destination	6
[2018-06-11 15:43:02][noname] early      	1
[2018-06-11 15:43:02][noname] late       	19
[2018-06-11 15:43:02][noname] load       	-2
[2018-06-11 15:43:02][noname] nnd        	2
[2018-06-11 15:43:02][noname] route      	(0|0) (4|1) (7|2) (12|5) (15|6)
[2018-06-11 15:43:02][noname] schedule   	1 6
[2018-06-11 15:43:02][noname] idx_lvn    	0
[2018-06-11 15:43:02][noname] status     	1
[2018-06-11 15:43:02][cargo] new nnd: 1
[2018-06-11 15:43:03][greedy_insertion] Match (Customer 3, Vehicle 1)
[2018-06-11 15:43:03][noname] Vehicle 1:
[2018-06-11 15:43:03][noname] origin     	0
[2018-06-11 15:43:03][noname] destination	6
[2018-06-11 15:43:03][noname] early      	1
[2018-06-11 15:43:03][noname] late       	19
[2018-06-11 15:43:03][noname] load       	-2
[2018-06-11 15:43:03][noname] nnd        	1
[2018-06-11 15:43:03][noname] route      	(0|0) (4|1) (8|8) (14|5) (17|6)
[2018-06-11 15:43:03][noname] schedule   	1 8 5 6
[2018-06-11 15:43:03][noname] idx_lvn    	0
[2018-06-11 15:43:03][noname] status     	1
[2018-06-11 15:43:03][cargo] new nnd: 0

load = -2 is not an error. The load correctly becomes -1 after customer pickup.


fsSize() is too slow

Hey @sebhildebrandt thanks for creating the module!
Have you considered turning it into a native C++ module based on N-API (or creating a separate native NPM module)? It would allow you to make every single function faster and add additional features.
Describe the bug
systeminformation.fsSize() is ~900 times slower than node-diskusage:

systeminformation: ~90 ms (average)
node-diskusage: ~0.1 ms (average)

To Reproduce
const diskusage = require('diskusage')
const systeminformation = require('systeminformation')

let drives = await systeminformation.blockDevices()

console.time('TIME: systeminformation')
await systeminformation.fsSize()
console.timeEnd('TIME: systeminformation')

for (let index = 0; index < drives.length; index++) {
  console.time('TIME: diskusage')
  const size = await diskusage.check(drives[index].mount)
  console.timeEnd('TIME: diskusage')
}

Current Output
Current execution time: ~90 ms
Expected behavior
Desired execution time: ~0.1 - 1 ms
Environment (please complete the following information):

systeminformation package version: 4.27.5
OS: Win10, x64, latest stable build
Hardware: CPU: Intel core i7 7700HQ; DRIVES: 1 SATA SSD, 1 HDD (3 partitions total)

@aleksey-hoffman ... Thank you for your suggestion, I get your point. Currently I do not have plans to implement parts in C++. I do know, that there is a huge potential especially on windows for a lot of functions. I will keep this in mind for maybe a new major release of system-information

Closing it for now.


Add peer port config + new options

Thank you @aarnaud! BTW, I've added some notes as review. Please check them.
Also, you added changes that now break the travis build. Could you fix them?

I updated travis tests to use original distribution with systemd


[CARBONDATA-2346] Added fix for NULL error while dropping partition with multiple Pre-Aggregate tables

Fixed null value issue for childcolumn

[x] Any interfaces changed?
NA
[x] Any backward compatibility impacted?
NA
[x] Document update required?
NA
[x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.
NA
[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
NA

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3782/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4998/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5000/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3784/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5001/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3785/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4443/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4445/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/3849/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5070/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/5085/

LGTM

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/4447/


Ron 0.5.1 fails to build on macOS

error: cannot find macro `forward_to_deserialize_any_helper!` in this scope
  --> /Users/dmalyshau/.cargo/registry/src/github.com-1ecc6299db9ec823/ron-0.5.1/src/value.rs:80:5
   |
80 | /     forward_to_deserialize_any! {
81 | |         bool f32 f64 char str string bytes
82 | |         byte_buf option unit unit_struct newtype_struct seq tuple
83 | |         tuple_struct map struct enum identifier ignored_any
84 | |     }
   | |_____^
   |
   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

error[E0046]: not all trait items implemented, missing: `deserialize_bool`, `deserialize_f32`, `deserialize_f64`, `deserialize_char`, `deserialize_str`, `deserialize_string`, `deserialize_bytes`, `deserialize_byte_buf`, `deserialize_option`, `deserialize_unit`, `deserialize_unit_struct`, `deserialize_newtype_struct`, `deserialize_seq`, `deserialize_tuple`, `deserialize_tuple_struct`, `deserialize_map`, `deserialize_struct`, `deserialize_enum`, `deserialize_identifier`, `deserialize_ignored_any`
  --> /Users/dmalyshau/.cargo/registry/src/github.com-1ecc6299db9ec823/ron-0.5.1/src/value.rs:77:1

This is sort of a blocker :( cc @torkleyy

Speaking of which, it would be useful to expand on Travis testing on OSX and Windows.

Which Rust version are building with?

First thing I tried to fix this was updating to latest stable rust with rustup.

On Jun 1, 2019, at 03:38, Thomas Schaller<EMAIL_ADDRESS>wrote:
Which Rust version are building with?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Double checked now: "rustc 1.35.0"

The problem appears to be solved after cargo update and rustup update.


Commit not found for io.github.nextjournal/dejavu

I'm on windows. I just downloaded bb v0.9.162.
➜  clerk git:(main) bb dev :browse\? true

Clojure tools not yet in expected location: C:\Users\richie\.deps.clj\<IP_ADDRESS>5\ClojureTools\clojure-tools-<IP_ADDRESS>5.jar
Downloading https://download.clojure.org/install/clojure-tools-<IP_ADDRESS>5.zip to C:\Users\richie\.deps.clj\<IP_ADDRESS>5\ClojureTools
Successfully installed clojure tools!
Cloning: https://github.com/nextjournal/dejavu.git
Error building classpath. Commit not found for io.github.nextjournal/dejavu in repo https://github.com/nextjournal/dejavu.git at 3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5
➜  clerk git:(main) bb dev :browse\? true

Error building classpath. Commit not found for io.github.nextjournal/dejavu in repo https://github.com/nextjournal/dejavu.git at 3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5

Strange, the commit should be there, see https://github.com/nextjournal/dejavu/commit/3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5
@borkdude do you have an idea what could be causing this?

I can't reproduce in Powershell. To be sure, I deleted c:\Users\borkdude\.deps.clj and c:\Users\borkdude\.gitlibs:

Will also try cmd.exe.

I deleted c:\Users\me\.clojure and then ran these commands. I didn't find a .cpcache folder.
powershell
PS C:\Users\richie> cd .\notMyCode\nextjournal\clerk\
PS C:\Users\richie\notMyCode\nextjournal\clerk> bb dev :browse\? true
Error building classpath. Commit not found for io.github.nextjournal/dejavu in repo https://github.com/nextjournal/dejavu.git at 3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5
PS C:\Users\richie\notMyCode\nextjournal\clerk> bb --version
Error building classpath. Commit not found for io.github.nextjournal/dejavu in repo https://github.com/nextjournal/dejavu.git at 3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5
PS C:\Users\richie\notMyCode\nextjournal\clerk> bb
Error building classpath. Commit not found for io.github.nextjournal/dejavu in repo https://github.com/nextjournal/dejavu.git at 3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5
PS C:\Users\richie\notMyCode\nextjournal\clerk> cd ..
PS C:\Users\richie\notMyCode\nextjournal> bb --version
babashka v0.9.162
PS C:\Users\richie\notMyCode\nextjournal> git --version
git version 2.37.1

cmd
C:\Users\richie\notMyCode\nextjournal\clerk>ls -a
.               .git          LICENSE    book.clj    deps.edn   package.json     test
..              .github       README.md  build.clj   dev        resources        tests.edn
.clj-kondo      .gitignore    bb         chinook.db  index.clj  shadow-cljs.edn  ui_tests
.dir-locals.el  CHANGELOG.md  bb.edn     clerk.el    notebooks  src

C:\Users\richie\notMyCode\nextjournal\clerk>bb
Error building classpath. Commit not found for io.github.nextjournal/dejavu in repo https://github.com/nextjournal/dejavu.git at 3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5

Sorry, I see you deleted two additional folders.
I tried again after deleting C:\Users\richie\.deps.clj, C:\Users\richie\.gitlibs, and C:\Users\richie\.clojure.
PS C:\Users\richie\notMyCode\nextjournal\clerk> bb
Clojure tools not yet in expected location: C:\Users\richie\.deps.clj\<IP_ADDRESS>5\ClojureTools\clojure-tools-<IP_ADDRESS>5.jar
Downloading https://download.clojure.org/install/clojure-tools-<IP_ADDRESS>5.zip to C:\Users\richie\.deps.clj\<IP_ADDRESS>5\ClojureTools
Successfully installed clojure tools!
Cloning: https://github.com/nextjournal/dejavu.git
Error building classpath. Commit not found for io.github.nextjournal/dejavu in repo https://github.com/nextjournal/dejavu.git at 3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5

@rgkirch I ran bb print-deps and it prints this deps map. Can you put that in a new project, in a deps.edn file and run clojure? And then see what that does?
{:deps
 {selmer/selmer {:mvn/version "1.12.50"},
  org.clojure/clojure {:mvn/version "1.11.1"},
  org.clojure/tools.logging {:mvn/version "1.1.0"},
  insn/insn {:mvn/version "0.5.2"},
  org.clojure/tools.cli {:mvn/version "1.0.206"},
  org.babashka/babashka.impl.reify {:mvn/version "0.1.3"},
  rewrite-clj/rewrite-clj {:mvn/version "1.1.45"},
  babashka/babashka.core
  {:git/url "https://github.com/babashka/babashka.core",
   :git/sha "52a6037bd4b632bffffb04394fb4efd0cdab6b1e"},
  hiccup/hiccup {:mvn/version "2.0.0-alpha2"},
  org.babashka/cli {:mvn/version "0.3.35"},
  org.clojure/data.xml {:mvn/version "0.2.0-alpha6"},
  org.clojure/data.csv {:mvn/version "1.0.0"},
  com.taoensso/timbre {:mvn/version "5.2.1"},
  com.cognitect/transit-clj {:mvn/version "1.0.329"},
  babashka/babashka.curl {:mvn/version "0.1.1"},
  clj-commons/clj-yaml {:mvn/version "0.7.109"},
  org.clojure/core.rrb-vector {:mvn/version "0.1.2"},
  org.babashka/sci.impl.types {:mvn/version "0.0.2"},
  cheshire/cheshire {:mvn/version "5.11.0"},
  org.clojure/core.match {:mvn/version "1.0.0"},
  io.github.nextjournal/dejavu
  {:git/sha "3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5"},
  org.clojure/test.check {:mvn/version "1.1.1"},
  babashka/fs {:mvn/version "0.1.2"},
  org.clojure/data.priority-map {:mvn/version "1.1.0"},
  nrepl/bencode {:mvn/version "1.1.0"},
  org.clojure/core.async {:mvn/version "1.5.648"},
  http-kit/http-kit {:mvn/version "2.6.0-RC1"}}}

PS C:\Users\richie\clerk-debug> clojure
Cloning: https://github.com/babashka/babashka.core
Cloning: https://github.com/nextjournal/dejavu.git
Downloading: org/babashka/babashka.impl.reify/0.1.3/babashka.impl.reify-0.1.3.pom from clojars
Error building classpath. Cannot invoke "java.io.File.isAbsolute()" because "f" is null
java.lang.NullPointerException: Cannot invoke "java.io.File.isAbsolute()" because "f" is null
        at clojure.tools.deps.alpha.util.dir$canonicalize.invokeStatic(dir.clj:30)
        at clojure.tools.deps.alpha.extensions.deps$fn__1352.invokeStatic(deps.clj:32)
        at clojure.tools.deps.alpha.extensions.deps$fn__1352.invoke(deps.clj:32)
        at clojure.lang.MultiFn.invoke(MultiFn.java:244)
        at clojure.tools.deps.alpha$expand_deps$children_task__746$fn__748$fn__749.invoke(alpha.clj:406)
        at clojure.tools.deps.alpha.util.concurrent$submit_task$task__479.invoke(concurrent.clj:34)
        at clojure.lang.AFn.call(AFn.java:18)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:831)
PS C:\Users\richie\clerk-debug> ls

    Directory: C:\Users\richie\clerk-debug

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----        9/12/2022   4:33 PM           1477 deps.edn

PS C:\Users\richie\clerk-debug> cat .\deps.edn
{:deps
 {selmer/selmer {:mvn/version "1.12.50"},
  org.clojure/clojure {:mvn/version "1.11.1"},
  org.clojure/tools.logging {:mvn/version "1.1.0"},
  insn/insn {:mvn/version "0.5.2"},
  org.clojure/tools.cli {:mvn/version "1.0.206"},
  org.babashka/babashka.impl.reify {:mvn/version "0.1.3"},
  rewrite-clj/rewrite-clj {:mvn/version "1.1.45"},
  babashka/babashka.core
  {:git/url "https://github.com/babashka/babashka.core",
   :git/sha "52a6037bd4b632bffffb04394fb4efd0cdab6b1e"},
  hiccup/hiccup {:mvn/version "2.0.0-alpha2"},
  org.babashka/cli {:mvn/version "0.3.35"},
  org.clojure/data.xml {:mvn/version "0.2.0-alpha6"},
  org.clojure/data.csv {:mvn/version "1.0.0"},
  com.taoensso/timbre {:mvn/version "5.2.1"},
  com.cognitect/transit-clj {:mvn/version "1.0.329"},
  babashka/babashka.curl {:mvn/version "0.1.1"},
  clj-commons/clj-yaml {:mvn/version "0.7.109"},
  org.clojure/core.rrb-vector {:mvn/version "0.1.2"},
  org.babashka/sci.impl.types {:mvn/version "0.0.2"},
  cheshire/cheshire {:mvn/version "5.11.0"},
  org.clojure/core.match {:mvn/version "1.0.0"},
  io.github.nextjournal/dejavu
  {:git/sha "3c4cf5e4dda3648e0d4c575a3433d19c511dd3e5"},
  org.clojure/test.check {:mvn/version "1.1.1"},
  babashka/fs {:mvn/version "0.1.2"},
  org.clojure/data.priority-map {:mvn/version "1.1.0"},
  nrepl/bencode {:mvn/version "1.1.0"},
  org.clojure/core.async {:mvn/version "1.5.648"},
  http-kit/http-kit {:mvn/version "2.6.0-RC1"}}}

java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-24)
OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)

I'll try with 11 instead of 16.

Which version of clojure is this? Perhaps try upgrading? Perhaps a file permission error?

That too.
clojure --version
Clojure CLI version <IP_ADDRESS>1

I reinstalled clojure and installed java 11.
PS C:\Users\richie> clojure --version
Clojure CLI version <IP_ADDRESS>3

PS C:\Users\richie> java -version
openjdk version "<IP_ADDRESS>" 2022-08-12
OpenJDK Runtime Environment Temurin-<IP_ADDRESS>+1 (build <IP_ADDRESS>+1)
OpenJDK 64-Bit Server VM Temurin-<IP_ADDRESS>+1 (build <IP_ADDRESS>+1, mixed mode)

It's failing whenever it sees :git/url and :git/sha.
e.g.
{:deps
 {com.taoensso/timbre {:git/url "https://github.com/ptaoussanis/timbre"
                       :git/sha "4223bac204669d9a98bf8b6db17f57d5f3e206e2"}}}

gives
Cloning: https://github.com/ptaoussanis/timbre
Error building classpath. Commit not found for com.taoensso/timbre in repo https://github.com/ptaoussanis/timbre at 4223bac204669d9a98bf8b6db17f57d5f3e206e2

I don't know what to do about it but it's not an issue with clerk.

I tried deps too but had the same issue.
PowerShell -Command "iwr -useb https://raw.githubusercontent.com/borkdude/deps.clj/master/install.ps1 | iex"

from here
PS C:\Users\richie\clerk-debug> deps
Clojure tools not yet in expected location: C:\Users\richie\.deps.clj\<IP_ADDRESS>5\ClojureTools\clojure-tools-<IP_ADDRESS>5.jar
Downloading https://download.clojure.org/install/clojure-tools-<IP_ADDRESS>5.zip to C:\Users\richie\.deps.clj\<IP_ADDRESS>5\ClojureTools
Successfully installed clojure tools!
Error building classpath. Commit not found for babashka/babashka.core in repo https://github.com/babashka/babashka.core at 52a6037bd4b632bffffb04394fb4efd0cdab6b1e

At this point, I would try ask.clojure.org or the Slack channels: clj-on-windows / tools-deps

Thanks!


How can i use it with ionic 2?

Hi.
Is it possible use this plugin with ionic 2? If it is possible how can i add it to my project and use it?
Thanks.

Hi Frank. I'm searching for same answer as you, do you have a solution?

Download the plugin into your project then create package.json using
go to the folderpath then type
plugman createpackagejson .
after that you will be able to add this plugin
cordova plugin add path of your project
After that you will be able to see it cordova plugins
After import statements write this line
declare var BackgroundBeaconMonitoring:any;
platform.ready().then(() => {
BackgroundBeaconMonitoring.requestPermissions(
function() {
console.log("we got permissions");
},
function() {
console.log("we don't got permissions");
});
});
remember one thing after platform ready then only plugin will be accessible.
I hope this helps

Hi, there is a code that help me a lot and worked to me https://ionicallyspeaking.com/2017/01/16/creating-a-beacon-application-with-ionic-2/
I suggest you to check out the ionic's forum you will find to much help.

Hi, The link is Fine But This plugin is useful you for keeping your Application alive in the background so use this plugin if you want to run your service Alive even App closed.


docs(readme): add Greenkeeper badge

chore(package): update dependencies

Are you going to Greenkeeper going to automatically update npm dependency versions?

Yes. Greenkeeper will automatically create pull request when there is new npm dependency version.

I assume you'll not automaticaly merge without testing :)
Did you resolve the problem with systemjs version 0.20.x?

It will not merge automatically. locally its working. I am investigating why its failing in travis

system.js issue fixed


Average decimal type

When averaging over an integer column, dask (and also many SQL engines) produce a float - unfortunately the default implementation of Calcite will not do that. This PR fixes this.
Also, the division needed to be fixed for this.
This PR also brings a preliminary implementation for CAST, which is so far only an identity (as the type conversion is already handled by the mapping in the Rel converter base functions)

Codecov Report

Merging #121 (2a1a3ee) into main (65059ac) will decrease coverage by 0.16%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              main     #121      +/-   ##
===========================================
- Coverage   100.00%   99.83%   -0.17%
===========================================
  Files           49       49
  Lines         1812     1833      +21
  Branches       242      243       +1
===========================================
+ Hits          1812     1830      +18
- Misses           0        3       +3

Impacted Files
Coverage Δ

dask_sql/physical/rex/core/call.py
99.66% <100.00%> (-0.34%)
:arrow_down:

dask_sql/input_utils/hive.py
90.00% <0.00%> (-10.00%)
:arrow_down:

Continue to review full report at Codecov.

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

Codecov Report

Merging #121 (2a1a3ee) into main (65059ac) will decrease coverage by 0.16%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              main     #121      +/-   ##
===========================================
- Coverage   100.00%   99.83%   -0.17%
===========================================
  Files           49       49
  Lines         1812     1833      +21
  Branches       242      243       +1
===========================================
+ Hits          1812     1830      +18
- Misses           0        3       +3

Impacted Files
Coverage Δ

dask_sql/physical/rex/core/call.py
99.66% <100.00%> (-0.34%)
:arrow_down:

dask_sql/input_utils/hive.py
90.00% <0.00%> (-10.00%)
:arrow_down:

Continue to review full report at Codecov.

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


Replace applet version of game with Java Webstart

We got Webstart working for the Launcher in the past, although mostly as an experiment. With Oracle finally making the death of applets official (http://www.theverge.com/2016/1/28/10858250/oracle-java-plugin-deprecation-jdk-9) we should probably switch to a Java Webstart facade or Jenkins job.
Applet still does work in Firefox, I coincidentally just fixed it as the LWJGL version had drifted out of sync, but IE and Chrome might already be done for. Unless you use an older version anyway.
Like the applet a webstart version should probably just include the super basic Core setup only, no extra modules. Maybe when we have a working Iota dist we can go with that.
When complete we should remember to update assorted documentation and links, like the splash site and https://github.com/MovingBlocks/Terasology/wiki/Project-Overview

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/30370925-replace-applet-version-of-game-with-java-webstart?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

Do you think it's worth creating a WebStart version of the game or should player use WebStart to get the launcher and run the game from there?
Iirc, the webstart file is not linked with the java executable if  the "Support Java in Browser" setting is not ticked in the system settings. Thus, the browser will just attempt to download the webstart launcher file without doing anything.

Mainly I wanted to get the idea process started :-) I don't know/remember a lot of details about webstart.
The applet was always about having a super easy non-committal way to try out the game. Worked well since you just open a page then get game. Got gradually worse as the security issues started piling on and you had to go through more hassle to have it run.
With webstart - if the user still has to jump through a bunch of hoops to get the game running, that are equal to or greater than simply downloading the game - then maybe we shouldn't bother :(
Or at least do it low priority and mark it clearly how to make it work.
On launcher vs. game I'd consider the launcher a more committed way to get the game, not so much a preview. So that would just be the "normal" way to get and install the game I'd think.

Closing as being heavily out of date.


v4 and graph sample

Docs Build status updates of commit 64c9ca7:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/includes/landing-page.html
:white_check_mark:Succeeded

msteams-platform/samples/code-samples.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


set the default_warn_order to 32

Set the default default_warn_order to 32. Otherwise the warning is too many in a rank tensor network contraction algorithm.

Thanks Jinguo, but the default warn order is already very high. For specialized applications like yours, we have provided options to raise or turn off the warn order, like these:
ITensors.set_warn_order(N)
@disable_warn_order

The error message does actually include the information about @disable_warn_order and other ways to change or turn off the warn order, so then the only question is about the backtrace. We do want to keep the backtrace happening at least once so that users can find the code that is triggering the warn order.
I think a good solution here would be for us to count the number of times the backtrace gets printed then only print it a small number of total times. (We don't want it to never print by default.)
A good workaround for now, though, is just to call @disable_warn_order for your code.

Ah, that is true. Maybe we can left as it is.
An alternative way to warn users about the tensor rank is only warn users in the debug mode. i.e. enclosing the warning information with a @debug macro. Users only see the warning when they set ENV["JULIA_DEBUG"] = "ITensors".
Which one do you prefer?

We could only enable the backtrace in debug mode.
I've found it is fairly common that people assume this warning is an error or a serious issue in their code, and also don't read the message at all, which may be due to the backtrace looking long and scary. So it would be nice to improve this in some way since I don't think the current situation has been working as well as I would have hoped. Maybe the message explaining how to suppress the warning should be made clearer?
I prefer putting backtraces in warnings since it helps you actually fix the warning and not just have to guess where it is coming from, but I think it scares people (I've found people are scared by warnings in general but that is another issue).
I would be ok increasing the warning cutoff a bit from the current one, it isn't uncommon to reach tensors of order 14 when doing ED calculations.


Remove RATA Test Summary Data

As an ECMPs user, I want the ability to remove RATA Test Summary data so that I can delete a test when needed
Acceptance Criteria:
Given I am in the RATA - Test Summary Data section
When I click on the 'Remove' option
Then I see that the relevant RATA Test Summary data record is deleted
And the Test Summary Data is updated accordingly
Given I chose to remove RATA Test Summary Data
When I click on the 'Remove' option
Then I see a message 'Are you sure you want to remove the selected data?'
And when I click Yes
Then the data is removed
When I select Cancel
Then I am returned to the landing screen for RATA data
Invision Board Reference:
https://projects.invisionapp.com/freehand/document/SrHrFhGQ3?zoomToItems=Y2w1bXBuM3NiMDAwNzNiNnk1aWtyNHA1eQ%3D%3D
Testing
Test Case: TC832
Tester: @mosesdeeCVP

Test Passed


[Android] Images with 301 redirect don't load

Loading images from server where it does a redirect doesn't seem to work on Android. It works fine on iOS.
Demo - https://rnplay.org/apps/UEdIbw
Currently I'm working around this by having a native module which resolves the final URL and sends it back to JavaScript. Its terrible, but at least it gets the job done.

https://productpains.com/post/react-native/bug-android-images-with-301-redirect-dont-load/

@tyronen Does Fresco support redirects off the box?
I searched the codebase for '301', 'redirect', 'moved', 'permanently':
https://github.com/facebook/fresco/search?utf8=✓&q=301

Upvoted: https://productpains.com/post/react-native/images-with-301-redirect-dont-load/

@mkonicek No idea. I had searched, but didn't find anything on this. Also on a quick look, the Native module just seems to pass the URL to Fresco. Thanks for the upvote and the correct link. I had no idea that changing the title changes the link on ProductPains.

Pinged Tyrone.

@mkonicek Thank you ❤

In ReactNative apps, Fresco delegates the network request to OkHttp. By default, OkHttp does follow 301 redirects.
We'd need to debug through OkHttp source to find out why this doesn't seem to be happening.

@tyronen Lemme know if I can do anything to help.

@mkonicek @tyronen Has there been any movement on this?

@satya164 I encountered same issue here #5616 , but you mentioned that it works fine on iOS. My APP is built with RN but only for iOS, the pics with 301 will only display sometimes, it's very weird.

I have exactly the opposite problem. Android seemed to be ok, but IOS would only load the image once and subsequent attempts at displaying the image wouldn't work.  Looking at the web server logs it doesn't even make a request.
Using RN 0.23

This looks like it was fixed in https://github.com/facebook/react-native/releases/tag/v0.26.0 . I'm going to close the issue but feel free to reopen if I am wrong about that.

@lacker I think what has been fixed in 0.26.0 is just for iOS version, please refer this commit 192ab6.

We can confirm that this issue is still present in version 0.39 and Android, seems to be only fixed for iOS. Please reopen if possible.
Thanks!

Still happening on Android, can confirm on 0.40

Also happening for me with 0.40.0.  I've tested on 2 nougat devices (a Google pixel phone and a Nexus 6P emulator) and on an older Samsung phone running Android 6.0.1.  The issue occurs on both nougat devices but not on the Marshmallow device.

I see this is happening on iOS as @npomfret reported on April 20.
In Facebook search "Danielles Guide to 504 Plans" which leads you to a card from Spokin Inc.  Tapping on that card the first time successfully takes user to the URL http://www.spokin.com/504plans.  But hitting back button and tapping on that card going forward goes to a 404.

I have encountered same issue with RN v0.4.51 iOS.
I tried to display facebook profile image with the url like this: http://graph.facebook.com/<user_id>/picture?type=large
but not works.
So, I changed the url to redirect target of the url(CDN's url). It works.

I'm sorry, I resolved it and it's not related to this issue.
My issue is caused by App Transport Security. I changed a url to 'https' and it works.

I am using Android - react native 0.48.1 and image with redirect is not loading. So this was only fixed for iOS here correct? - https://github.com/facebook/react-native/commit/192ab663b76dd8e640915c0670830c2de557804f

same here. Images shown randomly


fix accidental downgrade of fh-config

fix the accidental downgrade of fh-config

@pb82 looks fine


Tried to write files to KBFS public dir (first time) and failed

cp of files to public dir (slowly) failed.  Took about 1 min for all four file copies to fail.
my log id: 9a4c2a719a04fc4122bd4b1c
/keybase/public$ cp ~/src/grempe.github.io/downloads/keys/* /keybase/public/grempe/
cp: cannot stat '/keybase/public/grempe/0x2C4C3C144301224F.asc': Input/output error
cp: cannot stat '/keybase/public/grempe/0x37B8284B4B3EBE74.asc': Input/output error
cp: cannot stat '/keybase/public/grempe/0x63608B66C0929A67.asc': Input/output error
cp: cannot stat '/keybase/public/grempe/0xA4A288A3BECCAE17.asc': Input/output error

PS - possibly related? Visiting keybase KBFS public pages throwing 501 errors. Perhaps just a service down issue? Not sure if those systems are directly tied.
/keybase/public$ curl -i https://keybase.pub/chris/index.md
HTTP/1.1 503 Service Unavailable: Back-end server is at capacity
Content-Length: 0
Connection: keep-alive

/keybase/public$ curl -i https://chris.keybase.pub/index.md
HTTP/1.1 503 Service Unavailable: Back-end server is at capacity
Content-Length: 0
Connection: keep-alive

Thanks for the report.  keybase.pub is a separate system, and I think is down for purely local reasons.
Looks like you're hitting timeouts during one of the very first KBFS operations that needs to be done when accessing a folder.   It's trying to resolve the folder name to our backend identifier for the folder, and timing out, presumably while trying to access one of our servers.
It's not obvious from the log where exactly it's hanging, but in the server logs I see a nearly hour-long gap between requests from you (and usually there's a ping at least once a minute).  Any chance you might have had a drop in internet connectivity or DNS around 22:45 local time, for a few minutes?
I see more activity now from you on the servers, and I see those asc in your public dir now.  Are things working again?

Yes it worked a short time later when I tried the same operation. I don't
think I was having any outage (I was able to log the report and add info on
github moments later).
I was getting 501's from the web server for hours last night though.
On Fri, Feb 12, 2016 at 23:36 Jeremy Stribling<EMAIL_ADDRESS>wrote:

Thanks for the report. keybase.pub is a separate system, and I think is
down for purely local reasons.
Looks like you're hitting timeouts during one of the very first KBFS
operations that needs to be done when accessing a folder. It's trying to
resolve the folder name to our backend identifier for the folder, and
timing out, presumably while trying to access one of our servers.
It's not obvious from the log where exactly it's hanging, but in the
server logs I see a nearly hour-long gap between requests from you (and
usually there's a ping at least once a minute). Any chance you might have
had a drop in internet connectivity or DNS around 22:45 local time, for a
few minutes?
I see more activity now from you on the servers, and I see those asc in
your public dir now. Are things working again?
—
Reply to this email directly or view it on GitHub
https://github.com/keybase/client/issues/2013#issuecomment-183615665.

Yes it worked a short time later when I tried the same operation. I don't
think I was having any outage (I was able to log the report and add info on
github moments later).

Hmm, ok.  Sorry for the inconvenience,  It might have just been a short connectivity problem to our servers.  Anyway, I'm glad it's working for you now.  Not sure what else to look at, so I will close, but please reopen or open a new issue if you have troubles like this again.

I was getting 501's from the web server for hours last night though.

The keybase.pub website?    Should be fixed now, sorry.

It might have been the backups.  I need to take a look if I can get a
chance.
On Saturday, February 13, 2016, Glenn Rempe<EMAIL_ADDRESS>wrote:

Yes it worked a short time later when I tried the same operation. I don't
think I was having any outage (I was able to log the report and add info on
github moments later).
I was getting 501's from the web server for hours last night though.
On Fri, Feb 12, 2016 at 23:36 Jeremy Stribling<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

Thanks for the report. keybase.pub is a separate system, and I think is
down for purely local reasons.
Looks like you're hitting timeouts during one of the very first KBFS
operations that needs to be done when accessing a folder. It's trying to
resolve the folder name to our backend identifier for the folder, and
timing out, presumably while trying to access one of our servers.
It's not obvious from the log where exactly it's hanging, but in the
server logs I see a nearly hour-long gap between requests from you (and
usually there's a ping at least once a minute). Any chance you might have
had a drop in internet connectivity or DNS around 22:45 local time, for a
few minutes?
I see more activity now from you on the servers, and I see those asc in
your public dir now. Are things working again?
—
Reply to this email directly or view it on GitHub
https://github.com/keybase/client/issues/2013#issuecomment-183615665.

—
Reply to this email directly or view it on GitHub
https://github.com/keybase/client/issues/2013#issuecomment-183713950.

Oh from keybase pub? Yeah different issue.
On Saturday, February 13, 2016, Jeremy Stribling<EMAIL_ADDRESS>wrote:

Yes it worked a short time later when I tried the same operation. I don't
think I was having any outage (I was able to log the report and add info on
github moments later).
Hmm, ok. Sorry for the inconvenience, It might have just been a short
connectivity problem to our servers. Anyway, I'm glad it's working for you
now. Not sure what else to look at, so I will close, but please reopen or
open a new issue if you have troubles like this again.
I was getting 501's from the web server for hours last night though.
The keybase.pub website?
Should be fixed now, sorry.
—
Reply to this email directly or view it on GitHub
https://github.com/keybase/client/issues/2013#issuecomment-183716127.


Support for robotframework 4.x

Add support for robotframework 4.x alongside with previous versions.

Fixes #18


Ensure proper handling of '+' character in requests

Issue relates to https://github.com/angular/angular/issues/18261
Angular v1 didn't have this bug

Fixed


Hashmap of simplex

The main data structure for storing the simplices is a Hashmap, which apparently the access and mutation operation could be somewhat expensive. It would be valuable to see whether it can be turned into a vector and get speed up from that.
Although, I have read some threads saying vector may have a even slower lookup time.

This has been addressed with the use of Dashmap


Parsing calendar invites from email

Is your feature request related to a problem? Please describe.
Somewhat, yes. I have a client which receives google calendar invites to a gmail account. These are however not sent as an attachment, or at least not an attachment recognized by this library.
Describe the solution you'd like
I was able to get it as an attachment (recognizable by at least mac calendar app and the google calendar web app) when I added this here

            } elseif (strtolower($structure->subtype) == "calendar") {

                $structure->ifdisposition = 1;
                $structure->disposition = 'attachment';
                $param = new \stdClass();
                $param->attribute = 'name';
                $param->value = 'invite.ics';
                $structure->parameters[] = $param;
                if ($this->getFetchAttachmentOption() === true) {
                    $this->fetchAttachment($structure, $partNumber);
                }

            } elseif (strtolower($structure->subtype) == "html") {

This provided me with a file invite.ics with, as I said, a valid invitation.

I know it's not the cleanest solution, but it is a solution.
This is the structure the calendar invite come in
 #structure: {#3443
    +"type": 0
    +"encoding": 0
    +"ifsubtype": 1
    +"subtype": "CALENDAR"
    +"ifdescription": 0
    +"ifid": 0
    +"lines": 549
    +"bytes": 27442
    +"ifdisposition": 0
    +"ifdparameters": 0
    +"ifparameters": 1
    +"parameters": array:3 [
      0 => {#3451
        +"attribute": "CHARSET"
        +"value": "utf-8"
      }
      1 => {#3452
        +"attribute": "METHOD"
        +"value": "REQUEST"
      }
    ]
  }

One more thing. In case the invite is the only thing in the email, it has no text nor html body. In this case, at least from my limited testing, the email has a header Content-Type: text/calendar; charset="utf-8"; method=REQUEST
If anyone has a better solution, I'm open to it. In case this would be okay for you, I can PR it.

Any update on this? @Webklex is this solution okay for you? Should I make a PR?
Not trying to rush anything, just kinda need this.

Any feedback, even a wontfix would be appreciated.

I have the same issue. My workaround it getRawBody() and parse it externally.

Thanks @Stromspielplatz, but seems like google started sending those invites differently semi-recently, since this seems to be working fine now without any change to the code.


question about weekend period

hi,
how can i create a schedule to keep my instance running through mon-fri , stop at fri 8PM and start at sun 8PM. I tried thinking through but couldn't come up with one.

**First create the 3 periods **
$ scheduler-cli create-period --stack InstanceScheduler --weekdays sun --begintime 20:00 --endtime 23:59 --name p1
output
{
   "Period": {
      "Name": "p1",
      "Endtime": "23:59",
      "Type": "period",
      "Begintime": "20:00",
      "Weekdays": [
         "sun"
      ]
   }
}

$ scheduler-cli create-period --stack InstanceScheduler --weekdays mon-thu --name p2
output

{
   "Period": {
      "Type": "period",
      "Name": "p2",
      "Weekdays": [
         "mon-thu"
      ]
   }
}

$ scheduler-cli create-period --stack InstanceScheduler --weekdays fri --begintime 00:00 --endtime 20:00 --name p3
output
{
   "Period": {
      "Name": "p3",
      "Endtime": "20:00",
      "Type": "period",
      "Begintime": "00:00",
      "Weekdays": [
         "fri"
      ]
   }
}

Create the schedule
$ scheduler-cli create-schedule --stack InstanceScheduler --periods p1,p2,p3 --timezone Europe/Amsterdam --name sun8pmfri8pm
output
{
   "Schedule": {
      "RetainRunning": false,
      "Enforced": false,
      "Hibernate": false,
      "Name": "sun8pmfri8pm",
      "UseMetrics": false,
      "StopNewInstances": true,
      "Periods": [
         "p2",
         "p3",
         "p1"
      ],
      "UseMaintenanceWindow": false,
      "Timezone": "Europe/Amsterdam",
      "Type": "schedule"
   }
}

checking the schedule
$ scheduler-cli describe-schedule-usage --stack InstanceScheduler --startdate 20190428 --enddate 20190505 --name sun8pmfri8pm
output
{
   "Usage": {
      "2019-04-29": {
         "BillingHours": 24,
         "RunningPeriods": {
            "P2": {
               "Begin": "04/29/19 00:00:00",
               "End": "04/30/19 00:00:00",
               "BillingHours": 24,
               "BillingSeconds": 86400
            }
         },
         "BillingSeconds": 86400
      },
      "2019-05-02": {
         "BillingHours": 24,
         "RunningPeriods": {
            "P2": {
               "Begin": "05/02/19 00:00:00",
               "End": "05/03/19 00:00:00",
               "BillingHours": 24,
               "BillingSeconds": 86400
            }
         },
         "BillingSeconds": 86400
      },
      "2019-04-30": {
         "BillingHours": 24,
         "RunningPeriods": {
            "P2": {
               "Begin": "04/30/19 00:00:00",
               "End": "05/01/19 00:00:00",
               "BillingHours": 24,
               "BillingSeconds": 86400
            }
         },
         "BillingSeconds": 86400
      },
      "2019-04-28": {
         "BillingHours": 4,
         "RunningPeriods": {
            "P1": {
               "Begin": "04/28/19 20:00:00",
               "End": "04/29/19 00:00:00",
               "BillingHours": 4,
               "BillingSeconds": 14400
            }
         },
         "BillingSeconds": 14400
      },
      "2019-05-04": {
         "BillingHours": 0,
         "RunningPeriods": {},
         "BillingSeconds": 0
      },
      "2019-05-03": {
         "BillingHours": 20,
         "RunningPeriods": {
            "P3": {
               "Begin": "05/03/19 00:00:00",
               "End": "05/03/19 20:00:00",
               "BillingHours": 20,
               "BillingSeconds": 72000
            }
         },
         "BillingSeconds": 72000
      },
      "2019-05-05": {
         "BillingHours": 4,
         "RunningPeriods": {
            "P1": {
               "Begin": "05/05/19 20:00:00",
               "End": "05/06/19 00:00:00",
               "BillingHours": 4,
               "BillingSeconds": 14400
            }
         },
         "BillingSeconds": 14400
      },
      "2019-05-01": {
         "BillingHours": 24,
         "RunningPeriods": {
            "P2": {
               "Begin": "05/01/19 00:00:00",
               "End": "05/02/19 00:00:00",
               "BillingHours": 24,
               "BillingSeconds": 86400
            }
         },
         "BillingSeconds": 86400
      }
   },
   "Schedule": "sun8pmfri8pm"
}

Doesn't giving an end time of 23:59 in period p1 kind of stops the instance on sunday , at that time ?

The scheduler has logic that detects adjacent periods and will not stop the instances at the end of a period of there is one.

Great, thank you.


Added Uno game with computer

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #4657

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

https://github.com/kunjgit/GameZone/assets/117537653/7e864d16-f4ff-43c9-a9b0-1e2be8d363de

Thank you soo much for contributing to our repository 💗

Thank you @debangi29 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Please review this PR @kunjgit

I have made the required Changes @ishita-43
Please check this PR
Thanks :)

@ishita-43 I have done it :)
Thank Youuu :))
Please check the PR

Please check it @ishita-43
Thanks

Thank you  @debangi29 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


CuDNN error

Dear developers,
I installed paleo on a machine that did not have cuDNN (since the install instructions say it is optional).   Then I ran
#! /bin/sh
NET_FILE=nets/inception_v3.json
OUT_FILE=results/case_inception
PPP_COMP=0.62
PPP_COMM=0.72
./paleo.sh simulate $NET_FILE
--use_only_gemm
--batch_size=256
--network_name=ethernet
--device_name=K40
--num_workers=1,2,4,8,16,50,100
--ppp_comp=$PPP_COMP
--ppp_comm=$PPP_COMM
--scaling=weak >> $OUT_FILE
but I got the following error.
File "paleo/profiler.py", line 427, in <module>     cli()   File "/Users/pbalapra/anaconda2/envs/paleo/lib/python2.7/site-packages/click/core.py", line 722, in __call__     return self.main(*args, **kwargs)   File "/Users/pbalapra/anaconda2/envs/paleo/lib/python2.7/site-packages/click/core.py", line 697, in main     rv = self.invoke(ctx)   File "/Users/pbalapra/anaconda2/envs/paleo/lib/python2.7/site-packages/click/core.py", line 1066, in invoke     return _process_result(sub_ctx.command.invoke(sub_ctx))   File "/Users/pbalapra/anaconda2/envs/paleo/lib/python2.7/site-packages/click/core.py", line 895, in invoke     return ctx.invoke(self.callback, **ctx.params)   File "/Users/pbalapra/anaconda2/envs/paleo/lib/python2.7/site-packages/click/core.py", line 535, in invoke     return callback(*args, **kwargs)   File "paleo/profiler.py", line 297, in simulate     ppp_comm, parallel, hybrid_workers)   File "paleo/profiler.py", line 149, in simulate     ppp_comm)   File "/Users/pbalapra/Projects/repos/2018/paleo/paleo/simulation.py", line 250, in simulate_scaling     device)   File "/Users/pbalapra/Projects/repos/2018/paleo/paleo/simulation.py", line 59, in _profile_for_apply_updates     device)   File "/Users/pbalapra/Projects/repos/2018/paleo/paleo/profilers/flops_profiler.py", line 24, in __init__     from paleo.profilers import cudnn_profiler as cudnn   File "/Users/pbalapra/Projects/repos/2018/paleo/paleo/profilers/cudnn_profiler.py", line 10, in <module>     from paleo.third_party import libcudnn   File "/Users/pbalapra/Projects/repos/2018/paleo/paleo/third_party/libcudnn.py", line 52, in <module>     raise OSError('cuDNN library not found') OSError: cuDNN library not found

Same error with a cleaned up backtrace:
$ ./paleo.sh simulate --use_only_gemm nets/alex_v2_1gpu.json
nets/alex_v2_1gpu.json
==========
Traceback (most recent call last):
  File "paleo/profiler.py", line 427, in <module>
    cli()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "paleo/profiler.py", line 297, in simulate
    ppp_comm, parallel, hybrid_workers)
  File "paleo/profiler.py", line 149, in simulate
    ppp_comm)
  File "build/bdist.linux-x86_64/egg/paleo/simulation.py", line 250, in simulate_scaling
    device)
  File "build/bdist.linux-x86_64/egg/paleo/simulation.py", line 59, in _profile_for_apply_updates
    device)
  File "build/bdist.linux-x86_64/egg/paleo/profilers/flops_profiler.py", line 24, in __init__
  File "build/bdist.linux-x86_64/egg/paleo/profilers/cudnn_profiler.py", line 10, in <module>
  File "build/bdist.linux-x86_64/egg/paleo/third_party/libcudnn.py", line 52, in <module>
    class cudnnMappingError(cudnnError):
OSError: cuDNN library not found

@gaul, @pbalapra r u able to solve this issue? I am also getting a similar issue


Merge the nox jobs in one job that can be used for branch protection

What's needed?
We need to avoid having to update branch protection rules each time a new matrix item is added or removed from the nox job.
Proposed solution
Same as the cross-arch test jobs in the SDK:
https://github.com/frequenz-floss/frequenz-sdk-python/blob/d34aea674ee10363a3b99bb01d7b2d2b67d94a1d/.github/workflows/ci.yaml#L175-L188
If we make one nox job that depends on all the matrix jobs, then we can use that for branch protection so we don't need to update the protection rules each time the matrix is changed.
Use cases
No response
Alternatives and workarounds
No response
Additional context
SDK PR:

https://github.com/frequenz-floss/frequenz-sdk-python/pull/622

This was done already.


Modifying the limit size of yaml and GRPC inbound message

Fix <When the size of configuration files exceeds 4M, the OAP get configuration fail>

[ ] Add a unit test to verify that the fix works.
[x] The default size is 4M,modifying the limit size to maximum.

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

Which configuration file is over 4M? Alerting rule?

This change should be applied for certain use case, rather than making all YAML files adopting this change.
And the max length should not be hard coded, it should be configurable.
For example, if you are talking about alerting case, we should make alerting file reader to accept a configurable size as a parameter.
Your current change is too reckless, and could cause OOM easily for loading a wrong file or malicious file

Your current change is too reckless, and could cause OOM easily for loading a wrong file or malicious file

This is a very valid point, please adjust to a setting instead of hardcoded. @ooi22

Which configuration file is over 4M? Alerting rule?

yes

Which configuration file is over 4M? Alerting rule?

yes

Please follow the comment above.

done

Your current change is too reckless, and could cause OOM easily for loading a wrong file or malicious file

This is a very valid point, please adjust to a setting instead of hardcoded. @ooi22

Done.

You removed YAML resolver relative changes? Are those irrelevant?

configuration-vocabulary.md and changes.md should be updated accordingly.

You removed YAML resolver relative changes? Are those irrelevant?

Yes, and it is another optimization point, but I have no time to change it to a setting instead of hardcoded, so I removed it.

configuration-vocabulary.md and changes.md should be updated accordingly.

Done


/health API missing from Traefik v2 version to collect http status code status for traefik

We used to collect metrics using the following API
/health GET JSON health metrics
{"pid":310033,"uptime":"18h42m1.94740283s","uptime_sec":67321.94740283,"time":"2020-12-07 01:07:03.888721452 +0530 IST m=+67322.020047077","unixtime":1607283423,"status_code_count":{"200":161,"202":7,"204":4,"400":3,"412":2},"total_status_code_count":{"200":184066137,"201":150279,"202":4128811,"204":4021888,"217":22222,"303":212,"307":28012,"400":611289,"401":13160,"403":9999,"404":51243,"406":1819,"408":1,"412":2098453,"414":4,"417":80362,"422":3412,"429":33,"450":3,"499":68,"500":123986,"502":389,"504":34172,"509":11},"count":177,"total_count":195445965,"total_response_time":"1655h56m12.876899877s","total_response_time_sec":5961372.876899877,"average_response_time":"30.501386ms","average_response_time_sec":0.030501386}
As also mentioned here https://doc.traefik.io/traefik/v1.7/configuration/api/

What is the v2 traefik alternative for this? Did traefik deprecate this API completely?
Don't see the API in the latest version of traefik https://doc.traefik.io/traefik/operations/api/ there is no mention of deprecating this API in the migration guide. Let me know if you have more details around the same

Hello @ankit-timbadia,
Thanks for your interest in Traefik !
It's indeed one thing that has been deprecated in the v2
You can use the ping endpoint in conjunction of activating metrics, for instance with prometheus, to have the same features but on two different endpoints.
I hope this will help you.
I'll close this issue as a question, please check our Community Forum if you need help on the configuration.


python37Packages.APScheduler: 3.5.3 -> 3.6.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-apscheduler/versions.
meta.description for python37Packages.APScheduler is: '"A Python library that lets you schedule your Python code to be executed"'.

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 3.6.0 with grep in /nix/store/axp14s44hsrdj8ljk14c71zlclwxmrfm-python3.7-APScheduler-3.6.0
directory tree listing: https://gist.github.com/069338561d5affb9805f709a5706bfe5
du listing: https://gist.github.com/af9c72ec03bbfd5580d75f632d5236e9

Rebuild report (if merged into master) (click to expand)

12 total rebuild path(s)
3 package rebuild(s)
3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
flexget
python27Packages.APScheduler
python37Packages.APScheduler

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/axp14s44hsrdj8ljk14c71zlclwxmrfm-python3.7-APScheduler-3.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.APScheduler https://github.com/r-ryantm/nixpkgs/archive/5849814be09e20673c28860d66b22a4f36ccd351.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/axp14s44hsrdj8ljk14c71zlclwxmrfm-python3.7-APScheduler-3.6.0
ls -la /nix/store/axp14s44hsrdj8ljk14c71zlclwxmrfm-python3.7-APScheduler-3.6.0/bin

@GrahamcOfBorg build flexget

flexget darwin failure looks unrelated.


Adds power, toughness, loyalty, and flavor_text methods to card object

Tested without any problems so far. Addresses issue #7

Thanks for doing this, I'll take a better look at this later today.

Alright, verified this is working. Merging into develop, closing this.

Nice!


GitHub tag: wrong value displayed on badge

Please compare  with GitHub API returned values
v1.4.0-alpha.4 should be displayed as the latest version tag.

@RedSparr0w - is this the same issue that you're looking at in #1628 ?

All tags returned by GH API are valid semvers, I'm not sure #1628 will help.

@chris48s Was fairly similar, have updated to include this issue also.

Is this definitely the behavior we want? Many of our other version badges ignore prereleases.
I see that #1628 includes a modification to accommodate this, though I wonder if in this case, we should default to ignoring prereleases, and let developers choose if they want to see them.

Thx

Usage:
https://img.shields.io/github/tag-pre/moneymanagerex/moneymanagerex.svg