libsoup_2_4: Rename from libsoup

The 2.4 ABI branch has not been supported by upstream for a while now but people still keep accidentally adding it to new packages.
See #360897
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pr touches hackage-packages.nix

Not much we can do about that if we do not want to break eval without aliases. Well, we could place the alias to all-packages.nix instead, modify cabal2nix to use the new name, and then move it to aliases.nix but that sounds like to much bother.

Well, we have to do something about it. I see two options: Either add overrides for these packages in configuration-nix.nix or in cabal2nix. I assume @sternenseemann has an opinion on what’s right here.
I mean in theory we don’t even know if the Haskell packages build with the newer libsoup.

It is not a new version, only the attribute name changed.

We should probably do the same as we did with the attribute name rename of webkitgtk:

Change cabal2nix to emit versioned attributes where the ABI version is statically known, but otherwise emit a dependency on a generic libsoup attribute (may it exist in nixpkgs or not). C.f. https://github.com/NixOS/cabal2nix/pull/629.
In the cases where no versioned attribute was generated, manually add overrides to configuration-common.nix: pkg = super.pkg.override { libsoup = pkgs.…; }. (I think with webkitgtk we didn't need to do this because all relevant packages use pkg-config which has the ABI version in the pc module name.)

I've added the cabal2nix-unstable update to 2476dd6, so hackage-packages.nix should be reproducible using the generation script again.

The libsoup -> libsoup_2_4 rename breaks the updateScript which then breaks the updateScript fetcher for the nixpkgs-update bot.
$ nix-shell maintainers/scripts/update.nix --argstr path libsoup_2_4
error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'nixpkgs-update-script'
         whose name attribute is located at /home/zowoq/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'shellHook' of derivation 'nixpkgs-update-script'
         at /home/zowoq/nixpkgs/maintainers/scripts/update.nix:261:3:
          260|   '';
          261|   shellHook = ''
             |   ^
          262|     unset shellHook # do not contaminate nested shells

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: Cannot find attribute ‘libsoup’.

The 2.4 ABI branch has not been supported by upstream for a while now

Can we remove the updateScript from libsoup_2_4?

#366676


Build failed for Nexus 5 - hammerhead - CMake

CMake Error at 3rdparty/tbb/CMakeLists.txt:91 (message):
Failed to download TBB sources (1;"Unsupported protocol"):
http://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb44_20160128oss_src_0.tgz
Could you please check this out.

that tbb path is "Moved permanently"

Hmm...I can't reproduce this issue here.
http://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb44_20160128oss_src_0.tgz does 301, however the redirect works.  As a test, can you fetch the file with this command right?
$ curl -L -o tbb44_20160128oss_src_0.tgz \
    http://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb44_20160128oss_src_0.tgz

That download runs within cmake, and is unmodified from upstream OpenCV.  What's your cmake version?  I'm running:
$ cmake --version
cmake version 3.3.2

A console log from running the following commands might help debug too:
$ cd bsp-gonk/
$ source build/envsetup.sh
$ cd external/opencv3
$ mm

cmake version is 3.5.2

@raj2sudha1 Seems like I just asked you a question on the other issue you filed for the information above. Seems like you are using the correct cmake version. Wondering if you could re-install cmake from https://cmake.org/files/v3.5/ and please try again.

i tried the steps provided here. Still i am getting the above mentioned error.
So, i manually downloaded the tbb file and moved to respective folder. the problem solved for the tbb file.
But not facing another issue.
-- Downloading v3.1.0/protobuf-cpp-3.1.0.tar.gz...
CMake Error at /home/raj/learning/silk/bsp-gonk/external/opencv3/cmake/OpenCVUtils.cmake:1043 (file):
file DOWNLOAD HASH mismatch
for file: [/home/raj/learning/silk/bsp-gonk/external/opencv3_contrib/modules/dnn/.download/bd5e3eed635a8d32e2b99658633815ef/v3.1.0/protobuf-cpp-3.1.0.tar.gz]
  expected hash: [bd5e3eed635a8d32e2b99658633815ef]
    actual hash: [d41d8cd98f00b204e9800998ecf8427e]
         status: [1;"Unsupported protocol"]

Call Stack (most recent call first):

A hash mismatch like that generally indicates something strange with your network, as you didn't get the right bits for some reason.
Coincidentally,I just made a change that  should alleviate the need to download that file though. :)
See 4960ff8d65b701997b7c3b6a4d41f12fa0aedc00 for more

Thank you! for helping me to resolve the issue.
make completed successfully (26:50 (mm:ss))


Insert F5 Default passwords products

892 - F5 BIG-IP Configuration utility,admin,admin,https://support.f5.com/csp/article/K13148,
893 - F5 BIG-IP command line,root,default,https://support.f5.com/csp/article/K13148,
894 -F5 BIG-IQ Configuration utility,admin,admin,https://support.f5.com/csp/article/K13148,
895 -F5 BIG-IQ command line,root,default,,https://support.f5.com/csp/article/K13148,
896 -F5 FirePass Administrative Console,admin,admin,https://support.f5.com/csp/article/K13148,
897 -F5 FirePass Maintenance Console,maintenance,n/a,https://support.f5.com/csp/article/K13148,

Thank you!

Thank you guys!!!


GrantUserPermission not working

GrantUserPermission does not work (Permission registered by different plugin)
permission.GrantUserPermission(player.UserIDString, Config[current.Key, "Permission"] as string, this);
The same using the console command, works just fine.

You can't grant it when your plugin is not the owner. You'd need to use the console command.


added network creation

issue

Codecov Report

Merging #27 (8900103) into master (f1f8781) will increase coverage by 1.26%.
The diff coverage is 53.12%.

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   65.74%   67.01%   +1.26%
==========================================
  Files           2        2
  Lines         181      194      +13
==========================================
+ Hits          119      130      +11
- Misses         62       64       +2

Flag
Coverage Δ

