Assoc Update Error

When I try to update the name or description of an Assoc I get the following error:
      DataServiceClientException: {
        "odata.error":{
          "code":"","message":{
            "lang":"en-US","value":"[ActivityID: 00000000-0000-0000-0000-000000000000] **Assertion failed: !result  Proper
ties cannot be changed: SourceId, DestinationId, Source, Destination"
          },"innererror":{
            "message":"Assertion failed: !result  Properties cannot be changed: SourceId, DestinationId, Source, Destina
tion**","type":"System.Diagnostics.Contracts.__ContractsRuntime+ContractException","stacktrace":"   at biz.dfch.CS.Appclus
ive.Core.OdataServices.Core.Assoc.ValidateOnPatch(Delta`1 delta)\r\n   at biz.dfch.CS.Appclusive.Core.OdataServices.Core
.AssocsController.<Patch>d__c.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---
\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServ
ices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Threading.Tasks.TaskHelpersExtension
s.<CastToObject>d__3`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.Ta
skAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ApiControllerActionInv
oker.<InvokeActionAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown
---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerS
ervices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttr
ibute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was th
rown ---\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of
 stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.
ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotificati
on(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--
- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.Task
Awaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNo
tification(Task task)\r\n   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\
r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Web.Http.Filters.ActionF
ilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()\r\n--- End of stack trace from previous location where excepti
on was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Run
time.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.Ac
tionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where
 exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at Sy
stem.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Co
ntrollers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where except
ion was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Ru
ntime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Filters.A
uthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of stack trace from previous
 location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task ta
sk)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Sys
tem.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of sta
ck trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.Thro
wForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(T
ask task)\r\n   at biz.dfch.CS.Appclusive.Core.Security.AuthenticationFilters.MultiAuthenticationFilter.<ChallengeAsync>
d__11.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime
.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleN
onSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.AuthenticationFilterResult.<ExecuteAsyn
c>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtim
e.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.Handle
NonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d_
_0.MoveNext()"
          }
        }
      }

even though I am not updating the properties SourceId, DestinationId, Source, Destination

@pbimpisidis I could reproduce this issue on my machine. This is a bug in Appclusive, which has to be fixed.

Duplicated by dfch/biz.dfch.CS.Appclusive#418

@rufer7 alright, let me know when it's fixed because it seems that I don't have access to that link.Thanks!

@pbimpisidis sure, I'll let you know. Let the test fail and as soon as the bug is fixed the test will be green


Choosing Java Standard Library source and version

Which version of the Java Standard Library is used by default in J2CL?  Is it:

A bundled version?
The version in the JRE used during the build?

If we want to use a different version of the class library, how do we specify where to find the class files?

J2CL uses its own version that it translates to JS too. When compiling your classes with JavaC, it needs to be used as the bootstrap classpath (or a system image with JDK 9+).
(This is all taken care of for you when using J2CL through Bazel)

Where is source for the J2CL version of the standard library?  I looked in j2cl/jre/java/java but it doesn't seem to be what you are talking about.

It's shared with GWT for the most part: https://github.com/gwtproject/gwt/tree/master/user/super/com/google/gwt/emul

Thanks!  That'exactly what I was looking for.

Sorry to comment to an already closed issue, Can we super-source missing JRE classes like we to in GWT?


ARROW-3780 [R]: Failed to fetch data: invalid data when collecting int16

This just removed the STOP_IF_NULL macro that was unused.

Codecov Report

Merging #4505 into master will decrease coverage by 11.36%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #4505       +/-   ##
===========================================
- Coverage   88.28%   76.92%   -11.37%
===========================================
  Files         846       51      -795
  Lines      103662     1976   -101686
  Branches     1253        0     -1253
===========================================
- Hits        91523     1520    -90003
+ Misses      11892      456    -11436
+ Partials      247        0      -247

Impacted Files
Coverage Δ

r/src/arrow_types.h
88.46% <ø> (ø)
:arrow_up:

python/pyarrow/ipc.pxi

cpp/src/arrow/csv/chunker-test.cc

cpp/src/parquet/column_page.h

cpp/src/parquet/bloom_filter-test.cc

cpp/src/arrow/array/builder_decimal.cc

cpp/src/plasma/client.cc

cpp/src/arrow/io/test-common.h

cpp/src/arrow/util/int-util-test.cc

cpp/src/arrow/python/io.cc

... and 786 more

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 2e47488...21bd75e. Read the comment docs.

@romainfrancois @javierluraschi I'm curious if the underlying issue was resolved in passing in some other PRs, can you comment in the PR description?
@nealrichardson it might be worthwhile to write down some document in docs/source/developers/r.rst about how to bootstrap a Sparklyr or SparkR-capable development environment. If I wanted to check this out for myself I wouldn't know where to begin

Code deletion LGTM though my instinct is that we should just fold it in to some other patch since it's unrelated to either fixing this issue or testing that it was already fixed.
@wesm https://github.com/rstudio/sparklyr/blob/master/.travis.yml#L61-L87 is where I'd start with getting the sparklyr setup. Developer docs aside, it's worth considering whether we want to set up some proper integration test with sparklyr. To start, we could pay attention to (and maybe see if we could wire up some notifications around) the integration tests that sparklyr is doing, which, as https://github.com/rstudio/sparklyr/pull/2032 shows, does catch things that we break.


make share manager single source of truth

Sharing
This document proposes changes on managing and accessing shares in reva. The goal is to streamline the information and make the process more robust.
Summary

The share managers become the single source for all share information, including names / mountpoints
Shares are no longer recorded on the storage using the storage providers
Accepting shares no longer creates a reference in a storage provider but in the share manager
The sharesstorageprovider provides both a file tree exposing all accepted shares as well as a separate space for each received share

Current implementation
Basic information about shares - i.e. who shared what with whom - are currently managed by the share manager. Additional information such as the names and the mountpoints of the shares are physically kept on the storage as references in the according locations and those references are being maintained by the storage providers.
This split of information makes it difficult to gather the mountpoints of all shares of user and is prone to inconcistencies between the data in the share manager and on the storage.

There is no way around looking up the name of the accepted share, either in the storage provider or in the share manager: we need it to deduplicate shares with the same name.
There is significant overhead when having to stat all shares to get the actual name (or path) of the accepted share

Proposed change
With this proposal shares will no longer be "mounted" on the storage. Instead the names and mountpoints move into the share manager alongside the basic share information and all references disappear from the storage (they can optionally be sent there as well and the storage driver can decide how to represent them, eg. as symlinks).
A SharesStorageProvider provides a file tree of all shares the currently logged in user has received and that tree can be mounted by the gateway at an appropriate location, eg.: /shares or /home/shares. In addition the SharesStorageProvider also takes care of exposing received shares as spaces.
With this change the manager becomes the single source of truth regarding shares. It can thus answer both:

the question which resources a specific user shared with others, as well as
the question which shares a specific user received, including their acceptance state and mount points.

The storage providers and drivers no longer have to keep track of shares, in fact they do not have to know shares exist in the first place.
This becomes optional, as was intended from the beginning, by configuring the gateway to (not) forward grant requests and create reference requests to the storage providers. See commit_share_to_storage_grant and commit_share_to_storage_ref. Administrators can still configure the gateway to forward grants to storage providers and they can still apply acls to share a resource on the os layer. The source of truth however is the share manager (think of it as periodically setting the ACLs on the storage, overwriting existing ACLs).
Expected Results
The SharesStorageProvider reads all metadate from the share manager and can provide access to all received shares by returning CS3 references.
FaQ
Share indicators require asking the share manager
To render a PROPFIND result for public and authenticated listings of folders, we need to know if a resource has been shared or not. If we are not persisting any share information in the storage provider we need to query the share manager for every PROPFIND. We can optimize this case when listing folders, but an overhead for merging two potenitially large lists remains.
Alternate solution: treat the storage provider like a cache for share properties. We could forward share requests to the storage providers and they could persist the data on the owners side, but only as a cache. The cache invalidation must happen when a share is being accessed (the share manager has to be checked, to verify the share still exists) and it should happen when a share is updated/removed.
Related Pull Requests

https://github.com/cs3org/reva/pull/2023 (old pr) implements the SharesStorageProvider

many of the now failing tests are caused by not being able to rename a received share in the current implementation. Shifting the responsibility to the share manager will make fixing them possible. It would also allow mounting multiple shares with the same name (by adding a number suffix as in oc10)

https://github.com/owncloud/ocis/pull/2232 add necessary config to ocis

Remaining tasks

as an example teach the owncloudsql share manager where mount points are coming from

[ ] make renaming accepted shares possible by reading and updating the oc_share table
[ ] extend the necessary data structures so that the SharesStorageProvider can fetch the mount points: https://cs3org.github.io/cs3apis/#cs3.sharing.collaboration.v1beta1.ReceivedShare needs at least a mount point / path / reference
derive necessary changes for the cs3 share manager api
keep in mind that in oc10 group shares have 'child' share entries in the oc_share table for every user. It is used to persist the mount point of a share for every user (in oc10 users can rename and move the mount point to arbitrary paths).

make SharesStorageProvider remove a cached grant from the storage provider if the share is no longer valid (also fixes expiry)

Difference to a owncloud10homestorageprovider
The SharesStorageProvider jails all accepted shares of a user in a single directory. In contrast to the owncloud 10 home it does not allow arbitrary mount points. When listing shares from an existing oc10 database the file_target column might contain a deep path like /some/deep/moint/point/for/received/share/foo. It will only be listed by the basename. Multiple received shares with the same base name are deduplicated by appending the shareid in brackets. This workaround will go away with spaces concept.

[ ] extend collaboration ListReceivedSharesResponse with mountpoint (type reference)
[ ] extend ocm ListReceivedSharesResponse with mountpoint (type reference)
[ ] extend share manager UpdateShareRequest with mountpoint (not the gateway)
[ ] replace UpdateShareRequest.UpdateField with FieldMask in UpdateShareRequest

blocked by https://github.com/cs3org/cs3apis-build/pull/14


Require wiki about how to build and how to run.

Require wiki about how to build and how to run.
Or, even how to install.
I have read the source code from some time but still can not get a start point about how to run.

This is mostly too old to run today.
It might work in an emulator, but probably not.
I believe that the intent of releasing this is to get insight on how they used to do things in the early 80's.
You're intended to learn from this, not to use it on your Ryzen 9 core desktop ;)

Simply to fork and experiment!
For fun!
If i can built and execute it on qemu ou vm it's OK!

Should at least release the old build tools. you will be suprised what some nuts out there will do. Maybe cross compile for Arduino 😂😂😂😂

Sorry - the intent of this repo is to preserve a moment in computer history, not to provide a simple way to build and run a very old OS on todays dramatically different hardware.
That's not to say that one could not get this code running, but doing so will take some effort.


Polyline with multiple colors

Hello All,
I am trying to draw a polyline with pathLonLat set as an array of LonLat objects and pathColors as an array of Vec4. The structure is as follows:
pathLonLat: [[LonLat1, LonLat2, LonLat3, LonLat4], [LonLat5, LonLat6, LonLat7], [LonLat8, LonLat9, LonLat10, LonLat11]]
pathColors: [[Vec41, Vec41, Vec41, Vec41], [Vec42, Vec42, Vec42], [Vec43, Vec43, Vec43, Vec43]]

Example color:

Vec4 {x: 0.24313725490196078, y: 0.2627450980392157, z: 0.9725490196078431, w: 1}

I expect to have a polyline with three "sections" of different colors (Vec41, Vec42, Vec43). However, the polyline is drawn but with "holes":

I even tried without any success:

with different browsers (macOS-M1 chip) Firefox, Safari, Chrome
using a different structure for the pathColors:

pathColors: [Vec41, Vec42, Vec43]
Could you please tell me what is wrong? Thank you for your support.
Hubert

Hi @GuittonHubert , Try array instead of Vec4 as a color, like [r, g, b, a]. Looks like vec4 is not supported in pathColors.

Hi @Zemledelec,
Thank you for your answer. The color is taken into account when switching from og.Vec4 to array as you said. Perfect!
Regarding holes however; the "issue" is not an issue in fact. I realized that it is required to repeat some coordinates in pathLonLat to ensure there is a continuity between the segments; that is to say:
pathLonLat: [[LonLat1, LonLat2, LonLat3, LonLat4], [LonLat4 , LonLat5, LonLat6, LonLat7], [LonLat7, LonLat8, LonLat9, LonLat10, LonLat11]]
That's logical...
As a side note, the following structure seems to be sufficient:
pathColors: [Vec41, Vec42, Vec43]

It's working, so I close this issue. Thank you for your help.

Just in case, long polylines could have some sort of z-fighting artifacts, just need more points between them.


Enable tagging without multi selection (see #597)

This pull request addresses the issue https://github.com/angular-ui/ui-select/issues/597
I have included a sample demo code as well.
Thanks,

Thanks again for this @catchshyam.  Does this code work for you?  I've checked out your branch and tested locally.  The new item appears in the dropdown but it's not selectable via clicking it or hitting ENTER on the keyboard.

Nevermind.  Good to go. :+1:

Small side note, on-select isn't needed in the demo.  I will remove it for clarity.

Thanks @brianfeister . I will take the latest release into my project now.


fatal error: eth_phy/phy_lan8720.h: No such file or directory (IDFGH-1565)

Environment

Module or chip used:  [ESP32-WROOM-32]
IDF version : v4.0-dev-1287-gd7e659df2
Build System:         [Make]
Compiler version : 1.22.0-80-g6c4433a
Operating System:     [Linux]
Power Supply:         [USB]

Problem Description
The library eth_phy/phy_lan8720.h is not found in the esp-idf. May be the library is depreciate. It shows compilation error.
Code to reproduce this issue
#include "eth_phy/phy_lan8720.h"

void app_main()
{

}

Debug Logs
/home/manish/esp32_led/main/ethernet.cpp:26:33: fatal error: eth_phy/phy_lan8720.h: No such file or directory
compilation terminated.
/home/manish/esp/esp-idf/make/component_wrapper.mk:291: recipe for target 'ethernet.o' failed
make[1]: *** [ethernet.o] Error 1
/home/manish/esp/esp-idf/make/project.mk:584: recipe for target 'component-main-build' failed

@manish5897 Yes, Ethernet driver has refactored in v4.0. Now we have a new approach to install the Ethernet driver. https://github.com/espressif/esp-idf/blob/master/examples/ethernet/basic/main/ethernet_example_main.c#L83

Let me know, the stable idf version in which #include "eth_phy/phy_lan8720.h" library is working fine.

@manish5897 Thank you. If you are going to try the new esp-eth driver, feel free to let us know when you come into trouble. Or would you mind to close this issue since it's not a real bug in v4.0?

Hi, I don't understand, how can I solve this issue ?


chore: removed scheduled release

Description
Removed the weekly release automation

What's the reason?

@michelkaporin
What's easier?

Enable workflow -> Start workflow -> Wait 40 minutes -> Remember to disable workflow -> Done
Start workflow -> Done

@asaf92 you don't need to do option 1 at all. The workflow is available via dispatch that allows you to run it manually already. When you disable it you just disable scheduled run, not the manual trigger.

@michelkaporin Thanks, I did not know that 👍

Taking my words back, feel free to merge it in. Btw you don't need to wait 40 mins to disable workflow back.


Kanban Board

Link to our project: Project
We are a team of 3 members

Team member 1: @andrianarivo
Team member 2: @vangelif
Team member 3: @Bifabig

Hi Student  ,
Status: Approved :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

To Highlight 💪🏻

Each task has a description ✔
Tasks are equally distributed✔
kanban is ready✔

Good job implementing the requirements  :+1: Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Optional Suggestions  :

N/A

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag  ichala in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


how to make 64x64 from p5 32x32 4 panels ?

how to make 64x64 from p5 32x32 4 panels ?

Would be really interesting to me as well. I have the same issue with stacking 2 Panel each 64x32.
Is the pull request #51 potentially solving the issue?
See here: https://github.com/2dom/PxMatrix/pull/51

Not out of the box. But you could  put 4 of them in a row. You then have to do some simple algebra to map everything beyond 32 vertical to the second set of panels


Swift documentation

in swift working with:
let map: FSInteractiveMapView = FSInteractiveMapView()
 map.frame = self.view.frame
 var mapData = [String: Int]()
 mapData["IR-01"] = 0
 mapData["IR-02"] = 10
 var mapColors = [UIColor]()
 mapColors.append(UIColor(red:0.26, green:0.112, blue:0.0, alpha:1.0))
 mapColors.append(UIColor(red:0.45, green:0.132, blue:0.0, alpha:1.0))

 map.loadMap("iranHigh", withData:mapData, colorAxis:mapColors)
 view.addSubview(map)
 view.setNeedsDisplay()

its working correctly but i cant add click Handler
how can i add click handler in Swift?
@ArthurGuibert @birslip

Hello mahdigh99,
When I add this code in the ViewDidLoad() and run the project nothing is displayed in the simulator. Do you have working example for it?

@rakeshbethu Make sure you do these things:

correctly add FSInteractiveMap library in your Project ( you can easily add it by CocoaPod )
make sure before deceleration of Viewcontroller  you have -> import FSInteractiveMap
make sure you have an SVG file named "world-continents-low" in the same directory with ViewController
let mapName: String! = String("world-continents-low")
if your SVG file name is different just edit this line of code.

I'm attaching my working project you can use it to understand better. (if it doesn't work in your computer just open the terminal and go to project directory and Run pod install in terminal)
Map-chart-Test.zip

Thanks a lot mahi, This worked out really well. Very thanks for your quick turn around.

Hello mahdigh99,
i want to show state names and change color of map also want to zoom in and zoom out map. can you please help me

Hi mazharhameed,
I think the best way to show state names is adding state names to SVG files.
you can change the color of the map by this code:
`        var mapColors = UIColor
mapColors.append(UIColor(red:1.00, green:0.00, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.20, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.40, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.71, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.94, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:0.44, green:0.71, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:0.00, green:0.50, blue:0.00, alpha:1.0))
    mapColors.reverse()

    map.loadMap(mapName, withData:mapData, colorAxis:mapColors)`

and for zoom in and & zoom out I think the best way is using scroll view,
   scrollView.minimumZoomScale = 1.0;     scrollView.maximumZoomScale = 3.0
but the alternative is :
`
var previousScale:CGFloat = 1.0
override func viewDidLoad() {
    super.viewDidLoad()

    let gesture = UIPinchGestureRecognizer(target: self, action: #selector(pinchAction(sender:)))
    self.view.addGestureRecognizer(gesture)
}

func pinchAction(sender:UIPinchGestureRecognizer) {
    let scale:CGFloat = previousScale * sender.scale
    self.view.transform = CGAffineTransform(scaleX: scale, y: scale);

    previousScale = sender.scale
}

`

thanks alot bro
On Sat, Apr 27, 2019 at 7:33 PM mahdigh99<EMAIL_ADDRESS>wrote:

Hi mazharhameed,
I think the best way to show state names is adding state names to SVG
files.
you can change the color of the map by this code:
` var mapColors = UIColor
mapColors.append(UIColor(red:1.00, green:0.00, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.20, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.40, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.71, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.94, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:0.44, green:0.71, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:0.00, green:0.50, blue:0.00, alpha:1.0))
mapColors.reverse()

map.loadMap(mapName, withData:mapData, colorAxis:mapColors)`

and for zoom in and & zoom out I think the best way is using scroll view,
scrollView.minimumZoomScale = 1.0; scrollView.maximumZoomScale = 3.0
but the alternative is :
`
var previousScale:CGFloat = 1.0
override func viewDidLoad() {
super.viewDidLoad()
let gesture = UIPinchGestureRecognizer(target: self, action: #selector(pinchAction(sender:)))
self.view.addGestureRecognizer(gesture)

}
func pinchAction(sender:UIPinchGestureRecognizer) {
let scale:CGFloat = previousScale * sender.scale
self.view.transform = CGAffineTransform(scaleX: scale, y: scale);
previousScale = sender.scale

}
`
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ArthurGuibert/FSInteractiveMap/issues/13#issuecomment-487290911,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5SV2L5LU5AZJIEZUQ7R6DPSRPZZANCNFSM4EKMK4EA
.

bro i need your help. i want to switch on new controller on map clickable
area. how to get clickable state and move accordingly
On Mon, Apr 29, 2019 at 1:58 PM mazhar hameed<EMAIL_ADDRESS>wrote:

thanks alot bro
On Sat, Apr 27, 2019 at 7:33 PM mahdigh99<EMAIL_ADDRESS>wrote:

Hi mazharhameed,
I think the best way to show state names is adding state names to SVG
files.
you can change the color of the map by this code:
` var mapColors = UIColor
mapColors.append(UIColor(red:1.00, green:0.00, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.20, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.40, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.71, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.94, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:0.44, green:0.71, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:0.00, green:0.50, blue:0.00, alpha:1.0))
mapColors.reverse()

map.loadMap(mapName, withData:mapData, colorAxis:mapColors)`

and for zoom in and & zoom out I think the best way is using scroll view,
scrollView.minimumZoomScale = 1.0; scrollView.maximumZoomScale = 3.0
but the alternative is :
`
var previousScale:CGFloat = 1.0
override func viewDidLoad() {
super.viewDidLoad()
let gesture = UIPinchGestureRecognizer(target: self, action: #selector(pinchAction(sender:)))
self.view.addGestureRecognizer(gesture)

}
func pinchAction(sender:UIPinchGestureRecognizer) {
let scale:CGFloat = previousScale * sender.scale
self.view.transform = CGAffineTransform(scaleX: scale, y: scale);
previousScale = sender.scale

}
`
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ArthurGuibert/FSInteractiveMap/issues/13#issuecomment-487290911,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5SV2L5LU5AZJIEZUQ7R6DPSRPZZANCNFSM4EKMK4EA
.

my map is not showing when i add state names on svg file
On Mon, Apr 29, 2019 at 3:39 PM mazhar hameed<EMAIL_ADDRESS>wrote:

bro i need your help. i want to switch on new controller on map clickable
area. how to get clickable state and move accordingly
On Mon, Apr 29, 2019 at 1:58 PM mazhar hameed<EMAIL_ADDRESS>wrote:

thanks alot bro
On Sat, Apr 27, 2019 at 7:33 PM mahdigh99<EMAIL_ADDRESS>wrote:

Hi mazharhameed,
I think the best way to show state names is adding state names to SVG
files.
you can change the color of the map by this code:
` var mapColors = UIColor
mapColors.append(UIColor(red:1.00, green:0.00, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.20, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.40, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.71, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:1.00, green:0.94, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:0.44, green:0.71, blue:0.00, alpha:1.0))
mapColors.append(UIColor(red:0.00, green:0.50, blue:0.00, alpha:1.0))
mapColors.reverse()

map.loadMap(mapName, withData:mapData, colorAxis:mapColors)`

and for zoom in and & zoom out I think the best way is using scroll view,
scrollView.minimumZoomScale = 1.0; scrollView.maximumZoomScale = 3.0
but the alternative is :
`
var previousScale:CGFloat = 1.0
override func viewDidLoad() {
super.viewDidLoad()
let gesture = UIPinchGestureRecognizer(target: self, action: #selector(pinchAction(sender:)))
self.view.addGestureRecognizer(gesture)

}
func pinchAction(sender:UIPinchGestureRecognizer) {
let scale:CGFloat = previousScale * sender.scale
self.view.transform = CGAffineTransform(scaleX: scale, y: scale);
previousScale = sender.scale

}
`
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ArthurGuibert/FSInteractiveMap/issues/13#issuecomment-487290911,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5SV2L5LU5AZJIEZUQ7R6DPSRPZZANCNFSM4EKMK4EA
.

area. how to get clickable state and move accordingly

you can add this code to click event of each state to switch view controllers:
   performSegueWithIdentifier("nextViewController", sender: self)

bro. my map is not clickable when i zoom in
On Wed, May 1, 2019 at 3:09 PM mahdigh99<EMAIL_ADDRESS>wrote:

area. how to get clickable state and move accordingly
you can add this code to click event of each state to switch view
controllers:
performSegueWithIdentifier("nextViewController", sender: self)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ArthurGuibert/FSInteractiveMap/issues/13#issuecomment-488249393,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL5SV2ICAIWRCHVJZSYHIDLPTFT5VANCNFSM4EKMK4EA
.


Add IPv6 support and enhance interface binding behavior

Overview
This PR introduces enhanced support for IPv6 and multiple IP addresses in the Reticulum networking stack, specifically:
TCPServerInterface

Support for binding to multiple IP addresses, including both IPv4 and IPv6. For example, listen_ip = <IP_ADDRESS>, ::0 allows listening on all IPv4 and IPv6 addresses simultaneously.
Improved device option behavior to bind to all addresses (IPv4 and IPv6) on the specified network interface, including the link-local IPv6 address. This resolves inconsistencies in the previous behavior, which only bound to the first IPv4 address on the given interface.

TCPClientInterface

Enables connections to target hosts using IPv6 addresses to ensure IPv6 compatibility for outbound TCP connections.

UDPInterface
⚠ Work in progress: should be aligned with the enhanced TCPServerInterface and TCPClientInterface behavior, allowing for listening on and forwarding to multiple addresses, both IPv4 and IPv6.
Documentation

Added examples of using IPv6 addresses and specifying multiple listening addresses in the Reticulum documentation and example rnsd configuration file.

Rationale

IPv6 support is aligned with Reticulum's goal for interfaceability, and is critical as IPv4 address space becomes increasingly scarce. Many operators, including myself, are already transitioning to IPv6-only networks.
The current behavior of the device option is inconsistent with expectations. Binding to a network device should intuitively bind to all associated IP addresses on that interface (both IPv4 and IPv6). The previous implementation only bound to the first IPv4 address, which causes issues with multi-address network interfaces, as is common in dual-stack or IPv6-only configurations. This PR corrects that behavior to improve usability and functionality.

I’ve created this draft PR to address the issues highlighted in this comment.
Since this is a substantial change, I want to ensure there’s ample time for feedback and testing from all interested parties, particularly @deavmi, @gretel, and @markqvist.
So far, I’ve tested the changes, and all TCP functionality appears to be working as expected. However, additional feedback and testing from others would be highly valuable. Next, I’ll focus on implementing the changes for the UDP interface.

See PR #600 regarding TCPClientInterface.
On 20 November 2024 16:09:10 SAST, Rodrigo Laneth @.***> wrote:

I’ve created this draft PR to address the issues highlighted in this comment.
Since this is a substantial change, I want to ensure there’s ample time for feedback and testing from all interested parties, particularly @deavmi, @gretel, and @markqvist.
So far, I’ve tested the changes, and all TCP functionality appears to be working as expected. However, additional feedback and testing from others would be highly valuable. Next, I’ll focus on implementing the changes for the UDP interface.
--
Reply to this email directly or view it on GitHub:
https://github.com/markqvist/Reticulum/pull/619#issuecomment-2488682637
You are receiving this because you were mentioned.
Message ID: @.***>

Tristan B. Velloza Kildaire
Web: https://deavmi.assigned.network
BNET IRC: deavmi
Email: @.***

It seems this PR accidentially clashed with my own IPv6 binding work. For context, I started worked on the intreface modularity, hotplug and external interface module loading yesterday morning, but wanted to get @deavmi's IPv6 PRs mreged in first, since I misunderstood the PR comments, and thought they were tested and ready for merge.
When I found they were not really functional yet, I thought I'd just get the IPv6 stuff implemented first thing anyway, since it's been a lacking and sore point for a while. As such I didn't really check anything else, and this PR went unnoticed until I had practically completed the implementation.
I really appreciate you work and initiative here @rlaneth, but since the IPv6 stuff is implemented now, and part of the codebase for the interface modularity work, I will keep going with that.
I'd also like to note that your idea of allowing a single RNS interface to bind to multiple IP-addresses, and potentially multiple physical devices is neat and useful, but for now, we will have to go with mapping single RNS interfaces to single bind IP-addresses (and thus single kernel devices), since allowing multiple will greatly complicate interface hotplug, kernel up/down events, physical interfaces disconnecting/reconnecting etc.
The functionality will certainly be useful, but if anyone wants to work on it, it needs to be tested in all possible scenarios of kernel interfaces going up/down, disappearing/reappearing, and on all supported platforms (Linux, Android, macOS, Windows). From experience, getting all of that right takes a lot of time, and I don't currently have it, since focus is on getting interface modularity done right now.

Also, since there is now IPv6 support for both client and server TCP interfaces in the master branch, I would hugely appreciate it if you can help testing out this in a variety of scenarios. I have limited IPv6 capable infrastructure available right now, so any help is appreciated.
Everything seems to work out fine over both link-local and wider networks, though. Tested with Yggdrasil as well, and that checks out.

@markqvist Thanks for the feedback and for implementing IPv6 support!
I understand the decision to keep single RNS interfaces bound to single IP addresses for now—it's clear that binding an interface to multiple addresses would be a major change and there'd be a lot to consider for such an implementation to work out well.
I’ll definitely be helping test out the current implementation in the master branch, as my interest in running Reticulum over IPv6 networks was what initially drove me to start working on it! 😉

Awesome, thank you so much for that! Let me know if you encounter anything that's not acting as expected.

I’ll definitely be helping test out the current implementation in the master branch, as my interest in running Reticulum over IPv6 networks was what initially drove me to start working on it! 😉

Amen brother, amen

Noted
On 21 November 2024 18:48:33 SAST, markqvist @.***> wrote:

Awesome, thank you so much for that! Let me know if you encounter anything that's not acting as expected.
--
Reply to this email directly or view it on GitHub:
https://github.com/markqvist/Reticulum/pull/619#issuecomment-2491756931
You are receiving this because you were mentioned.
Message ID: @.***>

Tristan B. Velloza Kildaire
Web: https://deavmi.assigned.network
BNET IRC: deavmi
Email: @.***


Added Haaga-Helia University of Applied Sciences

Pull request for my school

@DeveloperDaniell myy.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!


spectral eye to fly around with and spy on enemies

spectral eye to fly around with and spy on enemies

build camera can be abused for this purpose


added new cdc

[x] While a transaction's grant is in flight, mask the req output.
[x] A transaction's grant starts when the req and gnt bits are high
at the secondary port and no gnt is in flight, send a grant pulse.
[x] The receipt of a grant by the controller port must be pulse
synchronized.
[x] Grant pulses sent by the secondary port must be separated by at least
one clock cycle to enable edge detection on the pulse synchronizer.
[x] When the primary receives a grant pulse, it asserts gnt_ack until
gnt_in_flight is de-asserted.
[x] The receipt of a grant acknowledgement by the secondary port must be
pulse synchronized.
[x] A transaction's grant is completed when the secondary port receives
acknowledgement that the grant was received.
[x] The delay between the controller port receiving a grant and the
controller port receiving a grant ack must be at least as long as
the pipeline delay of the req signal.
[x] Resets must be synchronized across clock domains


Added APP CI

Type: Task
Resolves issues: #20
Code implemented by: @ @edizgenc2021 @bassamEldesouki

This issue has been fixed with issue #38


[Create New Issue]: Issue in one of the workflows of the repo

Description
Description :
I want to tell that till the date I have forked the repo , one of your workflow is failing again and again on my forked version whenever I make any changes to the repo and make a PR , I have to delete the PRs again and again , I request you to please check and correct that
Domain
Open Source
Type of Contribution
Others
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

Is it Automatic Approve workflow.
I would like to fix that issue under GSSoC'22
Can I work on this issue ??

@Jassi10000  Disable the workflow on your fork
It is not supposed to work there... Bcz its configured with a personal access token

@bartick  I'm sorry but its working as intended.
Thanks for asking though


Fantasy Land types have changed

Two things need changed to retain Fantasy Land compatibility:

ap is now reversed: instead of this wrapping the function, the argument wraps the function.
The spec names are now prefixed. I'd still recommend keeping the original names for ease of use, though.

I linked to the issues instead of their related PRs to help guide you all to the rationale for the changes.

Also, I think it might be nice for some to implement for streams Semigroup (stream.concat(other)) and Monoid (m.stream.empty()/m.stream.resolve() for symmetry with m.stream.reject()) as well. But that's just another orthogonal idea.

Updated


Adding --column-statistics-off for php artisan schema:dump

In some specific case like mysqdump 8 and mysqlserver version 5.7 the command failed. It is  added  --column-statistics-off option to mitigate this issue. The issue is : #34078

Can't you catch the error output and look for the unknown table column_statistics message and then run the command without it you see that error? Then it is invisible to the user?

I was investigating with Exit status code of mysqldump (because it is an externa process).

Please send this to 8.x. :)


