Cannot use import statement outside a module

Version

Vue version: 2

Description
I'm using Nuxt with the composition API and trying to get this plugin to work. When I try to load it, I get the above error:
Cannot use import statement outside a module
Demo
Please use our JSFiddle template to reproduce the bug. Issues without working reproduction might be ignored.
Here's a gist of the file. Not doing anything special.

This is nuxtJS specific. If you want to add a NuxtJS example, here's how I fixed it:
in nuxt.config.js
{ src: '~/plugins/vue-stack-grid', mode: 'client' }
in plugins/multiselect.js
import Vue from 'vue'
import Multiselect from<EMAIL_ADDRESS>Vue.component('VMultiselect', Multiselect)

In the component
  <client-only>
    <v-multiselect v-model="value" :options="options" />
  </client-only>

This didn't end up working in Nuxt. I was getting errors about infinite loops so I had to try and find another plugin. I love what you did though with composition, it's so clean. Any interest in ensuring this works with Nuxt and Vue2?

I've created a section with Nuxt.js usage:
https://github.com/vueform/multiselect#using-with-nuxtjs
It works on a fresh install with this setup. If it's still not ok on your end please share your nuxt.config.js.

It's still not working and this seems like the cleanest select plugin out there by far!
Here's my config:
https://gist.github.com/jnarowski/a740922bba3d9d1127ae239530773eaa

I recreated with a fresh nuxt install.
Here's the code for it:
https://drive.google.com/file/d/12_r3SknguGWhaqvb2zwFTobo44wwcq5l/view?usp=sharing
Codesandbox was having issues getting the right Nuxt up and running. I'd love to use this if we can figure out what's going on. Maybe in the rollup settings?

Can we re-open this or should I create a new issue since it's still there?.

Can we get this fixed?

I think this should be opened again, bug is still there, no way to make it work with nuxt

I made it work by adding this to the nuxt config:
  build: {
    transpile: [
<EMAIL_ADDRESS>    ],
  },

I used Nuxt multiselect

