CSS Loader Invalid Options Error

When loading in a CSS file from node_modules using the next.config.js file here, the following error is generated on compile:
./node_modules/react-table/react-table.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
ValidationError: CSS Loader Invalid Options

options should NOT have additional properties

In referencing the suggestion from @truonghoangphuc here, I commented out minimize: !dev, in css-loader-config.js in<EMAIL_ADDRESS>const cssLoader = {
    loader: isServer ? 'css-loader/locals' : 'css-loader',
    options: Object.assign(
      {},
      {
        modules: cssModules,
        //minimize: !dev,
        sourceMap: dev,
        importLoaders: loaders.length + (postcssLoader ? 1 : 0),
      },
      cssLoaderOptions
    ),
  };

I've confirmed that commenting that line out makes CSS loading work again and the errors go away.

+1.  this error happend from css-loader 2.0.0

dont update to css-loader to v2. Inside using v1

Link related PR https://github.com/zeit/next-plugins/pull/350 to this issue.

cssLoaderOptions contains something wrong, can you do console.log(cssLoaderOptions)?

Also got this error while using withCss. Error disappeared after downgrading css-loader.

@sergaunt please create minimum reproducible test repo, thanks!

I also got this error while using withCss. Commenting out minimize and downgrading css-loader to v1.0.1 both solved the issue.

@szpasztor if you comment out minimze then you won't have minize file in the end right?

This workaround removes the minimize option from all css-loader entries in the Webpack config. I hope someone finds it useful.
// next.config.js
const withCSS = require('@zeit/next-css');

function HACK_removeMinimizeOptionFromCssLoaders(config) {
  console.warn(
    'HACK: Removing `minimize` option from `css-loader` entries in Webpack config',
  );
  config.module.rules.forEach(rule => {
    if (Array.isArray(rule.use)) {
      rule.use.forEach(u => {
        if (u.loader === 'css-loader' && u.options) {
          delete u.options.minimize;
        }
      });
    }
  });
}

module.exports = withCSS({
  webpack(config) {
    HACK_removeMinimizeOptionFromCssLoaders(config);
    return config;
  },
});

Using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I can confirm that hack is not needed with @zeit/next-css@canary.

i used the hack. sorted it right out. cheers.

I don't even have minimize option but still get the same error 😕

Installing packages via yarn solved the problem. What the heck? 🤯

npm cache

@evilebottnawi that was a fresh install. So I don't think that the problem is in cache

I ran into the same issue with next-less, upgrading to canary version also fixed it (as it depends on canary version of next-css). However, currently there seems to be a mismatch between versions and npm tag for canary versions of CSS-related packages as pointed out here: https://github.com/zeit/next-plugins/commit/12cd9d28905b63a1b90848f3e494dc3fb7465224#commitcomment-33755090.
So installing @zeit/next-css@canary gives you 0.2.1-canary.4 while the actual version of next canary release is 1.0.2-canary.2. I think the contents of packages should be the same, just pay attention if the package versions get corrected in the future.

@jnv Even when installing @zeit/next-css@canary it still complains

[ error ] ../node_modules/antd/dist/antd.less
ValidationError: Invalid options object. CSS Loader has been initialised using an options object that does not match the API schema.

Using
"@zeit/next-css": "^0.2.1-canary.4",
"@zeit/next-less": "^0.3.1-canary.4",

I'm trying to get Ant Design styles written in Less to be correctly imported, but to no avail. 😫

Same is with next-sass, loader needs fixing or updating.

Yep, I tried next-sass last night.

The solution from @marcusstenbeck  works, but I could not find minimize option inside css-loader in node_modules, or it is inside some other package...

I had this issue...
Upgrading to the latest next (9.0.7) introduced it..
Then upgrading to the latest @zeit/next-css (1.0.1) fixed it!

@andezzat Share your config/setup, because using the "latest" versions does not fix anything.
I've tried with all three packages and get the same result. You're getting different results than the rest of us.
"@zeit/next-css": "^1.0.1",
"@zeit/next-less": "^1.0.1",
"@zeit/next-sass": "^1.0.1",
...
"next": "^9.0.7",

// next.config.js
const withCSS = require('@zeit/next-css')
module.exports = withCSS()

./assets/styles.css
ValidationError: Invalid options object. CSS Loader has been initialised using an options object that does not match the API schema.
 - options has an unknown property 'minimize'. These properties are valid:
   object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals? }

@KnightYoshi Apologies, you're right!
I ran yarn add something to get a package, and suddenly it came back.
I'm pretty sure it only realised it needs<EMAIL_ADDRESS>the second pass around.
And now it's erroring again :)
I'm going to investigate why this minimize option isn't being dropped.

Ok... so here's what I know so far
I hope this is helpful to @zeit staff.