[Issue/Conflict] Pat Feature?

It would appear that the newer releases include a Pat/Pet Functions which actually conflicts with a lot of other Mods when Sneak Right-clicking. Including Carry Mods as well simply/easy villagers but as the source code isn't public I can't completely confirm this correctly. Makes this mod rather unusable with many of these others mods without being able to disable this functions

There is a config to disable it.

I don't see an option for it within the config

Could it be that you updated the mod without removing the config file? If that's the case, remove it and restart the game.

After removing the config and using newly generated, setting to false still doesn't disable the function
Config:
greed.with_looting_and_mending=false # Greed compatible with Looting and Mending. default: false
greed.chance.per.level=0.01 # Coin drop chance per level of Greed. default: 0.01
coin.drops.and.loot.gen=true # Coin drops and generation. default: true
meltdown.destroy_blocks=false # Meltdown destroys blocks. default: false
spawn.clutter.mobs=true # Spawn Clutter Mobs. default: true
spawn.butterflies=false # Spawn Butterflies. default: true
spawn.chameleons=true # Spawn Chameleons. default: true
spawn.echofins=true # Spawn Echofins. default: true
spawn.mossblooms=true # Spawn Mossblooms. default: true
spawn.kiwi_birds=true # Spawn Kiwi Birds. default: true
spawn.emperor_penguins=true # Spawn Emperor Penguins. default: true
spawn.beavers=true # Spawn Beavers. default: true
generate.geodes=true # Generate Geodes. default: true
generate.ores=true # Generate Ores. default: true
generate.silver_ore=true # Generate Silver Ore. default: true
generate.foliage=true # Generate Foliage. default: true
pet.mobs=false # Allows players to pet Peaceful and/or Baby mobs by right-clicking them while sneaking, this has a small chance of healing that mob. default: true

