Add support FTP

I'm writing an application related to FTP and using the "basic-ftp" library, but encountering an error. I hope that someday Nx.js will support FTP.
X [ERROR] Could not resolve "net"

    node_modules/basic-ftp/dist/FtpContext.js:4:22:
      4 │ const net_1 = require("net");
        ╵                       ~~~~~

  The package "net" wasn't found on the file system but is built into node. Are you trying to bundle
  for node? You can use "--platform=node" to do that, which will remove this error.

X [ERROR] Could not resolve "stream"

    node_modules/basic-ftp/dist/transfer.js:5:25:
      5 │ const stream_1 = require("stream");
        ╵                          ~~~~~~~~

  The package "stream" wasn't found on the file system but is built into node. Are you trying to
  bundle for node? You can use "--platform=node" to do that, which will remove this error.

X [ERROR] Could not resolve "fs"

    node_modules/basic-ftp/dist/Client.js:4:21:
      4 │ const fs_1 = require("fs");
        ╵                      ~~~~

  The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle
  for node? You can use "--platform=node" to do that, which will remove this error.

X [ERROR] Could not resolve "tls"

    node_modules/basic-ftp/dist/transfer.js:6:22:
      6 │ const tls_1 = require("tls");
        ╵                       ~~~~~

  The package "tls" wasn't found on the file system but is built into node. Are you trying to bundle
  for node? You can use "--platform=node" to do that, which will remove this error.

X [ERROR] Could not resolve "tls"

    node_modules/basic-ftp/dist/Client.js:6:22:
      6 │ const tls_1 = require("tls");
        ╵                       ~~~~~

  The package "tls" wasn't found on the file system but is built into node. Are you trying to bundle
  for node? You can use "--platform=node" to do that, which will remove this error.

X [ERROR] Could not resolve "tls"

    node_modules/basic-ftp/dist/netUtils.js:4:22:
      4 │ const tls_1 = require("tls");
        ╵                       ~~~~~

  The package "tls" wasn't found on the file system but is built into node. Are you trying to bundle
  for node? You can use "--platform=node" to do that, which will remove this error.

As you are seeing in the error, the basic-ftp package relies on Node.js-specific modules which nx.js does not provide. An FTP implementation will need to be written on top of the TCP socket API that nx.js does provide (i.e. Switch.connect(), Switch.Socket).
I'll close this since there's no plans to offer FTP in nx.js core itself. However, I would love to see a 3rd party package be created to offer FTP functionality. If I ever find a desire to port basic-ftp myself then I will do it, but if someone else beats me to the punch - even better!

Thank you. I will use Switch.connect()

HI @TooTallNate. How do I log in using my account when using Switch.connect? I try Switch.connect("admin:admin@ftpnhacsong.ddns.net:21") but not working
async function ftptest() {
    var test = Switch.connect("ftpnhacsong.ddns.net:21/MOD")
    var array8 = test.readable
    var a = (await array8.getReader().read()).value;
    const decoder = new TextDecoder();
    const str = decoder.decode(a);
    console.log(str);
}
ftptest()


pip3 install flee

Low priority:
Enable this functionality, and expose a Flee API for easy external usage.

This works for a while already I believe ;).


Prevent MongoNetworkError in the CI

After installing backend dependencies yarn will run postinstall, which runs yarn build and a node script to populate the database with sample data (in case it's empty).
The problem is that in Travis there's no Mongo connection, making the following error appear:
MongoNetworkError: failed to connect to server [localhost:27017] on first connect [MongoNetworkError: connect ECONNREFUSED <IP_ADDRESS>:27017]

This is a passable error and doesn't prevent Travis from running the tests, however it would be nice to avoid that, for example, by preventing running the script to populate the database when in test environment.

I'm having a look at this


core_show_channels method return nil

Environment:
~# ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
~# gem -v
1.8.15
~# gem list -l ruby-asterisk
ruby-asterisk (0.1.0)

Code:
@ami = RubyAsterisk::AMI.new( "host", port )
@ami.login( "login", "password" )
core_show_channels = @ami.core_show_channels

Error:
can't convert nil into String

Trace:
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/string/output_safety.rb:34:in `concat_without_safety'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/string/output_safety.rb:34:in `<<'
/usr/lib/ruby/gems/1.8/gems/ruby-asterisk-0.1.0/lib/ruby-asterisk.rb:146:in `execute'
/usr/lib/ruby/1.8/net/telnet.rb:598:in `waitfor'
/usr/lib/ruby/gems/1.8/gems/ruby-asterisk-0.1.0/lib/ruby-asterisk.rb:145:in `execute'
/usr/lib/ruby/gems/1.8/gems/ruby-asterisk-0.1.0/lib/ruby-asterisk.rb:49:in `core_show_channels'

I'm just change line line 145 in lib/ruby-asterisk.rb from:
request.response_data << data

to:
request.response_data << data.to_s

And all works fine when core_show_channels returns nil, but I don't know why this error occurs.

It seems ok to me, please submit it as a Pull Request. Thanks


Question: Why is the routes file in a routes folder and labeled 'index.js'?

See below image for subject line visualization:

I would have thought that the routing file would be labeled 'routes.js' or something similar.
So I guess I'm wondering if this folder structure is to encourage splitting up routing into multiple files, and if so, is there any documentation on how to go about doing so, and when it would be appropriate?
Thank you in advance for your assistance and clarification :-)

Folders as Modules is rather convenience. If the main routes name was set by routes.js, you should import routes every time like this
import route from ./router/routes.js

But, after scaffolding, how to organize the directory structure and named a filename is depends on your opinion.

hmmm...gonna dig more into these concepts, thanks.


Horizontal view or layout options

Hi Alyssa,
Flowy is awesome and really inspiring work which should be appreciated!!
I need help to customize the same in horizontal way or vertical way based on the option
Could you please help me?
Many thanks! @aelassas

Hi Alyssa,
Flowy is awesome and really inspiring work which should be appreciated!!
I need help to customize the same in horizontal way or vertical way based on the option
Could you please help me?
Many thanks! @aelassas

Hi Alyssa,
Flowy is awesome and really inspiring work which should be appreciated!!
I need help to customize the same in horizontal way or vertical way based on the option
Could you please help me?
Many thanks! @aelassas

Hello @aelassas @alyssaxuu @saisudhir14
any update on this ? Horizontal view for flowchart.

I used the author's source code to create a horizontal view of the flowy core code. Customize the same content horizontally or vertically depending on the option, but the functionality is incomplete and I would like to be able to do multiple PR to follow this up.@aelassas @alyssaxuu @saisudhir14

still no news ? @At867604340 @alyssaxuu


Add note how to prune scheduled snapshots

After recent triage, clarify that to manually prune scheduled snapshots, you need to give the --name etcd-snapshot

That would be a good idea


Node is not working using the provided sample workflow.

console shows, same goes to bigfile
 [error] [bigcsv:5179020c.41dfdc] TypeError: undefined is not a function

Hello,
just made a fresh install of node-red with npm install node-red then npm install node-red-contrib-bigcsv, started node-red with node node_modules/node-red/red and copy/paste the provided example. Everything is working fine.
I'm on a mac with node v4.4.2.
Can you provide me details on your platform, node release and the big versions you got.
There was zero day bugs on the lib I've solved
Regards

yep that's it. i'm still using node v0.12.7. tried switching to v4.4.2 got it to work.


Getting details for computer_configuration

When running report for Packages and Scripts, the progress is stuck at Getting details for computer_configuration presumably for the Configuration column?
As a result, even though the result seems there with all the other columns all populated, after manually stop getting details for computer_configuration, the exported list txt file is blank.

Thanks for your prompt response. I'm running Object Info version 1.4.0 (1) and our Jamf Pro version is 10.34.1. I do notice we have a configuration in the Computer Management > Configurations. Not sure what it does and whether it has anything to do with this behaviour.

Let me know if things work better with v1.4.2.

Thanks so much Leslie for the very fast response and resolution. It is indeed working now without the error.


Annotations widget on object page

The object page has first row general info | TNS
Second row is Sherlock.
Lets split the sherlock row into sherlock | annotators
Content of annotators is which annotators have flagged this object

This was fixed by PR #103


Added NFTX PUNK Fund assets

PUNK
PUNK-BASIC
PUNK-FEMALE
PUNK-ATTR-4
PUNK-ATTR-5
PUNK-ZOMBIE

Gonna get larger logos from NFTX and then will fix this PR.


README.md update: more accurate patch

I have about 50 playlists, and with current patch the scrollable area was still cropped

I'm not familiar with how the patching works. Maybe @JulienMaille knows more. But you also have to change the install scripts to include the change.

Why did you close it?

CI job was trying to check out from this repo, though the branch was in my fork, and thus failing

Can you explain what the patch does? Why changing that value does fix the scrolling issue? Thanks

Because stock Spotify playlist item height is 32, and in the theme height was increased, and changing this specific value makes calculation of scroll extent area correspondent to the actual height. I don't know exactly how it works, seems like a replacement of value using regex, but with what it has initially in Readme, it clipped several playlists for me

CI job was trying to check out from this repo, though the branch was in my fork, and thus failing

@SendNukez is it a bug with the CI?

Seems to be a problem with the checkout action. I'll look into it.


opensource first commit

I added my name

I'm so grateful...
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Olúwásetèmi @.>
Sent: Monday, August 15, 2022 7:10:58 PM
To: Oluwasetemi/altschool-opensource-names @.>
Cc: Muritala Sodeeq Ishola @.>; Author @.>
Subject: Re: [Oluwasetemi/altschool-opensource-names] opensource first commit (PR #550)
Merged #550https://github.com/Oluwasetemi/altschool-opensource-names/pull/550 into main.
—
Reply to this email directly, view it on GitHubhttps://github.com/Oluwasetemi/altschool-opensource-names/pull/550#event-7190523704, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVZ4BHIK5HUHYLIZFZ22M6TVZKB3FANCNFSM56S6A2XA.
You are receiving this because you authored the thread.Message ID: @.***>


InvalidStateError after pip installed HA on Windows

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.50.1
Python release (python3 --version):
3.6.2 and also tried with 3.5.3
Component/platform:
Windows 10
Description of problem:
I get asyncio.base_futures.InvalidStateError: Result is not ready. in the log
Expected:
No Error doing job: Exception in callback after install in the log
Problem-relevant configuration.yaml entries and steps to reproduce:

On Windows 10, install Python 3.6.2
mkdir homeassistant
cd homeassistant
virtualenv venev
venv\Scripts\activate.bat
pip install homeassistant
mkdir config
hass -c config
opening chrome at http://myhost:8123/dev-info now shows the traceback below

Traceback (if applicable):
The following errors have been logged this session:

2017-07-31 14:46:59 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...op_reading()]>)
Traceback (most recent call last):
  File "c:\python36\Lib\asyncio\events.py", line 127, in _run
    self._callback(*self._args)
  File "c:\python36\Lib\asyncio\proactor_events.py", line 190, in _loop_reading
    data = fut.result()  # deliver data later in "finally" clause
  File "c:\python36\Lib\asyncio\futures.py", line 239, in result
    raise InvalidStateError('Result is not ready.')
