Default Svelte Template With LiveReload On Secure Local Dev Domain

Hi Thomas
Perhaps with a bit of guidance and help from you a few people can enjoy your rollup-plugin-livereload with Svelte on secure local dev domains. In this thread there is a comment that might help us get there. https://github.com/cytopia/devilbox/issues/709#issuecomment-653395243 Perhaps you kindly have a bit of time to have a look? :+1:
What I am wondering is this. The default Svelte template does not use https://www.npmjs.com/package/rollup-plugin-serve and it is not clear to me if the options in the readme of your rollup-plugin-livereload using https are available without rollup-plugin-serve?
What I am trying to do is tell rollup-plugin-livereload in the rollup.config.js file to use https and point it to the key and cert files provided with the local dev setup. Is that possible without rollup-plugin-serve? Perhaps we are close to getting this done. Posted in Svelte Discord and searched on SO with little results, have a feeling we are close. Fingers crossed. :v:

I haven't used livereload with https, I just assume their docs are correct 😄
@wangchou has updated the https example, so he may know more about this!

@thgh and @wangchou I will see if I manage to integrate your solution into my workflow and report back in any case.

@thgh and @wangchou I can confirm with your config example it does work, thank you. :sunflower:

Here is a Svelte template working with Devilbox and LiveReload on a secure local development domain. https://github.com/robots4life/svelte-slr Thanks to your input and some further digging I could resolve the original issue as well.


Fix rustdoc header format

By convention rustdoc headers should not include a colon.
Removed colon from rustdoc headers.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.318%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19303

Relevant Lines:
23168

💛  - Coveralls

Closed PR #2771 since this now makes it redundant


Score records

The application should keep a track of the historical scores of a person and keep a track of the high score. It would make it more competitive and fun as users will try to beat their high score.

great. Is there something which I should do ?

great. Is there something which I should do ?

I made this issue in order to remember to do it and if someone sees the repository then they would also know how they can contribute. I plan on doing this with every repository

I made this issue in order to remember to do it and if someone sees the repository then they would also know how they can contribute. I plan on doing this with every repository

oh,  I see

oh,  I see


I don’t have a computer to sideload apps. Wtf.

You can also install from testflight https://apps.apple.com/us/app/scrcpy-remote/id1629352527

I can’t find it


flatpickr creating empty space at bottom of page

For eg. on https://chmln.github.io/flatpickr/
If you inspect the bottom of the body element, you will notice that the '.flatpickr-wrapper' is creating a bunch of empty white space, because it is not hidden. This does not look good on sites with dark footers.
Could this be fixed with display: none?
Thanks

Hello,
Just noticed it now. To be fixed asap with a new release.
Stay tuned

Just bumped into this as well, it's a release 1.9.0 bug. @SRTM you could revert to 1.8.9 for now if you're looking for a quick fix.

Wow @chmln you are fast! 💥 Thanks a bunch!


use conditional mutations to remove hosting request

Still working on other changes for #3858, but did not want to put them all in the same commit.

While looking into #3858 I found there were two places in tablet server that were removing hosting request.  So I took the code from this PR and put it in a function to call in both places.  Did this in b4ecd1a and pushed that commit directly to elasticity branch.


Add Inceptional or Inception -like modules

To make it easier to build an  Inceptional or Inception -like deep network such as GoogLeNet or BN-inception,Sequeeze-net et al by using Keras built-in Sequential model,here I add  an Inception class and FireModule class which might be useful for keras users.
Simple example
from keras.utils import np_utils
from keras.models import Sequential
from keras.layers.core import Dense, Dropout, Activation, Flatten
from keras.layers.Inceptional import FireModule,Inception

model = Sequential()
model.add(Convolution2D(10,3,3,
                        border_mode='valid',
                        input_shape=(3,12,12)))
model.add(Activation('relu'))
model.add(Inception("ver2",subsample=(2,2),BatchNorm=True,kernel_set=[8,12,12,16],PoolMethod="avg"))
model.add(FireModule([10,8,8]))

model.add(Flatten())
model.add(Dense(64))
model.add(Activation('softmax'))
model.compile(loss='categorical_crossentropy', optimizer='adadelta', metrics=['accuracy'])
model.summary()

model summary
Layer (type)                     Output Shape          Param #     Connected to
====================================================================================================
convolution2d_25 (Convolution2D) (None, 10, 10, 10)    280         convolution2d_input_4[0][0]
____________________________________________________________________________________________________
activation_6 (Activation)        (None, 10, 10, 10)    0           convolution2d_25[0][0]
____________________________________________________________________________________________________
inception_4 (Inception)          (None, 38, 4, 4)      0           activation_6[0][0]
____________________________________________________________________________________________________
firemodule_4 (FireModule)        (None, 16, 4, 4)      0           inception_4[0][0]
____________________________________________________________________________________________________
flatten_3 (Flatten)              (None, 256)           0           firemodule_4[0][0]
____________________________________________________________________________________________________
dense_3 (Dense)                  (None, 64)            16448       flatten_3[0][0]
____________________________________________________________________________________________________
activation_7 (Activation)        (None, 64)            0           dense_3[0][0]
====================================================================================================
Total params: 16728

I briefly worked on something like last autumn, but in the end it seems to me that the functional API solves the problem well enough. Wrapping up layers into pre-packaged "blocks" does not seem flexible enough to me. Better to make it easier to build the blocks yourself (which is the point of the functional API).
Have you looked at: https://github.com/fchollet/keras/blob/master/examples/inception_v3.py

Thank you for your reply and I totally agree with your opinion. When i just start building inceptional or inceptional-like module using the functional API,the most annoying thing is that I have to take care of which layer should be an input or the output .   So i believe if these layers can be stacked by using Sequential model,it will save a lot of time for building prototype and make the model itself more concise.

Please consider starting a new repo with your code, in the lines of "collection of inception blocks for Keras".


Some simplifications of vartime division (second attempt)

This is a fix of reverted #646

Extract shl/shr by a limb-sized shift into separate methods
Add a more detailed docstring and some debug assertions in div3by2()
Replaced saturating_sub with wrapping_sub in several places. While logically it is the same thing (the wrapping/saturation only happens for values that are later selected out), I think there are readability advantages. First, elsewhere in the code we use wrapping ops for selected out values (meaning "perform the subtraction without any checks, since we already have a constant-time condition for that"), so saturating_sub indicates that the algorithm actually uses the saturation mechanic. Second, in case of a bug, it will be easier to spot the consequences of a "0xffff..." value than a 0.

Update:

Use div2by1 instead of div3by2 with zero lower limbs. That's why I was wondering if div3by2 should be moved out of div_limb.rs — when it's there it's perceived as a general-purpose method analogous to div2by1, but it's not - it may return the quotient or the quotient plus 1. It is only supposed to be used in a specific place in the division algorithm. It returns a WideWord as a remainder, which was truncated to Word by the caller without any checks or explanations why it's supposed to be correct.

cc @andrewwhitehead


Use first image by position

Previously, it was possible that the feed image link would point to the
image that was not first when ordered by position. By using
display_image we should be confident that we're getting the proper
image.

 item entries in a Product Feed should include a link to the Product's display_image


Fail to start if kubernetes cannot be contacted

Currently, if k8s cannot be contacted (e.g. if DOCKER_VERNEMQ_KUBERNETES_CLUSTER_NAME is set incorrectly), then the service continues to start up and none of the vmq-admin commands work.

@SerialVelocity operationally though, what should happen in that case?

I would expect the pod to fail to start. If it was a flake, it will restart automatically and succeed eventually.

@SerialVelocity What exactly do ypu mean with "k8s cannot be contacted"? Do you mean that the K8S API-Server is not reachable?

Yes, if the api-server is not reachable.

This just happened again. My pods started up and timed out talking to the API server. Now they are operating as independent nodes.


Error while opening UI: 426 (Upgrade Required)

Describe the bug
When I proxy the UI through kubectl, the UI is loaded (although kind of empty) and I'm getting the following error:
index.js:16 GET http://localhost:3000/socket/?EIO=3&transport=polling&t=NKnDaco 426 (Upgrade Required)

All other pods are running without any errors.
Log from kubevious-ui:
<IP_ADDRESS> - - [16/Oct/2020:11:49:12 +0000] "GET /socket/?EIO=3&transport=polling&t=NKnFX7v HTTP/1.1" 426 0 "http://localhost:3000/?tme=false&tmdt=RnJpIE9jdCAxNiAyMDIwIDEzOjQ5OjAyIEdNVCswMjAwIChDZW50cmFsIEV1cm9wZWFuIFN1bW1lciBUaW1lKQ==&tmd=MjQ=&tmdaf=VGh1IE9jdCAxNSAyMDIwIDEzOjQ5OjAyIEdNVCswMjAwIChDZW50cmFsIEV1cm9wZWFuIFN1bW1lciBUaW1lKQ==" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36" "-"

To Reproduce
Steps to reproduce the behavior:

Run kubectl port-forward $(kubectl get pod -l k8s-app=kubevious-ui -n kubevious -o jsonpath="{.items[0].metadata.name}") 3000:80 -n kubevious
Open localhost:3000

Expected behavior
UI with all the information
Screenshots
If applicable, add screenshots to help explain your problem.

Environment Details:

AKS (v1.16.13)
Chrome 86.0.4240.75 (Official Build) (64-bit)
Version 0.6.36

I am getting this issue too.
I deployed to minikube using the provided helm chart command line and version from the readme:
helm install kubevious kubevious/kubevious --version 0.6.36 -n kubevious

NAME: kubevious
LAST DEPLOYED: Fri Oct 16 13:52:37 2020
NAMESPACE: kubevious
STATUS: deployed
REVISION: 1
TEST SUITE: None

I see the same logs as @nadworny too.
Thanks for taking a look at it = )

@nadworny, @guillem-riera,
Can you guys attach logs for "kubevious" and "parser" pods?
@nadworny, If the cluster is big with lots of pods, jobs, configmaps, etc it may take some time to bring up the UI. Just trying to find a root cause.

@rubenhak here are the logs
parser: https://gist.github.com/nadworny/11f232ec92863022268904db51b2e05a
kubevious: https://gist.github.com/nadworny/c9a666f8e1c77d1f52255dfcb42fa5b1

Ok as suggested, I waited a bit and started the UI again - it works! 👍
I'm getting this exception but I guess it's irrelevant:
index.js:18 WebSocket connection to 'ws://localhost:3000/socket/?EIO=3&transport=websocket&sid=z12aPFY1Uxzl1qh8AAAB' failed: Error during WebSocket handshake: Unexpected response code: 400