Are you on a dedicated server, if so the server also has to disable it.

Yes, the server has it disabled

I'll take another look at it after work.

Any update on this?


safe_devices does not remember device

PHP & Platform
8.1.6 & Windows (localhost)
Database
mysqlnd 8.1.6
Laravel version
9.43.0
Have you done this?

[X] I have checked my logs and I'm sure is a bug in this package.
[X] I can reproduce this bug in isolation (vanilla Laravel install)
[ ] I can suggest a workaround as a Pull Request

Expectation
2FA code not requested on next login on same device when safe_devices enabled = true.
Description
2FA code is requested on every login on the same device.
Column safe_devices stays on value null.
No additional browser cookie stored (2 cookies in use: session and csrf)
Reproduction
'safe_devices' => [
        'enabled'         => true,
        'cookie'          => '_2fa_remember',
        'max_devices'     => 3,
        'expiration_days' => 14,
    ],

Stack trace & logs
No response

wantsToAddDevice() returns false. I'm using the default view that comes with the package for the 2FA challenge.
wantsToAddDevice() checks for $this->request->filled('safe_device'), which is not in the request, since the view does not contain that field in the form.

Indeed, wantsToAddDevice() checks if the request contains safe_device and is not empty.
It could be added to the view if the safe_devices config is true, and hide it when it's disabled. Since I'm hands full right now, not on top of my list, but you're welcome to make a PR.