asyncio.base_futures.InvalidStateError: Result is not ready.
2017-07-31 14:47:15 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ed result=b''>)
Traceback (most recent call last):
  File "c:\python36\Lib\asyncio\events.py", line 127, in _run
    self._callback(*self._args)
  File "c:\python36\Lib\asyncio\proactor_events.py", line 188, in _loop_reading
    self._closing)
AssertionError

Additional info:
This is my development machine which I would like to set up for front end work and the "Result is not ready" seems to indicate to me that I can live with this.
Still, it would be nice to not have any "ERROR" in the log after initial installation.

Same in 0.51.2

Using HA v.0.55.1 on WIndows 10 with Python 3.6.3 does not show the same Error, now only a Warning is present
2017-10-21 13:22:02 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.


Rancher server keeps restarting

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy a cluster in 1.16 and upgrade cluster to 1.17 k8s version
Rancher server keeps restarting every now and then. Logs are as follows
Rancher logs:

2020/03/05 00:48:59 [INFO] Creating roleBinding User user-q94zv Role project-owner
2020/03/05 00:48:59 [ERROR] NamespaceController kube-system [namespace-auth] failed with : clusterroles.rbac.authorization.k8s.io "p-khxrd-namespaces-readonly" already exists
2020/03/05 00:49:00 [INFO] Creating roleBinding User user-q94zv Role admin
2020/03/05 00:49:00 [INFO] Creating clusterRoleBinding for project access to global resource for subject user-q94zv role create-ns.
2020/03/05 00:49:00 [INFO] Creating roleBinding User user-q94zv Role admin
2020/03/05 00:49:00 [INFO] Creating clusterRoleBinding for project access to global resource for subject user-q94zv role create-ns.
2020-03-05 00:49:05.941269 W | etcdserver: read-only range request "key:\"/registry/mutatingwebhookconfigurations\" range_end:\"/registry/mutatingwebhookconfigurationt\" count_only:true " with result "range_response_count:0 size:5" took too long (125.833865ms) to execute
2020/03/05 00:49:05 [INFO] Updating workload [ingress-nginx/nginx-ingress-controller] with public endpoints [[{"nodeName":"c-lrtzs:m-q2clc","addresses":["<IP_ADDRESS>"],"port":80,"protocol":"TCP","podName":"ingress-nginx:nginx-ingress-controller-47fs5","allNodes":false},{"nodeName":"c-lrtzs:m-q2clc","addresses":["<IP_ADDRESS>"],"port":443,"protocol":"TCP","podName":"ingress-nginx:nginx-ingress-controller-47fs5","allNodes":false}]]
2020/03/05 00:49:06 [INFO] [mgmt-auth-prtb-controller] Creating clusterRole p-hjd4z-projectmember
2020/03/05 00:49:08 [ERROR] ProjectController c-lrtzs/p-hjd4z [system-image-upgrade-controller] failed with : upgrade cluster c-lrtzs system service logging failed: cluster c-lrtzs not ready
2020-03-05 00:49:11.849241 W | etcdserver: read-only range request "key:\"/registry/services/endpoints/kube-system/cloud-controller-manager\" " with result "range_response_count:1 size:455" took too long (101.744981ms) to execute
I0305 00:49:12.286356      22 trace.go:116] Trace[1097554609]: "Get" url:/api/v1/namespaces/default,user-agent:k3s/v1.17.2+k3s1 (linux/amd64) kubernetes/cdab19b,client:<IP_ADDRESS> (started: 2020-03-05 00:49:08.017136395 +0000 UTC m=+1079.134283850) (total time: 3.601630616s):
Trace[1097554609]: [3.055913014s] [3.053738206s] About to write a response
Trace[1097554609]: [3.601486211s] [545.573197ms] Transformed response object
2020-03-05 00:49:13.070353 W | etcdserver: read-only range request "key:\"/registry/management.cattle.io/catalogs/system-library\" " with result "range_response_count:1 size:2174" took too long (140.074479ms) to execute
2020-03-05 00:49:13.179083 W | etcdserver: read-only range request "key:\"/registry/management.cattle.io/templateversions\" range_end:\"/registry/management.cattle.io/templateversiont\" count_only:true " with result "range_response_count:0 size:5" took too long (212.024366ms) to execute
2020-03-05 00:49:13.198293 W | etcdserver: read-only range request "key:\"/registry/management.cattle.io/roletemplates\" range_end:\"/registry/management.cattle.io/roletemplatet\" count_only:true " with result "range_response_count:0 size:7" took too long (135.444198ms) to execute
I0305 00:49:14.069170      22 trace.go:116] Trace[1546144587]: "Get" url:/api/v1/namespaces/kube-system/endpoints/kube-controller-manager,user-agent:k3s/v1.17.2+k3s1 (linux/amd64) kubernetes/cdab19b/leader-election,client:<IP_ADDRESS> (started: 2020-03-05 00:49:08.451463099 +0000 UTC m=+1079.568610174) (total time: 5.090735121s):
Trace[1546144587]: [415.60759ms] [415.60759ms] About to Get from storage
Trace[1546144587]: [4.605367656s] [4.189760066s] About to write a response
Trace[1546144587]: [5.09059187s] [485.224214ms] Transformed response object
I0305 00:49:14.516886      22 trace.go:116] Trace[379715010]: "Get" url:/api/v1/namespaces/kube-system/endpoints/cloud-controller-manager,user-agent:k3s/v1.17.2+k3s1 (linux/amd64) kubernetes/cdab19b/leader-election,client:<IP_ADDRESS> (started: 2020-03-05 00:49:10.436932832 +0000 UTC m=+1081.554080295) (total time: 3.555949649s):
Trace[379715010]: [545.582135ms] [545.582135ms] About to Get from storage
Trace[379715010]: [3.006480073s] [2.460897938s] About to write a response
Trace[379715010]: [3.555810255s] [549.330182ms] Transformed response object
I0305 00:49:15.867658      22 trace.go:116] Trace[1030563561]: "Get" url:/api/v1/namespaces/kube-system/endpoints/kube-scheduler,user-agent:k3s/v1.17.2+k3s1 (linux/amd64) kubernetes/cdab19b/leader-election,client:<IP_ADDRESS> (started: 2020-03-05 00:49:10.939835085 +0000 UTC m=+1082.056982163) (total time: 4.341377463s):
Trace[1030563561]: [2.726792198s] [2.719159035s] About to write a response
Trace[1030563561]: [4.341056957s] [1.614264759s] Transformed response object
I0305 00:49:15.327426      22 trace.go:116] Trace[990482069]: "Get" url:/api/v1/namespaces/kube-system/configmaps/k3s,user-agent:k3s/v1.17.2+k3s1 (linux/amd64) kubernetes/cdab19b,client:<IP_ADDRESS> (started: 2020-03-05 00:49:10.82514989 +0000 UTC m=+1081.942296973) (total time: 4.49102642s):
Trace[990482069]: [3.911911284s] [3.908078935s] About to write a response
Trace[990482069]: [4.49057205s] [578.660766ms] Transformed response object
I0305 00:49:16.375705      22 leaderelection.go:288] failed to renew lease kube-system/kube-scheduler: failed to tryAcquireOrRenew context deadline exceeded
2020/03/05 00:49:15 [INFO] Creating clusterRoleBinding for project access to global resource for subject user-q94zv role p-khxrd-namespaces-edit.
F0305 00:49:17.121217      22 server.go:257] leaderelection lost
2020/03/05 00:49:18 [INFO] Creating roleBinding User user-q94zv Role project-owner
2020/03/05 00:49:28 [INFO] Deleting roleBinding clusterrolebinding-vwg8q
E0305 00:49:25.424603      22 leaderelection.go:331] error retrieving resource lock kube-system/kube-scheduler: Get https://<IP_ADDRESS>:6444/api/v1/namespaces/kube-system/endpoints/kube-scheduler?timeout=10s: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
I0305 00:49:17.522463      22 event.go:281] Event(v1.ObjectReference{Kind:"Lease", Namespace:"kube-system", Name:"kube-controller-manager", UID:"a28f89d2-04fc-464f-a0fc-c8d103dcd848", APIVersion:"coordination.k8s.io/v1", ResourceVersion:"6214", FieldPath:""}): type: 'Normal' reason: 'LeaderElection'<PHONE_NUMBER>f4_21a6c7ec-c9a2-4181-80d6-5851c7b80d0c stopped leading
I0305 00:49:17.570264      22 trace.go:116] Trace[1331180753]: "List etcd3" key:/jobs,resourceVersion:,limit:500,continue: (started: 2020-03-05 00:49:13.425489702 +0000 UTC m=+1084.542637229) (total time: 3.18538164s):
Trace[1331180753]: [3.18538164s] [3.18538164s] END
I0305 00:49:18.020321      22 event.go:281] Event(v1.ObjectReference{Kind:"Endpoints", Namespace:"kube-system", Name:"cloud-controller-manager", UID:"eb6c4aa5-be30-4352-9609-0855fba7ac4e", APIVersion:"v1", ResourceVersion:"6211", FieldPath:""}): type: 'Normal' reason: 'LeaderElection'<PHONE_NUMBER>f4_4421dd17-cd1a-41d4-9375-4b217a48e909 stopped leading
I0305 00:49:22.831750      22 leaderelection.go:288] failed to renew lease kube-system/kube-controller-manager: failed to tryAcquireOrRenew context deadline exceeded
E0305 00:49:22.888702      22 leaderelection.go:331] error retrieving resource lock kube-system/kube-controller-manager: Get https://<IP_ADDRESS>:6444/api/v1/namespaces/kube-system/endpoints/kube-controller-manager?timeout=10s: context deadline exceeded
I0305 00:49:23.568742      22 leaderelection.go:288] failed to renew lease kube-system/cloud-controller-manager: failed to tryAcquireOrRenew context deadline exceeded
I0305 00:49:30.352754       6 leaderelection.go:288] failed to renew lease kube-system/cattle-controllers: failed to tryAcquireOrRenew context deadline exceeded
2020/03/05 00:49:31 [ERROR] Error fetching user attribute to trigger refresh: Get https://<IP_ADDRESS>:6443/apis/management.cattle.io/v3/userattributes/u-yhjgkcp55r?timeout=30s: EOF
2020/03/05 00:49:31 [ERROR] Error fetching user attribute to trigger refresh: Get https://<IP_ADDRESS>:6443/apis/management.cattle.io/v3/userattributes/u-yhjgkcp55r?timeout=30s: EOF
2020/03/05 00:49:31 [ERROR] Error fetching user attribute to trigger refresh: Get https://<IP_ADDRESS>:6443/apis/management.cattle.io/v3/userattributes/u-yhjgkcp55r?timeout=30s: EOF
2020/03/05 00:49:31 [ERROR] Error fetching user attribute to trigger refresh: Get https://<IP_ADDRESS>:6443/apis/management.cattle.io/v3/userattributes/u-yhjgkcp55r?timeout=30s: EOF
W0305 00:49:31.447503       6 reflector.go:326] github.com/rancher/steve/pkg/clustercache/controller.go:184: watch of *v1.PartialObjectMetadata ended with: very short watch: github.com/rancher/steve/pkg/clustercache/controller.go:184: Unexpected watch close - watch lasted less than a second and no items received
2020/03/05 00:49:31 [ERROR] Error fetching user attribute to trigger refresh: Get https://<IP_ADDRESS>:6443/apis/management.cattle.io/v3/userattributes/u-yhjgkcp55r?timeout=30s: EOF
2020/03/05 00:49:31 [ERROR] ProjectRoleTemplateBindingController p-hjd4z/creator-project-owner [cluster-prtb-sync] failed with : Put https://<IP_ADDRESS>:6443/apis/management.cattle.io/v3/namespaces/p-hjd4z/projectroletemplatebindings/creator-project-owner?timeout=30s: EOF
2020/03/05 00:49:31 [INFO] Creating roleBinding User user-q94zv Role project-owner
2020/03/05 00:49:31 [ERROR] Error fetching user attribute to trigger refresh: Get https://<IP_ADDRESS>:6443/apis/management.cattle.io/v3/userattributes/u-yhjgkcp55r?timeout=30s: EOF
W0305 00:49:31.529098       6 reflector.go:326] github.com/rancher/steve/pkg/clustercache/controller.go:184: watch of *v1.PartialObjectMetadata ended with: very short watch: github.com/rancher/steve/pkg/clustercache/controller.go:184: Unexpected watch close - watch lasted less than a second and no items received
2020/03/05 00:49:31 [FATAL] k3s exited with: exit status 255
2020/03/05 00:49:34 [INFO] Rancher version 53e0430e1 (53e0430e1) is starting
2020/03/05 00:49:34 [INFO] Rancher arguments {ACMEDomains:[] AddLocal:auto Emb

Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): master-head - commit id: 53e0430e1 also happens on commit id: 0aea63a4b
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): do rke
Kubernetes version (use kubectl version):