I'm on<EMAIL_ADDRESS>I update to<EMAIL_ADDRESS>& get the minimize css-loader error
I update to<EMAIL_ADDRESS>which fixes the issue as it removes the minimize flag from the options (despite using<EMAIL_ADDRESS>which has shouldn't error for this!)

What I reckon is causing this issue in<EMAIL_ADDRESS>is the addition of the<EMAIL_ADDRESS>& its usage in the webpack config's module.rules:
https://github.com/zeit/next.js/blob/2c7b4d8aaac475f81de21c0e9cb40fdea1a7a178/packages/next/build/webpack-config.ts#L339
That's as far as I have time to look into this...

next @9.0.6 does not have the issue either.

@wulfmann 9.0.5—9.0.7 all have the same issue. I started on 9.0.5 and upgraded to 9.0.6 and then 9.0.7. All of which generate the same CSS loader invalid config  issue.

@wulfmann & @KnightYoshi
As per my dissection comment above: please try installing<EMAIL_ADDRESS>Can confirm (tested multiple times), this fixed the issue for me!

@andezzat Still failing for me.

I can confirm using<EMAIL_ADDRESS>is working for me

Thanks @andezzat
Using<EMAIL_ADDRESS>works, same for<EMAIL_ADDRESS>and I assume the Sass one will as well (haven't tested, yet).

@andezzat Correction, I didn't upgrade @zeit/next-sass to the same canary release. After upgrading that, I no longer get the error — as long as I have<EMAIL_ADDRESS>If I upgrade to<EMAIL_ADDRESS>everything breaks:
Module not found: Can't resolve 'css-loader/locals'

No idea where this comes from, since there's no stack trace. It's odd, since my code doesn't reference css-loader at all, and Next.js already depends on 3.2. But presumably, if Next's WebPack config references css-loader by string, it will probably get it from my dependencies, not Next.js's?

This workaround removes the minimize option from all css-loader entries in the Webpack config. I hope someone finds it useful.
// next.config.js
const withCSS = require('@zeit/next-css');

function HACK_removeMinimizeOptionFromCssLoaders(config) {
  console.warn(
    'HACK: Removing `minimize` option from `css-loader` entries in Webpack config',
  );
  config.module.rules.forEach(rule => {
    if (Array.isArray(rule.use)) {
      rule.use.forEach(u => {
        if (u.loader === 'css-loader' && u.options) {
          delete u.options.minimize;
        }
      });
    }
  });
}

module.exports = withCSS({
  webpack(config) {
    HACK_removeMinimizeOptionFromCssLoaders(config);
    return config;
  },
});

Using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>
Installed Hack - worked for me

This has been fixed in<EMAIL_ADDRESS>and newer!

@Timer sure!
But shouldn't breaking changes like these be part of stable releases so people don't run around in circles like they did in this thread trying to figure out what's broken?

@andezzat is right. Next 9.0.7 is broken. It needs to be fixed.

@orourkea2017

This has been fixed in<EMAIL_ADDRESS>and newer!

It already is fixed. Just pending stable release. Please try it out.

A timeframe @timneutkens?? A bugfix is no use in beta.

The way you're communicating is kind of weird. But we don't release on weekends and no one communicated back that it works so we were waiting a bit to see if other issues pop up.

Okay, thank you. I apologise if I come across as strange - that was not my intention, although I know I am blunt at times. Sorry. I also did not realise it was a weekend - I am in Australia, and while we are on a weekend, I always think that everyone else is miles behind us time-wise. Again, sorry.
I take it we can expect this to be stable in a few days. Thank you, much appreciated.


Accept boolean value for additionalItems and additionalProperties

Prior to this change, additionalItems and additionalProperties only accepted an object.  The spec also allows boolean values for these properties.
This change introduces the TypeOrBool struct that can be unmarshalled into either a bool or Type.  This new struct simply embeds both these types.

Sorry, I've just checked the latest version of the spec... it appears that these fields no longer accept a boolean value.

I still see it listed here: https://json-schema.org/understanding-json-schema/reference/object.html#additional-properties . Are you sure it's no longer valid?

@bohlander, you are right, I didn't read the spec in full, but I opened a new PR to better address the boolean as type behaviour: #29.


Replace Carousel with Single Image in Product Cards

📘 Issue Description

🔍 Steps to Reproduce

✅ Acceptance Criteria

🌎 References

📜 Additional Notes

Can i work on this as soon as ODHack11 starts?


Manage overall memory usage from libscope

We want to enable users to manage the amount of memory utilized by libscope. The largest memory consumer are the ring buffers. We may want to start there.
Issue #93 requests control over buffers used for console data. We will close that issue in place of this as the concern is management of overall memory and not just console data.

A couple of my thoughts:

to control overall memory usage we must know how much memory we actually used by the libscope and distinguish it from the memory used by the scoped application
for heap - we can count allocated memory - an additional layer on malloc,realloc,calloc,free,strdup,mmap,munmap... called on the libscope side, where we have a counter of currently allocated memory
for bss and data segment we know this after compilation e.g. size libscope.so
getrusage ??
read /proc/<pid>/smaps ?
What action can we do to ensure that we don't hit the limit:
limit the size of circular buffer - which is defined at the constructor time
evict/flush the buffer ?

After a detailed design discussion, it becomes clear that the overall goal of enabling a user to describe a memory limit requires a bit of research. We need to establish a viable understanding of how to measure the memory used by the library and validate what we currently think the response should look like.
Therefore, we propose:

as a first step, we will merge PR 689 to provide user config of the number of queues used for metrics and events
we will close this issue
we will create a new issue that represent a spike enabling us to obtain the detail needed
once the spike is complete we will create an issue to define the steps needed to enable memory usage controls

I'm closing this ticket per @iapaddler's notes above.  PR #689 (actually issue #93) has been added to our project board, and #715 has been created to run a spike to figure out what's next.


resolved SAAS-3919: added support to skip suppressed ids

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.tzuriel seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


refactor: Reject BlockMessages eagerly

Description
Currently we may ignore BlockMessage::BlockCreated if it's view change index is less then view change index of control message received in same invocation of receive_network_packet function. E.g. currently we have such behaviour:
function receive_network_packet invoked
received block message with vc#1
received control message with vc#2
=> ignored block message with vc#1

This PR extends this behaviour to support more cases, e.g.:
function receive_network_packet invoked
received control message with vc#2

function receive_network_packet invoked
received block message with vc#1
=> ignored block message with vc#1

Linked issue
Closes #4223
Benefits
Checklist

[x] I've read CONTRIBUTING.md
[x] I've used the standard signed-off commit format (or will squash just before merging)
[ ] All applicable CI checks pass (or I promised to make them pass later)
[ ] (optional) I've written unit tests for the code changes
[ ] I replied to all comments after code review, marking all implemented changes with thumbs up

Rebased branch on main to update the PR to get it ready to be merged, but it broke DCO...
Sorry, I should had probably not done that.

Rebased branch on main to update the PR to get it ready to be merged, but it broke DCO...

I think something was changed in DCO, previously rebasing doesn't broke it


[feature] Dont follow redirects option

Version and OS
linux/docker
Is your feature request related to a problem? Please describe.
I'm monitoring a website (websiteA) that redirects to another website (websiteB) to ensure that website. A doesn't become malicious and suddenly redirects to a malicious websiteM. But the websiteB has too many changes per week, thus I have too many notifications per week.
Describe the solution you'd like
The easier way to fix this would be an option to dont follow redirects.
Describe the use-case and give concrete real-world examples
For example, this website only has this html:
curl http://ksuite.ch
Moved Permanently.

But the change-detector follows redirect and adds a noisy content that belongs to infomaniak.com (and not ksuite.ch).
With the "dont follow redirects" option, we could easyly monitor a website like ksuite.ch.
Thanks

nice idea!

This is useful when I want to monitor changes in a website's domain. Is there any other way to do this now?


Add some more tests for ops.c

Looks like this triggers an ASAN error.  Can you fix that?

Hi Bram,
On Sun, May 30, 2021 at 12:45 PM Bram Moolenaar @.***>
wrote:

Looks like this triggers an ASAN error. Can you fix that?

I am taking a look at the ASAN error. The netbeans_inserted() call in
op_addsub() is referring to a character which is already removed.
I will see how to address this. For now, I have commented out this test.

Yegappan


Allow (?) custom schemes on vanity imports

It should be possible to specify a custom scheme (http vs. https, possibly more) when relying on a vanity import source. But the deduction system poops out earlier than it should. Specifically, this check is wrong because it's actually failing on the wrong kind of error - we should be getting this error back, but we never actually make it that far.

At least...it seems like specifying such a scheme should be possible. Maybe it shouldn't be. That's something we may want to figure out here, too 😄

This issue was moved to golang/dep#414


Randomness should not be manipulatable by a new validator signer

Expected Behavior
It should not be controllable by the validator signer
Current Behavior
New validator signers on their first block can pick whatever randomness they want.

Turns out I misinterpreted the contract, the first randomness is revealed as 0x0 which does not give the ability for manipulation


Can not put client as an internal project in another solution which uses cmake

Make the cmake depend on the project source directory rather than cmake source d'rectory to allow for out client to be embedded into another solution.
fixes #332

Test PASSed.


source_array must be array like object

Hi!
I got following error when try some demo code,
>>> import mxnet as mx
>>> mx.__version__
'0.9.3'
>>> a=mx.nd.array([1,2,3])
>>> b=mx.nd.array(a)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/haria/anaconda2/lib/python2.7/site-packages/mxnet-0.9.3-py2.7-linux-x86_64.egg/mxnet/ndarray.py", line 1121, in array
    raise TypeError('source_array must be array like object')
TypeError: source_array must be array like object

I thought the usage is fine since there is no problems in numpy, but a TypeError occur
>>> import numpy as np
>>> aa=np.array([1,2,3])
>>> bb=np.array(aa)
>>>

Is that normal?
Best Regards,
Haria

This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks!


Error when building for device

I'm using this method to get an object named "data"
.responseObject("data") { (response: Response) in
everything works fine if I build for the simulator but when I try to build for device i get this error
Missing argument label 'queue:' in call
It's like it is using a different kind of method that requires a queue.

Alamofire now requires new parameter keywords. In your case, you need to insert keyPath: . It should look like:
.responseObject(keyPath: "data") { (response: Response) in

Why if I build for simulator I don't get this error and if I build for device I get it?
If I try to put the keypath i'm not able to build for simulator

It shouldn't be any different. You might need to clean your project.

I found out that was an outdated version of the facebook sdk that is including alamofire


latex and header/footer directives in v0.17.1

Thank you for maintaining this great app! It seems that latex ($eqn$) and header/footer directives conflict when they are used at the same time. I am using Win10 and marp-vscode still works well with 0.17.0.

I've tried to make reproduce your situation in v0.17.1 but it does not see like bringing confliction. What the input and the output you are expecting?

Thanks! I think the updation of marp-team/marp-core#212 has made something bad. Please keep using v0.17.0 if you required to create slides with math + header and footer. Sorry for the inconvinience!

@jonghyunharrylee Fixed in Marp Core v1.4.3, and has bundled into the latest extension release v0.17.2. Please update your extension to the latest!

With v0.17.2 It is working as expected. Thank you!!


Ansible playbook doesn't run in Morphy - unable to load psutil error

I get the following error when using latest morphy and trying to run ansible playbook on localhost.
sh-4.4# cat ansible-runner20220720-308-ncvttv/artifacts/result/stdout
Identity added: /tmp/ansible-runner20220720-308-ncvttv/artifacts/result/ssh_key_data (/tmp/ansible-runner20220720-308-ncvttv/artifacts/result/ssh_key_data)
ansible-playbook [core 2.12.5]
  config file = /root/.ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.8/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible-playbook
  python version = 3.8.12 (default, Sep 16 2021, 10:46:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]
  jinja version = 2.10.3
  libyaml = False
Using /root/.ansible.cfg as config file
host_list declined parsing /tmp/ansible-runner20220720-308-ncvttv/inventory/hosts as it did not pass its verify_file() method
script declined parsing /tmp/ansible-runner20220720-308-ncvttv/inventory/hosts as it did not pass its verify_file() method
auto declined parsing /tmp/ansible-runner20220720-308-ncvttv/inventory/hosts as it did not pass its verify_file() methodParsed /tmp/ansible-runner20220720-308-ncvttv/inventory/hosts inventory source with ini plugin
ERROR! Unexpected Exception, this is probably a bug: cannot import name '_psutil_linux' from partially initialized module 'psutil' (most likely due to a circular import) (/usr/lib64/python3.6/site-packages/psutil/__init__.py)
the full traceback was:

Traceback (most recent call last):
  File "/usr/bin/ansible-playbook", line 128, in <module>
    exit_code = cli.run()
  File "/usr/lib/python3.8/site-packages/ansible/cli/playbook.py", line 137, in run
    results = pbex.run()
  File "/usr/lib/python3.8/site-packages/ansible/executor/playbook_executor.py", line 119, in run
    self._tqm.load_callbacks()
  File "/usr/lib/python3.8/site-packages/ansible/executor/task_queue_manager.py", line 173, in load_callbacks
    self._stdout_callback = callback_loader.get(self._stdout_callback)
  File "/usr/lib/python3.8/site-packages/ansible/plugins/loader.py", line 807, in get
    return self.get_with_context(name, *args, **kwargs).object
  File "/usr/lib/python3.8/site-packages/ansible/plugins/loader.py", line 827, in get_with_context
    self._module_cache[path] = self._load_module_source(name, path)
  File "/usr/lib/python3.8/site-packages/ansible/plugins/loader.py", line 791, in _load_module_source
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3.6/site-packages/ansible_runner/callbacks/awx_display.py", line 44, in <module>
    from display_callback import AWXDefaultCallbackModule  # noqa
  File "/usr/lib/python3.6/site-packages/ansible_runner/display_callback/__init__.py", line 21, in <module>
    from . import cleanup  # noqa (registers control persistent cleanup)
  File "/usr/lib/python3.6/site-packages/ansible_runner/display_callback/cleanup.py", line 27, in <module>
    import psutil
  File "/usr/lib64/python3.6/site-packages/psutil/__init__.py", line 100, in <module>
    from . import _pslinux as _psplatform
  File "/usr/lib64/python3.6/site-packages/psutil/_pslinux.py", line 26, in <module>
    from . import _psutil_linux as cext
ImportError: cannot import name '_psutil_linux' from partially initialized module 'psutil' (most likely due to a circular import) (/usr/lib64/python3.6/site-packages/psutil/__init__.py)

@kTipSSIoYv Do you have an example playbook that shows this problem?

None of the playbook works. The solution seems to be uninstall and reinstall psutil using both pip3.6 and pip3.8
Here is one of my sample playbook.

---
- name: Create files
  hosts: all
  gather_facts: false

  tasks:
  - name: Creating an empty file
    file:
      path: "/tmp/{{ filename }}"
      state: touch

Yes, I found a similar solution online - playing around with this now.

@Fryguy Which pip3 version does Morphy version uses? Is it pip 3.6 or 3.8 if I have to install packages?

Related discussion: https://github.com/ManageIQ/manageiq/discussions/22025

Fixed via the above 3 PRs

Also https://github.com/ManageIQ/manageiq/pull/22047


x/vgo: inconsistent handling of vendor directory

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.10 darwin/amd64 vgo:2018-02-20.1
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
Please see this example repository: https://github.com/artyom/vgo-test1
There are two files: main.go importing golang.org/x/image/tiff and go.mod specifying dependency.
It seems that currently result of the vgo test all execution depends on whether vendor directory present or not. If there's no vendor directory, test succeeds:
vgo-test1 (master) ¶ vgo test all
?   	github.com/artyom/vgo-test1	[no test files]
ok  	golang.org/x/image/tiff	(cached)
?   	golang.org/x/image/tiff/lzw	[no test files]

After vgo vendor call that populates vendor directory, vgo test all fails because testdata is not vendored (while *_test.go files are):
vgo-test1 (master) ¶ vgo vendor
vgo-test1 (master) ¶ find vendor -name testdata
vgo-test1 (master) ¶ find vendor -name \*_test.go
vendor/golang.org/x/image/tiff/writer_test.go
vendor/golang.org/x/image/tiff/buffer_test.go
vendor/golang.org/x/image/tiff/reader_test.go

It seems that vgo should either vendor testdata directories or ignore them completely as stated in introductory tour:

In order to provide for a graceful transition, vgo-based builds ignore vendor directories entirely [...]

What did you expect to see?
vgo-test1 (master) ¶ vgo vendor
vgo-test1 (master) ¶ vgo test all
?   	github.com/artyom/vgo-test1	[no test files]
ok  	golang.org/x/image/tiff	(cached)
?   	golang.org/x/image/tiff/lzw	[no test files]

What did you see instead?
vgo-test1 (master) ¶ vgo vendor
vgo-test1 (master) ¶ vgo test all
?   	github.com/artyom/vgo-test1	[no test files]
--- FAIL: TestNoRPS (0.00s)
	reader_test.go:47: open ../testdata/no_rps.tiff: no such file or directory
--- FAIL: TestNoCompression (0.00s)
	reader_test.go:57: open ../testdata/no_compress.tiff: no such file or directory
--- FAIL: TestShortBlockData (0.00s)
	reader_test.go:85: open ../testdata/bw-uncompressed.tiff: no such file or directory
--- FAIL: TestDecodeInvalidDataType (0.00s)
	reader_test.go:111: open ../testdata/bw-uncompressed.tiff: no such file or directory
--- FAIL: TestDecode (0.00s)
	reader_test.go:155: open ../testdata/video-001.png: no such file or directory
--- FAIL: TestDecodeLZW (0.00s)
	reader_test.go:185: open ../testdata/blue-purple-pink.png: no such file or directory
--- FAIL: TestDecodeTagOrder (0.00s)
	reader_test.go:200: open ../testdata/video-001.tiff: no such file or directory
--- FAIL: TestDecompress (0.00s)
	reader_test.go:225: decoding bw-uncompressed.tiff: open ../testdata/bw-uncompressed.tiff: no such file or directory
--- FAIL: TestZeroBitsPerSample (0.00s)
	reader_test.go:264: open ../testdata/bw-deflate.tiff: no such file or directory
--- FAIL: TestTileTooBig (0.00s)
	reader_test.go:292: open ../testdata/video-001-tile-64x64.tiff: no such file or directory
--- FAIL: TestRoundtrip (0.00s)
	writer_test.go:43: open ../testdata/video-001.tiff: no such file or directory
FAIL
FAIL	github.com/artyom/vgo-test1/vendor/golang.org/x/image/tiff	0.012s
?   	github.com/artyom/vgo-test1/vendor/golang.org/x/image/tiff/lzw	[no test files]
ok  	golang.org/x/image/tiff	(cached)
?   	golang.org/x/image/tiff/lzw	[no test files]

I think if we prune vendored deps, then we should not include *_test.go files. I don't think there is way for go to know what directories/files are used in tests consistently.

It's important to keep the tests.  The testdata issue is interesting. We could just keep all the testdata directories in parent directories of copied packages too.


Guava 23 for DW 1.2?

Just checked the Release candidate. It is on Guava 22
I very much know how much of a pain Guava can be. Most of our codebases currently managed to settle on 23 as common denominator. Is there anything that holds back upgrading to 23 for DW 1.2?

Looks like there is no breaking changes, so I'm :+1: for upgrading to gauva 23


⚠ Bofrost.at has degraded performance

In 113057d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2071 ms

Resolved: Bofrost.at performance has improved in eabbd5d.


Support showing only jobnames on non-successful jobs

I'd rename the config key to showJobsNameOnlyOn.
I'd always suggest a use case in the description for more complicated configuration items:

// Only show job names for specific job statuses.
// Valid values are: 'created', 'pending', 'running', 'failed','success', 'canceled', 'skipped' or 'manual'.
// This is an example that shows job names only for jobs with a non-success status:

There we go @timoschwarzer , changed accordingly to feedback.

Thank you!


Any clues as to equivalent for this

Calling programs through wsdl in flex mxml but need to use apache royale equivalent but not seeing anything with all these options.  Any ideas?
<js:WebService id="SessionEngine"
fault="faultHandler(event)"
result="resultHandler(event)"
invoke="invokeHandler(event)"
load="headers()"
wsdl="StockSrv.wsdl" useProxy="false">
<js:operation name="ACTION_LOGIN"/>
<js:operation name="ACTION_VALDATE_INQ"/>
<js:operation name="ACTION_VALDATE_UPD"/>
<js:operation name="ACTION_ENTER_INVENT"/>
</js:WebService>
import mx.rpc.soap.SOAPHeader;

Hi,
don't remember flex WebService was migrated. Maybe I'm wrong and others could say more. HTTPServiceand RemoteObject(AMF) came due to people interested in migrate that code. Maybe you're the first one for WS. Hopefully WS should be more easy to migrate since is more standard. You could evaluate start this effort and contribute to Royale.

I would do that but my problem is I had very limited exposure to flex a long time back so I am trying to keep my head above water but if you could give me some guidance on how to start I could give it a shot if no one has actually completed this type of task I will need to.

Hi, that would be great :). I think others in the team could guide you better than I. I only used flex WS a couple of times when I was learning flex around 2003-2005, so it's not something I control. So hope others assist you in this task.
My advice for now is that you search for javascript solutions for consuming web services. Once you have located some JS way to do that, you can figure how to wrap it in Royale and use it from your App. Then a next step could be try to model your solution as close as possible as flex one in terms of class names, properties, so you can migrate your code. HTH at least for now :)

AFAIK, we have not tried to emulate WebService in Royale.  Things like this only get done when somebody asks for it.  I wasn't sure if people were replacing their SOAP/WSDL backends with something else.
I've got one other thing I'm working on, then I'll see what it takes to get it working.  The Flex SOAP code seems to use flash.xml.XMLDocument so that will be the big thing to replace/emulate.

Thank you
Get Outlook for iOShttps://aka.ms/o0ukef

From: aharui<EMAIL_ADDRESS>Sent: Sunday, September 1, 2019 1:03:45 AM
To: apache/royale-asjs<EMAIL_ADDRESS>Cc: wrath2019<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [apache/royale-asjs] Any clues as to equivalent for this (#459)
AFAIK, we have not tried to emulate WebService in Royale. Things like this only get done when somebody asks for it. I wasn't sure if people were replacing their SOAP/WSDL backends with something else.
I've got one other thing I'm working on, then I'll see what it takes to get it working. The Flex SOAP code seems to use flash.xml.XMLDocument so that will be the big thing to replace/emulate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fissues%2F459%3Femail_source%3Dnotifications%26email_token%3DAMOW4EIH4MV3ZOPJL2IGTPTQHNLMDA5CNFSM4ISTZ4ZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5T3IPI%23issuecomment-526890045&data=02|01||7cfbd96533974be2922508d72ea22661|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637029146263760928&sdata=tgq7luaCNq1vmKRxV8qS3%2FBX5ffHNxY9J6E2OGMMLHs%3D&reserved=0, or mute the threadhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMOW4EPM2KODWP7HFVTKLITQHNLMDANCNFSM4ISTZ4ZA&data=02|01||7cfbd96533974be2922508d72ea22661|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637029146263760928&sdata=YsS08Pxk4M1kQIqct8HHHE3sF8zORGn48xL2Vy2nPbE%3D&reserved=0.


Add "redis" so that we can use the Redis Broker

See https://celery.readthedocs.org/en/latest/getting-started/brokers/redis.html (and my upcoming docs PR :+1:)


Requiring a npm module that has ES2016+ .js dist files

Environment
OS: Windows 8
Versions: angular-cli: 1.0.0-beta.22-1
node: 6.4.0
os: win32 x64
Repro steps
npm install -S fold-to-ascii

In app.component.ts:
const ASCIIFolder = require("fold-to-ascii");
console.log(ASCIIFolder.fold("sometêxt"));

Problem
The fold-to-ascii is a JavaScript file that uses ES2015 features: class ASCIIFolder. (https://github.com/mplatt/fold-to-ascii/blob/master/lib/ascii-folder.js)
The tsconfig.json does say "target": "es5" but because it is JavaScript, it is not transpiled to ES5.
So, an ng build creates a /dist/vendor.bundle.js that still contains the "class" keyword and Internet Exploder is not happy.
This is not a problem with "fold-to-ascii" specifically but an issue for any npm package that has .js dist files that have not yet been transpiled to ES5.
This seems like a common use case but I was unable to find any info on how to tackle the issue within Angular-CLI.

We fixed this specific issue by downgrading to<EMAIL_ADDRESS>as mentioned in their readme.
It would still be interesting to know how to do this though?

"Internet Exploder" made me laugh :D
Yeah I don't think we have an ES2015 transpiler for modules exported like that. I guess we would but it would make all builds super slow, since all JS would be processed like that.
I think but am not sure that it's mostly a question of library publishing best practices. When libs are published they should have as ES5 code as main in package.json, and if they want ES6 in jsnext:main.
You can read it up on https://github.com/jsforum/jsforum/issues/5.
That library specifically seems geared towards node usage so the author is fine with it being used only on node6 and above. But you need to use it in a browser environment and in there ES5 is kind.


-o oddities in windows batch files

i'm using a batch file in windows to change the filename to just the title and extension - basically remove the %(id)s.
here's what i have in the batch file:
set /p address=Enter video site address:
youtubedl\youtube-dl.exe -v -o '%(title)s.%(ext)s' %address%
When attempting to run, i get the error:
"youtube-dl.exe: error: You must provide at least one URL."
When running the batch file without the -o option, it runs fine (but appends the %(id)s, which is what i'm trying to avoid).
running the same command directly in the command prompt works fine.  any ideas why it's not working when run from a batch file?
thanks!
-v debug:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'-o', u"'address"]
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2015.09.09
[debug] Python version 2.7.8 - Windows-8-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {}
Usage: youtube-dl.exe [OPTIONS] URL [URL...]
youtube-dl.exe: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

You may need to escape the % from the -o option in the batch file, could you post the output of the batch file (with the -v option)?

Correct code:
set /p address=Enter video site address:
youtubedl\youtube-dl.exe -v -o "%%(title)s.%%(ext)s" %address%


Requesting some infos

Wow!
This project seems to be right up my alley! I have two Panasonic CZ-TACG1's built into Home Assistant but as we know they are not very reliable.
I was a bit put off by the other projects because I'm not very good at soldering but if I understand correctly I should just get this one manufactured, get a cable, put ESPHome in it and plug it in. That's it.
I have some questions:

Can you link me where exactly to buy the cable that is needed? Or at least a picture of the two ends so I can look for it in some EU store.
To flash other ESP modules I normally use dupont cables (I think they are called like that) and then connect them to a USB programmer... Does this work in the same way? I guess I have to use the PINs on the "white" connector.

Thanks!

Hi,
Yes in theory someone like JLCPCB and their assembly service should be able to assemble this for you - I assembled this myself but all the parts were from LCSC so i think that means they should all be available at JLC (and there's probably others - JLC is just the one i'm aware of).
I don't think you could buy a pre-made cable unfortuantely.  The picoblade end you can - something like this: https://www.adafruit.com/product/4722 the female end should plug straight in to controller board.  For the air conditioner end, JST PA doesn't seem to be very popular with makers, it's easy to get JST-PH cables but not JST-PA.  If you really wanted to avoid crimping you could probably buy something like https://www.digikey.com/en/products/detail/jst-sales-america-inc/APAPA22K152/6009461 along with the housing https://www.digikey.com/en/products/detail/jst-sales-america-inc/PAP-05V-S/759977 .  You would then just need to join the picoblade tail to the JST-PA jumpers and insert them into the housing (making sure the get the pinout correct).  Joining them I would solder but if you're really against soldering then you could use a wago connector without issue.
To flash you could insert dupont connectors into the header to the right of the ESP32 - if you have an ESP32 type programmer then you don't need to do anything but if it's just a USB to serial adapter then you'll have to put it into programming mode manually (pull IO0/BOOT to ground by connecting a jumper between them then pull RESET to ground to reset it into boot mode).  It'd be a bit difficult as you would need to keep pressure on dupont connectors to make contact but you only have to do it once I guess?
Hope this answers your questions!

I have order 5 units from JLCPCB and I can confirm they work.
You should however use GPIO4 fro RX and GPIO16 for TX, this can also be found in the schematic
This was my order.

I have installed 1 in an airco, but need some connectors to install the second.
Integrates fine with HA

Note that my units have a header on U3

Sure, I ran into so problems with the positioning so I will try and fix that. Other people should be able to upload and order without those issues :)

Attached is a gerberfiles.zip, this includes the drill files and all. Also attached is a bom.csv (bill of materials) and a cpl.csv (the position file)
bom.csv
cpl.csv
gerberfiles.zip

This is my config:
esphome:

  name: airco-bedroom
  friendly_name: Airco bedroom

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: !secret encryption_key

ota:
  password: !secret wifi_password

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Airco-Bedroom Fallback Hotspot"
    password: "vRXDT1a6XiNW"

captive_portal:

uart:
  tx_pin: GPIO16
  rx_pin: GPIO4
  baud_rate: 9600
  parity: EVEN

external_components:
  source: github://DomiStyle/esphome-panasonic-ac
  components: [panasonic_ac]

climate:
  - platform: panasonic_ac
    type: cnt
    name: AC Bedroom
    horizontal_swing_select:
      name: AC Bedroom Horizontal Swing Mode
    vertical_swing_select:
      name: AC Bedroom Vertical Swing Mode
    outside_temperature:
      name: AC Bedroom Outside Temperature
    current_power_consumption:
      name: AC Bedroom Power Consumption

I have ordered a 4 pin molex from here:
https://nl.aliexpress.com/item/1005004538678776.html?spm=a2g0o.order_list.order_list_main.4.21ef79d2WbtVTg&gatewayAdapt=glo2nld
And the JST-PA from here
https://nl.aliexpress.com/item/1005005390614645.html?spm=a2g0o.order_list.order_list_main.9.21ef79d2WbtVTg&gatewayAdapt=glo2nld
My plan is to connect them for my other 4 units, one is with some soldered wire.

I ended up buying https://mou.sr/45C09PS premade cable assembly with the molex picoblade and a JST-PA crimp kit https://www.cqrobot.com/index.php?route=product/product&product_id=1485

Attached is a gerberfiles.zip, this includes the drill files and all. Also attached is a bom.csv (bill of materials) and a cpl.csv (the position file) bom.csv cpl.csv gerberfiles.zip

Hello @Romkabouter !
Thank you so much for this! This seems exactly what I am after!
I am about to order this but have some doubts.
Mainly I am worried that the connector for SW1 is missing from the BOM? It seems from your picture that you have something there?

Thank you in advance and forgive me for my incompetence in this!

That seems strange indeed! When I check my order details this is also missing in the bom. When I look at my order, I see this switch:
But I can spare you the ordering, because I have three of these products doing nothing.
I do not know where you live, but maybe I can send one againt cost price? I bought 5 (lowest amount possible) for 65 euro's and I am willing so send it for 13 euros (excluding shipping)

You can PM me if intrested

Sure, I am interested! I live in Sweden.
I couldnt figure out how to PM here but please email me at<EMAIL_ADDRESS>Thanks!

I would be interested to purchase one also.

I would be interested to purchase one also.

Hi @codyc1515, I am sorry but just while you send this message I sold all three of them.
Sorry about that

Hi, what is the part number of the missing switch?

Hi, what is the part number of the missing switch?

When I populated mine, I used LCSC part C500065 (https://www.lcsc.com/product-detail/_XKB-Connectivity-_C500065.html).  I assembled mine manually so bought from LCSC, but JLCPCB have it in their parts library.

Hi, what is the part number of the missing switch?

does anyone have one available for sale?
thanks


ID4 + rsk saml gives response as https://localhost:44313/Home/Login?error=access_denied  2. what rsk himself is doing

Its not Id4 or rsk saml plugin issue (most probably Owin monster issue as per Anders or Chellengeresult AuthenticationProperties or SignInManager.ConfigureExternalAuthenticationProperties or AspNetIdentity cookie issue), but since it is reproducible with id4+rsk github sample, hence I am mentioning here.

Launch VS2017 community; build; delete chrome browser cache(everything), Multiple Startup(test client & rsk), breakpoints on home ctrl-> hit F5
click login ->Fill userid(email) in account.google.com form->pwd->it comes back to Home Login & User.Identity.IsAuthenticated=false->again SAML signin request generated through kentor by registering idp & loading metadata in AuthServices; and again google login choose account form ->back to Home/Login....(attached the screen shot);
pls note that in Google setup(GSuite SAML config page) I have specified only SP EntityId, SP ACS; no return/redirect/callback/start url & the G+ API is enabled on my SAML app;
ques: 1. why not improvement in handling(access_denied) better? fyi: same behaviour is noted when using kentor with id3;
if saml req/resp can be done using kentor then what rsk plugin is doing ? upstreaming ? downstreaming ?

Hi, this sample solution uses the Kentor SAML2P library as an example Service Provider against the IdentityServer 4 SAML2P (Identity Provider) component.
The SAML2P IdP component for IdentityServer 4 has no affiliation with the Kentor SAML2P library.
For support with your issue, check out the Kentor/Sustainsys repository or issue a support request directly with your Google SAML provider.


Qlik Sense connect with self signed cert trouble

Hello, im trying connect to ws of qlik sense . My QS after Application Firewall (Is it important? ).
But get error  [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1007)
I'm tried add my CA root to omd server and omd ingestion
(keytool -v -importcert -file /qlik_certs/root.crt -keystore /usr/lib/jvm/java-17-openjdk/lib/security/cacerts -storepass changeit
keytool -v -importcert -file /qlik_certs/root.crt -keystore /usr/lib/jvm/java-11-openjdk-amd64/lib/security/cacerts -storepass changeit)
but anyway still get error.
I run my OMD with docker compose.
And still:

Now i dont know what should do more, could u give me advise?

Hey @dzhabrailovsn, let's connect on https://slack.open-metadata.org/ I've prepared a script which may help to solve this error but I'll need your help to test it out, can you please raise a thread on this topic on slack #support channel?


Style edit access page, and dialog + Show right error message + hide …

…download if shared with folder people

Verified that @seema-at-box has signed the CLA. Thanks for the pull request!

+1


New version: Anki.Anki version 23.10.1

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:


Add text to tutorial describing the Stack shebang line

I already knew what Stack is and was excited to see it can be used
in this manner, but I had to spend several minutes searching the web
to figure out what was going on with the second line in these
scripts.
(I closed an earlier pull request so I could change the Stack URL to a better one.)

Thanks!  It's a great idea to clarify how it works


Add element attribute caching

Change list
Add element attribute caching to AppiumWebElement. This builds on top of the work done in
https://github.com/appium/WebDriverAgent/pull/69
https://github.com/appium/appium-uiautomator2-server/pull/128
https://github.com/SeleniumHQ/selenium/pull/5731
Caching is opt-in.
Note that his change is dependent on the changes in https://github.com/SeleniumHQ/selenium/pull/5731, it will not compile until these changes have been promoted to nuget and the references to WebDriver in this project have been updated.
Types of changes
What types of changes are you proposing/introducing to .NET client?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Details
By setting the capability "shouldUseCompactResponses": false, extra attributes are returned from find-element calls. The list of attributes is specified with the capability elementResponseAttributes, using W3C names.
With this feature, if the shouldUseCompactResponses capability is false, then the cache is enabled for the elements. Returned attributes are stored in the AppiumWebElement, and getting the corresponding proeprties on AppiumWebElement will return the values from the cache. Attributes not in the cache will be fetched from the target and added to the cache.
A new interface IWebElementCached allows some control over the cache.

@mykola-mokhnach This PR is now ready to be reviewed and merged.
I have updated the dotnet client to use Selenium 3.13.0, and implemented the new ElementFactory method for element creation.
Cheers, Mike.

thanks a lot for your contribution @mgkeeley . I would be happy to review it, but my knowledge of C# is rather poor. Perhaps @GrzegorzSidwa could assist with a review?


Remove ModuleError export from crate root

Now ModuleError lives under crate::errors just like all other error types.

The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #618   +/-   ##
=======================================
  Coverage   80.54%   80.54%
=======================================
  Files          83       83
  Lines        6902     6902
=======================================
  Hits         5559     5559
  Misses       1343     1343

Impacted Files
Coverage Δ

crates/wasmi/src/module/builder.rs
99.20% <ø> (ø)

crates/wasmi/src/module/compile/mod.rs
100.00% <ø> (ø)

crates/wasmi/src/module/data.rs
57.14% <ø> (ø)

crates/wasmi/src/module/element.rs
53.57% <ø> (ø)

crates/wasmi/src/module/export.rs
44.00% <ø> (ø)

crates/wasmi/src/module/global.rs
83.33% <ø> (ø)

crates/wasmi/src/module/import.rs
77.77% <ø> (ø)

crates/wasmi/src/module/init_expr.rs
84.61% <ø> (ø)

crates/wasmi/src/module/utils.rs
86.36% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Google sync: Event alerts are not synced

Device: Nokia 6300 4G
OS: KaiOS 2.5.4
Version: master

Google doesn't allow notifications to be created


ob deploy push fails due to missing github.json file in nix store entry

After successfully running ob deploy init ..., ob deploy push fails because /.obelisk/impl/github.json isn't in the nix store entry for the app.
$ ob deploy push -v
Starting Obelisk </nix/store/59m4lgsy2gz4r3snbdbl1sny7yiyib7s-obelisk-command-0.1/bin/ob> args=["deploy","push","-v"] logging-level=Debug
Creating process: RawCommand "nix-build" ["./.obelisk/impl","-A","command","--no-out-link"]
error: opening file '/nix/store/jrj23bykinvsnsm5nvmnzn1186jmhqkb-app-0b220af/.obelisk/impl/github.json': No such file or directory
(use '--show-trace' to show detailed location information)
✖ Locating project obelisk
Process exited with code 1; RawCommand "nix-build" ["./.obelisk/impl","-A","command","--no-out-link"]

Does this suggest that something is wrong with my file structure? My ./obelisk/impl/default.nix and .obelisk/impl/github.json files are identical to the ones created by ob init. And app/.obelisk/impl/github.json exists, and so does app-deploy/src/git.json, but app-deploy/.obelisk/impl/github.json does not.
Running on NixOS.

ob deploy should be getting obelisk from your app (via src/git.json). Does your app have .obelisk/impl/github.json checked in to the same commit that src/git.json is pointing to?

@3noch it did not, and after adding it the deploy command works. So yeah, it seems that was the problem. I must have messed something up when I was playing around with ob thunk.
Thanks. :)

No problem. If you end up with a src thunk that has a broken version of obelisk, you can use ob --no-handoff deploy update to get back onto a working thunk where ob deploy works.


Investigate parallelization for wasm with web_worker

Use web_worker to create a new rayon::ThreadPool to enable parallelization on wasm.
The wasm app will need a initialization for the global ThreadPool, so probably something like this:
fn set_global_pool_to_web_workers() {
    let concurrency = match web_sys::window() {
        Some(window) => window.navigator().hardware_concurrency() as usize,
        None => {
            console_log!("Failed to get hardware concurrency from window. This function is only available in the main browser thread.");
            2
        }
    };
    let worker_pool = pool::WorkerPool::new(concurrency);
    rayon::ThreadPoolBuilder::new()
        .num_threads(concurrency)
        .spawn_handler(|thread| Ok(pool.run(|| thread.run()).unwrap()))
        .build()?;
}

cc @kobigurk @howardwu, this is of interest for speeding up proving and setup ceremonies in the browser.

This makes it even easier to use rayon in wasm: https://github.com/GoogleChromeLabs/wasm-bindgen-rayon/


kea: 1.9.3 -> 1.9.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/kea/versions.
meta.description for kea is: "High-performance, extensible DHCP server by ISC"
meta.homepage for kea is: "https://kea.isc.org/"
meta.changelog for kea is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.9.5 with grep in /nix/store/whljdy1g7yl47g8j1xb1cdbfv41hvjrp-kea-1.9.5

directory tree listing: https://gist.github.com/a392fa8f63541637698205baee0747e8

du listing: https://gist.github.com/1d36e63c83094d335b604d6ad2606a65

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
kea

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/whljdy1g7yl47g8j1xb1cdbfv41hvjrp-kea-1.9.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A kea https://github.com/r-ryantm/nixpkgs/archive/2fc8948c7253dfc6c65fd9eb26cb5f00b0d2a23d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/whljdy1g7yl47g8j1xb1cdbfv41hvjrp-kea-1.9.5
ls -la /nix/store/whljdy1g7yl47g8j1xb1cdbfv41hvjrp-kea-1.9.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

kea

Maintainer pings
cc @fpletz for testing.

Result of nixpkgs-review pr 115002 at 2fc8948c run on aarch64-linux 1

1 package built:

kea

1 suggestion:

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/tools/networking/kea/default.nix:22:15:
   |
22 |   patches = [ ./dont-create-var.patch ];
   |               ^


Update sourceversion.py

Wrong history, redoing in another PR https://github.com/dataquest-dev/dspace-angular/pull/658


Update installation instructions for Ubuntu 20.04

I just changed my os to Ubuntu 20.04 and it seems that flatpak will not install on my system.  There is a workaround by uninstalling the Snap store and installing Flatpak.  I was wondering if you might have a Snap version of the installer or maybe even a .deb install.  If not then I will try to convert to Flatpak but don't really like to change stores.

Hello @kevin34ct. Flatpak support was quite good in past Ubuntu releases. I wonder what has changed. Anyway, I'll look at it today/tomorrow. Thanks for reporting the issue :-)

Ubuntu switched to a snap-packaged Software Store since Ubuntu 20.04 LTS. While this step has many benefits, there is also one drawback: The snap version doesn't support Flatpak packages. If you wish to install Flatpak packages from a software store application, you need to install the original GNOME Software application.
Although both Ubuntu Software and GNOME Software may be installed on your system as independent applications, it might be confusing to have two applications with the same icons differing only in application name ("Ubuntu Software" for the snap version, "Software" for the original GNOME Software) and Flatpak support ("Software" supports Flatpak, "Ubuntu Software" doesn't).

If you find it unbearable, you may remove the snap version: snap remove snap-store.
The best solution would be to add Flatpak support to the snapped Ubuntu Software. It's very unfortunate that a long-term support release of Ubuntu contains a software center with reduced functionality.
Regarding Nuvola as snap/deb: While Nuvola 5 might be packaged also as a snap package, I have no interest in creating & maintaining deb packages.

I was able to get it installed.  Flatpak is still installed, but not used
for the store.  I installed the service then installed one of the apps
which in turn installed Nuvola.  It's odd how it won't install Nuvola by
itself until an app is installed.  I'm using UbuntuDDE remix 20.04 but did
get it to work.  I just don't have a premium account anymore.
On Sat, May 9, 2020 at 10:56 AM Jiří Janoušek<EMAIL_ADDRESS>wrote:

Ubuntu switched to a snap-packaged Software Store since Ubuntu 20.04 LTS
https://www.omgubuntu.co.uk/2020/02/ubuntu-snap-store-transition. While
this step has many benefits, there is also one drawback: The snap version
doesn't support Flatpak packages. If you wish to install Flatpak packages
from a software store application, you need to install the original GNOME
Software application.
Although both Ubuntu Software and GNOME Software may be installed on your
system as independent applications, it might be confusing to have two
applications with the same icons differing only in application name
("Ubuntu Software" for the snap version, "Software" for the original GNOME
Software) and Flatpak support ("Software" supports Flatpak, "Ubuntu
Software" doesn't).
[image: focal_software_stores]
https://user-images.githubusercontent.com/853706/81476711-9cbeb800-9213-11ea-93c4-fc320f1f1c8d.png
If you find it unbearable, you may remove the snap version: snap remove
snap-store.
The best solution would be to add Flatpak support to the snapped Ubuntu
Software. It's very unfortunate that a long-term support release of Ubuntu
contains a software center with reduced functionality.
Regarding Nuvola as snap/deb: While Nuvola 5 might be packaged also as a
snap package, I have no interest in creating & maintaining deb packages.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tiliado/nuvolaruntime/issues/607#issuecomment-626188254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3N34SQ4C52BSI5IPRGVRDRQVVITANCNFSM4M4LW63Q
.

I installed the service then installed one of the apps which in turn installed Nuvola. It's odd how it won't install Nuvola by itself until an app is installed.

I'm afraid I don't understand.

I just don't have a premium account anymore.

I believe I replied to your support e-mail about that.

The way to install on Ubuntu 20.04 is to install the app service then
install the app you want from the links on the install page.  Flathub is
already installed on 20.04.  Ubuntu 20.04 still uses Snap for software.
There is no need to install Flathub. I just thought you'd like to know so
it can be passed on to others.   That's my contribution since I don't know
how to program.  :)
The issue with my account is fixed, thank you.
Kevin Senecal
On Sun, May 10, 2020, 6:23 PM Jiří Janoušek<EMAIL_ADDRESS>wrote:

I installed the service then installed one of the apps which in turn
installed Nuvola. It's odd how it won't install Nuvola by itself until an
app is installed.
I'm afraid I don't understand.
I just don't have a premium account anymore.
I believe I replied to your support e-mail about that.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tiliado/nuvolaruntime/issues/607#issuecomment-626398735,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3N34TUADTINGNY5VWBKJDRQ4SN3ANCNFSM4M4LW63Q
.

Hello @kevin34ct, I've added detailed installation instructions for Ubuntu 20.04 based on our feedback. Could you review it?

There is no need to install Flathub.

The minimal installation of Ubuntu 20.04 doesn't contain flatpak nor flathub. UbuntuDDE remix 20.04 might be different, but I need to provide more general instructions.

Actually I  figured it out.  Flatpak is installed at the same time as Snap.
On Sun, Jun 7, 2020, 12:06 PM Jiří Janoušek<EMAIL_ADDRESS>wrote:

Hello @kevin34ct https://github.com/kevin34ct, I've added detailed
installation instructions for Ubuntu 20.04
https://nuvola.tiliado.eu/nuvola/ubuntu/focal/ based on our feedback.
Could you review it?
There is no need to install Flathub.
The minimal installation of Ubuntu 20.04 doesn't contain flatpak nor
flathub. UbuntuDDE remix 20.04 might be different, but I need to provide
more general instructions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tiliado/nuvolaruntime/issues/607#issuecomment-640241036,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3N34WDUHJ7R4K3LYSI6G3RVO3GVANCNFSM4M4LW63Q
.

That seems strange. Anyway, instructions for general Ubuntu 20.04 seem correct.


Vue3: Unhandled exception when adding a member to a downstream cluster

Steps to reproduce

Navigate to Cluster Explorer --> Cluster --> Cluster and Project Members --> Cluster Membership tab, Click on Add
Click on select member and enter character

Actual behavior
Dashboard throws an unhandled exception and an error overlay is rendered.
Expected behavior
No errors in this process.
Screenshots

Selector is used on some areas already covered by E2E https://github.com/rancher/dashboard/pull/11869


Replace "clientOptions" with "options" in documentation

The documentation does not currently represent the correct option name for configuring client options. This just updates the documentation to prevent confusion

Hi
thanks for showing ambiguous naming convention
I agree, we could change for your options
Can you make a change also on DOC site ? To notify all users ?


KeyError in rag.learn_agglomerate(...)

Hi,
I am trying to run Gala (current master) on 2D images of neural tissue, but I keep getting a KeyError in learn_agglomerate(). I am using the following python script:
#!/usr/bin/python

from gala import imio, classify, features, agglo, evaluate as ev
from skimage.segmentation import relabel_sequential

print "Reading groundtruth..."
gt = imio.read_image_stack("./gt/neuron_ids0000.png")
print "Reading probability maps..."
pr = imio.read_image_stack("./prob/membrane0000.png")
print "Reading superpixels..."
sp = imio.read_image_stack("./superpixels/membrane0000.tif")

gt = relabel_sequential(gt)[0]
sp = relabel_sequential(sp)[0]

print "Creating feature managers..."
fm = features.moments.Manager()
fh = features.histogram.Manager()
fc = features.base.Composite(children=[fm, fh])

print "Creating RAG..."
rag = agglo.Rag(sp, pr, feature_manager=fc)
(X, y, w, merges) = rag.learn_agglomerate(gt, fc)[0]
y = y[:,0]
print((X.shape, y.shape))

print "Training..."
rf = classify.DefaultRandomForest().fit(X, y)

classify.save_classifier(rf, "rf.dat")

on this data: http://lego.slyip.net/gala_mwe.tar.gz. This is the traceback of the error I get:
Traceback (most recent call last):
  File "./train.py", line 23, in <module>
    (X, y, w, merges) = rag.learn_agglomerate(gt, fc)[0]
  File "/usr/local/lib/python2.7/dist-packages/gala-0.3dev-py2.7-linux-x86_64.egg/gala/agglo.py", line 1264, in learn_agglomerate
    learning_mode, labeling_mode))
  File "/usr/local/lib/python2.7/dist-packages/gala-0.3dev-py2.7-linux-x86_64.egg/gala/agglo.py", line 1411, in _learn_agglomerate
    node_id = g.merge_nodes(n1, n2, merge_priority)
  File "/usr/local/lib/python2.7/dist-packages/gala-0.3dev-py2.7-linux-x86_64.egg/gala/agglo.py", line 1582, in merge_nodes
    self.refine_post_merge_boundaries(n1, n2, sp2segment)
  File "/usr/local/lib/python2.7/dist-packages/gala-0.3dev-py2.7-linux-x86_64.egg/gala/agglo.py", line 1636, in refine_post_merge_boundaries
    self.update_merge_queue(u, v)
  File "/usr/local/lib/python2.7/dist-packages/gala-0.3dev-py2.7-linux-x86_64.egg/gala/agglo.py", line 1742, in update_merge_queue
    w = self.merge_priority_function(self,u,v)
  File "/usr/local/lib/python2.7/dist-packages/gala-0.3dev-py2.7-linux-x86_64.egg/gala/agglo.py", line 207, in predict
    features = feature_extractor(g, n1, n2)
  File "/usr/local/lib/python2.7/dist-packages/gala-0.3dev-py2.7-linux-x86_64.egg/gala/features/base.py", line 9, in __call__
    return self.compute_features(g, n1, n2)
  File "/usr/local/lib/python2.7/dist-packages/gala-0.3dev-py2.7-linux-x86_64.egg/gala/features/base.py", line 19, in compute_features
    if g.node[n1]['size'] > g.node[n2]['size']:
KeyError: 'size'
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound method UmfpackContext.new_del of <scipy.sparse.linalg.dsolve.umfpack.umfpack.UmfpackContext object at 0x7f1a02408610>> ignored

Any help would be greatly appreciated!
Cheers,
Jan

Hey @funkey! Great to see you're trying out gala! =)
The label "0" in the superpixels has a special meaning in gala. It's supposed to be the boundary between superpixels. This is for historical reasons, because we were originally generating our watersheds with Matlab, which produces a 0 boundary on the watershed lines. There's actually a bug that I can't track down with 0-boundaries, so I'm actually just in the process of deprecating this (see this recent post on the mailing list).
In your case, your superpixel labels start at 0, which is even worse than having zero boundaries. =P The simple fix is to add the line sp += 1 before or after relabel_sequential. =) You should probably do the same for the ground truth.
Sorry for the confusion! This magic behaviour will go away very soon.
Let me know if that resolves your issue!

Hi Juan!
Thank you very much for you prompt reply -- that solved the problem indeed. The only remaining error is
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound method UmfpackContext.new_del of <scipy.sparse.linalg.dsolve.umfpack.umfpack.UmfpackContext object at 0x7f2503a935d0>> ignored

but the training and merging seems to work anyway.

@funkey That error comes from an interaction between certain versions of scikit-image and scipy. It should be resolved if you update scipy. But it doesn't affect anything, it is merely an import messing with a class destructor, followed by an error when the destructor is called at the end of execution.


fix issue

👷 Deploy Preview for shaileshthakur processing.

Name
Link

🔨 Latest commit
acafc35573ae97c11957510173ac820cab3719d4

🔍 Latest deploy log
https://app.netlify.com/sites/shaileshthakur/deploys/6485bd693cd0bf0008372378


Update scalafmt-core to 3.7.11

About this PR
📦 Updates org.scalameta:scalafmt-core from 3.7.10 to 3.7.11
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

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

Codecov Report
Patch coverage has no change and project coverage change: +0.06% :tada:

Comparison is base (f836d82) 89.49% compared to head (20c3aef) 89.56%.

:exclamation: Current head 20c3aef differs from pull request most recent head e27fcc7. Consider uploading reports for the commit e27fcc7 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1138      +/-   ##
===========================================
+ Coverage    89.49%   89.56%   +0.06%
===========================================
  Files          124      124
  Lines        10028    10028
  Branches       782      782
===========================================
+ Hits          8975     8982       +7
+ Misses        1053     1046       -7

see 8 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


MRL: remove '(English)' from page header

The page is being actively translated. The papers are not, but i guess people expect that, no need to specify anything.

Reviewed.

Reviewed.


Cant install paddleclas

Python 3.10
pip3 install paddleclas==2.2.1
Collecting paddleclas==2.2.1
Using cached paddleclas-2.2.1-py3-none-any.whl (306 kB)
Collecting prettytable
Using cached prettytable-3.4.1-py3-none-any.whl (26 kB)
Requirement already satisfied: visualdl>=2.0.0b in c:\users\1\appdata\local\programs\python\python310\lib\site-packages (from paddleclas==2.2.1) (2.4.1)
Collecting ujson
Using cached ujson-5.5.0-cp310-cp310-win_amd64.whl (37 kB)
Collecting gast==0.3.3
Using cached gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
Collecting scikit-learn==0.23.2
Using cached scikit-learn-0.23.2.tar.gz (7.2 MB)
Installing build dependencies ... /
... a lot of shits
       error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD
	   -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1
	   -Ibuild\src.win-amd64-3.1\numpy\core\src\umath -Ibuild\src.win-amd64-3.1\numpy\core\src\npymath
	   -Ibuild\src.win-amd64-3.1\numpy\core\src\common -Inumpy\core\include
	   -Ibuild\src.win-amd64-3.1\numpy\core\include/numpy -Inumpy\core\src\common -Inumpy\core\src -Inumpy\core
	   -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort
	   -IC:\Users\1\AppData\Local\Programs\Python\Python310\include
	   -IC:\Users\1\AppData\Local\Programs\Python\Python310\Include -Ibuild\src.win-amd64-3.1\numpy\core\src\common
	   -Ibuild\src.win-amd64-3.1\numpy\core\src\npymath -Ibuild\src.win-amd64-3.1\numpy\core\src\common
	   -Ibuild\src.win-amd64-3.1\numpy\core\src\npymath -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared
	   -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um
	   -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt
	   -IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt /Tcbuild\src.win-amd64-3.1\numpy\core\src\multiarray\scalartypes.c
	   /Fobuild\temp.win-amd64-cpython-310\Release\build\src.win-amd64-3.1\numpy\core\src\multiarray\scalartypes.obj" failed with exit status 2
        [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: legacy-install-failure

  Encountered error while trying to install package.

  numpy

  note: This is an issue with the package mentioned above, not pip.
  hint: See above for output from the failure.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

python -m pip install paddleclas==2.4.2  -i https://mirror.baidu.com/pypi/simple
 Collecting numpy==1.19.3
    Using cached https://mirror.baidu.com/pypi/packages/cb/c0/7b3d69e6ee68bc54c97ba51f8c3c3e43ff1dbc7bd97347cc19a1f944e60a/numpy-1.19.3.zip (7.3 MB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
    Preparing metadata (pyproject.toml): started
    Preparing metadata (pyproject.toml): finished with status 'error'
    error: subprocess-exited-with-error

    Preparing metadata (pyproject.toml) did not run successfully.
    exit code: 1

    [267 lines of output]
    setup.py:67: RuntimeWarning: NumPy 1.19.3 may not yet support Python 3.10.
      warnings.warn(
    Running from numpy source directory.
    setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates

try:
git clone https://github.com/PaddlePaddle/PaddleClas.git
cd PaddleClas
git checkout develop
python setup.py install

try:
git clone https://github.com/PaddlePaddle/PaddleClas.git
cd PaddleClas
git checkout develop
python setup.py install

@HydrogenSulfate  Im on Windows

python setup.py install

you can delete faiss-cpu==1.7.1.post2 in requirements.txt and then using the commands given above.
I had installed successfully in my Win11 laptop.
Using d:\miniconda3\envs\py37\lib\site-packages
Searching for MarkupSafe==2.1.1
Best match: MarkupSafe 2.1.1
Adding MarkupSafe 2.1.1 to easy-install.pth file

Using d:\miniconda3\envs\py37\lib\site-packages
Finished processing dependencies for paddleclas==0.0.0

it alll not works

it alll not works

what is the error message now?

Please use python3.7 or python3.8.  We are working on supporting python3.9 recently. Python3.10 is not supported for now.

python 3.9 is work


How to extend elfinder

Hi,
I'd like to limit an access to admin/elfinder. I am using PermissionManager as well. I created a permission called File-manager.
I tried the following but not working.
namespace App\Http\Controllers\Admin;

use Illuminate\Support\Facades\Auth;
use Barryvdh\Elfinder\ElfinderController as OriginalElfinderController;
use Illuminate\Foundation\Application;

class ElfinderController extends OriginalElfinderController
{
    protected $user;
    protected $app;

    public function __construct(Application $app)
    {
        parent::__construct($app);
        $this->middleware(function ($request, $next) {
            $this->user= Auth::user();
            return $this->user->can('File-manager') ? $next($request) : redirect(config('mycms.dashboard'));
        });

    }
}

and web.php
Route::group(['prefix' => 'admin', 'middleware' => 'admin'], function()
{
...
    CRUD::resource('elfinder', 'Admin\ElfinderController');
...
});

What is the best way?

That sounds more like a Laravel problem.
I'd break that:
return $this->user->can('File-manager') ? $next($request) : redirect(config('mycms.dashboard'));

into
$result = $this->user->can('File-manager');
dump($this->user);
dump($result);

...and see what you get.

Hi @shinokada ,
I think an alternative solution would be to use ElFinder's default functionality.

Notice in your config/elfinder.php you have this line:

    /*
    |--------------------------------------------------------------------------
    | Access filter
    |--------------------------------------------------------------------------
    |
    | Filter callback to check the files
    |
    */

    'access' => 'Barryvdh\Elfinder\Elfinder::checkAccess',

This will allow you to deny access to all files or particular files.

You also have this:

    /*
    |--------------------------------------------------------------------------
    | Routes group config
    |--------------------------------------------------------------------------
    |
    | The default group settings for the elFinder routes.
    |
    */

    'route' => [
        'prefix'     => config('backpack.base.route_prefix').'/elfinder',
        'middleware' => ['web', 'admin'], //Set to null to disable middleware filter
    ],

This allows you to place an extra middleware and deny access to the page altogether, if that's what you need. So if you use Backpack\PermissionManager and have a PermissionMiddleware, you can just add the middleware can:file-manager.
Hope it helps.
Cheers!

@tabacitu, Thanks for your reply. I am not sure if I am doing right.
I added app/Http/MIddleware/PermissionMiddleware.php and app/Http/Middleware/RoleMiddleware.php.
I added them in app\Kernel.php.
    protected $routeMiddleware = [
        'auth' => \Illuminate\Auth\Middleware\Authenticate::class,
        'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
        'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
        'can' => \Illuminate\Auth\Middleware\Authorize::class,
        'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class,
        'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
        'permission' => \App\Http\Middleware\PermissionMiddleware::class,
        'role' => \App\Http\Middleware\RoleMiddleware::class,
    ];

I added the following in config/elfinder.php
    'route' => [
        'prefix'     => config('backpack.base.route_prefix').'/elfinder',
        'middleware' => ['web', 'admin','permission'], //Set to null to disable middleware filter
    ],

When I visit admin/elfinder, I get an error.

FatalThrowableError in PermissionMiddleware.php line 17:
Type error: Too few arguments to function App\Http\Middleware\PermissionMiddleware::handle(), 2 passed in /Users/sokada/Code/back-test/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php on line 148 and exactly 3 expected ...

I'm also not sure where I can use can:file-manager.

Hi @shinokada ,
If you defined the PermissIonMiddleware as "permission" in your Kernel.php you can use this middleware: permission:file-manager, instead of just "permission". Basically you pass a parameter to the middleware.
Does this work for you?
    'route' => [
        'prefix'     => config('backpack.base.route_prefix').'/elfinder',
-       'middleware' => ['web', 'admin','permission'], //Set to null to disable middleware filter
+       'middleware' => ['web', 'admin','permission:file-manager'], //Set to null to disable middleware filter

    ],

I get 403 error when I visit admin/elfinder even as an admin.

Hmm... Try to dump the permissions your user has in the PermissionMiddleware, maybe on this line, I'm positive it should work.

Ok, it works. My permission name was 'File-manager', so I changed it to,
'middleware' => ['web', 'admin','permission:File-manager'], //Set to null to disable middleware filter

Glad to help. Cheers!


what the code inside index.js?

Hi sir, i want to trying make an chatting application inside on my existing application.
i just want to ask to you what the code inside index.js ?? from your Procfile
web: node server/dist/index.js
thank you.

Are you asking what it does?
Im guessing thats the transpiled server code?

Take a look at Heroku Dev center about the Procfile, it will help to understand the purpose of it.


NullPointerException in LoadDataChange

Environment
In the process of upgrading from Java 8 to Java 11. This necessitated upgrading our Liquibase version from 3.5.5 due to changes in behavior with URLClassLoader causing FileSystemResourceAccessor to break.
Liquibase Version:
3.10.1-4.0.0
Liquibase Integration & Version: <Pick one: CLI, maven, gradle, spring boot, servlet, etc.>
Gradle
Database Vendor & Version:
HSQL
Operating System Type & Version:
Windows 10
Description
Trying to upgrade the version of Liquibase our project uses. When running our existing scripts (working under 3.5.5), we get a NullPointerException in LoadDataChange (line 336 in the 3.10.1 version) trying to load a CSV file. This happens because columnConfig is null; two lines later, the code checks to see if columnConfig is not null. Presumably the failing code should be moved inside the if branch.
┆Issue is synchronized with this Jira Bug by Unito

Hi @cmayfield Thanks for writing up this issue.  Do you have a testcase that shows the error so that when we can fix it we know whether it's fixed or not.  If you have the code to fix it can you also create a PR?


add support for pinboard

it would be super awesome if there would be support for pinboard; they also have the paid feature to archive your bookmarks

@Finkregh I don't have a pinboard account, can you make a gist containing a typical pinboard export?  I just need to know what format it uses in order to tweak my parsing regex.

I dump my Pinboard bookmarks as JSON. It looks like this:
[
    {"href":"https:\/\/github.com\/pirate\/pocket-archive-stream","description":"GitHub - pirate\/pocket-archive-stream: \ud83d\uddc4 Save an archived copy of all websites starred using Pocket. Outputs browseable html.","extended":"","meta":"6c8e6537a8e608125ae73eb1ae1edf69","hash":"ed18b7d35889b1395cf13d0bc69f1b80","time":"2017-05-05T20:31:24Z","shared":"no","toread":"no","tags":"archive python"},
    ...
]

The API also supports XML. It looks like this:
<?xml version="1.0" encoding="UTF-8" ?>
<posts user="pigmonkey">
<post href="https://github.com/pirate/pocket-archive-stream" time="2017-05-05T20:31:24Z" description="GitHub - pirate/pocket-archive-stream: 🗄 Save an archived copy of all websites starred using Pocket. Outputs browseable html." extended="" tag="archive python" hash="ed18b7d35889b1395cf13d0bc69f1b80" meta="6c8e6537a8e608125ae73eb1ae1edf69"  shared="no"  />
...
</posts>


Enabling automatic test detection for Helix

Currently, we have a hard-coded list of tests to run in the file build/Helix/RunTestsInHelix.proj, which needs to be updated and maintained every time a new type is added.  This is very fragile: if someone adds a type but forgets to update that file, then their tests will run locally since they're being specifically selected there, but will fail to run in Helix, leading to a gap in test coverage.  To fix that, I've changed things so we run te.exe /listproperties before running tests, which outputs all of the tests in a binary to the console output stream, and I then have a script parse that output to gather up our tests by class and output a set of .proj files that Helix can consume that still maintains the parallelization we had, but which also ensures that we correctly account for every test.  This script also understands the test property "TestSuite" (standardizing TreeViewTestSuite and NavViewTestSuite), which allows us to split test classes into multiple suites that we can run in parallel, to avoid test classes with long-running tests dominating our total test-run time.
We can definitely already see the benefit from doing this: the total number of tests run in Helix jumped from 703 without these changes to 741 with these changes, indicating that 38 tests were never actually being run in the lab.
While I was at it, I also fixed MUX-RunHelixTests-Job.yml to make it so that it properly honors the value of the queue-time variable useBuildOutputFromBuildId, which can be used to test running tests without requiring that we go through the trouble of doing a full build before we get to the test-execution stage.  Previously, it was just being ignored.

One thing I should note: this does surface a bunch of test failures in tests that previously were not being run.  I wasn't sure what to do about that, whether it'd be better just to let them fail so we can make sure they're fixed, or whether to disable them until they're passing.  If people would prefer that I do the latter, I can definitely do that.

disable them until they're passing. If people would prefer that I do the latter, I can definitely do that.

This. We need to move towards green, not away. :) That said, can you engage the test owners now to see if we can get these issues fixed in parallel?

This. We need to move towards green, not away. :) That said, can you engage the test owners now to see if we can get these issues fixed in parallel?

Sure thing, will do.


Add class weights for optimizing the loss of tfa.text.crf model

Describe the feature and the current behavior/state.
It is necessary to add class weights when optimizing the loss of classification model on imbalance data. For example, when use tf.nn.softmax_cross_entropy_with_logits to calculate the model's loss, we can obtain a cross entropy tensor of which the shape is the same as labels so we can multiply class weights with the cross entropy to get a weighted loss. Similarly, when use tfa.text.crf, we should also get the weighted loss.
Relevant information

Are you willing to contribute it (yes/no): no
Are you willing to maintain it going forward? (yes/no): no
Is there a relevant academic paper? (if so, where): no
Is there already an implementation in another framework? (if so, where): no
Was it part of tf.contrib? (if so, where): no

Which API type would this fall under (layer, metric, optimizer, etc.)
metric
Who will benefit with this feature?
All tfa.text.crf users
Any other info.

Hello, tfa.text.crf is only for base-level ops. We have a PR for adding CRF layer in #377
Once we have the basic version of CRF layer merged, we'll get to adding in class weights to the loss.

Can anyone guide me as to how I could go about modifying the current implementation of CRF loss so as to include class weights?

/cc @jaspersjsun

@bhack Thanks for cc me. I'm not sure whether it is necessary to add it to the official losses. Do we have further papers, materials or discussions to make this more convincing?
Since only changing the emission scores (tfa.text.crf.crf_unary_score) could be problematic, Gael de Lannoy et al. proposed an implementation for weighted CRF. Maybe try to follow it and create a custom loss function with existing ops in tfa.text.crf could be an option.

@jaspersjsun when you say that changing the emission scores could be problematic, you mean theoretically or in terms of the code base?
I'm studying this issue with the intent of implementing some approach (first in AllenNLP, then I could do it in TF as well). I think Lannoy et al.'s approach is theoretically flawed. I mean, I believe it can work in practice, but their theoretical motivation is not correct. If this is the case, we could do it with much simpler approach (like weighted emission scores).

TensorFlow Addons is transitioning to a minimal maintenance and release mode. New features will not be added to this repository. For more information, please see our public messaging on this decision:
TensorFlow Addons Wind Down
Please consider sending feature requests / contributions to other repositories in the TF community with a similar charters to TFA:
Keras
Keras-CV
Keras-NLP


Failed to execute query, invalid function "user"

What type of bug is this?
Unexpected error
What subsystems are affected?
Standalone mode
What happened?
can't plan sql
What operating system did you use?
macos
Relevant log output and stack trace
error throwed at in planner.rs line 72:
let result = sql_to_rel.statement_to_plan(df_stmt).with_context(|_| {

How can we reproduce the bug?
create table like this:
CREATE TABLE hello (
id bigint,
user STRING,
created_ts TIMESTAMP,
PRIMARY KEY(user),
TIME INDEX(created_ts)
)

then execute sql:
 select * from hello where user = 'foo';

not expected error:
ERROR 1815 (HY000): Failed to execute query: select * from hello where user = 'foo', source: Failed to plan statement, source: Cannot plan SQL: SELECT * FROM hello WHERE user = 'foo', source: Error during planning: Invalid function 'user'

Looks like we should quote the user with double quote:
mysql> select * from hello where "user"='a';
+------+------+---------------------+
| id   | user | created_ts          |
+------+------+---------------------+
|    1 | a    | 1970-01-01 00:00:00 |
+------+------+---------------------+
1 row in set (0.02 sec)

user is a keyword in PostgreSQL and MySQL
https://www.postgresql.org/docs/current/sql-keywords-appendix.html
https://dev.mysql.com/doc/refman/8.0/en/keywords.html

Well, I think we can improve the user experience. Better to interpret "user" as column if it doesn't end with "()". Like this:
select * from hello where user = 'foo'; # "user" is column

select * from hello where user() = 'foo'; # "user" is function

I'll further investigate it.


function to get current device size

Expose function so it can be shared across components to get the responsive state of the application
Assumes sharing context of main component as
static childContextTypes = {
    getDeviceType: React.PropTypes.string,
  };

  getChildContext = () => ({
    getDeviceType: getSize(this.state.viewport, breakpoints),
  });

I see what you are doing here, but will this suffice, as the main component might not have the state.viewport?

Now a function getScreenClass is exposed, which can be used in the following way:


Functionality improvements

This PR contains functionality improvements across the app. A summary of the primary changes:

The tile and spectrum flagging functionality has been added. In this branch, flagging a galaxy here will only remove it from the student's dataset (unlike the data generation branch, where a replacement is automatically populated).
In stage 1, if the student has already selected a galaxy in the table, the spectrum viewer automatically displays once the student gets to that part of the stage.
The stage 2 table has been updated. The velocity column has been removed and the angular size column has been added. The galaxy type column now displays the full type name, and that column's title is now "GZ Class".
The database is now properly updated when the observed wavelength is changed using the spectrum viewer
A field of view display has been added to the distance tool in stage two. This display shows the FOV of the display, rounded to the nearest appropriate unit (to the nearest degree if the FOV is > 1 deg, to the nearest arcminute if it is < 1 deg and > 1', otherwise to the nearest arcsecond)
Multiple choices now disable once the correct answer has been selected, and display a score for the question. The default is to start at 10 points and reduce by 2 for each try, but this can be changed on an individual basis
Updates to the callback system employed by the MC component
Axis tick marks will now display as the correct color, even when new ticks are created when zooming in. The key was to set the fill property of the marks' css_style, rather than color.

@patudom @heywooddogwood is there a piece of CSS somewhere that's keeping these white?

Yes, in PR109 (https://github.com/cosmicds/cosmicds/pull/109/commits/a7ee7ff8c8aeeb5cdfa8c3938d6bb563431705af), Harry added color="white" in cosmicds/components/viewer_layout/viewer_layout.vue to give all the graphs a white background as a quick fix to the label color issue. I'm removing it in my next commit, which will allow your axis label formatting fix to work.

The scoring for the MC radio group is still not behaving as expected.  (For example, for the questions on Slide 3 & 4, when I choose 1 incorrect answer, then the correct answer, I expected to get a score of 8 points but keep getting 6. But the question on Slide 7 gives me 8 points as expected). I am going to merge this branch anyway, and we can look into this in a future branch.


chore: croc-hunter-java to 0.0.69

chore: Promote croc-hunter-java to version 0.0.69

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

Needs approval from an approver in each of these files:

OWNERS

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


Cleanup a couple of leftover tmp dirs in tests

What this PR does / why we need it:
Fixes empty temporary directory left behind by some tests
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/retest

/lgtm
/appove
/retest

/approve


TAJO-2052: Upgrading ORC reader version

Code is refined, and it is based on presto-orc-0.132.

Base data structure is changed from Vector to Block.
Some bugs are fixed.
Compatibility with Hive is improved.
Unluckily, there is no speed improvement.

@eminency
Thank you for your contribution.
When using MySQLStore, this PR runs successfully. But when using HiveCatalogStore, it throws NoClassDefFoundError as following:
2016-01-28 13:25:53,025 ERROR org.apache.tajo.master.GlobalEngine:
Stack Trace:
java.lang.NoClassDefFoundError: com/facebook/presto/hive/protobuf/CodedInputStream
	at com.facebook.presto.orc.metadata.OrcMetadataReader.readPostScript(OrcMetadataReader.java:48)
	at com.facebook.presto.orc.OrcReader.<init>(OrcReader.java:99)
	at org.apache.tajo.storage.orc.ORCScanner.init(ORCScanner.java:136)
	at org.apache.tajo.engine.planner.physical.SeqScanExec.initScanner(SeqScanExec.java:286)
	at org.apache.tajo.engine.planner.physical.SeqScanExec.init(SeqScanExec.java:191)
	at org.apache.tajo.engine.planner.physical.PartitionMergeScanExec.initScanExecutors(PartitionMergeScanExec.java:80)
	at org.apache.tajo.engine.planner.physical.PartitionMergeScanExec.init(PartitionMergeScanExec.java:67)

For the reference, I added the installed directory of apache hive 1.2.1 to tajo-env.sh file.

@blrunner
It's already reported issue. Refer this:
https://issues.apache.org/jira/browse/TAJO-1929
I will fix it after this PR because it needs ORC upgrade.

Ok, I understood your comments. Could you check my trivial comment?

@blrunner
I fixed it. Please verify if it fits in your intention.

+1
LGTM! I'll commit this PR soon. :)


Composer and PSR, Using Namespaces, Traits, Interfaces in HMVC structure

The project should be compatible with composer and use composer packages for load the core framework, the code should use most of possible from PSR format, check the CONTRIBUTION.md about the Coding Format.
The code should use namespaces, traits and interfaces everywhere is possible, the code should use autoloader so if somebody want use something that does not need to go trough the CodeIgniter loader.
The projects should build on HMVC structure, so the Modules will use the same MVC as the core.

The HMVC made by https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc is great, the code should use that until the team does not have time for make an own verstion from HMVC extension.


added: Jump Search

added: Jump Search Algorithm.

@divyanshugit Please stick to the tasks mentioned in the created issues...

@BeeBombshell Is it fine? In this PR, I added a bst algorithm and Updated README.md for Jump Search


샘플 앱 GitHub 링크 깨짐

@zer0big commented on Sat Feb 23 2019
샘플 앱을 얻기 위한 링크(https://github.com/azooinmyluggage/fabrikam-node)가 404로 처리됩니다.
조치 부탁 드립니다.

문서 세부 정보
⚠ 이 섹션을 편집하지 마세요. docs.microsoft.com ➟ GitHub 문제 연결에 필요합니다.

ID: 043a153e-a24d-0230-b3ee-aa9969865dd5
Version Independent ID: 89a5fe17-668e-de7b-7720-60fa98112ba0
Content: 자습서 - Azure DevOps Services를 사용하여 Jenkins에서 Azure VM으로 CI/CD
Content Source: articles/virtual-machines/linux/tutorial-build-deploy-jenkins.md
Service: devops
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

Hi team,
there's a link that leads to a 404 page
Found in the Korean page by the user:

Same issue with the en-us:

@CeciAc Thanks for the feedback! I've assigned this issue to the Content Author to evaluate and update as appropriate.
@TomArcherMsft The highlighted link seems to be broken. Please take a look. Thanks.

The link is working for me. Is it possible that the customer is clicking a relative link from GitHub?

@TomArcherMsft I'm still seeing this error page when clicking that link.

@zer0big What's the URL of the page that contains the link? And what the URL text for the URL that you are clicking?

This link is from "https://docs.microsoft.com/ko-kr/azure/virtual-machines/linux/tutorial-build-deploy-jenkins".

Content: 자습서 - Azure DevOps Services를 사용하여 Jenkins에서 Azure VM으로 CI/CD

@zer0big Thanks. I'll work on resolving this.

@zer0big Is this the sample? https://github.com/azooinmyluggage/fabrikam-node-api
I'm in the process of connecting with the author to move the sample to a feature team repo.

@TomArcherMsft I think so. It must be omitted "-api" in the link url.

Update: I'm currently working with the repo owner to move the sample to the official Jenkins repo.

@CeciAc @zer0big The owner of that sample is at a conference and said that he will address this issue in the next few days. I'll follow up with him Friday to ensure that the sample gets moved to an official repo.

Hi @CeciAc  @zer0big
Is this issue blocking you? I am reachable at atul.malaviya @ microsoft.
I am tracking this and we will fix the doc.
regards,
Atul

@azooinmyluggage Was this resolved?

PR to fix the issue https://github.com/MicrosoftDocs/azure-docs/pull/39741

@CeciAc  The PR has been merged. Please close the issue. #sign-off


Add layer wise learning rate notebook

Signed-off-by: Nic Ma<EMAIL_ADDRESS>This PR added a demo notebook to show how to specify layer wise LR values.

this is nice, a few minor comments:

perhaps move print(net) to the end of the notebook, it's showing a lot of not important information before the important things...
set densenet121 pretrained=True to start from a pre-trained model, to show that it supports transfer learning
we could add this to the highlight document

Hi @wyli ,
Thanks for your review.
I updated the notebook according to your comments.
Could you please help help review it again?
If you think it's OK to merge, could you please help add the link to the highlight page when you adding the GradCam part?
Thanks.

Hi @wyli ,
Thanks for your review.
I updated the notebook according to your comments.
Could you please help help review it again?
If you think it's OK to merge, could you please help add the link to the highlight page when you adding the GradCam part?
Thanks.

thanks I've added the GradCAM yesterday


Escaped pipe character in markdown docs in tables

Resolves #65
It requires https://github.com/zendframework/zf-mkdoc-theme/pull/30 to be released first.
Basically we always escape pipes in cells in markdown notation and after generating HTML we 'unescape' them in html files (because html generators is not doing that).
I've tested it and it works correctly. If anyone like to test it you can do the following steps:

Clone repo and checkout branch with the fix:

# git clone https://github.com/webimpress/zend-navigation.git
# cd zend-navigation
# git checkout hotfix/65

Install dependencies:

# pip install --user mkdocs
# pip install --user pymdown-extensions

Download updated zf-mkdoc-theme from my branch and unzip it:

# wget https://github.com/webimpress/zf-mkdoc-theme/archive/hotfix/pipes-in-tables.zip
# unzip pipes-in-tables.zip
# mv zf-mkdoc-theme-hotfix-pipes-in-tables/ zf-mkdoc-theme

Build the docs from md files:

# zf-mkdoc-theme/build.sh

The docs should be build in zend-navigation/doc/html/ directory.
/cc @froschdesign

@froschdesign zf-mkdoc-theme is now merged and released as 0.5.3 so this PR can be now merged :)

Thanks, @webimpress