@DarkGhostHunter i have exactly the same issue, how could i turn it on?

Edit the included view  file Italo Baeza C.El 07-03-2023, a la(s) 17:43, Waleed Afridi @.***> escribió:
@DarkGhostHunter i have exactly the same issue, how could i turn it on?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@DarkGhostHunter  could you please elaborate this?

Publish the view and edit the form.

i already publish the view called confirm.blade.php, i have edit the form
<input id="safe_device" type="checkbox" class="border border-gray-300 name="safe_device" />
<label for="safe_device"> I trust this device. Don't ask for codes for 14 days. </label>

but nothing happened, it doesn't store the safe_devices

@DarkGhostHunter checking to see if you have any update on this? thank you.

@DarkGhostHunter checking to see if you have any update on this? thank you.

Hands full. PR welcomed.

Here is the correct code you need to use:
<input id="safe_device" type="checkbox" value="1" class="border border-gray-300" name="safe_device" />
                <label for="safe_device"> I trust this device. Don't ask for codes for 14 days. </label>

You were missing the value and the class attribute was not closed.

@AlexisSerneels i try this and it doesn't work, i am sure there's some issue with the code, i haven't check the package code yet, is it working with you?


Handle race condition in Apply Registration to image task better

@adrtsc I'm proposing a fix here for https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/516 that introduces a max_retries parameter. I set it to 20, but we can of course tune that parameter further if needed.
closes #516
Checklist before merging

[x] I added an appropriate entry to CHANGELOG.md

What we are missing in coverage here is reproducing a race time conflict during the tests. Given that it's a workaround, I'm fine with not having this included in our tests.

Looks good to me!


integration: Prune images after loading from file or pulling

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>Fix #302

Codecov Report

Merging #308 (3cc1169) into main (4d90bb6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #308   +/-   ##
=======================================
  Coverage   50.60%   50.60%
=======================================
  Files         117      117
  Lines        3381     3381
=======================================
  Hits         1711     1711
  Misses       1670     1670

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 4d90bb6...3cc1169. Read the comment docs.


"express" is not found.

Codacy detected an issue:
Message: "express" is not found.
Currently on:

Commit:  f81359d018f9e357a7531949c199114e4ab81e11
File:    doc/integrations/myDrive/backend/controllers/userGoogle.ts
LineNum: 1

For the convenience of the Seagate development team, this issue has been mirrored in a private Seagate Jira Server: https://jts.seagate.com/browse/CORTX-33532. Note that community members will not be able to access that Jira server but that is not a problem since all activity in that Jira mirror will be copied into this GitHub issue.

Closing as an obsolete


4.0.0-release-notes

Javadocs, release-notes and news item for 4.0.0

Pushed. I'll leave it to you to give it the final nod of approval and merge it.

Pushed. I'll leave it to you to give it the final nod of approval and merge it.

Thanks so much Jeen!


Delete old test files that are reimplemented in Typescript by now

These files seem to be pretty obsolete, or are they not?

I suppose they are. Any objections @FinnStutzenstein

@CatoTH it seems that Travis disconnected. Could you make an empty force-push to bump travis?


feat(version): read app info from package.json

Basically, an extension of this commit for other applicable fields in the AppInfo array.

One possible extensions to this PR

populate AppInfo fields only from package.json .. like so (also removing related variables from the .env file)

const AppInfo = {
  APP_VERSION: readPackageJsonSync().version,
  APP_NAME: readPackageJsonSync().name,
  APP_DESCRIPTION: readPackageJsonSync().description,
  AUTHOR_NAME: readPackageJsonSync().author?.name,
  AUTHOR_EMAIL: readPackageJsonSync().author?.email,
  AUTHOR_WEBSITE: readPackageJsonSync().author?.url
};

But I was hesitant to make this change for now as I don't know the reason behind you using environment variables for these stuff..

One possible extensions to this PR

populate AppInfo fields only from package.json .. like so (also removing related variables from the .env file)

const AppInfo = {
  APP_VERSION: readPackageJsonSync().version,
  APP_NAME: readPackageJsonSync().name,
  APP_DESCRIPTION: readPackageJsonSync().description,
  AUTHOR_NAME: readPackageJsonSync().author?.name,
  AUTHOR_EMAIL: readPackageJsonSync().author?.email,
  AUTHOR_WEBSITE: readPackageJsonSync().author?.url
};

But I was hesitant to make this change for now as I don't know the reason behind you using environment variables for these stuff..

Hi @AvinashReddy3108 ! First of all, thank you for your PR. I think it is a very good idea 👌 Anyway, before merge the PR it is necessary to correct the problems reported by tsc.
The environment variables are there to provide an option to overwrite all this information. For example, imagine that when you are going to deploy the application in a productive environment you prefer to show the information of the company and not of the developer who implemented the application. In this way, unless overwritten, the package.json data will always be shown, but if we want others for any reason, they could be provided in a very simple way.

Anyway, before merge the PR it is necessary to correct the problems reported by tsc.
Never faced those issues in my local machine (node 18.x), but tried to solve them nonetheless.

PS: the PR's commit history looks embarassing (sorry about that), please "Squash and Merge" if the CI runs pass.

The environment variables are there to provide an option to overwrite all this information. For example, imagine that when you are going to deploy the application in a productive environment you prefer to show the information of the company and not of the developer who implemented the application. In this way, unless overwritten, the package.json data will always be shown, but if we want others for any reason, they could be provided in a very simple way.