1.16 to 1.17

Attempted fix linked but not positive. Moved to test to see if it is seen after this panic.

Verified on master-head - bfa3e1c8a
This issue is not seen anymore.


Feature/cu kxd69k camera smoothness

Now camera can follow the player smoothly.
Two variables can be set from the PlayerController script:

UseSmoothCamera: if true, will follow the player with a delayed position.
SmoothCameraSpeed: the smaller, the more delayed the camera is. Currently at 5.0f.

Task linked: CU-kxd69k Camera smoothness

Closing due to wrong target branch


Corrected typo

https://github.com/MicrosoftDocs/office-docs-powershell/issues/3847

Docs Build status updates of commit a325be9:
:clock10: Full build: the average full build time is 11 min(s) 53 sec(s), this is based on the last 865 build(s) for this repository.

Docs Build status updates of commit a325be9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Get-SPEnterpriseSearchAdministrationComponent.md
:white_check_mark:Succeeded
View (sharepoint-ps)

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


Update Cargo.toml, fix for build error (see #164)

Yeah, not my fault, Travis - a test isn't running correctly. It compiles, but the tests fail

Thanks! yea it's compiletest-rs, I'll update it.


add a json tag to volatile_time

Fixes #1426
-Adds inline to the .inner structure for VolatileTime

Note marshall/unmarshall are implemented already to bypass the default, but this will help users who may be using the tags for codegen

/retest

/assign @n3wscott

/lgtm
/approve


On COCO dataset

Do you have any pretrained weights for COCO dataset. If not do you have any train.py or script to load the COCO dataset. Appreciate any help.

Sorry got it under dataset/coco

looks like the coco dataset folder is incomplete

Thanks for pointing it out.
The datasets of COCO is incomplete. I have removed it.


Remove legacy org.apache.http library references

All references to the org.apache.http library should be removed in favour of using java.net.HttpURLConnection.

I can't find the relevant references in the code, only stuff added as part of #24, I think the changed in #24 can be reverted...

Closing as I think this is no longer relevant...

this change have conflicts with cordova-plugin-googlemaps, idk exactly if they require this line.
I locally revert #24 and looks good

Feel free to submit a PR with revering of #25.


Cannot discover Smart Hub 2

Describe The Bug:
When using the bridge on the Hoobs Pro it does not discover my Lutron Caseta Smart Hub 2. I have tried everything I can think of. The Hoobs Pro and the Smart Hub are connected to the same unmanaged switch coming out of the router. I've tried connecting them both to the router as well with no luck. I've even tried it with another bridge with no luck.
To Reproduce:
Add the bridge and try to configure. Click on "Start Custom Plugin UI."
Expected behavior:
When clicking "Start Custom Plugin UI" the window for Lutron Device Configuration comes up. At the bottom it should show show my bridge that it has discovered on the network but it does not.
Logs:
I've attached the logs. The only thing I see in the log that seems related is:

12:57:37 PMLutron Casetaleap Bridgewarnunhandled rejection: SyntaxError: Unexpected token u in JSON at position 0 SyntaxError: Unexpected token u in JSON at position 0 at JSON.parse (<anonymous>) at cloneJson (/usr/src/services/json.ts:36:17) at FSWatcher.<anonymous> (/usr/src/main.ts:151:46) at FSWatcher.emit (node:events:513:28) at FSWatcher.emitWithAll (/usr/lib/hoobsd/node_modules/chokidar/index.js:540:8) at FSWatcher._emit (/usr/lib/hoobsd/node_modules/chokidar/index.js:632:8) at listener (/usr/lib/hoobsd/node_modules/chokidar/lib/nodefs-handler.js:370:20)

Plugin Config:
Since the plugin won't run or discover my bridge, I have no config files.

Screenshots:

Environment:

Plugin Version: 2.5.3 (I have tried previous versions with no luck)
Homebridge Version:  1.6.1
Node.js Version: 18.16.1
NPM Version:  ?
Operating System:  Hoobs Pro controlled through the Mac app and/or web interface.

Sorry, I don't support Hoobs. I suggest reaching out to them for support.


Fix grpc++->grpcpp leftover files

A few files that slipped through the cracks in #14210.

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[microbenchmarks] No significant performance differences

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Can you add a sanity check for this also?
On Tue, Feb 20, 2018, 10:06 PM gRPC Testing<EMAIL_ADDRESS>wrote:

[microbenchmarks] No significant performance differences
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/14468#issuecomment-367223429, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIdEkP155Yrns5rjvFGI3hD9wzH6HrUPks5tW7JcgaJpZM4SM4YZ
.

Oops.. clicked the button before noticing your comment. I'll create another PR for that.


Don't show red color on project velocity if it is the first date of billing period

Background
In ColoredCow some of the projects are charged hourly. So we have to capture the hours booked in the hour and based on it we generate the client invoice/bill for the period.
The velocity of the project is the ratio of hours booked in the project and the total expected hours in the project for a billing period. In an ideal scenario, it should be 1.
We currently show the velocity of a project on the project listing page as shown below.

The project velocity has red and green indicating if it is poor or good. When a new billing month start, initially the velocity is 0 due to which the velocity comes red.
Task

We want the velocity to come in black color instead of green and red on first day of the billing period irrespective of the velocity value.

Additional Context

The billing date changes after 10 PM in the night. So write the code accordingly
To test this functionality, you have to change the date of your computer to the billing start date.
You can set the billing start date from the client details. Therefore fill all the details of the client.

for black colour we have to write text-secondary

@AJAYSINGHBISHT12 The task is that if today is first date of billing period then you don't have to highlight the velocity shown in the project listing page.
What you need to find?

How you will get billing date of the project.

You can find it from the client details of the project

Technical details:

By default the color of text is black. So no class is needed to make the color black
You just need to compare the dates and based on that highlight the velocity

sir please check the syntax and I'am getting errors in this syntax

@php
$textColor1 = $project->billing_date == (today(config('constants.timezone.indian'))) ? 'text-dark' : 'text-danger';
$textColor = $project->velocity>=1 ? 'text-success' :'text-danger';
@endphp

{{ $project->velocity . ' (' . $project->current_hours_for_month . ' Hrs.)' }}


⚠ Bofrost.de has degraded performance

In e843470, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1676 ms

Resolved: Bofrost.de performance has improved in 9a35b55.


Crash when benchmarking BLIS.BLASInterface.axpy!

Simple reproducer:
julia> versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, haswell)

(tmp) pkg> st -m BLIS blis_jll
      Status `/tmp/Manifest.toml`
  [32f2db32] BLIS v0.2.0
  [6136c539] blis_jll v0.8.1+0

julia> using BenchmarkTools, BLIS
[ Info: blis_jll yields BLIS installation: /home/mose/.julia/artifacts/3bd06aa4f9939a35f5cb53773bd177f94ec99078/lib/libblis.so.

julia> @benchmark BLIS.BLASInterface.axpy!(a, x, y) setup=(T=Float32; N=100; a=randn(T); x=randn(T, N); y=randn(T, N)) evals=1
GC error (probable corruption) :
Allocations: 21278104 (Pool: 21271094; Big: 7010); GC: 26

!!! ERROR in jl_ -- ABORTING !!!
0x7f70fc77f010: Root object: 0x7f7152ae4010 :: 0x7f7149ad2070 (bits: 3)
        of type Task
0x7f70fc77f028: Root object: 0x7f71498c1760 :: 0x7f7149859b30 (bits: 3)
        of type Module
0x7f70fc77f040: Root object: 0x7f714985a620 :: 0x7f714985a2b0 (bits: 3)
        of type Array{Any, 1}
0x7f70fc77f058: Root object: 0x7f714e0ed220 :: 0x7f714985a380 (bits: 3)
        of type UnionAll
0x7f70fc77f070: Root object: 0x7f714d451b60 :: 0x7f71498d7f50 (bits: 3)
        of type Core.TypeMapEntry
0x7f70fc77f088: Root object: 0x7f714d5bbfa0 :: 0x7f71498d7f50 (bits: 3)
        of type Core.TypeMapEntry
0x7f70fc77f0a0: Root object: 0x7f714b87b220 :: 0x7f71498d7f50 (bits: 3)
        of type Core.TypeMapEntry

# Continues a _huge_ wall of errors

Perhaps some variables shared with the library aren't rooted correctly?

Out-of-boundary access seems to occur every time when α or β is a floating point. Let me check...

Typed backend works OK. I must have misunderstood some GC-related behaviors when interfacing BLIS objects.
@benchmark BLIS.TypedBackend.bli_saxpyv!(BLIS.Types.BLIS_NO_CONJUGATE, N, [a], x, 1, y, 1) setup=(T=Float32; N=100; a=randn(T); x=randn(T, N); y=randn(T, N)) evals=20


F Lock PMR446

Add submenu to F Lock. Limit TX to PMR446 frequencies (44600625 - 4619375).

Thanks for submitting PR!
This is currently on hold. PTAL: https://github.com/kamilsss655/uv-k5-firmware-custom/issues/136


improve typings

Improve TypeScript typings

Coverage decreased (-0.5%) to 97.738% when pulling 25de09cd1ac24d8712af2ee625d3a3f8805b3532 on Mesteery:patch-1 into 55d90ce4a4c22b0ea0647991d85cb946dfb7395b on form-data:master.


Adding Flash Screen (Preloader for website)

Description
I will add preloader for website, which will attract users for few seconds while starting the website .
Screenshots
No response
Checklist

[X] I have checked the existing issues.
[X] I have read the Contributing Guidelines
[X] I have read the Code Of Conduct
[X] The changes don't break the code

can u please assign me this issue


dma_irqn_acknowledge_channel incorrectly clears ALL channel interrupts

After spending a couple of days chasing this down, I've discovered that attempting to use hw_set_bits (or hw_clear_bits, or hw_xor_bits) with the DMA INTS0/INTS1 interrupt flag register causes ALL of the active channel interrupts to be cleared, not just the ones in the bitmask. This happens even when an empty bitmask is used.
The correct behavior is obtained by simply assigning a bitmask to the register, e.g. dma_hw->ints0 = 1 << channel_num. Unfortunately the current implementation of dma_irqn_acknowledge_channel uses hw_set_bits.
Discussion: https://forums.raspberrypi.com/viewtopic.php?p=2029939
Minimal reproduction: https://github.com/NomiChirps/missed_interrupt
The DMA INTS0/INTS1 register is marked as "WC" type in the RP2040 datasheet:

WC
This is a single bit that is typically set by a piece of hardware and then written to by the processor to clear the bit. The
bit is cleared by writing a 1, using either a normal write or the clear alias. See Section 2.1.2 for more information about
the clear alias.

So it's advertised that hw_clear_bits() should work with this register, and not clear that hw_set_bits() does anything well-defined. My testing has found that none of the hw_*_bits() aliases function as advertised here, though; they all clear the entire register no matter what bitmask is used.
In conclusion...

I'd be happy to author a pull request to correct dma_irqn_acknowledge_channel, if you'd like.
I think it might be worth checking to make sure no other "WC"-typed registers are accidentally misused(?) this way by the SDK.
It's a mystery why hw_clear_bits() doesn't work with this register, although the data sheet seems to advertise that it should.

Thanks for reading :)

