Allowing to use custom activation before computing the loss values

Hello,
It could be good to update the LRFinder object so to allow custom final activations to be computed before the loss.
I changed this locally in my site-packages directory of the environment im using to overcome the problem, as I need a log_softmax activation to be computed before the loss.

Hi @FMGS666
It seems a question similar to #69, maybe these 2 approaches could fit your use case?
Said the forward pass below is the desired format:
# Forward pass
outputs = model(inputs)
outputs = F.log_softmax(outputs)
loss = criterion(outputs, labels)

use a wrapper to include further operations:
class LossFunctionWrapper(nn.Module):
    def __init__(self, loss_func):
        super().__init__()
        self.loss_func = loss_func

    def forward(self, outputs, labels):
        outputs = F.log_softmax(outputs)    # <--
        return self.loss_func(outputs, labels)

Then pass this wrapper for loss function to LRFinder:
loss_func_wrapper = LossFunctionWrapper(original_loss_func)
lr_finder = LRFinder(model, optimizer, loss_func_wrapper, device='cuda')

overriding LRFinder._train_batch():
class MyLRFinder(LRFinder):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

    def _train_batch(self, train_iter, accumulation_steps, non_blocking_transfer=True):
        # ...

        inputs, labels = next(train_iter)
        inputs, labels = self._move_to_device(
          inputs, labels, non_blocking=non_blocking_transfer
        )

        # Modified forward pass
        outputs = self.model(inputs)
        outputs = F.log_softmax(outputs)    # <--
        loss = self.criterion(outputs, labels)

        # ...

If it does not work as expected, please consider sharing the patch you made here, I'll help you resolve it.
And if there is any further problem, please feel free to let me know.