@borjapazr I also updated the .env file with the related variables (these are commented out by default)
But won't it be better if there's a .env.sample tracked by version control, and then .env in the .gitignore (As the .env contains sensitive info like database passwords and stuff)


Feature: add the free command

Describe the solution you'd like
Adding the free command

I am working on this


Upload to NPM

Is your feature request related to a problem? Please describe.
I have to clone the repo to install quartz.
Describe the solution you'd like
I want to be able to install quarz from npm.
Describe alternatives you've considered
Additional context

closed as duplicate of https://github.com/jackyzha0/quartz/issues/1253


Stock / Options trading log

Create a stock or options trading log where you ennter as a line item each opening & closing trade.  The app then calculates days held, total P/L, %age P/L, total account P/L,  a list of equity value if all open trades were closed at market price.
The app should automatically detect a closing order for a prior opening order, and should appropriately use the correct cost basis (purchase price) when selling / closing a partial order.
ie  buy 5 shares of XZY on 1/1/18 for $32 each.  On 2/1/18 sell 3 shares at $42 and on 3/1/18 sell the remaining 2 shares at $47.   Each sale should use the purchase price as it's cost basis and then close out that opening purchase when all bought shares are accounted for.
JUst an idea I implemented in excel tonight except for the last part with partial orders.   That's why I think it'd be an interesting project.
I won't be sad if you do not do it. :)

This seems pretty complex for a 1 day project, isn't it? 😅

I don’t know...you’re a smart guy! The complex part for me is splitting the
sale and tying into the purchase of not all shares are sold at once.
On Fri, Sep 20, 2019 at 4:52 AM Florin Pop<EMAIL_ADDRESS>wrote:

This seems pretty complex for a 1 day project, isn't it? 😅
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/florinpop17/100Days100Projects/issues/1?email_source=notifications&email_token=ABWZ4TSUDV7TT7M3XGDBZ23QKSFNXA5CNFSM4IXWVFC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7GBLTQ#issuecomment-533468622,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABWZ4TV7G4BMN3NKUSCREQDQKSFNXANCNFSM4IXWVFCQ
.

--
Suzanne Atkinson, MD
Clinical Instructor of Emergency Medicine
University of Pittsburgh School of Medicine
Emergency Resource Management, Inc.
Head Coach & Founder
Steel City Endurance Coaching
Co-Founder
Fresh Freestyle


Rubicon: bidonmultiformat updates

Do I get this change right, that multi format bid requests will trigger a bid request to magnite for every media type?

Do I get this change right, that multi format bid requests will trigger a bid request to magnite for every media type?

Yes!


npm start is creating problem

I guess some modules are still not installed by using the command npm install.
Following modules have to be installed manually - Morgan, serve-favicon, body-parser, cookie-parser and pug, as jade has been renamed to pug. I want to help to clear this bug. If one can guide me.

All of these are separate modules, so the expectation is that you would install them if you're trying to use them. What do you believe is a bug? What are you following that has npm start?

I tried to follow express quick start tutorial from npm page. For which I tried to use express-generator to create a sample app. But when trying to use npm start command it showed me the above modules where installed by the previous npm install command. I thought maybe someone missed to write them in the script. Plus the name of Jade has been changed. When I installed all these modules one after another by following the error messages, npm start was working for me.
This the version of express 4.15.2.

I just went through it and it worked fine.

Did you remember to do npm install like in the instructions?

Its working for me now too. But earlier I followed the same commands, but I created the directory first in which I was going to install my node packages. It didn't work for me that time. I used npm install command too multiple times and rechecked every step. When I tried these commands my node version was 8.1.0 but now I have upgraded it to 8.1.2 but I doubt that was the reason.
I just thought that might be a bug, I guess I was wrong.

Hi @anu1097 I don't think we're not saying it's a bug, just that we don't know what the problem is. If you're able to either provide a fix or help us reproduce the problem so we can create a fix, that's the only real way we can move forward. We tried to replicate with the few instructions provided, and didn't reproduce, so if you have some tips on what we need to do to reproduce, that would be awesome :) !

I guess I didn't follow some steps correctly which might have led to the problem which I thought I did. I have closed the issue. I am sorry for trouble, and I am grateful that you guys clarify any doubts.


Fix access to JSX types with preact@next

With Preact X the JSX namespace isn't global anymore, and needs to be accessed from the preact export. This PR addresses this issue.

Don't know why the ci is failing
Also don't seem to have write access 🙃
cc @developit

Can you rebase?

Thanks for the PR, we went with #308 since it included the match fix as well


can lair have a changelog and use semver?

On the production releases of the Acorn hApp, we have (and others will) run into issues when the lair-keystore format has changed and we're not aware. This was the case when bumping to the 0.3.x stream of holochain.
https://github.com/holochain/holochain/commit/ae8406421172bc7af3decf2debccd6aefb244d68#diff-b5e90d6edca16bdc13d710654b02e64cb42dc287a83466057a9c20f58fac7570R20
I guess there was a breaking change to the format between these versions.
https://github.com/holochain/lair/compare/lair_keystore-v0.2.3...lair_keystore-v0.2.4
I'm wondering if lair can be managed with a little changelog and using semver to manage breaking changes?

My links point to a case where there was a lair keystore bump, and it didn't make it into the holochain changelog, and there was also no lair changelog to reference.


add pipeline overview

translated in proper english by @lukemelia

<--- Certified Italian-Canadian-English to English translator

Lols, I think I'm gonna reuse this one :P


Set monochromatic colour maps to the same lightness range