Thanks for raising this, this is an inconsistency in the behaviour of fields that are implemented with our register block generator (most of them) and those which either were handwritten, or are vendor register blocks with an external atomic shim added.
For the following blocks:

DMA
XIP CTRL
XIP SSI
I2C
UART
SPI

One of the above criteria is true, and the effect of an atomic set/clear/xor is as though the current value were read, then  the set/clr/xor were applied to that value, and finally the new value were written. For RW fields this is behaves the same as the generated register blocks, but for some others (particularly WC) the behaviour differs.
Doing a hw_set_bits with a bitmask of zero on the DMA IRQ register is equivalent to writing back its current value, which will clear all IRQs.
The dma_irqn_acknowledge_channel function is buggy, so yes please, I'd be grateful if you could raise a PR to change that to a raw write with a single bit set.

note this also affects dma_channel_acknowledge_irq0 and dma_channel_acknowledge_irq1
Note, you'd expect that more people would have hit this, however people often split multiple DMA irqs between INTS0/INST1, and the pico_scanvideo which would definitely expose this problem, pre-dates the methods and writes the registers directly (without the set alias)

This is a habit for many. Also, the datasheet recommends using INTS0/INTS1 quietly.
In theory hw_clear_bits would work? (r & !m) If given !m instead of m?

Question how do you plan to mark this in documentation? You could say that all WC registers do not support atomic. You could also mark this as an errata. The SDK has a few changes, but will this be declared a silicon defect?

The documentation will be updated appropriately, there may be an SDK fix as well. It's not an errata.

@Wren6991 Are you going to do an update to the datasheet?

@Wren6991 Are you going to do an update to the datasheet?

@aallan @Wren6991 Are these comments relevant? #978


Simplify pydeck dependency management

Cuts RequireJS from the standalone version of pydeck and its associated browser tests. Repeats less code for standalone HTML and Notebook-based rendering. Also makes it possible to re-use more code between the JupyterLab, standalone HTML, and Jupyter Notebook distributions of pydeck.

For #3640

Background

Change List

Coverage decreased (-2.9%) to 80.039% when pulling 3a7434c38d705634fd832cd451c9de24798be022 on ajd/re-resolve-requirejs into 7f49cc91d3299e872fa23d561da2acde116bffd4 on master.


[RuboCop] Update to 0.34.2

@homu r+

:pushpin: Commit 930e940 has been approved by segiddins

:hourglass: Testing commit 930e940 with merge 24c1bf9...

@homu r-

Nice! Excluding files instead of disabling the rule, much better. :+1:

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

@homu r+

:pushpin: Commit cd705ce has been approved by segiddins

:hourglass: Testing commit cd705ce with merge d43b887...

:broken_heart: Test failed - status

@homu retry

:hourglass: Testing commit cd705ce with merge 36deace...

:broken_heart: Test failed - status

@homu retry

:hourglass: Testing commit cd705ce with merge 4f8b510...

:broken_heart: Test failed - status

@homu r+

:pushpin: Commit 9ee23a6 has been approved by segiddins

:hourglass: Testing commit 9ee23a6 with merge 282930e...

:sunny: Test successful - status


The parser is unable to use the correct encoding on Python 3

The reader being used by the CWR file parser does not work on Python 3. Remove it, instead the parser should receive an already processed text.

Removed the encoding check. Now the file parser will skip all the characters until it finds the first 'H'. Not the best solution, but works.


Errno::ENOSPC: No space left on device - sendfile

--- ERROR REPORT TEMPLATE -------------------------------------------------------
Error Report
Questions
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.

What did you do?
I ran the command /home/cabox/.rvm/gems/ruby-2.3.4@global/bin/bundle install

What did you expect to happen?
I expected Bundler to...

What happened instead?
Instead, what happened was...

Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried...

Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?
...

Backtrace
Errno::ENOSPC: No space left on device - sendfile
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:1395:in `copy_stream'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:1395:in `block (2 levels) in copy_file'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:1394:in `open'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:1394:in `block in copy_file'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:1393:in `open'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:1393:in `copy_file'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:487:in `copy_file'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:404:in `block in cp'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:1572:in `block in fu_each_src_dest'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:1588:in `fu_each_src_dest0'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:1570:in `fu_each_src_dest'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/fileutils.rb:403:in `cp'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/compact_index_client/updater.rb:36:in `block in update'
  /home/cabox/.rvm/rubies/ruby-2.3.4/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/compact_index_client/updater.rb:31:in `update'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/compact_index_client.rb:82:in `update'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/compact_index_client.rb:69:in `update_and_parse_checksums!'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/fetcher/compact_index.rb:69:in `available?'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/fetcher/compact_index.rb:16:in `call'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/fetcher/compact_index.rb:16:in `block in compact_index_request'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/fetcher.rb:158:in `use_api'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:376:in `block in api_fetchers'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:376:in `select'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:376:in `api_fetchers'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:381:in `block in remote_specs'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/index.rb:11:in `build'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:380:in `remote_specs'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:89:in `specs'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/definition.rb:268:in `block (2 levels) in index'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/definition.rb:266:in `each'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/definition.rb:266:in `block in index'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/index.rb:11:in `build'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/definition.rb:263:in `index'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/definition.rb:257:in `resolve'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/definition.rb:158:in `resolve_remotely!'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/installer.rb:279:in `resolve_if_needed'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/installer.rb:83:in `block in run'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/process_lock.rb:12:in `block in lock'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/process_lock.rb:9:in `open'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/process_lock.rb:9:in `lock'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/installer.rb:72:in `run'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/installer.rb:25:in `install'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/cli/install.rb:65:in `run'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/cli.rb:224:in `block in install'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/settings.rb:136:in `temporary'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/cli.rb:223:in `install'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/bin/bundle:22:in `load'
  /home/cabox/.rvm/gems/ruby-2.3.4@global/bin/bundle:22:in `<main>'
  /home/cabox/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `eval'
  /home/cabox/.rvm/gems/ruby-2.3.4/bin/ruby_executable_hooks:15:in `<main>'

Environment
Bundler             1.16.1
  Platforms         ruby, x86_64-linux
Ruby                2.3.4p301 (2017-03-30 revision 58214) [x86_64-linux]
  Full Path         /home/cabox/.rvm/rubies/ruby-2.3.4/bin/ruby
  Config Dir        /etc
RubyGems            2.6.11
  Gem Home          /home/cabox/.rvm/gems/ruby-2.3.4
  Gem Path          /home/cabox/.rvm/gems/ruby-2.3.4:/home/cabox/.rvm/gems/ruby-2.3.4@global
  User Path         /home/cabox/.gem/ruby/2.3.0
  Bin Dir           /home/cabox/.rvm/gems/ruby-2.3.4/bin
OpenSSL
  Compiled          OpenSSL 1.0.1f 6 Jan 2014
  Loaded            OpenSSL 1.0.1f 6 Jan 2014
  Cert File         /usr/lib/ssl/cert.pem
  Cert Dir          /usr/lib/ssl/certs
Tools
  Git               1.9.1
  RVM               1.25.30 (master)
  rbenv             not installed
  chruby            not installed
  rubygems-bundler  (1.4.4)

Bundler Build Metadata
Built At          2017-12-21
Git SHA           0034ef341
Released Version  true

Bundler settings
build.pg
  Set for the current user (/home/cabox/.bundle/config): "--with-pg-"
without
  Set for your local app (/home/cabox/workspace/rails_projects/alpha_blog/.bundle/config): [:production]

Gemfile
Gemfile
source 'https://rubygems.org'
ruby '2.3.4'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.6'
# Use sqlite3 as the database for Active Record
gem 'pg', '~> 0.20'
# Use SCSS for stylesheets
gem 'bootstrap-sass', '~> 3.3.7'
gem 'sass-rails', '~> 4.0.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer',  platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0',          group: :doc

# Spring speeds up development by keeping your application running in the background.  Try deleting some files.

Sorry but i'm new to devellopment, how come i have to delete some files
when i have just started to developp my app?
Thank you
2018-02-05 22:43 GMT+01:00 Jake Teton-Landis<EMAIL_ADDRESS>
You don't have any space left on your disk. Try deleting some files.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bundler/bundler/issues/6289#issuecomment-363231335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiCizsUtEHlpRbfyU6VOGjWjelxp4odyks5tR3YDgaJpZM4R5sRz
.

Is there any way to get more space? Since i don't know which file to
delete? First i was on a free account and then I got a freelancer account
but i still didn't have enough space
2018-02-05 23:37 GMT+01:00 Yvens Belaston<EMAIL_ADDRESS>
Sorry but i'm new to devellopment, how come i have to delete some files
when i have just started to developp my app?
Thank you
2018-02-05 22:43 GMT+01:00 Jake Teton-Landis<EMAIL_ADDRESS>
You don't have any space left on your disk. Try deleting some files.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bundler/bundler/issues/6289#issuecomment-363231335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AiCizsUtEHlpRbfyU6VOGjWjelxp4odyks5tR3YDgaJpZM4R5sRz
.