unittests
67.01% <53.12%> (+1.26%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/twitter_network.py
66.47% <51.61%> (+1.50%)
:arrow_up:

src/network.py
70.83% <100.00%> (ø)

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 f1f8781...8900103. Read the comment docs.


Add tests

Added basic test & dependencies for UI

@eriknelson do we need to concern the red travis at this point?

@andyvesel I'm not sure if we left master in a red state for that last demo. We should start to get more strict about passing travis. I think before we merge this, we should merge 182, and then follow that with a specific PR that fixes the tests to get master back into a green state, and then we can merge this once it also is green. @ibolton336 what do you think about that?

@andyvesel I'm not sure if we left master in a red state for that last demo. We should start to get more strict about passing travis. I think before we merge this, we should merge 182, and then follow that with a specific PR that fixes the tests to get master back into a green state, and then we can merge this once it also is green. @ibolton336 what do you think about that?

This sounds good - just realized 182 was still broken. I fixed the tests by just leaving the mock data commented out for now inside kube_store.ts. I also am hardcoding the cluster  namespace list to an empty object for the time being.

@ibolton336 @eriknelson could you review?

@eriknelson fyi Cypress's behaviour is to scaffold its default directories (like fixtures, plugins, etc) with every cypress run. Its been reported here https://github.com/cypress-io/cypress/issues/501 or here https://github.com/cypress-io/cypress/issues/619
I've disabled these files generating in cypress.json, but when it runs in headed mode on your machine, they will appear again


discord link is broken

discord link on website is not working

Hello @jagdishjadeja
It seems that the link got expired really quickly due to misconfigured settings.
Here is an updated link from where you can join in : https://discord.com/invite/mB8wx86fns

Meanwhile, I am updating the documentation for the same

Closing it due to inactivity.

Closing it due to inactivity.


"System.IO.IOException : Unable to read data from the transport connection: Broken pipe" when using ImageFromDockerfileBuilder to build image

I have this in my docker file
`FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base

WORKDIR /app

COPY . .

ENTRYPOINT ["dotnet", "httpapi.dll"]`

and trying to do below in  my code :
var imageBuilder = new ImageFromDockerfileBuilder();

            imageBuilder.WithDockerfileDirectory(Environment.CurrentDirectory)
            .WithName(testImageName)
            .WithDeleteIfExists(false);

            try
            {
                var image = await imageBuilder.Build();

            }
            catch (System.Exception ex)
            {
                throw;
            }

to see below exception:

`[xUnit.net 00:02:04.40]       System.Net.Http.HttpRequestException : The requested failed, see inner exception for details.
[xUnit.net 00:02:04.41]       ---- System.Net.Http.HttpRequestException : Error while copying content to a stream.
[xUnit.net 00:02:04.41]       -------- System.IO.IOException : Unable to read data from the transport connection: Broken pipe.
[xUnit.net 00:02:04.41]       ------------ System.Net.Sockets.SocketException : Broken pipe
[xUnit.net 00:02:04.41]       Stack Trace:
[xUnit.net 00:02:04.42]            at Microsoft.Net.Http.Client.HttpConnection.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
[xUnit.net 00:02:04.42]            at Microsoft.Net.Http.Client.ManagedHandler.ProcessRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken)
[xUnit.net 00:02:04.42]            at Microsoft.Net.Http.Client.ManagedHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
[xUnit.net 00:02:04.42]            at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
[xUnit.net 00:02:04.42]            at Docker.DotNet.DockerClient.PrivateMakeRequestAsync(TimeSpan timeout, HttpCompletionOption completionOption, HttpMethod method, String path, IQueryString queryString, IDictionary`2 headers, IRequestContent data, CancellationToken cancellationToken)
[xUnit.net 00:02:04.42]            at Docker.DotNet.DockerClient.MakeRequestForStreamAsync(IEnumerable`1 errorHandlers, HttpMethod method, String path, IQueryString queryString, IRequestContent body, IDictionary`2 headers, TimeSpan timeout, CancellationToken token)
[xUnit.net 00:02:04.42]            at DotNet.Testcontainers.Clients.DockerImageOperations.BuildAsync(IImageFromDockerfileConfiguration config, CancellationToken ct)
[xUnit.net 00:02:04.42]         /home/Code/service/qatests/integrationtests/integrationWithServiceContainer.cs(34,0): at integrationtests.IntegrationWithServiceContainer.ShouldFailToStart_WhenRedisUnavailable()
[xUnit.net 00:02:04.42]         --- End of stack trace from previous location where exception was thrown ---
[xUnit.net 00:02:04.42]         ----- Inner Stack Trace -----
[xUnit.net 00:02:04.42]            at System.Net.Http.HttpContent.CopyToAsyncCore(ValueTask copyTask)
[xUnit.net 00:02:04.42]            at Microsoft.Net.Http.Client.HttpConnection.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
[xUnit.net 00:02:04.42]         ----- Inner Stack Trace -----
[xUnit.net 00:02:04.42]            at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
[xUnit.net 00:02:04.42]            at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
[xUnit.net 00:02:04.42]            at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state)
[xUnit.net 00:02:04.42]         --- End of stack trace from previous location where exception was thrown ---
[xUnit.net 00:02:04.42]            at System.IO.Stream.CopyToAsyncInternal(Stream destination, Int32 bufferSize, CancellationToken cancellationToken)
[xUnit.net 00:02:04.42]            at System.Net.Http.HttpContent.CopyToAsyncCore(ValueTask copyTask)
[xUnit.net 00:02:04.42]         ----- Inner Stack Trace -----`

please could you help me find what is going wrong here

I'm currently out of town and won't be able to take a closer look at it until next week.
But I’m pretty sure I already found what you’re doing wrong. You’re using the builder pattern in a wrong way.
You create an instance of ImageFromDockerfileBuilder but never assign the new configuration to that instance. Keep in mind, the builder pattern always returns a new configured instance.
Use instead:
var imageBuilder = new ImageFromDockerfileBuilder()
  .WithDockerfileDirectory(Environment.CurrentDirectory)
  .WithName(testImageName)
  .WithDeleteIfExists(false);

@HofmeisterAn - Thank you, for looking into this.
changed the code as suggested, but didn't resolve the issue.
On closer look, the problem was with below line in my dockerfile
COPY . .
the above command is trying to copy the test project dll(which runs above code) is being used by the xunit runner process.
When I moved the files required to build the image to a separate folder and modified the dockerfile appropriately, the image built successfully.
so this isn't an issue with the library.
thank you, again for your support.


Minor fixes to documentation

Description
Small fixes to Java documentation based on bug bash feedback.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)

@lanking520 @andrewfayres

Pom file changes LGTM


Running arangosh and client tools in Docker: Illegal instruction (core dumped)

My Environment

ArangoDB Version:        3.9.2
Deployment Mode:       Single Server
Deployment Strategy:    Manual Start in Docker
Operating System:        Fedora 32
Disks in use:        HDD
Used Package:              arangodb3-3.9.2-1.0.x86_64.rpm  arangodb3-client-3.9.2-1.0.x86_64.rpm

Component, Query & Data
Affected feature:
Installation
Steps to reproduce

rpm -i arangodb3-client-3.9.2-1.0.x86_64.rpm or rpm -i arangodb3-3.9.2-1.0.x86_64.rpm
Originally I wanted to run arangodump  --server.endpoint tcp://mario.at:8112  --server.username root  --server.database verstionTestDB  --output-directory 'pyarangoversioning/Tests/10k-node-test/10/V2.json'
then just arangodump --output-directory "dump" eventually just arangosh
Everything fails.
Everything is in a Docker. I install it with rpm -i removed it already, reinstalled the full version instead just the client tools
[root@2e262a52340c RPMs]# rpm -i arangodb3-3.9.2-1.0.x86_64.rpm
warning: arangodb3-3.9.2-1.0.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 6e751e9b: NOKEY
package arangodb3-3.9.2-1.0.x86_64 is already installed
[root@2e262a52340c RPMs]# arangosh
Illegal instruction (core dumped)

Problem:
Illegal instruction (core dumped)
Expected result:
Backing up my Collections.

Thank you for the answer, I'm still trying to figure out what could be the issue.

There is however a special container with less optimized binaries: arangodb/arangodb:3.9.2-noavx
Sorry for the misunderstanding. I don't use a ArangoDB-Docker, I use a Django-Docker that has to access an ArangoDB-Server. That does work very well with Python but as I couldn't find any equivalent to arangodump in Python I decided to use the commandline-tools.

Here we go /proc/cpuinfo:
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 6
model name      : Common KVM processor
stepping        : 1
microcode       : 0x1000065
cpu MHz         : 1999.961
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm rep_good nopl cpuid extd_apicid tsc_known_freq pni cx16 x2apic hypervisor cmp_legacy 3dnowprefetch vmmcall
bugs            : fxsave_leak sysret_ss_attrs null_seg swapgs_fence spectre_v1 spectre_v2
bogomips        : 3999.92
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 6
model name      : Common KVM processor
stepping        : 1
microcode       : 0x1000065
cpu MHz         : 1999.961
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm rep_good nopl cpuid extd_apicid tsc_known_freq pni cx16 x2apic hypervisor cmp_legacy 3dnowprefetch vmmcall
bugs            : fxsave_leak sysret_ss_attrs null_seg swapgs_fence spectre_v1 spectre_v2
bogomips        : 3999.92
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual

power management:

processor       : 2
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 6
model name      : Common KVM processor
stepping        : 1
microcode       : 0x1000065
cpu MHz         : 1999.961
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm rep_good nopl cpuid extd_apicid tsc_known_freq pni cx16 x2apic hypervisor cmp_legacy 3dnowprefetch vmmcall
bugs            : fxsave_leak sysret_ss_attrs null_seg swapgs_fence spectre_v1 spectre_v2
bogomips        : 3999.92
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 6
model name      : Common KVM processor
stepping        : 1
microcode       : 0x1000065
cpu MHz         : 1999.961
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm rep_good nopl cpuid extd_apicid tsc_known_freq pni cx16 x2apic hypervisor cmp_legacy 3dnowprefetch vmmcall
bugs            : fxsave_leak sysret_ss_attrs null_seg swapgs_fence spectre_v1 spectre_v2
bogomips        : 3999.92
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

so see, your cpu is in lack of AVX support:
processor       : 31
vendor_id       : AuthenticAMD
cpu family      : 23
model           : 1
model name      : AMD Ryzen Threadripper 1950X 16-Core Processor
...
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid amd_dcm aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave >>>avx<<< f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb hw_pstate ssbd ibpb vmmcall fsgsbase bmi1 >>>avx2<<< smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca sme sev

pick the non-avx enabled docker container I posted above, or get a newer machine ;)

As said the ArangoDB itself runs well somewhere else.
Is there an installer or for that as well or the client tools only? How would I install that in a custom docker image?

All the binaries are universal binaries statically linked. You can copy them out of the docker container over i.e. the RPM installed ones of the same version, and you should be  fine.

Your CPU model name is "Common KVM processor" which indicates that you are running in a virtualized environment which might not support all CPU instructions. If you have full control over your environment you might want to check your CPU model (e.g. for QEMU see https://manpages.ubuntu.com/manpages/kinetic/en/man7/qemu-cpu-models.7.html), or use the non-avx build as mentioned by @dothebart.


[FEATURE] 'Dev' log entries

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
I have the -devWarnings and -scriptDebug commands turned on, it would be good if they were recognized separately in the game LOG checking window (apart from the default "warnings" and "error/error lua") additionally the CollisionFlag-Check: entry should be colored on red.
Describe the solution you'd like
No response
Anything else?
I am attaching the LOG file for analysis.
log.txt

Huh. Cool. I admit, I didn't know any of those options existed. Yeah, I can add some additional colors and filtering for the output.

Thanks for the sample log, that saved a ton of time.  2 filters added, "DEV INFO" and "DEV WARNING".  The colliison flag I put into errors.
Difference between WARNING and DEV WARNING

Difference between INFO and DEV INFO

Collision Flag ERROR


Add python-astor-pip

Source https://pypi.org/project/astor/
Extra tools for working with the python AST library

Ping ;)


Create first draft PR for my simple function

Create first draft PR for my simple function

@Trickybrain Good start! This PR should be against selfie-python-wip, not this repo. Try again :)


Noob question: How to search line globally

Hello!
This is not an issue it's a just noob question.
I'm using this extension and I don't know is possible to search whole project for specific line?
For example I want to find usage of my function, how can I do that?
Thanks!

There are several ways to do it:

:Leaderf rg myFunction
:Leaderf rg,  then type the function name
:Leaderf gtags, then type the function name
:Leaderf gtags -r myFunction
Leaderf tag, then type the function name


Q-Bench Code for OpenCompass

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Adding Q-Bench (dataset and metric) to the multi-modality part of OpenCompass.
Modification

Create opencompass/multimodal/datasets/qbench.py, to load LLVisionQA dataset (from Q-bench).
Create opencompass/metrics/qbench.py, to dump the prediction results for Q-Bench into an excel file.
Modified the init files to load the classes.

BC-breaking (Optional)
Does the modification introduce changes that break the backward compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here and update the documentation.
Checklist
Before PR:

[] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

Hi, @teowu ,
Sorry for the late reply. Would you please add an example config for QBench inference? For example, under the minigpt-4 config collections: https://github.com/open-compass/opencompass/tree/main/configs/multimodal/minigpt_4

By the way, all multi-modal evaluation features are now moved to VLMEvalKit now (which will be  actively maintained in the foreseeable future). It would be better if you can reopen a PR in VLMEvalKit (it would be much easier than the current work).

Hi,
Thanks for the updated advice.
We will reopen a PR in VLMEvalKit.
Best
Haoning


Update table-regions.py to support partiton

there is no partition in the first table and there are 16 partitions in the second table

LGTM


Implement cuda atomic xor

This pull request implement cuda atomic xor along with test cases. Note this branch is based on and dependent on testhound/cuda_atomic_and (https://github.com/numba/numba/pull/6368)

Some notes on this PR (I still need to read through the tests carefully yet):

This passes for me locally with the hardware and the simulator.
As this is based on the atomic and PR but not the atomic or PR, this will conflict with the atomic or PR, and whichever of this and the atomic or PR is merged second will need conflicts resolving.
There will be three almost identical functions after all three current atomic PRs have gone in - ptx_atomic_and, ptx_atomic_or, and ptx_atomic_xor - perhaps these could be combined neatly?

@gmarkall would you recommend abandoning this pull request and creating a new one based on "atomic or"?
With regards to the three almost identical functions I prefer the code the way it is, but I see the opportunity for factoring the code. I lean towards readability and simplicity. Additionally being a Python newbie I'm not sure how to deal with the "@lowering" directictives which are unique to each operation.

Some notes on this PR (I still need to read through the tests carefully yet):

This passes for me locally with the hardware and the simulator.
As this is based on the atomic and PR but not the atomic or PR, this will conflict with the atomic or PR, and whichever of this and the atomic or PR is merged second will need conflicts resolving.
There will be three almost identical functions after all three current atomic PRs have gone in - ptx_atomic_and, ptx_atomic_or, and ptx_atomic_xor - perhaps these could be combined neatly?

@gmarkall would you recommend abandoning this pull request and creating a new one based on "atomic or"?

I think I'd just leave this one - once the atomic or PR is merged, we can just resolve the conflicts in this PR.

With regards to the three almost identical functions I prefer the code the way it is, but I see the opportunity for factoring the code. I lean towards readability and simplicity. Additionally being a Python newbie I'm not sure how to deal with the "@lowering" directictives which are unique to each operation.

I too lean towards readability and simplicity - however, it's a fairly common pattern in the Numba codebase to loop over types and call a function to build the lowering implementation - for example, everything in https://github.com/numba/numba/blob/master/numba/cuda/mathimpl.py is doing this. I think I'd replace the implementations of ptx_atomic_and, ptx_atomic_xor, with:
def ptx_atomic_bitwise(stub, op):
    @_atomic_dispatcher
    def impl_ptx_atomic(context, builder, dtype, ptr, val):
        if dtype in (cuda.cudadecl.integer_numba_types):
            return builder.atomic_rmw(op, ptr, val, 'monotonic')
        else:
            raise TypeError(f'Unimplemented atomic {op} with {dtype} array')

    for ty in (types.intp, types.UniTuple, types.Tuple):
        lower(stub, types.Array, ty, types.Any)(impl_ptx_atomic)

ptx_atomic_bitwise(stubs.atomic.and_, 'and')
ptx_atomic_bitwise(stubs.atomic.or_, 'or')
ptx_atomic_bitwise(stubs.atomic.xor, 'xor')

(This also includes / makes it easy to add the implementation of or as well). The use of lower here has similar semantics to @lower - in general you can think of:
@decorator
def func(args):
    pass

as a shorthand for:
def func(args):
    pass

func = decorator(func)

@stuartarchibald Could this have a buildfarm run please?

Buildfarm ID: numba_smoketest_cuda_130

Buildfarm ID: numba_smoketest_cuda_130

Passed.


[0.4.1] Refactoring in the @Configure and the Destroyable

Codecov Report

Merging #10 into master will decrease coverage by 0.16%.
The diff coverage is 77.01%.

@@            Coverage Diff             @@
##           master      #10      +/-   ##
==========================================
- Coverage   61.24%   61.08%   -0.17%
==========================================
  Files          36       37       +1
  Lines         689      722      +33
  Branches       96       98       +2
==========================================
+ Hits          422      441      +19
- Misses        267      281      +14

Impacted Files
Coverage Δ

src/main/core/exeption/application.exception.ts
11.11% <ø> (ø)

src/main/core/exeption/error-code.enum.ts
100.00% <ø> (ø)

...ain/core/configuration/properties.configuration.ts
76.74% <50.00%> (ø)

src/main/core/the-way-application.ts
76.92% <50.00%> (-14.75%)
:arrow_down:

src/main/core/core.ts
85.20% <65.00%> (-3.69%)
:arrow_down:

...rc/main/core/configuration/server.configuration.ts
66.12% <81.25%> (-3.37%)
:arrow_down:

src/main/core/decorator/application.decorator.ts
85.71% <100.00%> (ø)

...c/main/core/decorator/rest/method/del.decorator.ts
41.66% <100.00%> (ø)

...c/main/core/decorator/rest/method/get.decorator.ts
41.66% <100.00%> (ø)

.../main/core/decorator/rest/method/post.decorator.ts
41.66% <100.00%> (ø)

... and 9 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 1190dbd...884876c. Read the comment docs.


Linux Mint support

Linux Mint Cinnamon is my favourite. Any chance of support ?
http://linuxmint.com/

I'd love to, but it doesn't work that well with memdisk unfortunately.  See http://netboot.xyz/faq/#will-my-favorite-distribution-work

Clonezilla seems to have this method of booting working pretty well using the phram, mtdblock kernel module, and memdiskfind find method.  I would think this should be pretty simple to implement into most initrds that only support ISO.

Closing out for now, can reopen once Mint provides other ways to install rather than ISO only.  Installer kernels would be great.


Add SCons option to not build C# solutions

We're having issues with Mono on our Ubuntu 14.04 containers when running MSBuild. We're switching to the .NET Core SDK instead on x86_64 but it's not available on x86 yet. As such we can't build the C# solutions on the linux-x86 container.
Since the resulting assemblies are the same for all platforms, this new option will allow us to disable the C# solutions builds on linux-x86 for now and re-use the assemblies from the other container.

Thanks!


Calling .aggregations before .response causes a search to be executed twice.

For example:
resp = MyModel.__elasticsearch__.search(query)
resp.aggregations
# Search is conducted
resp.response
# The same search is run again

I see others have had a similar issue before. It appears the issue is that .aggregations calls .raw_response which executes the query, and then .response re-executes the query. Is there any reason not to implement this patch? I see there was a concern about thread-safety.

Thanks for reporting this,


opt use spark bundle to read hudi data

Proposed changes
Use spark-bundle to read hudi data instead of using hive-bundle to read hudi data.
Advantage for using spark-bundle to read hudi data:

The performance of spark-bundle is more than twice that of hive-bundle
spark-bundle using UnsafeRow can reduce data copying and GC time of the jvm
spark-bundle support Time Travel, Incremental Read, and Schema Change, these functions can be quickly ported to Doris

Disadvantage for using spark-bundle to read hudi data:

More dependencies make hudi-dependency.jar very cumbersome(from 138M -> 300M)
spark-bundle only provides RDD interface and cannot be used directly

Performance test results
The orders table in tpch100 with 20% rows have been updated or deleted randomly.

query(s)
spark
doris/hive-bundle
doris/spark-bundle

count(*)
12.57
21.51
17.22

count every columns
27.66
48.72
36.72

where o_orderkey = 100030752
25.15
48.22
36.72

where o_totalprice = 239714.15
26.52
56.36
35.77

After using spark-bundle, there is still a 30%+ performance gap compared to Spark. Looking at the flame graph of the same query for Doris and Spark, it is mainly due to the following three stages that Doris must be slower than Spark:
1. Time to initialize JNI connector

2. Time to insert spark `UnsafeRow` to doris `VectorTable`

3. Time to convert java `VectorTable` to c++ `Block`
Add native method
Spark UnsafeRow and ParquetVectorizedReader save the native bytes of data type in memory as row or column format, so we can copy the data directly without materializing and converting them as java types.
Unfortunately, the method of UnsafeRow to obtain the data address is private, and we can only use Java reflection to call this private method.


Typo in assign commands elligibilty message then->than

I tried to assign myself to this issue using corobo assign.
I received the following message:
You are not eligible to be assigned to this issue.
A newcomer cannot be assigned to an issue with a difficulty level higher then newcomer or low difficulty.
But the label says newcomer. Any help?


chore: enable codeCov and prettier

Enable codeCov and prettier

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@aebb485). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main        #9   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         3
  Lines           ?        27
  Branches        ?         0
========================================
  Hits            ?        27
  Misses          ?         0
  Partials        ?         0

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 aebb485...b41847e. Read the comment docs.


how to avoid duplicate records when import data

python3.6.8
django-import-export==2.1.0
models.py
class User(models.Model):
name = models.CharField(max_length=32, null=False, default='')
password = models.CharField(max_length=512, null=False, default='')
age = models.IntegerField(null=False, default=0)
tel = models.CharField(max_length=32, null=False, default='')
sex = models.BooleanField(null=False, default=True)
create_time = models.DateTimeField(null=False)
addr = models.CharField(max_length=120, null=False, default='')
email_addr = models.CharField(max_length=32, null=False, default='')
resources.py
from import_export import resources
from .models import User
class UserResource(resources.ModelResource):
class Meta:
model = User
views.py
def import1(request):
if request.method == 'POST':
file_format = request.POST['file-format']
user_resource = UserResource()
dataset = Dataset()
new_users = request.FILES['importData']
if file_format == 'JSON':
imported_data = dataset.load(new_users.read().decode('utf-8'), format='json')
result = user_resource.import_data(dataset, dry_run=True)
if not result.has_errors():
user_resource.import_data(dataset, dry_run=False)
return render(request, 'user/import.html', locals())
with json format data:
[{"name": "test", "password": "123", "age": 28, "tel": "", "sex": "1", "create_time": "2020-5-6 10:05", "addr": "", "email_addr"<EMAIL_ADDRESS>i import it twice without errors, and get 2 same records,
how to avoid duplicate records when import data, anyone have good ideas!!! thank you

You need to define import_id_fields which can be used to look up existing instances.  The logic to do this can be overridden if required.  The function which does this is called get_or_init_instance().
I recommend reading the docs first, and then looking through the source.
You might be better off posting on Stack Overflow rather than here for questions about usage.

You need to define import_id_fields which can be used to look up existing instances. The logic to do this can be overridden if required. The function which does this is called get_or_init_instance().
I recommend reading the docs first, and then looking through the source.
You might be better off posting on Stack Overflow rather than here for questions about usage.

that's very kind of you,thanks


Add blog post with the various online posts we're aware of.

Exclude Boxever wrapup, as we're already listing all those posts.

:+1: Great!

:+1: Really awesome collection of blog posts otherwise!

All changed.

Made suggested changes with some tweaks.

:+1:


Verify commit messages before merge

We currently have a policy for commit messages as specified in CONTRIBUTING.md. However, there is no automated check that a PR is compliant with this policy before merging.

https://github.com/conventional-changelog/commitlint


fetchData_API:hello-react-front-end

I implement the following features in this branch :-

Created a new Rails API app called 'hello-rails-back-end'.
The project has a Postgres database set up.
Created a table for storing your messages and create 5 different greetings.
Created an API endpoint that selects a random greeting from your table (you will need a controller with an action and rails route).

Created a new React app called 'hello-react-front-end'
Created the App component with react-router.
Created the Greeting component that will display a greeting. Set it up as a route in your App component.
Created a store, an action and a reducer that will connect to you API endpont to get the random greeting.
Display the random greeting in your Greeting component.

In the README file for the Rails API, added a link to the React app.
Also, in the README file for the React app, added a link to the  Rails API.
When submitting for a review - use a link to the pull request in your Rails API.
In the repo for the frontend part - include a PR with changes.

when i run in my VS Code it pass the stlelint and as reference i attached the screen shot of the vs code but i don't know in the github it show me error

hi @prolajumokeoni thanks a-lot for you feedback i fix the error based on you recommendation


Exporting to OneDrive synced folders doesn't work

When I try to export to Desktop or Documents folders which are synced with my personal OneDrive account, I get an empty file.
when I choose other locations such as drive D:\ then it works.

hmm strange. It shouldn't be behaving like this. unfortunately I dont have onedrive to test this. What happens if you disable sync then save does it work?


error: In manifest mode, vcpkg install does not support individual package arguments.

configuration like this:
- name: vcpkg build
  uses: johnwason/vcpkg-action@v6
  id: vcpkg
  with:
    pkgs: breakpad
    triplet: x64-windows-release
    token: ${{ github.token }}
    github-binarycache: true

there is a vcpkg.json file in the workspace dir.
got
error:
error: In manifest mode, `vcpkg install` does not support individual package arguments.
To install additional packages, edit vcpkg.json and then run `vcpkg install` without any package arguments.
See https://learn.microsoft.com/vcpkg/users/manifests for more information.
Using manifest file at D:\a\goldendict-ng\goldendict-ng\vcpkg.json.

I think this is expected behavior when using manifest mode. You specify the packages you want in the vcpkg.json file rather than on the command line.

The point here is that when there is a vcpkg.json file in the workspace .  vcpkg install pkg will not work any more.
Any way this should be a vcpkg issue.  I'll close this.

Oh, I see. If you want to ignore the vcpkg.json manifest, use actions/checkout with a subdirectory and build out of tree. It should be ignored.


chore(test): use nox instead of tox to run tests

Stack from ghstack (oldest at bottom):

#396
-> #395

nox provides a more flexible and accurate way of installing dependencies than tox and is used by major python official packages
cc @jcwchen

--append --cov-branch


Git diff straggling PRs

Integrates #133 into the new wallet, adds #118, and integrates #93 into new contracts as well

Codecov Report

Merging #145 (1b0db10) into develop (c7ebd2c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #145   +/-   ##
========================================
  Coverage    86.05%   86.05%
========================================
  Files           49       49
  Lines         1936     1936
  Branches       307      307
========================================
  Hits          1666     1666
  Misses         270      270

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 c7ebd2c...1b0db10. Read the comment docs.

Outdated - can close


User Story: As a user, I want to log out so that I can secure my account.

Tasks:
•	Implement the log-out function
•	Clear the user session and redirect to the home page

Completed


[Deployments] Include deployment name in AWS resource names

Every resource created via a deployment should include the name of the deployment (or a shortened version of that or sth)

i.e. instead of wwl-database[id] it should be [short-deployment-name]wwl-databse[id]


Unable to generate http response

#[api_v2_operation]
#[post("/echo")]
async fn echo(req_body: String) -> Result<HttpResponse, Error> {
    Ok(HttpResponse::Ok().body(req_body))
}

Isn't generating the Ok response to apiv2
Structural error at paths./echo.post.responses
should define at least one response
in the examples we use Result<Json, Error>,
Can someone help on how to do this for other types?

We cannot the information from dynamic objects such as the HttpResponse.
The type you mentioned Json works because it allows you to specify which type you want to set as the return, example:

/// Here we can generate all the information we need at compile time
#[derive(Serialize, Deserialize, Apiv2Schema)]
struct Pet { ... }

/// Here we set the return type of Json<Pet> and we internally generate
/// all the information for Json<T> where T: Apiv2Schema
-> Result<Json<Pet>, Error>

IIRC You can also return an object of your own type wrapper (eg: MyWrapper<T: Apiv2Schema>)

#[api_v2_operation]
#[get("/")]
async fn index() -> impl Responder {
    handle_embedded_file("index.html")
}
#[api_v2_operation]
#[get("/dist/{_:.*}")]
async fn dist(path: web::Path<String>) -> impl Responder {
    handle_embedded_file(path.as_str())
}
#[api_v2_operation]
#[post("/echo")]
async fn echo(req_body: String) -> HttpResponse {
    // body(req_body).
    // Ok(HttpResponse::Ok().finish())
    (HttpResponse::build(StatusCode::OK).body(req_body))
}

for echo it's fine to have a type as answer, but if it's just an index or websocket's route, how can we do it?
I don't get why the paperclip can't take the "status:Okay" from HttpResponse::Ok().

I agree that it would be good but how would paperclip know that? The spec is generated at compile time so we'd need to parse all your code and try to infer the return type from it.
Sadly at the moment there's no great alternative to using a type or manually adding details in the macro.
If you want a type that just sets 204, then you can always add your own type wrapper of HttpResponse, implement Responder etc

Somehow I was unable to show responses on the openapi specs page.
Then I found the skip feature for api_v2:
#[api_v2_operation(skip)]
Should be fine for index at "/"
I was trying to make a valid openapi spec and finally get it skipping "/" and "/websocket" .


Optimizing the Interaction Experience with Shell Hooks

Currently, after switching versions, in order to make environment variables take effect, it is achieved by opening a shell child process, the experience is not very good, we can optimize it through the shell hook mechanism.

e17ea805889343f4d52d3adcc3e5c90d367def55


get_document_list doesn't work with offset>9

when calling method get_document_list using an offset parameter, the results are wrong when offset is greater than 9. There is an error in the build_url_parameter method, that split offset=15 to ?offset=1&offset=5

I have found the same thing, I built a simple work around for myself.
Changed the build_url_parameter to look like this:
    def build_url_parameter(
            self,
            url_parameter: dict
            ) -> str:
        """
        Format url_parameters.

        Args:
            url_parameter (dict): Every value must be a list.

        Returns:
            A URL parameter string. Ex: `?key1=u1&key1=u2&key2=v1&...`
        """
        params="".join([f"&{tup[0]}={tup[1]}" for tup in url_parameter.items()])
        return "?"+params[1:]

I have found the same thing, I built a simple work around for myself.
Changed the build_url_parameter to look like this:
    def build_url_parameter(
            self,
            url_parameter: dict
            ) -> str:
        """
        Format url_parameters.

        Args:
            url_parameter (dict): Every value must be a list.

        Returns:
            A URL parameter string. Ex: `?key1=u1&key1=u2&key2=v1&...`
        """
        params="".join([f"&{tup[0]}={tup[1]}" for tup in url_parameter.items()])
        return "?"+params[1:]

This works! thanks!
Why not open a PR?


Fix nil class issue when enum_array is used as output

This PR fixes the nil class issue when enum_array is used as output.

Solves the issue in  #56


Change Library blist to sortedcontainers

I've found that blist hasn't been updated for quite some time and that it doesn't work properly in Python 3.9,
so I suggest changing it to another library.
Related issue
https://github.com/Yelp/elastalert/issues/2983

There seems to be a problem with blist even in python 3.7
https://github.com/Yelp/elastalert/issues/2693

Didn't have any issues on 3.7 or 3.8 . Popped up only in 3.9 on Debian and Alpine linux . On Alpine downgrading to 3.8 solves it.

Didn't have any issues on 3.7 or 3.8 . Popped up only in 3.9 on Debian and Alpine linux . On Alpine downgrading to 3.8 solves it.

Can someone please merge this in and push to pypi? It's currently broken on Fedora 33 with python 3.9

Can someone please merge this in and push to pypi? It's currently broken on Fedora 33 with python 3.9

@AnthraX1
Elast Alert is no longer properly maintained. I don't think there is a pypi release.
I think I have to clone the git repository, modify the source, and do it with python setup.py install.

@AnthraX1
Elast Alert is no longer properly maintained. I don't think there is a pypi release.
I think I have to clone the git repository, modify the source, and do it with python setup.py install.


Implementation attempt - hybrid variadic argument passing

This is an attempt (second, actually) at implementing #37. I think this is the simplest implementation I can do and I'm not really happy with it.
A point that was not considered in the proposal directly is that we have been passing variadic arguments as keyword arguments, for instance when doing op.loop(v_initial=[...], ...). This means that the variadic argument cannot be a Python variadic (*args), as then it cannot be passed by name. This limits our design space.
Hence, we need to have this sort of signatures (possibly limited by @typing.overload, but in general they would be this):
def concat(
    inputs: Union[Var, Iterable[Var]],
    *args: Var,
    axis: int,
) -> Var:
    ...

def loop(
    M: Optional[Var] = None,
    cond: Optional[Var] = None,
    v_initial: Union[Var, Iterable[Var]] = (),
    *args: Var,
    body: Callable[..., Iterable[Var]],
) -> Sequence[Var]:
    ...

def sequence_map(
    input_sequence: Var,
    additional_inputs: Union[Var, Iterable[Var]] = (),
    *args: Var,
    body: Callable[..., Iterable[Var]],
) -> Sequence[Var]:

Where the variadic input of a name may stand for either an Iterable[Var] of the first of Var, the rest of which go into *args. This allows passing both in the style of op.sequence_map(s1, s2, s3, ...) and op.concat([x, y, z]).
However, I'm no longer sure any possible benefits of this are worth the uglier signature. The only use case I had in mind (programmatic constructor calls from ONNX input lists) can just use inspect to find there is a Sequence argument and the end, and pass to it explicitly.
What are your thoughts on scrapping #37 based on how this attempt turned out, @cbourjau ?

Closing due to unsatisfactory results along with the source issue #37. Left for future reference.

Closing due to unsatisfactory results along with the source issue #37. Left for future reference.


ts_ls fails to install

My lazy-lsp looks like this:
      require('lazy-lsp').setup {
        preferred_servers = {
          python = { 'pyright', 'ruff_lsp' },
          c = { 'clangd' },
          javascript = { 'eslint', 'stylelint_lsp', 'ts_ls' },
          typescript = { 'eslint', 'stylelint_lsp', 'ts_ls' },
        },
        excluded_servers = {
          'efm',
          'diagnosticls',
        },
      }

But when I enter any typescript buffer I get this message:
Client ts_ls quit with exit code 1 and signal 0.
:LspLog looks like this:
[ERROR][2024-09-24 22:40:19] .../vim/lsp/rpc.lua:774	"rpc"	"nix-shell"	"stderr"	"error:
       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:9:12:
            8|
            9|   strict = derivationStrict drvAttrs;
             |            ^
           10|

       … while evaluating derivation 'shell'
         whose name attribute is located at /nix/store/h4hjc2hl8frbqp1s9hcs4rjgasc6n5zb-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:331:7

       … while evaluating attribute 'buildInputs' of derivation 'shell'
         at /nix/store/h4hjc2hl8frbqp1s9hcs4rjgasc6n5zb-nixpkgs/nixpkgs/pkgs/stdenv/generic/make-derivation.nix:378:7:
          377|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          378|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          379|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: undefined variable 'typescript-language-server'
       at «string»:1:107:
            1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) \"shell\" { buildInputs = [ (typescript-language-server) (typescript) ]; } \"\"
             |                                                                                ^"

Any help is appreciated. Thanks!

It is possible you are on older nixpkgs. I recommend to use the unstable channel.
You can check if you are on unstable with nix-channel --list and if so then you can try to update to latest with nix-channel --update.

Switching to unstable resolved the issue. Thank you very much for this plugin!


llext: automatically identify and merge similar sections

This patch is an alternative implementation of #73531, changing the way sections are mapped to memory indexes. Instead of looking at the section name, each section in the ELF file is mapped to the llext_mem enum by looking at its section type and flags.
This allows for a more generic mapping that works for both the ARM and Xtensa cases, and also allows for different sections to be merged if they are found to be similar, contiguous and non-overlapping in the ELF file.
This alternative handling also fixes a number of unreported corner cases, such as in the logging test where a section with read-only data was previously being flat-out ignored (not copied and not relinked).

v2:

removed extra parentheses
test for valid section by checking that sh_type != SHT_NULL
section merge calculates the minimal section covering both via MIN/MAX, no other math is required
merged debug info in the LOG_ERR message

v3:

added check for multiple SHT_NOBITS sections.

v4:

also update the sh_addr header field, used in dynamic files, when merging sections
fix the final overlap check to properly handle both relocatable and dynamic files:

relocatable files do not have fixed section addresses, so the overlap compares file offsets and ignores BSS sections;
dynamic files do have section addresses, so the overlap compares VMAs, and this time no section can overlap.

v5 and review ready:

Minor tweaks to the shared case:

Test both file offset and VMAs
Add an extra check on section merge that VMA match file deltas

So maybe to reiterate my thoughts here, I think grouping sections by the final permission bits of memory together as much as possible should be the end goal. All sections that need rw, ro, rx bits should be grouped into three memory regions/page sets as needed to avoid complications when it comes to MPU/MMU. If sections are not being copied over then there's not much we can do obviously. But in all other cases... group them, copy them, stick them in one memory area that can be treated as one by the MPU or MMU should be the goal.

I had a path toward this goal that went via the removal of the llext_mem enum (instead, treat each defined section separately but group them logically by RWX flags), because that made the dynamic case a lot easier to understand. I did a PoC that was based on the stale "split file" branch and allocated once per set of permissions, but still needed work.
However, after this I now think that we could stick with llext_mem for the time being. This PR groups similar stuff together, so the resulting areas are basically one per set of perms, as long as your llext is either simple or somewhat "sensibly" linked. If we add the logic to clump BSS after DATA (when both are heap allocated)... that is exactly 3 groups (TEXT, DATA, RODATA).


Unknown class KYDrawerController in Interface Builder file.

I try to use via pod install
when run it have error "Unknown class KYDrawerController in Interface Builder file."
why it like that?

@sonysum Hi!
Do you set the module column?

i did not set  module column
should i set it or not?

You should 👍

Ok it work Now Thanks


Python 3 support

Current code is not Py3 compatible.

I am out of the office until 10/08/2016.
For urgent matter, please contact the TEP Core Team (tepcoreteam@esa.int).
Note: This is an automated response to your message
"[EGI-FCTF/cloud-bdii-provider] Python 3 support (#27)" sent on 7/18/2016
11:12:08 AM.
This is the only notification you will receive while this person is away.
This message and any attachments are intended for the use of the addressee or addressees only.
The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its
content is not permitted.
If you received this message in error, please notify the sender and delete it from your system.
Emails can be altered and their integrity cannot be guaranteed by the sender.
Please consider the environment before printing this email.

I am out of the office until 10/08/2016.
For urgent matter, please contact the TEP Core Team (tepcoreteam@esa.int).
Note: This is an automated response to your message  "Re:
[EGI-FCTF/cloud-bdii-provider] Python 3 support (#27)" sent on 7/18/2016
11:52:31 AM.
This is the only notification you will receive while this person is away.
This message and any attachments are intended for the use of the addressee or addressees only.
The unauthorised disclosure, use, dissemination or copying (either in whole or in part) of its
content is not permitted.
If you received this message in error, please notify the sender and delete it from your system.
Emails can be altered and their integrity cannot be guaranteed by the sender.
Please consider the environment before printing this email.


[WIP] Compiling NRPE from source

Hello, I'm trying to add support for AIX, HP-UX, OpenSUSE and Suse Enterprise.
Some of those OS doesn't have a package for NRPE. When I need to install NRPE on those, I've generally compile nrpe from source.
I've really liked your role and I was wondering if we could use this approach to support those Operating Systems. I'm already working on this at my fork, if you find a better way please let me know.

Hey! This sounds great. Compiling from source is often a tricky one though since people might have private repos that contain a custom build. It also means possibly changing how CI tests are done to get test coverage (this could be optional though of course and not something I expect you to work out).
So go for it but make it optional at this point and then we'll go from there!

From some OS, like, AIX 7.1, HP-UX, SLES 11 SP1, this is the only way to get nrpe.
I'm expecting to compile only on those OS. I think it's an overkill to compile NRPE where there is a package for it's installation.
For a better test coverage on CI we could use Docker. If you like to check it out I'm using this approach on one of my roles here
Thank you!

Hi @jloh , I wasn't able to go further on this issue. I'm not working with NRPE anymore. Close this issue if you want to.

No worries, thanks!


ERD clarification

First of all, thanks for the great interactive SQL tutorial!
I'm reading the reference and I have a question about the tables connections.

Why is there no connection between income ssn and person ssn? I'm new to SQL and can't figure out is it a bug or everything is correct here?

Good eye!  That's a "bug" in the diagram.  Unfortunately, by the time I noticed it, the students who created this had graduated.  I can regenerate the diagram easily enough, but I don't have ready access to an editable version of the reference.
@Joonpark13 do you still have the source document somewhere and if so, can you share it?


[Docs]: Nginx startup error (server_names_hash_bucket_size)

What is wrong in the documentation?
Nothing wrong in the docs per-se but i went down a rabbit hole where nginx was failing to run, which meant that all my projects were dumping me into the Devilbox intranet login page, after having installed a MacOS system update and restarted my host machine - despite the fact that everything else appeared to be working inside my php/memcd/mysql containers.
Eventually i spotted the following in my docker logs after all the vhost logs:
devilbox-httpd-1  | 2023/05/31 15:23:46 [emerg] 1406#1406: could not build server_names_hash, you should increase server_names_hash_bucket_size: 64
devilbox-httpd-1  | nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 64
devilbox-httpd-1  | watcherd: [2023-05-31 15:23:46] [ERR] TRIGGER failed:    nginx -s stop

This led me to realise that the error wasn't caused by the host update i'd just installed (i suspected something docker network related), rather that i hit some sort of default nginx limit due to the number of projects in my data/www directory, that only surfaced after restarting docker and devilbox since adding a new project.
What is missing in the documentation?
I'd suggest a section on the troubleshooting page that points users to search the docker logs for any issues with their devilbox-httpd container, for example in my case needing to increase nginx's server_names_hash_bucket_size setting.
Are you willing to provide a PR to address this?
Yes

what the project name (folder inside the www)

Hi Vikas, i've got 52 project directories there. The latest additions were blesta_virtualizor/ and provision-provider-software-licenses-enhance/. My resolution was adding a .conf file under cfg/nginx-stable/ which set server_names_hash_bucket_size 128;.

Your project name is big, and since it's used as a server name, you are getting this issue.

Yep - this issue isn't to try and get support, I was suggesting enhancement to the troubleshooting page of the docs. If you don't think that's within scope for that page, no worries.

@uphlewis No No, I about think this should be added to the Docs page.


How to use the same proxy for multiple URL requests?

Not really an issue, but would love some input as I can't seem to figure out how to make it work.
My code (pseudo) looks something like this:
    req_proxy = RequestProxy()

    url_list = [www.example1.com, www.example2.com, www.example3.com, www.example4.com]

    for url in url_list:

        while True:

            request = req_proxy.generate_proxied_request(url)

            if request is not None:

                (THE REST OF MY CODE IS HERE ONCE WE GET A GOOD RESPONDING PROXY)

                break # Break out of While loop if we got a good response
            continue # Move on to the next url in the for loop

I'm wondering if there's a way to use the same proxy for say, 2 items in my url_list before trying to request another one. In my main application I have a long list of url's and would like to re-use some  good responding proxies for multiple url's before making a new request. How could I go about structuring this? Thanks a lot! (Or if there's documentation that I missed, point me in the right direction. Thanks!)

Hello @windowshopr
There is actually a sustain flag in the RequestProxy constructor that reuses the latest proxy as long as it does not timeout. Just use RequestProxy(sustain=True) to test it.
Cheers

Right on! I will work that in to my code. Thanks a lot!

@pgaref Thanks for the help, adding in the sustain=True worked, however I'm running into an issue where the script works for about 5 or 6 proxies, and then gets stuck:
2020-01-07 20:24:25,155 root   DEBUG    Using proxy: <IP_ADDRESS>:8080 | PremProxy
So it's trying to to use the above proxy, but it doesn't seem to move on if it can't get a response from the proxy. So I hit my CTRL + C to stop the script and I get a traceback that looks like:
Traceback (most recent call last):
  File "C:\Users\...\Python36\lib\site-packages\urllib3\connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse(buffering=True)
TypeError: getresponse() got an unexpected keyword argument 'buffering'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\...\Python36\lib\site-packages\urllib3\contrib\pyopenssl.py", line 280, in recv_into
    return self.connection.recv_into(*args, **kwargs)
  File "C:\Users\...\Python36\lib\site-packages\OpenSSL\SSL.py", line 1814, in recv_into
    self._raise_ssl_error(self._ssl, result)
  File "C:\Users\...\Python36\lib\site-packages\OpenSSL\SSL.py", line 1614, in _raise_ssl_error
    raise WantReadError()
OpenSSL.SSL.WantReadError

Any ideas on that? It only seemed to do this after I added in the sustain. Thanks!

Hey @windowshopr
The buffer response issue seems to be just a weird traceback introduced by Python 3 and not the real issue (check link) -- it seems more like an SSL issue with the particular proxy.
I would expect the issue to be as easy to fix as handling the Error raised by http request -- happy to help if you narrow it down.
Cheers

@pgaref
Thanks a lot. I think it might just be something weird happening on my end you're right. It doesn't seem to do it every time, so I'll play with some exception handling/may just implement a quick timer/while loop to force it to move on for now.
Thanks!


Numeric Variables

It's accepting numeric variables.

value
output
expected

123var
123var
var

1234
123
error

Hi @jeromemmiranda: it's not clear what functions you're using here. Could you provide more detail? This module doesn't attempt to validate variable names, so numbers are considered OK and it'll just try to do what it thinks is best with them.

This is a proof that I'm using your plugin for more than 2 years now. Hehe.
But the issue is still there.
Any function actually.

Hi @jeromemmiranda, I know this is years later but trying to tidy up this library! The way this library handles numbers is intentional – it's not designed to check that variable names are valid, as this differs language-to-language, it's just designed to split the variable sensibly and string it back together.
I added a test case which makes this support explicit. In a future major version I may consider adding in some explicit rules to split numbers. For now if you don't want variable names to start with numbers I think you should manually strip them yourself before passing into this library.
Thanks :)


next-sass: sass-loader version update needed

For now, next-sass has only supported node-sass. But sass-loader has started to support dart-sass also. So it would be more useful to be able to choose Sass implementations. I think it will be needed to be updated sass-loader version to 7.1.0, and also be removed node-sass from peer dependencies.

A lot of people don't like node-sass because of re-compilation when switching between node versions and also long native compilation when embedded in docker. Would be nice to have dart-sass support in next-sass

I'm going to close this in favor of https://github.com/zeit/next.js/issues/8626
Thanks for your contribution 🙏


Pass client instance to Role object instead of connection

The Faraday connection is getting passed to the Role object initializer instead of the client. This causes the delete and update methods on Role to fail.

I believe this can be closed now


Preview/refactor entrypoint

Refactors the method in which we startup the container. envconsul-wrapper sets up the environment, and then starts any argument we pass the container.
This allows us to, for example, run scheduled tasks via kubernetes cron jobs by passing args: to it. i.e
args:
  - bundle
  - exec
  - rake
  - some_awesome_task

without creating stub scripts like we attempted with the monthly_stats_email script.
I also moved start.sh and entrypoint.sh out of $pwd to tidy things up a bit.

@awead  args is to be a list, it's defined along with the deployment manifests (https://github.com/psu-stewardship/scholarsphere-config/blob/master/chart/templates/email-cron.yaml#L36)


[swift-3.0-preview-1-branch][stdlib] Implement sequence(first:next:) and sequence(state:next:)

Explanation: This pull request implements SE-0094 (sequence(first:next:) and sequence(state:next:)).

Scope of the issue: adds new APIs.

Risk: low, adds new APIs.

Reviewed by: @gribozavr.

Testing: new regression tests.

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

Fixes SR-1622.

@swift-ci Please test


[wip] Kubeadm updates for Windows and Containerd

This PR updates to set up instructions for using Kubeadm on Windows with Containerd.  This is part of the larger overhaul of Windows documentation: https://github.com/kubernetes/website/issues/31428
This requires some minor changes to the Host process examples: https://github.com/kubernetes-sigs/sig-windows-tools/pull/212
/sig windows

It looks to me as if this page needs quite a lot of work. I'd like to see a comprehensive rewrite or, at a minimum, a PR that makes the page better with no regressive changes

I think this makes sense to me to comply with the third party dual sourced content.  The current version of this doc does heavy use Flannel and many of the things you've called out as we should remove/avoid.
I've always felt this doc was heavily focused on the wrong things but wasn't sure how to fix it.  If I understand correctly, we should probably close this and address the items in the current doc. In reality, kubeadm join works just as expected with Windows, given you have the node set up properly.
This doc was focused on setting up the node more than kubeadm aspects and should probably be cleaned up to highlight kubeadm not flannel and containerd set up.  We should have other pages that go into more details how to configure a Windows node which is currently missing (or dispersed randomly throughout the large doc https://kubernetes.io/docs/setup/production-environment/windows/intro-windows-in-kubernetes/)

I've always felt this doc was heavily focused on the wrong things but wasn't sure how to fix it. If I understand correctly, we should probably close this and address the items in the current doc. In reality, kubeadm join works just as expected with Windows, given you have the node set up properly.

big +1 to this

Hi @jsturtevant, I don't think this PR should target dev-1.24
/cc @marosset

/close
I spoke with @jsturtevant and we are going to take another approach at updates to this page based on PR feedback.

We discussed at sig-windows doc pairing session and we are going take similiar approach the rest of the documentation is taking with regards to https://kubernetes.io/blog/2020/05/third-party-dual-sourced-content/ for context.
There is no major differences on joining a Windows node beyond adding the named pipe flag so we will augment the existing kubeadm documentation with the differences for Windows as we have been doing with the other work in https://github.com/kubernetes/website/issues/31428


Paradoxdocs

This is just an attempt to see how things could work here... and starting to learn paradox and c.
Please feel free to report any suggestion!
The complete output can be seen here for example:
https://andreatp.github.io/scala-native-docs/docs/
WDYT?

sorry ...


Create more space for q's on new page

As is, users may feel frustrated that they can't see their questions on the /new page.

I introduce new tailwind classes that allow the user to easily see what they have wrote.

Looks good thank you 👍

Thank you for your prompt action!
I like to create dead simple MR's to check how active the owner is before coding too much. If you have any guidance on code uniformity/preferences that might make upcoming MR's more palatable, please feel free to reach out. (For example, I see you're using Tailwind, so I used that here.)

Format your code with prettier.
If you make new elements try to use colors that are already registered in the tailwind theme config.
The project is JavaScript, don't add typescript unless we convert everything to typescript.
New text elements get a translation function around the text.
I wouldn't say you have to translate everything for the current languages if you do add something. I do have a script in the repo that can automatically do the language look ups in Google translate.
I appreciate the GitHub issues 👍

Changes aren't live yet. Please redeploy to famf.app.


Add ECrypto Coin (ECP)

Project background details:
ECrypto Coin (ECP Coin) was developed on the Ethereum Blockchain so its accepted at all Smart Contact vending points. So far the coin has been listed among the default coins at MyEtherwallet.com, goalabizexchange, listing on the Birrion exchange app in UK is under process, and Token.Store. More exchangers to be announced shortly.
Team background:
MR. SAMUEL ADU-YEBOAH (FOUNDER): is a young entrepreneur and a cryptocurrency expert who started his network marketing career in the year 2013. Telegram: https://t.me/goalanissi
EMMANUEL OSEI KOFI (CO-FOUNDER): He is an online entrepreneur with a BSc. Telecommunication Engineering from the Ghana Technology University College. He has been a network marketer since 2010 and a part of many successful online investments and network marketing programs. He is a Blockchain and Cryptocurrency analyst, trader and strong advocate for cryptocurrencies.  Telegram: https://t.me/osei94
MR. BISMARK KOFI ADU-LARBI (DIRECTOR/STRATEGY): Holds a BSc. Informaon Technology Degree from the University of Ghana through the Pentecost University College. He specializes in Biometric Systems, Surveillance Systems and Vehicle Security System. He is currently the Director and in charge of Strategy at ECP Ecryptopay Company Limited. Telegram: https://t.me/Bislarb
Current situation of the project:
The ideal purpose of the coin is to use it as a medium of exchange for investors for ecryptopay.com worldwide. Projects in the pipeline - ECP Store, Our own crypto trading platform, Android and Desktop wallets, merchant/vendors exchange points around the globe among others
Media exposures: INSTAGRAM: https://www.instagram.com/ecpecryptopay, TWITTER: https://twitter.com/EcpEcryptopay, FACEBOOK: https://www.facebook.com/ecpcoin/
Tradeable exchanges: TOKENSTORE (https://token.store/trade/ECP)
Recommended Gas Limit (For ERC-20 project teams) for transaction: (Default is 60,000)
Gas Limit: (Default 60,000)

Welcome to recommend imToken 2.0 to your token holders to manage their token.


Using the CLI

I can't seem to figure out how to list available drives and flash my img to it, can anyone help?

Etcher version:
1.3.1_CLI
Operating system and architecture:
ChromeOS_32bit_Dev-with-Linux-shell
Image flashed:
Need help

You can call it without the --drive option to get an interactive list of drives;
$ sudo etcher path/to/image.img
? Select drive (Use arrow keys)
❯ /dev/disk2 (31.1 GB) - SD Card Reader

Thanks, i have done that, but now im getting one of two errors, "Invalid
Argument, Write" or "UNEXPECTED 15"
What do these errors mean? and how do i fix them?
On Wed, Mar 7, 2018 at 12:34 PM, Jonas Hermsmeier<EMAIL_ADDRESS>wrote:

You can call it without the --drive option to get an interactive list of
drives;
$ sudo etcher path/to/image.img
? Select drive (Use arrow keys)
❯ /dev/disk2 (31.1 GB) - SD Card Reader
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/resin-io/etcher/issues/2107#issuecomment-371275405,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ8HXpQyHh_ryVStcqKvuRLoEvtzP-JZks5tcERbgaJpZM4ShEfk
.

From what I can tell, I think the "Invalid Argument, Write" should be fixed by #2055 and thus will be fixed in the next release of the Etcher CLI (whenever that happens to be) ?
I've got no idea about your other error though.  @jhermsmeier Is there a "CLI equivalent" to the DevTools Console? i.e. some way of capturing any debug output (perhaps to a logfile).

@DovaMerith The "UNEXPECTED 15" error is of the same nature as https://github.com/resin-io/etcher/issues/1697 – which has been fixed in the PRs #2095, #2097, and #2099 – while "Invalid Argument, Write" is most likely what @lurch mentioned, but either way, both of these should be fixed in the next release

Closing as relevant PRs have already been merged.


Add Contributing guidelines and add a link to them from the README

I think we need to add CONTRIBUTING.md to the exclude list at https://github.com/IBM-Swift/kitura.io/blob/master/_config.yml#L9
Otherwise it will be rendered by Jekyll at kitura.io/contributing.html


vote endpoint returns 404 on new cluster

I created a fresh cluster of three machines yesterday, using the 0.4.1 tag. I added one key to the cluster (/global/serfkey) and then left it alone overnight.
It's a very simple cluster:
etcdctl -debug -peers http://others:4001 ls --recursive /_etcd/machines
Cluster-Peers: http://<IP_ADDRESS>:4001 http://<IP_ADDRESS>:4001
Curl-Example: curl -X GET http://<IP_ADDRESS>:4001/v2/keys/_etcd/machines?consistent=true&recursive=true&sorted=false
/_etcd/machines/others
/_etcd/machines/hurley

etcdctl -debug -peers http://others:4001 ls --recursive /
Cluster-Peers: http://<IP_ADDRESS>:4001 http://<IP_ADDRESS>:4001
Curl-Example: curl -X GET http://<IP_ADDRESS>:4001/v2/keys/?consistent=true&recursive=true&sorted=false
/global
/global/serfkey

Then I tried to simply add a directory:
etcdctl -debug -peers http://others:4001 mkdir /roles/eventcenter
Cluster-Peers: http://<IP_ADDRESS>:4001 http://<IP_ADDRESS>:4001
Curl-Example: curl -X PUT http://<IP_ADDRESS>:4001/v2/keys/roles/eventcenter?dir=true&prevExist=false

Curl-Example: curl -X PUT http://<IP_ADDRESS>:4001/v2/keys/roles/eventcenter?dir=true&prevExist=false
Curl-Example: curl -X PUT http://<IP_ADDRESS>:4001/v2/keys/roles/eventcenter?dir=true&prevExist=false
Curl-Example: curl -X PUT http://<IP_ADDRESS>:4001/v2/keys/roles/eventcenter?dir=true&prevExist=false
Error: 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]

One of my three machines (hurley at <IP_ADDRESS>) is now spitting out:
[etcd] May 30 14:17:51.322 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:51.579 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:51.579 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:51.900 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:51.900 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:52.197 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:52.197 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:52.537 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:52.537 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:52.882 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
[etcd] May 30 14:17:52.882 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field

Restarting etcd doesn't help. The other two machines can't connect to it, fail to generate a quorum between them, and the whole cluster is unusable (and I'm hoping not doomed).

I see the same errors as @coozy above:
Jan 05 03:27:57 ip-172-30-0-11.ec2.internal etcd[572]: [etcd] Jan  5 03:27:57.339 WARNING   | [vote] Error: nil response

Jan 05 03:28:32 ip-172-30-0-125.ec2.internal etcd[9798]: [etcd] Jan  5 03:28:32.262 INFO      | 55feb942c50942aebc9406fa236d62c6: state changed from 'candidate' to 'follower'.
Jan 05 03:28:32 ip-172-30-0-125.ec2.internal etcd[9798]: [etcd] Jan  5 03:28:32.262 INFO      | 55feb942c50942aebc9406fa236d62c6: term #2308 started.
Jan 05 03:28:33 ip-172-30-0-125.ec2.internal etcd[9798]: [etcd] Jan  5 03:28:33.965 INFO      | 55feb942c50942aebc9406fa236d62c6: state changed from 'follower' to 'candidate'.
Jan 05 03:28:33 ip-172-30-0-125.ec2.internal etcd[9798]: [etcd] Jan  5 03:28:33.967 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
Jan 05 03:28:35 ip-172-30-0-125.ec2.internal etcd[9798]: [etcd] Jan  5 03:28:35.380 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field

Jan 11 09:10:06 core-03 etcd[456]: [etcd] Jan 11 09:10:06.730 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
Jan 11 09:10:06 core-03 kubelet[950]: I0111 09:10:06.828030     950 logs.go:39] etcd DEBUG: get /registry/nodes/<IP_ADDRESS>/boundpods [http://<IP_ADDRESS>:4001]
Jan 11 09:10:06 core-03 kubelet[950]: I0111 09:10:06.828187     950 logs.go:39] etcd DEBUG: Connecting to etcd: attempt1forkeys/registry/nodes/<IP_ADDRESS>/boundpods?consistent=true&recursive=false&sorted=false
Jan 11 09:10:06 core-03 kubelet[950]: I0111 09:10:06.828213     950 logs.go:39] etcd DEBUG: send.request.to http://<IP_ADDRESS>:4001/v2/keys/registry/nodes/<IP_ADDRESS>/boundpods?consistent=true&recursive=false&sorted=false | method GET
Jan 11 09:10:06 core-03 kubelet[950]: I0111 09:10:06.849250     950 logs.go:39] etcd DEBUG: network error:Get /v2/keys/registry/nodes/<IP_ADDRESS>/boundpods?consistent=true&recursive=false&sorted=false: stopped after 10 redirects
Jan 11 09:10:06 core-03 kubelet[950]: E0111 09:10:06.851528     950 etcd_tools_watch.go:171] watch was unable to retrieve the current index for the provided key ("/registry/nodes/<IP_ADDRESS>/boundpods"): 501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]
Jan 11 09:10:06 core-03 kubelet[950]: I0111 09:10:06.851776     950 etcd.go:71] Watch closed (&api.Status{TypeMeta:api.TypeMeta{Kind:"", APIVersion:""}, ListMeta:api.ListMeta{SelfLink:"", ResourceVersion:""}, Status:"Failure", Message:"501: All the given peers are not reachable (Tried to connect to each peer twice and failed) [0]", Reason:"", Details:(*api.StatusDetails)(nil), Code:0}). Reopening.
Jan 11 09:10:06 core-03 etcd[456]: [etcd] Jan 11 09:10:06.961 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
Jan 11 09:10:06 core-03 etcd[456]: [etcd] Jan 11 09:10:06.962 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
Jan 11 09:10:07 core-03 etcd[456]: [etcd] Jan 11 09:10:07.303 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
Jan 11 09:10:07 core-03 etcd[456]: [etcd] Jan 11 09:10:07.305 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
Jan 11 09:10:07 core-03 etcd[456]: [etcd] Jan 11 09:10:07.664 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
Jan 11 09:10:07 core-03 etcd[456]: [etcd] Jan 11 09:10:07.668 WARNING   | transporter.vr.decoding.error:proto: field/encoding mismatch: wrong type for field
i have met same problem too atfer server crash,

+1

This is a go-raft problem. And go-raft is unmaintained now. We are using new raft now. So this problem should be solved in etcd 2.0. Thanks!

+!
When will etcd 2.0 get integrated in the alpha channel?

+1 for etcd 2.0 on alpha

@david-gurley It plans to happen in Feb.
@jpmx If you meet it in 2.0, please open a new issue with details about it.

So it's a go-raft problem, what are the details of that problem? Does it shed any light on a possible workaround for us who want to use etcd, but do not want to run Alpha in production? Because I assume it will take some time before etcd 2.0 makes it way to Stable?

@stianstr For now (and maybe permanently) we've moved to Consul. etcd has great features but it will be a while before I feel good about its raft implementation; not just because of go-raft but because of how new and untested its new implementation is.

Consul is really fantastic, however, fleet is tied so closely with etcd that I'd like to stay with etcd. +1 for alpha coreos with etcd 2.x

I got the same problem with etcd 0.4.6, but after remove all data in /var/lib/etcd/*, I cloud start the etcd cluster.

@mosquitorat 3Q

Works for me !! @mosquitorat
Thanks a lot

Works for me too !! @mosquitorat
Thanks a lot

@mosquitorat Which removes all of the cluster data, correct?


TypeError in App.js:429

Error in UniceNotes
TypeError in App.js:429
Cannot read property 'toString' of undefined
View on Bugsnag
Stacktrace
App.js:429 - ?anon_0_

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
TypeError in App.js:465

réglé
      if(version != null) {
        version = version.toString().replace("v", "");
   ...

Comment added in Bugsnag by Hugo
[**TypeError** in **App.js:465**](https://app.bugsnag.com/metrixmedia/unicenotes/errors/64f1ef1608629a0008286998?event_id=651c3a6e00c5ab4b66be0000&i=gh&m=cm)


Translation for Calendar component

🚀 Feature Proposal
As stated here the calendar component does not have a way to translate dates and some buttons at the frontend.
Motivation
Improve internationalization and UX.
Example
This could be done by editing how the Calendar in imported. The fullcalendar, which is used in this project, has locales built in. See more on: https://fullcalendar.io/docs/locale

Dropdown menu also could be translated. The default text is -- Choose --

The DatePicker component we use from react-datepicker accepts a locale prop. If you pass "P" as the dateFormat prop, it will also format the date based on the locale. We just need to register all the locales we're going to use in DateTimePicker.tsx as has already been done for enUS and ptBR.
https://github.com/Hacker0x01/react-datepicker/issues/1580.

Hi, can I pick up this issue?

@vicdurai ok!

Pull request https://github.com/HospitalRun/components/pull/438 is ready for review. Having some issues with signing the CLA agreement.


feat(backend): Update seat_price algorithm

Resolves #797

Is seatPrice correct on testnet now?

@shelegdmitriy Yes, that seems to be aligned with my expectation since on testnet there is room for 200 validators and currently we only have 94, so 106 seats are still free and the minimum stake is the sum of all the current stake * 1/6250, which is around 17k NEAR now.


Upload CotteToken

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[ ] Filename in the lowercase format
[ ] Image format: png
[ ] Image size: 256 by 256 px

Added.
Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwalletapp.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:

Twitter: @trustwalletapp

Facebook: @trustwalletapp


fix(security): update eslint dependencies

Resolves Issue #38

Fix the linting issues. Then merge.

Waiting on some assistance with a CLI issue before doing this. Tracking that in a separate pull request - https://github.com/newrelic/nr1-graphiql-notebook/pull/31

:tada: This PR is included in version 0.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


conda env error

Hi there!
I'm running into an error when trying to create a conda env from the provided environment.yml.
The error I'm getting is:
conda env create -f environment.yml
Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
  - numpy-base==1.11.3=py37hde5b4d6_12
  - xz==5.2.5=h7b6447c_0
  - libgfortran-ng==7.3.0=hdf63c60_0
  - pandas==0.23.4=py37h04863e7_0
  - scipy==1.2.1=py37h7c811a0_0
  - ncurses==6.2=he6710b0_0
  - openssl==1.1.1f=h7b6447c_0
  - tk==8.6.8=hbc83047_0
  - libedit==3.1.20181209=hc058e9b_0
  - libffi==3.2.1=hd88cf55_4
  - libstdcxx-ng==9.1.0=hdf63c60_0
  - numpy==1.11.3=py37h7e9f1db_12
  - readline==8.0=h7b6447c_0
  - libgcc-ng==9.1.0=hdf63c60_0
  - zlib==1.2.11=h7b6447c_3
  - python==3.7.7=hcf32534_0_cpython
  - ld_impl_linux-64==2.33.1=h53a641e_7
  - scikit-learn==0.20.3=py37hd81dba3_0
  - mpi4py==3.0.3=py37h028fd6f_0
  - sqlite==3.31.1=h7b6447c_0

From looking at this this other issue, I'm wondering if this could be solved on your end by adding --no-builds to your conda env export command?   (eg conda env export --no-builds > environment.yml)
Thanks!
Caitlin

Hi Caitlin, I've updated the environment.yml file in this commit 65dd0e96fd0db218ba6825959caf547f065dd5f7. The new environment.yml file is much smaller and only contains the top-level packages to install.


Supports Optionsets

This is cool. Do want to clean up the object naming really quick since it's confusing, now that we'll have internal sets as well. Then bye wip.
https://www.loom.com/share/cefab4807fa5411faf3f37ddceb6a657

Cleand' up


Filtering not working properly with paging.

I use the lastest ui-grid unstable version.
For example, I have a table of 500 tries, each page contains 50 entries.
When I try to filter a property, I excepted it to filter all 500 entries, and paging the filtered result.
But it only filter the 50 entries of the current page.
Is this a bug? Can I configure somewhere to make it works as I excepted?

Got the same problem, have 10k+ items in the data source, and i would like the filter to filter on the datasource and not care about paging. the paging plugin should just page the filtered results which might be 200 rows out of the 10k, where each page is 50 items would make 4 total pages.

The PR was merged, you might need to use the latest unstable release. I know it is in there.

@brianchance cool! :)

Can you confirm that this is now working so that we can close?

This seems to work now thank you :)

Excellent, thanks.

Not sure if I'm missing something, but I'm doing filtering using the registerRowsProcessor, and even in 4.0.2, the filtering only takes into account existing page. Here's my code snippets:
$scope.sourceGridOptions = {
enableSorting: true,
paginationPageSizes: [2,50,75],
paginationPageSize: $scope.sourceListing.size,
useExternalPagination: true,
columnDefs: [
{ field: 'sourceTitle', name: 'Source Title', enableColumnMenu: false},
{ field: 'sourceUrl', name: 'Source Url', enableColumnMenu: false, minWidth: 300},
{ field: 'sourceType', name: 'Source Type', enableColumnMenu: false},
{ field: 'entityCount', name: 'Entity Count', enableColumnMenu: false, cellTemplate: entityCountCellTemplate},
{ field: 'lastSyncedOn', name: 'Last Sync Date', enableColumnMenu: false, minWidth: 200},
{ field: '', name: 'Action', cellTemplate: attrActionTemplate, enableColumnMenu: false, enableSorting: false, maxWidth: 150}
],
onRegisterApi: function (gridApi) {
$scope.sourceListGridApi = gridApi;
$scope.sourceListGridApi.grid.registerRowsProcessor($scope.configSLFilter, 200);
$scope.sourceListGridApi.pagination.on.paginationChanged($scope, function (newPage, pageSize) {
$scope.sourceListing.from = newPage;
$scope.sourceListing.size = pageSize;
$scope.buildSourceListing();
});
}
};
//Grid filter business logic
//We checking for a match using sourceTitle & sourceType
$scope.configSLFilter = function (visibleRows) {
    var matcher = new RegExp($scope.source.searchStr.toLowerCase());
    renderableRows.forEach(function (row) {
      var match = false;
      ['sourceTitle', 'sourceType'].forEach(function (field) {
        if (row.entity[field] !== null) {
          if (row.entity[field].toLowerCase().match(matcher)) {
              match = true;
          }
        }
      });
      if (!match) {
          row.visible = false;
      }
    });
    return renderableRows;
};

In my defense, I didn't write this code, just debugging it. Tried swapping renderableRows with visibleRows, but that had no effect.


iPad OS13

Hi Guys, new ipod os13 is in release with useragent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15
this isn't picked up on the demo page when the user agent is set to it
also the problem with this is its also the same as desktops - so finding a way to detect this will be difficult

@Adam-Kernig we can differentiate to check device is touch screen or not, if yes it is iPad or if not it is Mac because there's no official touch screen for Mac.
@AhsanAyaz please review the PR https://github.com/KoderLabs/ngx-device-detector/pull/114.

Did you update the package?
If yes, I continue to have the same issue.

@ranouf, @SaadQamar01 , @Adam-Kernig I'm going to test @SaadQamar01 's PR today and will merge.

Closed by https://github.com/KoderLabs/ngx-device-detector/pull/114


Delete the brace automatically created if the one that prompted it is deleted

I end up with too many }}]]])))))) because the automatic closing brace.
Also, undo will get rid of the c;losing brace, but should probably get rid of the set,
I have decades of muscle memory hitting () {} [] that just turns into ()) {}} []], I really just want to disable this feature but someone else put that request in already.

Already discussed in #121


Clash between MeasBasisInstruction id and vanilla MovInstruction id

Both have id = 41.

After opening this, I noticed that it was addressed in https://github.com/QuTech-Delft/netqasm/compare/develop...fix-meas-basis-encoding