Toying around with the new manipulation tools (#1 ) it became obvious that we should set as many of our colour maps to the same lightness range. Since we now have the tools to encourage the user to create new colour maps, they should mix together nicely, without jumps in lightness. I settled on a 0.1<L*<0.9 range as that is the most common among our colour maps, and made new versions for maps not using that range (Blue, Cyan, Green, Magenta, Orange, Stone and Yellow), with the .jscm files and visualisations in my development branch.
Discussing this with @AstroRobin there is no obvious reason to generate near-duplicate maps, so these would be replacing the current ones. I'm not including Garnet, Tropical and Ripe in this remake, as those have shortened dynamic ranges by design.

We need to consider whether Cyan can still remain as one of the base monochromatic colourmaps once we rescale the lightness range. Cyan has the annoyance that it quickly moves into "teal" or "light blue" (subjective) as it moves into the darker regime. Either we keep scicm.Cyan as a colour map and ensure that scicm.Blue does not venture into cyan territory at the light end, or we also introduce/replace with scicm.Teal or something of the like, which acts as the middle point between blue and green.

I made the bright end of the Blue_1090 colour map closer to light blue, would that be enough? As for cyan, I'm happy to rename the current Cyan_1090 to teal, but I'm not sold on having an additional cyan map. If you could make a 10-90 version for me to see that would be great.

Here are the first 20 colour names for Blue_1090:
('navy blue', '#001146', '#020f3e')
('navy blue', '#001146', '#071950')
('marine', '#042e60', '#0e2363')
('marine', '#042e60', '#152c79')
('sapphire', '#2138ab', '#1b348e')
('sapphire', '#2138ab', '#213ca6')
('blue blue', '#2242c7', '#2445bd')
('azul', '#1d5dec', '#1b54c6')
('mid blue', '#276ab3', '#1b62c7')
('medium blue', '#2c6fbb', '#2270c8')
('windows blue', '#3778bf', '#2a7cca')
('cerulean', '#0485d1', '#3489cd')
('azure', '#069af3', '#3f95d1')
('azure', '#069af3', '#4aa2d5')
('lightblue', '#7bc8f6', '#55aeda')
('lightblue', '#7bc8f6', '#62bcdf')
('bright sky blue', '#02ccfe', '#71c8e4')
('neon blue', '#04d9ff', '#85d4ea')
("robin's egg blue", '#98eff9', '#9adfef')
('pale sky blue', '#bdf6fe', '#aeebf6')
Whereas before, our colours were ending in cyans. So I think Blue_1090 is now perfect.
I will toy around with making a Cyan 10-90 map.

I've added a Cyan_1090 colourmap to devel_robin, which looks reasonably good. I've managed to capture mostly cyan and turquoise colours with little contamination of teal.
The named colours for this map are:
('almost black', '#070d0d', '#062023')
('dark blue grey', '#1f3b4d', '#0c292d')
('dark blue grey', '#1f3b4d', '#123237')
('dark teal', '#014d4e', '#1c434b')
('deep teal', '#00555a', '#214b54')
('petrol', '#005f6a', '#24545e')
('petrol', '#005f6a', '#2b6771')
('deep aqua', '#08787f', '#2e707a')
('dark cyan', '#0a888a', '#33838b')
('dark cyan', '#0a888a', '#358d94')
('sea', '#3c9992', '#37979d')
('sea', '#3c9992', '#38a1a6')
('turquoise blue', '#06b1c4', '#39acb1')
('turquoise blue', '#06b1c4', '#39b7ba')
('topaz', '#13bbaf', '#39c2c4')
('aqua blue', '#02d8e9', '#37cdce')
('aqua blue', '#02d8e9', '#35d9d9')
('bright light blue', '#26f7fd', '#31e5e4')
('bright cyan', '#41fdfe', '#2bf1ef')
('bright turquoise', '#0ffef9', '#21fefa')

I replaced the old colour maps and added both Teal and Cyan in version 0.6.0 (now live).


Add lab() and lch() from CSS Color Module Level 4

Spec: https://drafts.csswg.org/css-color-4/#specifying-lab-lch
@Ugoku listed the browser bugs:

Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1026287
Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1352757
Safari: https://bugs.webkit.org/show_bug.cgi?id=205675

http://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-how/

lab() and lch() have been mentioned before:

https://github.com/Fyrd/caniuse/issues/2249#issuecomment-242984428
https://github.com/Fyrd/caniuse/issues/4732#issuecomment-469640766

but since both issue authors requested a specific thing I've taken the liberty to create this one.
Alternatively #4732 could be elevated to cover lab() and lch() or even CSS Color Module Level 4 as a whole and this one closed as duplicate. Or something like that :)

More LCH greatness: Dark mode in 5 minutes, with inverted lightness variables
As mentioned there, shipped with Safari TP 120.

Should be coming via MDN once that PR is merged:

lab: https://github.com/mdn/browser-compat-data/pull/10898/files#diff-2125922a521f439f749d97ac7aa3ceb461ff83f1494daa3dc8a687a98ea8705bR563
lch: https://github.com/mdn/browser-compat-data/pull/10898/files#diff-2125922a521f439f749d97ac7aa3ceb461ff83f1494daa3dc8a687a98ea8705bR613

Indeed now available at https://caniuse.com/mdn-css_types_color_lab and https://caniuse.com/mdn-css_types_color_lch
@Schweinepriester That good enough for you on want to leave this open for a dedicated caniuse feature? (I'm good either way)

@Fyrd If I've got the choice, I'd leave it open - at least for now 0:-)

Now available as caniuse feature at https://caniuse.com/css-lch-lab


Allow adding existing Material objects to the model via add_material or a new method

Is your feature request related to a problem? Please describe.
Currently, the add_material function creates a new material each time it is called. However, there are use cases where users might want to create their own Material objects externally (e.g., from a user-defined configuration or an external database) and pass them directly to the model. As of now, there's no direct way to add an existing Material object to a model. I'm frustrated because I cannot reuse existing Material objects without rewriting or duplicating their properties when using add_material.
Describe the solution you'd like
I would like to see an enhancement to the add_material function (or a new function) that allows an existing Material object to be passed and added directly to the model. This could either be done by modifying add_material to check if the input is a Material object or by adding a new method like add_existing_material.
Describe alternatives you've considered
One alternative I've considered is manually adding the Material object to the model's materials dictionary, but this bypasses internal consistency checks (like name duplication) and requires users to know about the internal structure of the model, which is not ideal. Another alternative is creating new materials within the add_material function, but this leads to redundancy when the same material is reused in multiple models.
Additional context
Allowing the addition of an existing Material object would improve flexibility and code reusability, especially when materials are defined in a modular or dynamic way (e.g., from configuration files or user input). It would also align with Python's object-oriented principles by encouraging the reuse of objects rather than recreating them.

Hi @SteelScript,
I do not understand what you mean by adding an existing material object to a model. Do you mean passing one material object from one FEModel3D to another?
Angel

hello @angelmusonda ,
I was thinking of creating a material from the 'Material' class and then adding it to the model using the add_material method. But I later realized that I could create a material and add it to the model via model.materials[name] = new_material. However, this method does not pass the checks performed by the add_material method.

Can you provide a use case in which you may want to define a material outside the model?

In my case, the user has to define materials and sections in the first part of the program where the model is not yet defined. The materials and sections are then passed as arguments to a method that creates the model and adds the members with material and section.

I see. You may have to define your own data structure to hold all the user input, then pass it to the method that creates the model. A dictionary can be very convenient.

This is the solution I have chosen for now.
Thank you for your time.


feat(send): support BIP21 URI with BOLT 11 invoice QRCode

Link this PR to an issue
Fixes #ISSUE-NUMBER
Type of change (Remove other not matching type)

New feature (non-breaking change which adds functionality)

Describe the changes you have made in this PR -
support BIP21 URI with BOLT 11 invoice QRCode
Screenshots of the changes (If any) -
How Has This Been Tested?
Not been fully as I've been having problems scanning QR codes on my laptop.
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:

[x] My code follows the style guidelines of this project and performed a self-review of my own code
[x] New and existing tests pass locally with my changes
[x] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

@bumi here's the PR from our paring session


Instructions to run profile optimization missing in the distributed deployment guide doc

Description:
In this https://apim.docs.wso2.com/en/latest/install-and-setup/setup/distributed-deployment/product-profiles/#method-2-optimizing-while-starting-the-server section, You won't be able to start the nodes by just copy and paste the given command. It will throw errors and some nodes won't even start. You need to run the profile optimizer first and that instruction is missing in this section.
Add something similar to below at the start of this section
Run profile optimization for each node as mentioned in https://apim.docs.wso2.com/en/4.0.0/install-and-setup/setup/distributed-deployment/product-profiles/ before starting the server. Back up the deployment.toml before running the optimizer and replacing it once optimization is completed.

This needs to be fixed in both docs in both 4.0.0 and 4.1.0
https://apim.docs.wso2.com/en/4.0.0/install-and-setup/setup/distributed-deployment/deploying-wso2-api-m-in-a-distributed-setup-with-tm-separated/#step-7-start-the-api-m-nodes
https://apim.docs.wso2.com/en/4.0.0/install-and-setup/setup/distributed-deployment/deploying-wso2-api-m-in-a-distributed-setup/#step-7-start-the-api-m-nodes

@chamilaadhi This method-2  is intended to start the servers while profile-optimizing the server pack. In the doc page it has mentioned as below.

And the command you have to run is:
sh <PRODUCT_HOME>/bin/api-manager.sh --optimize -Dprofile= --skipConfigOptimization
Option "--skipConfigOptimization" will ensure, the maually done configs will not be overridden by optimization process which is triggered by --optimize option.

I am closing this issue based on above comment and please reopen or reply-back if further confusions exists.


Fix: Replace references to images to actually be good on prod

This replaces ../.. references with / for production web

this seems worthy and i trust you not to bomb a bombed city


Change color on clear image

Hello,
I want to white color on a clear background image so how can I do that.
Can you please help me with that.
Thanks

If you check the block on line 218, you can see that we ignore pixels that have an opacity less than 50% (255*0.5 ≈ 127).
If you want to consider pixels with less than 50% opacity to be white, you can do this
if 127 <= data[pixel+3] {
    imageColors.add((Double(data[pixel+2])*1000000)+(Double(data[pixel+1])*1000)+(Double(data[pixel])))
} else {
    imageColors.add(255255255)
}

Now, if you want to consider any pixel that is not 100% opaque to be white, you can do this:
if 255 <= data[pixel+3] {
    imageColors.add((Double(data[pixel+2])*1000000)+(Double(data[pixel+1])*1000)+(Double(data[pixel])))
} else {
    imageColors.add(255255255)
}

Thank you so much @jathu It's working.


feature request: silence non-error notifications

it's all in the title
seeing wideeye notifications on every level load is pretty immersion breaking and hurts video recording
yes, these notifications exist for good reason, but users should be able to turn them off somehow

Hey ThomasSteve83,
Yeah, I get it—those notifications can be pretty immersion-breaking, especially for recording. They're kinda important, but I totally agree that having a way to silence them is a must.
Thanks for the request! I'll make sure to add this in the next update.

Hello, we tried to solve the issue.
This is what we did:
Added a new preference to disable notifications and modified the SendNotfi method to check this preference before sending notifications.
You can review changes in this commit: https://github.com/mnmnk43434/HL2H0-WideEye-8/commit/53c2cd6b68bfcf34e7a5683905c13d0e166fb3a9.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

The feature has been implemented.
Thanks for the suggestion🤍


Be more strict about finding version number attached to a revision when packaging.

Description
When we package Flutter, we used to find the "current" tag (which is the version number) by starting at the revision we are building on and looking backwards in time to find the most recent tag.  This causes problems on release builds when we failed to tag properly.
This PR makes the packaging script be more strict by requiring the given revision to itself have a tag, but only when we're publishing the result.  When we're not publishing the result, it's more lenient, since otherwise we couldn't test packaging on non-release commits.
I also renamed ProcessRunnerException to PreparePackageException, since we were using that exception more generally than just for processes.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] My PR includes tests for all changed/updated/fixed behaviors (See [Test Coverage]).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require Flutter developers to manually update their apps to accommodate your change?

[x] No, this is not a breaking change.


Empty tuple type does not generate valid JSON schema

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
 python -c "import pydantic.utils; print(pydantic.utils.version_info())"
             pydantic version: 1.8.1
            pydantic compiled: True
                 install path: /Users/smacpher/.virtualenvs/nucleus/lib/python3.6/site-packages/pydantic
               python version: 3.6.9 (default, Oct 16 2019, 11:14:39)  [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1<IP_ADDRESS>)]
                     platform: Darwin-17.7.0-x86_64-i386-64bit
     optional deps. installed: ['typing-extensions']

import jsonschema
import pydantic

from typing import Tuple

class Model(pydantic.BaseModel):
    f: Tuple[()]

jsonschema.Draft7Validator.check_schema(Model.schema())

This fails with:
SchemaError: [] is not valid under any of the given schemas

Failed validating 'anyOf' in metaschema['properties']['properties']['additionalProperties']['properties']['items']:
    {'anyOf': [{'$ref': '#'}, {'$ref': '#/definitions/schemaArray'}],
     'default': True}

On schema['properties']['f']['items']:
    []

The generated schema is:
{'title': 'Model',
 'type': 'object',
 'properties': {'f': {'title': 'F', 'type': 'array', 'items': []}},
 'required': ['f']}

Is this expected behavior? Would the desired behavior be to set maxItems: 0 and remove items: [] like such (that would make the generated schema valid)?
{'title': 'Model',
 'type': 'object',
 'properties': {'f': {'title': 'F', 'type': 'array', 'maxItems': 0}},
 'required': ['f']}