I think there is too little information for others to help you.
The error means that there is no space on the device that you are running the code above. From what you wrote above, you seem to not have it locally but use some remote computer which appears to have a low limit, I assume.
Try to find out how much space you have; and what is occupying "too much" space, if there is one. (I don't know how much space is available and how much is occupied).
I don't think there is much that bundler can do when the available disc space is not available..

This is not bundler's issue. I will close this.


jqGrid enable/disable sortable columns

Presently enabling and disabling sortable only works for jQuery DataTables.  By default in jqGrid all columns are sortable.

fixed


PowerMockRunner throws UnsatisfiedLinkError with ImageIO.write()

From<EMAIL_ADDRESS>on August 24, 2009 23:48:28
What steps will reproduce the problem? 1) Create a JUnit4.4 unit test using 1.2.5 and EasyMock 2.4
2) Create a new File object, and simply make a JPEG image like this:
BufferedImage testImage = new BufferedImage(width, height,
BufferedImage.TYPE_3BYTE_BGR);
ImageIO.write(testImage, "jpeg", startFile); What is the expected output? What do you see instead? It's expected that the ImageIO will create a new JPG image. What happens,
is an exception is thrown:
Caused by: java.lang.UnsatisfiedLinkError:
com.sun.imageio.plugins.jpeg.JPEGImageWriter.initWriterIDs(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/Class;)V
at com.sun.imageio.plugins.jpeg.JPEGImageWriter.initWriterIDs(Native Method)
at
com.sun.imageio.plugins.jpeg.JPEGImageWriter.(JPEGImageWriter.java:163)
at
com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi.createWriterInstance(JPEGImageWriterSpi.java:96)
at
javax.imageio.spi.ImageWriterSpi.createWriterInstance(ImageWriterSpi.java:327)
at javax.imageio.ImageIO$ImageWriterIterator.next(ImageIO.java:817)
at javax.imageio.ImageIO$ImageWriterIterator.next(ImageIO.java:801)
at javax.imageio.ImageIO.write(ImageIO.java:1471)
at javax.imageio.ImageIO.write(ImageIO.java:1521)
at redfin.util.ImageUtilTest.createTempJpeg(ImageUtilTest.java:17)
at
com.redfin.uploader.photoServiceWS.PhotoServiceImplTest$DataHandlerMyMock.(PhotoServiceImplTest.java:260)
at
com.redfin.uploader.photoServiceWS.PhotoServiceImplTest.testUploadFailTwo(PhotoServiceImplTest.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.internal.runners.TestMethod.invoke(TestMethod.java:59)
at
org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$2.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:222)
... 19 more What version of the product are you using? On what operating system? Create a JUnit4.4 unit test using 1.2.5 and EasyMock 2.4 with Java 6 and on
Windows XP
Original issue: http://code.google.com/p/powermock/issues/detail?id=141

From<EMAIL_ADDRESS>on August 24, 2009 23:41:38
Thanks for reporting this. How does your test look like? What have you prepared for test?

From<EMAIL_ADDRESS>on August 15, 2012 09:31:05
I get the same exact thing.  Trying to generate a receipt image that includes text and a barcode image, but get the UnsatisfiedLinkError for the JPEG writer.

From<EMAIL_ADDRESS>on March 13, 2013 14:16:31
The API that triggers an issue is only supported on 32 bit JRE on Windows as explained here: http://stackoverflow.com/questions/5207145/jai-and-imageio-for-64-bit-windows . If you are running 64 bit windows JDK/JRE - you'll have to switch to 32 bit.

From<EMAIL_ADDRESS>on March 13, 2013 14:17:22
Uh that seems like a bad "solution" don't you think?

From<EMAIL_ADDRESS>on March 13, 2013 14:52:47
That doesn't really seem like a solution at all :)


Submit abstract to ADASS

Deadline is Oct 15, 2023.
https://adass2023.lpl.arizona.edu/
Kelle is planning on attending. Anyone else?

@dr-rodriguez , maybe you could dig up and post your previous abstract and poster?

https://docs.google.com/document/d/1uPfD1qw1E9ZiUOEVTRZYaoQHbC0i0WYX9WFbzYdGjb8/edit

And here is the PDF of the completed poster.  (GitHub wouldn't let me upload the pages document.)
ADASS2023_poster.pdf


Sentinl and Cross Cluster Search

Hi!
I could not find any kind of documentation to work with Cross Cluster Search. This feature is available?

@IbaiAlonso no, the cross cluster search is not implemented yet.

Hi @sergibondarenko,
Thank you for you answer. Do you have it in your roadmap in future releases?

ETA, please? I will be your first lab rat.

Hi!
I have just found that you have realesed a new beta version. Does this version work with CCS?
Thanks!

Hi. No, but this issue is on the to-do list.

Actually CCS is already working (at least in 6.6.1).
I specify the following query in input section of the watcher. It searches across both local (filebeat-) and remote cluster (:filebeat-*) indices.
  "input": {
    "search": {
      "request": {
        "index": [
          "filebeat-*,*:filebeat-*"
        ],
        "body": {
          "query": {
            "ids": {
              "values": [
                "1678550090",
                "4016855981"
              ]
            }
          }
        }
      }
    }
  }

To make sure it works, I specially used doc ids from both clusters. This query returns 2 results.


Windows -- Door Entry Sample Reports Error -- Referencing a Linux directory

Describe the bug
When executing the door entry list all sample on Windows an error is reported: FileNotFoundError: 'tmp/xxx'
To Reproduce
Steps to reproduce the behavior:

Execute door entry list all sample per rkvst-samples main readme
Begins to execute and then an error is reported. . . see below

PS C:\Users\north\AppData\Roaming\Python\Python311\Scripts> python archivist_samples_door_entry.exe -u $Env:TEST_ARCHIVIST -t $Env:TEST_AUTHTOKEN --namespace $Env:NAMESPACE --list all
Initialising connection to RKVST...
Using version v0.23.0 of rkvst-archivist
Fetching use case test assets namespace<PHONE_NUMBER>.72348
number of doors 6
number of cards 5
List all START
Listing all doors tracked by the system:
Asset name:    Gare du Nord apartments side door
Asset type:    Door access terminal
Asset location: Apartements du Gare du Nord
Asset address: 18 Rue de Dunkerque, 75010 Paris, France
Archivist ID:  assets/cc728cb7-0d59-4aef-a738-6fe96178bcce
Attachment identity:   blobs/5d13e759-c5bc-4dcc-b67b-dffa5258bb69
Attachment name:       None
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\north\AppData\Roaming\Python\Python311\Scripts\archivist_samples_door_entry.exe_main.py", line 7, in
File "C:\Users\north\AppData\Roaming\Python\Python311\site-packages\archivist_samples\door_entry\main.py", line 72, in main
run(arch, args)
File "C:\Users\north\AppData\Roaming\Python\Python311\site-packages\archivist_samples\door_entry\run.py", line 623, in run
list_doors(doors)
File "C:\Users\north\AppData\Roaming\Python\Python311\site-packages\archivist_samples\door_entry\run.py", line 328, in list_doors
with open("/tmp/xxx", "wb") as fd:
^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/xxx'

Expected behavior
For the door entry list all sample to successfully execute on Windows
Desktop (please complete the following information):

OS: [Windows]
Browser [e.g. chrome, safari]
Version [e.g. 22]

This was reported by @pcnorth  . . . please feel free to reach out to him directly for additional information (versions, etc. . .)

https://stackoverflow.com/questions/847850/cross-platform-way-of-getting-temp-directory-in-python
is pertinent. The code is explicitly written for Linux so some work must be done to use the tempfile module instead.


Docker CI test

Trying to work out why docker builds are failing.
Ref: https://github.com/inventree/InvenTree/issues/5539

If you don't want to wait so long each time, and you cannot reproduce it locally, I would suggest using the tmate action and comment out the regular test, and the needs other jobs. Then you can docker exec into the container and run only the failing test, change things and rerun it again, that's much quicker than running all tests, waiting, changing, running again.


sound.js: Sound (extension) doesn't work with Sound (Scratch) when packaged

Just recently found this out, I was trying to use the pitch and the volumes from the Sound (Scratch) with the Sound (extension) when packaged, but it didn't do anything.
Don't really know what the cause is, since I checked in the editor and it works perfectly fine.

Does packaging it with electron work?
Also, what operating system are you on. Are you using the desktop app or the broswer version? And if you are packaging to html single file, then what browser are you opening the file on?

Does packaging it with electron work? Also, what operating system are you on. Are you using the desktop app or the broswer version? And if you are packaging to html single file, then what browser are you opening the file on?

Sorry for not responding quicker, I'm using Windows 10 21H2, packaged to HTML single file, using the Desktop app of Turbowarp, and using Brave as the browser.
I had my friend test it out on his computer, he uses Windows 10, Opera GX. He had the same issue as me.

Try packaging it with electron.

Will try that

Also, on the html build, open the console, and show a screenshot of the logs.

HTML
on electron works perfectly fine

it does play the file in HTML, but whatever reason it's an error

Because you put a local adress on it. Web pages can't access local files without a prompt. Upload the sounds to a website and use the link, or put them in the same folder as the html file. If you share your project without doing this, other people won't be able to hear the sound.

yeah but i made it so that you could put your own music in the project with a local address

also i couldn't even share this project because it's using custom extensions that Scratch doesn't support

By share, I mean share the html file with others, also, this will be fixed with #173 , using the files extension. GarboMuffin has to approve the code first, so you'll have yo wait.

oh i see, well i will be sticking with electron until the files extensions will be released

It looks like your sound can't be loaded into scratch's sound engine properly, if that happens it loads as a standart audio object which can't access scratch's advanced sound options

And that is caused by what I mentioned.

#173 was merged

#173 was merged

As far as I can tell #173 is mostly not related to this

#173 was merged

As far as I can tell #173 is mostly not related to this

read this:

By share, I mean share the html file with others, also, this will be fixed with #173 , using the files extension. GarboMuffin has to approve the code first, so you'll have to wait.

It is related, and you can just load the new file extension now, and use that to get the music file from your pc.
This issue can be closed.

It is related, and you can just load the new file extension now, and use that to get the music file from your pc.
This issue can be closed.

Am I missing something or what you're saying is that the user would need to manually load the sounds via the files extension each time so this doesn't occur. I don't think the issue is about this since you could get sound data uri easily enough before that.

it's probably easier since they can pick the file instead of writing the path

it's probably easier since they can pick the file instead of writing the path

I'm talking about the fact that you would have to pick the file each time manually, and you don't even need to do that since you can just convert the file to data uri and store it in a variable, which was possible before #173. The issue is about the sound not working with the html build but working with other builds like electron or in the editor, as I'm assuming by the title

It is related, and you can just load the new file extension now, and use that to get the music file from your pc.
This issue can be closed.

Am I missing something or what you're saying is that the user would need to manually load the sounds via the files extension each time so this doesn't occur? I don't think the issue is about this since you could get sound data uri easily enough before that.

You are not getting what this issue was created for at all. OP wants to let users open a file FROM the project and the issue was that they were using a local address outside of the html file folder, so it didn't work. The new files updated fixes that by letting you pick FROM the project and returning a data uri. The sound is played correctly. Read the error here.

Also read what the error means here
https://cloud.google.com/apigee/docs/api-platform/reference/policies/cors-policy#:~:text=Cross-origin resource sharing (CORS,is%20enforced%20by%20all%20browsers.

It is related, and you can just load the new file extension now, and use that to get the music file from your pc.
This issue can be closed.

Am I missing something or what you're saying is that the user would need to manually load the sounds via the files extension each time so this doesn't occur? I don't think the issue is about this since you could get sound data uri easily enough before that.

You are not getting what this issue was created for at all. OP wants to let users open a file FROM the project and the issue was that they were using a local address outside of the html file folder, so it didn't work. The new files updated fixes that by letting you pick FROM the project and returning a data uri. The sound is played correctly. Read the error here.

You are not getting what I'm trying to say, what I'm trying to say is that you could do all that before the files extension was updated, and you don't even need it because it only allows for manual file loading and can't load files on itself, thus not actually resolving the issue. The issue is about sound not working in the standalone html build but working when using electron and in the editor.
I've seen the CORS error and I just need to clarify if the OP is using the desktop editor or the web version, if it's turbowarp desktop then the issue is resolved due to the fact that most browsers don't allow html to open files, but it is allowed in tw desktop and the electon build because they are not opened via browser. If it's the web turbowarp and it works there, then it is a browser that allows opening files, and the html build not working is actually a bug, either the extension's or the packager's, to fix which we'll need to ask garbomuffin.

Projects being able to read projects from file:// was never intended. If you think it should be, open a new issue


Ran out of Space During Swap

Very niche, so I understand if I'm just out of luck, but my computer ran out of space after both locks were confirmed, causing the swap to crash.  Attempting to resume it also fails, with the error message "Error: failed to initialize Bitcoin wallet" caused by "read curropted data at file offset None backtrace ()"
Is there any way to resume and/or recover funds?  Happy to post logs if needed, but didn't right away in case they contain sensitive info.
Thanks so much, this was really dumb on my part :)

