attempted form submission followed by a form reset and data restoration causes unwanted error condition

I have a form with validate-non-visible-controls set.  I populate the model and render the form.  Validations fire and angular-auto-validate assesses them.  At this point ctrlFormOptions.forceValidation is false in the validateForm method.
I then attempt to save my form.  validateForm calls it's own processElement passing true for the parameter forceValidation.  This value is set permanently on ctrlFormOptions.  Errors appear as desired.
I then reset the form (using form.$setPristine like your method does).  This clears the 'has error' class.  I add the default values which kicks off validations as before.  As soon as the validation fishes my fields turn red and the 'has error' class is added to the parent form-group.
I notice this behavior is specific to form submission.  If I create the form, edit a field triggering an error condition, then 'reset' the subform by calling setPristine and repopulating the fields everything works as expected.
I believe the issue is related to forceValidation being set on model options in the submit method and never cleared.
On a side note is there a way to programatically trigger reset?  I have sub forms that can be enabled/disabled. Disabling restores the form to it's initial state. This action is triggered by a button that is not withing the form itself.
Thanks!

Sorry I'm being a bit slow at responding to error at the moment I'm snowed under.  Feel free to send a PR in to fix this issue.  The only way I can think of resetting the form is by getting the form as the library need the individual element to change it ui.

Same here.  The work around is pretty simple.  I'll try to dive deeper and do a pull request sometime in the next few weekends.

Thanks @pjwalmsley that would be awesome!

+1

@pjwalmsley  see #82 for a way to programatically trigger a form reset.

@pjwalmsley reseting the form using the one of the methods described in #82 might actually solve this problem please let me know.

I've now made sure the the original force value in the validation options is set after the validation so hopefully this error is fixed (https://github.com/jonsamwell/angular-auto-validate/blob/master/src/services/validationManager.js#L157).  See latest release https://github.com/jonsamwell/angular-auto-validate/releases/tag/v1.18.9


Feature warehouses 2

Codecov Report

Merging #48 (9d983eb) into main (cac28a3) will increase coverage by 6.76%.
The diff coverage is 92.90%.

:exclamation: Current head 9d983eb differs from pull request most recent head f0bb2c3. Consider uploading reports for the commit f0bb2c3 to get more accurate results

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   81.52%   88.28%   +6.76%
==========================================
  Files          25       30       +5
  Lines        1667     1776     +109
==========================================
+ Hits         1359     1568     +209
+ Misses        273      180      -93
+ Partials       35       28       -7

Impacted Files
Coverage Δ

...ternal/carry/adapters/locality_mysql_repository.go
60.00% <60.00%> (ø)

internal/carry/usecases/service_locality.go
81.25% <81.25%> (ø)

cmd/server/handlers/carries/locality.go
84.61% <84.61%> (ø)

cmd/server/handlers/carries/carry.go
100.00% <100.00%> (ø)

...d/server/handlers/product_batches/product_batch.go
100.00% <100.00%> (ø)

cmd/server/handlers/products.go
94.02% <100.00%> (+9.41%)
:arrow_up:

cmd/server/handlers/warehouses/warehouses.go
100.00% <100.00%> (ø)

internal/carry/adapters/carry_mysql_repository.go
100.00% <100.00%> (ø)

internal/carry/usecases/service_carry.go
100.00% <100.00%> (ø)

internal/product/repository.go
100.00% <100.00%> (+20.00%)
:arrow_up:

... and 11 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 cac28a3...f0bb2c3. Read the comment docs.


REDMINE_RELATIVE_URL_ROOT doesn't work from behind the proxy anymore

I've made a new installation on the redmine:latest and out of the sudden configuration, which always worked to me stopped working, giving 500 error.
I have a setup where there is a frontend nginx docker which handles SSL and plain traffic and which is configured with:
        location /redmine {
                proxy_pass              http://redmine;
                include                 proxy_params;
        }

The redmine container is configured, among others, with the options:
REDMINE_HTTPS=true
REDMINE_RELATIVE_URL_ROOT=/redmine
NGINX_ENABLED=true

Such a configuration used to work well, but not anymore. I was getting 500 error on the frontend, trying to access my.site/redmine and cryptic error in the internal nginx:
2017/08/31 22:43:42 [error] 277#277: *3 the rewritten URI has a zero length, client: <IP_ADDRESS>, server: , request: "GET /redmine HTTP/1.0", host: my.site

Not much help, until I came across this question on SF.
Looking into the internal nignx configuration I found the line:
  location /redmine {
    ## Serve static files from defined root folder.
    ## @redmine is a named location for the upstream fallback, see below.
--> rewrite ^/redmine(.*)$ $1 break;
    try_files $uri index.html $uri.html @redmine;
  }

Which is indeed looked like the one in the SF question and by removing which I got my redmine to work again.
Now I see that the related changes were done month ago and, apparently, they were not well tested.
Please, fix it so it works again!

@b-a-t first of all thanks for the issue i was refactoring this to use external nginx for handling ssl also !!
and i am the one who did the changes and i need to tell you normaly this line should be not there :) try
#upstream redmine
server redmine-docker:8080 fail_timeout=0;

in your frontend nginx docker and expose the ports on the redmine docker this offical image will soon default to that behavier and will not serve up with own nginx any more

and by the way the correct RELATIV_URL PATH Setting would now be ```REDMINE_RELATIVE_URL_ROOT=/redmine/````only for docs

@b-a-t also applyed your suggestion with adding the / befor the $1 you can test it out if you like if that still don't works please reopen the ticket


translate plan of chinese

https://github.com/chinanf-boy/minipack-explain

Wow! Thank you for the translation @chinanf-boy! 🎉
I'm super happy to have this project available in other languages. Do you think you can create a pull-request with the translation? We can then link to it from the main README.md.
Also, I really like the concept of having comments inside the code that explain what it is trying to achieve. Do you think you can help with translating src/minipack.js and README.md into Chinese? We can have a translations directory with a folder for every language. Every language directory will have it’s own translated minipack.js and README.md files.
What do you think?
Thank you 🙂

@ronami Are You Here
#6

Thank you and sorry for the delay, please see #6 :)

@ronami Ok, I Up the UI, And My repo
See #6

Merged in #6.


Properly handle incomplete HTML fragments

Type of PR (feature, enhancement, bug fix, etc.)
Bug Fix
Description
Properly handle incomplete HTML fragments that would normally be stripped out by Nokogiri. For example,
		 is invalid by itself because it is not wrapped in a table element. This PR detects these instances and handle them gracefully.
Fixes # (issue)
Why should this be added
Ability to morph parts of a table is important.
Checklist

[x] My code follows the style guidelines of this project
[x] Checks (StandardRB & Prettier-Standard) are passing
[x] This is not a documentation update

Please note that the best way to suggest changes or updates to the documentation is to join Discord and leave a note in the #docs channel. Any documentation updates posted as PRs cannot be accepted at this time. :heart:

Hey @cmer, I pushed up a commit which merges your work with a previous state I had in #601. Would you mind testing this pull-request against your app to see if it still works as expected. Thank you!

I smoke-tested it in the browser and it seems to work, indeed! @marcoroth

Thank you @cmer!


Add device-file for Logitech MX Anywhere 3B

This variant stands for Logitech MX Anywhere 3 for Business.
Signed-off-by: Sami Olmari<EMAIL_ADDRESS>

I took Anywhere 3 device-file and changed ID's to match 3B, seems to work a okay.

Looking at the Solaar list of receivers this is a receiver device, so we can't add it as device file, it would catch all other devices on that same receiver type. I've updated the receiver check in #1314 now but for this to fully work we'll need kernel support. Unfortunately I've paged out everything regarding that, maybe @FFY00 has some memory of it.

Well, in mean time adding only bluetooth "side" then, as it works with both bleutooth and the whatever logitech "not bluetooth" dongle it is :)


Cannot open F# source files in VFT solution, except FCS project

build.cmd vs on current master
Install VisualFSharpOpenSource.vsix
open VisualFSharp.sln
Try to open any file from FSharp.Editor project

I can't repro this since I cannot install VisualFSharpOpenSource.vsix 😞

I reinstalled the VSIX and the bug gone. No idea what it was.


Include pip packages in packages listing via icon

But only for installed packages with pip, right?

Yes only installed.
I already did this and I am pushing soon, but wanted to keep track of the features.
It looks like this now :-), the remove button for now displays a message saying that the feature is not (yet) implemented. I am working on a pip-api-q (akin to the conda-api-q)

Fantastic! This is going to be a terrific addition to Spyder too!

Are you really able to remove them or the icon is just for show ?
Anyway, great addition ! How do you handle pip-installed packages that are available on conda ? It can easily happen when more packages are added to conda.

right now the icon displays a not yet implemented message box but i will include the funxctionality

@nodd..., if they have the exact same name, the pip package (if installed) will be displayed and the conda package will not. After removing the pip package the conda package will appear on the list

Fixed by 17b8a670efcbbe8363176ba52b967b6b748766d9


Unnecessary WARN when RefStreamDefinition is already loaded

Am seeing
WARN: Reference data loader for RefStreamDefinition{blah} was closed with a state of NEW

after the following message
INFO: Reference Data is already successfully loaded for RfStreamDefinition{blah}, so doing nothing

Why are we outputting this WARN??

Fixed in > 7.2-beta.33


Update server-with-livereload-and-css-injection.md

Browsersync offers an updated API for injecting CSS, as shown in their docs: http://www.browsersync.io/docs/gulp/

@shakyShane I'd like you to review this.
Or, this markdown file can be replaced with a simple link instead of having almost the same recipes in those two different projects.

I think that's a no!
Honestly, I can't see the point in this recipe; it seems redundant with the instructions on the browser-sync website. Could just replace it with a link to their docs? Anyone else have thoughts?

I would love to offload any and all recipes to the docs in their respective libraries so I agree with @callumacrae - closing this in favor of replacing the recipe with a link to http://www.browsersync.io/docs/gulp/

There's also a bunch of our own working recipes https://github.com/BrowserSync/recipes


non-interactive path fix for shims and rbenv init

Description of change
CI/CD was failing to find the bundle command when using the container.  I believe it was running commands non-interactively without a login so whatever magic rbenv init - does to update the path etc was not happening for it causing it to fail.
Rather than prefix all commands with: /root/.rbenv/shims/bundle, add the shim path to the PATH.
I dug into the BASH_ENV and read up on the different kinds of prompts.  Tried a bunch of things but none seemed to work.
Testing Performed
With a locally built image...
Before
docker run rewindio/docker-amazonlinux2-ruby:latest gem
docker: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: "gem": executable file not found in $PATH: unknown.

After
docker run rewindio/docker-amazonlinux2-ruby:latest gem
RubyGems is a sophisticated package manager for Ruby.  This is a
basic help message containing pointers to more information.

This is similar to the problem @phamtriduy ran into with EBv3 in that it also uses rbenv and pathing was a problem....


Set theme value

The value prop for the ThemeContext Provider in BreadProvider was not being set.  This meant that the theme set by the user was never used or merged with default.

Thanks!


This library has some issue... When HTTP calls are given with background thread response from server takes ages

As I described in issue title,This library does not work well. But same thing done with retrofit give result faster.

Well provide some debug info, if you want to get this library fixed.
Otherwise I'll close this issue as pointless

Compare api responses with retrofit . You will find the issue.  It exist and I will not recommend  this library to anyone... I used this library for my product from 1.0.0 to 1.0.10 but one day my programmer shown me difference in API response and I lost trust though you can cross check.

Thanks, for such discussions use other means of communications, issues in the project exist to discuss existing issues and/or feature requests, this is neither

Whenever I will find time will send you old version and new version api response video. This is not issue to be ignored people work on million dollar projects and their money is not for such a waste.

You're funny guy, if you work on million dollar projects and rely on free-provided in-free-time-developed library, and blame the library for your fault, then you are not very bright.
As a CTO you should know better.
If you want work to be well done, you should pay-up, and if you're not willing to do that, then act humbly and hope for the best.
If you like different free-provided project more, well use it, and don't bother coming back
Best Regards

It's not blame game from me at all and it's not fun either try to take inspiration from criticism. I made my point that it won't as expected. If you don't take responsibility for your free stuff even don't fight for it... Using free stuff is not crime either . I am alerting other people they should check before they move on with this networking library ; However i do not underestimate what you are serving for free effort counts.  You will definitely find support from other users.
regards.


Feature/build app skeleton

Add the initial skeleton of the fit and competent application
Issue: Scottish-Natural-Heritage/Licensing#475

@JohnJAMoore Once this is merged, it will start triggering the github actions and I think there might be some linter errors at that point, but I'm not going to worry about them just now.


Cards

Cards:

Design changes
Refresh on changes of the trip
Notifikation icons
Greyout when trips are cancelled
You can soft delete trips when they are Cancelled/rejected (in the Detailed page)

Search Suggestion does not show old drives and is start and end location depended (not done but better dummy, for better testing)
Pending Cards design fix
coauther @istzen

Got this error when loading my past rides, past drives or searching rides:
E/flutter ( 5596): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: setState() called after dispose(): _DriveCard#c917a(lifecycle state: defunct, not mounted)
E/flutter ( 5596): This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent
widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
E/flutter ( 5596): The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
E/flutter ( 5596): This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
E/flutter ( 5596): #0      State.setState.<anonymous closure> (package:flutter/src/widgets/framework.dart:1078:9)
E/flutter ( 5596): #1      State.setState (package:flutter/src/widgets/framework.dart:1113:6)
E/flutter ( 5596): #2      _DriveCard.loadDrive (package:motis_mitfahr_app/util/trip/drive_card.dart:51:5)
E/flutter ( 5596): <asynchronous suspension>

Also, a ProgressIndicator stays forever in such a list and the card just doesn't load:

the error is fixed.
I couldn't replicate the ProgressIndicator issue. Could you test if it is fixed?
(Note: I removed the progressionIndicators so When you load the page you don't have all of them a you requested)
For looking if your problem still exists, change the Sizedbox after fullybuild check in the build method of the Card to the Indicator for testing

Okay this behavior seems to be fixed

Would it be possible to implement the following behavior: More cards (or all of them) are loaded initially and until they are all loaded, there is a singular ProgressIndicator in the center. After that, cards are loaded earlier when I go down the list and maybe cached when I go up. I am really annoyed at how badly I can scroll through the list right now, since every two cards or so you can see how the page loads the next cards for about 1s, which adds up. I know that this is a stream thing, but I'm sure there is a better way

Would it be possible to implement the following behavior: More cards (or all of them) are loaded initially and until they are all loaded, there is a singular ProgressIndicator in the center. After that, cards are loaded earlier when I go down the list and maybe cached when I go up. I am really annoyed at how badly I can scroll through the list right now, since every two cards or so you can see how the page loads the next cards for about 1s, which adds up. I know that this is a stream thing, but I'm sure there is a better way

I will look into it again. But to my knowledge it is at the moment we use Streams or the Cards are all preloaded. But what I could maybe do is catch the Stream before and create the Cards with a List and then trigger the update in a higher tier. The only issue with that is that all trips will readload and not only the one that changed

What I think you could do quite easily is not wait until the entire card is loaded to display it, and load most (or all?) of the information directly in the stream supabase query

Was haltet ihr von diesem Design, um den Status der Fahrt mit dem Streifen anzuzeigen? (Rot=Abgelehnt/Abgesagt, Blau=Angefragt, Grün=Angenommen?): https://stackoverflow.com/questions/68209584/flutter-card-and-container-design

What I think you could do quite easily is not wait until the entire card is loaded to display it, and load most (or all?) of the information directly in the stream supabase query

I moved the fullyloaded blocker back, so the Widgets that need to wait are loaded later so the Cards can already be seen. Do you like this or do you prefer it different? I think this is the fastest way for the Cards to appear.

Was haltet ihr von diesem Design, um den Status der Fahrt mit dem Streifen anzuzeigen? (Rot=Abgelehnt/Abgesagt, Blau=Angefragt, Grün=Angenommen?): https://stackoverflow.com/questions/68209584/flutter-card-and-container-design

wäre auch nice. vielleicht schaff ich dort dann auch das mit der Saturation richtig zu kombinieren. Ein versuch ist es wert

Was haltet ihr von diesem Design, um den Status der Fahrt mit dem Streifen anzuzeigen? (Rot=Abgelehnt/Abgesagt, Blau=Angefragt, Grün=Angenommen?): https://stackoverflow.com/questions/68209584/flutter-card-and-container-design

Finde ich geil, so hatte ich mir das auch vorgestellt (oder halt Streifen über die Ecke aber da sind ja jetzt Infos)

Hab jetzt diese Banner eingebaut Drive: (Grün = takes place / Red = Cancelled)) Ride: (Grün = acceppted / Red = Cancelled,rejected / Grey = pending). Bei light mode ist die graue Karte gut zu sehen aber in Darkmode kommt der Greyeffektnicht wirklich zur Geltung.

I have an overflow,  presumably because of the long name

We refactored the cards so that all of them use the TripCard default layout, and so that there is as little duplicated code as possible.
The pending rides still look a little bit weird, we will do another pass over them when we add rider reviews because that will change the design again anyways.


[keycloak - OID4VCI] Simplify SD-JWT API usage

This is a proxy of:

[x] https://github.com/keycloak/keycloak/issues/32955

I submitted a pr this morning https://github.com/keycloak/keycloak/pull/34915

It has been merged already


Prefer Single Exports Over oauth

Currently, users will set up their endpoints by accessing one of the oauth.*.
export const oauth = {
  githubEventHandler,
  spotifyEventHandler,
  googleEventHandler,
  twitchEventHandler,
  auth0EventHandler,
  microsoftEventHandler,
  discordEventHandler,
  battledotnetEventHandler,
  keycloakEventHandler,
  linkedinEventHandler,
  cognitoEventHandler
};

This works and the auto-completion is nice but I think it can be improved:

treeshaking afaik won't work as all providers are within the same const, meaning we will bundle all providers (which will grow)
oauth seems likely for collisions in global import namespace

Exporting each provider as its own function should fix tree shaking and namespace problems, i.e authGoogleEventHandler where autocompletion should be good.

Agree with you, I though about it as well at first and forgot about treeshaking.
Will be a breaking chance then, adding it for next major version.


3D plots/subplots

Just to have it recorded:
https://github.com/JuliaPy/PyPlot.jl/issues/532#issuecomment-936126035
applies to PythonPlot.jl too
Otherwise, some experimenting suggests that PythonPlot.jl works very nicely. It's a bit picky about the backends (have not yet managed to get qt5 working, although I don't have problems with that on PyPlot.jl)

Please open a separate issue about the qt5 backend.  (Note that PyPlot.jl automatically installs pyqt5 for you if you want this backend, whereas PythonPlot does not.)


Create Diagrams for XrSpaces

Create 3D diagrams for  XrSpaces to be used in Chapter 3.

Reference #66 too!

I think the image is probably good for the broad idea what view space is but should not be used for the actual pose of the view space.
Maybe slice off most of the body to keep the image reasonably sized.

What would you like to see @rbessems? I think we're looking for a non-neutral pose. But unless we're looking at the back of the head, the Z-axis will be pointing away from the viewer.

So the feedback that came said move the center forward more right between the eye, it almost looks as if it is inside the head currently.

Also make sure that x, y and z are either labeled in the graph, or clearly labeled in the tutorial overall.

Here the centre has been placed between the eyes at the front of the head. The Z-axis is wholly enclosed but still quite clear I think. Axis labels have been added, and the torso has been cropped.

Final (?) images:

I'm not sure I like the local space graphic. I'll post these in the W.G. to get comments

Time is short so I hope we can get some clear suggestions. One option would be to swap the "initial" and "current" head positions, then the Z axis would be more visible.

Possible alternative:

I like the alternative.
And the group likes that stage space drawing you have above.

this is the stage space with no figure.


Making Dockerfile Use Non-root User

Motivation and Context
Changing the Dockerfile to use non-root user rather than root which makes it more secure (someone could gain root access to the Docker host by hacking the application running inside the container)
What has changed
Created new user in Dockerfile and assigned permission levels. Also optimised the order in which the image is built
How to test?
Clone and run performance test locally and in GCP (probably best to avoid running the second test due to the time it takes)
Links
https://trello.com/c/Pd48zUsd

 Update dockerfiles on rest of Python services (13)


MotionLayout.ITransitionListener missing parameter names

Support Libraries Version (eg: 23.3.0):
Xamarin.Android.Support.Constraint.Layout 2.0.0-beta2
Xamarin.Android.Support.Constraint.Layout.Solver 2.0.0-beta2
Describe your Issue:
The interface ITransitionListner just has p0, p1, p2, p3 as names for the arguments you can pass into the method it defines.
void OnTransitionChange(MotionLayout p0, int p1, int p2, float p3)
void OnTransitionCompleted(MotionLayout p0, int p1)
void OnTransitionStarted(MotionLayout p0, int p1, int p2)
void OnTransitionTrigger(MotionLayout p0, int p1, bool p2, float p3)

I would expect them to be:
void OnTransitionChange(MotionLayout motionLayout, int startId, int endId, float progress)
void OnTransitionCompleted(MotionLayout motionLayout, int currentId)
void OnTransitionStarted(MotionLayout motionLayout, int startId, int endId)
void OnTransitionTrigger(MotionLayout motionLayout, int triggerId, bool positive, float progress)

See: https://developer.android.com/reference/androidx/constraintlayout/motion/widget/MotionLayout.TransitionListener
Steps to Reproduce (with link to sample solution if possible):

Add Xamarin.Android.Support.Constraint.Layout 2.0.0-beta2
Implement MotionLayout.ITransitionListener: private class MotionLayoutListener : Java.Lang.Object, MotionLayout.ITransitionListener
Ask VS to implement methods

1st:  Sometimes parameter names must be added manually and it takes time.
2nd: this seems to be AndroidX issue and AndroidX has new repo.
Would you be so kind and move this issue to AndroidX repo (close it here and [re]open it in AndroidX)?
THanks


Add production key generation to employee portal scenario test

Added function to generate production keys during employee portal scenario tests.

Requested changes added in Fixed in https://github.com/wso2-cellery/cellery-automation-scripts/pull/47


Also create symlinks when running on Windows

The code used to ignore symlinks on Windows, breaking support for clang-cl. I have added code to handle them, however this might change the behaviour of the application as creating symlinks on Windows requires the SeCreateSymbolicLinkPrivilege privilege (meaning the user needs to be Administrator or have Developer Mode enabled).
In my opinion, users with no such privilege should pass the --disable-symlinks flag (or maybe make that the default on Windows?)

pinging @Jake-Shadle because github suppresses notifications on draft PRs, sorry about any noise

I don't understand, how does not creating syminks break clang-cl on windows? The reason for syminks is to fix casing issues on case-sensitive file systems, which windows does not have AFAIK.

I don't understand, how does not creating syminks break clang-cl on windows? The reason for syminks is to fix casing issues on case-sensitive file systems, which windows does not have AFAIK.

The /vctoolsdir and /winsdkdir folders need the versioned folders, which are symlinks (#44)

I've merged this in #105


Issue with SMS phone number not recognized for dsym iTunes Connect upload

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I read the Contribution Guidelines
[ ] I read docs.fastlane.tools
[ ] I searched for existing GitHub issues

Issue Description
I use fastlane to upload dsyms from iOS to Firebase Crashlytics.
It has been working to date, including the 2FA SMS codes.
But now, it's no longer working, saying that the phone number is not recognized.
I edited my Apple profile, and tested 2FA, and it is indeed sending to my phone properly as expected.
My Apple id is<EMAIL_ADDRESS>Command executed
fastlane upload_symbols
Fastfile:
This file contains the fastlane.tools configuration
You can find the documentation at https://docs.fastlane.tools

For a list of all available actions, check out

https://docs.fastlane.tools/actions

For a list of all available plugins, check out

https://docs.fastlane.tools/plugins/available-plugins

Uncomment the line if you want fastlane to automatically update itself
update_fastlane
default_platform(:ios)
platform :ios do
desc "Description of what the lane does"
lane :custom_lane do
# add actions here: https://docs.fastlane.tools/actions
end
end
desc "Downloads dSYM files from Apple for a given app build and version and uploads them to Crashlytics"
lane :upload_symbols do
download_dsyms(username<EMAIL_ADDRESS>version: "latest", app_identifier: "com.driftscape.driftscape")
upload_symbols_to_crashlytics(gsp_path: "./DriftNew/GoogleService-Info.plist")
clean_build_artifacts
end
desc "Downloads dSYM files from Apple for a given app build and version and uploads them to Crashlytics"
lane :upload_symbols_collingwood do
download_dsyms(username<EMAIL_ADDRESS>version: "latest", app_identifier: "com.driftscape.collingwood")
upload_symbols_to_crashlytics(gsp_path: "./DriftNew/GoogleService-Info.plist")
clean_build_artifacts
end
Complete output when running fastlane, including the stack trace and command used
Dan-Mac-2:DriftNew danpronovost$ ./uploadsyms.sh
[⠋] 🚀 Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
[✔] 🚀
[11:47:39]: fastlane detected a Gemfile in the current directory
[11:47:39]: However, it seems like you didn't use bundle exec
[11:47:39]: To launch fastlane faster, please use
[11:47:39]:
[11:47:39]: $ bundle exec fastlane upload_symbols
[11:47:39]:
[11:47:39]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[11:47:40]: ------------------------------
[11:47:40]: --- Step: default_platform ---
[11:47:40]: ------------------------------
[11:47:40]: Driving the lane 'upload_symbols' 🚀
[11:47:40]: ----------------------------
[11:47:40]: --- Step: download_dsyms ---
[11:47:40]: ----------------------------
[11:47:40]: Login to App Store Connect<EMAIL_ADDRESS>Available session is not valid any more. Continuing with normal login.
Two-factor Authentication (6 digits code) is enabled for account<EMAIL_ADDRESS>More information about Two-factor Authentication: https://support.apple.com/en-us/HT204915
If you're running this in a non-interactive session (e.g. server or CI)
check out https://github.com/fastlane/fastlane/tree/master/spaceship#2-step-verification
Environment variable SPACESHIP_2FA_SMS_DEFAULT_PHONE_NUMBER is set, automatically requesting 2FA token via SMS to that number
SPACESHIP_2FA_SMS_DEFAULT_PHONE_NUMBER =<PHONE_NUMBER>
+------------------+----------------+
|           Lane Context            |
+------------------+----------------+
| DEFAULT_PLATFORM | ios            |
| PLATFORM_NAME    |                |
| LANE_NAME        | upload_symbols |
+------------------+----------------+
[11:47:41]:
Could not find a matching phone number to<PHONE_NUMBER> in [{"numberWithDialCode"=>"+1 (•••) •••-••12", "obfuscatedNumber"=>"(•••) •••-••12", "lastTwoDigits"=>"12", "pushMode"=>"sms", "id"=>1}].
Make sure your environment variable is set to the correct phone number.
If it is, please open an issue at https://github.com/fastlane/fastlane/issues/new and include this output so we can fix our matcher. Thanks.
+------+------------------+-------------+
|           fastlane summary            |
+------+------------------+-------------+
| Step | Action           | Time (in s) |
+------+------------------+-------------+
| 1    | default_platform | 0           |
| 💥   | download_dsyms   | 1           |
+------+------------------+-------------+
[11:47:41]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
[!] The request could not be completed because:
Could not find a matching phone number to<PHONE_NUMBER> in [{"numberWithDialCode"=>"+1 (•••) •••-••12", "obfuscatedNumber"=>"(•••) •••-••12", "lastTwoDigits"=>"12", "pushMode"=>"sms", "id"=>1}].
Make sure your environment variable is set to the correct phone number.
If it is, please open an issue at https://github.com/fastlane/fastlane/issues/new and include this output so we can fix our matcher. Thanks.

 [REPLACE THIS WITH YOUR INFORMATION]

Environment

Fastlane env:
✅ fastlane environment ✅
Stack

Key
Value

OS
12.0.1

Ruby
2.6.8

Bundler?
false

Git
git version 2.33.0

Installation Source
/usr/local/bin/fastlane

Host
macOS 12.0.1 (21A559)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
13.2.1

Swift Version
5.5.2

System Locale

Variable
Value

LANG
en_CA.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Description of what the lane does"
  lane :custom_lane do
    # add actions here: https://docs.fastlane.tools/actions
  end
end

desc "Downloads dSYM files from Apple for a given app build and version and uploads them to Crashlytics"
lane :upload_symbols do
  download_dsyms(username<EMAIL_ADDRESS>version: "latest", app_identifier: "com.driftscape.driftscape")
  upload_symbols_to_crashlytics(gsp_path: "./DriftNew/GoogleService-Info.plist")
  clean_build_artifacts
end

desc "Downloads dSYM files from Apple for a given app build and version and uploads them to Crashlytics"
lane :upload_symbols_collingwood do
  download_dsyms(username<EMAIL_ADDRESS>version: "latest", app_identifier: "com.driftscape.collingwood")
  upload_symbols_to_crashlytics(gsp_path: "./DriftNew/GoogleService-Info.plist")
  clean_build_artifacts
end

`./fastlane/Appfile`
app_identifier("[[com.driftscape.driftscape]]") # The bundle identifier of your app
<EMAIL_ADDRESS># Your Apple email address

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.204.3
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.8.0

terminal-table
1.8.0

plist
3.6.0

public_suffix
4.0.6

addressable
2.8.0

multipart-post
2.0.0

word_wrap
1.0.0

optparse
0.1.1

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
2.0.3

commander
4.6.0

excon
0.89.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

faraday-multipart
1.0.3

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

faraday-retry
1.0.3

ruby2_keywords
0.0.5

faraday
1.9.3

unf_ext
0.0.8

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.4

faraday-cookie_jar
0.0.7

faraday_middleware
1.2.0

fastimage
2.2.6

gh_inspector
1.1.3

mini_magick
4.11.0

naturally
2.2.1

rubyzip
2.3.2

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
2.3.4

simctl
1.6.8

jwt
2.3.0

uber
0.1.0

declarative
0.0.20

trailblazer-option
0.1.2

representable
3.1.1

retriable
3.1.2

mini_mime
1.1.2

memoist
0.16.2

multi_json
1.15.0

os
1.1.4

signet
0.16.0

googleauth
1.1.0

httpclient
2.8.3

google-apis-core
0.4.1

google-apis-playcustomapp_v1
0.7.0

google-apis-androidpublisher_v3
0.15.0

google-cloud-env
1.5.0

google-cloud-errors
1.2.0

google-cloud-core
1.6.0

google-apis-iamcredentials_v1
0.10.0

google-apis-storage_v1
0.11.0

digest-crc
0.6.4

google-cloud-storage
1.35.0

emoji_regex
3.2.3

jmespath
1.4.0

aws-partitions
1.547.0

aws-eventstream
1.2.0

aws-sigv4
1.4.0

aws-sdk-core
3.125.1

aws-sdk-kms
1.53.0

aws-sdk-s3
1.111.1

rexml
3.2.5

nanaimo
0.3.0

colored2
3.1.2

claide
1.0.3

CFPropertyList
3.0.5

atomos
0.1.3

xcodeproj
1.21.0

json
2.6.1

webrick
1.7.0

rake
13.0.6

forwardable
1.2.0

logger
1.3.0

date
2.0.0

stringio
0.0.2

ipaddr
1.2.2

openssl
2.1.2

zlib
1.0.0

mutex_m
0.1.0

ostruct
0.1.0

strscan
1.0.0

io-console
0.4.7

fileutils
1.1.0

etc
1.0.1

libxml-ruby
3.2.1

psych
3.1.0

generated on: 2022-02-20


0.9.0 rc1

Codecov Report

Merging #57 into master will decrease coverage by 1%.
The diff coverage is 81%.

@@          Coverage Diff           @@
##           master    #57    +/-   ##
======================================
- Coverage      72%    70%    -2%
======================================
  Files         156    157     +1
  Lines        6576   6652    +76
======================================
- Hits         4737   4659    -78
- Misses       1839   1993   +154

Impacted Files
Coverage Δ

setup.py
0% <ø> (ø)
:arrow_up:

tests/test_service_template.py
45% <100%> (-41%)
:arrow_down:

zerorobot/task/task_list.py
93% <100%> (-3%)
:arrow_down:

tests/test_blueprints.py
72% <100%> (-25%)
:arrow_down:

zerorobot/template/base.py
96% <100%> (ø)
:arrow_up:

zerorobot/template/decorator.py
98% <100%> (ø)
:arrow_up:

zerorobot/service_proxy.py
84% <100%> (+2%)
:arrow_up:

zerorobot/robot/loader.py
32% <100%> (-10%)
:arrow_down:

zerorobot/dsl/config_mgr.py
92% <100%> (+6%)
:arrow_up:

zerorobot/storage/base.py
100% <100%> (+23%)
:arrow_up:

... and 28 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 dbb59e9...e55fdea. Read the comment docs.


Stuck in capturing mode after minimizing and resuming application

Bug Information
Version Number of Plugin: v3.1.3
Device Tested On: OnePlus 5T, Moto G (2nd Gen), Huawei P10 Lite
Version of VS: 2015 14.0.25431.01 Update 3
Version of Xamarin: <IP_ADDRESS>0 (fc93f3f5b), Xamarin Forms: <IP_ADDRESS>203
Steps to reproduce the Behavior

Call the TakePhotoAsync function and wait until the capture screen is shown.
Minimize the application
Resume the application
Press the back button OR take a photo and confirm
=> Navigation to previous page does not work and user is stuck in capturing mode.

Expected Behavior
Resume application -> Press back button OR take photo and confirm -> navigate to previous page
Actual Behavior
Resume application -> Press back button OR take photo and confirm -> Application minimizes (repeat indefinitely).
The user is stuck in capturing mode and the only solution is to restart the application.

A very similar issue also exists if you adjust the steps slightly:

Call the TakePhotoAsync function and wait until the capture screen is shown.
Minimize the application
Use the app icon in the launcher to open the app (instead of task switcher)
Notice that there's no longer the photo app but your app and if you try to call TakePhotoAsync you get an exception that it's already in use. The previous awaitable is still running too, waiting for the camera to finish.


I have a question about your project. Why NLP backbone use mistral-7b?

Hello, have we tried using llama2-7B or llama3-8B as the backbone of the language model?

Hey, at the time, the best 7b vlm is llava 1.6 mistral-7b, and we directly used it. We think llama should also work well

A little bit more on the development side -- when we started this project, we initially adopted the llava1.5 (which uses vicuna-7b), and we observed that the method works on llava1.5 as well (although we did not report such results in the paper). When llava1.6 was released, we directly switched to the 1.6 backbone and the initial version of llava1.6 uses mistral-7b as the LLM backbone.

A little bit more on the development side -- when we started this project, we initially adopted the llava1.5 (which uses vicuna-7b), and we observed that the method works on llava1.5 as well (although we did not report such results in the paper). When llava1.6 was released, we directly switched to the 1.6 backbone and the initial version of llava1.6 uses mistral-7b as the LLM backbone.

A little bit more on the development side -- when we started this project, we initially adopted the llava1.5 (which uses vicuna-7b), and we observed that the method works on llava1.5 as well (although we did not report such results in the paper). When llava1.6 was released, we directly switched to the 1.6 backbone and the initial version of llava1.6 uses mistral-7b as the LLM backbone.

wa,cool! thank you for your repley.
I have been following your previous work, Archer. I recently came across your group's latest work. These are very meaningful piece of research.

Hey, at the time, the best 7b vlm is llava 1.6 mistral-7b, and we directly used it. We think llama should also work well

Hi, Are we planning to directly perform reinforcement learning (RL) training on the llava-1.6-mistral-7b checkpoint?


Change mapbox GL from CDN to npm

Do you want to request a feature or report a bug?
What is the current behaviour?
View Album displays a slippy map that is served by CDN
What is the expected behaviour?
View Album displays a slippy map that is served by NPM so the blankie CSP allows it
Please mention your Node.js, yarn, operating system, and history versions.

NPM module
CSP Directives
child-src blob: ;
img-src data: blob: ;
script-src 'unsafe-eval' ;

connect-src https://*.tiles.mapbox.com https://api.mapbox.com
ref

https://github.com/danactive/history/pull/280


[propose] Add crypto market prices

It would also be great to have the ability to add a cryptocurrency pricing widget to this awesome home screen.
I can try to implement it in my free time if you agree!

Thank you for the suggestion but I don't plan on adding anything like this. I have zero knowledge of crypto and therefore could not possibly develop or support anything related to it. Thanks!


Generic Story Manager Proposal

Preface:
So, I've chatted with @jebedaia360 previously, and at the time, it seemed like Rakugo was just gonna be a RenPy wrapper/clone in GDScript. Now, from what I've heard from @BurningWood, it intends to become more generic than that.
I'm not familiar with RenPy very much though I've read some docs. I also haven't spent a lot of time yet in Rakugo's source code. However, from what I have seen, there are some systemic issues that the devs are trying to confront.
I would like to offer suggestions on what I personally envision for a generic, robust, and powerful story system that can apply to any potential game. If these suggestions are desirable/acceptable to integrate into this plugin, then let me know and I'd like to offer myself as a design consultant / contributor (when I can find the time). If not, then that's cool, and I'll just reserve my ideas for godot-journey. Would prefer not to divide up our efforts though if they fall in line, hence this proposal Issue (won't even need godot-journey if the effort can be done here).
I'll be clear: if we did everything I propose, it would probably entail rewriting very large portions of the Rakugo codebase (by my guess) and re-organizing it into multiple repositories. So...this kind of decision isn't to be taken lightly. XD I just wanna broach the possibility of working together rather than separately.
willnationsdev/godot-journey#1
This is what I envision for godot-journey. It would serve as a basis for any and all future story management plugins as other plugins would merely create a particular visualization - like Rakugo's Phone Mode, or interface - like Rakugo's GDScript API or future RakugoScript, etc. and add to the available ways of interacting with the Core.
If you'd like, we could continue going down this route where people work on both godot-journey and Rakugo and essentially keep godot-journey as the Core repository and then once it is far enough along, Rakugo can just refactor to build on top of it. Let me know what you think.

cc @xDGameStudios

@willnationsdev
willnationsdev/godot-journey#1 is huge and you are awesome and crazy genius.
I very like your ideas for godot-journey :D
So we work on both godot-journey and Rakugo and when godot-journey is ready we rewrite Rakugo to use it.

@willnationsdev @xDGameStudios here is Rakugo's dev discord channel: https://discord.gg/EK3VQpj

There is no need for this issue to be open.


New sample script: Bulk-create Planner tasks

Docs

Author
Waldek Mastykarz

Original Post
here

Description
Bulk-create Planner tasks using an input file

Keywords
Planner Governance Provisioning

@plamber could you please assign this to me?

@waldekmastykarz / @plamber We can set task title and status values using the following two commands. Are we good with these two fields? Please confirm.
https://pnp.github.io/cli-microsoft365/cmd/todo/task/task-add/
https://pnp.github.io/cli-microsoft365/cmd/todo/task/task-set/

Let's do that for now. We can always extend the script in the future as we add support for setting due dates and assigning todo's to people.

@sprider, this issue is about creating Planner tasks not to do tasks. Seems like we're missing commands for it as right now we only support retrieving Planner tasks :(

@sprider, this issue is about creating Planner tasks not to do tasks. Seems like we're missing commands for it as right now we only support retrieving Planner tasks :(
Care to help us with writing specs and building the necessary commands?

@waldekmastykarz Sure, I will write the spec for the necessary commands.

Related to #2531 and #2255

Related to #2824

Since we have m365 planner plan add, m365 planner bucket add and m365 planner task add this one can be picked up again 🚀

@waldekmastykarz @appieschot - Happy to take that one on if that's OK 🙂

Hi @veronicageek,
all yours.
Cheers

Awesome! Thank you for the heads up!


Why root

So I am not sure why my user was removed when installing alwsl. I open the new bash prompt and all I see is the root user. I dont want to be running root the whole time. If I need root I will sudo command what I want. Am I missing something?

Refer to the archlinux wiki on how to setup a new user, then switch the user using the approprieate command line switches for alwsl.


Update scala-library to 2.13.5

Updates org.scala-lang:scala-library from 2.13.2 to 2.13.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang", artifactId = "scala-library" } ]

labels: library-update, semver-patch

Superseded by #82.


Changes on builder

Path delimiter is fixed, it's according to platform
Source files are built group by group

can you please change the merge target to branch named v0.1.0 and use relevant commit types.


Add note on EndpointInfo semantics

The comments in the code don't explain enough about what is expected of the driver, and this is arguably a better place for such an explanation.

@mavenugo @spikecurtis I've folded in your suggestions

@squaremo Thanks. can u pls squash the commits ?

Thanks LGTM

LGTM


Fix some logos

This PR fixes some broken logos in the hosted_logos directory. This should make them appear correctly in landscape2.

Thank you @cynthia-sg !


feat: make remove widget work for slivers

Adds option to use Remove this widget also on Sliver widgets (with sliver and slivers argument).
Fixes #56637
Also adds ability to remove widget without child/children/sliver/slivers/builder arguments, if the widget is in a list.
Fixes #56390

[x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Great job! Do you have an idea how long it will take to have this in "stable"?

@JulianHock no idea tbo. I suppose next Dart release should have this included? But I am really not sure how these things work tbo. 😁


Recommended for you rail showing with no results, should be hidden

I am not sure what this is. I suspected on Friday that this was a caching issue: the endpoint that checks if this rail should show up is now uncached and 'live', whereas the endpoint that returns the data for the rail might have been cached.
However, they both should be equivalently cached now, and a spec trying to repro the above hypothesis didn't work, so I'm stumped 🤔
@katarinabatina does this issue still persist?

@mzikherman yup I still have it today

Added a spec/repo: https://github.com/artsy/gravity/pull/11032
I'm stumped :(

Added a spec/repo: https://github.com/artsy/gravity/pull/11032
I'm stumped :(

This might be fixed by https://github.com/artsy/emission/pull/529; if the data actually isn't ever being fetched than it will be fixed by my next pr.

This is done


Autocomplete controlled state, when initial value is undefined, the next time state changes component doesn't show the value

Steps to reproduce
Steps:

Open this link to live example: https://codesandbox.io/p/sandbox/hqv9tn
Click on the button "test" which sets the value to an option
You will see that the value changed but the component still displays no value

Note that if you change the initial value to be null , this bug will not happen, it only happens when the initial value = undefined
Current behavior
Component does not display value
Expected behavior
Component should display value
Context
No response
Your environment

npx @mui/envinfo
  Google Chrome 130.0.6723.117
  System:
    OS: macOS 15.1
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: Not Found
    Edge: Not Found
    Safari: 18.1
  npmPackages:
    @emotion/react:  11.13.3
    @emotion/styled:  11.13.0
    @mui/base: 5.0.0-alpha.103 => 5.0.0-alpha.103
    @mui/core-downloads-tracker:  5.14.10
    @mui/icons-material:  5.16.7
    @mui/material:  5.4.4
    @mui/private-theming:  5.14.10
    @mui/styled-engine:  5.16.6
    @mui/system:  5.14.10
    @mui/types:  7.2.4
    @mui/utils:  5.14.10
    @mui/x-data-grid:  6.10.2
    @mui/x-data-grid-premium:  6.10.2
    @mui/x-data-grid-pro:  6.10.2
    @mui/x-internals:  7.21.0
    @mui/x-license:  7.21.0
    @mui/x-license-pro:  6.10.2
    @types/react: 17.0.39 => 17.0.39
    react: 17.0.2 => 17.0.2
    react-dom: 17.0.2 => 17.0.2
    styled-components: 5.3.3 => 5.3.3
    typescript: 4.5.5 => 4.5.5

Search keywords: Autocomplete controlled state value bug

This is expected, the component turns into controlled mode if value is provided, but undefined is treated as the value is not provided, so the component is in uncontrolled mode. null is different, because setting a prop to null means that the user of the component set this value to something. I hope this explanation helps.


 It is held by process 1795 (apt-get)
==> digitalocean.supabase: E: Unable to lock directory /var/lib/apt/lists/
    digitalocean.supabase: Reading package lists...
    digitalocean.supabase: Building dependency tree...
    digitalocean.supabase: Reading state information...
    digitalocean.supabase: Package docker-ce is not available, but is referred to by another package.
    digitalocean.supabase: This may mean that the package is missing, has been obsoleted, or
    digitalocean.supabase: is only available from another source
    digitalocean.supabase:
==> digitalocean.supabase: E: Package 'docker-ce' has no installation candidate
==> digitalocean.supabase: E: Unable to locate package docker-ce-cli
==> digitalocean.supabase: E: Unable to locate package containerd.io
==> digitalocean.supabase: E: Couldn't find any package by glob 'containerd.io'
==> digitalocean.supabase: E: Couldn't find any package by regex 'containerd.io'
==> digitalocean.supabase: E: Unable to locate package docker-buildx-plugin
==> digitalocean.supabase: E: Unable to locate package docker-compose-plugin
==> digitalocean.supabase: /tmp/script_5994.sh: line 35: docker: command not found
==> digitalocean.supabase: Provisioning step had errors: Running the cleanup provisioner, if present...
==> digitalocean.supabase: Destroying droplet...
==> digitalocean.supabase: Deleting temporary ssh key...
Build 'digitalocean.supabase' errored after 1 minute 20 seconds: Script exited with non-zero exit status: 127. Allowed exit codes are: [0]

==> Wait completed after 1 minute 20 seconds

==> Some builds didn't complete successfully and had errors:
--> digitalocean.supabase: Script exited with non-zero exit status: 127. Allowed exit codes are: [0]

use ubuntu 22.04, docker-ce is not available on 23.10 yet(assuming that's what you're using based on issue #52 )


TERM trap does not work anymore as in README

Hi!
TERM trap does not work for me as in README:
Signal.trap('INT') do
  bot.stop
end

I'm not sure - no chance to dig deeper at the moment, but it seems Faraday sets it's own trap and handles TERM that wait so program waits for the connection timeout and then exits. "bot stop" trap isn't called.
Maybe it is possible to disable Faraday's handler somehow 🤷
% ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]

% gem info faraday

*** LOCAL GEMS ***

faraday (2.7.11)
    Authors: @technoweenie, @iMacTia, @olleolleolle
    Homepage: https://lostisland.github.io/faraday
    License: MIT
    Installed at: /Users/eugene/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0

    HTTP/REST API client library.

% gem info telegram-bot-ruby

*** LOCAL GEMS ***

telegram-bot-ruby (1.0.0)
    Author: Alexander Tipugin
    Homepage: https://github.com/atipugin/telegram-bot
    Installed at: /Users/eugene/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0

    Ruby wrapper for Telegram's Bot API

Ah it seems bot.stop is not released yet

@eugene-nikolaev Hi! Yes, try using the master branch for now (until the next release)

trap("TERM") seems not be working for me in the master as well.
The program just exits instantly without calling the handler.
I've checked trap("QUIT") and it works.

trap("TERM") seems not be working for me in the master as well. The program just exits instantly without calling the handler.
I've checked trap("QUIT") and it calls it (though not closing the program for sure).

You're writing about TERM signal, but quoting documentation about INT.


Articulate Markdown - Strikethrough

I tried using "~~" mentioned in the github but didn't work. It would be nice to have support for strikethrough in the markdown. Is there any other working way for now?
My articulate blog page with ~~
articulate blog
Same content in GitHub,
github

I used the HTML strike tag to overcome this issue.
<strike>strike through</strike>
Anyway thanks and Articulate is one among the best Umbraco packages in my list.


Wont compile without -lX11

I am attempting to make a function that get the resolution and refresh rate of the monitor(only figured out resolution so far) and I can only compile it atm by running the function in its on project and building it with cargo rustc -- -lX11
My Code
use std::ptr;
use x11::xlib::{XCloseDisplay, XOpenDisplay, XScreenCount, XScreenOfDisplay};

pub fn resolution() {
    unsafe {
        // open a display
        let display = XOpenDisplay(ptr::null());
        // return the number of available screens
        let count_screens = XScreenCount(display);

        println!("Number of screens: {}", count_screens);
        for i in 0..count_screens {
            let screen = *XScreenOfDisplay(display, i);
            println!("\tScreen {}: {}x{}", i + 1, screen.width, screen.height);
        }
        // close the display
        XCloseDisplay(display);
    }
}

pub fn main() {
    resolution();
}

This my Cargo.toml
[package]
edition = "2018"

[dependencies]
libc = "0.2"
x11 = "2.18.1"

Am I doing something wrong? Is there anyway I can run this from with a project with multiple file inside the src directory?

Thanks I didnt event know there were feature flags

The bindings for xlib functions probably shouldn't be complied in when that feature isn't used.


Abstract state in Angular 2?

Hi,
Is it possible to define abstract states in Angular 2 yet? Any example would be highly appreciated.
Thank you.

Is it possible to define abstract states

yep.  http://angular-ui.github.io/ui-router/1.0.0-alpha.5/interfaces/ng2.ng2statedeclaration.html#abstract

Sorry, I've missed that page somehow. Very exciting to see my favorite router to retain the cool features in ng2.

I'm migrating from UI-Router Angular 1.5 to Angular 2, and the root abstract state is not working as it's used to be.
I have a root named view, let's call it (main@)
@Component({
selector: 'app',
styles: [ ],
template:

loading ui-view...

})
Registration:
UIRouterModule.forRoot({
  states: [
    {
      name: 'app',
      abstract: true,
      views : {
       'main@': AppMainPage,
       'toolbar@app': AppToolbar,
       'navigation@app': AppNavigation,
       'quickPanel@app': AppQuickPanel
       }
    },

The AppMainPage is never initialized if I provide {views} option.
The same approach is working with UI-Router for Angular 1.5.
Please advise if it's supported in NG2 module.


Resolution settings opening on pause,play and forward/back. conflict with Enhancer for YouTube

Describe the bug
whenever an action happens to a video, be it via keyboard, Bluetooth headset controls, Logitech mouse macros or presumably anything, YouTubes resolution settings opens or closes after most general controls. this appears to be a conflict with Enhancer for YouTube as it has a setting to force set resolutions.
Steps to reproduce the behavior:

Install Enhancer for YouTube
Enable "Automatically play videos at my preferred quality" (it won't matter to what resolution probably)
Load a video and play
Spam rewind or click to play/pause
resolution settings open after the video command/s end (or so it seems)

Expected behavior:
I would just like to be able to spam the left key to rewind when someone talks over a video without the settings opening repeatedly.
Desktop:

OS: Windows 10 Pro x64
Version/Build: 2004/10.0.19041
Browser: Chrome Canary
Version 89.0.4340.0 (Official Build) canary (64-bit)

Additional context
I tested without Enhancer for YouTube enabled and the error did not occur. There are also other conflicts with this extension I think but non that noticeable other than this.
A likely related error is once Ambilight was installed it also prevents Enhancer for Youtube changing the resolution from auto when a video starts.
I have not tested this error in Firefox.
Ps: Ambilight is very impressive for what it does in real-time, and how easy it is to use.
I appreciate that its probably a lot of work to develop, and in my opinion, it works great, runs pretty well and if it doesn't, it is as simple and capable to configure as it should be.
I'm looking forward to any potential updates.

It looks like the extension is setting the quality of the video via de quality menu that is used by the user. My guess is that it has a conflict with the ambilight menu or is waiting for the quality menu to appear within a maximum timeframe (for example 500 milliseconds). But your computer is busy rendering the ambilight so the computer is unable to show the menu within that timeframe.
It would be better for the Enhancer for YouTube extension to set the playback quality directly via code. That way the extension cannot conflict with menu's of other extensions and is not dependent on the performance of the computer.
A code example which gets and sets the playback quality:
var player = document.querySelector('#movie_player');
var currentLevel = player.getPlaybackQuality();
// Example: currentLevel = 'medium'
var availableLevels = player.getAvailableQualityLevels();
// Example: availableLevels = ["hd1080", "hd720", "large", "medium", "small", "tiny", "auto"]
player.setPlaybackQualityRange('hd1080', 'hd1080');

@DJGoo Have you reported the bug to the developer aswell via http://improvedtube.com/contact ?

@DJGoo Were you able to resolve the issue with the Enhancer for YouTube extension team?

Sorry I haven’t had a chance to follow it up yet, it’s a rough time of year.
I do intent to contact the devs of Enhancer for Youtube but I just haven’t gotten to it yet.
I did discover that by turning on sync video with ambilight, turning off smooth motion, and in: Nvidia Control Panel/Manage 3D Settings/Chrome, changing  ‘Virtual Reality pre-rendered frames’ from the default 1 to ‘use the 3D application setting’ seemed to allow chrome to run at and above my refresh rate (90) much easier which seems to have reduced how often the bug occurs. That does seem to indicate as you said that it may be related to a delay.

No problem.
If it's related to performance you might want to try out the "Synchronization" option "Best" when release 2.36.0 (#65) is out for Chrome (Or try out Opera that has the update already).
The combined performance improvements should allow you to even play 8k60fps videos in 90hz if you've got a powerful graphics card. (I was able to jump from 15hz to 144hz).

The pending release 2.36.4 (#65) contains performance improvements in the "page content shadow". Thath might also resolve the issue.

I'm closing this issue since all browsers now contain the above mentioned performance improvements. Feel free to open a new bug if there is still a problem.


Donejs init should merge package.json if it already exists

If I already have a package.json and run donejs init, it should use my existing settings appropriately.

It already does by reading the initial package.json at https://github.com/donejs/generator-donejs/blob/master/app/index.js#L12 and then merging it with the generator content at https://github.com/donejs/generator-donejs/blob/master/app/index.js#L139. Prompts for fields will also only be shown when the field isn't present in the original package.json.


Details of the json files

I like this project.
After reading the codes. I find this program parse a json file and preview it.
I want to know more about the details of the json file (that stands for a watchface)
including how to get the json file ? and how many fields in it? and how to convert json file to a bin file.
Can you help me ?

Sorry for not answering, I didn't receive a notification about this issue.
You must use this tool to unpack and pack again Mi Band 4-6 watchfaces: https://amazfitwatchfaces.com/forum/viewtopic.php?t=720&sid=992b89e40cbd9db659a5137c42c36861

thanks.


Please tag new release

As there has been recent activity on this repo, a new release would be very appreciated.
The most recent release is 8 years old, and there are several important fixes since then.
A new release would make packaging this for distribution much easier

Hey, I am struggling to make the source code. I don't actually use cpp so I don't really know what to do. After running make install I don't see any tarball or PKGBUILD. What am I doing wrong?


Imagery (and terrain) maximum level is limited in certain places In CV mode

In 3D mode, with the following code, I can reach the maximum possible level (25) while zooming.
However in CV, the maximum level I can reach in this area is 15 (as reported by Cesium Inspector's Show Tile Coordinates), so the image is blurry.

var viewer = new Cesium.Viewer('cesiumContainer', {sceneMode: Cesium.SceneMode.COLUMBUS_VIEW});
var cesiumTerrainProviderMeshes = new Cesium.CesiumTerrainProvider({
    url : 'https://assets.agi.com/stk-terrain/world',
    requestWaterMask : true,
    requestVertexNormals : true
});

viewer.terrainProvider = cesiumTerrainProviderMeshes;

var Cartesian3 = Cesium.Cartesian3;
var cameraPostion = new Cartesian3(4419887.063689054,<PHONE_NUMBER>07391, 4555926.042467477);

viewer.camera.setView({
    destination: cameraPostion
});

var scene = viewer.scene;
 var entity = viewer.entities.add({
    position: cameraPostion,
    point: {
        pixelSize: 10
    }
});

viewer.extend(Cesium.viewerCesiumInspectorMixin);

Thanks for reporting this @duvifn!


The Dockerfile is very large

Images based off the ubuntu base image tend to be large. The Dockerfile should be based on a more minimal image.
I suggest python:2.7.

Try gliderlabs/alpine and installing Python with apk like we did here:
https://github.com/gliderlabs/python-runtime.
We've spent a ton of time with Dockerfile and image optimization while
balancing good package support. Alpine is where it's at. Otherwise, make a
custom Dockerfile based on ubuntu-debootstrap for broader package support
but smaller starting point.
On Fri, Jan 30, 2015 at 8:32 AM, Rob Haswell<EMAIL_ADDRESS>wrote:

Images based off the ubuntu base image tend to be large. The Dockerfile
should be based on a more minimal image.
I suggest python:2.7.
—
Reply to this email directly or view it on GitHub
https://github.com/ClusterHQ/powerstrip/issues/43.

--
Jeff Lindsay
http://progrium.com


Add styling to "How to Use" Starting Point Page

I believe this is a duplicate of #289, closing it.


Stops at Lended

Hello everyone, great project!
I'm just wondering if it's normal that when I double click lendingbot (after the first time and configured my default.cfg) The bot stay at Lended:
Here's a screenshot:

It has been like an hour or so and it just stays there.
I have enough funds in my poloniex account (0.03 bitcoins) and have the default settings, only updated my API key and secret.
Thank you for your help.

Have you tried restarting the bot?

Hello and thanks for the help.
Yes I have tried many times now to restart it, even tried with the web interface.
Here is my default.cfg file:
[BOT]
#sleep between active iterations, time in seconds (1-3600)
sleeptimeactive = 60

#sleep between inactive iterations, time in seconds (1-3600)
#set to same as sleeptimeactive to disable
sleeptimeinactive = 300

#minimum daily lend rate in percent (0.00003-0.05)
mindailyrate = 0.04

#max rate. 2% is good choice because it's default at margin trader interface.
#5% is max to be accepted by the exchange (0.00003-0.05)
maxdailyrate = 2

#The number of offers to split the available balance across the [gaptop, gapbottom] range. (1-20)
spreadlend = 3

#The depth of lendbook (in percent of lendable balance) to move through
#before placing the first (gapbottom) and last (gaptop) offer.
#If gapbottom is set to 0, the first offer will be at the lowest possible rate.
#However some low value is recommended (say 10%) to skip dust offers.
gapbottom = 10
gaptop = 200

#Daily lend rate threshold after which we offer lends for 60 days as opposed to 2.
#If set to 0 all offers will be placed for a 2 day period (0.00003-0.05)
sixtydaythreshold = 0.2

#Minimum loan size the minimum size of offers to make, bigger values prevent the bot from loaning small available amounts but reduce loans fragmentation
minloansize = 0.001

#AutoRenew - if set to 1 the bot will set the AutoRenew flag for the loans when you stop it (Ctrl+C) and clear the AutoRenew flag when on started
autorenew = 0

#custom config per coin, useful when closing positions etc.
#syntax: ["COIN:mindailyrate:maxactiveamount",...]
#if maxactive amount is 0 - stop lending this coin. in the future you'll be able to limit amount to be lent.
#coinconfig = ["BTC:0.18:1","CLAM:0.6:1"]

#this option creates a json log file instead of console output which includes the most recent status
#uncomment both jsonfile and jsonlogsize to enable
jsonfile = www/botlog.json
#limits the amount of log lines to save
jsonlogsize = 200
#enables a webserver for the www folder, in order to easily use the lendingbot.html with the json log
startWebServer = true

And here's what I see when enabled the web server:

Again nothing.
Thanks.

I would recommend not starting the web interface till you have it running without, easier to see errors with the cmd.
Make sure your btc is actually in the Lending account, not Exchange or Margin - I would suspect that this behavior might be how it looks if there are no coins to lend.
Otherwise, since you are trying to lend BTC and mindailyrate is 0.04 and current offers are around 0.02 - I would try reducing that value to 0.02.

You were right; this was the problem!
Thanks a lot for your help !!


Emit alarm to campana

See discussion on Slack: https://simonsobs.slack.com/archives/CCSD6LBB3/p1699022636413179

Done with the release v0.1.0


Add hello-unity app

Add's the hello-unity app

Can you follow https://github.com/ubuntu/snappy-playpen/blob/master/CONTRIBUTING.md?

I think you should follow the contributing guide as per PR message

It looks like you added kcalc to this branch too. Can you fix that?

The build fails now too - thanks @didrocks !

First time ever someone thanks me for a build failing! :-) Happy that it works now!

Can we close this one?


checkver UNC paths

Does checkver.ps1 support reading FileVersion of an UNC File?
My manifest looks like:
{
    "version": "<IP_ADDRESS>",
    "url": "https://any-url-existing.com",
    "installer": {
        "script": [
            "START \\\\server\\path\\setup.exe -Wait -verb RunAs -ArgumentList \"/p1\",\"/p2\""
        ]
    },
    "uninstaller": {
        "script": [
            "START \\\\server\\path\\setup.exe -Wait -verb RunAs -ArgumentList \"/x\""
        ]
    },
    "checkver": {
        "fileversion": "\\\\server\\path\\setup.exe"
    }
}

No. Only jsonpath within or regex on some page.


Update sz.py

The TOKEN_WHITELIST constant was missing the token.COMMENT type.
The count_tokens() function was not properly closing the tokenize.open() file handle.
The tabulate() function was not being called with the floatfmt argument.

This is more lines and I don't see the benefit.


build: use vendored openssl crate feature to mitigate missing headers

Hopefully fixes these kinda errors: https://github.com/jdx/mise/actions/runs/7996715229/job/21839765074
Not quite sure yet, but found hints that openssl headers might be missing. Using the vendored feature of openssl crate, these should be used from openssl-src.

we're already using this I think:
https://github.com/jdx/mise/blob/4adac60c41767bb18b479ce2532324bf33d1c946/.github/workflows/release.yml#L86
not sure what's going on here but it looks like maybe a bug around the cc crate

oh, i c - kk, then i'll close this ;)


Remove body "max-width" from dashboard.

In the dashboad, to prevent experiments with long names from overflowing:

Remove the max-width: 800px style from the body:

Coverage remained the same at 98.28% when pulling 5bccf11e7b212646019e9c3b219a20120612de6a on xicreative:remove-body-max-width into 742bf44e6eb7f1055a63ae2c3d6e35c99150f702 on andrew:master.

Not sure why the tests are failing but this looks good, thanks @xicreative


fix: TreeNode has same attribute with NodeMixin

Summary
NodeMixin have attrubute called size and it is set property. Overwrite this property by _size but it will make report incompatible.
Create a new class NuttxDictExporter to renaming _size into size.
reference: https://github.com/c0fec0de/anytree/blob/27ff97eed4c09b4f0eb9ae61b45dd30b794a135c/anytree/node/nodemixin.py#L508
Impact
tools/sizereport
Testing
local test.

@TaiJuWu small typo: attrubute -> attribute

@acassis Thank you a lot.
I hope get some help from community
Is there any documentation about this tool?
I have some questions about it.
And how can I get the python formatting tool?


fix: python 2.7 utf-8 error

solves: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 52: ordinal not in range(128)

:+1:

:+1: thanks!

Closing at @sakulstra's request


New document for sonobuoy query

What this PR does / why we need it:
Documentation for sonobuoy query command
Which issue(s) this PR fixes

Fixes #1558

Special notes for your reviewer:
Release note:
none

@johnSchnake thank you so much for making such an effort for reviewing. I think that you have wrote more than myself in this doc :sweat_smile: . I will try to make less mistakes next time.

@NikhilSharmaWe I'm happy to help, I know you're starting out and lots of this is new. The best way to learn is just to keep trying at it. When I was a starting out I wouldn't have known how to navigate random repos, manage git PRs, technical writing, etc.
One of my most valuable pieces of advice I got starting out was just to try really hard to solve problems on your own, but once you really feel blocked and can't imagine how to proceed, always ask for help. Trying to learn is valuable, but at some point you're just wasting your time if you dont know what to do next (and have tried).

FYI be sure to click on the button to re-request a review from me when you're ready. Otherwise I'm not sure if you're still fixing it up.

@johnSchnake So, does the document need any more changes or is it fine now ?


Add easy way to dispatch from app projects

It would be nice if there was an easy way to dispatch messages from the App projects.
For example permissions - these are requested asynchronously in the Android and iOS app projects, and once accepted or rejected a message could then be dispatched to update the model and UI.

I can see the need for things like external events (e.g. deep-linking), where you won't be inside the Fabulous loop.
But I don't think you should use dispatch from the App projects to ask for permissions.
Do you have an example where you can't await inside the Core project?
In ElmishContacts, I used the PermissionsPlugin that allows to request asynchronously for a permission. Coupled with Cmd.ofAsyncMsgOption, you can react (or not) based on the choice of the user.
https://github.com/TimLariviere/ElmishContacts/blob/541ded8a94479090988c05a9062dc10c80955396/ElmishContacts/Helpers.fs#L41-L52
Even if PermissionsPlugin doesn't provide a permission I need, I tend to use DependencyService and make an interface that encapsulates the whole "ask for permission" flow in a single awaitable method, called in the Core project.
Globally, one strength of Fabulous is to centralize the events inside init\update\view\subscriptions.
And I think exposing dispatch outside can be dangerous. (a previous global dispatch has been marked obsolete).

And I think exposing dispatch outside can be dangerous. (a previous global dispatch has been marked obsolete).

I think in the context of xamarin there is nothing dangerous about a global dispatch. However it has to have the right type, ie the message type must be that of the overall application.
The previous global dispatch was broken as it had generic type.
The 'program' could report a dispatch function for example I think.

Accessing the dispatch function through the program runner (exposed only by the App class) can be a good solution.
What worries me is that if we give a static global dispatch, it might be misused instead of correctly flowing the dispatch function given in parameter.
It's the same function, but using the one passed in parameter is way easier to know where a dispatch occurs.

I think we need some way to dispatch messages in a clean simple way. I get your point about using the dependency service, but that feels a bit janky, having to create a class/interface just to pass a message around.
In a couple of projects I've used the Xamarin.Forms messenger to pass messages around, and set up a subscription to that which dispatches messages, but it feels a bit heavyweight and after the third app that uses it, feels like it should be baked in.
Permissions probably wasn't the best example, but I've also used it for platform specific stuff like handling callbacks from ai services in a third-party jar that I've bound.
Global dispatch doesn't feel right, and access to a dispatch function on the program on the App was my first thought.

Looks like a great implementation, does exactly what is needed.

Great. I will add it to the next release (0.28)


Add ProxyNova API to the README

[ ] My submission is formatted according to the guidelines in the contributing guide
[ ] My addition is ordered alphabetically
[ ] My submission has a useful description
[ ] The description does not have more than 100 characters
[ ] The description does not end with punctuation
[ ] Each table column is padded with one space on either side
[ ] I have searched the repository for any relevant issues or pull requests
[ ] Any category I am creating has the minimum requirement of 3 items
[ ] All changes have been squashed into a single commit

Title: Add ProxyNova API to the list
Description: This pull request adds the ProxyNova API to the README of the public-apis project. The ProxyNova API allows users to search the world's largest dataset of leaked passwords.
API Name: ProxyNova
API URL: https://www.proxynova.com/tools/comb/
Auth: No
HTTPS: Yes
CORS: Unknown
I believe this addition will benefit users looking for password security resources. Thank you for considering my contribution!


MAINT, TST: OpenBLAS 0.3.13 bump status

I tried bumping to OpenBLAS 0.3.13 on my fork since we haven't updated OpenBLAS versions in a long time.
As expected (observed with bumps to slightly older versions), we still have some issues with the Windows/Azure tests in CI, which can be summarized as follows:

a single linalg Windows 32-bit failure pasted below the fold (original log link may disappear after 10 days: https://dev.azure.com/tylerjereddy/b7b8353e-eff5-4f0d-b725-2dbd0728d298/_apis/build/builds/1184/logs/207)

2021-06-06T01:40:41.3316707Z ___________________ TestInterpolativeDecomposition.test_id ____________________
2021-06-06T01:40:41.3322378Z [gw0] win32 -- Python 3.7.9 C:\hostedtoolcache\windows\Python\3.7.9\x86\python.exe
2021-06-06T01:40:41.3324129Z C:\hostedtoolcache\windows\Python\3.7.9\x86\lib\site-packages\scipy\linalg\tests\test_interpolative.py:49: in test_id
2021-06-06T01:40:41.3325581Z     self.check_id(dtype)
2021-06-06T01:40:41.3326645Z         dtype      = <class 'numpy.complex128'>
2021-06-06T01:40:41.3328606Z         self       = <scipy.linalg.tests.test_interpolative.TestInterpolativeDecomposition object at 0x17BAD250>
2021-06-06T01:40:41.3330405Z C:\hostedtoolcache\windows\Python\3.7.9\x86\lib\site-packages\scipy\linalg\tests\test_interpolative.py:91: in check_id
2021-06-06T01:40:41.3331876Z     assert_(np.allclose(A, B, eps))
2021-06-06T01:40:41.3332846Z E   AssertionError
2021-06-06T01:40:41.3336449Z         A          = array([[1.        +1.j        , 0.5       +0.5j       ,
2021-06-06T01:40:41.3343196Z         0.33333333+0.33333333j, ..., 0.0033557 +0.0033557j ,
2021-06-06T01:40:41.3344395Z  ...
2021-06-06T01:40:41.3345222Z         0.00331126+0.00331126j, ..., 0.00167504+0.00167504j,
2021-06-06T01:40:41.3346420Z         0.00167224+0.00167224j, 0.00166945+0.00166945j]])
2021-06-06T01:40:41.3347723Z         B          = array([[1.        +1.00000000e+00j, 0.5       +5.00000000e-01j,
2021-06-06T01:40:41.3349239Z         0.33333333+3.33333333e-01j, ..., 0.00252299+3....126+3.31125828e-03j, ..., 0.00240064+4.01219469e-04j,
2021-06-06T01:40:41.3350426Z         0.00239738+3.93272780e-04j, 0.00239412+3.85406210e-04j]])
2021-06-06T01:40:41.3351360Z         L          = <300x300 MatrixLinearOperator with dtype=complex128>
2021-06-06T01:40:41.3352756Z         S          = array([3.28383209e+00, 1.46118973e+00, 4.85550807e-01, 1.40695788e-01,
2021-06-06T01:40:41.3353890Z        3.77404295e-02, 9.57267036e-03, 2.318987...4.27960659e-19, 3.65818780e-19, 3.41481448e-19,
2021-06-06T01:40:41.3354953Z        2.39552008e-19, 2.05810981e-19, 1.28572586e-19, 2.87541499e-20])
2021-06-06T01:40:41.3356086Z         dtype      = <class 'numpy.complex128'>
2021-06-06T01:40:41.3356872Z         eps        = 1e-12
2021-06-06T01:40:41.3357680Z         fmt        = '%8.2e (s) / %5s'
2021-06-06T01:40:41.3358516Z         idx        = array([  0,  76,   1, 134,   2,   5,   6,   7,   8,   9,  10,  11,  12,
2021-06-06T01:40:41.3360179Z         13,  14,  15,  16,  17,  18,  19,  20,..., 282, 283, 284, 285,
2021-06-06T01:40:41.3361107Z        286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298,
2021-06-06T01:40:41.3362007Z        299], dtype=int32)
2021-06-06T01:40:41.3362780Z         k          = 5
2021-06-06T01:40:41.3363555Z         n          = 300
2021-06-06T01:40:41.3364429Z         proj       = array([[ 1.14253932e+00+8.14415919e-01j,  1.02685117e+00+7.27996082e-01j,
2021-06-06T01:40:41.3365438Z          9.31616510e-01+6.56616558e-01j, .......,
2021-06-06T01:40:41.3366389Z         -6.28869125e-03-4.88365418e-03j, -6.30277694e-03-4.85859879e-03j,
2021-06-06T01:40:41.3367338Z         -6.31662104e-03-4.83374460e-03j]])
2021-06-06T01:40:41.3368067Z         rank       = 20
2021-06-06T01:40:41.3369098Z         self       = <scipy.linalg.tests.test_interpolative.TestInterpolativeDecomposition object at 0x17BAD250>
2021-06-06T01:40:41.3370185Z         t          = 0.004997968673706055
2021-06-06T01:40:41.3371049Z         t0         =<PHONE_NUMBER>.3000128

the Windows Python 3.8 64-bit integer OpenBLAS backend build/test run seems to slow down by up to 20 minutes or so, clocking in just barely under the timeout limit at 58 minutes (and it sometimes timed out when attempting to bump to slightly older versions of OpenBLAS)

The second issue probably concerns me a bit more. Anyway, that's the summary of blocking issues I know about and why we haven't upgraded in quite some time. We may also have access to version 0.3.15 when the upstream repo manages to get it building.
cc @ilayn @martin-frbg

From the look of it, seems like a tolerance issue but in any case we need to convert assert_(np.isclose....) tests to proper assert_allclose. I'll check now

Indeed if I fix the assertion types then we get a proper error message; also on my computer the same fails
E   AssertionError:
E   Not equal to tolerance rtol=0, atol=1e-12
E
E   Mismatched elements: 60 / 90000 (0.0667%)
E   Max absolute difference: 1.49222995e-12
E   Max relative difference: 4.15349903e-10
E    x: array([[1.      , 0.5     , 0.333333, ..., 0.003356, 0.003344, 0.003333],
E          [0.5     , 0.333333, 0.25    , ..., 0.003344, 0.003333, 0.003322],
E          [0.333333, 0.25    , 0.2     , ..., 0.003333, 0.003322, 0.003311],...
E    y: array([[1.      , 0.5     , 0.333333, ..., 0.003356, 0.003344, 0.003333],
E          [0.5     , 0.333333, 0.25    , ..., 0.003344, 0.003333, 0.003322],
E          [0.333333, 0.25    , 0.2     , ..., 0.003333, 0.003322, 0.003311],...

Ah yeah, looks even worse on the 32-bit CI machine:
2021-06-06T19:28:49.0040893Z ___________________ TestInterpolativeDecomposition.test_id ____________________
2021-06-06T19:28:49.0041675Z [gw0] win32 -- Python 3.7.9 C:\hostedtoolcache\windows\Python\3.7.9\x86\python.exe
2021-06-06T19:28:49.0042620Z C:\hostedtoolcache\windows\Python\3.7.9\x86\lib\site-packages\scipy\linalg\tests\test_interpolative.py:50: in test_id
2021-06-06T19:28:49.0043402Z     self.check_id(dtype)
2021-06-06T19:28:49.0043995Z         dtype      = <class 'numpy.complex128'>
2021-06-06T19:28:49.0044738Z         self       = <scipy.linalg.tests.test_interpolative.TestInterpolativeDecomposition object at 0x15DD23F0>
2021-06-06T19:28:49.0045646Z C:\hostedtoolcache\windows\Python\3.7.9\x86\lib\site-packages\scipy\linalg\tests\test_interpolative.py:92: in check_id
2021-06-06T19:28:49.0046480Z     assert_allclose(A, B, rtol=eps, atol=1e-08)
2021-06-06T19:28:49.0047016Z E   AssertionError:
2021-06-06T19:28:49.0047606Z E   Not equal to tolerance rtol=1e-12, atol=1e-08
2021-06-06T19:28:49.0048161Z E
2021-06-06T19:28:49.0048714Z E   Mismatched elements: 88500 / 90000 (98.3%)
2021-06-06T19:28:49.0049340Z E   Max absolute difference: 0.36151892
2021-06-06T19:28:49.0050543Z E   Max relative difference: 0.99133504
2021-06-06T19:28:49.0051242Z E    x: array([[1.      +1.j      , 0.5     +0.5j     , 0.333333+0.333333j, ...,
2021-06-06T19:28:49.0051981Z E           0.003356+0.003356j, 0.003344+0.003344j, 0.003333+0.003333j],
2021-06-06T19:28:49.0052745Z E          [0.5     +0.5j     , 0.333333+0.333333j, 0.25    +0.25j    , ...,...
2021-06-06T19:28:49.0053454Z E    y: array([[1.      +1.000000e+00j, 0.5     +5.000000e-01j,
2021-06-06T19:28:49.0054087Z E           0.333333+3.333333e-01j, ..., 0.002523+3.389299e-03j,
2021-06-06T19:28:49.0054761Z E           0.002506+3.377409e-03j, 0.002489+3.365601e-03j],...

what kind of cpu target is this from OpenBLAS' viewpoint ? I am not immediately aware of any recent change in 32bit BLAS kernels (which would mostly be from original GotoBLAS)

What's the argument (if there is one) for not going directly to the newest released 0.3.15 (instead of 0.3.13)?

what kind of cpu target is this from OpenBLAS' viewpoint ? I

They're standard Azure DevOps CPUs. Looks like various Intel Xeon types: https://docs.microsoft.com/en-us/azure/virtual-machines/dv2-dsv2-series#dsv2-series

the Windows Python 3.8 64-bit integer OpenBLAS backend build/test run seems to slow down by up to 20 minutes or so, clocking in just barely under the timeout limit at 58 minutes (and it sometimes timed out when attempting to bump to slightly older versions of OpenBLAS)

https://github.com/scipy/scipy/pull/14316#issuecomment-870867644 shows that this is likely not due to OpenBLAS.

x86 DAXPY, ?DOT and ?SUM kernels were reimplemented with SSE intrinsics in 0.3.11, possibly this caused a small loss in precision somewhere.

So it looks like we can simply bump the tolerance on that one test, and then upgrade.

0.3.15 seems to be available now too which might help?

After https://github.com/scipy/scipy/commit/75ef7dbcbee1fa5114de86a3238333978350056a, I think this issue can now be closed?

Agreed, thanks @h-vetinari


how to avoid CAPTCHA?

Only gets CAPTCHA for genshin. Star rails is fine. How to avoid it?

I got same issues, it's not working now

I think if you do the captcha for few days, hoyolab will flag you not needing captcha. But if you do not log into hoyolab for while, it will flag you again.

I think if you do the captcha for few days manually, hoyolab will unflag you for bot. But if you do not log into hoyolab for while, it will flag you again, requiring CAPTCHA.

Maybe it could, but it would take away the meaning of auto check-in this script

I think if you do the captcha for few days manually, hoyolab will unflag you for bot. But if you do not log into hoyolab for while, it will flag you again, requiring CAPTCHA.

Maybe it could, but it would take away the meaning of auto check-in this script

You can check the issue discussed here in the other thread, you will notice basically Hoyoverse blocked all bots, so techinically this is best compromise you have at the moment.


HUSH-366 hush-sensor: change the major version to v0

Versions are released frequently now while many times
breaking backward compatibility.
Use v0 major version for this stage of development.
We will bump to v1 for the MVP release.

Revision 1
Compare

0..1

CC @horomena @sladkani


A collection of bug fixes

Sorry, I've only just managed to give your longjmp()-based FAIL integration a try, and update the code that originally triggered it. While doing so (all looks good!), I noticed a few minor issues, which I've done my best to fix.

8aadf2e, avoiding compile warnings for non-declared test suite functions isn't a bug as such, but does fix an annoyance when you have tha warning enabled with clang.
81ec25c fixes a legit bug in my opinion. :-) I'm a little surprised that C compilers don't complain about it, but I guess enums and ints are treated the same. C++ compilers legitimately kick up a fuss though.
f32dd49 fixes problems when #define GREATEST_USE_ABBREVS 0 is used. (prefixed macros only)

Actually, I've just realised something. Filed as bug #26 - this makes 81ec25c irrelevant as there's a deeper bug there in my opinion.

Feel free to cherry-pick and/or modify the "good" commits rather than importing my flawed 81ec25c/ad659c7 history.

Re: SUITE() forward declarations - yes, that's correct (verified as working).

I'm going to cherry-pick them into the develop branch, then test, merge to master, and tag 0.11.1.
Good work, thanks for catching these.

Cherry-picked as 0905121 and d255020, merged to develop. Thanks.


HH Id fixes

continue with adjusting 03 HH ID code and rest of years (as with 18)

Tabling the resolution of constructing a unique HHID conditioned on round for years 2003, 2004, 2006, 2007 because this solution is basically intertwined with the append/aligning of variables issue which is still left unresolved.

continue by either finding in-script solution to years 03, 04, 06, 07 or complete the solution in the align/append process.

continuing with creating separate scripts for each round of 03, 04, 06, 07. Should the "Final Checks" section be run on each round or on the appended dataset or both?

error in iced check, consider using round as a measure (but round variable is dropped in each script). Either don't drop in each round or append using iecodebook (anyway) for more control over labels. isid does pass in each round so with a round component it should pass all together.

continue with 04 05 07. These years may not require separate scripts as in 03 because there is no conditional coding based on round. Instead we may be able to use iecodebook and align?

continue with 06 and 07 next

tabling the bug in the max() function, moving on to 07

for some reason, even though 2017 has a unique HHID variable, that variable does not uniquely identify observations. So I will have to reconstruct the HHID variable for this year and potentially others beyond 2017 as well.

All years have unique HHIDs


I can not export a ML Model From TFiwS

I learn from swift-models and swift-tutorials, but I don't know how to produce ML Model from TFiwS

If you'd like to dump the weights stored in a group of parameters, you can use Swift's encoding and decoding, though in the Swift TensorFlow library there's no APIs for serializing weights to a binary file yet. Tensor already implements Codable so any struct of tensors can get a derived conformance to Codable, and you can write manual serialization code for now.
If you'd like to export a model to a specific model format (e.g. .savedmodel), it's not in our scope right now but on the roadmap. Swift for TensorFlow's programming model allows tensor code and normal code to live side by side, and the notion is different from traditional models that are expressible in a domain-specific language and be serialized to a special format (like .savedmodel). We can support .savedmodel through protocol requirements that limit a model's methods to be TensorFlow graph-only, but this is going to constrain the expressiveness of model code.

@rxwei
func lossAndGradient(for input: Tensor<Float>,
                     using model: IrisParameters,
                     labels: Tensor<Int32>) -> (Float, IrisParameters) {
    let (loss, (_, modelGrad)) =
        #valueAndGradient(loss(for:using:labels:), wrt: .0, .1)(input, model, labels)
    return (loss, modelGrad)
}

#valueAndGradient this is confused grammar,  I can not run this code, that will crash In my Xcode Project
Can I customize the backpropagation method by Tensor?

@rxwei
Why do I have to use the system python to run jupyter notebook for TFiwS,
I have created python27 environment by Anaconda, but the kernel was dead.- .-

Automatic differentiation is still work in progress. Jupyter and Python interoperability in general only supports the system python at the moment. All these components are in active development, and we'll welcome contributions if you are interested.

For the latest examples of automatic differentiation and deep learning APIs, check out https://github.com/tensorflow/swift-apis. I'm going to close this issue since we'll be developing model serialization/deserialization in the deep learning library.


unit-test for relay request, and fix Data() handling

Pulled out of click-refactor. The reason this issue didn't come up with the unicode_literals changes is because there wasn't a test that just accessed the relay-server, so I added one for that too.

landed (in rebased form) in 07b4067727e97f182581965fe2ebc5a5ef172f75 . thanks!


Ambiguous overload of JSONOutputArchive::saveValue() if int32_t is long

I'm running Cereal 1.2.2 on an NXP Kinetis K64 microcontroller (Cortex-M4) using Kinetis Design Studio 3 and KSDK v2.1.  I've got it working great; I'm using it to parse and emit commands and responses for a JSON-formatted protocol.
I've found that there are only two modifications I have to make to Cereal to get it to work in my build and execution environment.  One involves the chunk allocator, which I'll save for a different thread.  The other involves the JSONOutputArchive class, specifically the saveValue() overloads.
The crux of the issue is this: in the KDS 3 build environment, int32_t has been defined as long, and uint32_t is unsigned long.  This annoys me to no end because I have to change all my print specifiers from %d to %ld to avoid warnings, etc.  Of course, size_t is just unsigned int, so uint32_t and size_t are not identical types.  Grr.
Anyway, here's what happens on my platform if I compile Cereal as-is (output edited for clarity):
cereal/cereal/archives/json.hpp: In member function 'void cereal::JSONOutputArchive::saveLong(T)':
cereal/cereal/archives/json.hpp:262:69: error: call of overloaded 'saveValue(int32_t)' is ambiguous
       void saveLong(T l){ saveValue( static_cast<std::int32_t>( l ) ); }
cereal/cereal/archives/json.hpp:262:69: note: candidates are:
cereal/cereal/archives/json.hpp:233:12: note: void cereal::JSONOutputArchive::saveValue(bool)
       void saveValue(bool b)                { itsWriter.Bool(b);                                                         }
cereal/cereal/archives/json.hpp:235:12: note: void cereal::JSONOutputArchive::saveValue(int)
       void saveValue(int i)                 { itsWriter.Int(i);                                                          }
cereal/cereal/archives/json.hpp:237:12: note: void cereal::JSONOutputArchive::saveValue(unsigned int)
       void saveValue(unsigned u)            { itsWriter.Uint(u);                                                         }
cereal/cereal/archives/json.hpp:243:12: note: void cereal::JSONOutputArchive::saveValue(int64_t)
       void saveValue(int64_t i64)           { itsWriter.Int64(i64);                                                      }
cereal/cereal/archives/json.hpp:245:12: note: void cereal::JSONOutputArchive::saveValue(uint64_t)
       void saveValue(uint64_t u64)          { itsWriter.Uint64(u64);                                                     }
cereal/cereal/archives/json.hpp:247:12: note: void cereal::JSONOutputArchive::saveValue(double)
       void saveValue(double d)              { itsWriter.Double(d);                                                       }

The method saveLong() is casting the (verified by traits) signed 32-bit value to an int32_t, and then passing that to saveValue().  But since int32_t is long, none of the saveValue() methods match, so C++ can't decide which overload to use.
My workaround for this has been to add a couple more overloads:
      //! Saves a bool to the current node
      void saveValue(bool b)                { itsWriter.Bool(b);                                                         }
      //! Saves an int to the current node
      void saveValue(int i)                 { itsWriter.Int(i);                                                          }
      //! Saves a uint to the current node
      void saveValue(unsigned u)            { itsWriter.Uint(u);                                                         }
++    //! Saves a long to the current node
++    void saveValue(long i)                { itsWriter.Int(i);                                                          }
++    //! Saves an unsigned long to the current node
++    void saveValue(unsigned long u)       { itsWriter.Uint(u);                                                         }

However, I don't think this holds up if compiling on an architecture where sizeof(int) != sizeof(long), e.g. if long is 8 bytes.  I tried modifying the static_cast<> invocations in saveLong() to call int and unsigned int instead of std::int32_t and std::uint32_t, but that only fixes the internal calls to saveLong(); application calls to saveValue() will still fail if passed a long type.
So... what's the correct/best way to fix this?  How can I avoid having to edit cereal/archives/json.hpp every time I import cereal into a Kinetis project?  I mean, it's not a big deal to add the two extra overloads above, but editing library code is always less than ideal.  Thanks.

These issues have cropped up in the past - what helps to solve it is knowing, for all of the basic types, both the sizes used by the compiler, as well as testing std::is_equal against long. We have to try and come up with a solution that is unambiguous for everyone.

Any progress on this one? I'm using cereal as a dependency in a publicly accessible project, and modifying vendor library is not an option there.

Any progress on this one? I use cereal as a dependency in a publicly accessible project, and modifying vendor library is not an option there.


Support custom colour profiles

Add option to create a custom colour profile and use it with addTarget method (https://developer.android.com/training/material/palette-colors.html#extract-color-profiles and https://developer.android.com/reference/android/support/v7/graphics/Palette.Builder.html#addTarget(android.support.v7.graphics.Target)).
The main difficulty is to find a nice way to create Target in JS and pass it to the native side (https://developer.android.com/reference/android/support/v7/graphics/Target.html).

What do you think about,
type Target = {
  lightnessWeight: number,
  maximumLightness: number,
  maximumSaturation: number,
  minimumLightness: number,
  minimumSaturation: number,
  populationWeight: number,
  saturationWeight: number,
  targetLightness: number,
  targetSaturation: number,
  isExclusive: boolean,
}

type Options = {
  region?: { top: number, left: number, bottom: number, right: number },
  maximumColorCount?: number = 16,
  type?: ColorProfile | Array<ColorProfile> | Target,
}

Looks fine, are all of those properties required?

Likely not and might have default values. but hard to say from reading the API docs.