BTW, glad to see that empty tuples (Tuple[()]) are now supported (https://github.com/samuelcolvin/pydantic/issues/2318)! Thank you 🙏 .

Hi @smacpher-myst and thanks a lot for reporting!
I opened #2497 and tackled your issue at the same time. Feedback welcome :)

@PrettyWood no problem! Awesome, thanks for the super quick turn around :D. Looked over your changes and they look good to me – approved as well (FWIW).


Dark Mode/theme Support

Android 10 and iOS 13 introduce system-wide dark appearance for all user interface elements, known as Dark theme for Android and Dark Mode for iOS.
The components can take advantage of MaterialComponents’ dark theme for Android: https://material.io/develop/android/theming/dark/

@vchimev How would you see that happening here? I mean do you want me to apply a custom theme?
If i am not mistaken this could be completly handled in {N}. If the ns themes for light/dark have css entries for material components it would work out of the box.
Well maybe not all components. For Dialogs the user would have to change it's android style as you mentioned

Any update ? The theme doesn't changed based on the android theme.

@PasVegan You need to implement it on the app side. https://github.com/material-components/material-components-android/blob/master/docs/theming/Dark.md

@farfromrefug It works but I need to manually restart the application to apply the theme change

@PasVegan It is working fine in my apps. Not sure what the issue could be but you can use them as exampel


[Bug] [CI] Error installing Jax for Ubuntu ci_cpu Docker build

Expected behavior
When building an Ubuntu cpu container the script docker/install/ubuntu_install_jax.sh should install Jaxlib correctly without issues.
Actual behavior
Jaxlib fails to install with the following error reported:
Collecting orbax
  Using cached orbax-0.1.8.tar.gz (1.6 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sy4y9jni/orbax/setup.py'"'"'; __file__='"'"'/tmp/pip-install-sy4y9jni/orbax/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-sy4y9jni/orbax/pip-egg-info
         cwd: /tmp/pip-install-sy4y9jni/orbax/
    Complete output (3 lines):

    *** Orbax is a namespace, and not a standalone package. For model checkpointing and exporting utilities, please install `orbax-checkpoint` and `orbax-export` respectively (instead of `orbax`). ***

    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

This is due to the latest release of Orbax (v0.1.8) which enforces the deprecation of installing orbax as a standalone package. The version of Flax that docker/install/ubuntu_install_jax.sh attempts to install (v0.6.8) has orbax rather than orbax-checkpoint specified as an installation dependency.
Environment
An x86 platform running Ubuntu 22.04.
Steps to reproduce
Occurs when setting up an Ubuntu 22.04 cpu container using Dockerfile.ci_cpu.
Can also be reproduced by running the following commands in an Ubuntu environment:
pip3 install jaxlib==0.4.7 "jax[cpu]==0.4.7"
pip3 install flax==0.6.8

Triage

dev:ci

cc @Mousius @areusch @leandron

No longer seeing the Installation error after bumping the version of Jaxlib and Flax.


Bump ruby version [PEOPLE-100]

JIRA: https://netguru.atlassian.net/browse/PEOPLE-100
Changes:

bump ruby version to 2.3.0

:+1:


<IP_ADDRESS>9-pre - Exception thrown loading svg image which loads correctly in 2.4.4

Description
When loading the attached svg file <IP_ADDRESS>9-pre throws an exception
Image loading failed: resource://FFImageLoadingMockTest.Assets.Captain_America_Shield.svg?assembly=FFImageLoadingMockTest,%20Version=<IP_ADDRESS>,%20Culture=neutral,%20PublicKeyToken=null;(size=0x500,dip=True,type=SvgDataResolver) System.MissingMethodException: Method not found: void SkiaSharp.SKPath.AddRoundRect(SkiaSharp.SKRect,single,single,SkiaSharp.SKPathDirection)   at FFImageLoading.Svg.Platform.SKSvg.ReadElement (System.Xml.Linq.XElement e, SkiaSharp.SKCanvas canvas, SkiaSharp.SKPaint stroke, SkiaSharp.SKPaint fill) [0x00440] in C:\projects\ffimageloading\source\FFImageLoading.Svg.Shared\SkSvg.cs:281    at FFImageLoading.Svg.Platform.SKSvg.LoadElements (System.Collections.Generic.IEnumerable1[T] elements, SkiaSharp.SKCanvas canvas, SkiaSharp.SKPaint stroke, SkiaSharp.SKPaint fill) [0x00010] in C:\projects\ffimageloading\source\FFImageLoading.Svg.Shared\SkSvg.cs:215
at FFImageLoading.Svg.Platform.SKSvg.Load (System.Xml.Linq.XDocument xdoc) [0x003f9] in C:\projects\ffimageloading\source\FFImageLoading.Svg.Shared\SkSvg.cs:203
at FFImageLoading.Svg.Platform.SKSvg.Load (System.Xml.XmlReader reader) [0x00000] in C:\projects\ffimageloading\source\FFImageLoading.Svg.Shared\SkSvg.cs:97
at FFImageLoading.Svg.Platform.SKSvg.Load (System.IO.Stream stream) [0x00012] in C:\projects\ffimageloading\source\FFImageLoading.Svg.Shared\SkSvg.cs:91
at FFImageLoading.Svg.Platform.SvgDataResolver.Resolve (System.String identifier, FFImageLoading.Work.TaskParameter parameters, System.Threading.CancellationToken token) [0x00198] in C:\projects\ffimageloading\source\FFImageLoading.Svg.Shared\SvgDataResolver.cs:98
at FFImageLoading.DataResolvers.WrappedDataResolver.Resolve (System.String identifier, FFImageLoading.Work.TaskParameter parameters, System.Threading.CancellationToken token) [0x00044] in C:\projects\ffimageloading\source\FFImageLoading.Common\DataResolvers\WrappedDataResolver.cs:21
at FFImageLoading.Work.ImageLoaderTask3[TDecoderContainer,TImageContainer,TImageView].RunAsync () [0x00300] in C:\projects\ffimageloading\source\FFImageLoading.Common\Work\ImageLoaderTask.cs:555  Thread finished: <Thread Pool> #5
Steps to Reproduce
Load attached image using the following code:
<ffimageloading:CachedImage Source="resource://FFImageLoadingMockTest.Assets.ironman-icon-png-8.png" WidthRequest="500" HeightRequest="500" />
Expected Behavior
The image should be rendered on the page
Actual Behavior
The image is not rendered and an expected is thrown but handled. (No crash.)
Basic Information

Version with issue: <IP_ADDRESS>9-pre
Last known good version: 2.4.4
Platform: Tested on Xamarin Forms - Android

Reproduction Link / Code
https://github.com/cprice70/FFImageLoadingMockTest
The attached file was run through SVGOMG.
Captain_America_Shield.svg.zip

Do you have SkiaSharp package installed? Which version do you use?
Are you sure you have the same FFIL packages version in all projects?

SkiaSharp is not installed.
Double checked all the FFIL versions in all the project and they are all set at <IP_ADDRESS>9

@cprice70 SkiaSharp should be installed. It's listed as a nuget dependency and should be added automatically, but I suppose it's a VS bug or something.

Odd.  2.4.4 work with the only change being the FFImageloading nugets.
Also in my test project, other SVG load properly on the attached on does not.
If I manually install the SkiaSharp Nugets which ones do I need?

Just SkiaSharp package

@daniel-luberda Manually installing SkiaSharp worked!  I'm using Visual Studio for Mac, maybe the dependency not getting installed is a bug with this VS.

Yes, I've seen some cases when not all dependencies were installed. I'll close this one then. Cheers :)


Add prompt write override

This allows a user to override the way the Prompt is written so that changes to formatting can be introduced.
i.e.
System.ReadLine.WritePrompt = (prompt) => {
    Console.ForegroundColor = ConsoleColor.Yellow;
    Console.Write(prompt);
    Console.ResetColor();
};

Before I take the time to review this, I want to make sure you’re aware that this is a relatively unmaintained fork that is likely behind upstream by quite a bit.
I’m happy to look at it though.

Ah...
I do have a PR for the main library... but it looks like it isn't getting
much attention.  and you publish to nuget here:
https://www.nuget.org/packages/Rubberduck.ReadLine/
So i figured i would try both, so I had some way to get my feature in
without having to publish another variant.
On Fri, Apr 9, 2021 at 10:27 AM Christopher McClellan <
@.***> wrote:

Before I take the time to review this, I want to make sure you’re aware
that this is a relatively unmaintained fork that is likely behind upstream
by quite a bit.
I’m happy to look at it though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rubberduck203/readline/pull/3#issuecomment-816721970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABAWLM3OGVM6S2IZA3KQVLTH4FE7ANCNFSM42VB2EGQ
.

--
Jason Wall || www.jasonwall.org ||<PHONE_NUMBER> - ph


function to compare sets of 5 best cards

order of winning:
straight flush
quads
full house
flush
straigh
three of a kind
two pair
pair
high card
if hand evaluates to same thing, have to do comparison to get which one is higher (eg a straight 10 high beats a straight 9 high, etc.)

Captured by: https://github.com/zshearin/poker-go/issues/21, https://github.com/zshearin/poker-go/issues/22, https://github.com/zshearin/poker-go/issues/23, https://github.com/zshearin/poker-go/issues/24, https://github.com/zshearin/poker-go/issues/25, https://github.com/zshearin/poker-go/issues/26. https://github.com/zshearin/poker-go/issues/27, and https://github.com/zshearin/poker-go/issues/28

^ all of those above issues have been implemented, closing


The link prediction code via GCN cannot work properly

Describe the bug
Hi! I'm trying to work with the link prediction code via GCN. However, I found the acc doesn't change through both the training and testing process. I firstly reproduced the code locally, it cannot work as the document describes. Hence I moved to the online Jupyter Notebook on Colab, but the problem still existed. Do you have any idea why this happens? Thank you a lot!
To Reproduce
Steps to reproduce the behavior:
I strictly followed the steps one-by-one. gcn-link-prediction.ipynb
Observed behavior/Expected behavior
The acc before training is supposed to be 0.50, and should be improved through training. However, it keeps 0.00 all the time.
print("\nTrain Set Metrics of the initial (untrained) model:")
for name, val in zip(model.metrics_names, init_train_metrics):
    print("\t{}: {:0.4f}".format(name, val))

print("\nTest Set Metrics of the initial (untrained) model:")
for name, val in zip(model.metrics_names, init_test_metrics):
    print("\t{}: {:0.4f}".format(name, val))

1/1 [==============================] - 0s 2ms/step - loss: 1.7449 - acc: 0.0000e+00
1/1 [==============================] - 0s 2ms/step - loss: 1.7606 - acc: 0.0000e+00

Train Set Metrics of the initial (untrained) model:
	loss: 1.7449
	acc: 0.0000

Test Set Metrics of the initial (untrained) model:
	loss: 1.7606
	acc: 0.0000

After training:
1/1 [==============================] - 0s 2ms/step - loss: 0.2774 - acc: 0.0000e+00
1/1 [==============================] - 0s 1ms/step - loss: 0.7085 - acc: 0.0000e+00

Train Set Metrics of the trained model:
	loss: 0.2774
	acc: 0.0000

Test Set Metrics of the trained model:
	loss: 0.7085
	acc: 0.0000

The loss is decreasing, but the acc has no change:
1/1 - 0s - loss: 0.4074 - acc: 0.0000e+00 - val_loss: 0.6118 - val_acc: 0.0000e+00
Epoch 42/50
1/1 - 0s - loss: 0.3902 - acc: 0.0000e+00 - val_loss: 0.6148 - val_acc: 0.0000e+00
Epoch 43/50
1/1 - 0s - loss: 0.4015 - acc: 0.0000e+00 - val_loss: 0.6307 - val_acc: 0.0000e+00
Epoch 44/50
1/1 - 0s - loss: 0.3842 - acc: 0.0000e+00 - val_loss: 0.6386 - val_acc: 0.0000e+00
Epoch 45/50
1/1 - 0s - loss: 0.3881 - acc: 0.0000e+00 - val_loss: 0.6706 - val_acc: 0.0000e+00
Epoch 46/50
1/1 - 0s - loss: 0.3536 - acc: 0.0000e+00 - val_loss: 0.6956 - val_acc: 0.0000e+00
Epoch 47/50
1/1 - 0s - loss: 0.4018 - acc: 0.0000e+00 - val_loss: 0.7163 - val_acc: 0.0000e+00
Epoch 48/50
1/1 - 0s - loss: 0.3828 - acc: 0.0000e+00 - val_loss: 0.7294 - val_acc: 0.0000e+00
Epoch 49/50
1/1 - 0s - loss: 0.3993 - acc: 0.0000e+00 - val_loss: 0.7215 - val_acc: 0.0000e+00
Epoch 50/50
1/1 - 0s - loss: 0.3623 - acc: 0.0000e+00 - val_loss: 0.7085 - val_acc: 0.0000e+00

Environment
Operating system: Both Ubuntu 18.04 and Google Colab
Package versions: stellargraph==stable version
Addition Details
I guess the problem happens in this step:init_train_metrics = model.evaluate(train_flow). The model is supposed to output the same array shape like ground truth label (e.g. array[0,1,0...]). However, the output becomes a 1x2 array:
print(init_train_metrics)

[1.7448515892028809, 0.0]

Thank you in advance!

I just found this is a duplicate question with issue #1766. And the problem is caused by Tensorflow version, since they change metric dramatically. Here is a reference solution from issue 1766:

replace acc with binary_accuracy: model.compile(..., metrics=["binary_accuracy"]) (which is what #1770 does in the demo in the repo)
remove the Reshapeing
use TF 2.1 with stellargraph 1.2.1 (that is, version 2.1 seems to work for me, not just 2.0), where fit, evaluate and predict should work too (no need to use ..._generator)


Clear ansi-colored output

When characters in the row have the same color, will be better print escape code only once: \e[38;5;20mw\e[38;5;20mm -> \e[38;5;20mwm
Use only space as invisible character, when background and text have same color: \e[38;5;0m<char> -> \e[38;5;0m

Also, will be cool mixing --color and --color-bg. Maybe, in form --color=(fg|bg|both)

Looks like too much work for too little gain. There aren't any significant performance improvements, and it would just make the code a readability nightmare (more than it already is...). I also can't accept the flag alteration request as too many projects depending on ascii-image-converter will break.


Elik / Chelik

Elik / Chelik created by<EMAIL_ADDRESS>on 2017-02-22 10:27:34

<EMAIL_ADDRESS>replied, This one appears to be missing from tekinged, spelled either "elik" or "chelik" and according to Mar means "everyone around you instead of directing to one person it directs to all involved." Â This shows up in the song Natsukasi Belumam in the last line -- "me a sechelik mei, mei a chelik oide" where "oide" is japanese for "come" so this would translate to "and my friend, come, come, everyone come!"

Closing because this is a duplicate of #212


First responder rejected resignFirstResponder when being removed from hierarchy

This involves the inputAccessoryView as the firstResponder (imagine a UITextField right above the inputView).
When the keyboard is dismissed the first time with a swipe (i.e. when willChangeLocationAnimation calls firstResponder?.origin?.resignFirstResponder(), this occurs:
First responder warning: '<Loop.TypeField: 0x104113400; baseClass = UITextField; frame = (0 0; 414 68); text = ''; opaque = NO; gestureRecognizers = <NSArray: 0x10a7e0650>; layer = <CALayer: 0x103bd8b20>>' rejected resignFirstResponder when being removed from hierarchy
Any ideas?

I don't have any ideas. But, I found the same issue following.
https://stackoverflow.com/questions/47866041/uitextview-in-custom-inputaccessoryview-not-resigning-first-responder-status
Could you check it?


Changing wkb-ios pod to geopackage-wkb-ios

Leaving geopackage off the wkb-ios pod name as the library is not GeoPackage specific (although it had to be released as part of it). wkb-ios can be used as a stand alone Well-Known Binary Objective C library.


BOM and PCB files missing

As far as I can see, only the circuit diagram is currently available, but the BoM and PCB files are still missing.
But these files are already referred to in the documentation and on the website.

@andygrillo

@frankenstein91 @krook yes sorry we only had a PDF schematic. Please look now- I added the eagle files :)

For now you can generate the BOM from the eagle schematic. I will clean up the BOM I have here and upload later today.

How about using KiCad as free schematic/layout software? There is also tool for cost BOM .

Yes I suppose we should stick to open source (although eagle is free for this size of board).
we used eagle because we were comfortable, but if you are ok with doing this board in Kicad, that would be awesome.

+1 for kicad

Would there be interest in a project conversion to Kicad? I want to contribute.

If you are willing to do this (great!), I will list out here my findings from testing the current board that we just got  back from China. The important functions seem good (still testing), i.e. ESP32, UART interface, Ethernet, and most importantly SPI connection with ADXL355.
However would be good to take a look at the WS2812b circuit as I'm not able to get anything other than white right now using the Neopixels sample code, and there is a flicker with the brightness.
The UART header + 5v dc jack should probably be replaced with a USB port (type C). The issue is that some follks may not have a 3.3v FTDI module lying around - will make programming easier.

Starting to work on it right away, there are some things that warrant some discussion, where should that happen?

@gimbas The #sensors channel in Slack would probably be the right place.

I would propose to add "manf#" field to each part for the Manufacture Part Number. We can use it by KiCost for generate a automatic cost BOM.

I would propose to add "manf#" or "mpn" field to each part for the Manufacture Part Number. We can use it by KiCost for generate a automatic cost BOM.

Thats a great idea @hildogjr  - please can you suggest this in a new issue ?


Grant access to the check package command to issue authors & reviewers

This PR allows users listed in a issue under the author1, author-others and reviewers-list fields to run the check package command.
Closes: #34

That's great @xuanxu, thanks! Note, however, that in current form it still won't be possible for others to actually call check package, because the API is restricted to a hard-coded list of authorised users (to prevent server misuse). The long-term solution will arrive once the API has a "proper" server with OAuth credentials but then those others will have to register and use OAuth tokens anyway. In the meantime, it will be possible to tweak the authorised_users() function in the external service to also grab those handles from the issue and match them to the values passed in the call. If it's okay, I'll implement that first before approving this PR - might take a week or so. Thanks!

@mpadge I think maybe a simpler solution would be to pass a secret token as a parameter to the external service, so it only runs if the token is the correct one. That way you don't need to restrict access per user, and it seems easy enough to implement.
And in the Buffy side it'd be as simple as setting a env-var and add it to que query_params:
external_service:
      name: editorcheck
      only:
        - editors
      authorized_roles_in_issue:
        - author1
        - author-others
        - reviewers-list
      command: check package
      description: Various package checks
      message: Thanks, about to send the query.
      url: http://<IP_ADDRESS>:8000/editorcheck
      method: get
      query_params:
        secret: <%= ENV['CHECK_PACKAGE_TOKEN'] %>
      data_from_issue:
        - repo
        - repourl
        - issue_id
      template_file: goodpractice.md

WDYT?

@xuanxu That seems like a great solution! i'll approve this PR now, and we can work on implementing that approach straight after. Thanks!

@xuanxu Finally around to implementing our side of this; thank you for the work here! One question: Does your example code above mean that the parameter secret will be passed through to the external service?

@xuanxu Does your example code above mean that the parameter secret will be passed through to the external service?

Yes, that example would add secret as a query parameter passed to the external service


Unable to  build after installing in iOS

The following build commands failed:
PhaseScriptExecution Run\ Script /Users/akhileshkumar/Library/Developer/Xcode/DerivedData/daytontemplemobile-ecxkpcwwugnktugecnpkqqnbfhpy/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-config.build/Script-46EB2E0002D9B0.sh
(1 failure)
NOde version is v15.7.0
"react-native": "^0.62.2",
"react": "16.11.0",

@XamarinPOC were you able to figure out what was going on? I'm now facing the same issue.


No Updates for > 2 months

Is your feature request related to a problem? Please describe.
There have been no updates to this for almost 3 months. I used to use the insiders version, to be able to get updates and bug fixes on a regular basis. But you've stopped offering insiders, saying the release version will be the only update.
However, it hasn't been updated since then. Has this been abandoned?

@jtsom Thanks for your question.
We've been balancing multiple projects recently and haven't had as much time to dedicate to updates here as usual. As a result, there hasn't been a new release in the past couple of months due to a lack of significant updates. However, we are planning a release in November that includes an Electron upgrade, numerous bug fixes, and several extension updates (e.g., Copilot and Migration).
Please rest assured that this project is still fully supported and has not been abandoned. The team’s limited capacity has been focused on improving the functionality of our VS Code extension lately. If there’s anything specific you’re looking for in the next release, or if this was a more general inquiry, please let me know.

Closing based on previous comment.  We're planning the next ads release for Nov 20th.  Thanks!


Support hacking for Contacts Framework

Hi Johannes,
I hope you are well, I added a hack for Contacts Framework which comes with iOS 9. Could you please merge it to your repo, if you have any comments I would be glad to hear them.
Best,
Abdullah

Looks great, thank you for your contribution! The tests on Travis were failing though:
/Users/travis/build/plu/JPSimulatorHacks/JPSimulatorHacksSampleTests/JPSimulatorHacksSampleTests.m:40:13: 'Contacts/Contacts.h' file not found
    #import <Contacts/Contacts.h>

https://travis-ci.org/plu/JPSimulatorHacks/builds/150721653
Would be great if you could have a look at that.

I made some changes on using macro, now already built in macro used instead of using custom macro.

Thank you :)!

You're welcome :)


Capture missing values

If values are missing from some column, what is a convenient way to capture this in the generators (or is e.g. random.choice(None, my.provider.int()) good enough)?

[ ] We support doing this manually using row generators or story generators, but it needs to be documented.
[ ] Investigate if we could make default generators sometimes insert NULLs unless there's a non-null constraint (which should be recorded in orm.py).