Thanks so much, that worked!! (as in, since it had been >12 hr, I was able to successfully initiate the bitcoin refund transaction)  I'll donate some my recovered funds to this project :)

Awesome, 👍


Error: Failed to build pub/sub client

i try to run 1.2.1-beta.1 on MacOS and i get these errors over and over again:
Failed to build pup/sub client
caused by: URL error: TLS support not compiled in
caused by: TLS support not compiled in
Attempting to reconnect

Thanks for the report. This should be easy to fix since it's probably just a dependency configuration missing.

tried 1.2.0 on MacOS and the same error happens

I'm shipping 1.2.1-beta.2 which should have the TLS feature enabled, please give it a try once it's available!


Cache hit/miss logging

Can we get some logging implemented?
1st request:

Cache miss: my_fragment

2nd request:

Cache hit: my_fragment

Sorry, was using the caching incorrectly. I see it already reports read/write in the logs.


Make install.py run git clone by default for all urls in txt file

make install auto run "git clone" cmd since they are all git repos in files.

discontinue issue as feature is now supported via .sh file


Add a test for embedded belongsTo create with id.

Ids for embedded beolongsTo aren't being sent when creating a record. My interpretation is that setting post: {serialize: 'id', deserialize: 'records'} in the serializer should allow the embedded record to work on retrieve but also allow the id to be set on create / update. The test shows that ED is sending null instead of the id.
I've included a couple of other cleanups / fixes in the PR. The belongsTo create is the relevant test. Any thoughts here?

Is #115 related?

or, more specifically, https://github.com/emberjs/data/issues/3360

It didn't work with EDA 0.5.6 / ED 1.0.0-beta.18 as well so I suspect that it's not emberjs/data#3360. I'll have to keep digging.

Ok, so I was just doing it wrong. You need to set the full record and it will be serialized to the id. I've updated the test and it now passes. I think it's useful to have this in the integration tests as an example of how to do this.

Agreed.


[bug]on removing one bookmarked article ,other bookmarked articles icon is flicking and the only one news is getting removed from the list.

steps to reproduce:
1.go to newscout web app and login
2. click on the user id menu from the right side of the page.
3.click on my bookmark, the user will be redirected to the bookmark list page
4.click on any bookmarked icon for removing the bookmarked article.
5.check the flicking behavior of the icon.

tested it. working properly.


WHITESPACE_ONLY compilation deletes "use strict" directive (so do Simple and Advanced)

Simple example from the heroes at MDN:
"use strict";
delete Object.prototype; // error!

Compiling at the WHITESPACE_ONLY level – both in the online app and the 2016-09-11 jar – yields:
delete Object.prototype;

This is unexpected, and alarming, given that the W_O compilation level is documented thusly:

...removes comments from your code and also removes line breaks, unnecessary spaces, extraneous punctuation (such as parentheses and semicolons), and other whitespace. The output JavaScript is functionally identical to the source JavaScript.

"use strict"; is neither whitespace nor punctuation. As you know, it's a directive prologue that has various functional and semantic implications. It's code.
Workarounds:
With the Java app, either of these output flags will preserve "use strict";:
--language_out=ECMASCRIPT5_STRICT

--language_out=ECMASCRIPT6_TYPED

...but it should always be preserved even without those flags, which aren't salient to users of the online app anyway. It might be a good idea to have a specific flag for how to handle strict mode directives, but the default should be to leave them be, at all compilation levels. I can't imagine most users expect Closure to delete their strict mode directives.
(Technically, it might not be preserving the directive with the above flags – it might be adding the directive after it has deleted it. I haven't tested ECMASCRIPT5_STRICT, for example, with an input file that doesn't already have "use strict";, but I assume it will add it to such a file. So it might be a delete-then-recreate scenario above.)
Triangulation:
To isolate this better, and for general fun times, I tried these other directive prologues:
"use asm";

"use me";

They are both preserved by WHITESPACE_ONLY, both in the online app and jar (with no output language defined). "use asm"; is the directive prologue for asm.js, and "use me"; is completely made up. Yet it preserves both of them – one real and one meaningless – but it deletes "use strict";, the most common directive prologue by far. This implies the code is specifically targeting "use strict"; for deletion.
NOTE: I haven't tested a wide variety of code samples or looked for possible exceptions to the problematic behavior. For example, I don't know if it keeps "use strict"; when it's nested deep in a 200 KiB JS file, or if any other aspects of the code influence what it does with the directive. It has deleted it in every sample I tested, but they were relatively short JS programs – the shortest being the MDN example I provided above. The Simple and Advanced compilation levels also deleted it.

It does appear misleading for WHITESPACE_ONLY. The SIMPLE and ADVANCED mode behaviors are by design however. When doing non-trivial transformation on sources (including function inlining), "use strict" directives become problematic.
As you noted, the combined script will contain a "use_strict" directive if the output mode is set to one of the strict modes: ECMASCRIPT5_STRICT, ECMASCRIPT6_STRICT and ECMASCRIPT6_TYPED.
There was an old issue on google code that documented our approach to "use_strict", but it will take some digging for me to find it.

I should mention that the default output language is currently ECMASCRIPT3 ☹

Interesting. By the way, I didn't know there was an ECMASCRIPT6_STRICT output lang option. It's not listed in the command line help as an output lang option, but I do see it as an input lang option. I haven't tried it for output yet.

We don't support ES6 as an output language just yet, unfortunately.

More testing... it's very thorough at removing all instances of "use strict";
I took this random, enormous (but already minified) 295 KiB Disqus js file: http://a.disquscdn.com/next/embed/common.bundle.a2940a1a08ddf8af5661c328f4868286.js
And put it through WHITESPACE_ONLY in the online app, which results in this output:
http://closure-compiler.appspot.com/code/jsc13141ed296ddf4e915dc5c828519f66c/default.js
There were 129 instances of "use strict"; in the original, and it deleted every single one of them.
(Trivia: It only shaved 642 bytes off the already-minified 301,929 byte file, even though 129 × 13 = 1,677 bytes. So whatever it did apart from deleting all the 13-byte "use strict"; directives actually increased the file size, which was offset by those deletions. I guess that's not surprising given that it was already a solid block o' minified JS, and Closure was just shuffling some things around and had no real purchase for whitespace reduction.)

Yes, minifying already-minified code is not likely to do much.

@JoeArizona, the description of issue #2068 may help you understand the 'use strict' behavior here.

I'm closing this - it's not well understood, but it is by design.


Have an setup function being run before each test

If a .cairo file contains a function named __setup__, execute it before executing the test.
Ideas on how to implement it:
Add a before_first_step hook in the VM, in run_until_pc, that will push a call to setup by storing current fp and pc in memory and moving pc to the address of __setup__ (simulating a call).
Note: this won't be useful until we have starknet integration in cairo-rs

If a .cairo file contains a function named __setup__, execute it before executing the test.
Ideas on how to implement it:
Add a hook in the VM, in either run_until_pc, that will push a call to setup by storing current fp and pc in memory and moving pc to the address of __setup__ (simulating a call).

We aim to create a DX-friendly testing experience. To achieve that, we'll need to access important moments of the execution process.
Namely, we'd like to have these known test utils: beforeAll, afterAll, beforeEach ( ✅ we have this pre_step_instruction), afterEach
The before_run hook would be the equivalent of beforeAll and similar hooks. It would run at the very beginning of your process (per test function, i.e. per run). It does not need to execute hints (such as mocking etc.) just yet.
The aim of this issue is to invest brain power in proposing a sound strategy to properly hook into this particular step of the execution process.

Naming between before_first_step and before_run is up for debate:)!
We just need something consistent

After assessment, before_run and before_first_step are not exactly the same! Let's start with before_first_step


On Length Normalization in the Code

Congratulations on creating such elegant and effective work! Could you please indicate where the length normalization of the response log probability, as mentioned in the paper, is implemented in the code? I have checked the simplepo_trainer but couldn't find this part of the code. Thank you for your response.
`def simpo_loss(
self,
policy_chosen_logps: torch.FloatTensor,
policy_rejected_logps: torch.FloatTensor,
) -> Tuple[torch.FloatTensor, torch.FloatTensor, torch.FloatTensor]:
"""Compute the SimPO loss for a batch of policy model log probabilities.
    Args:
        policy_chosen_logps: Log probabilities of the policy model for the chosen responses. Shape: (batch_size,)
        policy_rejected_logps: Log probabilities of the policy model for the rejected responses. Shape: (batch_size,)

    Returns:
        A tuple of three tensors: (losses, chosen_rewards, rejected_rewards).
        The losses tensor contains the SimPO loss for each example in the batch.
        The chosen_rewards and rejected_rewards tensors contain the rewards for the chosen and rejected responses, respectively.
    """
    pi_logratios = policy_chosen_logps - policy_rejected_logps
    gamma_logratios = self.gamma / self.beta
    pi_logratios = pi_logratios.to(self.accelerator.device)
    logits = pi_logratios - gamma_logratios

    if self.loss_type == "sigmoid":
        losses = (
            -F.logsigmoid(self.beta * logits) * (1 - self.label_smoothing)
            - F.logsigmoid(-self.beta * logits) * self.label_smoothing
        )
    elif self.loss_type == "hinge":
        losses = torch.relu(1 - self.beta * logits)
    else:
        raise ValueError(
            f"Unknown loss type: {self.loss_type}. Should be one of ['sigmoid', 'hinge']"
        )

    chosen_rewards = self.beta * policy_chosen_logps.to(self.accelerator.device).detach()
    rejected_rewards = self.beta * policy_rejected_logps.to(self.accelerator.device).detach()

    return losses, chosen_rewards, rejected_rewards`