@nadworny, glad it worked. We are working on areas to shorted initial load time.
WebSocket error is unrelated, but will try to eliminate it to avoid confusion.
Keeping this open for tracking purposes.

Just a short update:
I am using istio (demo settings, with auto injection in the kubevious namespace) in my minikube cluster.
After removing the release with helm, and removing the auto injection in the namespace, I was able to run kubevious without errors (the latest helm release that can be found using helm search repo kubevious -l, which was 0.7.22).
Might it be strictly related to istio?

@guillem-riera, thanks for the update. We are preparing a major release. Would be able to take a look to this after that.
Meanwhile, it would be helpful to have Istio configs you used to debug this further.

Folks, can you try the latest version and let us know if you are still experiencing this?https://github.com/kubevious/kubevious/releases/tag/v0.8
@guillem-riera, yes, if service mesh is configured in such a way that would prevent ui to backend communication that could be the reason.

Folks, can you try the latest version and let us know if you are still experiencing this?https://github.com/kubevious/kubevious/releases/tag/v0.8
@guillem-riera, yes, if service mesh is configured in such a way that would prevent ui to backend communication that could be the reason.

Hey,
i just deployed the Helm chart (version 0.8.15) in a namespace with Istio + sidecar injection (no connection restrictions configured) and waited a few minutes.
I also get the 426 (Upgrade Required). There are no errors logs in the pods.
Tried executing a curl (curl -v $BACKEND_URL) in the Kubevious ui pod - http 200 was returned.
My Istio config is:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values:
    global:
      proxy:
        autoInject: enabled
      useMCP: false
      tracer:
        zipkin:
          address: zipkin.istio-system.svc.cluster.local:9411
  addonComponents:
    prometheus:
      enabled: true
    kiali:
      enabled: false
    grafana:
      enabled: false
    tracing:
      enabled: true

  components:
    ingressGateways:
      - name: istio-ingressgateway
        enabled: true
      - name: cluster-local-gateway
        enabled: true
        label:
          istio: cluster-local-gateway
          app: cluster-local-gateway
        k8s:
          service:
            type: ClusterIP
            ports:
            - port: 15020
              name: status-port
            - port: 80
              name: http2
            - port: 443
              name: https

Any ideas?

Hey,
i just deployed the Helm chart (version 0.8.15) in a namespace with Istio + sidecar injection (no connection restrictions configured) and waited a few minutes.
I also get the 426 (Upgrade Required). There are no errors logs in the pods.
Tried executing a curl (curl -v $BACKEND_URL) in the Kubevious ui pod - http 200 was returned.
My Istio config is:
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values:
    global:
      proxy:
        autoInject: enabled
      useMCP: false
      tracer:
        zipkin:
          address: zipkin.istio-system.svc.cluster.local:9411
  addonComponents:
    prometheus:
      enabled: true
    kiali:
      enabled: false
    grafana:
      enabled: false
    tracing:
      enabled: true

  components:
    ingressGateways:
      - name: istio-ingressgateway
        enabled: true
      - name: cluster-local-gateway
        enabled: true
        label:
          istio: cluster-local-gateway
          app: cluster-local-gateway
        k8s:
          service:
            type: ClusterIP
            ports:
            - port: 15020
              name: status-port
            - port: 80
              name: http2
            - port: 443
              name: https

Any ideas?

ahh... Istio... :)
TBH, we haven't got our hands on Istio yet, so its hard to answer right now. But I'm happy to help. Would you like to join the slack channel to do remote debugging together? I think we would be able to find the solution. Two sets of eyes is better than one. Here it is? https://kubevious.io/slack

ahh... Istio... :)
TBH, we haven't got our hands on Istio yet, so its hard to answer right now. But I'm happy to help. Would you like to join the slack channel to do remote debugging together? I think we would be able to find the solution. Two sets of eyes is better than one. Here it is? https://kubevious.io/slack

@nadworny, @guillem-riera, this was fixed in version 0.9.2.
$ helm upgrade --atomic -i kubevious kubevious/kubevious --version 0.9.2 -n kubevious

@anerathil, thanks for helping to root cause and validate the fix.


V-Sekai Social VR Meeting agenda for 2022-09-18

This meeting will be on 2022-09-18 at 11:30 PM (America/Vancouver) in the V-Sekai Discord within the #general channel. During the meeting, we will be using the voice text chat channel to manage a speaker queue, post links, and for any sidebar discussions.
We wish to improve our processes for notifying and running meetings.
Attendees

@fire
@lyuma
@SaracenOne
anyone else who wishes.

Agenda for 30 minutes:

What features do we need to build for V-Sekai for a 2022 release?

Be back in VR as we were.
???
What features from Godot Engine is essential for V-Sekai?
What functioning demos for V-Sekai are bite sized and essential?
Social uro backend features is blocked
Validation of downloads is blocked
Pick a time on the weekend where iFire streams working nano sized features for V-Sekai.

Evaluate and publish VRM to the 4.0 Asset Library
Evaluate and publish Unidot to the 4.0 Asset Library

Disable AnimationTree import

Enable V-Sekai discord forum threads
Show and tell

Godot Engine 4.0 beta 1
gltf document extensions work with Lyuma, Fire and Aaron Frankee

Create next weeks agenda

To propose another item for the agenda, comment below (preferably before the meeting).

degit is a easy way to download a git repo without its .git.

Being unable to validate the scene downloads blocks us from inviting friends and new collaborators.

V-Sekai shard browsing for online running servers is offline and the search is broken.

Locomotion doesn't hide the vision in itch builds.

Be able to have people download the V-Sekai game and then able to find servers (blocker) and downloading the map (blocker).

Meet has passed.


Unicode characters in name, resolves #30, #28, #9

Fixes unicode characters in filename, resolves #30, #28, #9.
Uses unicode category \p{L} or \p{Letter}: any kind of letter from any language.
more https://www.regular-expressions.info/unicode.html#category

Thanks for the PR! This is brilliant, I had no idea about the u flag in JS regex before.


Cannot build osqp-eigen from source

Hello,
The CI pipeline suddenly failed, as Cmake cannot locate the OsqpEigen installation for our project.
In particular, when installing OsqpEigen, running make leads to errors such as:
../osqp-eigen/include/OsqpEigen/SparseMatrixHelper.hpp:42:37: error: ‘csc’ has not been declared
  42 |                                     csc*& osqpSparseMatrix);
....
../osqp-eigen/include/OsqpEigen/SparseMatrixHelper.tpp:18:5: error: ‘c_int’ was not declared in this scope; did you mean ‘u_int’?
...
 In member function ‘void OsqpEigen::Data::setNumberOfVariables(int)’:
.../osqp-eigen/src/Data.cpp:74:5: error: ‘m_data’ was not declared in this scope; did you mean ‘Data’?
  74 |     m_data->n = n;

and so on.
I thought it might have anything to do with newer releases Eigen or Osqp, but i cannot seem to find any issues with them. I have also tried with earlier tags that used to be compatible. Osqp is installed in /usr/local/share/osqp/.
I have tried changing cmake -DCMAKE_INSTALL_PREFIX:PATH=<custom-folder> ../ to different locations, but to no avail. I have been using docker, with newest stable versions of Eigen and Osqp.
Is this a known problem, or am I doing something completely wrong? I dont understand why this suddenly happened, as we have been successfully passing build tests for many months before.
Thank you for any help!

Thank you for the response, i apologize for not checking the closed issues.
I did check the version of the master branch of osqp, but i misread it and thought it was still 0.6.3.
It now works, like it used to. Also thanks for the tip!


Doesnt describe how to use the details block with tags

Microsoft_Azure_Policy resource
In the Field Resource tags is a valid object, I previously had "test" in there to figure out how to use the details block but I got an error and change the value to the suggestion Microsoft.WindowsAzure.ResourceStack.Frontdoor.Data.Entities.Tags.TagsDictionary.
"details": [
{
"field": "tags",
"value": "Microsoft.WindowsAzure.ResourceStack.Frontdoor.Data.Entities.Tags.TagsDictionary"
}
]
After I changed it to the "suggested object I got this:
The request content was invalid and could not be deserialized: 'Error converting value "Microsoft.WindowsAzure.ResourceStack.Frontdoor.Data.Entities.Tags.TagsDictionary" to type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Data.Entities.Tags.TagsDictionary'. Path 'tags', line 1, position 132.'.
This error is really funny, sorry to say but fail

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

ID: d956852a-d98e-c022-d6f2-c2910afe6e93
Version Independent ID: 8107b348-d2b4-214e-2b18-bf813f1fe1e8
Content: Azure Policy definition structure
Content Source: articles/azure-policy/policy-definition.md
Service: azure-policy
GitHub Login: @bandersmsft
Microsoft Alias: banders

#please-close

thanks @pilor that example is great and I really hope the documentation is updated.
@bandersmsft it would really help to have this out in the open as the errors thrown from Azure did not lead to me any proper conclusion on what i did wrong.


Add opensearch description

This allows one easily add the search engine to the browser.
Here's how it looks on search.nixos.org:

Docs are here, maybe I'll get to it myself on the weekend:)

for later reference
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
                       xmlns:moz="http://www.mozilla.org/2006/browser/search/">
  <ShortName>NüschtOS Search</ShortName>
  <Description>Simple and fast static-page NixOS option search</Description>
  <InputEncoding>UTF-8</InputEncoding>
  <Image width="16" height="16" type="image/x-icon">DOMAIN/favicon.ico</Image>
  <Url type="text/html" template="DOMAIN/?query={searchTerms}"/>
  <moz:SearchForm>DOMAIN</moz:SearchForm>
</OpenSearchDescription>

@MarcelCoding NüschtOS Option Search or NüschtOS Search? Probably the later, right? Also how do we get the DOMAIN in? We probably need to add that as a build option.

Yeah, we would need to add one for this.


form_data on request could be editable, and run a custom query

The form_data send on a request, could be modified by a "gamma" user and read all the content from the database.
By modifying the request, we are able to forge our own query and interact with the current database in a manner not provided by the application. For instance, we can get, the current database, the current user, the database version.
By modifying the "datasource" parameter (which is in the format XX_table, where XX is the ID, we can list all the tables connected with superset.
Screenshots
Getting all the tables by changing the ID on XX_table:

Finding the database and version:

Changing tables and values to add on the query:

superset version: 0.35
python version: 3.6

Hi @rubenSastre thank you for reporting.
Will try to replicate on current master


How to preview :g commands

Can this plugin be used to preview :g? For example lets say I have the buffer:
foo
bar
barx
foo
xbar

and I want to delete any line containing bar which could be done with :g/bar/d<CR>. However if I add the entry G = { cmd = 'g' } to the config of this plugin. It only previews the command on the current line when I type :G/bar/d, even though :g acts on all lines.

That's a nice usecase! I have now fixed a few bugs on the main branch (note that visualizing deletions won't work on main now, I'll get to that once I have finished work on the hl_improvements branch :D). Please try changing your command to G = { cmd = 'g' , range = { 1, -1, kind = "absolute" } }.

Thanks for a quick reply! I tried your suggestion but now I don't get any preview, but maybe that's related to deletions not working as you mentioned since :g/bar/d will only delete?

Sorry, my earlier fix was a bit too rushed :smile: I have now fixed several bugs related to the handling of ranges, could you try again with the latest commit? Highlights should now also work again.

Seems to not have done it unfortunately, I'm getting the original behaviour for both this and #6 now.

Ok, for this issue, please change range to hl_range, that was a typo in my earlier comment. I reopened your other issue :)

Ah! Yes this works, thanks :heart: :rocket:

I noticed there was pretty bad performance when using your G command in large files. I have now added hl_range = { kind = "visible" } to only preview lines in the current buffer which speeds up things dramatically!

Ah that's awesome!

This is really nice. Is there a way to also highlight the found patterns like :g does at first, before applying the command? @AckslD @smjonas


chore: bdd-sbhg-1586898376 to 0.0.1

chore: Promote bdd-sbhg-1586898376 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Cannot filter message using selector

Producer Code Snippet:
var headers = {
'destination':'/topic/xyz',
'persistent':'true',
'content-type':'binary/octet-stream',
'content-length':9999,
'selector': "key = 'A'"
}
var frame = client.send(headers)

Consumer Code Subscribe Snippet:
client.subscribe({'ack':'client-individual',
'activemq.retroactive':'true',
'activemq.subscriptionName':'name',
'destination':'/topic/xyz',
'selector':"key = 'A'"},(err,msg)=>{})

The problem is I am not able to get the selectors right. I am not able to receive any message using the above code. I also tried using:
'selector':'key=A'
With this I receive all the messages but not filtered on the key.
Could someone please help me with getting this selector right.

use key:value in header (key:A) to send through producer and that should work.


why this starter don't use webpack-dev-server

or     "server:dev": "npm-run-all -p -r webdev sass:watch", is equivalent ?

webdev is webpack-dev-server: https://github.com/qdouble/angular-webpack2-starter/blob/master/package.json#L13 . It's just set to run the sass:watch command in parallel to compile this file: src/app/styles.scss


Check for potential conflicts in rails assets

Having encountered the problem of 2 different gems providing the same asset path (javascripts/angular/angular.js), we should probably have a mechanism to warn us about such things.
Right now, "When the assets are compiled, it disregards all the duplicate files after the first one found in the asset path." (according to this)
I'm thinking miq-bot could check assets.paths and warn about duplicates.
Needs a bit more thinking, like whether to check all duplicates or just the ones required in application.js (or css) (but recursive dependencies..).
So just an issue for now, I'll look into it after #3773.

I think we could accept that as a feature upstream in sprockets-rails (cc @rafaelfranca @arthurnn @schneems): when raise_runtime_errors is on, if we try to resolve an asset and find 2+ matches in your asset paths, we raise, instead of just using the first one.
Maybe it would need some more config flexibility, just in case you really are trying to override a gem's asset with an app-local version, or something... but that seems like it'd be pretty rare in practice: surely you're more likely to import the original then override just a couple of settings, instead of replacing the whole file.

And in the case that there are two gems providing the same assets path how a user would fix the runtime error?

By removing one of the gems, or renaming one of the files (via a PR, or in a fork), I guess.
Barring some particular collaboration between the gems, a name collision probably means: one of them is ending up with the file it expects, and the other is ending up with something very wrong.
Otherwise, we could provide a whitelist of acceptable conflicting names. That allows you to get past the error and back to today's behaviour... but chances are, it's telling you about something that's actually broken (e.g., you aren't using the version of jquery you thought you were).

Yeah, that seems good to me

Made some progress here, but I'm starting to think that check_errors_for is not the right place to check these things, especially given I had to comment out some stuff so it'd get passed all (hopefully) the files and work in our devel config.
Still, works well enough to catch some problems (and some false positives):
["jquery.js", 2]
"Assets should have just one valid resolve. Use only one dependency to provide \"jquery.js\". Candidates: [
#<Pathname:/home/himdel/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rails-assets-jquery-2.1.4/app/assets/javascripts/jquery.js>,
#<Pathname:/home/himdel/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.4/vendor/assets/javascripts/jquery.js>]"

["angular.js", 2] - this one is the false positive
"Assets should have just one valid resolve. Use only one dependency to provide \"angular.js\". Candidates: [
#<Pathname:/home/himdel/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rails-assets-angular-1.4.4/app/assets/javascripts/angular.js>,
#<Pathname:/home/himdel/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rails-assets-angular-1.4.4/app/assets/javascripts/angular/index.js>]"

["bootstrap.js", 2]
"Assets should have just one valid resolve. Use only one dependency to provide \"bootstrap.js\". Candidates: [
#<Pathname:/home/himdel/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rails-assets-bootstrap-3.3.5/app/assets/javascripts/bootstrap.js>,
#<Pathname:/home/himdel/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bootstrap-sass-<IP_ADDRESS>/assets/javascripts/bootstrap.js>]"

@himdel If this is still an issue in Darga release, please re-open with details.

It's still a potential issue, but one that hasn't really hit us in practice, and the potential has been severely reduced by moving to bower.. so I'm OK with just closing this :)


Implement find method

@talyssonoc thank you for improvement and suggestion! I just add some comments that I would like to improve before it'll be merged. Could you apply them?