The same for Quasar Framework. To fix this error, I have to add @vue-form/multiselect to build/transpileDependencies in quasar.conf.js:
module.exports = configure(function (ctx) {
	return {
		// …
		build: {
			// …
			transpileDependencies: [
				'@vueform/multiselect'
			],
			// …
		},
	// …
}

(Quasar v2 in my case)

With vue-cli the recommendation seems to be to adjust the transformIgnorePatterns in your jest.config.js file.
module.exports = {
	// ...
	transformIgnorePatterns: ["/node_modules/(?!@vueform/multiselect)"],
}

This way testing the multiselect with testing-library/vue works.


[#noissue] Refactor grpc-stream

Codecov Report

Merging #7369 into master will decrease coverage by 0.04%.
The diff coverage is 8.87%.

@@            Coverage Diff             @@
##           master    #7369      +/-   ##
==========================================
- Coverage   38.63%   38.59%   -0.05%
==========================================
  Files        3322     3324       +2
  Lines       95992    96134     +142
  Branches    11872    11911      +39
==========================================
+ Hits        37091    37106      +15
- Misses      55999    56123     +124
- Partials     2902     2905       +3

Impacted Files
Coverage Δ

...text/provider/grpc/SpanGrpcDataSenderProvider.java
0.00% <ø> (ø)

.../pinpoint/profiler/sender/grpc/GrpcDataSender.java
0.00% <0.00%> (ø)

...t/profiler/sender/grpc/ResponseStreamObserver.java
0.00% <0.00%> (ø)

...point/profiler/sender/grpc/SpanGrpcDataSender.java
0.00% <0.00%> (ø)

...point/profiler/sender/grpc/StatGrpcDataSender.java
0.00% <0.00%> (ø)

.../pinpoint/profiler/sender/grpc/StreamExecutor.java
0.00% <0.00%> (ø)

...vercorp/pinpoint/grpc/logging/ThrottledLogger.java
12.96% <12.96%> (ø)

...lient/interceptor/LoggingDiscardEventListener.java
58.82% <71.42%> (-2.29%)
:arrow_down:

...vercorp/pinpoint/rpc/packet/ServerClosePacket.java
52.00% <0.00%> (-16.00%)
:arrow_down:

...rp/pinpoint/rpc/server/PinpointServerAcceptor.java
84.10% <0.00%> (-4.64%)
:arrow_down:

... and 11 more

Continue to review full report at Codecov.

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


Consider making model builder's code generation 'ala carte'

ML .NET 1.2.0
Model Builder’s code generation functionality is useful for generating large data structures that contain many columns\properties; however, this functionality is currently tied to only a few trainers that are currently supported by Model Builder.
You can still use the code generation portion with other models, which is what I did for the recent Ranking sample.
We should surface the code generation functionality so that it can be used selectively with other trainers.  Today, it's not clear that you can use the code generation piece with other trainers like this.

Thanks for reporting! Can you share how you used it with Ranking?

@nicolehaugen Closing for now! We're adding ranking support ... hopefully that will resolve this issue.
Happy to discuss it more if you can provide insight into how ala carte would help beyond Model Builder adding more scenarios. Feel free to open with more details.
Thanks for reporting!
Cheers,
Jake


Fetch global functions

Constants in global scope are not shown or reachable?
Try fetchind contants in namespace "+global" first.

Solved in 2.1.x and later. Nikic Parser can do that.


fanocli refuses creating controller with no git in a project

fanocli doesn't create controllers and issues the following message:
Current directory was not generated by Fano CLI. Try create project first, for example with --project-scgi or --project-fcgi.
Run with --help option to view available task.
if run within project's directory, which was created with --no-git flag

@ooptimum Thank you for reporting this issue. I will look into it as soon as I have time.

Fixed in fanoframework/fano-cli@f3c43ac


add tree cnn impl

add tree cnn impl
fix

#75  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Angryrou and the rest of your teammates on  Graphite


order button not work on wp

when i try to use order button on wordpress there is an error
js line 24 "        $(document).keyup(function(e) { // esc"
but using fresh blank html file works good

Does jQuery loads before the BoxBilling js script?

before i used 4.14 it was work but i have updated today 4.16.2 not work
i sended my webpage with email

fixed i have added this js on wordpress header

I have this issue too, help!


Fixes for a few minor issues in the CMake

When building using cmake on linux (out of source build directory), I get the following error:
CMake Error at CMakeLists.txt:113 (check_include_file):
  Unknown CMake command "check_include_file".

After fixing the above, I get:
CMake Error at CMakeLists.txt:124 (check_function_exists):
  Unknown CMake command "check_function_exists".

And then, I get:
CMake Error at src/CMakeLists.txt:361 (set_target_properties):
  set_target_properties called with incorrect number of arguments.

The last error, is due to the fact that we don't set NN_PACKAGE_VERSION variable for cmake to use. I solved this by moving the logic in package_version.sh into cmake directly.
After the following commits, I am able to build and run tests using the make targets (100% pass)

It looks like you make have stumbled upon an issue between check_include_file and check_include_files (notices "s" on the end of one), but I'm not sure about the NN_PACKAGE_VERSION bit.
Can you verify that prior to building with CMake, you've removed all of the autotools source, and especially any build artifacts from previous invocations of autotools? The only place that NN_PACKAGE_VERSION is referenced is within the autotools script itself (https://github.com/nanomsg/nanomsg/search?q=NN_PACKAGE_VERSION&type=Code), meaning the issues you see could be due to stale build artifacts either in your repo or out-of-source build dir. (this has bitten me enough times to have the keystrokes git clean -xfdn memorized!)

I think the main problem uncovered here is the include file: https://github.com/JackDunaway/featherweight-nanomsg/blob/ftw-kernel/CMakeLists.txt#L26
Note, it's plural, not singular. Compared with the invocations of the function later, which are singular, not plural.
The reason this has been flying under my radar with successful builds I believe is because this library is built as part of a bigger amalgamation, which does have the correct include() upstream of this particular library.
Good catch!

Beginning of one such successful build: https://travis-ci.org/featherweight/ftw-kernel/jobs/118998992#L770

@JackDunaway You are correct.

one with the check_include_files vs check_include_file. Would you prefer to fix the "include" instead?(https://github.com/JackDunaway/featherweight-nanomsg/pull/1/commits/289fa60ea7075c601fc768fd952853ce3bcf4a93)

no include for check_function_exists (https://github.com/JackDunaway/featherweight-nanomsg/pull/1/commits/b75b03ff64030fa922e49d904a7f0ad1e3a0f6c4). This is required to get by the next issue

3.It is used here
https://github.com/JackDunaway/featherweight-nanomsg/blob/ftw-kernel/src/CMakeLists.txt#L362.
The value of NN_PACKAGE_VERSION sets the build version of the library. However, it is never set anywhere. The fix I made in this commit (https://github.com/JackDunaway/featherweight-nanomsg/pull/1/commits/ad6b73ef8d6451e6f23b01a04af7498bd9e58cdf), essentially calculates the build version as per the script package_version.sh in cmake itself.
This removes the need to run something in the shell and obviates the need for the script once all platforms are supported via cmake.

Checked without my last commit + git clean. Issue w.r.t NN_PACKAGE_VERSION persist.
[{} cmakeify-nanomsg]$git clean -xfd
Removing build/
[{} cmakeify-nanomsg]$mkdir build && cd build && cmake ..
-- The C compiler identification is GNU 4.4.7
....  (truncated for brevity)
....
-- Performing Test NN_HAVE_MSG_CONTROL - Success
CMake Error at src/CMakeLists.txt:361 (set_target_properties):
  set_target_properties called with incorrect number of arguments.

-- Autobahn TestSuite for WebSocket is disabled.
-- Configuring incomplete, errors occurred!
See also "/workspace/git/eshivel/nanomsg.git/cmakeify-nanomsg/build/CMakeFiles/CMakeOutput.log".
See also "/workspace/git/eshivel/nanomsg.git/cmakeify-nanomsg/build/CMakeFiles/CMakeError.log".
[{} build]$

The value of NN_PACKAGE_VERSION is used to set the build version of the library. If the variable is unset, we will see the error as shown in my original post

You're right. I've been building libnanomsg as a static lib, where obvious problems like this didn't flush out.
Thank you for the work on a tricky bit like this! Will definitely pull this commit (it's late evening my time; will dive in tomorrow)

Sure thing! Thanks for spending time understanding my changes.


not available for actions

It looks like there's been a v2.0.0 release, but it hasn't made it into the github actions marketplace yet:
https://github.com/marketplace/actions/mise-action

done, but what does going into the marketplace actually do?

There's common github org settings that only allow using actions from the marketplace, so you're limiting your audience without having it published there.  (including me :) )

ack


Instructions for VS Code Remote Development

rust-analyzer can be used with the Visual Studio Code Remote Development extension pack, but cargo xtask install is not enough, you have to install the VSIX package from VS Code.
These instructions have been added to the README.

Thanks!
bors r+


[#12] [Backend] Build a core networking service

Close #12

What happened 👀
Provide a description of the changes this pull request brings to the codebase. Additionally, when the pull request is still being worked on, a checklist of the planned changes is welcome to track progress.
Insight 📝
Describe in detail why this solution is the most appropriate, which solution you tried but did not go with, and how to test the changes. References to relevant documentation are welcome as well.
Proof Of Work 📹
Show us the implementation: screenshots, GIFs, etc.

Close this due to conflict files


Add more example usage of pivot table

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.49%. Comparing base (bb4c1c7) to head (f8bab23).

:exclamation:  There is a different number of reports uploaded between BASE (bb4c1c7) and HEAD (f8bab23). Click for more details.
HEAD has 5 uploads less than BASE

Flag
BASE (bb4c1c7)
HEAD (f8bab23)

6
1

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
- Coverage   96.97%   89.49%   -7.48%
==========================================
  Files          26        6      -20
  Lines        2872      790    -2082
==========================================
- Hits         2785      707    -2078
+ Misses         64       60       -4
  Partials       23       23

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


Optimize non-inlined value processing

Store the non-inlined data in a manner optimized for faster comparisons. For instance, a long string can be represented by its start and end letters and a pointer to the actual string.

Yes, that makes sense. I have reopened the issue.

Yes, that makes sense. I have reopened the issue.

This idea won't work when we add support for collations.


What should be the archive value for MEND?

I'm trying to load HF model and edit it using MEND. But I'm getting the following error
No such file or directory: './results/models/MEND/llama-7b'
This is related to the archive value in the yaml file. What should be given here while using HF models? I tried giving the HF model name as well.
Here is my sample code

from easyeditor import ROMEHyperParams, BaseEditor, MENDHyperParams

# hparams = ROMEHyperParams.from_hparams('./hparams/ROME/llama-7b')
hparams = MENDHyperParams.from_hparams('./hparams/MEND/llama-7b')

## edit descriptor: prompt that you want to edit
prompts = [
    'What university did Watts Humphrey attend?',
    'Which family does Ramalinaceae belong to',
    'What role does Denny Herzig play in football?'
]
## You can set `ground_truth` to None !!!(or set to original output)
ground_truth = ['Illinois Institute of Technology', 'Lecanorales', 'defender']
## edit target: expected output
target_new = ['University of Michigan', 'Lamiinae', 'winger']

locality_inputs = {
    'neighborhood':{
        'prompt': ['Joseph Fischhof, the', 'Larry Bird is a professional', 'In Forssa, they understand'],
        'ground_truth': ['piano', 'basketball', 'Finnish']
    },
    'distracting': {
        'prompt': ['Ray Charles, the violin Hauschka plays the instrument', 'Grant Hill is a professional soccer Magic Johnson is a professional', 'The law in Ikaalinen declares the language Swedish In Loviisa, the language spoken is'],
        'ground_truth': ['piano', 'basketball', 'Finnish']
    }
}

editor = BaseEditor.from_hparams(hparams)

metrics, edited_model, _ = editor.edit(
    prompts=prompts,
    ground_truth=ground_truth,
    target_new=target_new,
    locality_inputs=locality_inputs,
    keep_original_weight=True
)

If you want to apply MEND to your model, you should pretrain the meta-networks. You can get more details here：
https://github.com/zjunlp/EasyEdit#trainer

If you want to apply ROME to your model, you have to make sure that the subject exists in your input prompt, because the essence of the rome method is to modify the representation of the subject's position. For details, please refer to the paper https://arxiv.org/abs/2202.05262

Thanks for the clarification. I have found the collab link and the script is running fine now. I will test further with that.

Great!


Bluebird Deferred Migration and Notify Question

As per bluebird's Deferred Migration notes (https://github.com/petkaantonov/bluebird/blob/master/API.md#deferred-migration), shouldn't your $qBluebird defer code use something similar to:
function defer() {
    var resolve, reject;
    var promise = new Promise(function() {
        resolve = arguments[0];
        reject = arguments[1];
    });
    return {
        resolve: resolve,
        reject: reject,
        promise: promise
    };
}

Also, in regards to progress - I see that you're supporting it since Angular has the notify on $q but I wonder since Bluebird has openly stated that they're deprecating and in the future not supporting progression (https://github.com/petkaantonov/bluebird/blob/master/API.md#progression-migration), how will you handle that? It seems like other angular $q/bluebird substitutions don't handle notify at all: https://github.com/angular/angular.js/issues/6697

Using your defer implementation it doesn't allow you to use the notify callback. By not handling the notify callback this would break 3rd party libraries that require it, so leaving it out isn't really an option as this library is intended to be a complete shim for $q. I guess as a result this library will only be able to offer support for bluebird 2.x, I suppose I could offer an option to support 3.x when it's released with no support for notify / progress. However, when angular 2.0 is eventually released you will just be able to directly use bluebird with it and this library will become redundant.


Get installables info from requirements.json

Attempt to get all the names, versions and description from requirements.json instead of hardcoded strings in code.

Build is green, @dgolovin , @ppitonak , let me know what you think.

@jrichter1 thanks, it looks good, but I would postpone releasing this right now, because of conflicts.

 Anyway, I got that fixed and rather than using the horrible piece of path resolving again I put it into a method.

@jrichter1 could you rebase it one more time on top of all the changes?
Thanks!

Looks like I've messed up somewhere, investigating.

Rebased, mistakes mended.


Using client failed over the database

Hi,
I'm using IDS 4 in my project, when I use default clients of samples in memory every thing is ok:
             new Client
            {
                ClientId = "mvc",
                ClientName = "MVC Client",
                AllowedGrantTypes = GrantTypes.HybridAndClientCredentials,

                RequireConsent = true,

                ClientSecrets =
                {
                    new Secret("secret".Sha256())
                },

                RedirectUris = {"http://localhost:5002/signin-oidc"},
                PostLogoutRedirectUris = {"http://localhost:5002"},

                AllowedScopes =
                {
                    StandardScopes.OpenId.Name,
                    StandardScopes.Profile.Name,
                    StandardScopes.OfflineAccess.Name
                }
            }`

but when I Switch them to database:
foreach (var client in Config.GetClients())                     {                         context.Clients.Add(client.ToEntity());                     }                     context.SaveChanges();
it failed:

IdentityServer4.Validation.ScopeValidator:Error: Invalid scope: openid

In database I could find all scopes that I mentioned in the client!

I made an mistake in some operations.


add uprobe library name lookups

Instead of the full path to a library, I should just be able to use "libc", or, like what bcc uses with attach_uprobe(), "c".
Currently works like this:
# bpftrace -e 'uprobe:/lib/x86_64-linux-gnu/libc.so.6:gethost* { @[probe] = count(); }'
Attaching 10 probes...
^C

@[uprobe:/lib/x86_64-linux-gnu/libc.so.6:gethostname]: 2

This should also work as well (it currently doesn't):
# bpftrace -e 'uprobe:libc:gethost* { @[probe] = count(); }'

I was looking at the code for resolve_binary_path, and saw that it was just doing command -v, so wouldn't work at all for libraries.
To support libraries, we could just call ldconfig -p and parse out the paths, similar to  ldconfig -p | awk -F'> ' '{print $2}'.
It's easy enough to get the basename of each path, and match it against the library name. We would need to modify attach_point to call a helper that would probably work somewhat like this:

Check if the path exists in the current mount namespace, if no process ID is provided (via -p, eg for USDT). If a process is specified, check the process' mount namespace for the file.
If the file is not an exact path, fallback to searching.
If the file starts with lib, then load ldconfig -p and search it for a library of the matching name. -p is specified, run ldconfig against that mount namespace instead (though this might be a pain for alpine, which seems to ship with an incompatible ldconfig). There might be a benefit to just parsing ld.so.cache directly, as it wouldn't depend on utilities existing in a given mount namespace.
If the file doesn't start with lib, assume it's a binary and use the system search path as we do now

I quickly checked bcc source and it doesn't seem to have anything in anything ready-made for handling different mount namespaces, but i don't see it needing to be that complicated, a simpler version can probably exist in util.cpp.
I think it makes sense to make all of these changes in an omnibus PR, to generally improve how bpftrace handles paths for uprobes/usdt probes.

I'm considering taking this up, but have one alternate proposal to the scheme.
When a pid is provided, I think it makes sense just to scan /proc/PID/maps (or we could do a BPF iter to get fancy?) and have the kernel canonicalize the path. This lets us ignore all the details related to mount namespaces and ldconfig (entering the chroot and mount namespace to run ldconfig seems fraught). We would only find libraries that are actually linked, but that's all you'd care about anyways with a -p supplied.
Without -p, I think you'd just have to use ldconfig -p and match there in a best-effort capacity.
Curious to hear thoughts on this, otherwise I will see if I can knock something out.

Semantics for -p makes sense to me. I haven't thought it through for edge cases, though. I believe we've overloaded its usage to USDT as well as stopping bpftrace when the process exits. I also think we were thinking of supporting multiple -p invocations (see https://github.com/bpftrace/bpftrace/issues/3552). Probably needs some checking to make sure we haven't boxed ourselves into a corner.
IIRC ldconfig -p is just the cache, so not necessarily a source of truth. What about supporting something like BPFTRACE_LD_LIBRARY_PATH? Directly using LD_LIBRARY_PATH might have implications b/c it would affect bpftrace dynamic linker too.

These are all heuristics and not necessarily a source of truth, which would be determined by whatever the linker happens to be pick when a thing is actually executed, e.g. the binary could change its own LD_LIBRARY_PATH and then exec, files could be moved, or you could even have different linkers for different binaries (i.e. the PT_INTERP).
It seems like the existing resolve_binary_path functions are just doing a best-effort search and there's quite a bit of fuzziness there currently. I'll tackle this some evening early next week, and I'll just try to keep it simple. I think it's probably better to grok the LD cache than rely on BPFTRACE_LD_LIBRARY_PATH (as this would need to know about containers and other things, which would be a pain to specify).
I noticed multiple pid discussion. My hot take on that is that it'll probably lead to a big mess in a variety of ways, and I'm not sure it's what anyone wants anyways. I think what people actually want (and I believe this was the original bug) is the ability to easily trace hierarchies of related processes, e.g. something like -p <parent> --all-children. Maybe that is easier to filter as well, since in theory it is just a question of whether you can traverse the parents to that pid (and then it's also able to be applied dynamically as things change, and still make sense). If the "multiple pids" feature takes that form, then you can also achieve consistency with respect to all named paths in the probes, since it would all be evaluated with respect to the named pid (even if children do weird stuff with namespaces, they are still in the hierarchy of the named process).

I'm not sure if you're aware (it's not mentioned anywhere in this discussion) but the automatic resolution of library paths is already present, I added a while ago it in #1971. It uses BCC's bcc_procutils_which_so which does pretty much what has been described here: when PID is specified, it searches /proc/<pid>/maps, otherwise it searches /etc/ld.so.cache.
With that, I'm all ok with reimplementing (and ideally improving!) it in bpftrace as a part of our initiative to drop dependency on BCC, I just wanted to pinpoint that the functionality itself is already there.

Good call, I forgot about it!


Can't reproduce hydra failure for backintime-qt4

Hydra fails to build backintime-qt4 and I can't reproduce it:
$ bash <(curl https://hydra.nixos.org/build/35442715/reproduce)
[...]
/nix/store/0bwsc7axzx4f6spw60rbip06lfdqawn9-backintime-qt4-1.1.12
$ echo $?
0

System: (NixOS: `16.09.git.94ee1b7)
Nix version: 1.11.2
Nixpkgs version: 16.09.git.94ee1b7

Blocker is for NixOS releases.

I think it got fixed magically.


update size_letter icon in missions (first-timers-only)

first-timers-only
This issue is tagged :octocat: first-timers-only. It is only for people who have never contributed to open source before and are looking for an easy way take their first steps.
Consider this as your chance to dip your toe into the world of open-source and get some bragging rights for writing code that makes drones fly, cars find charging stations, helps people and goods move from place to place and more...
Find more first-timers-only issues from DAV Foundation here.
Thank you for your help :heart:
What is this project?
DAV (Decentralized Autonomous Vehicles) is a new non-profit foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.
As an organization that believes in building a large community of open-source contributors, we often create issues like this one to help people take their first few steps into the world of open source.
Missions
The DAV project you are looking at is Missions. Missions is the client facing side of the marketplace connecting DAV users looking to ship packages, with autonomous vehicles such as drones.
How you can help
At DAV we are currently re designing our branding. According to the new design we are changing the color scheme of all our applications including missions.
Issue
The task for this issue is to change the letter size image in order page from  to this
You can simply replace the contents of the file size_letter.svg in src/images/ with this
<?xml version="1.0" encoding="UTF-8"?>
<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 49.1 (51147) - http://www.bohemiancoding.com/sketch -->
    <title>mail</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="Order-Pick-Up-screen" transform="translate(-30.000000, -299.000000)">
            <g id="mail" transform="translate(31.000000, 300.000000)">
                <g id="Group-5">
                    <path d="M11.0039143,1.23882857 C9.9222,0.158828571 8.15391429,0.158828571 7.07305714,1.24054286 L0.428485714,6.97311429 L0.428485714,15.0868286 C0.428485714,16.4239714 1.52134286,17.5168286 2.85848571,17.5168286 L15.2382,17.5168286 C16.5753429,17.5168286 17.6682,16.4239714 17.6682,15.0868286 L17.6682,6.97311429 L11.0039143,1.23882857 Z" id="Stroke-1" stroke="#FE6B48"></path>
                    <polyline id="Fill-3" fill="#FFFFFF" points="2.99179075 8.0380099 2.99179075 3.30013267 14.7495235 3.30013267 14.7495235 8.22380901 8.87065714 11.9153559"></polyline>
                    <polyline id="Stroke-5" stroke="#FE6B48" points="2.99179075 8.0380099 2.99179075 3.30013267 14.7495235 3.30013267 14.7495235 8.22380901"></polyline>
                    <polyline id="Stroke-7" stroke="#FE6B48" points="0.428571429 6.97345714 9.08485714 11.9140286 17.6682857 6.97345714"></polyline>
                </g>
            </g>
        </g>
    </g>
</svg>

Contributing to Missions

[ ] Make sure this issue is labeled up-for-grabs and not labeled claimed, to verify no one else is working on it.
[ ] Comment in this issue that you would like to do it.
[ ] Open the Missions GitHub page and click the ★ Star and then ⑂ Fork buttons.
[ ] Clone a copy to your local machine with $ git clone https://github.com/YOUR-GITHUB-USER-NAME/missions.git
[ ] Code Code Code
[ ] Once you've made sure all your changes work correctly and committed all your changes, push your local changes back to github with $ git push -u origin master
[ ] Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/missions) and create a pull request for your changes.
[ ] Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: #5)
[ ] Please do not fix more than one issue at a time. Your pull request should only fix what is described in this issue.

Asking for help
We appreciate your effort in taking the time to work on this issue and help out the open source community and the foundation. If you need any help, feel free to ask below or in our gitter channel. We are always happy to help 😄

Hey, I'd be happy to do this one!

Hey @jonasgrilleres Congratulations on your first contribution to open source 👏 🍾 Hope you had fun and learned few things in the process. Feel free to join our gitter channel to find out more opportunities to contribute 😄


Better support of type inference

It would be much more convenient if we don't need to write type annotations...
data PolyList [A] = Nil
                  | Cons A (PolyList[A]);

let rec map [A, B] (f : A -> B) (l : PolyList[A]) : PolyList[B] =
    case l of
        Nil             ->      Nil
     |  Cons x xs       ->      Cons (f x) (map f xs);

map (\x -> x + 1) (Cons 1 Nil)

which means that I don't need to tell compiler explicitly.

split from #84

Definitely a desirable feature, but unlikely to be supported any time soon ...

@zhiyuanshi I have discussed with @zhiyuanshi about this. It is a little bit complicated to support type inference in F2J...


added title field to cmsplugin_filer_link

I added a title field to the link plugin. The title will be displayed when hovering the link with the mouse, as specified here: http://www.w3.org/TR/html401/struct/links.html#h-12.1.4

@stefanfoulis any opinion on the future of cmsplugin_filer_link? See #164


Permission seems wrong

You have:
$current = $user->id === $model->id;
But why would you expect model id to match user id. Although this is randomly possible it does not mean that the lucky user is the user. It can lead to access being granted to the wrong person.
Is the following what  you meant ?
$current = $user->id === $model->user_id;

This is the UserPolicy, which only applies to "user" BREAD views.  Due to this $model will always be the User object being accessed (not necessarily the "current" user).  This test is checking if the current user is accessing their own user view(s).  We want them to always be allowed to do that for purposes of the "/admin/profile" view.  I think if you were to test this yourself, you'll find that it throws a "field 'user_id' not found" error.

I see, but your function description or the way its written do not show what you explained. When using your program we just reuse the functionality you already have instead of making duplicate, so I think it is good for functions to be clear about what they do unless of course you are preventing us from extending you program. Type-hinting the $model as User or doing $current =$user->is($model), would prevent us from misusing your function.

This is just a policy class following Laravel conventions.  We can't typehint the $model parameter, as it won't match the signature of the method it's overriding.  This particular class is specific to Users, which it's reasonable for us to expect you to know.


Add failing rbx test for EndpointResolver

Currently Rbx has problems with classes which extend SimpleDelegator.
See rbx issue https://github.com/rubinius/rubinius/issues/3451 for further details.
To get a better grasp what exactly was failing I added this test.

Seems like on travis everything is passing, closing therefore.
Have to investigate why on my local rbx install the tests are failing.

Hm weird..
router ➤ ruby -v                                                                                git:master
rubinius 2.5.7.c21 (2.1.0 a8dcb34b 2015-06-25 3.5.0 JI) [x86_64-linux-gnu]
router ➤ ruby -Ilib:test test/routing/endpoint_resolver_test.rb                                                                                git:master
Run options: --seed 50923

# Running:

..............F

Finished in 0.011274s, 1330.5018 runs/s, 1330.5018 assertions/s.

  1) Failure:
Lotus::Routing::EndpointResolver::endpoint with nested routes#test_0001_reponds to :routes [/home/benny/Development/ruby/lotus/router/test/routing/endpoint_resolver_test.rb:96]:
Expected: true
  Actual: false

15 runs, 15 assertions, 1 failures, 0 errors, 0 skips

Travis rbx version is rubinius 2.5.7 (2.1.0 d4fdeaad 2015-06-17 3.4 JI) [x86_64-linux-gnu] therefore a little bit older then mine.
So when travis / rvm updates to a newer rbx this will fail, reopening.

looks good to me :+1:


localCI: set default account identity

running as a systemd service git is not able to
read the ~/.gitconfig file therefore this patch adds
a default account identity to avoid errors running the
git command
fixes #191
Signed-off-by: Julio Montes<EMAIL_ADDRESS>

gah - that's annoying.
lgtm, although maybe it would make sense to specify the name as localCI user (that said, we can't really provide a corresponding email address for that so, meh).

Indeed, quite annoying.
lgtm
I note we got a qa-failed - @chavafg, anything to worry about there?

@grahamwhaley nop, I was just testing this PR , it fails because seem like I have to set the proxy in the systemd service


Missing teardown after failure & wrong scanner payload

Hi, here are two issues i would like to expose and fix:

cleanup nodesecure clones folder in case of an error is not done:

store.run(config, () => {
    fetchPackagesAndRepositoriesData()
      .then((data) => {
        if (debugMode) {
          debug(data);
        }

        return reporting.proceed(data);
      })
      .catch((error) => {
        console.error(error);
        process.exit(0);
      })
      .finally(teardown);
  });

in the catch bloc, process.exit kill the program before it executes the finally bloc, so clones folders are not removed recursively.
The next execution will immediately fail due to existing clones folders.

Scanner dependency has changed and the stat payload returns an undefined "links" array. The consequence is a failure during zup template rendering that try to access property "repository" from "links".

Is it something to fix in scanner project instead ?

@fraxken i wanted to push something else because teardown log a successfull message also in case of failure:
    try {
      await reporting.proceed(data);
      console.log(kleur.green().bold("\n>> Security report successfully generated! Enjoy 🚀.\n"));
    }
    catch (error) {
      console.error(error);
    }
    finally {
      await fs.rm(CONSTANTS.DIRS.CLONES, {
        recursive: true, force: true
      });
    }


TreeView and TreeNode for AspNet Core 2.1

Are there any classes that replace TreeView and TreeNode in AspNet Core 2.1?

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

ID: e6f79099-978d-9b1e-7b87-fff907dc1017
Version Independent ID: aeb00ac5-4497-e455-3909-8d689994e982
Content: System.Web.UI.WebControls Namespace
Content Source: xml/ns-System.Web.UI.WebControls.xml
Product: dotnet-api
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

@scottaddie @Rick-Anderson can you help with this question?

@Raghumu Microsoft doesn't ship any controls like this in ASP.NET Core. There are, however, 3rd party controls available from Microsoft partners (e.g. Telerik's TreeView).


chore: update to the new Document object

See https://github.com/deepset-ai/haystack/pull/5738

Good to go once https://github.com/deepset-ai/haystack/pull/5738 is merged

@masci https://github.com/deepset-ai/haystack/pull/5738 is merged


update id5 userId docs with new pd field

docs for https://github.com/prebid/Prebid.js/pull/5406

@bretg will this get merged now that the 3.25.0 release went out?

This is weird, it's merged but still showing up in the PR list.

This is weird, it's merged but still showing up in the PR list.

looks ok to me now


need minimum keydown reaction time

after keydown need minimum delay before returning to event loop, to prevent key bounce or spamming

looks like I'll have to convert to pygame.key.get_pressed() instead for live monitoring of keys
I want to ignore keypresses that occur during the delay, to increase perceived responsiveness and feeling of immediacy to improve cause and effect association for toddler

closed in 262ca5b


Danish translation

Hi there, danish translation for your plugin. Hope you find it useful :-)

Awesome, I hope others will find use on this translation 😉


[SR-10020] @available deprecated tag breaks CaseIterable synthesis

Previous ID
SR-10020

Radar
rdar://48523719

Original Reporter
sstadelman (JIRA User)

Type
Bug

Environment
Xcode: Version 10.1 (10B61)
Hardware Overview:
  Model Name: MacBook Pro
  Model Identifier: MacBookPro14,3
  Processor Name: Intel Core i7
  Processor Speed: 3.1 GHz
  Number of Processors: 1
  Total Number of Cores: 4
  L2 Cache (per Core): 256 KB
  L3 Cache: 8 MB
  Memory: 16 GB
  Boot ROM Version: <IP_ADDRESS>.0
  SMC Version (system): 2.45f0

Additional Detail from JIRA

Votes
2

Component/s
Compiler

Labels
Bug

Assignee
@beccadax

Priority
Medium

md5: 8883f35feedb7c2ffa6f9ff2db69ad05

Issue Description:
The presence of @available deprecated tag breaks CaseIterable synthesis.  This is easily reproduced in a playground.
A simple String type CaseIterable is synthesized normally:
enum TextType: String, CaseIterable {
    case title
    case subtitle
    case sectionTitle
}

TextType.allCases.map { print($0) }
// title subtitle sectionTitle

Introducing the @available tag breaks the synthesis:
enum TextType: String, CaseIterable {
    case title
    case subtitle
    @available(*, deprecated, renamed: "caption")
    case sectionTitle
    case caption
}

TextType.allCases.map { print($0) }
// error: HierarchyView.xcplaygroundpage:6:1: error: type 'TextType' has no member 'allCases'
// TextType.allCases.map { print($0) }
// ^~~~~~~~ ~~~~~~~~

Ugh, facing this error at the moment. Any updates on this yet? Swift 5.6


FIX-#4687: change 'Column.null_count' to return a builtin int instead of NumPy scalar

What do these changes do?

[x] first commit message and PR title follow format outlined here

NOTE:  If you edit the PR title to match this format, you need to add another commit (even if it's empty) or amend your last commit for the CI job that checks the PR title to pick up the new PR title.

[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #4687
[x] tests added and passing
[x] module layout described at docs/development/architecture.rst is up-to-date

@vnlitvinov could we merge it?


Incorrect Value in Relic Helper

Under Relic/Pagos/Elemental, it incorrectly says only 10 frosted protean crystals are needed. It should say 16.

Thank you for noticing it, I have pushed a fix to the incorrect requirement.
It will be pushed out in the next release


Performance

/stream, /stream/{ID}, and /ably are slower than they should be.

One option: Provisioned Concurrency Pricing, this looks to be ~$5/day. Will probably do this as a test.


invalid mount config for type "bind": bind source path does not exist

Hello, having some issues bringing up the stack,
root@min1 /e/elastic# uname -a
Linux min1 3.10.0-862.14.4.el7.x86_64 elastic/stack-docker#1 SMP Wed Sep 26 15:12:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

root@min1 /e/elastic# docker version
Client:
 Version:           18.09.0
 API version:       1.39
 Go version:        go1.10.4
 Git commit:        4d60db4
 Built:             Wed Nov  7 00:48:22 2018
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.0
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.4
  Git commit:       4d60db4
  Built:            Wed Nov  7 00:19:08 2018
  OS/Arch:          linux/amd64
  Experimental:     false

I ran the docker-compose -f setup.yaml up, the entire setup is done and gives me a password.

root@min1 /e/elastic# docker-compose -f setup.yml up --remove-orphans
Creating network "elastic_default" with the default driver
Creating elastic_setup_1_2ca56a7c094b ... done
Attaching to elastic_setup_1_2564d05a80d6
setup_1_2564d05a80d6 | Creating network "elastic_stack" with the default driver
setup_1_2564d05a80d6 | Found orphan containers (elastic_setup_1_2564d05a80d6) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating setup_elasticsearch ... done
Attaching to setup_elasticsearch
setup_1_2564d05a80d6 | setup_elasticsearch    | Determining if x-pack is installed...
setup_1_2564d05a80d6 | setup_elasticsearch    | === CREATE Keystore ===
setup_1_2564d05a80d6 | setup_elasticsearch    | Elastic password is: "zqEag8W0Q5unC56UkEmnkg=="
setup_1_2564d05a80d6 | setup_elasticsearch    | Created elasticsearch keystore in /usr/share/elasticsearch/config
setup_1_2564d05a80d6 | setup_elasticsearch    | Setting bootstrap.password...
setup_1_2564d05a80d6 | setup_elasticsearch    | === CREATE SSL CERTS ===
setup_1_2564d05a80d6 | setup_elasticsearch    | Remove old ca zip...
setup_1_2564d05a80d6 | setup_elasticsearch    | Creating docker-cluster-ca.zip...
setup_1_2564d05a80d6 | setup_elasticsearch    | CA directory exists, removing...
setup_1_2564d05a80d6 | setup_elasticsearch    | Unzip ca files...
setup_1_2564d05a80d6 | setup_elasticsearch    | Archive:  /config/ssl/docker-cluster-ca.zip
setup_1_2564d05a80d6 | setup_elasticsearch    |    creating: /config/ssl/ca/
setup_1_2564d05a80d6 | setup_elasticsearch    |   inflating: /config/ssl/ca/ca.crt
setup_1_2564d05a80d6 | setup_elasticsearch    |   inflating: /config/ssl/ca/ca.key
setup_1_2564d05a80d6 | setup_elasticsearch    | Remove old docker-cluster.zip zip...
setup_1_2564d05a80d6 | setup_elasticsearch    | Create cluster certs zipfile...
setup_1_2564d05a80d6 | setup_elasticsearch    | Unzipping cluster certs zipfile...
setup_1_2564d05a80d6 | setup_elasticsearch    | Archive:  /config/ssl/docker-cluster.zip
setup_1_2564d05a80d6 | setup_elasticsearch    |    creating: /config/ssl/docker-cluster/elasticsearch/
setup_1_2564d05a80d6 | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/elasticsearch/elasticsearch.crt
setup_1_2564d05a80d6 | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/elasticsearch/elasticsearch.key
setup_1_2564d05a80d6 | setup_elasticsearch    |    creating: /config/ssl/docker-cluster/kibana/
setup_1_2564d05a80d6 | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/kibana/kibana.crt
setup_1_2564d05a80d6 | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/kibana/kibana.key
setup_1_2564d05a80d6 | setup_elasticsearch    |    creating: /config/ssl/docker-cluster/logstash/
setup_1_2564d05a80d6 | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/logstash/logstash.crt
setup_1_2564d05a80d6 | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/logstash/logstash.key
setup_1_2564d05a80d6 | setup_elasticsearch    | Move logstash certs to logstash config dir...
setup_1_2564d05a80d6 | setup_elasticsearch    | Move kibana certs to kibana config dir...
setup_1_2564d05a80d6 | setup_elasticsearch    | Move elasticsearch certs to elasticsearch config dir...
setup_1_2564d05a80d6 | setup_elasticsearch exited with code 0
setup_1_2564d05a80d6 | Found orphan containers (elastic_setup_1_2564d05a80d6) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Creating elasticsearch ... done
Creating setup_kibana   ... done
Creating setup_logstash ... done
Attaching to setup_kibana, setup_logstash
setup_1_2564d05a80d6 | setup_kibana           | -rw-rw-r--. 1 root root 1200 Nov 26 16:39 /usr/share/kibana/config/ca/ca.crt
setup_1_2564d05a80d6 | setup_logstash         | -rw-rw-r--. 1 root root 1200 Nov 26 16:39 /usr/share/logstash/config/ca/ca.crt
setup_1_2564d05a80d6 | setup_logstash         | {"error":{"root_cause":[{"type":"validation_exception","reason":"Validation Failed: 1: passwords must be at least [6] characters long;"}],"type":"validation_exception","reason":"Validation Failed: 1: passwords must be at least [6] characters long;"},"status":400}=== CREATE Keystore ===
setup_1_2564d05a80d6 | setup_logstash         | Remove old logstash.keystore
setup_1_2564d05a80d6 | setup_kibana           | {"error":{"root_cause":[{"type":"validation_exception","reason":"Validation Failed: 1: passwords must be at least [6] characters long;"}],"type":"validation_exception","reason":"Validation Failed: 1: passwords must be at least [6] characters long;"},"status":400}=== CREATE Keystore ===
setup_1_2564d05a80d6 | setup_kibana           | Remove old kibana.keystore
setup_1_2564d05a80d6 | setup_kibana           | Created Kibana keystore in /usr/share/kibana/data/kibana.keystore
setup_1_2564d05a80d6 | setup_kibana           | Setting elasticsearch.password: "zqEag8W0Q5unC56UkEmnkg=="
setup_1_2564d05a80d6 | setup_kibana exited with code 0
setup_1_2564d05a80d6 | setup_logstash         |
setup_1_2564d05a80d6 | setup_logstash         | WARNING: The keystore password is not set. Please set the environment variable `LOGSTASH_KEYSTORE_PASS`. Failure to do so will result in reduced security. Continue without password protection on the keystore? [y/N] Created Logstash keystore at /usr/share/logstash/config/logstash.keystore
setup_1_2564d05a80d6 | setup_logstash         | Setting ELASTIC_PASSWORD...
setup_1_2564d05a80d6 | setup_logstash         |
setup_1_2564d05a80d6 | setup_logstash         | Enter value for ELASTIC_PASSWORD: Added 'elastic_password' to the Logstash keystore.
setup_1_2564d05a80d6 | setup_logstash exited with code 0
setup_1_2564d05a80d6 | Found orphan containers (elastic_setup_1_2564d05a80d6) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
setup_1_2564d05a80d6 | elasticsearch is up-to-date
Creating kibana ... done
Creating setup_packetbeat ...
setup_1_2564d05a80d6 | Creating setup_metricbeat ...
setup_1_2564d05a80d6 | Creating setup_filebeat   ...
Creating setup_packetbeat ... done
Creating setup_metricbeat ... done
Creating setup_filebeat   ... done
setup_1_2564d05a80d6 |
Creating setup_apm_server ... done
Creating setup_heartbeat  ... done
setup_1_2564d05a80d6 |
setup_1_2564d05a80d6 | ERROR: for setup_auditbeat  Cannot start service setup_auditbeat: linux spec capabilities: Unknown capability to add: "CAP_AUDIT_READ"
setup_1_2564d05a80d6 | Encountered errors while bringing up the project.
setup_1_2564d05a80d6 | Setup completed successfully. To start the stack please run:
setup_1_2564d05a80d6 | 	 docker-compose up -d
setup_1_2564d05a80d6 |
setup_1_2564d05a80d6 | If you wish to remove the setup containers please run:
setup_1_2564d05a80d6 | 	docker-compose -f docker-compose.yml -f docker-compose.setup.yml down --remove-orphans
setup_1_2564d05a80d6 |
setup_1_2564d05a80d6 | You will have to re-start the stack after removing setup containers.
setup_1_2564d05a80d6 |
setup_1_2564d05a80d6 | Your 'elastic' user password is: "zqEag8W0Q5unC56UkEmnkg=="
elastic_setup_1_2564d05a80d6 exited with code 0

when I startup the entire thing, getting bind errors,
root@min1 /e/elastic# docker-compose up
Recreating elasticsearch ... done
Recreating kibana        ... done
Creating logstash        ... done
Creating metricbeat      ...
Creating apm_server      ... error
Creating filebeat        ...
Creating metricbeat      ... error
Creating packetbeat      ...

ERROR: for apm_server  Cannot create container for service apm-server: invalid mount config for type "bind": bind source path does not exist: /etc/elastic/config/apm-server/apm-server.keystore
Creating heartbeat       ...
Creating auditbeat       ... error
ERROR: for metricbeat  Cannot create container for service metricbeat: invalid mount config for type "bind": bind source path does not exist: /etc/elastic/config/metricbeat/metricbeat.keystore

Creating packetbeat      ... error
Creating filebeat        ... done

ERROR: for packetbeat  Cannot create container for service packetbeat: invalid mount config for type "bind": bind source path does noCreating heartbeat       ... done

ERROR: for auditbeat  Cannot create container for service auditbeat: invalid mount config for type "bind": bind source path does not exist: /etc/elastic/config/auditbeat/auditbeat.keystore

ERROR: for apm-server  Cannot create container for service apm-server: invalid mount config for type "bind": bind source path does not exist: /etc/elastic/config/apm-server/apm-server.keystore

ERROR: for metricbeat  Cannot create container for service metricbeat: invalid mount config for type "bind": bind source path does not exist: /etc/elastic/config/metricbeat/metricbeat.keystore

ERROR: for packetbeat  Cannot create container for service packetbeat: invalid mount config for type "bind": bind source path does not exist: /etc/elastic/config/packetbeat/packetbeat.keystore
ERROR: Encountered errors while bringing up the project.

@perfecto25 I'm not sure what leads to this condition (I suspect it has something to do with the way docker-compose issues the mount command behind the scenes), but I was able to get this going by simply creating the directories, and then running docker-compose up -d.

@perfecto25 I'm curious if there's some permission errors going on and the process isn't able to create those keystores at the defined locations.

I just got bit by the same issue.  creating the auditbeat.keystore solved my problem.  Thanks for posting that solution.

I'm curious if the auditbeat service failing to start cause auditd isn't enabled for the kernel is breaking something in the whole process...

I had the same issue and @fxdgear your solutions worked

Looks like this issue has not been resolved in master branch.

I'm getting the same issue as mjpowersjr
Managed to get it working at some point but its hit or miss. Any idea when this can be resolved?

Hopefully the referenced pull request clears up some of these issues. The setup script seems to hang for me, I suspect it should be doing more work past the output below.
Environment:

Docker version 18.09.1, build 4c52b90
Ubuntu 18.10

$ docker-compose -f setup.yml up
WARNING: Found orphan containers (setup_kibana, setup_logstash) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Starting stack-docker_setup_1 ... done
Attaching to stack-docker_setup_1
setup_1  | Found orphan containers (stack-docker_setup_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Recreating setup_elasticsearch ... done
Attaching to setup_elasticsearch
setup_1  | setup_elasticsearch    | Determining if x-pack is installed...
setup_1  | setup_elasticsearch    | === CREATE Keystore ===
setup_1  | setup_elasticsearch    | Elastic password is: 4F7BBILOZavEQjQyLIN2Cg==
setup_1  | setup_elasticsearch    | Created elasticsearch keystore in /usr/share/elasticsearch/config
setup_1  | setup_elasticsearch    | Setting bootstrap.password...
setup_1  | setup_elasticsearch    | === CREATE SSL CERTS ===
setup_1  | setup_elasticsearch    | Remove old ca zip...
setup_1  | setup_elasticsearch    | Creating docker-cluster-ca.zip...
setup_1  | setup_elasticsearch    | CA directory exists, removing...
setup_1  | setup_elasticsearch    | Unzip ca files...
setup_1  | setup_elasticsearch    | Archive:  /config/ssl/docker-cluster-ca.zip
setup_1  | setup_elasticsearch    |    creating: /config/ssl/ca/
setup_1  | setup_elasticsearch    |   inflating: /config/ssl/ca/ca.crt
setup_1  | setup_elasticsearch    |   inflating: /config/ssl/ca/ca.key
setup_1  | setup_elasticsearch    | Remove old docker-cluster.zip zip...
setup_1  | setup_elasticsearch    | Create cluster certs zipfile...
setup_1  | setup_elasticsearch    | Unzipping cluster certs zipfile...
setup_1  | setup_elasticsearch    | Archive:  /config/ssl/docker-cluster.zip
setup_1  | setup_elasticsearch    |    creating: /config/ssl/docker-cluster/elasticsearch/
setup_1  | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/elasticsearch/elasticsearch.crt
setup_1  | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/elasticsearch/elasticsearch.key
setup_1  | setup_elasticsearch    |    creating: /config/ssl/docker-cluster/kibana/
setup_1  | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/kibana/kibana.crt
setup_1  | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/kibana/kibana.key
setup_1  | setup_elasticsearch    |    creating: /config/ssl/docker-cluster/logstash/
setup_1  | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/logstash/logstash.crt
setup_1  | setup_elasticsearch    |   inflating: /config/ssl/docker-cluster/logstash/logstash.key
setup_1  | setup_elasticsearch    | Move logstash certs to logstash config dir...
setup_1  | setup_elasticsearch    | Move kibana certs to kibana config dir...
setup_1  | setup_elasticsearch    | Move elasticsearch certs to elasticsearch config dir...
setup_1  | setup_elasticsearch exited with code 0
setup_1  | Found orphan containers (stack-docker_setup_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Recreating elasticsearch ... done
Recreating setup_kibana   ... done
Recreating setup_logstash ... done
Attaching to setup_kibana, setup_logstash
setup_1  | setup_kibana           | -rw-rw-r-- 1 root root 1200 Jan 30 12:12 /usr/share/kibana/config/ca/ca.crt
setup_1  | setup_logstash         | -rw-rw-r-- 1 root root 1200 Jan 30 12:12 /usr/share/logstash/config/ca/ca.crt

docker-compose -f setup.yml up --> This helped me setup everything. Thank you!

This is, Setup is dosent creating de .keystore in all diretorys.
I will try to copy then to others.

This is, Setup is dosent creating de .keystore in all diretorys.
I will try to copy then to others.

Waiting for this.

Dont work, just copy the keystore... This is a error inside the development... I choose to use a total source, without docker.
https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elastic-stack-on-centos-7

I had an issue with this today. My problem was with autocrlf. I had cloned down the repo with autocrlf=true, and that caused the compose to hang and not create any of the keystores because of the new line characters in the shell scripts. When I set "git config core.autocrlf false" and re-cloned, then it started working for me.

Forgot to mention, for the issue creator's original issue. The issue is with kernel 3.10 not knowing what "CAP_AUDIT_READ" is. Source: https://github.com/elastic/stack-docker/issues/14#issuecomment-338853049

Forgot to mention, for the issue creator's original issue. The issue is with kernel 3.10 not knowing what "CAP_AUDIT_READ" is. Source: https://github.com/elastic/stack-docker/issues/14


404 Page

[ ] Fixes issue #12  : "404 page"
[x] Other checks

Reason for pull request:
"To make new 404 page"
Description of changes or additions:
"404 page only works in product "
"DEBUG=False"
"ALLOWED_HOSTS=['*']"
now restart the server and test

@selvamanikannan I can't view the 404 page on changing the debug to false. I would suggest you to write a query in views.py for handling 404 exception. Thanks :)


Seeking help with endless loop

I have a strange issue that I cannot reproduce in CI: PHPStan execution does not end locally, it gets stuck at a certain code point (see example below) and runs until PHP timeout occurs after 300 seconds.
Usually my Symfony 6.4 app is analyzed in ~ 15 seconds, but with a recent code change on my end (a Doctrine subselect was added) it doesn't end, CPU is at 100% and RAM usage increases constantly (after 20 seconds its at 6GB+).
I use a Macbook M3 and tried PHP 8.1 and 8.3 with same results.
This code runs without issue in a GitHub action (Ubuntu latest with PHP 8.1 / 8.2 / 8.3).
PHPStan is installed in the project.
Composer packages are the same, all PHPstan configs are fetched from phpstan.neon.
The code is the same locally and in CI, besides the minor version of PHP.
Thats the code triggering the problem:
        $qb = $this->createQueryBuilder('tag');

        $qb1 = $this->getEntityManager()->createQueryBuilder();
        $qb1->from(Timesheet::class, 't')->select('COUNT(tags)')->innerJoin('t.tags', 'tags')->where('tags.id = tag.id');

        $qb->select('tag.id, tag.name, tag.color, tag.visible');
        $qb->addSelect('(' . $qb1->getDQL() . ') as amount'); <= this here causes the endless loop

If I remove the last line (the getDQL() subselect), the issue goes away.
I tried to lower the Doctrine package, tried to lower the level from 9 to 4 and removed the bleeding-edge rules:

Do you have any idea where/how I could investigate what is going on?

Would be good if you tried to reproduce it here in the test suite.
Also try to bring the environments of your local machine and GitHub Actions closer with these steps, you might be able to reproduce it in both places: https://phpstan.org/blog/phpstan-reports-different-errors-locally-ci-what-should-i-do

Thanks, I double checked, but I already follow best practices. Couldn't find anything related in your blog post.
This line triggers the endless loop:
$qb->addSelect('(' . $qb1->getDQL() . ') as amount'); <= this here causes the endless loop

I can remove it and it works.
To get rid of the error I can also remove:
    doctrine:
        objectManagerLoader: %rootDir%/../../../tests/phpstan-doctrine.php

And I can replace these lines:
// next line results in endless loop
$qb->addSelect('(' . $qb1->getDQL() . ') as amount');

// fetching the DQL and adding it manually works as expected (but I can't use that)
$qb->addSelect('(SELECT COUNT(tags) FROM App\Entity\Timesheet t INNER JOIN t.tags tags WHERE tags.id = tag.id) as amount');

So the error must be somewhere in PHPStan trying to understand the subselect
The tests not only require mongo, they are also really hard to read and understand.

Found even more weirdness. This works
        $dql = $qb1->getDQL();
        $qb->addSelect('(' . $dql . ') as amount');

And this causes PHPStan to be blocked until PHP timeout:
        $qb->addSelect('(' . $qb1->getDQL() . ') as amount');

Anyway, closing as this seems to be of no interest and/or environment specific.

@ondrejmirtes I think this is a deeper issue, I am running into a Segmentation fault now with the above mentioned code piece.
If you check this build, you can see
Run vendor/bin/phpstan analyse -c phpstan.neon --no-progress --error-format=checkstyle | cs2pr
⚠  Result is incomplete because of severe errors. ⚠
   Fix these errors first and then re-run PHPStan
   to get all reported errors.
Error: Child process error (exit code 13[9](https://github.com/kimai/kimai/actions/runs/10941537291/job/30376399422#step:12:10)): Segmentation fault (core dumped)  while running parallel worker

Now one commit later the build does not fail anymore on PHPStan. See the latest commits and build here.
I think there is an issue in PHPStan.
$ composer show|grep phpstan
phpstan/phpdoc-parser               1.30.1   PHPDoc parser with support for nullable, intersection and generic types
phpstan/phpstan                     1.12.4   PHPStan - PHP Static Analysis Tool
phpstan/phpstan-deprecation-rules   1.2.1    PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
phpstan/phpstan-doctrine            1.5.3    Doctrine extensions for PHPStan
phpstan/phpstan-phpunit             1.4.0    PHPUnit extensions and rules for PHPStan
phpstan/phpstan-strict-rules        1.6.0    Extra strict and opinionated rules for PHPStan
phpstan/phpstan-symfony             1.4.9    Symfony Framework extensions and rules for PHPStan


ModuleNotFoundError: No module named 'gluon_prototype'

Even after being in the working directory and recloning the monk before the import, the following error is observed.
ModuleNotFoundError                       Traceback (most recent call last)
 in ()
1 # Using mxnet-gluon backend
----> 2 from gluon_prototype import prototype
3
4 # For pytorch backend
5 #from pytorch_prototype import prototype
ModuleNotFoundError: No module named 'gluon_prototype'

NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.

The issue has been identified with latest python 3.7.6. Use python 3.6 versions till we add a support for python 3.7.6

I've faced the same issue but it was solved when I was working on Colab. Can you @VedantKhairnar tell on which environment you're working on?

@vidyap-xgboost  On the same colab notebook, earlier it was working (till I trained it on 2 ResNet models) but started facing this issue on the third model.
Sometimes restarting the kernel and doing the whole process made it work but it isnt a reliable solution.

@VedantKhairnar I agree. It happened to me once and I thought it was my mistake and I restarted again then it worked!

@vidyap-xgboost  Exactly!!


2-computing-speed.ipynb  error :

my_traj.hvplot(c='speed', clim=(0,20), line_width=7.0, tiles='OSM', cmap='Viridis', colorbar=True, width=500, height=300)
--> 326         return self._array_interface_base()
327
328     @property
TypeError: 'dict' object is not callable
:Overlay
.Tiles.I :Tiles   [x,y]
.Path.I  :Path   [Longitude,Latitude]   (speed)

Hi Maxim, I tested the notebook on Mybinder but cannot reproduce this issue
https://mybinder.org/v2/gh/anitagraser/movingpandas-examples/main?filepath=1-tutorials/2-computing-speed.ipynb

Hi Anita!
Great thanks for  Movingpandas module.
One of my problems is exploring the features (params of telemetry: fuel
consumption, engine speed rotation and other ) of  heavy trucks (220 tons
payload )  workin on
open pit coal mining.
I am looking for fuel consumption  dependencies of other features.
How can I extend your module to interpolate my features depending on
timestamps or path length on trajectory?
The sample issue.
I have an issue in 50/50 using pd.TrajectoryCollection.hvplot().
Please look at the file, I attach , with my libs (conda list >mpd-ex.env) .
I suppose the problem is here.
Thank you
Maxim
On Fri, Dec 17, 2021 at 2:44 PM Anita Graser @.***>
wrote:

Hi Maxim, I tested the notebook on Mybinder but cannot reproduce this issue
https://mybinder.org/v2/gh/anitagraser/movingpandas-examples/main?filepath=1-tutorials/2-computing-speed.ipynb
—
Reply to this email directly, view it on GitHub
https://github.com/anitagraser/movingpandas-examples/issues/8#issuecomment-996659550,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSDRZIYJSZFBKCD3AZNEOTURMPAPANCNFSM5KIQ4FAA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

--
C уважением,
Максим

Hi Anita!
Great thanks for  Movingpandas module.
One of my problems is exploring the features (params of telemetry: fuel consumption, engine speed rotation and other ) of  heavy trucks (220 tons payload )  workin on
open pit coal mining.
I am looking for fuel consumption  dependencies of other features.
How can I extend your module to interpolate my features depending on timestamps or path length on trajectory?
The sample issue.
I have an issue in 50/50 using pd.TrajectoryCollection.hvplot().
Please look at the file, I attach , with my libs (conda list >mpd-ex.env) . I suppose the problem is here.
Regards,
Maxim

Please provide data and code to reproduce this issue. The attachment you mentioned was no included in the post.

Closing due to lack of feedback. Please reopen if necessary.


lax.population_count does not support boolean dtype

Even though the use case is limited (population_count(x) == x if x's dtype is jax.numpy.bool_), lax.population_count_p is defined as population_count_p = standard_unop(_bool_or_int, 'population_count'). However, this is what happens if lax.population_count is called with an argument with dtype jax.numpy.bool_:
>>> lax.population_count(np.array([True, False], dtype=np.bool_))
Traceback (most recent call last):
  File "/jax/jax/interpreters/xla.py", line 311, in primitive_computation
    return c.build()
RuntimeError: Invalid argument: Expected an integral element type in argument to PopulationCount operation; got PRED.:

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/jax/jax/lax/lax.py", line 296, in population_count
    return population_count_p.bind(x)
  File "/jax/jax/core.py", line 275, in bind
    return self.impl(*args, **kwargs)
  File "/jax/jax/interpreters/xla.py", line 224, in apply_primitive
    compiled_fun = xla_primitive_callable(prim, *unsafe_map(arg_spec, args), **params)
  File "/jax/jax/interpreters/xla.py", line 257, in xla_primitive_callable
    built_c = primitive_computation(prim, AxisEnv(nreps), backend, tuple_args,
  File "/jax/jax/interpreters/xla.py", line 316, in primitive_computation
    raise RuntimeError(msg) from e
RuntimeError: Invalid argument: Expected an integral element type in argument to PopulationCount operation; got PRED.:
This is a bug in JAX's shape-checking rules; please report it!
https://github.com/google/jax/issues

I think the simplest (and probably best) way to fix this is to remove booleans from the list of allowed types.

Good call! Either we could remove it from the allowed types, or cast to integer internally. I lean the same way you do, that removing the purported support for booleans is probably best.


add css styling to resolve top/bottom chat issue

What this PR does

Changed the CSS selector for chat history placeholder and prompt json / string placeholder
About expander expands only if there is no bot in session state. (i.e. collapses after choosing a persona)
Changed CSS styling so that the header is at the top, and chat history is anchored at the bottom

How it was tested

Local streamlit:

PR checklist

[x] No API keys or other secrets committed to source?
[x] New functionality is added alongside appropriate tests?
[x] All source files have the following header?

# Copyright (c) {YEAR} Cohere Inc. and its affiliates.
#
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.
#
# You may obtain a copy of the License in the LICENSE file at the top
# level of this repository.

Realized my screenshot didn't upload correctly, fixed now!


Zend_Db_Adapter_Sqlsrv does not handle DISTINCT if limit is used

When using limit with the Sqlsrv adapter the DISTINCT clause is not taken into account when the $offset is set to zero.
if ($offset == 0) {
  $sql = preg_replace('/^SELECT\s/i', 'SELECT TOP ' . $count . ' ', $sql);
} else {
  ...
}

should be
if ($offset == 0) {
  $sql = preg_replace('/^SELECT( DISTINCT)?\s/i', 'SELECT\1 TOP ' . $count . ' ', $sql);
} else {
  ...
}

@jonsa If this is still relevant, can you provide a unit test to demonstrate the issue? Thanks!

@ezimuel Yes the bug is still present.
$select = new Zend_Db_Select(
	new Zend_Db_Adapter_SqlSrv(['dbname' => ''])
);

echo $select->distinct()
	->limit(5)
	->from('table')
	->assemble();

will result in
SELECT TOP 5 DISTINCT "table".* FROM "table"

instead of the expected
SELECT DISTINCT TOP 5 "table".* FROM "table"

This line should be changed as suggested in the first post.

Since it's not waiting for my update any more I thought I'd check in and see if there was anything else you need? The offending line is Zend_Db_Adapter_Sqlsrv#L617.

@jonsa
We are sorry, but ZF1 reaches its End of Life (EOL).


xr.dot result differs from np.dot

Code Sample
Hi, shouldn't the result of xr.dot be equivalent to np.dot?
In np.dot I get values of ~280, and for xr.dot I get ~1100:
<xarray.DataArray 'models' (model name: 4)>
array([283.6939  , 283.129198, 284.671649, 284.01668 ])
Coordinates:
    valid_time  datetime64[ns] 2019-03-15T19:00:00
    lat         float64 45.89
    lon         float64 4.683
  * model name  (model name) |S5 'apple' 'juice' 'banana' 'milk'

<xarray.DataArray 'weights' (models: 4)>
array([0.308999, 0.191562, 0.049474, 0.449983])
Coordinates:
    lat      float64 45.89
    lon      float64 4.683
Dimensions without coordinates: models

Now the calculation:
np.dot(models.values, weights_da.values)
283.7847051563903

xr.dot(weights_da, models, dims=['models', 'model name'])
<xarray.DataArray ()>
array(1135.532891)
Coordinates:
    lat         float64 45.89
    lon         float64 4.683
    valid_time  datetime64[ns] 2019-03-15T19:00:00

Problem description
What's going on below the surface? I mean if I create the array by hand (not from the file) I can't reproduce this. I don't think it's related to the file (as the values from the file work with numpy.dot). Something related to dask? Doing np.dot on the whole array (not just this piece here) results in a MemoryError.
I'm
Thanks for any advice!
EDIT: I also tested it on python 3.7.3. xarray 0.11.3. Same result.
Output of xr.show_versions()

In [23]: xr.show_versions()
/home/py_user/miniconda2/envs/v0/lib/python2.7/site-packages/distributed/config.py:20: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  defaults = yaml.load(f)
INSTALLED VERSIONS
commit: None
python: 2.7.15.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-143-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8"
LOCALE: None.None
xarray: 0.10.9
pandas: 0.23.4
numpy: 1.16.2
scipy: 1.2.1
netCDF4: 1.4.2
h5netcdf: 0.7.1
h5py: 2.8.0
Nio: None
zarr: None
cftime: <IP_ADDRESS>
PseudonetCDF: None
rasterio: None
iris: None
bottleneck: 1.2.1
cyordereddict: 1.0.0
dask: 1.1.4
distributed: 1.26.0
matplotlib: 2.2.3
cartopy: None
seaborn: 0.9.0
setuptools: 40.8.0
pip: 19.0.3
conda: None
pytest: None
IPython: 5.8.0
sphinx: None

You have two different dimensions here; and xarray is broadcasting so those two statements are not equal i.e. both weights and models end up being 2D arrays which are then operated upon by dot.
How about xr.dot(weights_da.rename({'models': 'model name'}), models)?

Here's some relevant documentation: https://xarray.pydata.org/en/stable/computation.html#broadcasting-by-dimension-name

Sooo many thanks for this ultrafast response. You're correct. What I didn't know was that the dimensions to multiply have to have the same names. I thought I could sum over different coordinates indicating the names within the dims keyword, but the implementation makes totally sense now. To summarize:
Dimensions to sum over have to have the same name and the same ordering of the coordinate values (else f.e. a ValueError: indexes along dimension 'model name' are not equal  is raised)
But shouldn't there be an error message if one specifies dimensions to dims that are not in both of the dataarrays?

automatic broadcasting is an extremely useful feature of xarray: See https://xarray.pydata.org/en/stable/computation.html#broadcasting-by-dimension-name for examples.

What I didn't know was that the dimensions to multiply have to have the same names.

If the dimensions don't have the same name; xarray "broadcasts" both variables so that they each have both dimensions and then does the arithmetic operation you ask it to.

I thought I could sum over different coordinates indicating the names within the dims keyword, but the implementation makes totally sense now. To summarize:

This is correct but you're misunderstanding the applicability here (I think).

But shouldn't there be an error message if one specifies dimensions to dims that are not in both of the dataarrays?

No, broadcasting is a feature.


:sparkles: Refactors [pt-2]

fix typescript errors/warnings
lints

Closing this PR, will be looking into refactoring efforts at a later date once priority features has been resolved.


adb devices

What can we do for you?
Dear yungd1plomat,
My name is SlappyZ, and I am an avid user of ADB (Android Debug Bridge). Lately, I've been attempting to execute the "adb devices" command on my system to retrieve a list of connected devices and emulators.
I have been trying to check the Nox Player instances on my system, as I use multiple Nox instances for my development and testing purposes. The "adb devices" command should typically provide a list of connected devices and emulators along with their respective serial numbers, but instead, I'm not getting any response.
Here is some information about my system:
Operating System: [Windows 10]
ADB Version: [latest]
Nox Player Version: [<IP_ADDRESS>]
I have also ensured that the ADB drivers are properly installed and that my system recognizes the Nox Player instances. Other ADB commands seem to be working, but specifically, the "devices" command is not producing any output.
Could you kindly assist me in determining whether this is a known issue or if there might be an error or bug in my ADB installation? Are there any additional steps I can take to diagnose and resolve the problem?
Thank you in advance for your help and support.
Best regards,
[Slappy]

But to get device list in this project is use
var list = new AdbClient().GetDevices();

Connect to the Nox player:
var client = new AdbClient();
client.Connect("<IP_ADDRESS>:62001");

Then you can get devices with:
client.GetDevices();
For Nox each port starts with 620, for example:
<IP_ADDRESS>:62001
<IP_ADDRESS>:62025
<IP_ADDRESS>:62040

You can find all nox instance ports with netstat, more details here


Increase test coverage for message.py, user.py, views.py

Fixes #49

@gabrielgradinaru I think this need a rebase!

Perhaps we should consider using attrs instead of coding classes like Message, User, etc? This would make for correct classes without boilerplate and no need to test their basic functionality. Here's a nice post about it that makes a good read: The One Python Library Everyone Needs

@nicoddemus This was an interesting read indeed and it is the first time I have heard about this module. It looks interesting and I could make another pull request adding it if it's decided we should use it.

I would like to have the minimal dependencies as possible but obviously without reinventing the wheels. I don't know attrs, but I think we should wait to see what this classes will really be.


Building for iOS release is significantly slower with codesigning

Running flutter build ios --release --no-codesign took 6 minutes 44 seconds for me on GitHub Actions.
Running flutter build ios --release (codesigning enabled) took over 15 minutes before I cancelled.
Not sure if this is a Flutter issue or not but this seems like it shouldn't be so slow.

Hi @JacobWrenn
Can you please provide your flutter doctor -v?
Thank you

Hi @TahaTesser thanks for your reply.
Here is the output.
[✓] Flutter (Channel stable, v1.17.1, on Mac OS X 10.15.4 19E287, locale en)
    • Flutter version 1.17.1 at /Users/runner/hostedtoolcache/flutter/1.17.1-stable/x64
    • Framework revision f7a6a7906b (2 weeks ago), 2020-05-12 18:39:00 -0700
    • Engine revision 6bc433c6b6
    • Dart version 2.8.2

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/runner/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/runner/Library/Android/sdk
    • Java binary at: /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (Zulu <IP_ADDRESS>-CA-macosx) (build 1.8.0_252-b14)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode_11.4.1.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

I'm going to close the issue as I think it was down to GitHub actions not providing enough compute power to my action. I've just run multiple tests where there is only a small difference between with codesign and without.


Try to create the binary file

Hi,
I'm very interested in this project. Thanks for your sharing.
Now I am trying to create the binary file, but somehow when evaluating there are some error.
I pretty sure it is the binary file cause the problem. If I use the binary file that you provided, it works. But if I change the binary file that was produce by myself, the evaluation result looks weird.
Would you please provided the "train.txt" and "property" file to let me know where is the problem in my file.
Thank you.

Hi,
I do not have them currently as I deleted all the datasets from my Laptop as I have shortage in disk space; however, I downloaded them directly from:
MS1M-ArcFace (85K ids/5.8M images)
https://drive.google.com/file/d/1SXS4-Am3bsKSK615qbYdbA_FMVh3sAvR/view?usp=sharing
or MS1M-RetinaFace
https://drive.google.com/file/d/1JgmzL9OLTqDAZE86pBgETtSQL4USKTFy/view?usp=sharing
This is the main link
https://github.com/deepinsight/insightface/tree/master/recognition/_datasets_

Thank you so much!


exec /start: no such file or directory

Describe the problem
Container fails to start with error
exec /start: no such file or directory
Broken version:
docker.io/itzg/minecraft-server  latest      27f375adda33
Platform: amd64
Also tried Tag 2022.3.0-java17 sha256:ea036f60092ca77d92785c7f528073849e6fd127255ed3b359da477ff7e4d6a3
Confirmed working version:     docker.io/itzg/minecraft-server@sha256:40daceaedff07f6d57bb8686b813497231046fcea302c97936fd9b68ed4e72a1
Container definition
podman create --restart always --name mc-server -p 25565:25565 -p 8123:8123 -p 24454:24454/udp \
    -m 8G -e MEMORY="6G" \
    -e JVM_OPTS="-server -XshowSettings:vm" \
    -e EULA="TRUE" -e TYPE="FABRIC" \
    -e VERSION="1.18.1" \
    --label io.containers.autoupdate=registry \
    -v /var/minecraft/$SUBFOLDER:/data \
    docker.io/itzg/minecraft-server

Container logs
podman logs mc-server
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory
exec /start: no such file or directory

Were you able to try replacing the ENV Var with an existing folder name and see if that fixes it?
Example: -v /var/minecraft/$SUBFOLDER:/data \ -> -v /var/minecraft/hardcore:/data \

Were you able to try replacing the ENV Var with an existing folder name and see if that fixes it? Just for testing of course. Example: -v /var/minecraft/$SUBFOLDER:/data \ -> -v /var/minecraft/hardcore:/data \

That's a non-issue. Forgot to replace that. But when I run the script, it shows me that it puts a valid path there.

hmm i cannot replicate this issue on my local machine...

Wow. Okay. The issue was a dirty cache. I might have cancelled a pull. So purging the cache and pulling again solved this issue.

Thanks for following up with more info @tamara-schmitz . That'll help any others that bump into this scenario.


Using only builtin Gazetteer and Grammar entity recognition without intent classification.

I would like to extract entities (interested in spanish Gazetteer and Grammar entities) exclusively; from any text, using python.
The way I know to use snips_nlu, in order to extract entities I can only do so from phrases that have an intent category for and have been trained, but I would like to extract any entities from any text I'm interested in, not texts I've trained or want to classify with an intent.
I was wondering if the entity extraction functionalities require the contextual information from training phrases to be recognized in a text, or if I could bypass the intent recognition functionalities that snips offer to use only the builtin entities
without them having to be specified and located in intent training phrases for intent classification.

Hello @JECasillas ,
It is not documented, but you can use the builtin entity parser of snips_nlu independently from the rest:
from snips_nlu.entity_parser import BuiltinEntityParser

parser = BuiltinEntityParser.build(language="es")
parser.parse("me despierto a las siete y media")  # [{'value': 'a las siete y media', 'resolved_value': {'kind': 'InstantTime', 'value': '2020-08-28 19:30:00 +02:00', 'grain': 'Minute', 'precision': 'Exact'}, 'entity_kind': 'snips/datetime', 'range': {'start': 13, 'end': 32}}]

# With gazetteer entities
parser = BuiltinEntityParser.build(language="es", gazetteer_entity_scope=["snips/city"])
parser.parse("mi vuelo a madrid es al mediodía")  # [{'value': 'mediodía', 'resolved_value': {'kind': 'InstantTime', 'value': '2020-08-28 12:00:00 +02:00', 'grain': 'Hour', 'precision': 'Exact'}, 'entity_kind': 'snips/datetime', 'range': {'start': 24, 'end': 32}}, {'value': 'madrid', 'resolved_value': {'kind': 'City', 'value': 'Madrid'}, 'entity_kind': 'snips/city', 'range': {'start': 11, 'end': 17}}]

I hope this will help.

Update on this, the builtin entity parser was designed to be used on short sentences (< 20 words). It will work on longer sentences but it may take some time to process, in which case you should try to split the text in smaller chunks before processing it with the parser.

Hello @JECasillas ,
It is not documented, but you can use the builtin entity parser of snips_nlu independently from the rest:
from snips_nlu.entity_parser import BuiltinEntityParser

parser = BuiltinEntityParser.build(language="es")
parser.parse("me despierto a las siete y media")  # [{'value': 'a las siete y media', 'resolved_value': {'kind': 'InstantTime', 'value': '2020-08-28 19:30:00 +02:00', 'grain': 'Minute', 'precision': 'Exact'}, 'entity_kind': 'snips/datetime', 'range': {'start': 13, 'end': 32}}]

# With gazetteer entities
parser = BuiltinEntityParser.build(language="es", gazetteer_entity_scope=["snips/city"])
parser.parse("mi vuelo a madrid es al mediodía")  # [{'value': 'mediodía', 'resolved_value': {'kind': 'InstantTime', 'value': '2020-08-28 12:00:00 +02:00', 'grain': 'Hour', 'precision': 'Exact'}, 'entity_kind': 'snips/datetime', 'range': {'start': 24, 'end': 32}}, {'value': 'madrid', 'resolved_value': {'kind': 'City', 'value': 'Madrid'}, 'entity_kind': 'snips/city', 'range': {'start': 11, 'end': 17}}]

I hope this will help.

This seems like just the answer that I was looking for.
The texts, fortunately for this case, are typically not that long, however just a paragraph may easily have more than 20 words.
I'll be benchmarking it and probably implementing solutions much like you mention, splitting the text into groups of 20 and extracting separately.
I'll let you know if there are any other inconveniences or any less.


Fix an error in the translation name. Not a translation error, but an…

… error in the name of the field. So it needs a pull request.

Thanks, but we are managing translations on OneSky. I can't merge it here because it will be overwritten by the translation made there. See more.


Issue 10587 - Storage Service doesn't handle deleted containers

Fixes ISSUE-13611 Storage Service doesn't handle deleted containers

Type of change:

[ ] Bug fix

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is ISSUE-10587

@cristiancalugaru thanks for the PR. Looks good to me, can you fix the styling issues

@harshach fixed styling issues.


Proof of concept: Deriving a users Slack ID from a Github ID

User Need
As a Developer
I want to be able to translate a GitHub username to a corresponding Slack user
so that I can quickly communicate with colleagues on MoJ Slack.
Value
As a Developer it is easier to identify another user's slack ID from a Github ID and as a result have to waste less time tracking another user down.
The purpose of this PoC is to identify any issues in meeting this user need. We know it is possible to match users based on email details but we are not sure about the quality of data in our slack and Github orgs. We also don't know whether we have the permissions to automate this process.
Functional Requirements:

We can determine a users Slack ID from a Github user ID
Some means of displaying results.

Non-Functional Requirements:

We cannot expose any user emails or names in the public domain.

Acceptance Criteria:

We have a PoC that can be shown to the team.
We understand any constraints that would apply to this solution that may require more work or further discussion
We can decide if we want to invest more time on this theme.

Notes:

https://mojdt.slack.com/archives/CPVD6398C/p1696425375392499

Did you mean to reopen this, @connormaglynn?

Update
operations-engineering-metadata-poc has been created by @jasonBirchall as a Flask API to store and retrieve metadata from a Database.
@connormaglynn integrated the Flask API with RDS database created via the Cloud Platform (PR to create infrastructure).
@PepperMoJ is working on a Python Script on the github-slack-username-poc branch in the operations-engineering repository.
All work has been demo'd to the team and has shown to meet the functional and non-functional requirements as shown:
Functional Requirements:

[x] We can determine a users Slack ID from a Github user ID - we provided an endpoint in the API where a user could send a Slack username, Github Username or email and would retrieve all three pieces of data back in the response.
[x] Some means of displaying results - Yes but only via an API response, adding a user interface was out of scope for this proof of concept.

Non-Functional Requirements:

[x] We cannot expose any user emails or names in the public domain - this security concern was mitigated by having an allow list implemented in the Github Action to filter the retrieved data from GitHub and Slack down to just @connormaglynn and @PepperMoJ data. The same allow list was implemented on the API side to further mitigate the concern and protect against attackers maliciously creating records in the RDS database.

Pending work
@PepperMoJ - to complete the tasks they see necessary to get the code ready for review and merge their branch into the main codebase
@connormaglynn - to create a separate ticket to highlight the ongoing work of a security assessment of the project, to re-enable it for testing and development
PS: @jasonBirchall yes to the comment above  👆 want to get in the good habit of updating the tickets before I close them - also may have forgot that @PepperMoJ hadn't merged in their part yet 🙈😅


LocaleTestRule not working for the first test only if < API 27

Describe the bug
LocaleTestRule not working for the first test only if < API 27
Environment
The setup in which the bug is reproducible:

Device or Emulator: Emulator
API level: < API 27
AndroidUiTestingUtils version: 1.0.0
Affected Component: Activity (ONLY) -> LocaleTestRule
Buggy Configuration: Locale

Expected behavior
It displays the following error:
Caused by: java.lang.SecurityException: Permission Denial: updateConfiguration() from pid=28072, uid=10065 requires android.permission.CHANGE_CONFIGURATION

although the permission is added in debug/manifest
Remarks:

Does not happen on API 27+.
Only the first test is buggy. The locale change becomes effective afterwards on every test.

This will be fixed once the AppCompatDelegate reaches the 1.6.0 release version, including AppCompatDelegate.setApplicationLocales()
https://developer.android.com/jetpack/androidx/releases/appcompat#1.6.0-alpha04

solved in 1.1.2


Added Pindodo

If you liked the collection, kindly Give us a Star to the GitHub repo before contributing :)


Local pull request success status testing

Docs Build status updates of commit 2b78a5d:
:clock10: Pending: waiting for processors (7 builds ahead of you)
:warning: Docs Build is busy, currently there are 7 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 2b78a5d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

E2E_DocsBranch_Dynamic/index.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Drawers aren't completely hidden

When you click (or drag) at the most left side of a window with an drawer, you can still click inside the drawer.
An image to illustrate the problem:

As a workaround I added an right margin of 1 to my Dockpanel inside the DrawerHost.

I just checked and this occurs in an application that I have made using a drawer for navigation as well.
The workaround of a right-margin = 1 also worked for me.
Good catch!

ha, cool bug :)

:) The dragging comes actually pretty in handy when you need to quick peek on pages. I use it all the time when I search a control in the demo application.

Another bug: try setting a FloatingActionPopupBox button's Visibility to collapsed/hidden. When the mouse moves over it, the items within it "pop up"..


Limit import

Limit importing to vuematerial components that are used only. Currently:

md-app
md-button
md-icon
md-app-toolbar
md-app-drawer
md-toolbar
md-list
md-list-item
md-field
md-input
md-app-content
md-subheader
md-checkbox

duplicate of #30

won't do - no change in size??


key "collapsible" was not present

So this might be similar to the [key "message" was not present] issue from a while back, but my slackbot suddenly stopped working and gave the following error
"user error (When parsing the record Preferences of type Web.Slack.Types.Preferences.Preferences the key collapsible was not present.)"
This is through Yesod, so the error message may look different than a standalone slackbot, but it seems that the collapsible argument has been made optional on Slack's side?

I will remove that field for now. If anyone ever wants it they are welcome to send a pull request to add it back in if they can get some assurance from slack HQ that it won't disappear.

I released a new version with these changes.

There seemed to be some new fields too? For example: seen_onboarding_start

I don't know. If you want me to add support for these new fields then I can do but if no-one is going to use them then I would rather not bother as it is liable to break again.

Thank you for the quick fix; back up and running with version 0.8 from Hackage.
@mpickering I don't need the new fields


ldaps not working

I used this code for ldap and ldaps.

For ldap I am able to make authentication working
For ldaps same url is not working, even I tried ip address with ldaps as well, it also did not work.

Note: I tested both ldap and ldaps with ldap search and both are working fine

ldapsearch x -D @test.local -W -H ldap://xyz.global.test.local -b “ou=Users,ou=User Workspace,dc=test,dc=local”
ldapsearch x -D @test.local -W -H ldaps://xyz.global.test.local -b “ou=Users,ou=User Workspace,dc=test,dc=local”

It seems there is some different way for ldaps domain. Please advice.

Your probably expecting a TLS connection with ldaps, but this library is only using up to SSLv3
From ldapjs docs (http://ldapjs.org/client.html):
You can use ldap:// or ldaps://; the latter would connect over SSL
(note that this will not use the LDAP TLS extended operation,
but literally an SSL connection to port 636, as in LDAP v2).

This lib should be using client.starttls instead.


Search bar validation

What have been done
Search bar validation is on

In Search result page heading displays how many results are there

You can send a link with search parameters

If you copy the link with search params and open it in another browser tab, search bar automatically accepts the values of those params and perform a search

@douglas86 Yes you are right. If user doesn't enter anything and click search, an error come and asks user to type something.

Ok, then I can approve this branch.


Dependency semver vulnerable to Regular Expression Denial of Service

Describe the bug
yarn audit showed a vulnerability message in versions of the package semver before 7.5.2. Vitest is relating on that via vitest > @vitest/utils > concordance > semver
More info https://www.npmjs.com/advisories/1092310
Reproduction
Any npm/yarn install of the current version of vitest in package. And then run yarn/npm audit
System Info
System:
    OS: macOS 12.5.1
  Binaries:
    Node: 18.15.0
    Yarn: 1.22.19
    npm: 9.7.1
    Watchman: 2<IP_ADDRESS>
  npmPackages:
    @vitejs/plugin-basic-ssl: 1.0.1 => 1.0.1
    @vitejs/plugin-react: 4.0.1 => 4.0.1
    vite: 4.3.9 => 4.3.9
    vitest: 0.30.1 => 0.30.1

Used Package Manager
yarn
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Duplicate of https://github.com/vitest-dev/vitest/issues/3668


CanvasGroup culling causes other random CanvasGroups to be culled also

Godot version
v4.0.rc1.mono.official [8843d9ad3]
System information
Windows 10
Issue description
This issue has been apparent in all 4.0 versions I have tried. The bug is very inconsistent and difficult to explain, so here is a video:
https://user-images.githubusercontent.com/22286697/218243169-502599b2-3a25-4d8a-b850-73a5f7344d63.mp4
When scenes containing a CanvasGroup for rendering are culled from view, other CanvasGroups are also culled. Is there some limit to the number of CanvasGroups allowed? If so, it kind of defeats my purpose for using them as a replacement for Viewports for dynamic multi-layer sprite rendering.
Steps to reproduce
Unsure, use CanvasGroup and play around with them outside of camera space to induce culling.
Minimal reproduction project
CanvasGroupCullIssueMRP.zip

Oddly enough, when I followed the documentation's guidelines for recreating the CanvasGroup shader so I could add effects to creatures, the issue seems to have resolved itself.

I have also run into this issue, 4.0 beta 13 (at least). From testing, it seems that 1) this occurs only when the node is just off-screen. If the node is visible on-screen, or is far enough off-screen, there is no issue (I'm not sure what dictates the size of this range, maybe the size of the node? It seemed like a range of about 10 pixels for my 100x100 pixel nodes). And 2) the node that becomes invisible is always the one placed just prior to the one that is just off-screen. In other words, when there is more than 1 CanvasGroup active in a screen, if a CanvasGroup moves just off-screen within some range, it will make the previous CanvasGroup invisible.

That behavior happens for me on 4.0.rc4 win11 too - as soon as one CanvasGroup is about to leave the Viewport, other CanvasGroups will be culled / affected


FS: Add missing ingroup tag to fs_interface.h and note on ELM FAT limitations regarding mount points

The PR consists of two commits that:

add ingroup file_system_api doxygen tag to fs_interface.h
add note on limitations of ELM FAT file system driver regarding allowed mount points.

@de-nordic Can you resolve the conflict?


some translation inconsistencies

When setting the language to ca, fa, ga, gl, he, hi, lv, sl, sq, sr or th (like l: "ca",), a different layout is used (no buttons, but a text link and a close icon in the upper left corner).
hr, ro and nb show the message in English.
Portugese has a typo: {nome_nav} instead of {brow_name}.
The output of l: "sr", is recognized by Google Translate as Bosnian, instead of Servian.

These languages were not translated yet for the new layout. When they are translated, they will be shown with the new layout.
The Portugese link will be fixed.

I should somehow mark the messages as needing translation

should "nb" fallback to "no"?

Reopening this issue, because there are still issues:
vi shows no buttons
ga, nb and rm show the English text
gl, lv, sr and sl still show the old layout