Perhaps here: https://github.com/princeton-nlp/SimPO/blob/4e5d6d7ea16828770eb429ef33983fbf2f96b389/scripts/simpo_trainer.py#L89

Perhaps here:
https://github.com/princeton-nlp/SimPO/blob/4e5d6d7ea16828770eb429ef33983fbf2f96b389/scripts/simpo_trainer.py#L89

Yes, this is correct!

Perhaps here:
https://github.com/princeton-nlp/SimPO/blob/4e5d6d7ea16828770eb429ef33983fbf2f96b389/scripts/simpo_trainer.py#L89

Yes, this is correct!

I got it, thanks.


DatePicker: use currentPlacement data instead of placement prop

See: https://github.com/ElemeFE/element/issues/21943

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

closed in favour of #21908


V10: Double Check Wall Height compatibility

After the v10 update, Wall Height compatibility will most likely break, give me a shout if you need any APIs to be added

I did and it works


Document or Fix oddities in the test utilities

I'm working on #1916 right now.
I've encountered some oddities with the utilities, for example:
pub fn read_size(child: &mut Child, size: usize) -> String {
    let mut output = Vec::new();
    output.resize(size, 0);
    sleep(Duration::from_secs(1));
    child
        .stdout
        .as_mut()
        .unwrap()
        .read(output.as_mut_slice())
        .unwrap();
    String::from_utf8(output).unwrap()
}

The API of this function implies that size bytes are read from the Child, however .read doesn't make such a guarantee.
This should be documented, or another function such as read_exact should be used to guarantee this property.
In other places errors are simply ignored
 pub fn read(&self, name: &str) -> String {
        let mut f = self.open(name);
        let mut contents = String::new();
        let _ = f.read_to_string(&mut contents);
        contents
    }

This code should crash on error ^, but it just goes on.

This should be a relatively high priority. I've confirmed at least 1 bug in the tests originating here.
Here:
        let _ = f.read_to_string(&mut contents);

Encoding errors are ignored, and an empty string is returned.
Accordingly:
#[test]
fn test_utf8() {
    new_ucmd!()
        .args(&["-lwmcL"])
        .pipe_in_fixture("UTF_8_test.txt")
        .run()
        .stdout_is(" 0 0 0 0 0\n");
    // GNU returns "  300  2086 22219 22781    79"
    // TODO: we should fix that to match GNU's behavior
}

Asserts all 0, even if it shouldn't. Manually running wc also confirms this is wrong.


rename molochconfig.h to arkimeconfig.h, include prefix in config.h

see if we can build both a /opt/arkime and /data/moloch and have life work out

the beginning of the end


Bug: Changing Mongod Log Location causing service failure when using replicaset recipe

Hi,
I tried to use the replicaset recipe with custom log location, and the service is failing for any location other than default location(/var/log/mongod).
To reproduce this, define the attributes node['mongodb']['config']['mongod']['systemLog']['path'] to '/opt/mongo-log' on replicaset1, replicaset2, replicaset3 test-suites in kitchen.yml and run kitchen converge on above instances.

I was able to resolve it by explicitly creating the log-directory before running the 'replicaset' recipe.


OS X Big Sur M1 compilation problem (and solution)

Does not compile on new m1 apple silicon macs. This is due to clang not understanding the -march=native flag in the makefile, which is not implemented yet by Apple.
❯ which clang
/usr/bin/clang
❯ clang --version
Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)
Target: arm64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Solution:
edit makefile,
replace this:
CFLAGS = -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result
with this:
CFLAGS = -lm -pthread -O3 -Wall -funroll-loops -Wno-unused-result
Compiles fine.

Thanks! the arch is arm64 and the OS darwin, so it should be possibile to edit the makefile as follows
uname_p := $(shell uname -p)
ifeq ($(UNAME_S),Darwin) && ($(uname_p),arm64)
    CFLAGS = -lm -pthread -O3 -Wall -funroll-loops -Wno-unused-result
else
    CFLAGS = -lm -pthread -O3 -march=native -Wall -funroll-loops -Wno-unused-result
endif

but you should try it out to confirm it works!


lifecycle/deletemarker_expiration: Increase timer window

Increase wait time in test_lifecycle_deletemarker_expiration(..) to avoid any spurious failure.
Signed-off-by: Soumya Koduri<EMAIL_ADDRESS>

cherry-picked to ceph-master


requires:[] property in module.json

What is the purpose of the parameter
requires: []

in the module.json file?

Hi,
That used to be for requiring other packages, though I think it's not used anymore now.

I'll close this as there hasn't been a reply in a while, feel free to comment if needed.


report thinks path elements with spaces added before plugin load were added by plugin

I have a plugin which doesn't add to $PATH. Running zinit report on it says the plugin adds elements to $PATH. The specific elements it lists are all elements in $PATH with spaces (escaped or not) in their paths.
To Reproduce
Have some PATH elements with spaces, then import a plugin, then run report on the plugin.
# .zshrc
# ---snip---
export PATH="some/path with unescaped/space:$PATH"
export PATH=some/path\ with\ escaped/space:$PATH
zinit load some/plugin/that/does/not/touch/path

% zinit report some/plugin/that/does/not/touch/path
# ---snip---
PATH elements added:
some/path with unescaped/space
some/path with escaped/space
# ---snip---

Note the order. This will not reproduce the bug:
# .zshrc
# ---snip---
zinit load some/plugin/that/does/not/touch/path
export PATH="some/path with unescaped/space:$PATH"
export PATH=some/path\ with\ escaped/space:$PATH

Expected behavior
zinit report only lists PATH elements added by the plugin.
Versions:

$ZSH_VERSION == 5.8
Operating system name and version (uname -a): macOS 10.14 (Darwin Kernel Version 18.7.0: Thu Jan 23 06:52:12 PST 2020; root:xnu-4903.278.25~1/RELEASE_X86_64 x86_64)

And I ran zinit self-update today.
Additional context
Discovered running zinit report on zsh-abbr. Haven't tested every plugin I'm using, but confirmed that it does happen with fast-syntax-highlighting and does not (edit! I initially wrote "does") happen with zsh-prompt-benchmark.

I've fixed the problem, thanks.

😮 🏃♂🏅fastest bug fix ever
Confirmed it's fixed. Sorry for the duplicate issue, didn't see it when I searched


Add support for lines of codes per binary

Need to find the lines of codes per binary.
godep shows the packages that were imported.
Please add the support to show the lines of codes imported for a binary.

✋


bug: Hive async kwarg unexpected keyword when connecting to Databricks Unity Catalog

Hello! I'm currently getting an error from this line: https://github.com/apache/superset/blob/master/superset/db_engine_specs/hive.py#L548 when running a query in sqllab against a databricks unity catalog table. The error is in the screenshot. I think the async kwarg might be outdated and may have been referenced in one of the installed packages on an older version, but now it is no longer recognized. Wondering if I need to pin a package to an older version but I'm not sure how to find which package is implementing execute and which version it should be on. I'm on all the required versions by superset (https://github.com/apache/superset/blob/master/requirements/base.txt)
How to reproduce the bug