@bocharsky-bw Just made the change you asked (and commented that ones that I didn't changed)!

@talyssonoc Thanks for nice idea and your patience to my comments! I just merged it.

You're welcome, @bocharsky-bw, I hope I can contribute with more ideas soon!

@talyssonoc Sounds great! Fell free to open issue first to discuss idea before it implementation


Add api call for remove project limit

Fixies https://github.com/keboola/connection/issues/1945
Main PR: https://github.com/keboola/connection/pull/2048

@tomasfejfar mozem to teda mergnut ?


How to refetch queries after a mutation?

How do I refetch a query after a mutation?
I have something like this:
export const useAllUsersQuery = (options?: UseQueryOptions<User[]>) => {
  return useQuery('users', fetchAllUsers, options)
}

export const useActionLoginUserMutation = () => {
  return useMutation((id: User['id']) => actionLoginUser(id))
}

I want to refetch the users query after the useActionLoginUserMutation, I tried
export const useActionLoginUserMutation = () => {
  return useMutation((id: User['id']) => actionLoginUser(id), {
    onSuccess() {
      const queryClient = useQueryClient()
      queryClient.refetchQueries('users')
    },
  })
}

but I get an error Error: vue-query hooks can only be used inside setup() function.

Could you try moving useQueryClient to the top of the function?
export const useActionLoginUserMutation = () => {
  const queryClient = useQueryClient()
  return useMutation((id: User['id']) => actionLoginUser(id), {
    onSuccess() {
      queryClient.refetchQueries('users')
    },
  })
}

That worked, thanks @DamianOsipiuk


FDI/EHI latest changes

Wouldn't hurt to merge this IMO as main is quite out of date.

Not right now, as I clearly stated.


Optimise build time by reuse built dependencies frameworks

I noticed that build_framework.rb is very slow, it calls xcodebuild for all the frameworks that we need to build. But we can optimize, eg. we have framework A, B, C, and the dependencies are A -> B -> C.
(the arrow means depends on).
When we build A => B, C will be built also. And when we build B, we can check if B.framework already exist to skip building it. That simple optimization can make the build process faster.

I noticed that build_framework.rb is very slow, it calls xcodebuild for all the frameworks that we need to build. But we can optimize, eg. we have framework A, B, C, and the dependencies are A -> B -> C.
(the arrow means depends on).
When we build A => B, C will be built also. And when we build B, we can check if B.framework already exist to skip building it. That simple optimization can make the build process faster.

I have the same problem .


Inconsistency between audio and video recordings

Description
To copy recorded data to audio and video html elements, one needs to take different steps. In case of video, you can create a blob from recordedData.video with
var blob = URL.createObjectURL(recorder.recordedData.video); but there is no such thing for audio.
Instead, you can create a binary blob from it, which seems to work at least for chrome.
    var binaryData = [];
    binaryData.push(recorder.recordedData);
    blob = window.URL.createObjectURL(new Blob(binaryData))

What is the recommended way to copy audio data?
Steps to reproduce
I put up an example here:
https://curious-electric.com/_temp/audio-video/
Additional Information
Please include any additional information necessary here. Including the following:
versions
videojs
VIDEOJS: Using video.js 7.0.3 with videojs-record 2.3.1 + videojs-wavesurfer 2.5.0 and recordrtc 5.4.6
browsers
Chrome 66 (doesn't work on Firefox btw)
OSes
MacOS 10.12.6

Chrome 66 (doesn't work on Firefox btw

What doesn't work?

In the upper audio side, it seems to be recording, but the waveform is a flat line. Playing yields silence.
Basically the same with the video part, except that the console shows
VIDEOJS: ERROR:
TypeError: right-hand side of 'in' should be an object, got undefined
Stack trace:
shimCreateObjectURL/URL.createObjectURL@https://curious-electric.com/_temp/audio- video/adapter-latest.js:3911:1

@dirkk0 the contents of recordedData varies between chrome and firefox. See https://github.com/collab-project/videojs-record/blob/master/src/js/engine/record-rtc.js#L137
Any suggestions how to improve this? Probably upstream in recordrtc?

Since this is a record-rtc issue - yes.

the contents of recordedData varies between chrome and firefox.

At least it used to be like that. I double-checked and Chrome also produces a single blob now containing both audio and video, so there are no differences between chrome and firefox in recordrtc anymore.
So I'll change this in v3.0.0: player.recordedData will always be the blob with data in both browsers when recording audio + video, not player.recordedData.video in Chrome only anymore.

In the upper audio side, it seems to be recording, but the waveform is a flat line. Playing yields silence.

@dirkk0 I cannot reproduce this. Possibly a mic issue?

but there is no such thing for audio.

There's also no inconsistency between player.recordedData in audio-only and player.recordedData.video: as in they're both Blobs?

No feedback, closing.


Selecting event doesn't work with react-modal

Do you want to request a feature or report a bug?
Bug
What's the current behavior?

When calendar is used in a popup, and onSelectEvent updates the state of the popup, the event is deselected right after the click:
https://codesandbox.io/s/q9k66269mj
What's the expected behavior?

The event should stay selected and have the .rbc-selected class

I used the modal from ReactStrap


Fix refs

Fix references to ECOD and Deep Isolation Forest for Anomaly Detection articles in docs. Add missing reference to Filtering Approaches for Dealing with Noise in Anomaly Detection article.
All Submissions Basics:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked all Issues to tie the PR to a specific one?

All Submissions Cores:

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
[ ] Does your submission pass tests, including CircleCI, Travis CI, and AppVeyor?
[ ] Does your submission have appropriate code coverage? The cutoff threshold is 95% by Coversall.

New Model Submissions:

[ ] Have you created a .py in ~/pyod/models/?
[ ] Have you created a _example.py in ~/examples/?
[ ] Have you created a test_.py in ~/pyod/test/?
[ ] Have you lint your code locally prior to submission?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.361%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
10360

Relevant Lines:
10864

💛  - Coveralls


take-until and other coll fns

Here are some functions that I thought might belong in utilis.
The important one is take-until.  It takes from a collection up to and including the first item for which the predicate returns true.
partition-all-reverse is not an ideal implementation (not lazy, no transducer), so if preferred, I'm content to leave it out for now.  Instead of the trailing partitions being of smaller size, this version puts the smaller partitions at the front.  Another partition-all style that I've used in the past is partition-all-symmetric which has both leading and trailing partitions of smaller sizes.
The others are added for discussion: llast, second-last, and drop-take.

Cool.  When you split them up like that @ct7t , I see that I use drop-take and partition-all-reverse in time series situations, so I may eventually find a home for them in another library.

Which implementation of second-last is better?
Current:
(defn second-last
  "Returns the second last item in the collection."
  [coll]
  (last (butlast coll)))

Alternate:
(defn second-last
  "Returns the second last item in the collection."
  [coll]
  (if (next (next coll))
    (recur (next coll))
    (first coll)))

I'm pretty sure the alternate is the better implementation.  Thoughts?

Which implementation of second-last is better?
Current:
(defn second-last
  "Returns the second last item in the collection."
  [coll]
  (last (butlast coll)))

Alternate:
(defn second-last
  "Returns the second last item in the collection."
  [coll]
  (if (next (next coll))
    (recur (next coll))
    (first coll)))

I'm pretty sure the alternate is the better implementation. Thoughts?

The first one reads a bit easier, but presumably the alternate's implementation might have some performance or memory gains? If there's performance gains for the second it would be worth doing.

The approach is going to depend on the type of collection. If it's a vector you're better off just looking up the item by index. For anything else, the second option is likely faster and will take less memory.

Since we're in benchmarking mode, might also be worth testing (second (reverse coll))

Also (first (take-last 2)), which will be more memory efficient than butlast, but might not be any faster.

Is this sufficient for benchmarking? (bench (second-last-1-butlast (range 10000000)))  It's realizing the collection every time.  Should I try a different collection size or a different collection type?
Results
second-last-1-butlast: 1.551179 sec
second-last-2-next: 658.449352 ms
second-last-3-nth: 338.720296 ms
second-last-4-reverse: 225.960119 ms
second-last-5-take-last: 442.353522 ms
Implementations
(defn second-last-1-butlast
  [coll]
  (last (butlast coll)))

(defn second-last-2-next
  "Returns the second last item in the collection."
  [coll]
  (if (next (next coll))
    (recur (next coll))
    (first coll)))

(defn second-last-3-nth
  [coll]
  (let [n (count coll)]
    (nth coll (- n 2))))

(defn second-last-4-reverse
  [coll]
  (second (reverse coll)))

(defn second-last-5-take-last
  [coll]
  (first (take-last 2 coll)))

Benchmark Outputs
involo.flight-planner> (time (bench (second-last-1-butlast (range 10000000))))
Evaluation count : 60 in 60 samples of 1 calls.
             Execution time mean : 1.551179 sec
    Execution time std-deviation : 170.007480 ms
   Execution time lower quantile : 1.466604 sec ( 2.5%)
   Execution time upper quantile : 1.901676 sec (97.5%)
                   Overhead used : 12.434079 ns

Found 7 outliers in 60 samples (11.6667 %)
	low-severe	 3 (5.0000 %)
	low-mild	 4 (6.6667 %)
 Variance from outliers : 73.7805 % Variance is severely inflated by outliers
"Elapsed time:<PHONE_NUMBER>02 msecs"
nil
involo.flight-planner> (time (bench (second-last-2-next (range 10000000))))
Evaluation count : 120 in 60 samples of 2 calls.
             Execution time mean : 658.449352 ms
    Execution time std-deviation : 34.728713 ms
   Execution time lower quantile : 624.779561 ms ( 2.5%)
   Execution time upper quantile : 740.249972 ms (97.5%)
                   Overhead used : 12.434079 ns

Found 3 outliers in 60 samples (5.0000 %)
	low-severe	 3 (5.0000 %)
 Variance from outliers : 38.5022 % Variance is moderately inflated by outliers
"Elapsed time: 93364.844715 msecs"
nil
involo.flight-planner> (time (bench (second-last-3-nth (range 10000000))))
Evaluation count : 180 in 60 samples of 3 calls.
             Execution time mean : 338.720296 ms
    Execution time std-deviation : 12.398976 ms
   Execution time lower quantile : 326.925598 ms ( 2.5%)
   Execution time upper quantile : 374.548813 ms (97.5%)
                   Overhead used : 12.434079 ns

Found 7 outliers in 60 samples (11.6667 %)
	low-severe	 2 (3.3333 %)
	low-mild	 5 (8.3333 %)
 Variance from outliers : 23.7853 % Variance is moderately inflated by outliers
"Elapsed time: 75572.355594 msecs"
nil
involo.flight-planner> (time (bench (second-last-4-reverse (range 10000000))))
Evaluation count : 240 in 60 samples of 4 calls.
             Execution time mean : 225.960119 ms
    Execution time std-deviation : 65.617282 ms
   Execution time lower quantile : 183.009977 ms ( 2.5%)
   Execution time upper quantile : 394.872279 ms (97.5%)
                   Overhead used : 12.434079 ns

Found 9 outliers in 60 samples (15.0000 %)
	low-severe	 4 (6.6667 %)
	low-mild	 5 (8.3333 %)
 Variance from outliers : 96.3781 % Variance is severely inflated by outliers
"Elapsed time: 68904.777021 msecs"
nil
involo.flight-planner> (time (bench (second-last-5-take-last (range 10000000))))
Evaluation count : 180 in 60 samples of 3 calls.
             Execution time mean : 442.353522 ms
    Execution time std-deviation : 11.077302 ms
   Execution time lower quantile : 430.910597 ms ( 2.5%)
   Execution time upper quantile : 473.351250 ms (97.5%)
                   Overhead used : 12.434079 ns

Found 7 outliers in 60 samples (11.6667 %)
	low-severe	 4 (6.6667 %)
	low-mild	 3 (5.0000 %)
 Variance from outliers : 12.5951 % Variance is moderately inflated by outliers
"Elapsed time: 94815.307187 msecs"

I am suspicious of (reverse (range 1000)).  Why would this implementation of last be faster than clojure.core?
(defn last-2-reverse
  [coll]
  (first (reverse coll)))

involo.flight-planner> (time (bench (last (range 10000000))))
Evaluation count : 180 in 60 samples of 3 calls.
             Execution time mean : 442.498734 ms
    Execution time std-deviation : 8.339583 ms
   Execution time lower quantile : 431.192582 ms ( 2.5%)
   Execution time upper quantile : 463.476358 ms (97.5%)
                   Overhead used : 12.434079 ns

Found 4 outliers in 60 samples (6.6667 %)
	low-severe	 3 (5.0000 %)
	low-mild	 1 (1.6667 %)
 Variance from outliers : 7.8242 % Variance is slightly inflated by outliers
"Elapsed time: 94967.196263 msecs"
nil
involo.flight-planner> (time (bench (last-2-reverse (range 10000000))))
Evaluation count : 240 in 60 samples of 4 calls.
             Execution time mean : 245.468453 ms
    Execution time std-deviation : 89.426248 ms
   Execution time lower quantile : 181.743593 ms ( 2.5%)
   Execution time upper quantile : 452.136372 ms (97.5%)
                   Overhead used : 12.434079 ns
"Elapsed time: 73820.079637 msecs"

Maybe it's the transients that give reverse a boost over last... Using (into (list) coll), which reverses the collection, is comparable to reverse.
(defn last-3-into
  [coll]
  (first (into (list) coll)))

involo.flight-planner> (time (bench (last-3-into (range 10000000))))
Evaluation count : 360 in 60 samples of 6 calls.
             Execution time mean : 251.121655 ms
    Execution time std-deviation : 59.595179 ms
   Execution time lower quantile : 196.882164 ms ( 2.5%)
   Execution time upper quantile : 376.792461 ms (97.5%)
                   Overhead used : 12.434079 ns
"Elapsed time:<PHONE_NUMBER>65 msecs"

Maybe it's the transients that give reverse a boost over last... Using (into (list) coll), which reverses the collection, is comparable to reverse.
(defn last-3-into
  [coll]
  (first (into (list) coll)))

> (time (bench (last-3-into (range 10000000))))
Evaluation count : 360 in 60 samples of 6 calls.
             Execution time mean : 251.121655 ms
    Execution time std-deviation : 59.595179 ms
   Execution time lower quantile : 196.882164 ms ( 2.5%)
   Execution time upper quantile : 376.792461 ms (97.5%)
                   Overhead used : 12.434079 ns
"Elapsed time:<PHONE_NUMBER>65 msecs"

Here are the results with a realized input.  This lowers the benchmark by about 200ms in most cases, except for second-reverse, which had its benchmark increase!  I re-ran the second-reverse benchmark 2 more times and got 280ms and 300ms, right around 290ms.
Results
second-last-1-butlast: 1.349807 sec (~200ms lower)
second-last-2-next: 452.628143 ms (~200ms lower)
second-last-3-nth: 137.963497 ms (~200ms lower)
second-last-4-reverse: 293.380874 ms (~70ms higher)
second-last-5-take-last: 260.454497 ms (~180ms lower)
Benchmark Outputs
> (def data (doall (range 10000000)))
data
> (time (bench (second-last-1-butlast data)))
Evaluation count : 60 in 60 samples of 1 calls.
             Execution time mean : 1.349807 sec
    Execution time std-deviation : 139.225976 ms
   Execution time lower quantile : 1.248574 sec ( 2.5%)
   Execution time upper quantile : 1.582838 sec (97.5%)
                   Overhead used : 12.434079 ns

Found 7 outliers in 60 samples (11.6667 %)
	low-severe	 4 (6.6667 %)
	low-mild	 3 (5.0000 %)
 Variance from outliers : 70.4095 % Variance is severely inflated by outliers
"Elapsed time:<PHONE_NUMBER>96 msecs"
nil
> (time (bench (second-last-2-next data)))
Evaluation count : 120 in 60 samples of 2 calls.
             Execution time mean : 452.628143 ms
    Execution time std-deviation : 20.758140 ms
   Execution time lower quantile : 434.125466 ms ( 2.5%)
   Execution time upper quantile : 500.800406 ms (97.5%)
                   Overhead used : 12.434079 ns

Found 10 outliers in 60 samples (16.6667 %)
	low-severe	 9 (15.0000 %)
	low-mild	 1 (1.6667 %)
 Variance from outliers : 31.9576 % Variance is moderately inflated by outliers
"Elapsed time: 73653.498634 msecs"
nil
> (time (bench (second-last-3-nth data)))
Evaluation count : 480 in 60 samples of 8 calls.
             Execution time mean : 137.963497 ms
    Execution time std-deviation : 1.558515 ms
   Execution time lower quantile : 136.700902 ms ( 2.5%)
   Execution time upper quantile : 141.333049 ms (97.5%)
                   Overhead used : 12.434079 ns

Found 6 outliers in 60 samples (10.0000 %)
	low-severe	 4 (6.6667 %)
	low-mild	 2 (3.3333 %)
 Variance from outliers : 1.6389 % Variance is slightly inflated by outliers
"Elapsed time: 86820.559397 msecs"
nil
> (time (bench (second-last-4-reverse data)))
Evaluation count : 300 in 60 samples of 5 calls.
             Execution time mean : 293.380874 ms
    Execution time std-deviation : 62.728895 ms
   Execution time lower quantile : 242.417644 ms ( 2.5%)
   Execution time upper quantile : 439.430683 ms (97.5%)
                   Overhead used : 12.434079 ns
"Elapsed time:<PHONE_NUMBER>88 msecs"
nil
> (time (bench (second-last-5-take-last data)))
Evaluation count : 240 in 60 samples of 4 calls.
             Execution time mean : 260.454497 ms
    Execution time std-deviation : 5.751837 ms
   Execution time lower quantile : 255.703043 ms ( 2.5%)
   Execution time upper quantile : 274.812623 ms (97.5%)
                   Overhead used : 12.434079 ns

Found 6 outliers in 60 samples (10.0000 %)
	low-severe	 2 (3.3333 %)
	low-mild	 4 (6.6667 %)
 Variance from outliers : 9.4660 % Variance is slightly inflated by outliers
"Elapsed time: 81933.489218 msecs"

If we adapt this implementation to last (instead of second-last or nth-last), and compare it to clojure.core/last:
(defn last-2-nth
  [coll]
  (let [v (if (vector? coll) coll (vec coll))
        n (count v)]
    (nth v (- n 1))))

On data-rnd-nested:
last: 890ms
last-2-nth: 670ms

On data-rnd-vec-nested (notice ms vs ns):
last: 420ms
last-2-nth: 107ns


Scope listeners and resources to qwik containers

Qwik Version  - 0.9.0
Operating System (or Browser) - macOS Monterey (Chrome v.105)
Which component is affected?
Qwik Runtime
Issue
Since Qwik can be used to implement single views/fragments inside pages (and that can be implemented by generating containers via the containerTagName option in the rendering functions) I think containers implemented using qwik should have their listeners and resources scoped to the container itself and that should not leak out of it (as it currently seems to happen).
This happens with the qwikLoader event listeners and I also saw that styles get moved to the document's head upon interaction, I am not sure, there may be other things that are getting applied on the outside of the container as well.

Another relevant aspect I noticed regarding this lack of scoping is that I cannot place qwik containers inside shadowDoms, since when I attempt that the events listeners get added to the global document and don't effect what's in the shadowDoms.

What ideally should happen is that qwik encapsulates as much as possible under the container's root its own logic without interacting with the global document. That should also allow containers inside shadowDoms to work correctly since from within shadowRoots the dom apis should be the same as the light dom ones.
Additional Information

I think this is sort of a bug, but it could be considered a feature request I'd imagine.

I also mentioned this as one of the alternatives considered for issue #1531 , I created this new issue since this lack of isolation for containers seems in and of itself an issue to solve.

The styles do need to move somewhere though. Perhaps as a sibling to the container if the container isn't html or body?
As for the listeners, that can be done too. When the loader gets an event type pushed to it, it could attach the handler to only that container.
As for the Task eagerness settings load and idle, I believe they are currently not firing when a container is added after the document loads, so that needs fixing and per-container handling anyway.


image loading exception in a template... just see here and help me please!

Vue.js version
1.0.26
What is actually happening?
Just see here

Not related to vue... just visit w3schools and learn css please!

First, it's not an issue of vue...
Second, there is an inline-style height:200px on .bg-green under #block-b.

So I see, thank you anyway! @JounQin


Added homebridge configuration settings

Created a configuration settings file based on https://developers.homebridge.io/#/config-schema.
In addition I made one change to the readme file.
Please consider these changes to make it easier for others to create configurations in the future.
If you have any questions or if I need to test or validate these changes in a different way, please let me know.

@grover , is this project being maintained any more?
It is fine if it isn’t. I just wanted to know whether you were still accepting pull requests as I was planning on doing some additional development, but can stop submitting pull requests if you are no longer accepting them.
Thanks for having a great plugin, I have really enjoyed using it.


[cmd] Redirect output to stderr if the output format is not table

Closes #1453

Redirect logger's output to the stderr if the given output format  is not table, so the output of the commands will not be an invalid json, csv, etc. because of the log messages.

@csordasmarton  the system logger is used not just at the command line client, do we want to change the default system logger to log everything to stderr?

@gyorb I refactored this commit.
Now we redirect the output of the logger to the stderr if the given output type is not table.

Please check travis, otherwise LGTM

The tests passed after triggering travis again.


Add a SystemSet for animations

This allows controlling when animations are run, including pausing them completely.
The use case is for example pausing animations when the game is paused:
app.configure_sets(
    Update,
    AnimationPlayer2DSystemSet,
        .run_if(not(in_state(IsPaused::Paused))),
);

Initially I thought about defining a Resource for this, but I think I like your approach better.
Would you be willing to write an example for this?

Sure, I've added an example

Thanks a lot for contributing.


Issue Creating New Barcode Items

Inventory > Barcode Items

I have created a barcode for a Size 6 item.  I saved it as qty: 64.  When I navigate to the Barcode Items page, there are no barcodes listed.  In the Filter pull-down, there is a line for ‘Size 6’ now.  I click that, and click filter, and nothing shows up.

I have created a barcode for a Size 5 item.  I saved it as qty: 66.  When I navigate to the Barcode Items page, there are no barcodes listed.  In the Filter pull-down, there is a line for ‘Size 5’ now.  I click that, and click filter, and nothing shows up.

I created a ‘Misc. Donation’ new donation, and tried to utilize both barcodes.  The Size 5 item, when scanned, displays as Qty: 66 bedpads (disposable).  The Size 6 item, when scanned, displays the SKU number, but when saved, displays nothing.

When I navigate to ‘Inventory’ > ‘Items’ it indicates there is qty:1 barcode for Size 5 and qty:1 barcode for Size 6.  When I view each item, the quantity associated with the barcode is correct.  Why would this be displaying incorrectly when scanning the barcode is utilized on a new donation?

Is it also possible to have several different SKU codes for each size?

Should my system show global SKU’s already loaded from other diaper banks?

Thanks!!

I see this issue was closed, but the 'barcode items' page is still not displaying all barcodes.  I tried filtering by each size and they still are not displaying.

Do I need to delete them, and re-do them?
Thanks!

Do I need to delete them, and re-do  them?
Yes, they were created not correctly

I am trying to delete the barcode and cannot figure it out.  There is no delete button next to the barcode, or once I click on the barcode.

It appears at this time the only option is to delete the 'Kids (size 5)' entire category and re-create it.  Should I be able to delete the barcode somehow?  I cannot get it to even show up on the 'barcode items' page.


Fix parameter names

Minor misspells on the parameter names

@andreasbotsikas : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Reference page for the parameter https://docs.microsoft.com/en-us/python/api/azureml-train-automl-client/azureml.train.automl.automlconfig.automlconfig?view=azure-ml-py

@andreasbotsikas thanks for catching this!
@ktoliver as the content partner for this documentation I've reviewed this edit for accuracy and provide my approval for merge.
#sign-off


Make cast functions safe to use

As it stands it's basically a safe transmute. Add a bound so that you can only transmute to known header formats.

This feels unnecessary? This is an internal function that's only called in a few places. If we really care why not just make it unsafe and put unsafe at the callsites?

https://github.com/alexcrichton/tar-rs/pull/93


[FEATURE] Support for Thanos >= v0.13.0

In Thanos version v0.13.0 invocation for thanos bucket web has been changed https://github.com/thanos-io/thanos/pull/2513.
Valid execution should be thanos tools bucket web.
We have at least two options to fix it in Puppet:

Add tools in https://github.com/syberalexis/puppet-thanos/blob/master/manifests/bucket_web.pp#L71
Refactor all files and invocations to keep naming convention, for example manifests/bucket_web.pp should be manifests/bucket_tools_web.pp...

I have already start to support Thanos version 0.14.0.
I will do some changes to support version 0.15.0 and test it before pull it ;)

Fixed and deployed in version 1.1.0


merge traffic splitting/shifting docs

fixes #379
cc @junr03

Looks great, thanks for merging these together.


Fix compatibility with newer React Native versions

We recently updated our app from React Native version 0.60.4 to 0.62.2, and noticed that react-native-spacer is throwing an error. The reason for this is that the library is using a private property _component, which no longer seems to be available.
When looking into why the error is thrown, I noticed that  react-native-safe-area-view library was previosly using the same private property, but has since then updated the code to use an alternative way to get the component.
I also fixed a warning that that React Native 0.62 is giving, which is that the useNativeDriver property needs to be explicitly set when animating with the Animated api. I set the value to false (default) since using true can in some cases be buggy.
I have tested the changes with React Native 0.60.4 and 0.62.2
@hieunc229
Changes:

Fix error thrown in newer React Native versions because of the usage of private _component
Explicitly set useNativeDriver to false (warning in newer React Native versions)

The fix for the measureInWindow comes from react-native-safe-area-view repo:

https://github.com/react-navigation/react-native-safe-area-view/pull/71
https://github.com/react-navigation/react-native-safe-area-view/issues/111
https://github.com/react-navigation/react-native-safe-area-view/commit/6661373a8e832c2af6db42ab08cc4dc319624bfe

Hey @kristerkari, I've pushed to the new version that reflexes changes!
Thanks for your update :)


Support saving value from XML response

Excellent plugin. I'd like the ability to save a variable taken from an XML response using XPath notation.

Thanks for the comment. I agree, that's a natural next step for this plugin. I'm not sure when I'll get to it but I'll keep this issue open until the feature is added.

This has been added in the latest version, 3.3.0


support  contains for Traversable

Fixes #261
Problem
Currently contains only support Set
Solution
Support for all Traversable sub classes
Notes
Array is not supported yet. Because it was not a Traversable but was implicitly convert to ArrayOps, which makes parsing very ugly.
Checklist

[x] Unit test all changes
[x] Update README.md if applicable
[x] Add [WIP] to the pull request title if it's work in progress
[x] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

@fwbrasil @getquill/maintainers I've update according to your advices. Could you have a review ?

@jilen thanks for the changes, apart from the blockParser, LGTM. :+1:

@fwbrasil blockParser is fixed now

:+1:

nice work @jilen :+1:

:+1:


Add ability to start the agent without waiting for it to be ready

Currently it takes over 50 seconds for this action to be ready. Most of this time is spent waiting for the datadog agent to be ready.
It will be very useful if we can start the agent without waiting, then do some other work (like restoring cache for instance) and then check and wait for it to be ready.
This can be exposed by adding two additional inputs to the action:

skip_wait - skip the wait for the agent to be ready
skip_start - don't start the agent - this will be useful to run the action with just wait for an agent that was started before already.

+1 to the solution proposed. Right now the start of the agent is blocking and adds 60s to all builds, which isn't ideal for something meant to help make CI pipelines faster.

Like @pcothenet said, it's far from ideal to increase ~60s our pipelines and also increase the related GH actions costs just to monitor them.
Are you planning to improve this? Do you have any setup proposals to make this faster?

Hi! Thanks for the proposal: I think it makes sense and should be something we do. In the meantime, it's possible to report tests to CI Visibility via what we call "agentless mode", that is, not using an agent: https://docs.datadoghq.com/continuous_integration/tests/javascript/?tab=cloudciprovideragentless
Let me know if you're able to test this mode and if it works for you 😄

@juan-fernandez Is the agentless mode available for Ruby? I see it mentioned only in the JS docs.

@juan-fernandez Is the agentless mode available for Ruby? I see it mentioned only in the JS docs.

sadly not yet. It's only available in .NET, Java, Swift and Javascript.

hey @dsantosmerino, agentless mode is now supported in Ruby: https://docs.datadoghq.com/tests/setup/ruby/?tab=cloudciprovideragentless. This is the way we're recommending github actions users to use.
We're deprecating this action


[9.x] BelongsToMany with custom pivot model: load key column if model is incrementing

With a custom pivot model that has $incrementing = true, the key column should be selected by default instead of having to do a manual ->withPivot('id'). I described it more in #45593 with an example repository linked.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


reimplement xlm-r

Great Work!
How to reimplement xlm-r's results based on your scripts. I run the scripts for training xquad and tydiqa, but the results are very low" em:0.0. It is very strange : the training epoch for tydiqa is 30.

Could you have a check again? I corrected typos in the script. I just confirmed that the exact match score is ~82-83% after 1 epoch training. You can also delete some process data cache in case your last data processing is broken.

Thanks for your advice, I find it's caused by the lr. In fact, lr should be the 3e-5.
But now I have another concern about the experimental results of udpos. Could you provide the whole data for udpos, I cannot get the test set of udpos from Xtreme.

The udpos data is added. Please remember to cite the original dataset paper if you use it. Thanks!
@article{nivre2018universal,
title={Universal Dependencies 2.2},
author={Nivre, Joakim and Abrams, Mitchell and Agi{'c}, {\v{Z}}eljko and Ahrenberg, Lars and Antonsen, Lene and Aranzabe, Maria Jesus and Arutie, Gashaw and Asahara, Masayuki and Ateyah, Luma and Attia, Mohammed and others},
year={2018}
}

Of course, thanks for your response!


Remove generated files from source control

I think generated files should not be part of git. Instead, we should have something like npm run generate-stuff which generates all the required files.

scripts/nitpick/generated-code.js probably tells us what code is generated:
if (!mode || mode == 'sources') {
  checkGeneratedFiles('Source list', ['scripts/generate-file-lists.js']);
}
if (!mode || mode == 'shader') {
  checkGeneratedFiles('shader', ['scripts/generate-shaders.js']);
}
if (!mode || mode == 'style') {
  checkGeneratedFiles('style', ['scripts/generate-style-code.js']);
}
if (!mode || mode == 'android') {
  checkGeneratedFiles('Android', ['platform/android/scripts/generate-style-code.js']);
}
if ((!mode || mode == 'darwin') && os.platform() == 'darwin') {
  checkGeneratedFiles('Darwin', ['platform/darwin/scripts/generate-style-code.js', 'platform/darwin/scripts/update-examples.js']);
}

If we remove generated files from source control, we can also get rid of this nitpicking.

@wipfli I am in favor of deleting generated files but only if they are generated automatically as part of a build step, and if it is not something that you have to run manually yourself.

For reference:

For now I'm going to go with running the generator manually when you make a change. I looked at including it as part of the build step but outputting to the src directory (which I want to do) didn't fit in cleanly with our use of gyp.

https://github.com/mapbox/mapbox-gl-native/pull/4839#issuecomment-215546791

@wipfli The build system we use should be responsible for generating these files. It should also keep track of when dependencies change and automatically regenerate.

I think it's okay to have the generated files in the source, but the version in the repository should always match the generated files exactly. Right now pre-commit.ci auto-reindents the files (diff: https://github.com/maplibre/maplibre-native/pull/1201/commits/d487434f919adee70b62713c4cfbabf518662593), so when make style-code is called locally afterwards, it undoes these changes again. Instead the CI should ensure that running make style-code leads to no changes.

@fynngodau That is annoying. I'll make sure those files are not included.


fix In the latest version of django can't call filebrowser.

Hi, iElectric
This is awesome！It works in Chrome and FF, but not in IE 8.
When I click the 'Insert Image' button in TinyMCE, it opens a window pointing to:
http://localhost:8000/static/tiny_mce/themes/advanced/image.htm
, which is correct. Then, click the 'Browse file' button, it opens another window pointing to:
http://localhost:8000/static/tiny_mce/themes/advanced/image.htm?pop=2&type=image

Unfortunately I dont' have IE8 at my hands now, can someone else test and debug?

Please merge this is working fine

Its not working at IE8, but seems more a tinymce problem

this breaks support for previous versions, needs better code with support for previous versions

Why not just drop version that is more than year old? People can use old django-tinymce with old filebrowser release if needed.

i'm actually pretty sure that both versions will work but don't currently have time.
i'm planning to release 1.5.1 final this month and then update minimum requirements so i'll drop it in next version if it's not possible to have both versions.


Some User Guide "Edit this page" links result in 404

Some User Guide "Edit this page" links result in 404, e.g., the links on:
https://docs.gradle.org/current/userguide/feature_variants.html
https://docs.gradle.org/current/userguide/dependency_locking.html

@gradle/dependency-management Seems like your team adjusted the doc structure at some point, can you please take care of this?

Thanks again for bringing this to our attention @rgoldberg.
Once the next nightly is deployed, this should be fixed in the nightly docs.
Once 6.0 is released, current will be 6.0 and will be fixed then.
We won't fix this in retrospect for (the few) broken links in 5.x versions.

Actually, this is not really solved for old docs and also not always for current docs.
The problem is that we always link to the doc sources on master. So once a file is moved or renamed, the old links do not work anymore. This problem always existed. It just got more visible now with the large update of the dependency management docs.
For old docs, I would say we could just remove the button, or always link it to the src/docs/userguide folder. But this can also affect current if files are moved on master. Which would give users a 404 for such pages. Which is exactly what the original report is about.
I think the best solution is to dynamically check if the file exists and only link to it if it does, and otherwise default to the src/docs/userguide folder. We should do that only when the button is clicked (and not as we do now on page load) to avoid unnecessary requests to GH.

Because this is about easy contributions, we could create a dedicated branch for this, which would be overwritten when a new version is released. Of course it may cause some edits to be out of date because the fix happened already on master, but overall it removes the 404 for users which is the worst I think.
And we are not flooded by docs PR, so manually moving them to master and solving conflicts should not be such a chore.
Let's say I am a user finding an issue in docs and I land on the generic userguide folder, chances are pretty high I will not take the time to find back the page that has the content I am trying to fix.

That's also an option. But you are only talking about current right? Or would you do that for all versions of the docs. Because then we would have a lot of branches to keep open (one for each release and each RC/milestone if we want to be complete).
What is a bit problematic, if we have different handling for different versions of the doc, is that we also need to think about RC docs. So for the ongoing release, it would be nice to also have the button in the RC docs. But then we need to have that knowledge when deciding how to handle the button.
So I think if we do it that way, it would really be the easiest to have a branch for every existing release. Or make a cut somewhere (e.g. for every 5+ release and remove the button for older ones).
But we would have to automate creating the branches etc. :)
I feel like this solution, however we concretely implement it, would be quite some effort.

Right, my bad, I forgot to indicate I would apply this only to current and the matching release if practical.
I do not think RC should be much of a concern, as I tend to link RC testers with more experienced users, which may be more willing to go one step further in opening a PR.

Current/older version is not the only issue, some documentation page cannot be edited on master:
As of now the dit button of this page :

https://docs.gradle.org/current/userguide/build_cache.html

redirects here :

https://github.com/gradle/gradle/edit/master/subprojects/docs/src/docs/userguide/build_cache.adoc

while the actual document lives in another sub directory, hence the link should be instead :

https://github.com/gradle/gradle/edit/master/subprojects/docs/src/docs/userguide/running-builds/build_cache.adoc

The issue seems to be related to the header.html file :
https://github.com/gradle/gradle/blob/5b5bc67e23dca833924dc70ea5d2033b8baf1e03/subprojects/docs/src/main/resources/header.html#L304
However I'm not quite sure how the real link is generated.

This is now fixed in the documentation site generation:

We now generate an index of all documentation that is in the latest nightly
Only if a file is in the nighty (which is pretty close to current master) we link to it, otherwise, we just go to the userguide folder.

The change was tested with building_java_projects.html which was just moved (https://github.com/gradle/gradle/commit/5b8645e24669cd1435fa44b1f3dd6833f8e46219#diff-a807034fec47fe35e8a998bcc2b288d7). Currently the change is not in the nightly (one of the rare cases where nightly and master are our of sync).
So this (6.0 RC1) now still give 404, but tomorrow it will link to the folder
https://docs.gradle.org/6.0-rc-1/userguide/building_java_projects.html
This (latest 6.0 nightly) links to the folder now, but tomorrow will link to the new source location:
https://docs.gradle.org/release-nightly/userguide/building_java_projects.html


Stuck during connection to Pixhawk due to critical:autopilot: pream checks.

Hello I am new to dronekit and am attempting to connect a pixhawk orange cube with Arduplane V4.3.1 Firmware with Jetson Nano. When running connection script with "connect('dev/ttyTHS1", baud=57600, wait_ready=true)", my terminal returns:
"CRITICAL:autopilot:PreArm: AHRS: EKF3 Yaw inconsistent by 77 deg
CRITICAL:autopilot:PreArm: GPS 1: Bad fix
CRITICAL:autopilot:PreArm: Radio failsafe on"
The script then does not execute any other commands. TIA

Youve connected successfully but the vehicle has a bad fix. That means it can probably output some telemetry but it won't let you take off or anything. You'd get the same warnings from connecting to Mission Planner.
Probably your vehicle needs the compass calibrated. Connect to MIssion planner, see if you can get it properly calibrated, then it could well just work with Dronekit

Thank you for the reply. I did fix all of the prearm checks. However I am still unable to connect. I ran a px4 under the same conditions and was able to connect. So there is an issue with the orange cube

That is possible. Unfortunately I can't help other than the high level "what does the debug indicate".


new gifs for readme

If you need anything adjusted let me know.

Thanks @crswll - in fact I have quite a few more changes to the Vuex tab lined up, so we will need to make new gifs after the new release is settled, hope you don't mind!

I don't mind at all. Just let me know whenever.

You might be able to squeeze 50k or so out of the GIFs if you use ImageOptim or the like.  Since I use Windows, FileOptimizer works for all file formats...
Got to save bandwidth for those cat videos!

Okay, changes are done. Note that the Vuex tab behavior has changed: now when you click on a mutation, it only inspects its state but not instantly time-travels to it. You will need to explicitly click the time travel button to do that.

Awesome. I'll try to knock it out at lunch. I take a look real quick and I get an error when I try to switch to the Vuex tab.

Also the test is failing (imagine that's related).

Do a fresh npm install - this was an issue fixed in latest vue-template-es2015-compiler.

new gifs are now in there

Thanks! 👍

For some reason GitHub seems to be caching the images...

I'm seeing the new ones at https://github.com/vuejs/vue-devtools


Install VC Redistributables

Summary of the Pull Request
Add PS function to install VC Redistributables
PR Checklist

[X] Applies to work item: 556
[X] CLA signed. If not, go over here and sign the CLI.
[X] Tests added/passed
[X] Requires documentation to be updated
[X] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
Added another PS function invoked from the setup.ps script
Validation Steps Performed
Tested the change and verified by Jordyn Puryear

Running integration tests.


Add send enhanced location failure worker

I've added a SendEnhancedLocationFailureWorker

Closing this refactoring PR as we've discussed that we will create a single refactoring PR that will be reviewed as a whole.


T11: Provide a mechanism for the contract to determine L2 block limits (by epoch, block count, or other) per batcher

Define (and implement) how the number of L2 blocks per batcher can be limited and how it affects the main components (batch inbox contract, batcher logic and derivation pipeline).

Closing. See https://github.com/EspressoSystems/op-leader-election/pull/100#discussion_r1355726897


Support base path (gh-pages)

kit-doc doesn't currently work with Github pages, mostly because it generates some URLs without taking into account the $app/paths base option. This PR adds enough support for that to make use with Github pages possible, although you still need to handle some resolving slightly differently (see https://github.com/svelteness/kit-docs/compare/main...CaptainCodeman:kit-docs:base-example?expand=1 for changes to demo project to make it work).
I also updated all the project dependencies to the latest versions as well.

Awesome! Looks great, thank you.


panics on my machine

hi there
wanted to give Obelisk a test-spin. Downloaded the .exe and ran it:

just leeme know if you need further details.
you can find my dxdiag file here:
https://github.com/bevyengine/bevy/issues/366
:)

Hey, thanks for the report.
Its a bit hard to gather anything from the screenshot. From the other issue you linked are you saying this is the same issue? If so it seems like a bevy issue?
If its something different happy to take a look just need a bit more to go on.

Actually just tried on another machine (with integrated graphics) and it looks like it might be related to this https://github.com/bevyengine/bevy/issues/130
Will see if I can work out a fix

Hi
No the issue is not related to this one. i've just mentioned it because you can find the dxdiag file there.
Wish you good luck hunting down the bug

Should be resolved by https://github.com/will-hart/ld47/releases/tag/1.1.3
Thanks again for reporting


Seperate WebDependencies and GTFS-Read

Request
GH is build modular but if you want to use the GH-GTFS module you also have to use the GH-Web-API module.
If you want to use GH as a library, you have to deal with all these dependencies and WebStuff.
The only direct dependency that GTFS-Module has to GH_Web-API is PtRouteResource with com.graphhopper.http.webHelper.
Other than that GH-GTFS also has dependencys for Dropwizard and webjars. How much work is it to refactor this in separate modules?
Our project really just needs GH-core, GH-OSM, GH-API, GH-GTFS and the resulting GH Graph with these transit routes.  Eventually other projects also want to use the GTFS capabilities of GH in their own project without Web support or their own WebStack.
btw. Version1.0 is great

btw. Version1.0 is great

Thanks!
I sympathize with this request. Luckily, thanks to a kind supporter, most of the work was already done, so...

How much work is it to refactor this in separate modules?

..probably not much more.
Still, I can't really promise to prioritize it.

Oh, that's great news.
Thanks for the response and the work you are putting in the wohle project


.ml stubs for exercises

Some language tracks have a {{ stub }}.ml that the student can fill out.
The Ocaml track doesn't. Ideally, add stubs to all exercises.
To begin with, start with ones that use Map from Base, like the four exercises in #277.
Issue spawned from this message I wrote on Slack:

I just reviewed the new version of Nucleotide Count and asked if there were any hard points, and [the student] said that the (module Char) annotations were difficult to figure out because they're not very well-documented. That was exactly the pain point that made it hard for me to convert the exercises from Core(_kernel) to Base. A solution could be to add a template .ml file with a stub in it that throws an exception. For some exercises, e.g. ones that require a data type definition repeated from the .mli, or in case of Nucleotide Count, a line like let empty = Map.empty (module Char), that'd be really neat.

If it's too much effort, perhaps just prioritise the initial few exercises, and nucleotide count.

Another incident with a student spending way too much time (4 days) figuring out Map.empty (module Char) has pushed me to address this issue for Nucleotide Count. I'll look at the other exercises later.

  One thing I did not get from the readme is that Map is in Base when Base is opened (which I think is true, now).  I was looking at the standard library, not aware that Base replaces Map.  The standard library base documentation works ok for a while on this problem,  but after a while the differences become more than apparent.
Another odd thing is that when I googled for solutions,  the first three that I saw were apparently not doing the problem now out there -- I didn't see anything in them about the (Ok count) (Error c) (Ok map) returns, just counts and maps.
I have so far found these exercises a fine way to learn,  so I have nothing but gratitude for your work, but since I came across this effort to improve things,  I figured I should share my POV.  Thanks much!

I have postponed this for nucleotide count for too long now.
Thanks for reminding me, @LucasMembrane.


CPU/GPU Spec you've used for running main_bayesian.py

Hi, I'm studying Bayesian CNN theseday,
and I've tried to run main_bayesian.py with MacBook Pro ('16 2019 16GB Ram)
n_epochs and batch_size (the hyper-parameter you've set) are 200 and 256 each,
but I'm afraid my MacBook cannot withstand the load for training BCNN.
So, I changed the number of epochs and batches to 10 and 100, respectively.

As the above photo, Validation Accuracy exceeds 0.97 (I think it's not bad)
I'm curious about your H/W Spec when designing and testing this model you've uploaded.

Hi,
I did not benchmark the Hardware specs but you can run this on Google Colab with free GPUs there.
In general my assumption will be Bayesian CNN will take twice the computation needed for non-Bayesian methods. This is primarily due the computation of both means and variances.

Thank you for answering me :)


AENS: Design Auction UI

Add Make a Bid view
Update Name Detail view

I added 2 more designs to Zeplin. But I also need to explain how making a bid should work.


MAIN B-20452 - Office User - Edit, Submit, Approve, Delete Boat Shipment

Original PR into MAIN that had outdated branch
B-20452
NOTE: This should get merged in after this Main PR: https://github.com/transcom/mymove/pull/13618
INT PR:
https://github.com/transcom/mymove/pull/13666
https://github.com/transcom/mymove/pull/13695
REBASE INT PR: https://github.com/transcom/mymove/pull/13816
Summary
This is to make sure the edit, delete, submit, and approve (as SC/TOO) functionality for boat shipments works and also added fixes for issues found during unit testing.

Fixed the issue where the edit page for boat shipment was not displaying.
Added testharness for boat haul-away shipment needing SC and needing TOO approval.
Added playwright tests for edit, delete, submit boat shipment as SC.
Added playwright tests for edit, delete, approve boat shipment as TOO.
Fixed console warnings for props required.
Refactored code for checking shipment incomplete.
Fixed issue where you can still continue and sign move as a customer when boat or mobile home shipment is incomplete.

How to test

Use BoatHaulAwayMoveNeedsSC testharness to create a boat shipment move.
As a SC -> find the move you have created -> Click Edit shipment and edit values and Save -> Make sure the changed values saved.
Click Submit move details in Move details tab -> After confirming submit, make sure you see Move submitted message.
As a TOO -> find the move -> Click the checkbox for boat shipment in Move Details tab and click Approve selected and then Approve and send to approve the shipment.
Verify it was approved in Move details tab.

Checking incomplete issue:

As a customer -> create a move and select boat for shipment and only fill out the 1st page of the form and click continue to go to 2nd page.
From the 2nd page of the form, click Back button 2 times to go back to the main move page.
Check that the boat shipment shows incomplete and Review and submit button is disabled.

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 2d4854cf852f9735f4ddf5f8e7d3e9db184f0965


Bug: nixStatic has dependencies in /nix/store

Describe the bug
When trying to run nix-channel using the static binary in a virgin, non-nix environment, it fails trying to find nix-env in /nix/store. store = /home/user/my-store in nix.conf is ignored.
Steps To Reproduce
Steps to reproduce the behavior:

Start a virgin, non-nix environment e.g alpine or debian in a VM or docker
Download the static nix binary (or transfer it from your nix environment) (see discourse for attempts at making that easier and https://github.com/NixOS/nix/issues/9176; a feature request for easier retrieval)
Create a folder and add it to PATH
Move the nix binary into it and create symlinks to it called nix-channel and nix-env
run nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
run nix-channel --update

Expected behavior
The nixpkgs channel should be downloaded.
Screenshots
$ nix-channel --update
unpacking channels...
error: executing '/nix/store/qibdl14c7jcxna48v5h5g51qm1iw2iw9-nix-static-x86_64-unknown-linux-musl-2.17.0/bin/nix-env': No such file or directory
error: program '/nix/store/qibdl14c7jcxna48v5h5g51qm1iw2iw9-nix-static-x86_64-unknown-linux-musl-2.17.0/bin/nix-env' failed with exit code 1

Additional context
Basically was trying to do what @matthewbauer did https://matthewbauer.us/blog/static-nix.html , but with the official nixStatic. Related PR #56281 which was superseded by #70024
Notify maintainers
@eelco @lovesegfault @artturin
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here

--> this doesn't work as channels don't work

This is a nix issue, not a nixpkgs one
https://github.com/NixOS/nix/blob/e58566a057692bbfbd30a6639248adfcf81df108/src/nix-channel/nix-channel.cc#L146
Try export NIX_BIN_DIR=$(dirname $(type -p nix))
weirdly the variable is not documented anywhere nor is it mentioned in any issue
https://github.com/search?q=%2F\bNIX_BIN_DIR%2F+NOT+is%3Afork&type=code
Maybe the code could be changed to re-execute itself with a different argv0?

Please create a issue in the nix repo and I will report my comment there.

Created https://github.com/NixOS/nix/issues/9193


Vex rarity drop

Vex summoned by evokers with a certain rarity drop items with the same rarity, which makes the farming of mythical items broken.
I don't know if it's intended but I don't think so.

Cannot reproduce.  Some other mod in your instance must be cloning the Evoker's items to the Vex, which is out of my control.


Bumped release version to 0.3

Codecov Report

Merging #98 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #98   +/-   ##
=======================================
  Coverage   82.58%   82.58%
=======================================
  Files          34       34
  Lines        1947     1947
  Branches       40       40
=======================================
  Hits         1608     1608
  Misses        339      339

Continue to review full report at Codecov.

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


fixed the title to UCSB Courses Search

fixed the title

guys why my req is not accepted ?

@JOEMN96
This project is for an academic course at UCSB.   The issue is set up for enrolled UCSB students next term.
While I think you for your contribution, I'm closing this, because you are doing some student's homework for them.


Get causes java.lang.NullPointerException

I'm guessing this is not an issue with the code, but I can't figure it out - any suggestions?  It looks like the scan on hbase:meta causes the exception.
process.env.DEBUG= 'hbase*';

var hbase = require('hbase-rpc-client');

var client = hbase({
  zookeeperHosts: ['hbase.ripple.com'],
    zookeeperRoot: "/hbase",
    zookeeperReconnectTimeout: 60000,
    rootRegionZKPath: "/meta-region-server",
    rpcTimeout: 90000,
    callTimeout: 60000,
    tcpNoDelay: true,
    tcpKeepAlive: true
});

var get = new hbase.Get('last_validated');

client.get('prod_control', get, function(err, resp) {
  console.log(err.stackTrace, resp);
});

output:
  hbase-client get on table: prod_control get: {"row":"last_validated","tr":{"from":null,"to":null},"familyMap":{},"maxVersions":1} +0ms
  hbase-region locateRegion table: prod_control row: last_validated +2ms
  hbase-region getRegionConnection +403ms hadoop3-private.wdc01.infra.ripple.com:60020
  hbase-region getRegionConnection connecting to hadoop3-private.wdc01.infra.ripple.com:60020 +1ms
  hbase-connection connecting to connection(hadoop3-private.wdc01.infra.ripple.com:60020) id: 0 +0ms
  hbase-connection connected to connection(hadoop3-private.wdc01.infra.ripple.com:60020) id: 0 +120ms
  hbase-region hadoop3-private.wdc01.infra.ripple.com:60020 connected, total 1 connections +5ms
  hbase-region locateRegionInMeta table: prod_control row: last_validated +1ms
  hbase-client prefetchRegionCache for table: prod_control +1ms
  hbase-region locateRegion table: hbase:meta row: prod_control,,00000000000000 +1ms
  hbase-region locateRegionInMeta table: hbase:meta row: prod_control,,00000000000000 +0ms
  hbase-region getRegionConnection +0ms hadoop3-private.wdc01.infra.ripple.com:60020
  hbase-region getRegionConnection from cache (servers: 1), hadoop3-private.wdc01.infra.ripple.com:60020 +1ms
  hbase-client scan on: hbase:meta row: 1 region: hbase:meta,,1 startRow: prod_control,,00000000000000 stopRow: prod_controm,,00000000000000 +0ms
  hbase-call operation 1 (Scan) called +4ms
  hbase-call operation 1 (Scan) completed. Took: 133ms +133ms
java.io.IOException
	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2069)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107)
	at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException

  hbase-region Trying to find cached regionLocation for table prod_control +3ms
{}
  hbase-region Couldn't find cached regionLocation for table prod_control +1ms
  hbase-region getRegionConnection +0ms hadoop3-private.wdc01.infra.ripple.com:60020
  hbase-region getRegionConnection from cache (servers: 1), hadoop3-private.wdc01.infra.ripple.com:60020 +0ms
  hbase-call operation 2 (Get) called +1ms
  hbase-call operation 2 (Get) completed. Took: 127ms +127ms
  hbase-region locateRegionInMeta error: .ExceptionResponse +1ms
java.io.IOException
	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2069)
	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107)
	at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130)
	at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException

What version of hbase do you use? Is there anything in region server logs?

hbase 1.0
CDH build

Unexpected throwable object
java.lang.NullPointerException
    at org.apache.hadoop.hbase.quotas.RegionServerQuotaManager.checkQuota(RegionServerQuotaManager.java:182)
    at org.apache.hadoop.hbase.quotas.RegionServerQuotaManager.checkQuota(RegionServerQuotaManager.java:136)
    at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2131)
    at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:31443)
    at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2035)
    at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107)
    at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130)
    at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107)
    at java.lang.Thread.run(Thread.java:745)

Some people did encounter problems with CDH builds before (cloudera backported some features from hbase 1.1.x to 1.0.x afaik), but unfortunatelly I'm not able to get CDH image now. I'll try to test it during next week.

@shekenahglory Sorry I forgot about this issue.. meanwhile hbase-rpc-client does support<EMAIL_ADDRESS>Is this still an issue?

I don't know, we went with a different solution.


Use worker pool for smartctl

Use worker pool to make running of smartctl parallel (for issue #197).

@NiceGuyIT could you comment on whether I need to do something else before this PR is likely to be accepted?

Hi @pokab. Addressing PR #205 is first priority. Then I will look at this PR. Thank you for your patience.


IE10 support, msTransition

I tried to add this support by adding -ms- to the CSS prefixes and testing for thisStyle.msTransition !== undefined. This worked for a very simple example but it does not work for my site. Instead, nothing happens. I know the replacement animation is called but I don't know enough about what's going on to see where the CSS transition is actually added to the element. On my site, the transition properties are not added, but in the simple example I made (just a div to move $('div').animate()) they do get added.
So while it seems easy, it seems there is something different going on in IE10.

Ah that's a shame. I'll have a look at the spec to see if there's any simple ways to get things going. Would be nice to get it supported in the plugin.


Can it only be used for local databases?

I want to connect to other computers in the office network, IP <IP_ADDRESS> user sa pass 123456. How can I use tools to connect?

Please refer to the wiki: https://github.com/skahwah/SQLRecon/wiki#using-local-credentials


reps = model_saint.transformer(x_categ_enc, x_cont_enc)==nan

I applied this great model to regression, but the value is nan in the model.transformer part.
class RowColTransformer(nn.Module):
~~~~~~~~~
    def forward(self, x, x_cont=None, mask = None):
        if x_cont is not None:
            x = torch.cat((x,x_cont),dim=1)
        _, n, _ = x.shape
        print("TRANFOERMR")
        if self.style == 'colrow':
            for attn1, ff1, attn2, ff2 in self.layers:
                x = attn1(x)##here x==nan

Did this happen during implementation? If anyone has used it for their own data, please let me know.
these are hyper params
model_saint = SAINT(
    categories = tuple(cat_dims.values()),#len(cat_dims)==2
    num_continuous = len(numerical_features)+1,
    dim =128,
    dim_out = 1,
    depth = 6,
    heads = 8,
    attn_dropout = 0.1,
    ff_dropout = 0.1,
    mlp_hidden_mults = (4, 2),
    continuous_mean_std = None,
    cont_embeddings = "MLP",
    attentiontype = 'col',
    final_mlp_style = 'sep',
    y_dim = 1
    )

optim:AdamW(model_saint.parameters(), lr=1e-3,weight_decay=5e-5)
BATCH_size=256

Hi,
Did you ensure, the x passed on the attention layer [i.e. x passed to attn1(x)] does not have any NaNs?

I took care not to include nan in the input and it was executed without any problem. Thank you very much.