My approach is more similar to the second one, as I directly patched the _train_batch method. It seemed more natural to me to allow the users to call an optional final activation rather than having to wrap the loss module itself.
Anyway, I could fork the repository and make a PR with the change (it'll be just few lines of code), and you can check it out yourself. Thank you for your reply, and have a nice day!

Yeah, I think you can talk with David about this idea if you found this use case is either more commonly recently or can reduce the difficulty of using this library for more complex cases.
By the way, the reasons why I would recommend using those 2 above-mentioned approaches are:

it remains the flexibility of customization without needing to modify library.
it makes less surprises as LRFinder internal almost follows the conventional training pipeline as below (or like the one in this official tutorial).for i, batch in enumerate(data_loader):
    inputs, targets = batch

    outputs = model(inputs)
    loss = loss_func(outputs, targets)

    loss.backward()
    optimizer.step()

it tries to keep the codebase simple and minimal as we cannot foresee the complexity of training setup in the future.
(especially for wrapper classes) it should be less error-prone with complex training setup. Because data loader/model/loss function are wrapped into instances, so these instances can work the same as usual in both LRFinder._train_batch() and LRFinder._validate() when user adopts Leslie Smith's approach for learning rate search.

Yet these are just my opinions, and hope it can provide development context of this library to you.
Still appreciate your suggestion, have a nice day too!


Undefined symbols for architecture arm64 TFE*

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS Catilina 10.15.7
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: iOS 14
TensorFlow installed from (source or binary): source
TensorFlow version: TF 2.0.0
Python version: 3.8
Installed using virtualenv? pip? conda?: conda
Bazel version (if compiling from source): 0.26.1
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the problem
Hi,
I am not used to build tensorflow from source for iOS so I'm probably doing something wrong. I used the instructions in tensorflow/contrib/makefile to build a static library for iOS architectures. But when I import it into Xcode I get link errors like:
Undefined symbols for architecture arm64: _TFE_TensorHandleResolve
What am I missing?
Moreover, I saw that for newer versions of tensorflow there is no contrib folder: how can I build a static library with newer tensorflow, for example 2.3, for iOS?

Hi @SestoAle. As you've noticed, the contrib directory is deprecated as of TF 2, and no longer being actively maintained.
The latest instruction on how to build TensorFlow Lite iOS static framework can be accessed here:
https://www.tensorflow.org/lite/guide/build_ios
I'm closing the issue for now, but feel free to reopen if you have more specific questions or having trouble following the guide.

Hi @yyoon, thanks for the reply. I tried to build static library with tf lite but it doesn't work. When I import it to XCode it doesn't recognize any of the TF operations. I also tried to use tensorflow/lite/tools/make/build_ios_universal_lib.sh but with the same result.
Anyway, I think I am fine also with TF 2.0 that still has the contrib directory and it recognizes most of the TF operations, expect the TFE ones. How can I include the TFE operations in the static library with TF 2.0?

Sounds like you're trying to call regular TensorFlow ops from an iOS app side, correct? This is not a supported use case, as far as I can tell. Is there any specific reason to use regular TF ops on iOS side? What does your sample code look like that you wrote in Xcode?
Normally, you'd train your model outside of the mobile environment, export the trained TF model into one of the supported format (e.g., TF 2.0 saved model), convert it to TFLite's flatbuffer format, and import it into the app to do inference on device.

I'm trying to use Tensorflow.NET (TF binding library for C#) into a Unity project. I compile the Tensorflow.NET library as Unity docs say: https://docs.unity3d.com/2019.3/Documentation/Manual/NativePlugins.html
but when I compile the Unity project for iOS, Unity requires that  all extern static methods be resolved a link time. If they are not found by the native linker, errors will occur.
I previously used TensorFlowSharp with TF 1.x (similar to Tensorflow.Net) in the same way I try to use TensorFow.Net (I compiled the C# library and Tensorflow 1.x with contrib folder) and it worked fine. However, TensorflowSharp is not maintained anymore and it does not support TF 2.X

Are there established ways to build a static library for TensorFlow.NET for platforms other than iOS? This doesn't seem to be related to TensorFlow Lite at all, and it probably requires a static library of regular TensorFlow, which I'm not too familiar with.

Yes, I built static libraries for TensorFlow.NET for MacOS and Ubuntu and they work correctly. However I don't have any other platform to test it right now (I think should be useful trying it with Android).

When building for those platforms, did you use the contrib directory as mentioned above?
Anyways, this issue is definitely not related to TFLite, and I'd also suggest asking the TF.NET community to see if other people had successfully built for iOS. This README from the TF.NET site might also help.
@mihaimaruseac do you happen to know any ways to build TF static library for iOS, not TFLite?

There is the --config=monolithic flag which might help.

@SestoAle Can you please refer to the comment  and try using latest TF v2.6.0 ? Please let us know if it helps? Thank you!


Compare output of i images in backend test

Adds check for comparing image of raster-backed tiles. Important for v2 push, where addImage has changed in node-mapnik.
cc/ @rclark @flippmoke @mapsam

Going to trash this, I don't think we need it for now.


Airdrop hunter address, one person and one address created 56 multi-signatures,Here are 12 of them I reported

The airdrop hunter used the 0xca33b0edfb55c99d99b1d8f76f07ffe88036083d mainnet wallet to create 56 multi-signature addresses, and all of them received high token rewards,The query link is https://etherscan.io/address/0xca33b0edfb55c99d99b1d8f76f07ffe88036083d?method=Create__Proxy__With__Nonce~0x1688f0b9
Querying an address through the Ethereum browser has created 56 multi-signature addresses, and all of them have transactions. The query link is https://etherscan.io/address/0xca33b0edfb55c99d99b1d8f76f07ffe88036083d?method=Create__Proxy__With__Nonce~0x1688f0b9
0xE8D6E069811a736301Ce5EC08ef30A5eaD2EFC6C
0xBFA823f5f7C9A13C0BbF362596Fda6A2b0284Ec8
0x8c5B88Dc02919177452515114a9000E37510cc7C
0x956e68ceCc3096Ca1c1A1a234b8C64404e094446
0xd78ae938f0F6df5156EaB14D60DA23Aa3A4aA6E1
0x85115B8210bE88F28CA35aC38bF272A0E1B8a0af
0x2949353Eb259A91bfb17398DA5451a5Dd8747729
0xaDd69F901bAFf4dA16eDA2c1cA0E966918D33502
0x2916965CB25030CeA3045833E36743bADEF32aeD
0x3bDd8472E1D18A89cD5016789fd1a66bbE352cF2
0x9E77A2839f572f2BF42B294083CAe9Bb4C875264
0x68e77A8145579416f3edA9aEd049d5cf91a53282
Reasoning
The airdrop hunter used the 0xca33b0edfb55c99d99b1d8f76f07ffe88036083d mainnet wallet to create 56 multi-signature addresses, and all of them received high token rewards,The query link is https://etherscan.io/address/0xca33b0edfb55c99d99b1d8f76f07ffe88036083d?method=Create__Proxy__With__Nonce~0x1688f0b9
Methodology
Querying an address through the Ethereum browser has created 56 multi-signature addresses, and all of them have transactions. The query link is https://etherscan.io/address/0xca33b0edfb55c99d99b1d8f76f07ffe88036083d?method=Create__Proxy__With__Nonce~0x1688f0b9
they all call reate__Proxy
My Safe Address
0x04b9f219331e4586Ae35cff9065eFc2A09F29751

Please elaborate on why these are safes created for airdrop farming. Just the fact that 1 addresses created all of them doesn't qualify.
If e.g. a wallet uses a relayer to create Safes, the relayer would be the account that created all user Safes which is not airdrop farming per se.

We haven't received any further information on this ticket and therefore deemed this submission invalid.
Unfortunately just the pure fact that Safes...

were created by the same address
have the same owner
conducted the same transactions
received assets from the same address
... is not enough reasoning for a valid submission, as there are legit user behaviour leading to such as well (relayer, scripts, power users, exchanges)

This submission didn't provide sufficient indicators to convince the team that there is some targeted airdrop farming behind the provided addresses. As per the rules, when in doubt we will default in favor of the airdrop recipients in order to not risk any false positives when sorting out airdrop hunters.


Worldspawn is centered when building the map

When I build the map worldspawn becomes centered, although the enitities are placed correctly

Solved. The problem occured because my custom Entity Fgd didn't have entities from qodot_fgd.


[WIP] Replaced noise.crypto package, added puzzle to Skademlia ID.

restored old noise/crypto package
replaced kyper in identity/ed25519 with noise/crypto
added skademlia/identity.go to handle the identity for skademlia, the puzzles are cpu intensive though
added skademlia/handshake as a block

handshake/ecdh and cipher/aead still use kyber but can be replaced in a separate PR


[HALON-558] Drop unused HAEvent parameter

Created by: Fuuzetsu
The hops list has been unused for a long time and there are no plans to
start using it: just drop it.

Closing as an obsolete


Fix minor issues on HCatalogIO

Restrict access level when possible
Rename Filter to Partition for the write to be coherent with the HCatalog API
Improve test coverage
Fix documentation details
Implement TearDown method for the writer

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @jkff

Coverage increased (+0.09%) to 70.814% when pulling 0c74a4796d379eb5e459905d73f177a4326e3404 on iemejia:static-analysis-fixes-hcatalogio into 50acc6c20f03b4616c80027fa2ff750c77a18664 on apache:master.


Typo: "Mkmk"

In the list of positioning features, “Mkmk” should be “mkmk”.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: afaf5060-fd0d-2b4c-7555-e3d81ccafe24
Version Independent ID: 06c7f355-4cd9-4d0c-188b-4d65d4a5b406
Content: Creating and Supporting OpenType Fonts for Tibetan Script - Typography
Content Source: typographydocs/script-development/tibetan.md
Product: windows
GitHub Login: @mijacobs
Microsoft Alias: mijacobs

Done!


uninitialized constant Spree::Wombat::ShipmentSerializer

Hi. I'm trying to incorporate this extension into fresh Spree 2.4.5 store. It seems to be working fine on my development machine using the master branch.
However, during the build on the staging server I get this error:
/home/slimonline/.rvm/gems/ruby-2.0.0-p0@slimonline/bundler/gems/spree-product-assembly-6debe07896d1/app/serializers/spree/wombat/assembly_shipment_serializer.rb:3:in `<module:Wombat>': uninitialized constant Spree::Wombat::ShipmentSerializer (NameError)
	from /home/slimonline/.rvm/gems/ruby-2.0.0-p0@slimonline/bundler/gems/spree-product-assembly-6debe07896d1/app/serializers/spree/wombat/assembly_shipment_serializer.rb:2:in `<module:Spree>'
	from /home/slimonline/.rvm/gems/ruby-2.0.0-p0@slimonline/bundler/gems/spree-product-assembly-6debe07896d1/app/serializers/spree/wombat/assembly_shipment_serializer.rb:1:in `<top (required)>'

There's a notice in the documentation about using this with Wombat, but I'm not using it (at least I think I don't). Do I need to add wombat to my gemfile? If so, why is this working in dev?

Potentially related to the fact that 6debe07896d1 (master tip) is post Spree 2.4 integration work. Try rolling back to before that set of commits.

If you're on a 2.1.5 app (not sure why that would be fresh) you should try the 2-1-stable branch not master.

I'm on the 2.4.5 version, not 2.1. My bad. Will try 2.4-beta branch this evening and will let you know.

It looks like 5c6eb7cc9921f7289fd564989f233343475b50a6 on master fixed my problem.

This is happening again on 2-4-beta with 5c8b9bf undoing 5c6eb7c :(

@yf6 I would make sure your actually on the latest 2-4-beta the fix should still be in place there.

@JDutil I'm on latest 2-4-beta, and nope the check of if defined is not there https://github.com/spree-contrib/spree-product-assembly/blob/2-4-beta/app/serializers/spree/wombat/assembly_shipment_serializer.rb

The check should not matter as the serializer is not loaded unless your using spree_wombat:
https://github.com/spree-contrib/spree-product-assembly/blob/master/lib/spree_product_assembly/engine.rb#L12

This is interesting. I realized that the AssemblyShipmentSerializer wasn't required by the line you mentioned, but actually by polyglot. I'll go debug it more, not sure if it's something related to this gem anymore, but just in case:
...assembly_shipment_serializer.rb:3:in `<module:Wombat>': uninitialized constant Spree::Wombat::ShipmentSerializer (NameError)
	from .../gems/spree-product-assembly-90475e4c1d92/app/serializers/spree/wombat/assembly_shipment_serializer.rb:2:in `<module:Spree>'
	from .../gems/spree-product-assembly-90475e4c1d92/app/serializers/spree/wombat/assembly_shipment_serializer.rb:1:in `<top (required)>'
	from .../lib/ruby/gems/2.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'

I'm running into this same issue. I have a post on stack exchange
http://stackoverflow.com/questions/32492557/spree-product-assembly-crashes-in-production
I know it says this is closed, but this is still happening on my install.

@BeDepraved I don't think I ever fully resolved the issue, ended up just including the wombat gem to get things going. :(

Well that did it @yf6 thank you for the response. Never even crossed my mind. Thought I don't need wombat so...

yeah we are not using wombat either, but hey that fixed it - definitely feels dirty doing that though :-P

install wombat gem is a workaround but not a fix.


Unable to download files from Downloads.md

Hi! I tried downloading files from your google drive as proposed in Downloads.md:
gdown 1b3anUR2Gloh7XpvevPCuxWeYCvQJ7Pfz --folder
but got the following error:

I also had problems with downloading files because of google drive limitations (if too many people download specific file in a short period of time, google drive will temporary disable access to it).
I understand that I still can download these files from browser, but it is not convenient way since I am working via remote ssh, not from my local machine.

This indeed happens sometimes. My suggestion is to try rclone https://rclone.org/drive/ .  The below procedure definitely works because I also use it a lot.
Procedure:

Copy the share folder to your google drive (Add shortcut to Drive)
Configure rclone with google drive
download the folder by rclone copy from your google drive

Also use rclone ls before copy to make sure you are downloading the right folder. This is the guaranteed way to download from google drive.

Thanks for advice


CoordinateRect: add constructor overload that accepts IAxes

This works:
CoordinateRect rect = new(Axes.XAxis.Range, Axes.YAxis.Range);

but it would be nice to be able to do this:
CoordinateRect rect = new(Axes); // where Axes is a class that implements IAxes

The new constructor can be added below this line
https://github.com/ScottPlot/ScottPlot/blob/fb3b1c84af3c361bf1eb8f4286ad1d4e7038afc5/src/ScottPlot4/ScottPlot/CoordinateRect.cs#L20-L27

resolved in #4008


2nd except in try statement has no effect

see this errant line in similarity_measures.py. The second except is unreachable.

Solved by commit #130


Reading level edits: Data and Innovation Fund

The PAR widget rates the Data and Innovation Fund page at grade 9 reading level. Our goal is to have grade 6 reading level content.
This issue is to explore what grade 6 content looks like and whether that content is acceptable.
Google doc draft

Edits finished. Waiting for Hayley to sign off on https://github.com/cagov/innovation.ca.gov/issues/188 before sending this page to her for review.

All reviews finished and edits published. I will check the reading level tomorrow to see if the reading level has come down to 6 as expected.

The reading level is now 8. While not 6, 8 meets the ODI service delivery standard for equity. I also cannot find opportunities to make the content more plain language than it already is.
I am closing this issue as done as I do not feel more work on this would be productive.


Frequency values in schema overview

in the "schema overview" table
https://docs.microsoft.com/en-us/azure/data-factory/how-to-create-schedule-trigger#schema-overview
possible values for frequency are: "minute," "hour," "day," "week," and "month."
JSON is case sensitive and the correct values are "Minute", "Hour", "Day" etc...

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 89177180-caeb-e2e1-5614-60719f593672
Version Independent ID: a3352be5-2343-ae87-38d0-32312a62d2b1
Content: Create schedule triggers in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/how-to-create-schedule-trigger.md
Service: data-factory
GitHub Login: @chez-charlie
Microsoft Alias: chez

@R1k91 Thanks for your feedback! We will investigate and update as appropriate.

@R1k91 For the values in Json it is not case sensitive and it works with Minute, Hour etc.  I have tested this and it works as expected.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Sauranbh maybe you didn't get me.
What I've told you is exactly that correct values must have capital letters because with everything lowercase it doesn't work.
I've just tried calling the API with the following JSON and the frequency "week" had been skipped and it put the default one.

Changing it to "Week" made it work as you're saying.
so you've to change the documentation in my opinion

@R1k91 sorry but which REST API you have used ?  The json here is for creating schedules through portal.  I need check it if it works differently for REST calls.

I've used the method described here: https://docs.microsoft.com/en-us/azure/data-factory/how-to-create-schedule-trigger#azure-powershell
you create the JSON file and then you call the rest api through specific powershell cmdlet
Set-AzDataFactoryV2Trigger -ResourceGroupName $ResourceGroupName -DataFactoryName $DataFactoryName -Name "MyTrigger" -DefinitionFile "C:\ADFv2QuickStartPSH\MyTrigger.json"


Added Catalan locale

Hi everybody!
Adding the complete set of translations for my native language, catalan.
See you!

Thanks @Zagur! 🙂


CrashLoopBackOff on GKE

I do not understand the issue here..
I am running this the same script on minikue it's running fine. But when i try to run in GKE i'm getting  CrashLoopBackOff.

If i try to describe the pod i'm getting result like this.
 Name:           voyager-operator-687d459d5f-gxnwb
 Namespace:      zendesk
 Node:           gke-qa-staging-1-default-pool-02475ed7-c4wq/<IP_ADDRESS>
 Start Time:     Mon, 23 Apr 2018 11:33:26 +0600
 Labels:         app=voyager
                 pod-template-hash=2438015819
 Annotations:    kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"zendesk","name":"voyager-operator-687d459d5f","uid":"d6fbd89a-46b7-11e8-a1c5-4201...
                 scheduler.alpha.kubernetes.io/critical-pod=
 Status:         Running
 IP:             <IP_ADDRESS>
 Created By:     ReplicaSet/voyager-operator-687d459d5f
 Controlled By:  ReplicaSet/voyager-operator-687d459d5f
 Containers:
   voyager:
     Container ID:  docker://02b0f2891351fe0c2ad6a06ec2e7d20d3f064992647c8447bc0d2db2818b1465
     Image:         appscode/voyager:6.0.0
     Image ID:      docker-pullable://appscode/voyager@sha256:7fc5b28b5eb6d988ca3964cc08b3164e04702ed4d03fbbfffa3decacecb70ca9
     Ports:         8443/TCP, 56790/TCP, 56791/TCP
     Args:
       run
       --v=3
       --rbac=true
       --cloud-provider=gke
       --cloud-config=
       --ingress-class=voyager
       --restrict-to-operator-namespace=true
       --docker-registry=appscode
       --secure-port=8443
       --audit-log-path=-
       --tls-cert-file=/var/serving-cert/tls.crt
       --tls-private-key-file=/var/serving-cert/tls.key
     State:          Waiting
       Reason:       CrashLoopBackOff
     Last State:     Terminated
       Reason:       Error
       Exit Code:    1
       Started:      Mon, 23 Apr 2018 13:01:42 +0600
       Finished:     Mon, 23 Apr 2018 13:01:43 +0600
     Ready:          False
     Restart Count:  22
     Readiness:      http-get https://:8443/healthz delay=0s timeout=1s period=10s #success=1 #failure=3
     Environment:    <none>
     Mounts:
       /etc/kubernetes from cloudconfig (ro)
       /var/run/secrets/kubernetes.io/serviceaccount from voyager-operator-token-z4q4s (ro)
       /var/serving-cert from serving-cert (rw)
 Conditions:
   Type           Status
   Initialized    True
   Ready          False
   PodScheduled   True
 Volumes:
   cloudconfig:
     Type:  HostPath (bare host directory volume)
     Path:  /etc/kubernetes
   serving-cert:
     Type:        Secret (a volume populated by a Secret)
     SecretName:  voyager-apiserver-cert
     Optional:    false
   voyager-operator-token-z4q4s:
     Type:        Secret (a volume populated by a Secret)
     SecretName:  voyager-operator-token-z4q4s
     Optional:    false
 QoS Class:       BestEffort
 Node-Selectors:  <none>
 Tolerations:     CriticalAddonsOnly
                  node.alpha.kubernetes.io/notReady:NoExecute for 300s
                  node.alpha.kubernetes.io/unreachable:NoExecute for 300s
 Events:
   Type     Reason      Age                 From                                                  Message
   ----     ------      ----                ----                                                  -------
   Warning  BackOff     16m (x337 over 1h)  kubelet, gke-qa-staging-1-default-pool-02475ed7-c4wq  Back-off restarting failed container
   Warning  FailedSync  1m (x405 over 1h)   kubelet, gke-qa-staging-1-default-pool-02475ed7-c4wq  Error syncing pod

If I try to get the log from the pod I'm getting response like this..
I0423 07:06:48.307905       1 logs.go:19] customresourcedefinitions.apiextensions.k8s.io "ingresses.voyager.appscode.com" is forbidden: User "system:serviceaccount:zendesk:voyager-operator" cannot get customresourcedefinitions.apiextensions.k8s.io at the cluster scope: Unknown user "system:serviceaccount:zendesk:voyager-operator"

Any suggestion or help for the issue ?

@nixon1333 , how are you installing Voyager? Using script or Helm? It seems that you have not installed rbac rules.

@tamalsaha  I'm using this command to install
curl -fsSL https://raw.githubusercontent.com/appscode/voyager/6.0.0/hack/deploy/voyager.sh \     | bash -s -- --provider=gke --namespace=zendesk --restrict-to-namespace

@tamalsaha
Also can it be the permission issue ?
forbidden: User "system:serviceaccount:zendesk:voyager-operator" cannot get customresourcedefinitions.apiextensions.k8s.io at the cluster scope: Unknown user "system:serviceaccount:zendesk:voyager-operator"
So if i run
kubectl create clusterrolebinding cluster-admin-binding   --clusterrole=cluster-admin   --user=system:serviceaccount:zendesk:voyager-operato
Will it work?

@tamalsaha

Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.6", GitCommit:"6260bb08c46c31eea6cb538b34a9ceb3e406689c", GitTreeState:"clean", BuildDate:"2017-12-21T06:34:11Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}

Server Version: version.Info{Major:"1", Minor:"8+", GitVersion:"v1.8.7-gke.1", GitCommit:"192ccad06d24af9828cbf42330e1d915cb586406", GitTreeState:"clean", BuildDate:"2018-01-31T21:39:04Z", GoVersion:"go1.8.3b4", Compiler:"gc", Platform:"linux/amd64"}

Unknown user "system:serviceaccount:zendesk:voyager-operator"

The service account is not there.
kubectl get serviceaccount -n zendesk

It seems Voyager was installed without rbac before. You can do two things:

Uninstsll voyager and then reinstall again and make sure the RBAC objects are creates properly.
or,
create a the missing service account.  Though, if you are missing ClusterRole, etc, you have to create those too.

    kubectl create serviceaccount $VOYAGER_SERVICE_ACCOUNT --namespace $VOYAGER_NAMESPACE
    kubectl label serviceaccount $VOYAGER_SERVICE_ACCOUNT app=voyager --namespace $VOYAGER_NAMESPACE

Closing this issue, since there is no update. If you are still having this issue, please reopen and additional information.

@mcasperson , rbac.create is set to true by default in values file. https://github.com/appscode/voyager/blob/master/chart/voyager/values.yaml#L66
Why do you need to set it manually?

Because it is not set to true by default in version 5. https://github.com/appscode/voyager/blob/release-5.0/chart/stable/voyager/values.yaml.
And the documentation specifically says to install version 5.

Ah! So, you are using the 5.0.0 version . That clarifies it. Thanks.


Broken data links

Hi - looks like the files for Office 31 are no longer available:
datasets = get_office31(["amazon"], ["dslr"], folder=".", download=True)
HTTPError: HTTP Error 404: Not Found

Sorry about that. The datasets were stored on my school's Box account, but I've since graduated so they're gone.
Luckily I have back-ups, so I can upload them somewhere else.
Maybe uploading them to HuggingFace is the best solution?

Can you upload dataset somewhere like HugginFace?


How to hide few containers when used stack deployment

Question:
How can I deploy Portainer on... ?

I will close this issue as it looks like it was opened by mistake with the other issue you opened.
If I am wrong, feel free to leave a comment and I will reopen for discussion.

Yes it's by mistake,
Sorry for this ...


reduce RAM usage on Linux systems with <4GB

I've had issues on one of my 4GB aarch64 systems with two ld processes being started to perform linking of the final libjvm in parallel which use over 1.5Gb each and ultimately result in the system going heavily into swap and not completing in a reasonable amount of time. This change - which will only take effect on low memory systems - will use the option (man page here) which will reduce the memory usage of the ld command at the expense of some performance (which is why I am not enabling it by default)
[Side notes: https://wiki.debian.org/ReduceBuildMemoryOverhead mentions other ld options that might reduce memory further, but the one in this PR should have enough of an effect]
Signed-off-by: Stewart X Addison<EMAIL_ADDRESS>

For some reason the new parameter is not taking effect during the build process for libjvm.so -  continuing to investigate (With LOG=debug as a make parameter).

Was having some odd behaviour where the response file passed into ld via a call to g++ to do the link didn't seem to have all the options, but it seems to have taken effect since the RAM use is the "low" version, so I think this is good to merge as-is now. Unlikely to make any difference on our build machines as they typically have more RAM.


proto: implement dispatch PreMarshaler interface

This interface enables DispatchResponses to cache their encoded forms, so that it can be written directly to the wire later without re-encoding.

I'm not convinced that this is worth the hackiness/complexity just to avoid re-encoding in a few scenarios.


Missing IAM permissions to run Metaflow commands from SageMaker notebook

I was attempting to use the SageMaker notebook instance configured as part of the Metaflow setup on AWS to run the Metaflow tutorial commands however it lacked the permissions to call AWS Batch and Step Function API calls.
Not sure if this is by design as they are all supposed to be run from a local machine

@mattmcclean Yes, the tutorial is supposed to be run from a local machine. It's good feedback that we should look into allowing the execution from the Sagemaker notebook instance. The current cloud formation template is designed to provide a starting point for your Metaflow deployment. @queueburt FYI.


Alternative Android SDK path (Homebrew)

When running MiniSim, I get an error saying it could not locate my Android SDK (in ~/Library/Android/...)
I am using google's sdkmanager cli tool to manage the SDK. It was downloaded from Homebrew, the formulae name is android-commandlinetools
Default Android SDK root is /opt/homebrew/share/android-commandlinetools
However, the locaiton of all executables, including emulators is ~/.android
Full path to .avd files is ~/.android/avd
Although the MiniSim.app is probably looking for /opt/homebrew/share/android-commandlinetools/emulator/emulator
Please, enable support for this type of installation, since it is inconvenient to create symlinks.

Hello @glebosotov,
The app is looking for the ANDROID_HOME variable exported in path. Can you confirm that this variable is set correctly?
You can do this by running:
echo $ANDROID_HOME

@okwasniewski Works great!
Thanks


Aurora will not start

Expected Behaviour
the program will start
Actual Behaviour
when i start the program i see it start in the task manager, but after a few seconds it gets shutdown
Frequency
this happends every time i start the program
Aurora Version:
v0.7.2
Previously an Issue?
i dont think so, it did work some time ago, but it has not worked for a long time

Do you have asus aura?

yes

Duplicate of #1895


Add keybinding to fbpdf to invert colors of document.  Add man page.

Pressing "I" in fbpdf will now invert the colors of the open
document.

Will this be accepted ?
I kind of am looking for similar feature.

Suryarao Bethapudi<EMAIL_ADDRESS>wrote:

Will this be accepted ?
I kind of am looking for similar feature.

Merged!
Ali


Add missing depended framworks

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Use Edison's FAT32 Partition

Mount the Edison's FAT32 partition to give us enough room to install golang.

Been tested a few times by a couple folks, probably good to go.


No longer working

I followed the instructions. First I used latest OpenCV version which wouldn't let me add module dependency. So I downgraded to 3.4.1 and followed the instructions. However the app isn't building anymore.
> Task :app:mergeDexDebug FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
197 actionable tasks: 2 executed, 195 up-to-date
D8: Cannot fit requested classes in a single dex file (# methods: 69475 > 65536 ; # fields: 67498 > 65536)
com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
The number of method references in a .dex file cannot exceed 64K.
Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
        at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:131)
        at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:118)
        at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:102)
        at com.android.build.gradle.internal.tasks.DexMergingTaskRunnable.run(DexMergingTask.kt:444)
        at com.android.build.gradle.internal.tasks.Workers$ActionFacade.run(Workers.kt:335)
        at org.gradle.workers.internal.AdapterWorkAction.execute(AdapterWorkAction.java:57)
        at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
        at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)
        at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)
        at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:98)
        at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
        at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
        at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
        at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
        at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
        at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$2(DefaultWorkerExecutor.java:198)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:215)
        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
        at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)
        at java.lang.Thread.run(Thread.java:748)
Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
        at com.android.tools.r8.utils.t.a(:55)
        at com.android.tools.r8.D8.run(:11)
        at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:116)
        ... 33 more
Caused by: com.android.tools.r8.utils.AbortException: Error: null, Cannot fit requested classes in a single dex file (# methods: 69475 > 65536 ; # fields: 67498 > 65536)
        at com.android.tools.r8.utils.Reporter.a(:21)
        at com.android.tools.r8.utils.Reporter.a(:7)
        at com.android.tools.r8.dex.VirtualFile.a(:33)
        at com.android.tools.r8.dex.VirtualFile$h.a(:5)
        at com.android.tools.r8.dex.ApplicationWriter.a(:13)
        at com.android.tools.r8.dex.ApplicationWriter.write(:35)
        at com.android.tools.r8.D8.d(:44)
        at com.android.tools.r8.D8.b(:1)
        at com.android.tools.r8.utils.t.a(:23)
        ... 35 more

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDexDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
     The number of method references in a .dex file cannot exceed 64K.
     Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
D8: Cannot fit requested classes in a single dex file (# methods: 69475 > 65536 ; # fields: 67498 > 65536)

@Meph1k Can you reproduce this issue?


xUnit Test Discovery Error

I have a test project that utilizes ASP.NET Core 1.1 and it's getting this error when trying to discover tests in Visual Studio.
[xUnit.net 00:00:00.0439643] Exception discovering tests: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DotNet.InternalAbstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
File name: 'Microsoft.DotNet.InternalAbstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'
at Xunit.Runner.VisualStudio.TestAdapter.VsTestRunner.GetAvailableRunnerReporters(IEnumerable`1 sources)
at Xunit.Runner.VisualStudio.TestAdapter.VsTestRunner.GetRunnerReporter(IEnumerable`1 assemblyFileNames)
at Xunit.Runner.VisualStudio.TestAdapter.VsTestRunner.DiscoverTests[TVisitor](IRunSettings runSettings, IEnumerable1 sources, LoggerHelper logger, Func4 visitorFactory, Action`4 visitComplete)
I talked to @bradwilson and he let me know to add the missing package as a reference to the test project, and this worked as a workaround.
Also posted here: http://ardalis.com/xunit-test-discovery-error-with-aspnet-core-1-1

Tagging @dotnet/vstest

This issue was moved to Microsoft/vstest#365


fix: News and events thumbnail null bug

fixes: https://trello.com/c/iXZzQCel/1223-🐛-bug-news-listing

test evidence:

@johnytiago i added a few commits (due to type change) - can you have another look please?


tonic-build cannot generate code for service with connect rpc method

Bug Report
When generating code from proto files, a generated client code will contain a connect function. This may result in name clash i.e. when the proto file itself has defined such rpc method name, like:
service NodeService {
    rpc Connect(Request) returns (stream Response) {}
}

Example error message:
error[E0592]: duplicate definitions with name `connect`
  --> <path-to-generated-proto-file>.rs:31:9
   |
31 | /         pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
32 | |         where
33 | |             D: std::convert::TryInto<tonic::transport::Endpoint>,
34 | |             D::Error: Into<StdError>,
...  |
37 | |             Ok(Self::new(conn))
38 | |         }
   | |_________^ duplicate definitions for `connect`
...

Technically, there are no limitations in terms of name restrictions for gRPC method names. While this is not a serious issue for someone who's in control of proto file definitions, it may become one once we're about to generate a client to an existing gRPC service, that's outside our control.

@Horusiath tonic-build has some features flags you can disable to have it not generate the connect method. https://github.com/hyperium/tonic/blob/master/tonic-build/Cargo.toml#L25
You likely want to keep all of them except the transport one which enables the Client::connect method to be generated. Hopefully this helps!

Could you please come back to this issue?
For me if I specify the dependency like this:
tonic-build = { version = "0.11.0", features = [] }

the error still persists.
Moreover, is the flag useful? How would I create a GRPC client if I don't have the connect method?..

I also encountered this problem, how did you solve it?

Could you please come back to this issue?
For me if I specify the dependency like this:
tonic-build = { version = "0.11.0", features = [] }

the error still persists.
Moreover, is the flag useful? How would I create a GRPC client if I don't have the connect method?..

I also encountered this problem, how did you solve it?

Hey! An empty features list actually activates ALL features. You have to populate it with the features you want and not include the feature “transport”, and then it’ll work.
You’ll basically have to write your own transport code, however.

ok，thank you for your reply. I still have a question. When I write my own transport code, can I refer to the generated connect code and modify it?


Update junit-jupiter-engine to 5.9.0

Updates org.junit.jupiter:junit-jupiter-engine from 5.8.2 to 5.9.0.
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!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.junit.jupiter", artifactId = "junit-jupiter-engine" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.junit.jupiter", artifactId = "junit-jupiter-engine" }
}]

labels: test-library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #1357.


Changes for IBM AIX systems.

As I tried to use redis api library on AIX system, there are some minor things I had to change.

AF_UNIX should be supported on most systems instead of AF_LOCAL
_XOPEN_SOURCE_EXTENDED 1 to enable struct timeval in sys/time.h
_ALL_SOURCE for netdb.h to enable struct addrinfo.
_XOPEN_SOURCE because of:

struct timeval {
time_t      tv_sec;         /* seconds /
#if defined(64BIT) || (_XOPEN_SOURCE >= 500)
suseconds_t tv_usec;        / microseconds /
#else
long        tv_usec;        / microseconds */
#endif
};

Triggering CI.

For Sun systems we already define AF_LOCAL to be AF_UNIX: https://github.com/redis/hiredis/blob/master/net.h#L41
We can probably just change it to AF_UNIX, that seems to be more portable anyway.

:umbrella: The latest upstream changes (presumably #378) made this pull request unmergeable. Please resolve the merge conflicts.


Issue/Feature Request: Typeahead popup style directive

Can you add a directive to change the left and top style attribute of the typeahead popup? Either that, or do what bootstrap does with the "popover" components where you can say that you want it left, middle, right, and up, down from the originating element.
Use case: The typeahead input is on the right side or bottom of the screen. Currently When the user starts typing, the list can be mostly off the screen to the right or bottom. It'd be nice to say "typeahead-popup-horizontal-position: 'middle'" or something to that nature.

Note: This is blocked by #3900 - once that feature makes it in in some capacity, then this will be possible.

Fantastic! Thanks!

Closing in favor of #4762.


Additional tests

Hello, I have successfully tested the model and output the files in the "output" folder. If I want to test with some of my pictures, can I put some of my pictures in the "target" folder and run "eval. Py"? Or what kind of operation is needed?

To test the current model on some other photos, you have to put your pictures in the "input" folder named according to the right convention (%05d.png i.e. 00001.png) and then run eval.py.
However, the model may not give good results as it is a very small model trained on just two photos. It does not generalize well.
To train the same model with some different photo-drawing pairs you have to place photos in the input folder and matching drawings with matching filenames in the target folder.
Please refer to the original project for more insights https://ondrejtexler.github.io/patch-based_training/

要在其他一些照片上测试当前模型，您必须将图片放在根据正确约定命名的“输入”文件夹中（%05d.png 即 00001.png），然后运行 eval.py。
但是，该模型可能不会给出好的结果，因为它是一个仅在两张照片上训练的非常小的模型。它不能很好地概括。
要使用一些不同的照片绘图对训练相同的模型，您必须将照片放在输入文件夹中，并在目标文件夹中使用匹配的文件名匹配绘图。
更多见解请参考原项目https://ondrejtexler.github.io/patch-based_training/

I'd like to ask whether this model changes color photos into black and white? Can it turn several static expression pictures into coherent animation? Just like "https://github.com/OndrejTexler/Few-Shot-Patch-Based-Training"?Thank you for your answers.

It makes them black and white just because the target drawings are so. it should work the same as the original code if provided with the same data.
However, to make my code work you have to understand how the original project works, so I may suggest you start looking at that first, as it is more complete.

它使它们变得黑白分明，因为目标图纸是如此。如果提供相同的数据，它应该与原始代码相同。
但是，要使我的代码工作，您必须了解原始项目的工作原理，因此我建议您先开始查看它，因为它更完整。

Thank you. I'll try again

它使它们变得黑白分明，因为目标图纸是如此。如果提供相同的数据，它应该与原始代码相同。
但是，要使我的代码工作，您必须了解原始项目的工作原理，因此我建议您先开始查看它，因为它更完整。

Hello, I once put the three key frame pictures (renamed) that need to be filled in the "target" folder (deleted the pictures in the original folder) and deleted the pictures in the "output" folder. After running, the pictures in the original output folder are still obtained; Later, I tried to empty the pictures in the "target" folder and "output" folder, deleted the "00000. PNG", "00001. PNG" and "00002. PNG" pictures in the original "input" folder, and put the three key frame pictures (renamed) that need to be made up into the "input" folder. After running, the black-and-white key frame pictures are obtained; I'd like to ask you what i need to do if i want to use three key frame pictures to connect into animation? I want to use it for animation picture reference, but I'm not familiar with programming. I look forward to your answer.

Would you mind sharing the pictures with me as it is difficult to troubleshoot like this?
If you give me an email address I might be able to help you but this is not the place as it is not an issue with the repo.
Please mind that this is just a research project and it is very far from being a usable product for the end-user.

Would you mind sharing the pictures with me as it is difficult to troubleshoot like this?
If you give me an email address I might be able to help you but this is not the place as it is not an issue with the repo.
Please mind that this is just a research project and it is very far from being a usable product for the end-user.

Of course, this is not a commercial picture, just a test. I want to make their transition pictures through these three pictures. Can you help me if you have time? My email<EMAIL_ADDRESS>

I am sorry but I am afraid that you have misunderstood the scope of the project:
the code is to translate a live-action video into a stylized video based on a reference translation.
It does not work to animate pictures that are not based on the live-action video.
You are looking for something different but I don't know anything that might be useful for your case.

很抱歉，但我担心您误解了项目的范围：
代码是根据参考翻译将真人视频翻译成风格化视频。
不能为不是基于真人视频的图片制作动画。
您正在寻找不同的东西，但我不知道任何可能对您的情况有用的东西。

Oh, I made a mistake. In addition, can this model achieve the transition of several key frame images？（ https://github.com/OndrejTexler/Few-Shot-Patch-Based-Training ）

No, that too needs reference video.

No, that too needs reference video.

In addition, I want to ask, if I use your model, can I make a transition for several static live-action key frame pictures?Or can i train with a series of transitional cartoon pictures, so that i can obtain a series of transitional cartoon pictures only through three cartoon key frame pictures？

You can look to the images I provided on Google drive:
You have a full video in folder input (e.g. 00001.png to 00050.png)
You have only a translation for some of the frames in the folder target (e.g. 00001.png)
The code tries to mimic the same translation for the remaining frames in input (from 00002.png to 00050.png)
The code is a translator, not an animator.

您可以查看我在 Google 驱动器上提供的图像：
您在文件夹输入中有完整的视频（例如 00001.png 到 00050.png）
您只有文件夹目标中某些帧的翻译（例如 00001.png）
代码尝试模拟输入中剩余帧的相同转换（从 00002.png 到 00050.png）
代码是翻译器，而不是动画师。
同样，一切都在原始文章中得到了很好的解释。

That news may have misled me. It claims that there is a model that can generate continuous sequence frames from two key frame images.(https://blog.csdn.net/amusi1994/article/details/116467281)

Just two keyframes of drawings but based on all the keyframes of live-action.
Again, my project is just a partial reimplementation, if you want to know more, everything is explained in the original paper.

只有两个关键帧的图纸，但基于所有真人动作的关键帧。
同样，我的项目只是部分重新实现，如果您想了解更多，一切都在原始论文中进行了解释。

These media like to make false news. Also thank you for your answers.


fixed VRAM leak with none-OOP

Just an idea and a temporary solution. So far on my GTX 1080 Ti, I've run more than 100 images through the test, and a total of 8GB VRAM is stable at the top of 6GB VRAM 👇.

This code isn't formatted, and only the --fix-face is changed. Theoretically, --upscale needs to be changed too. This is perfect, so close the merge. Thank you very much!

Great work. thank you!  I'll take a look at this in the evening (6 hours from now)

Great work. thank you! I'll take a look at this in the evening (6 hours from now)

@brycedrennan  I found that although the memory leak was fixed, the image was no longer bright after generation. I needed some time to look at it again.

I'm impressed you thought to check the image output.  With your help I was able to find the cause and create a remedy in #32 that didn't have as much of a refactor.

As a Python programmer, I have been paying attention to this field. I am very impressed by your pure command line implementation method, which is the main method I use now. We will communicate with you later if we have new ideas.

thanks!


Issue #SB-5388 fix: Ui bug fixes

Please assign to @lakhanmandloi

Please assign to @lakhanmandloi


⚠ Bofrost.lu has degraded performance

In 008d4b8, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1668 ms

Resolved: Bofrost.lu performance has improved in a789e23 after 13 minutes.


elogind

Can you add support for elogind or something? Reason I ask is w/o using systemd, root is needed to even start ly. Or is there another solution to this that I am missing? Thanks

I would really like elogind support as well. It doesn't work on Void linux for me.

Also going to add that Void support would be great!

I made the issue 190 "openrc, runit, s6 service for artix, void, gentoo", formely "segfault".
Maybe the reason is not the init, but elogind. Maybe its the same issue. I use artix runit btw

its strange anyway... elogind is a clone of logind... it should work...

its strange anyway... elogind is a clone of logind... ly should work...

Ly really needs a small update which fixes these issues.

guys, have u tryed https://github.com/drozdowsky/ly-void ?

guys, have u tryed https://github.com/drozdowsky/ly-void ?

No D: Didn't even know it existed. Thank you! will give this a try right now!

doesnt work here too (artix runit), but this time it doesnt seem to crash, i see no errors, look like it login , startx and quit...

I got ly to work on artix runit !!!

deleted/uninstalled old ly files
downloaded @cylgom and @drozdowsky ly
copyed @cylgom /src/xsetup.sh , wsetup.sh to @drozdowsky ly (replacing @drozdowsky files (xsetup is almost empty))
compiled / installed / enabled the service / rebooted

@drozdowsky fork doesnt crash, so with original setups it works !
Now considering that drozdowsky did small changes, the main ly could easly support our distros !

I got ly to work on artix runit !!!
-- (not sure if needed) installed xterm
-- deleted/uninstalled old ly files
-- downloaded @cylgom and @drozdowsky ly
-- copyed @cylgom /src/xsetup.sh , wsetup.sh to @drozdowsky ly (replacing @drozdowsky files (xsetup is almost empty))
-- compiled / installed / enabled the service / rebooted
@drozdowsky fork doesnt crash, so with original setups it works !
Now considering that drozdowsky did small changes, the main ly could easly support our distros !
(Or maybe he just forked an older version that doesnt crash)

Now this, this worked flawlessly. Thank you! appreciate it (:

This should already be fixed on master. Closing.


Add 4xx server response codes to styx documentation

The problem
The 400, 408, etc (if any others?) response code is not documented in https://github.com/HotelsDotCom/styx/blob/master/docs/user-guide/response-codes.md.
Acceptance criteria
The user guide response codes page contains the following information:

The circumstances under which styx responds with 400.
The circumstances under which styx responds with 408.

The relevant user manual page: https://github.com/HotelsDotCom/styx/blob/master/docs/user-guide/response-codes.md.

We should create a separate page for this documentation, since 5xx response codes indicate a server error, whereas 4xx response codes are client errors.
The significance of this distinction is that server errors indicate that there is a problem that someone running Styx should look into, whereas client errors are likely to be caused by the end-users' actions.

@kvosper Please remember to close the issue after merging.


Jest

Overview
Change unit testing framework from Jasmine to Jest.  Save 75% of time executing unit tests
Connects #274
Testing Instructions
Run the following commands and observe results
yarn unit

yarn unit-coverage

yarn unit-watch

Note
4 of the test suites had no tests.  These were deleted.

Awesome improvement. Definitely prefer jest over jasmine.
Required changes are commented below.
Not required for approval: There are a lot of @ts-ignores to deal with the use of jest.fn. Is this how we want to handle using jest.fn with TypeScript or is there a different approach we should take? Open for discussion.

We could setup TS Lint such that it ignores unit tests.  The challenge is that jest.fn does some "magic" that does not play well with types

All requested changes have been made
TSLINT feedback will be added as a new issue


Package not available on npmjs

As suggested, I unpublish all the versions of the package to re-publish under versioning under 1.0 since this package is still in very early development.
I need to wait 24 hours to re-publish the package on npmjs.
Good news,

deployment scripts and basics tests script will be added for all mock contracts
Injection of the network activated (with your env variables for rpc/private key or mnemonic) in hardhat network config
Support for more chains

It's back online, I published v0.0.2
https://www.npmjs.com/package/hardhat-awesome-cli


apollo5.5 build failed, Timeout connecting to https://boringssl.googlesource.com

Describe the bug
apollo5.5 build failed.
Timeout connecting to https://boringssl.googlesource.com/boringssl/+archive/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz

docker image:apolloauto/apollo:dev-18.04-x86_64-latest           LAST PUSHED 18 days ago
DIGEST:sha256:bec5a5cec3c7411dac078e2b466a0283297c1daee7bd2bdc78b1cd6beffbf216
Desktop (please complete the following information):

OS: ubuntu
Version 16.04

Additional context
If I use a apollo5.0-dev docker pulled 3 months ago to build apollo-5.5 source code, this error disappreared(it have another error.)

I want to know which 3rd-party lib need boringssl.
I can download it manualy, How to use it locally? Which dir should it copied in? Do I need to change WORKSPACE.in?

apollo use grpc-v1.14.2. I find some code in grpc-1.14.2/bazel/grpc_deps.bzl:
if "boringssl" not in native.existing_rules():
        native.http_archive(
            name = "boringssl",
            # on the chromium-stable-with-bazel branch
            url = "file:///home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz",
        )

Can I install boringssl manualy? How to install boringssl so that bazel can find it?

Describe the bug
apollo5.5 build failed.
Timeout connecting to https://boringssl.googlesource.com/boringssl/+archive/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz

docker image:apolloauto/apollo:dev-18.04-x86_64-latest LAST PUSHED 18 days ago
DIGEST:sha256:bec5a5cec3c7411dac078e2b466a0283297c1daee7bd2bdc78b1cd6beffbf216
Desktop (please complete the following information):

OS: ubuntu
Version 16.04

Additional context
If I use a apollo5.0-dev docker pulled 3 months ago to build apollo-5.5 source code, this error disappreared(it have another error.)

apollo use grpc-v1.14.2. I find some code in grpc-1.14.2/bazel/grpc_deps.bzl:
if "boringssl" not in native.existing_rules():
        native.http_archive(
            name = "boringssl",
            # on the chromium-stable-with-bazel branch
            url = "file:///home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz",
        )

notised that in old apollo dev docker image, boringssl is stored in /home/tmp.
Maybe it is more friendly to Chinese user...

apollo use grpc-v1.14.2. I find some code in grpc-1.14.2/bazel/grpc_deps.bzl:
if "boringssl" not in native.existing_rules():
        native.http_archive(
            name = "boringssl",
            # on the chromium-stable-with-bazel branch
            url = "file:///home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz",
        )

notised that in old apollo dev docker image, boringssl is stored in /home/tmp.
Maybe it is more friendly to Chinese user...

Thank you for reporting this. We will investigate the case in the next few days.

apollo use grpc-v1.14.2. I find some code in grpc-1.14.2/bazel/grpc_deps.bzl:
if "boringssl" not in native.existing_rules():
        native.http_archive(
            name = "boringssl",
            # on the chromium-stable-with-bazel branch
            url = "file:///home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz",
        )

notised that in old apollo dev docker image, boringssl is stored in /home/tmp.
Maybe it is more friendly to Chinese user...

Thank you for reporting this. We will investigate it in the next few days. Please stay tuned.

I want to know which 3rd-party lib need boringssl.
I can download it manualy, How to use it locally? Which dir should it copied in? Do I need to change WORKSPACE.in?

As you have found, grpc have a dependency over boringssl.
from your comment https://github.com/ApolloAuto/apollo/issues/11237#issuecomment-627789445,
we can see that the bazel/grpc_deps.bzl script in grpc checks whether boringssl was already specified in your workspace. If found, it will do nothing. Therefore we can
add an entry in WORKSPACE.in with a fixed sha256 value like the following:

http_archive(
    name = "boringssl",
    sha256 = "fb236ae74676dba515e1230aef4cc69ab265af72fc08784a6755a319dd013ca6",
    url = "file:///home/tmp/boringssl-83da28a68f32023fd3b95a8ae94991a07b1f6c62.tar.gz",
)

In your case, you should substitute  the sha256 value with that of your downloaded boringssl tarball, which can be obtained by running:
sha256sum /home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz | awk '{print $1}'

Change the url to file:///home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz accordingly.
And then you can run ./apollo.sh .... as usual.

I want to know which 3rd-party lib need boringssl.
I can download it manualy, How to use it locally? Which dir should it copied in? Do I need to change WORKSPACE.in?

As you have found out, grpc have a dependency over boringssl.
from your comment #11237 (comment),
we can see that the bazel/grpc_deps.bzl script in grpc checks whether boringssl was already specified in your workspace. If found, it will do nothing. Therefore we can
add an entry in WORKSPACE.in with a fixed sha256 value like the following:

http_archive(
    name = "boringssl",
    sha256 = "fb236ae74676dba515e1230aef4cc69ab265af72fc08784a6755a319dd013ca6",
    url = "file:///home/tmp/boringssl-83da28a68f32023fd3b95a8ae94991a07b1f6c62.tar.gz",
)

In your case, you should substitute the sha256 value with that of your downloaded boringssl tarball, which can be obtained by running:
sha256sum /home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz | awk '{print $1}'

Change the url to file:///home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz accordingly.
And then you can run ./apollo.sh .... as usual.

Another method

apollo use grpc-v1.14.2. I find some code in grpc-1.14.2/bazel/grpc_deps.bzl:
if "boringssl" not in native.existing_rules():
        native.http_archive(
            name = "boringssl",
            # on the chromium-stable-with-bazel branch
            url = "file:///home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz",
        )

notised that in old apollo dev docker image, boringssl is stored in /home/tmp.
Maybe it is more friendly to Chinese user...

Another method to fix the boringssl timeout issue is to use a proxy if you have one.
export HTTP_PROXY=http://agent.example.com:8118
export HTTPS_PROXY=https://agent.example.com:8118

apollo use grpc-v1.14.2. I find some code in grpc-1.14.2/bazel/grpc_deps.bzl:
if "boringssl" not in native.existing_rules():
        native.http_archive(
            name = "boringssl",
            # on the chromium-stable-with-bazel branch
            url = "file:///home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz",
        )

notised that in old apollo dev docker image, boringssl is stored in /home/tmp.
Maybe it is more friendly to Chinese user...

Another method to fix the boringssl timeout issue is to use a proxy if you have one.
export HTTP_PROXY=http://agent.example.com:8118
export HTTPS_PROXY=https://agent.example.com:8118

Thank you for your reply! I will try second way, if build passed, I can try to use first way and build a docker image.

apollo use grpc-v1.14.2. I find some code in grpc-1.14.2/bazel/grpc_deps.bzl:
if "boringssl" not in native.existing_rules():
        native.http_archive(
            name = "boringssl",
            # on the chromium-stable-with-bazel branch
            url = "file:///home/tmp/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz",
        )

notised that in old apollo dev docker image, boringssl is stored in /home/tmp.
Maybe it is more friendly to Chinese user...

Another method to fix the boringssl timeout issue is to use a proxy if you have one.
export HTTP_PROXY=http://agent.example.com:8118
export HTTPS_PROXY=https://agent.example.com:8118

Thank you for your reply! I will try second way, if build passed, I can try to use first way and build a docker image.

I will close this issue now. Reopen it  if  solutions above don't work any more.


Define token naming/schema

Finished token taxonomy and created a system for all tokens. The approach is scalable and can be expanded in the future.
The currend system includes global tokens and semantic tokens. Component tokens will be added during the process of designing.


Currently played game shows "In non-Steam game: given_gameid"

If I want to idle CSGO for example, I'd put gameId to 730.
var user = new Idler('my_username', 'my_password', '730', {method: 'manual'})
I'd expect it to show up as
In-game
Counter-Strike: Global Offensive,
but it shows up as
In non-Steam game
730
I don't think this is supposed to be normal.

You have to give the gameID as an INT not as a STRING
It's just a fault in your usage :)


Rating

I want people to be able to rate my playlist so I can see how much people like it

Duplicate issue


Thread affinity of the EventConsumer

Hello Andreas,
Hopefully a simple one for you.
Can we rely on the OnMessage callback of the EventConsumer to always be invoked sequentially (as long as i do not stop/start in sequence)?
I know the librdkafka threading model suggests that. I just want to confirm what assumptions i can make in my code.

Yes:

no async call, Start in eventConsumer is monothreaded and delegate are called synchronously
offset will always be sequential for two message from same partitions

Thanks for confirming the contract.


electron support?

https://github.com/atom/electron that could be interesting alternative (like SlimerJS) for PhantomJS - more fresh chromium engine.
Related:

https://github.com/atom/electron/issues/228
https://github.com/mafintosh/electron-prebuilt

PR welcome.

For example, what to do?

Until it's truly headless, I don't think it's a good replacement for phantomjs. Perhaps a new project, node-electron-simple?

@johntitus That's not full replacement, but alternative, like SlimerJS. Nobody force to use it. Phantom has very old chromium engine. Electron keeps it up to date. IMHO that's important for testing. Also i'm sure headless issue will be solved it near future.

Closing - too significant api difference.


host to frontend ssh problem

Description
To Reproduce
Front-end(ubuntu 20.10)
wget 'https://github.com/OpenNebula/minione/releases/latest/download/minione'
chmod +x  ./minione
sudo bash minione -f

host(ubuntu 20.04.2)
sudo apt-get -y install gnupg wget apt-transport-https
sudo wget -q -O- https://downloads.opennebula.io/repo/repo.key | sudo apt-key add -
sudo echo "deb https://downloads.opennebula.io/repo/6.0/Ubuntu/20.04 stable opennebula" > /etc/apt/sources.list.d/opennebula.list
sudo apt-get update
sudo  apt-get -y install opennebula-node-lxc

2)add public key from Front-end to host
3)add host to Front-end
3)download  alpine_3.13 - LXD-10  from apps(MarketStore)
4)deploy to host (create instances)
Сurrent behavior
Wed Apr 28 10:08:58 2021: Error executing image transfer script: Error copying <Front-end>:/var/lib/one//datastores/1/b41d4ea3bcadddf0e8316fea40d029f0 to <host>:/var/lib/one//datastores/0/4/disk.0

or
ssh <Front-end>
ssh <host>
ssh <Front-end> *required password*

Expected behavior
deploy success
or
ssh <Front-end>
ssh <host>
ssh <Front-end> *success*

Details

Affected Component: ??
Hypervisor: LXC
Version: 6.0.0

Additional context
in https://docs.opennebula.io/6.0/open_cluster_deployment/lxc_node/lxc_node_installation.html#step-4-configure-passwordless-ssh  written

"Since OpenNebula 5.12. On the Front-end runs dedicated SSH authentication agent service which imports the oneadmin’s private key on its start .... While the authentication agent is used, you don’t need to distribute private SSH key from Front-end to hypervisor Nodes!"

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Same here, with a KVM node, both frontend and KVM node with Ubuntu 20.04.
No news?


repeat.hpp incomplete library load

When running make in current version (on WSL2)  the following error props up:
repeat.hpp:63:8: error: ‘vector’ in namespace ‘std’ does not name a template type
The fix is to add
#include <vector>
in repeat.hpp in the source.

Hi mvolar,
I'm not able to replicate your build error. Can you confirm that you are using the version currently in the main branch and building with cmake . followed by  make?

Hello, thanks for the fast response,
here is the wsl2 terminal output (the code chunks don't allow newlines):
(base) marin@mashine:/mnt/d/assembly_analysis/ULTRA$ cmake .
and the output is:
-- The C compiler identification is GNU 7.5.0  -- The CXX compiler identification is GNU 7.5.0  -- Detecting C compiler ABI info  -- Detecting C compiler ABI info - done   -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /mnt/d/assembly_analysis/ULTRA
Afterwards we run:
(base) marin@mashine:/mnt/d/assembly_analysis/ULTRA$ make
and the output is:
[  6%] Building CXX object CMakeFiles/ultra.dir/lib/json11.cpp.o [ 12%] Building CXX object CMakeFiles/ultra.dir/src/FASTAReader.cpp.o [ 18%] Building CXX object CMakeFiles/ultra.dir/src/FileReader.cpp.o [ 25%] Building CXX object CMakeFiles/ultra.dir/src/SequenceWindow.cpp.o [ 31%] Building CXX object CMakeFiles/ultra.dir/src/Symbol.cpp.o [ 37%] Building CXX object CMakeFiles/ultra.dir/src/main.cpp.o [ 43%] Building CXX object CMakeFiles/ultra.dir/src/repeat.cpp.o In file included from /mnt/d/t_cast_assembly/assembly_analysis/ULTRA/src/repeat.cpp:6:0: /mnt/d/t_cast_assembly/assembly_analysis/ULTRA/src/repeat.hpp:63:8: error: ‘vector’ in namespace ‘std’ does not name a template type    std::vector<int> *splits;         ^~~~~~
When inspecting the repeat.hpp in the local version (and the github version in src/) the only declared libraries are:
#ifndef repeat_hpp
#define repeat_hpp
#include <stdio.h>
#include
#include "SequenceWindow.hpp"
#include "Symbol.hpp"
#include "umatrix.hpp"
and once I added
#include
the make command finishes without a problem, and the code executes on both test data and my local data. I don't know specifically what the problem is, could be a quirk of the compiler in WSL2 or something similar.

Adding #include <vector> to repeat.hpp. It'll take a few days for those changes to make their way to main - thanks for catching this!


I want to turn the engine tree red on untriaged goldens. How should I proceed?

Infra team, could you do a first-triage and let me know how/where this should be implemented?
I'm happy to own landing the change and making changes to the engine repo as needed.
(Marking P1 as it's part of our own P1 test infra improvements for Impeller and the engine repo)
/cc @Piinks @mdebbar @zanderso
Background
On a Discord discussion we noted that it's possible to call a relatively cheap (cached) API endpoint to determine if there are untriaged goldens for a given tree:

If all you care about is how many there are, /json/v2/trstatus is a cheap (cached ) endpoint

This seems fine for our needs.
However, how/where do I add this test?
For example in https://github.com/flutter/flutter/issues/143863#issuecomment-1957707800, @CaseyHillers notes:

I'd like to see us set up flutter-gold as a dedicated target in ci.yaml, and plumb through custom scheduling logic for it. This would allow it to benefit from some of the existing code for pushing LUCI checks to GitHub, and reduce the amount of custom code it implements.
https://github.com/flutter/cocoon/blob/main/CI_YAML.md#external-tests

At the same time https://github.com/flutter/cocoon/blob/main/CI_YAML.md#external-tests notes:

By default, these should not block the tree but act as FYI to the gardeners.

... which is not what we're going for.

I don't know that an additional check is necessary since if a commit generates an image that is untriaged in postsubmit, we turn the tree red in flutter/flutter (and soon flutter/engine).

Also, chatting with @jonahwilliams, this would make it harder to de-flake golden images like he is doing now.
The impeller test shards are marked bringup, so golden file images generated from that shard are not tree-breaking. This proposed new check would break the tree right now because there is a flaky impeller golden file test.
The endpoint we were told we could use , /json/v2/trstatus, only says how many untriaged images there are, not what images they actually are or from what test shard. If we implement this, we would need to find a way to account for images that were generated by shards that are marked bringup, and not break the tree then.

Based on the above comment, I feel comfortable that the current break-the-tree strategy is sufficient, and will be better once flutter/engine adopts it.

In theory the current Impeller shard should be stable soon. That said, we'll need to account for the process of bringing up new goldens/backends.

soon (tm)

By default, these should not block the tree but act as FYI to the gardeners.

Emphasis on "by default." For Flutter owned services, they should block the tree.

Acknowledged

This one is resolved, closing


Stub out support for protocol conformances in TypeDecoder.

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


Select inputs should be able to have custom styles

Two requests:

this functionality should be implemented
an example of a fully styled form should with select dropdowns included should be added to the documentation

Is it possible and in line with the goals of this project to make a custom select dropdown to allow for more custom styling options?

Yes, as we know the native html select inputs are not fully style-able in terms of it's options.
Because of that many component libraries decided to use "divs" and other elements to simulate the select input and give it full css cross-browser customization.
But often those solutions make the component "messy" in terms of having too many html elements.
I don't know where is the best solution nor if it exist but I would like to know if this problem is or will be addressed.

I have a couple of thoughts on this. I do want the documentation to go into more examples of what the full extent of custmoization is. I'm also not sure what sort of customization you're talking about.
The intent for components named after HTML tags (VForm, VInput) is to behave as close to their native counterparts as possible but with some super powers. So <VInput type="select"> should implement a select element and behave the same way, with all the good and bad that it means so that users know what to expect. Selects are inherently limited for customization, but if the customizations you have in mind can be done with the native <select> and <option>, then I'm all for it.
Regarding a select component that is even more customizeable (multi tag selection, search filter for options, custom html options) I've already thought about implementing something that would solve your issues, but as a different component than <VInput> The names "combobox" or "multi-select" come to mind from what I've seen most often.
There is an excellent article that I think gets the closest to what I would like to do https://sarahmhigley.com/writing/select-your-poison/
I'd really like to add this as well because I think it's quite a common element, but its a matter of time. The most important thing is that it's accessible and intuitive, and I think the hardest part has been finding an example that does it all well. The article above is probably my favorite so far.

I see, if that's the case then we just have wait for those custom components :)

Yeah. Im sorry, I really want to keep pushing out cool stuff, but I've had a lot on my plate...

I'm currently just experimenting with Vue and seeing how it would compare to what I'm currently building with React.  This library is a really good 1:1 fit with A11Y components, except for the select box.  I realize it's incredibly complicated and take this as a "keep it up".
What we are using for the select element is the Adobe Aria library (https://react-spectrum.adobe.com/react-aria/useSelect.html).  It's incredibly complex but it works.  Seeing the inputs you have setup for "auto labels" and the like are really really appealing.
Keep up the good work, I'm keeping my eye on Vue and the well built libraries such as this.

Thanks @Kikketer. I really appreciate the kind words. Im looking forward to nailing some stuff down for the v1 release, but I keep finding more things to fix o.O


Barebones /sources curator UI page

Breaking this story up to keep PR length sane. For now, just adding a minimal /sources page and SourceTable component; largely analogous to a simplified LinelistTable. The existing Source model isn't exactly what Tim and I landed on, but I'll address that after the bulk of the interface boilerplate is taken care of. Still adding the types to the component file to be "correct," though we could technically get away with just defining _id/name.

 Create barebones source config UI backed by sources API/MongoDB


[Bug]: Displaying Image version for OOTB Notebook images in Project View would be useful to have

Is there an existing issue for this?

[X] I have searched the existing issues

Deploy type
Downstream version (eg. RHODS 1.29)
Version
RHODS 1.32
Current Behavior
Using the pytorch image as an example:

If I create 2 new workbenches using the 2 different versions, it's really hard to tell.

And even unfolding does not help that much:

Expected Behavior
This (highlighted in red) is the info I feel is missing:

Steps To Reproduce
No response
Workaround (if any)
No response
What browsers are you seeing the problem on?
No response
Anything else
No response

UX Context
Is Erwan's expected result what we want? is there anything else we want to add?
cc @xianli123

Hi @dpanshug This is my first time to see this issue. I understood why Erwan wanted to add the version info. But in another issue #1520 we added some labels for different statuses. If we add both the status labels and version info, it will get a little crowded. So we should think about these 2 issues together and come up with a solution for them. Does it make sense?

Hi @erwangranger @dpanshug I am not sure if the version info is important or not. But I think we can hide this piece of info if the version information does not affect the work of the workbench. As shown below, we can make the notebook image is clickable and has a popover to show the version info. This is a common interaction in RHODS UI. What do you think? Thanks!

I like the flow, only concern is how important is "the current image" really important to the user. CUDA vs PyTorch is one thing... CUDA 2023.1 vs CUDA 2023.2 is probably not as important at the top level. But I agree the information should be visible.
My two cents @xianli123 @erwangranger

Information should be accessible somewhere/somehow. That is the critical piece (80%) for me.
Whether it's better as a popup or inline is of secondary importance to me (20%).
But if I had to make a choice, I'd say that the "deprecated"/"deleted"/"deleted" flags will hopefully not show up too often, and I still think that leaving the screen as it currently is:

is misleading to the user.
It really looks like I'm using the same image twice. And it's not until I'll hover over both Pytorch that I'll see it's not the case.
To me, if 2 things are not the same, they should not have the same name. (and this is why I called my workbenches in the screenshot, A and B, so that I could tell them apart easily).
My own opinion (I like knowing which version I'm using) is not necessarily representative of our target users, so UX colleagues, this is your call to make, and I'll be fine either way.

Thanks @andrewballantyne @erwangranger Yes. I was convinced. I think we can just show the version info (with the Recommended text if it is) under the notebook image name as shown below and hide the advanced info in the popover.

As far as I know, the admin can disable or delete the whole notebook image instead of a specific version of the notebook image. So if the notebook image has been disabled or deleted, we can add a label next to the notebook image name to indicate the status. What do you think? Thanks!

I notice the screenshot that @erwangranger attached. It's about the notebook image selection. I've seen this UI in another issue(but sorry I forgot which one).

But at first I was a little confused about choosing notebook image and version. I am not sure if we change the components from single selection to 2 dropdowns, as shown below. In this way, this part will have the same interaction as the notebook image selection in the workbench creation process. Of course, the previous design, being able to show all the options is a good point. What do you think? @andrewballantyne @erwangranger If it's worth a shot by using 2 dropdowns, I can create a new issue to update the design.

This is the issue #1690  I mentioned. FYI

Sorry I used a screenshot from the Jupyter Tile. I should not have done that.
It's just that it had a bit more info than the double drop down:

I don't think we need to revisit that (^) design for now:

@erwangranger Ok. Let's leave it as it is. What do you think about the solution that I shared?

Works for me. Thanks @xianli123 .

I have have assumed the state of the mocks to be complete @xianli123 and moved this to Dev Ready. Let me know if you're intending on spending anymore time on the mocks. I think we have what we need from a development perspective.

@andrewballantyne Yes. It's ready for dev.

With the current image streams:

The build information would also be provided in the imagestream annotations:
opendatahub.io/notebook-build-commit: <hash>

The requirement from UI would be to display this hash on the image selected view on the dashboard.
Along with the version info.  i,e    ex( PyTorch v1.2  e346hu8)

Notebook manifests are already loaded with these information: here
Dev Flag for Opendatahub development with this information:
workbenches:
      devFlags:
        manifests:
          - contextDir: components/odh-notebook-controller/config
            sourcePath: ''
            uri: 'https://github.com/opendatahub-io/kubeflow/tarball/v1.7.0-5'
          - contextDir: components/notebook-controller/config
            sourcePath: ''
            uri: 'https://github.com/opendatahub-io/kubeflow/tarball/v1.7.0-5'
          - contextDir: manifests
            sourcePath: ''
            uri: 'https://github.com/opendatahub-io/notebooks/tarball/2023b'
      managementState: Managed

Migrated to the issue noted above.


Task Lists

[x] Put containers in Docker hub (stop building them when launching build.sh).
[x] Fix nginx-http-auth: users are not banned.
[x] Generate a certificate using let's Encrypt.
[ ] Sickrage & CouchPotato could be automatically configured to use rtorrent & plex.
[ ] Update the readme.md to explain how to configure these servers.
[x] Add headphones: https://github.com/rembo10/headphones/
[ ] fix: headphones is not multi-users
[ ] Add a proxy, to surf the web anonymously.
[ ] Clean containers: use latest version + remove unnecessary dependencies.
[ ] Install docker-compose for non-root user & start docker service.
[ ] PureFtp should log authetification failures and use the certificate.

use project view


PDFanno: an MIT licensed browser-based pdf annotator

I found this project for annotating pdf files. Hopefully it would be a good starting point for pdf annotation in label studio.

It seems like the UI is in a separate repo: https://github.com/paperai/anno-ui.

@kskyten @smohan123 We can't use this plugin inside of LS, because it breaks our internal conceptions and LSF engine. However, this is a good example of what this might look like.
Right now you can convert pdf => html and do HTML labeling using LS.

Cool, thanks. I think this plugin could work for my use case. Thanks again for creating a great product in LS!


: [Generic] Creating an image format with an unknown type is an error

I'm still facing this issue using
react-native-image-picker: 0.24.1
react-native-cli: 1.0.0
react-native: 0.34.0
iOS: 10.12
xcode: Version 8
: [Generic] Creating an image format with an unknown type is an error

And what behavior are you seeing exactly? This message gets logged to my Xcode console as well, but the image picker still returns the image successfully, so I'm not sure what's up with this message.

yes you are right, exactly same is happening in my case.
I'm just worried about that error message. Don't want things to get broken later due to this.

Ok cool. Well as long as it's working now I'm not super concerned about it, but I agree it would be nice to clear it up. If anyone knows what's causing this please send a PR!

could be a false warning
https://stackoverflow.com/a/41349385/1052033


did library enhancement for getting holidays array by year and state

Regarding issue #1

Thank you for your PR. It will be reviewed next Friday.

Thanks for your effort.
We take the changes of your PR as occasion to adjust the API.
We are going to release a new version soon.


Added cassianomon game (FlappySquare)

Your pull request needs further work because of the following reason(s):

You changed a file at Games/FlappySquare, this is not allowed, you can only modify games/cassianomon
You changed a file at Games/FlappySquare, this is not allowed, you can only modify games/cassianomon
You changed a file at Games/FlappySquare, this is not allowed, you can only modify games/cassianomon
Your main.js file was not found, it is a requirement (even if empty)
Your main.css file was not found, it is a requirement (even if empty)
Your index.html file was not found, this one should exist and be nonempty

Once you have resolved the issues, comment on this request to be re-judged
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

692501310d8d1a098fad20372560c4c6df6963a6

This PR has been idle for more than 24 hours, and will now be closed. Feel free to re-open.
This is an automated response, beep boop.
if you think there is a mistake, contact a maintainer

3badc294c41a5d23f35fb67e7b03637041f43171


Roll Engine from e06f10638598 to b673845877b3 (14 revisions)

https://github.com/flutter/engine/compare/e06f10638598...b673845877b3
2020-11-14<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from S4lxhP7Qt... to ywh3expSX... (flutter/engine#22522)
2020-11-14<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from vjuGOKwGt... to 6gGbW-hRH... (flutter/engine#22521)
2020-11-14<EMAIL_ADDRESS>Revert "Remove the Window class now that it is no longer used. (#22505)" (flutter/engine#22519)
2020-11-14<EMAIL_ADDRESS>Roll Dart SDK from 5ea7e4d39f43 to 6a805f4dbcf4 (1 revision) (flutter/engine#22518)
2020-11-14<EMAIL_ADDRESS>Manual roll of Dart from 7bbace20d1 to 5ea7e4d39f (flutter/engine#22516)
2020-11-14<EMAIL_ADDRESS>Roll Dart SDK from bf20abbb8e22 to 7bbace20d14f (1 revision) (flutter/engine#22515)
2020-11-14<EMAIL_ADDRESS>Roll Skia from cae335d5b18f to 031a76756e24 (8 revisions) (flutter/engine#22514)
2020-11-13<EMAIL_ADDRESS>PlatformViewsController always make sure the touch events are finished (flutter/engine#22406)
2020-11-13<EMAIL_ADDRESS>Move layer clip culling to Paint() method to fix child caching (flutter/engine#22336)
2020-11-13<EMAIL_ADDRESS>Roll ICU to c2a4cae149aae7fd30c4cbe3cf1b30df03b386f1 (flutter/engine#22465)
2020-11-13<EMAIL_ADDRESS>Remove the Window class now that it is no longer used. (flutter/engine#22505)
2020-11-13<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from B4PaMsNWM... to S4lxhP7Qt... (flutter/engine#22504)
2020-11-13<EMAIL_ADDRESS>[web]Update @dart annotation. Change shaders to allocate smaller canvas (flutter/engine#22481)
2020-11-13<EMAIL_ADDRESS>Roll Skia from efd628a1a965 to cae335d5b18f (5 revisions) (flutter/engine#22503)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from B4PaMsNWMGdY to ywh3expSXOJ4
fuchsia/sdk/core/mac-amd64 from vjuGOKwGtimG to 6gGbW-hRH7Y9
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


added codestunts.com

Let me write the script to update the readme from /docs/_data_data.csv and I'll add this item.
How many Projects and service vendors do you have so far?

can't mention about that publicly but it's small and elite community

Sorry for the late response. I'll continue to watch this site and definitely add in as it grows.


HOW TO CHANGE SMILEY COLOR

PLEASE TELL ME HOW TO CHANGE  SMILEY COLOR . THE API ONLY PROVIDED NORMAL COLOR AND ANGRY COLOR

Actually, you will have to update the smileyrating. Then follow this instruction


Add Ghostscript to dependent libraries

👍

This has been resolved and is in docker-build-base: https://github.com/onmodulus/docker-build-base/blob/master/bootstrap.sh#L16 Closing


give users a way to type-query effects, e.g. in eval_shape

We use jax.eval_shape as a way to query function types, but it doesn't surface effect types. We need a way to do that, either built into jax.eval_shape or something else.

jax.infer_type?

FWIW I think there are basically 4 things a user might ask for when abstractly interpreting:

output struct + avals
jaxpr
effects
closed-over constants.

Right now eval_shape gives you just the first, make_jaxpr gives you the first two (three?), and closure_convert gives you some of the last (only inexact arrays, but in the presence of e.g. custom_vmap you need all arrays).
Rather than a new API for specifically effects, I'd probably argue for a unified API that offers any combination of these, ideally in an "optimal" way, e.g. not forming a jaxpr if all that is needed is the effect set.

bump, I could really use a way to get a jaxpr abstractly without needing to pass inputs, because in my testing cloudpickle of jax jitted functions today, I found the

functionality is identical before and after cloudpickling
jaxprs are identical before and after cloudpickling
dict gets wiped
hash is thus different

To test code to serialize / deserialize jitted functions, we to make equality checks.
Problem is, this only works with the jaxpr, but you need to pass an input to make the jaxpr, but you need to know the function to know the input shape, so there's a chicken-or-egg problem in this (passing) test
def jit_fns_eq(
    j1: PjitFunction,
    j2: PjitFunction,
    *,
    debug: bool = DEBUG,
) -> bool:
    "returns True if two jax.jit functions have the same jaxpr"
    j1_jaxpr = jax.make_jaxpr(j1)(1.0)
    j2_jaxpr = jax.make_jaxpr(j2)(1.0)
    if debug:
        print("j1_jaxpr", j1_jaxpr)
        print("j2_jaxpr", j2_jaxpr)
    return repr(j1_jaxpr) == repr(j2_jaxpr)

def test_jit_fns_eq():
    def jnp_func1(x):
        return jax.numpy.sin(jax.numpy.cos(x))

    def jnp_func2(x):
        return jax.numpy.cos(jax.numpy.sin(x))

    jitted1 = jax.jit(jnp_func1)
    jitted2 = jax.jit(jnp_func2)

    assert jit_fns_eq(jitted1, jitted1), "false negative on equality check 1,1"
    assert jit_fns_eq(jitted2, jitted2), "false negative on equality check 2,2"
    assert not jit_fns_eq(jitted1, jitted2), "false positive on equality check 1,2"
    assert not jit_fns_eq(jitted2, jitted1), "false positive on equality check 2,1"
    print("PASS!")

test_jit_fns_eq()

This approach would only work for jax functions that accept a scalar input, because i wouldn't know what shape of inputs to pass for arbitrary functions unless i make some other thing to hold that information.
+    def jnp_func3(x, y):
+        return jnp_func1(x) * jnp_func2(y)

+     assert jit_fns_eq(jitted3, jitted3), "false negative on equality check 3,3"

i.e. the requirement to pass inputs to make a jaxpr makes it hard to make a signature-agnostic equality function for jitted functions
you can get the number of parameters, but they could be arbitrary rank and dtype and it's not possible to know that,
temporary hackish sort of working equality for jit fns
def jit_fns_eq(
    j1: PjitFunction,
    j2: PjitFunction,
    *,
    debug: bool = DEBUG,
) -> bool:
    "returns True if two jax.jit functions have the same jaxpr"
-    j1_jaxpr = jax.make_jaxpr(j1)(1.0)
-    j2_jaxpr = jax.make_jaxpr(j2)(1.0)
+    sig1 = inspect.signature(j1)
+    sig2 = inspect.signature(j2)
+    n_args_1 = len(sig1.parameters)
+    n_args_2 = len(sig2.parameters)
+    j1_jaxpr = jax.make_jaxpr(j1)(*(1.0 for _ in range(n_args_1))) # fails if rank/shape wrong?
+    j2_jaxpr = jax.make_jaxpr(j2)(*(1.0 for _ in range(n_args_2)))
    if debug:
        print("j1_jaxpr", j1_jaxpr)
        print("j2_jaxpr", j2_jaxpr)
    return repr(j1_jaxpr) == repr(j2_jaxpr)

anybody know an easy way here to reproduce the issue where the rank or shape of the arrays would need to be specific for some function?

ah, nevermind, standard vector matrix einsum works.
    def jnp_func4(x, y):
        return jnp.einsum("x,xy->y", x, y)

    jitted4 = jax.jit(jnp_func4)

    rng = jax.random.key(42)
    rng1, rng2, rng3 = jax.random.split(rng, 3)
    x1 = jax.random.uniform(rng1, (2,))
    y1 = jax.random.uniform(rng2, (2, 3))
    a1 = jnp_func4(x1, y1)
    print(a1)
    print("a1 ok")

    assert jit_fns_eq(jitted4, jitted4), "false negative on equality check 4,4"

the space of input signatures is way too big, need some way to get jaxpr without knowing input signature
tldr: wtb jaxpr: Jaxpr = jaxpr_from_jit_fn(jit_fn) + jit_fn: PjitFunction = jit_fn_from_jaxpr(jaxpr) bijection


alpine: use install script from Homebrew

Use the install script
https://raw.githubusercontent.com/Homebrew/install/master/install.sh

instead of
https://raw.githubusercontent.com/Linuxbrew/install/master/install

The Homebrew install script needs the coreutils and the grep alpine packages. Alpine use by default busybox commands and some needed options are missing in these commands.
A symbolic link from /usr/bin/touch touch to /bin/touch has been created and the Alpine version has been set to 3.11
The Apache Tomcat server have been successfully installed and run with Homebrew.

Blank lines added.

Merged. Thanks again, @VonUniGE !


Update User Guide

Push the draft user guide to the repo

Update: Added draft UG from Google Docs via this pr.


Add heading of aircraft to CoT message

Add heading of aircraft to CoT message

Refs: https://github.com/tak-ps/node-CoT/pull/8


try to add pm2 to run nuxtjs app on nginx

Info:

Docker version ($ docker --version): 18.03.0-ce, build 0520e24
Laradock commit ($ git rev-parse HEAD): fb686fec15c6b51cd06a96e42542b72ebb277d6c
System info (Mac, PC, Linux): Mac
System info disto/version:

Issue:
my app is laravel api and nuxt js to fronted
My folder structure look like this:
+ laravel
    + laradock
    + client

first i add to docker-compose.yml
pm2:
      build:
        context: ./pm2
      ports:
        - "${PM2_PORT}:3000"
      volumes_from:
        - applications
      networks:
        - frontend
        - backend

from http://pm2.keymetrics.io/docs/usage/docker-pm2-nodejs/
FROM keymetrics/pm2:latest-alpine

WORKDIR /var/www/client

COPY pm2.json .

CMD [ "pm2-runtime", "start", "pm2.json" ]

EXPOSE 3000

on nginx i add this config
https://nuxtjs.org/faq/nginx-proxy
server {

    listen 80;
    listen [::]:80;

    server_name client.com www.client.com;

    location / {
        proxy_redirect                      off;
        proxy_set_header Host               $host;
        proxy_set_header X-Real-IP          $remote_addr;
        proxy_set_header X-Forwarded-For    $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto  $scheme;
        proxy_read_timeout                  1m;
        proxy_connect_timeout               1m;
        proxy_pass                          http://<IP_ADDRESS>:3000;
    }

    error_log /var/log/nginx/client_error.log;
    access_log /var/log/nginx/client_access.log;
}

i spin 3 days on this issue i dont have any experience on docker please any one can help me
i just get 502 Bad Gateway form  nginx put the api is working will by grate laradock

I have the same issue, any luck?!

Here how i did this:
.env add this line
WORKSPACE_INSTALL_NPM_PM2=true
docker-compose.yml add env variable to workspace
- INSTALL_NPM_PM2=${WORKSPACE_INSTALL_NPM_PM2}
and finally add this to workspace Dockerfile near the RUN if [ ${INSTALL_NODE} = true ]; then \
&& if [ ${INSTALL_NPM_PM2} = true ]; then
npm install -g pm2
;fi \
this is my fork: https://github.com/lifeeka/laradock

I have the same problem here. How to use Nuxt (http://localhost:3000) with laradock?

Update on this?

I have the same problem here. How to use Nuxt (http://localhost:3000) with laradock?

Update on this?

any update
how to work with laradock &  pm2?