Create a Databricks unity catalog database connection (right now I have all permissions allowed on the tables so it's not a permissions issue)
Try to query any table from unity catalog
Find logs in kubernetes pods that show the above description

Expected results
Connect to Databricks Unity Catalog and display data.
Actual results
Unable to show results from the tables.
Screenshots

Environment
(please complete the following information):

browser type and version: Chrome
superset version: building image off of this sha
python version: Python 3.9.17

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

I am believing that one of the python packages has a breaking change. Here is my pip freeze:
# Editable install with no version control (apache-superset==0.0.0.dev0)
-e /app
Babel==2.9.1
Brotli==1.0.9
Deprecated==1.2.13
Flask-AppBuilder==4.3.3
Flask-Babel==1.0.0
Flask-Caching==1.10.1
Flask-Compress==1.13
Flask-Cors==3.0.10
Flask-JWT-Extended==4.3.1
Flask-Limiter==3.3.1
Flask-Login==0.6.0
Flask-Migrate==3.1.0
Flask-SQLAlchemy==2.5.1
Flask-WTF==1.0.1
Flask==2.2.5
Jinja2==3.1.2
Mako==1.2.4
Markdown==3.3.4
MarkupSafe==2.1.1
Pillow==9.5.0
PyHive==0.6.5
PyJWT==2.4.0
PyMeeus==0.5.11
PyNaCl==1.5.0
PyYAML==5.4.1
Pygments==2.15.0
SQLAlchemy-Utils==0.38.3
SQLAlchemy==1.4.36
WTForms-JSON==0.3.5
WTForms==2.3.3
Werkzeug==2.3.3
XlsxWriter==3.0.7
alembic==1.6.5
amqp==5.1.0
apispec==6.3.0
asn1crypto==1.5.1
astroid==2.6.6
asttokens==2.2.1
async-timeout==4.0.2
attrs==23.1.0
auth0-python==3.19.0
backcall==0.2.0
backoff==1.11.1
bcrypt==4.0.1
billiard==<IP_ADDRESS>
boto3==1.26.130
botocore==1.29.130
cached-property==1.5.2
cachelib==0.4.1
celery==5.2.2
certifi==2023.5.7
cffi==1.15.1
chardet==5.1.0
charset-normalizer==3.1.0
click-didyoumean==0.3.0
click-option-group==0.5.5
click-plugins==1.1.1
click-repl==0.2.0
click==8.1.3
colorama==0.4.6
convertdate==2.4.0
cron-descriptor==1.2.24
croniter==1.0.15
cryptography==39.0.1
databricks-sql-connector==2.8.0
decorator==5.1.1
deprecation==2.1.0
dnspython==2.1.0
email-validator==1.1.3
et-xmlfile==1.1.0
executing==1.2.0
filelock==3.12.2
flask-talisman==1.0.0
func-timeout==4.3.5
future==0.18.3
geographiclib==1.52
geopy==2.2.0
gevent==22.10.2
greenlet==2.0.2
gunicorn==20.1.0
hashids==1.3.1
hijri-converter==2.2.4
holidays==0.23
humanize==3.11.0
idna==3.2
ijson==3.2.0.post0
importlib-metadata==6.6.0
importlib-resources==5.12.0
ipython==8.12.2
isodate==0.6.0
isort==5.12.0
itsdangerous==2.1.2
jedi==0.18.2
jmespath==1.0.1
jsonlines==3.1.0
jsonschema==4.17.3
kombu==5.2.4
korean-lunar-calendar==0.2.1
lazy-object-proxy==1.9.0
limits==3.4.0
linear-tsv==1.1.0
lz4==4.3.2
markdown-it-py==2.2.0
marshmallow-sqlalchemy==0.23.1
marshmallow==3.19.0
matplotlib-inline==0.1.6
mccabe==0.6.1
mdurl==0.1.2
msgpack==1.0.2
mysqlclient==2.1.0
nh3==0.2.11
numpy==1.23.5
oauthlib==3.2.2
openpyxl==3.1.2
ordered-set==4.1.0
oscrypto==1.3.0
packaging==23.1
pandas==2.0.3
paramiko==2.11.0
parsedatetime==2.6
parso==0.8.3
pexpect==4.8.0
pgsanity==0.2.9
pickleshare==0.7.5
polyline==2.0.0
prison==0.2.1
progress==1.6
prompt-toolkit==3.0.38
psycopg2-binary==2.9.6
psycopg2==2.9.6
ptyprocess==0.7.0
pure-eval==0.2.2
pure-sasl==0.6.2
pyOpenSSL==23.2.0
pyarrow==12.0.0
pyasn1-modules==0.3.0
pyasn1==0.5.0
pycparser==2.20
pycryptodomex==3.18.0
pydruid==0.6.5
pyinstrument==4.4.0
pylint==2.9.6
pyparsing==3.0.6
pyrsistent==0.19.3
python-dateutil==2.8.2
python-dotenv==0.19.0
python-editor==1.0.4
python-geohash==0.8.5
python-ldap==3.4.3
pytz==2021.3
redis==4.5.4
requests==2.30.0
rfc3986==2.0.0
rich==13.3.4
s3transfer==0.6.1
sasl==0.3.1
selenium==3.141.0
shortid==0.1.2
simplejson==3.17.3
six==1.16.0
slack-sdk==3.21.3
snowflake-connector-python==3.0.4
snowflake-sqlalchemy==1.4.7
sortedcontainers==2.4.0
sqlalchemy-databricks==0.2.0
sqloxide==0.1.33
sqlparse==0.4.4
sshtunnel==0.4.0
stack-data==0.6.2
tableschema==1.20.2
tabulate==0.8.9
tabulator==1.53.5
thrift-sasl==0.4.3
thrift==0.16.0
toml==0.10.2
traitlets==5.9.0
typing_extensions==4.4.0
tzdata==2023.3
unicodecsv==0.14.1
urllib3==1.26.6
vine==5.0.0
wcwidth==0.2.5
wrapt==1.12.1
xlrd==2.0.1
zipp==3.15.0
zope.event==5.0
zope.interface==6.0

I'm also able to query Databricks Unity Catalog by using the databricks+connector dialect driver, but the schemas won't load in sqllab, you have to include the full catalog, schema, and table in the query. Ideally, I don't have to do this though as it isn't straightforward for our users. The schemas/tables show up using the databricks dialect driver, but the error I described above appears preventing me to query.

My proposal would be to remove the kwargs here https://github.com/apache/superset/blob/master/superset/db_engine_specs/hive.py#L548 and just do cursor.execute(query), I haven't tested this out as I'm not forking superset.

hi, i have same problom.
is this a bug right?
I have two workspaces, one is working and the other is having the same issue as this.

@doyeon1001 I think it's a bug? Hoping someone can look into it soon!

I would encourage to use https://github.com/databricks/databricks-sql-python
This is what databricks develops and supports. We are leveraging v2 I think, did not explore v3 of the connector.
Here is an example of the conn string:
databricks+connector://token:XXXXXXXXXX@company_name.cloud.databricks.com:port?catalog=default

In other section of the db conn you should also specify:
{"connect_args":{"http_path":"/sql/1.0/warehouses/id","catalog":"default"}}

Please give it a try and reopen the issue if you still experience it.
In terms of impersonation feature, I don't think databricks support that.

I believe this PR could help supporting Unity Catalog: https://github.com/apache/superset/pull/28393


Speed impact of ::get_problem_data

I know the package has just been updated with a lot of new changes especially to the internals of get_problem_data(). After updating my code and syntax, I am finding significant speed hits (evaluated using profvis, with upwards of ~10 times slower w.r.t. 0.99-7 in some iterative cases). Without getting too much into the technical implementation of my code; I was wondering if this was something known and if not let this be an early flag.

What happens if you don't use get_problem_data()? How fast is it? We're still in the process of updating some documentation, although we have made a comment to the effect that the old statements regarding get_problem_data() may no longer apply; see warning 2.  Very soon, we will also have warm starts.

Using get_problem_data() is definitely still faster than using without it - this applies to both 0.99-7 and 1; but version 1 (~1s) is remarkable slower than 0.99-7 (~0.6s). I read warning 2 and I agree/think it's fine if there was little to no speed increases with newer iterations; especially if the speed of the code is within 3 times the human reaction time. Let's keep this issue open, I'll post a watered down example of the code here for investigation -


Constant Smagorinsky halo size

@jm-c was right about Smagorinsky requiring a larger halo size than the rest of the code.
Running test_smag_divflux_finiteness(T) causes a BoundsError when trying to access index -1 which suggests we need halos of at least size 2.
We do support halos of arbitrary size in all three directions so it would be easy to increase the size of the halos if Smagorinsky is used as a closure. Just wanted to open this issue to see if this is what we wanted to do.
For now I'm skipping the test so it's showing up as broken.
Constant Smagorinsky: Error During Test at /home/alir/Oceananigans.jl/test/runtests.jl:466
  Test threw exception
  Expression: test_smag_divflux_finiteness(T)
  BoundsError: attempt to access OffsetArray(::Array{Float32,3}, 0:4, 0:4, 1:3) with eltype Float32 with indices 0:4×0:4×1:3 at index [3, -1, 2]
  Stacktrace:
   [1] throw_boundserror(::OffsetArray{Float32,3,Array{Float32,3}}, ::Tuple{Int64,Int64,Int64}) at ./abstractarray.jl:484
   [2] checkbounds at ./abstractarray.jl:449 [inlined]
   [3] getindex at /home/alir/.julia/packages/OffsetArrays/ruvC7/src/OffsetArrays.jl:130 [inlined]
   [4] ∂y_afa at /home/alir/Oceananigans.jl/src/closures/closure_operators.jl:8 [inlined]
   [5] ∂y_u(::Int64, ::Int64, ::Int64, ::RegularCartesianGrid{Float32,StepRangeLen{Float32,Float64,Float64}}, ::OffsetArray{Float32,3,Array{Float32,3}}) at /home/alir/Oceananigans.jl/src/closures/velocity_gradients.jl:14
   [6] Σ₁₂ at /home/alir/Oceananigans.jl/src/closures/velocity_gradients.jl:33 [inlined]
   [7] Σ₁₂² at /home/alir/Oceananigans.jl/src/closures/velocity_gradients.jl:44 [inlined]
   [8] Σ₁₂² at /home/alir/Oceananigans.jl/src/closures/velocity_gradients.jl:80 [inlined]
   [9] ▶x_caa at /home/alir/Oceananigans.jl/src/closures/closure_operators.jl:191 [inlined]
   [10] ▶y_aca at /home/alir/Oceananigans.jl/src/closures/closure_operators.jl:217 [inlined]
   [11] ▶xy_cca at /home/alir/Oceananigans.jl/src/closures/closure_operators.jl:275 [inlined]
   [12] ΣᵢⱼΣᵢⱼ_ccc at /home/alir/Oceananigans.jl/src/closures/constant_smagorinsky.jl:32 [inlined]
   [13] κ_ccc(::Int64, ::Int64, ::Int64, ::RegularCartesianGrid{Float32,StepRangeLen{Float32,Float64,Float64}}, ::ConstantSmagorinsky{Float32}, ::LinearEquationOfState{Float64}, ::Float64, ::OffsetArray{Float32,3,Array{Float32,3}}, ::OffsetArray{Float32,3,Array{Float32,3}}, ::OffsetArray{Float32,3,Array{Float32,3}}, ::OffsetArray{Float32,3,Array{Float32,3}}, ::OffsetArray{Float32,3,Array{Float32,3}}) at /home/alir/Oceananigans.jl/src/closures/constant_smagorinsky.jl:88
   [14] ▶y_afa(::Int64, ::Int64, ::Int64, ::RegularCartesianGrid{Float32,StepRangeLen{Float32,Float64,Float64}}, ::Function, ::ConstantSmagorinsky{Float32}, ::Vararg{Any,N} where N) at /home/alir/Oceananigans.jl/src/closures/closure_operators.jl:204
   [15] κ_∂y_ϕ(::Int64, ::Int64, ::Int64, ::RegularCartesianGrid{Float32,StepRangeLen{Float32,Float64,Float64}}, ::OffsetArray{Float32,3,Array{Float32,3}}, ::Function, ::ConstantSmagorinsky{Float32}, ::LinearEquationOfState{Float64}, ::Vararg{Any,N} where N) at /home/alir/Oceananigans.jl/src/closures/closure_operators.jl:482
   [16] ∂y_aca(::Int64, ::Int64, ::Int64, ::RegularCartesianGrid{Float32,StepRangeLen{Float32,Float64,Float64}}, ::Function, ::OffsetArray{Float32,3,Array{Float32,3}}, ::Vararg{Any,N} where N) at /home/alir/Oceananigans.jl/src/closures/closure_operators.jl:114
   [17] ∇_κ_∇ϕ(::Int64, ::Int64, ::Int64, ::RegularCartesianGrid{Float32,StepRangeLen{Float32,Float64,Float64}}, ::OffsetArray{Float32,3,Array{Float32,3}}, ::ConstantSmagorinsky{Float32}, ::LinearEquationOfState{Float64}, ::Vararg{Any,N} where N) at /home/alir/Oceananigans.jl/src/closures/closure_operators.jl:506
   [18] test_smag_divflux_finiteness(::Type) at /home/alir/Oceananigans.jl/test/test_turbulence_closures.jl:173
   [19] top-level scope at /home/alir/Oceananigans.jl/test/runtests.jl:466
   [20] top-level scope at /build/julia/src/julia-1.1.0/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
   [21] top-level scope at /home/alir/Oceananigans.jl/test/runtests.jl:464
   [22] top-level scope at /build/julia/src/julia-1.1.0/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
   [23] top-level scope at /home/alir/Oceananigans.jl/test/runtests.jl:427
   [24] top-level scope at /build/julia/src/julia-1.1.0/usr/share/julia/stdlib/v1.1/Test/src/Test.jl:1083
   [25] top-level scope at /home/alir/Oceananigans.jl/test/runtests.jl:20

That's a fine strategy for now since Smagorinsky cannot be used for any practical purpose at the moment on master.
This will be good to keep in mind when discussing #259: the halo or stencil size is a property of the equation being solved. This motivates implementing the equation abstraction as a type.

This issue is stale since we use a different strategy to calculate nonlinear viscosities now.

Can the test_smag_divflux_finiteness test be enabled or should we remove it?

It can, it needs either to be modified, or for the closures themselves to be modified to avoid spitting NaNs (constant Smagorinsky has the same issue as AMD in that fields cannot be constant, which is why this test was failing). I think it makes sense to modify the closure implementation to solve this problem, since I think the resulting behavior will actually be more correct (the NaN is a numerical issue rather than a mathematical feature of the model) and the computational cost of the if statements are hopefully in the noise.


Scrolls browser back to top when a different view is selected

closes #126

@mikeville When you get a sec, you can pull down dev.john and let me know if this sorts the issue you raised.

@johngribbin Looks good!


Updated mod_suexec formula for OS X El Capitan

@BrewTestBot test this please.

Thank you for your contribution to Homebrew @HapiCZ! :tada: