Remove version dependence from codegen

sorry for the noisy PR. All the magic happens in codegen/llvm/common.h

The codegen tests are currently quite tedious to update as the "source"
and "result" are defined in the same file which makes it hard to
automatically update.
This commit changes that by:

Moving the "result" to its own file, TEST_NAME.ll
Introducing a rewriter that tries to automatically fix the LLVM
version differences
As rewriting doesn't always work it supports loading results from
TEST_NAME_LLVM-X.ll these will have to be maintained manually but
at the moment there are only a few (only LLVM 5)

@danobi / @ajor  I've added docs and added  LLVM9 support (which turned out quite trivial). Can you take a look at last 2 commits?
https://github.com/iovisor/bpftrace/pull/1108/commits/6036494814b6a6bbd3fc3eb4474f0f763f87c33f

@mmisono  any objection to me merging this or would you rather wait until #1104 is merged as it impacts  your work? It's blocking #1105 and testing on fedora >=31 systems.

@fbs
I'm glad if #1104 is merged first, but not sure how long it takes, so please go ahead. This and #1105 are important changes and I also want them to be merged.
By the way, I think it is useful if bpftrace has an option to save LLVM IR to a file like this --elf option.

@fbs
I'm glad if #1104 is merged first, but not sure how long it takes, so please go ahead. This and #1105 are important changes and I also want them to be merged.

I'll hold it off for the weekend then :)

By the way, I think it is useful if bpftrace has an option to save LLVM IR to a file like this --elf option.

I had something like this in #1066 but there is some discussion still about how to name the flags.  I got a WIP somewhere that adds --emit-<ir,opt-ir,elf> [filename] somewhere, i'll try and clean that up and open it as a rfc for discussion :)


Diego/proto 2855 add outlier detection

Purpose of Changes and their Description

Add new params InferenceOutlierDetectionThreshold, InferenceOutlierDetectionAlpha to control outlier-resistant inferences.
Add stores of MAD ema per topic and last median.
Use new state stores at closeWorkerNonce to compute MAD and last_median.
Addition of query network-inferences-at-block-outlier-resistant that computes such network inferences on the fly, using the new state additions.

Migration created for v0_8_0 package and v7 protos.
Link(s) to Ticket(s) or Issue(s) resolved by this PR
Are these changes tested and documented?

[x] If tested, please describe how. If not, why tests are not needed. -- added unit tests for relevant new functions. Tested against local chain.
[x] If documented, please describe where. If not, describe why docs are not needed. -- added to autocli
[x] Added to Unreleased section of CHANGELOG.md?

I think we need to register the v6 messages in the module RegisterInterfaces func, by adding:
v6.RegisterInterfaces(registry)

So that we'll be able to unmarshal old transactions containing v6 messages through allorad query tx $OLD_TX_HASH for example

I initially did this, but it was not working, failing due to duplicate registration of v6 interfaces. Not entirely sure why though.

I initially did this, but it was not working, failing due to duplicate registration of v6 interfaces. Not entirely sure why though.

pretty sure codec.go is made in the types folder that registers the "latest" interface always, so you don't have to double register
just the outdated interfaces

I initially did this, but it was not working, failing due to duplicate registration of v6 interfaces. Not entirely sure why though.

pretty sure codec.go is made in the types folder that registers the "latest" interface always, so you don't have to double register
just the outdated interfaces

Yeah but v6 is not the latest :D
I think this comment I made came from a different version (I had some confusion trying to reuse v6 and when creating the bare minimum v7), so I tried several ways and that error seem to happen then.
So - forget ab my comment.
However, one thing that was needed was to register the types used by the Interfaces. @amimart suggested how, and I pushed in this commit.


VersionConverter: Custom dxversion is not used #426 is back again

𝗗𝗲𝘀𝗰𝗿𝗶𝗯𝗲 𝘁𝗵𝗲 𝗯𝘂𝗴
In https://github.com/eXpandFramework/Reactive.XAF/commit/b1df47fd01cd9073a3a06d556c9e9ebe6f0d1241 you fixed a bug, where a custom DevExpressVersion passed to the version converter was not used.
I just upgraded from an old 19.2 version of DX/eXpandFramework to the latest 20.2.5 release and this bug is back again:
~\.nuget\packages\xpand.versionconverter\4.202.52\build\Xpand.VersionConverter.targets(4,9): error : Canno
t convert value "$(DevExpressVersion)" to type "System.Version". Error: "Version string portion was too short

𝗧𝗼 𝗥𝗲𝗽𝗿𝗼𝗱𝘂𝗰𝗲

Set DevExpressVersion in directory.buildprops, e.g.
<Project><PropertyGroup><DevExpressVersion><IP_ADDRESS></DevExpressVersion></PropertyGroup></Project>
Add DevExpress reference to csproj, e.g.
Run msbuild

let me know if this is now working please

VersionConverter is working fine again in version 4.202.53. Thank you!

VersionConverter is working fine again in version 4.202.53. Thank you!


Add single-producer single-consumer queue

I have a few lock-free structures to donate (spsc queue, mpmc queue, multi-queue, spmc queue, spmc stack). Starting with the simplest one - single-producer single-consumer queue.
Structure
Enqueue inserts element into the structure, while dequeue removes in FIFO order. The structure is safe because, from the perspective of other operation, enqueuer operates only on [tail, head + size) part of the array, whereas dequeuer on [head, tail). Sample state:
| Index          | 0    | 1      | 2      | 3    |
| -------------- | ---- | ------ | ------ | ---- |
| Array (sz = 4) | None | Some A | Some B | None |
| Head           |      | X      |        |      |
| Tail           |      |        |        | X    |
| Enq. range     | X    |        |        | X    |
| Deq. range     |      | X      | X      |      |

Testing
I've created a few simple tests, one with two threads and 100k items being transferred. I'd be happy to write some DSCheck tests (https://github.com/sadiqj/dscheck).
Possible extensions:

Automatic resizing is a little awkward but possible. Natural place to grow the array would be in the insertion function. However, enqueuer cannot remove elements from the existing array in SPSC, so I guess we'd be end up with some sort of list of arrays.
Aligning the indices with cache lines significantly improves the performance (see https://github.com/anmolsahoo25/aligned_int).

Hi!
I have reviewed your code and added tests. Also for uniformity with the other queues in this repo, I renamed enqueue to push and dequeue to pop and made a small change in enqueue to raise a Full exception when the queue is full instead of returning a boolean.
Is it ok with you if I push directly on your repo to update this PR ? I am asking because I will be pushing on your main branch.

Hi!
Thanks for review!
Pushing onto my main branch is fine. I assume you would not have permission to do this now, so I added you as a collaborator to my fork.

Hi @bartoszmodelski,
Could you resend me the invitation ? It seems it had an expiration date !
Sorry about that !

Hi @lyrm, no worries. Just added you, let me know if that works.

hi @lyrm, is it good to merge?

Hi @bartoszmodelski, I did not try any dscheck tests for this queue. Did you ? (even if we can not add them here right now)

Tried just now, looks good.
test_spsc_queue.txt


AKS ssh instructions are not correct

This is very misleadingly entitled ssh into the node. It does not do that, it creates a privileged container on the node.
A coworker was looking at https://docs.microsoft.com/en-us/azure/aks/kubelet-logs to try and understand why a node went unready. Kubelet-logs page redirects to SSH to ssh into the machine. However once completing the "ssh" steps they went back to the Kubelet-logs page and completed the journalctl -u kubelet -o cat step. However  they got 0 results because journalctl is reading the container's logs and not the host node.
I did suggest to the coworker to chroot into the host folder. This allowed the journalctl -u kubelet -o cat step to work.

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

ID: 3b81a147-db1c-b92f-88d1-6dd0991a72fe
Version Independent ID: f5a2c949-498f-5848-d89c-031d1a757120
Content: SSH into Azure Kubernetes Service (AKS) cluster nodes - Azure Kubernetes Service
Content Source: articles/aks/ssh.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@KnicKnic thank you for the feedback. The document was updated to use privileged container pods on the node which removed the earlier complexities of setting password/ssh keys on the node Virtual machine/Virtual Machine Scale Sets which required reboots of the underlying machines. However, if the use case is to get kubelet logs from Azure Kubernetes Service then additional steps are required.
I have assigned this to the document author(s).

Thank you for the feedback.
Based on the comments, it appears the issue is resolved and does not need any doc updates.
#please-close

@zr-msft I don't understand how the issue is resolved. You are not SSH'ing into the node. you are essentially logging into a privileged container that is in a different chroot.
People will expect it behave like it is SSH'd (even the MSFT docs), it doesn't as evidence that the get kubelet logs instructions do not work. The instructions should clearly explain how this is different from an SSH, and how to get a more SSH like experience by chrooting to the host folder.


package installed as 0.0.0

Using easy_install to install setuptools_scm, it installs as version 0.0.0:
C:\Users\jaraco\scm> $env:PYTHONPATH='.'
C:\Users\jaraco\scm> easy_install -d . setuptools_scm
Creating c:\users\jaraco\scm\site.py
Searching for setuptools-scm
Reading https://pypi.python.org/simple/setuptools_scm/
C:\Program Files\Python34\lib\site-packages\setuptools-12.2-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-0.26)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
C:\Program Files\Python34\lib\site-packages\setuptools-12.2-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-1.0.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
C:\Program Files\Python34\lib\site-packages\setuptools-12.2-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-1.1.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
Best match: setuptools-scm 1.1.0
Downloading https://pypi.python.org/packages/source/s/setuptools_scm/setuptools-scm-1.1.0.tar.gz#md5=a4a06bc7c862f63029793085734adcfb
Processing setuptools-scm-1.1.0.tar.gz
Writing C:\Users\jaraco\AppData\Local\Temp\easy_install-xeq_tah8\setuptools-scm-1.1.0\setup.cfg
Running setuptools-scm-1.1.0\setup.py -q bdist_egg --dist-dir C:\Users\jaraco\AppData\Local\Temp\easy_install-xeq_tah8\setuptools-scm-1.1.0\egg-dist-tmp-yzff7icr
C:\Program Files\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'use_scm_version'
  warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...
Copying setuptools_scm-0.0.0-py3.4.egg to c:\users\jaraco\scm
Adding setuptools-scm 0.0.0 to easy-install.pth file

Installed c:\users\jaraco\scm\setuptools_scm-0.0.0-py3.4.egg
Processing dependencies for setuptools-scm
Finished processing dependencies for setuptools-scm
C:\Users\jaraco\scm> python
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct  6 2014, 22:16:31) [MSC v.1600 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>> pkg_resources.require('setuptools_scm')[0].version
'0.0.0'

It should install as the advertised version.

Bitbucket: https://bitbucket.org/pypa/setuptools_scm/issue/22
Originally reported by: Jason R. Coombs
Originally created at: 2015-02-25T17:12:40.765

I'm afraid I don't understand. How does printing the note in the setup.py file fix the PYPI hosted tarballs to get the correct version number? Is that just a reminder for the maintainer for the next release?

Original comment by: Jason R. Coombs

I still have this problem:
C:\Users\jaraco\scm> $env:PYTHONPATH='.'
C:\Users\jaraco\scm> easy_install -d . setuptools_scm
Creating c:\users\jaraco\scm\site.py
Searching for setuptools-scm
Reading https://pypi.python.org/simple/setuptools_scm/
c:\python\lib\site-packages\setuptools-14.0-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-0.26)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
c:\python\lib\site-packages\setuptools-14.0-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-1.0.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
c:\python\lib\site-packages\setuptools-14.0-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-1.1.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
c:\python\lib\site-packages\setuptools-14.0-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-1.2.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
Best match: setuptools-scm 1.2.0
Downloading https://pypi.python.org/packages/source/s/setuptools_scm/setuptools-scm-1.2.0.tar.gz#md5=251730e2ca3ff05e6e1fcd4ba368e6a8
Processing setuptools-scm-1.2.0.tar.gz
Writing C:\Users\jaraco\AppData\Local\Temp\easy_install-ally0u56\setuptools-scm-1.2.0\setup.cfg
Running setuptools-scm-1.2.0\setup.py -q bdist_egg --dist-dir C:\Users\jaraco\AppData\Local\Temp\easy_install-ally0u56\setuptools-scm-1.2.0\egg-dist-tmp-bteox7a4
c:\python\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'use_scm_version'
  warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...
Copying setuptools_scm-0.0.0-py3.4.egg to c:\users\jaraco\scm
Adding setuptools-scm 0.0.0 to easy-install.pth file

Installed c:\users\jaraco\scm\setuptools_scm-0.0.0-py3.4.egg
Processing dependencies for setuptools-scm
Finished processing dependencies for setuptools-scm

This behavior means that every time I install the package (or every time setuptools installs it as part of a setup_requires), the apparent version of the package is 0.0.0. I'm unable to infer what version is being used.
Furthermore, if the setup_requires requirement stipulates anything that doesn't include 0.0.0, invocation will fail. Consider this minimal setup.py:
import setuptools

setuptools.setup(
	name='test_pkg',
	use_scm_version=True,
	setup_requires=[
		'setuptools_scm>=1.0',
	],
)

Invoke it for sdist and it yields this output:
C:\Users\jaraco\scm> ./setup sdist
C:\Program Files\Python34\lib\site-packages\setuptools-14.0-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-0.26)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
C:\Program Files\Python34\lib\site-packages\setuptools-14.0-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-1.0.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
C:\Program Files\Python34\lib\site-packages\setuptools-14.0-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-1.1.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
C:\Program Files\Python34\lib\site-packages\setuptools-14.0-py3.4.egg\pkg_resources\__init__.py:2512: PEP440Warning: 'setuptools (scm-1.2.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
C:\Program Files\Python34\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'use_scm_version'
  warnings.warn(msg)
zip_safe flag not set; analyzing archive contents...

Installed c:\users\jaraco\scm\.eggs\setuptools_scm-0.0.0-py3.4.egg
Traceback (most recent call last):
  File "C:\Users\jaraco\scm\setup.py", line 7, in <module>
    'setuptools_scm>=1.0',
  File "C:\Program Files\Python34\lib\distutils\core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "C:\Program Files\Python34\lib\site-packages\setuptools-14.0-py3.4.egg\setuptools\dist.py", line 265, in __init__
  File "C:\Program Files\Python34\lib\site-packages\setuptools-14.0-py3.4.egg\setuptools\dist.py", line 310, in fetch_build_eggs
  File "C:\Program Files\Python34\lib\site-packages\setuptools-14.0-py3.4.egg\pkg_resources\__init__.py", line 807, in resolve
pkg_resources.DistributionNotFound: setuptools-scm>=1.0

It's downloaded setuptools_scm 1.2, but it's installed as 0.0:
C:\Users\jaraco\scm> dir .eggs

    Directory: C:\Users\jaraco\scm\.eggs

Mode                LastWriteTime     Length Name
----                -------------     ------ ----
-a---       13-Mar-2015     15:36        217 README.txt
-a---       13-Mar-2015     15:36      16978 setuptools_scm-0.0.0-py3.4.egg

Original comment by: Jason R. Coombs

print the note when using setup.py in a fresh checkout, fixes #22
→ <<cset 5621ec8f0a76>>

Original comment by: Ronny Pfannschmidt

seems like setuptools easyinstall sandboxing breaks the world

Original comment by: Ronny Pfannschmidt

cant replicate on python2

Original comment by: Ronny Pfannschmidt

I had this issue in hgtools, which is why hgtools couldn't use itself naturally.

Original comment by: Jason R. Coombs

this seems to be a bug in my release process - as soon as the egg-info exist it can extract the data i will create some extra testing to fix it up

Original comment by: Ronny Pfannschmidt

extend sdist command, replace version in setup.py of the sdist, fixes issue #22
→ <>

Original comment by: Ronny Pfannschmidt


feat: support multi cluster

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):
re #30

[ ] N
[x] Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[x] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Codecov Report
Attention: 145 lines in your changes are missing coverage. Please review.

Comparison is base (8169452) 64.49% compared to head (7b08f59) 60.81%.

Files
Patch %
Lines

pkg/frame/controller/consister.go
37.68%
98 Missing and 26 partials :warning:

pkg/frame/controller/resourceconsist_controller.go
55.31%
16 Missing and 5 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
- Coverage   64.49%   60.81%   -3.69%
==========================================
  Files           4        4
  Lines         907     1082     +175
==========================================
+ Hits          585      658      +73
- Misses        247      328      +81
- Partials       75       96      +21

Flag
Coverage Δ

unittests
60.81% <41.05%> (-3.69%)
:arrow_down:

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

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


Bump plugin versions.

Scalastyle "scalastyle-sbt-plugin" % "0.7.0) dies with:
[error] .../chisel3/src/main/scala/Chisel/Data.scala: Expected token RBRACKET but got Token(XML_START_OPEN,<,4360,<)
[error] .../chisel3/src/main/scala/Chisel/Driver.scala: Expected token RBRACKET but got Token(XML_START_OPEN,<,3418,<)
...
Upgrade to "scalastyle-sbt-plugin" % "0.8.0"
(and bump the the others to "current" versions while we're here.)

lgtm


blank screen and cresh at Samsung S9

Device Samsung s9
using this lib package this app and mobile are fully off screen and not work, then I try to Redmi 4A,and Lenovo till not work at any device.. don't used it

@rupesh0895  can you please give more description with crashlogs if any?


No include file is generated for GitHub dependencies

Description
No include script files are generated for dependencies downloaded from GitHub.
Repro steps

Set up a "clean" Paket directory (following the steps from the getting started page).
Use the following paket.dependencies file:

github forki/FsUnit FsUnit.fs

Generate include scripts via the command paket generate-include-scripts framework net46 (or any other framework version).

Expected behavior
An include file for the downloaded dependency (like, in this case, a *.fsfile) is generated.
Actual behavior
No include files or folders are generated.
Related information

Running Pre-release 3.0.0-beta036

/cc @matthid @smoothdeveloper

Same goes for http dependencies as well, btw.

@ChrSteinert I'm not sure if we intend to support this, at least the documentation states:

It is possible to generate include scripts for all registered NuGet packages defined in the paket.dependencies file.

http://fsprojects.github.io/Paket/paket-generate-include-scripts.html
Do you think there is a value of generating an include file for a single .fs file in your case? The same .fs file might fail to include since it might depend on other dependencies (nuget packages) being loaded but paket won't have any ways to guess that.

That's right. You might not know of any other dependencies.
Still, it is convienient to only have to include scripts from one directory and not having to "manually" scan the paket-files folder for github/http dependencies.
I see that this is a luxury issue and I personally won't profit from this beeing "fixed". Still wanted to raise the discussion.

@ChrSteinert got it, thanks.
If this gets implemented, it also needs to take care of not importing .fs file in .csx and the converse, probably few other things I can't think of yet would need to be taken care as well.
Yes for me it is not too high importance, I guess because the individual files still end up with a natural URI and there is no concept of transitive dependencies (which was major reason to implement the feature for nuget packages).
@forki should we put enhancement and up-for-grabs labels for now?

I don't think we should not even support this because of the reasons already mentioned by @smoothdeveloper. Currently we don't care if we generate f# or c# include scripts. IMHO it should stay this way. I don't think adding some special cases for this feature adds a lot of value.
However, for github (v3) dependencies paket can pull the repository, build it and reference the newly build nuget package. Do we support that already with 'generate-include-scripts' because of the paket API (ie. is that transparent to us)? If not we probably should. If we do, I think we should close this issue.

I guess this is 'as designed' then.


Showing 'filename' instead of appropriate file name when downloading excel file.

Issue -   When clicking on DOWNLOAD button, the file is not downloading with the file name coming from backend.

Header coming

Facing Issue in Dev and Prod Environment (Linux - Ubuntu). On Local Environment it is working fine (Windows)
Expected Result - File should be download with the filename coming from backend.
Actual Result - File is downloading with 'filename'.
Checked the API from postman and Directly from React it is working fine. Issue is in RapiDoc

Fixed by adding header.
'Access-Control-Expose-Headers' 'Content-Disposition';


Added CPUStatic backend and implemented new initialparameters interface.

CPUStatic was added as a Backend.
Further changes:

AbstractInitializer was renamed to Initializer.
init keyword was renamed to initializer.
initialparameters now always takes five input arguments: rng, initializer, model, backend, type.

This pr is breaking for GeometricMachineLearning and SymbolicNeuralNetworks and should therefore be released as v0.5.
Fixes https://github.com/JuliaGNI/AbstractNeuralNetworks.jl/issues/18.
Fixes https://github.com/JuliaGNI/AbstractNeuralNetworks.jl/issues/19.

Should CPUStatic be defined as a subtype of KernelAbstractions.Backend ?
struct CPUStatic <: KernelAbstractions.Backend end

My understanding was that this is considered a mild form of type piracy.

Defining a custom wrapper around MArray seems a bit over the top, especially given the potentially very large number of functions you'd have to wrap for this to work properly and as efficiently as MArray.

Ok, then I'll just do
const NetworkBackend = Union{KernelAbstractions.Backend, CPUStatic} and export this!


Unable to add a user to a group with tabcmd 2.0 if username contains uppercase

looks good, ready to merge after manual validation of the scenario

Tested the change locally.


Exclude hadoop default configuration

Exclude hadoop default configuration

@electrum WDYT?

I don’t have an opinion about this either way. Why do we want to remove them? Does it cause a problem or are they simply not needed?

It caused a problem when we were using this together with https://github.com/prestosql/presto-hadoop-apache or https://github.com/prestosql/presto-hive-apache (I don't remember exactly) in unit tests.


Save as

Description
Menu option for saving changes as separate file with (or without) reloading current file.
Expected behavior
Save as is in the menu
Actual behavior
Save as is not in the menu

I think, it can be implement by anology with open file command but without "aggresive" hints.

Note that save should become an op that is shared between save-current-file and save-all-open-files so that save-all-open-files will still trigger any hooks bound to save-current-file.


beforeRouteUpdate not fired in a child component

Version
2.7.0
Reproduction link
https://jsfiddle.net/mdz263j3/1/
Steps to reproduce
Switch the page using one of the 1, 2, 3 buttons.
What is expected?
Two alerts, one coming from the parent component and one from the child component.
What is actually happening?
Only one alert coming from the parent component.

Even though the beforeRouteUpdate hook is broken, watching the route works in both the parent and child component:
watch: {
    $route() {
        alert('here');
    }
}

The navigation guards are meant to be triggered only on the view components. Furthermore, having the navigation guard twice would be problematic because we call next to decide whereas to move on or not.
You can do what you want with a ref (or a global event bus, it's in vuejs docs): https://jsfiddle.net/tovsuxtL/

@posva Why would having the navigation guard twice be that problematic? I think using refs or a global event bus makes the whole thing much more imperative, also components then become interdependent which brings unnecessary complexity to the application. I'd suggest to reconsider this issue.

Because next should only be called once and the view component should be the one controlling it. Also having a non-view specific component do something based on navigation makes it also harder to test and less reusable.
It doesn't have to be imperative, that's just the example I showed. You can create a plugin that triggers the hook on the children of the view component making it declarative.


Fix: Only search for lanes within the current library

Description
This change passes in the missing library parameter that appeared to
be the original intent of the check that determines if a lane already exists
with a given display name.
Motivation and Context
Affects: https://www.notion.so/lyrasis/Inability-to-create-a-custom-lane-with-the-same-name-in-each-library-on-the-same-CM-f549719021a54fb1be0ec1882cc42cfd#d9f576304c5c478aa2bdf9b11cd3a028
The endpoint that creates/edits lanes was calling get_one() without
passing in the ID of the library being edited. This resulted
in get_one() possibly returning lanes that are defined for other
libraries, and this would cause the check that determines if a display
name is already used to fail. This would cause the admin UI to claim
that a lane already existed in the current library with the given name,
when in fact that lane was actually in another library entirely.
How Has This Been Tested?
I tried duplicating the problem in the ticket on my local CM, and confirmed that the problem went away with this fix.
Checklist

[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

I'm going to merge this without a new test to avoid it recurring.
We will create a new PR to add new tests.


Bash-create-filesh.sh

Pull Request Type
What kind of change does this PR introduce?
[ ] Solved an issue/task
added create_files.sh

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Cities

Would the polygon data size be feasible to add city level reverse geocoding?

Hm, I don't think that this algorithm is flexible enough to add cities info. The initial data file size will be increased with hundreds of times.
The algorithm requires huge update to handle cities. The first thing that comes to mind is to "fetch" the polygons which have centers in some range if the coordinates provided and that search for the city polygon among fetched. I'll think about it.


Not able to use Global variables

Challenge [Steamroller](https://www.freecodecamp.com/challenges/steamroller has an issue.
User Agent is:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36.
Issue Description :
Global Variables value is not getting flushed.
My code:
var tempArr = [];
function steamrollArray(arr) {
  // I'm a steamroller, baby
  tempArr = []; // To fix the global var issue , we need to reset that global var
  arr = arr.map(function(val,index){
     return checkForArray(val);
  });
  console.log('tempArr',tempArr);
  return tempArr;
}
function checkForArray(val_arr){
  if(!Array.isArray(val_arr)) {tempArr.push(val_arr);return val_arr;}
  val_arr.map(function(val,index){
      if(Array.isArray(val)){
        return checkForArray(val);
      }
      else {
        tempArr.push(val);
        return val;
      }
  });
}
steamrollArray([1, {}, [3, [[4]]]]);

Marking as duplicate. This issue is already being discussed in #9199
@gandhirahul you could move the tempArr declaration inside of steamrollArray as well

@Bouncey  Yes, I have done that in the above-mentioned code too :P
Just wanted FCC to be aware of this issue.


Feature Request: Expose glValidateProgram in glow

Hello, I'm using glow to learn OpenGL with Rust, following a tutorial that uses glValidateProgram. I noticed that this function is not directly exposed in glow, which makes it a bit tricky to use directly for program validation.
Would it be possible to add glValidateProgram as a method in Context, similar to other OpenGL program functions?

My Current Approach
Currently, I’m using get_proc_address manually to load glValidateProgram like this:
let gl_validate_program = context.display().get_proc_address(
    CStr::from_bytes_with_nul(b"glValidateProgram\0").unwrap()
).cast::<unsafe extern "system" fn(u32)>();

if let Some(validate_program) = gl_validate_program.as_ref() {
    unsafe { validate_program(program.0.get()); }
} else {
    println!("glValidateProgram is not available.");
}

Questions

Is this the recommended approach for glow?
Would it make sense to add glValidateProgram to Context, similar to other OpenGL program functions?

Thanks in advance for any guidance on this and Thank you for your amazing work with glow!

Hi! :wave: Definitely, let's add validate_program onto Context and expose it for both native and web_sys.

Coincidentally #317 added validate_program, so this was great timing. You can use main for now if you'd like to use validate_program before the next release.


Neomake Location List toggles between open and closed on a single save

I am currently using neomake for php and javascript projects.  Sometimes I run into the situation where on save (I run neomake on BufWritePost) the location list opens and closes indefinitely as shown in the gif below.

This is a single save and as long as the buffer has focus it continues to toggle like that.
I noticed that it happens on whitespace errors that get picked up by JSCS.  I am not sure if this is the only error that this happens on but it was the only one I am able to reproduce manually.

Go through your .vimrc and copy every line that says neomake and paste them into a code block in here so we can see what you have configured.

This file contains all my neomake config https://github.com/ddelnano/dotfiles/blob/master/vim/plugin_config/neomake.vim

Hmm, I'm not sure myself, as I've never used jscs AND eslint together, but hopefully someone else has and can help you out.
In the mean-time as a work-around, I would suggest disabling the location list automatically opening, and just look for the gutter lines where you have errors. The error is shown in the command line, and if you want to see the whole list you should still be able to :lopen
Sorry I'm unable to provide a more elegant solution.

Also, what I do to make sure that I'm using my project specific, locally installed eslint, is this:
let g:eslint_path = system('PATH=$(npm bin):$PATH && which eslint')
which loads the local npm bin onto the PATH, and asks for the path to the eslint exe, which if you have one locally, it will find first, and if not, it will default to a global installation.
And then:
let g:neomake_javascript_eslint_exe=substitute(g:eslint_path, '^\n*\s*\(.\{-}\)\n*\s*$', '\1', '')
loads that path into something neomake likes and sets the executable.

Yea I saw your comment on the previous issue and I will definitely try that out when I get the chance, currently at work and need my linting to work without issues right now :)

I had this issue as well using the built in go makers

Did you ever get it resolved?

Nope, this was as of yesterday

I need to dig into the source code but haven't had the chance since I've been busy.

My php and JSON linters work fine so I'm not sure what's going on. Do you have issues with other linters?

Why was this issue resolved? Did you find a solution @ddelnano? I'm having the same issue with go maker and the ruby rubocop maker.

The issue is not resolved.  I have just kind of dealt with it.  Very annoying but I have not had time to really dig into the source code at all.

same problem here with go

For ruby, I noticed that putting rubocop before mri in the list solved the problem for me.
Feels like something is wrong in the way the checkers are run asynchronously and communicate back, causing them to constantly get re-run.

I see a similar issue with Haskell (hlint, hdevtools and ghcmod).

hmm in my case it doesn't even show the list and closes it when I open it with :lopen . And I'm only using eslint.

Be sure to not use BufEnter to call Neomake with neomake_open_list != 0 (see #578).

This is also what @ddelnano pasted: https://github.com/ddelnano/dotfiles/blob/master/vim/plugin_config/neomake.vim#L3-L6.

I had this problem just now, If you have another Autocommand listening for BufEnter then this may cause the problem.
I have this on my ~/.config/nvim/init.vim
   au BufEnter,BufWinEnter,CursorHold,CursorHoldI * : silent! checktime
So what causes the toggle is the previous command, it keeps executing checktime
So if what fixes the error for me is change this line:
   autocmd! BufWritePost,BufEnter * Neomake
to
    autocmd! BufWritePost,BufReadPost * Neomake
Hope, this helps. :)


Feature/project docs

Critical Changes
Changes
Creates a new command:cci project doc which creates an RST file documenting all the over-ridden cumulusci.yml tasks in that project.
Issues Closed

@jofsky  I think you accidentally branched off of a previous PR instead of master here. Rebase?

@davidmreed fixed.

@jofsky I still see changes from your Release Notes branch here.
I think what you'll want to do is a rebase-onto (under "More Interesting Rebases" - that seems to describe this situation). That'll give you a clean branch off of master that you can force-push.

Ah I see the issue.


Handling excel files with multiple sheets

How should we handle excel files with multiple sheets. I have tried and I am getting error-  list object has no attribute 'columns'

Handling Multiple csv files is also another question?

It currently does not work with multiple sheets or CSVs by way of arguments. However, you can try to run it without the "df" argument (e.g., bamboo = BambooAI(debug=False, llm="gpt-4")) and instruct it like this:
"You have access to multiple CSVs with names doc1.csv, doc2.csv, doc3.csv, and they are located here . Here is what I want to do with them: ."
It will perform the required manipulations and remember them. This approach has worked for me, but might require a several to get the prompt right.

Oh got it. Just a follow up question , this prompt/ instructions would go into my query everytime I run or will there be a prefix which will remember that I have multiple dataframes. Just wanted to know.

You will only need to instruct it once at the beginning of the loop, and it will remember it for  subsequent prompts.
Eg.

Merge files
Load data from the merged files into data frame
Do something with data frame
Do something else with the data frame
Etc.

However when you finish the loop/chain by typing "exit", the memory is wiped and you will need the instruct it again when you start the new loop. I hope it helps.

Understood. I think you are talking about the agent that works continuously and not the single execution one. Let me know if I am understanding correctly.

Yes, that is correct. For single execution, you can ask it to merge the files/manipulate the data and save it as a new file. In the next execution you can use the resulting merged/manipulated file. This also reduces the token usage as previous conversations are not appended to the prompt.


Can't get the save state to load.

I can't get the same file to load.
I'm hosting the bot in a Docker using the Truechart Image I found online. (TrueNas Scale)
I can play Emerald fine with friends but even if we save and reload the rom it starts from fresh.
I host the bot on a HostPath directory and when I check the folders I see multiple folders with the rom, save state file and Json config
inside each of the folders.
Now I'm not the most tech savvy guy out here so If anyone knows what I'm doing wrong I would really like some help.
This has a lot of potential and was fun to play for however long we did.

I've tried making an archive with the Rom & Save inside but that didn't work.

I'm gonna try to run it in a virtual machine see what the result is.

Intended use is different than what I had in mind. don't send a gba file every time you want to start a game. just start up the bot and it will pick up from where it left off by itself.

Turns out I'm kinda of a dumbass. For anyone that comes here looking for answers, The way you use the program is you load a rom in a channel. Start playing. The game is saved after every input I'm pretty sure. If you stop the bot, just start it backup in the same folder, there should be a line that says: play unlocked in channel. Then it's just a matter of starting to play again. If you load a rom again it will reset the game in the channel but fear not. If you delete the new savefiles from retrobot's savefolder it'll go back to the old save.


TCP/IP usage without adb

As running adb over TCP/IP requires USB access to the device after each reboot, I was wondering if it was possible to use scrcpy over TCP/IP without adb. Is adb only used to push scrcpy-server and start it - if so could this be done as a one-off and set to launch on startup automatically?

Adb is used to get shell permissions, to be able to capture/inject inputs.
https://github.com/Genymobile/scrcpy/blob/master/doc/develop.md#server


No implementation found for NativeJniCalls.createNativeCode(Android)

Hi Team,
After compiling wrld sdk library i have generated .so(eegeo-sdk-samples) file and when running the project  getting following error. Please make helpful suggestion.
java.lang.UnsatisfiedLinkError: No implementation found for long com.eegeo.mobilesdkharness.NativeJniCalls.createNativeCode(android.app.Activity, android.content.res.AssetManager, float) (tried Java_com_eegeo_mobilesdkharness_NativeJniCalls_createNativeCode and Java_com_eegeo_mobilesdkharness_NativeJniCalls_createNativeCode__Landroid_app_Activity_2Landroid_content_res_AssetManager_2F)
                                                       at com.eegeo.mobilesdkharness.NativeJniCalls.createNativeCode(Native Method)
                                                       at com.eegeo.mobilesdkharness.BackgroundThreadActivity$1.run(BackgroundThreadActivity.java:52)
                                                       at android.os.Handler.handleCallback(Handler.java:746)
                                                       at android.os.Handler.dispatchMessage(Handler.java:95)
                                                       at android.os.Looper.loop(Looper.java:148)
                                                       at com.eegeo.mobilesdkharness.BackgroundThreadActivity$ThreadedUpdateRunner.run(BackgroundThreadActivity.java:246)

Hi @rajansurya - please confirm you have followed the instructions in the Android README here: https://github.com/wrld3d/wrld-sdk-samples/tree/master/android#setup
Specifically you need to run ./update.platform.sh -p android as this pulls our native library.
If you have done this, please let us know and we'll investigate further,

Yes i have followed all these steps given in above link. but i am still facing this issue.

Hi @rajansurya - we are unable to reproduce this issue following the instructions in the README above.
Could you please confirm if this is still occurring for you?
Additionally can you confirm which version of Android Studio?


after_update callback recalculation wrong

Hi!
I have the following problem:
when I update counter on after_update, the recalculation goes wrong, but if I do it on before_update - all is fine.
Here is an example:
class Tab < ApplicationRecord
  has_many :sections, dependent: :destroy
  has_many :fields, through: :sections
end

class Field < ApplicationRecord
  belongs_to :section, optional: true
  belongs_to :tab, optional: true
  enum status: [:outstanding, :complete, :approve]
  # works fine
  before_update :ensure_relation_tab_fields, if: Proc.new { |field| field.status_changed? }
  # works wrong
  #after_update :ensure_relation_tab_fields, if: Proc.new { |field| field.status_changed? }

  # counter_culture gem
  counter_culture :tab
  counter_culture :tab,
                  :column_name => proc {|model| "#{model.status}_fields_count" },
                  :column_names => {
                      ["fields.status = ?", '0'] => 'outstanding_fields_count',
                      ["fields.status = ?", '1'] => 'complete_fields_count',
                      ["fields.status = ?", '2'] => 'approve_fields_count'
                  }

  def ensure_relation_tab_fields
    section = self.section
    tab = section.tab
    tab.fields_section.update_all(tab_id: tab.id)
    tab.fields.counter_culture_fix_counts #run re-counted
  end

end

For Example? I have one Tab with one Field
#<Tab:0x007fbad57bf420
 id: 7,
 name: "New Tab",
 fields_count: 1,
 approve_fields_count: 1,
 complete_fields_count: 0,
 outstanding_fields_count: 0>

Then I updated Field status
Tab.find(7).fields[0].update(status: 1)

Afterwards, when I use after_update callback, I get
 #<Tab:0x007fbad55fc4d0
 id: 7,
 name: "New Tab",
 fields_count: 1,
 approve_fields_count: -1,
 complete_fields_count: 2,
 outstanding_fields_count: 0>

But If I run in console counter_culture_fix_counts - everything is good
Tab.find(7).fields.counter_culture_fix_counts

#[{:entity=>"Tab", :id=>7, :what=>"complete_fields_count", :wrong=>2, :right=>1},
#{:entity=>"Tab", :id=>7, :what=>"approve_fields_count", :wrong=>-1, :right=>0}]

But when I use before_update callback - all is fine.
Can you explain why it works like this or is this a problem?
Thanks.

Why are you running counter_culture_fix_counts in the callback? It's not intended to be called that way. In your scenario, the counts should update automatically without that call.
Using counter_culture_fix_counts is intended for something like a nightly rake task.

Thanks for your response. I overplayed a bit :)


xalan-c: Remove use of obsolete unary_ and binary_function for C++17 compatibility

See JIRA ticket and original C++17 patch branch which dates back to February with these patches split out for independent re-use.
With these patches applied, it's possible to use xalan-c in C++17 codebases compiled with -std:c++17.  Without the patches, std::unary_function and std::binary_function cause compilation to fail, since they were removed with C++17.

Thanks for the PR!
I'd prefer to avoid committing these large patchfiles to the vcpkg tree if possible -- is there a stable URL that we could download them from instead? I see that the jira ticket has links, but I don't know how durable those will be (Do they get cleared when the bug closes? After a year? Never?).

I'm not sure about the JIRA links.
Have you considered an equivalent to Homebrew formula-patches for vcpkg?  For example here are the xalan patches.  I'll also be putting them here, so could potentially be pulled by vcpkg.  But I'm unsure of the lifetime--it may well depend upon how long homebrew requires them before dropping them, which might not align with the vcpkg requirement.  And homebrew is often quite aggressive in their cleanups and changes.
If a vcpkg-patches or equivalent existed, I would be happy to put them there.

@ras0219-msft  I have split out the patches here and then updated this PR to use them.  I hope this meets your requirements.  It downloads using the commit hash, so will be deterministic if the patches are updated by a future commit.  If you wanted to adopt this approach more generally by adopting a vcpkg-patches repository yourself, I'll be happy to transfer the repository to you, or to open a PR to add the patches to your repository.
Regards,
Roger

@ras0219-msft I've tested this locally with C++17 builds over the last few weeks using the latest VS2017 and it's all working fine for me.  Are the patches in the separate repository for download an acceptable strategy?

Yes, this LGTM; thanks for doing that!
We'll definitely consider opening a vcpkg-patches repo in the future, but for now this is a good solution.
Ready to merge pending CI!

Awesome, thanks!  I'll be happy to migrate these patches over to your patches repo as and when it becomes available.

Thanks again for the PR!


devicetree_regions: Remove path fallback and sanitize name

This patch is doing two things:

it is removing the fallback on the path for LINKER_DT_NODE_REGION_NAME. This is not possible anymore since the DT binding file is now actually requiring the zephyr,memory-region property to be present from which the region name is obtained.

it is sanitizing the name when CONFIG_CMAKE_LINKER_GENERATOR is used or not.

Signed-off-by: Carlo Caione<EMAIL_ADDRESS>

Something wrong with CI on this PR.

@JordanYates can you take a look?


fix: datasets: handle error responses

When we were getting errors back from the SDKServer, we were still trying to parse them as JSON. This fixes that.

I made a change in gptscript that should mean that this is not needed. In other words, if the run fails, an error should be thrown there.
Can you test without this change and latest gptscript?

I just realized that the change I referenced above hasn't merged yet.

@g-linville The change has been merged to gptscript. You should get proper errors now without having to check for ERROR:


feat(extraLabels): add capacity to define custom labels

On this PR i've added extraLabels field, the goal is to custom labels in deployement and pod object.
Test:
helm plugin ls | grep unittest || helm plugin install https://github.com/helm-unittest/helm-unittest.git
unittest	0.3.6  	Unit test for helm chart in YAML with ease to keep your chart functional and robust.
helm unittest -f 'test/lint/*.yaml' .

### Chart [ apicurio-registry ] .

2023/11/29 09:54:54 warning: cannot overwrite table with non table for apicurio-registry.registry.nodeSelector (map[])
2023/11/29 09:54:54 warning: cannot overwrite table with non table for apicurio-registry.registry.ingress (map[annotations:map[] enabled:false host:apicurio.local ingressClassName: labels:map[] path:/ tls:false])
2023/11/29 09:54:54 warning: cannot overwrite table with non table for apicurio-registry.registry.extraLabels (map[])
 PASS  lint registry values	test/lint/registry.yaml
2023/11/29 09:54:54 warning: cannot overwrite table with non table for apicurio-registry.sync.extraLabels (map[])
2023/11/29 09:54:54 warning: cannot overwrite table with non table for apicurio-registry.sync.nodeSelector (map[])
 PASS  lint sync values	test/lint/sync.yaml

Charts:      1 passed, 1 total
Test Suites: 2 passed, 2 total
Tests:       12 passed, 12 total
Snapshot:    0 passed, 0 total
Time:        13.849969ms

helm unittest -f 'test/unit/*.yaml' .

### Chart [ apicurio-registry ] .

 PASS  test deployment-registry.yaml template	test/unit/deployment_registry.yaml
 PASS  test deployment-sync.yaml template	test/unit/deployment_sync.yaml
 PASS  test ingress	test/unit/ingress.yaml
 PASS  test sa	test/unit/sa.yaml

Charts:      1 passed, 1 total
Test Suites: 4 passed, 4 total
Tests:       26 passed, 26 total
Snapshot:    0 passed, 0 total
Time:        52.558546ms

I have remove (extraLabels) from commit message. It's good for you ?

I have remove (extraLabels) from commit message. It's good for you ?

thnx, but there is still a typo in commit message, plz fix it.

Ok, and is it good?


Fix type in View Components

Fixes issue: https://github.com/aspnet/Docs/issues/1149

Hi @davidMuir, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;


feat: pagination link component (resolves #10)

See #10 for details.

A couple changes to the gradient. Also, this still needs focus and active states!

Thanks for your review! I got the gradient values from Figma, so I assumed that would be correct. I forgot about the focus and active styles, I will add them now.

A couple changes to the gradient. Also, this still needs focus and active states!

Thanks for your review! I got the gradient values from Figma, so I assumed that would be correct. I forgot about the focus and active styles, I will add them now.

We were both right with respect to the colours— the gradients actually go to color-blue-100, not white. I converted the RGB to HSL and it matched. Can you make that change?

One issue with the focus state is that the focus ring as shown in the design should be inside the box and not outside.
You can see an example of how to address this using box-shadow on my draft PR for navigation:
https://github.com/inclusive-design/idg-design-system/blob/feat/navigation/src/static/css/_navigation.css#L19
https://github.com/inclusive-design/idg-design-system/blob/0479bcf5b398a8a2e31ae7d4f9a1967d934f8f15/src/static/css/_navigation.css#L89
Since you won't be using the outline for focus styles, you can set its colour to transparent.

Thanks for your feedback! I set outline to "none" instead, since we don't use it, but if you think setting it to transparent is more appropriate, I will change it to transparent. Also, I added align-items center to the pagination class, because I noticed that the text in the button is not vertically centered.

The reason for the outline rule is described in the link below— and actually you should follow the syntax shown here (outline: 3px solid transparent;): https://sarahmhigley.com/writing/whcm-quick-tips/#1.-custom-focus-styles-%2B-a-transparent-outline

Thanks for your feedback! I set outline to "none" instead, since we don't use it, but if you think setting it to transparent is more appropriate, I will change it to transparent. Also, I added align-items center to the pagination class, because I noticed that the text in the button is not vertically centered.

The reason for the outline rule is described in the link below— and actually you should follow the syntax shown here (outline: 3px solid transparent;): https://sarahmhigley.com/writing/whcm-quick-tips/#1.-custom-focus-styles-%2B-a-transparent-outline

Thanks for your explanation and the link!


fix: eliminate non-existent input warning for etc-profiles

Gets rid of this warning for many invocations of flox:
warning: input 'flox-floxpkgs/etc-profiles' has an override for a non-existent input 'flox-floxpkgs'

Overcome by events: (another PR for the same thing!)


Remove settings not listed in tap-rest-api-msdk readme

Several settings listed in the Meltano Hub docs do not actually exist for tap-rest-api-msdk. This PR reconciles the settings listed in the tap's README with Meltano Hub docs.

@epapineau These settings exist by virtue of tap-rest-api-msdk having been built with the Meltano Singer SDK, which comes with some generic configurable features out-the-box (stream maps, schema flattening batch files). You'll find pretty much all extractors in the Hub built with the SDK list these additional settings that they don't explicitly define in source code, but still take effect. I do think this is a bit confusing from a UX standpoint, so I opened #1545 a while back.

@ReubenFrankel - Thank you for the context and linked issue, it definitely helps me better understand the Meltano doc. That being said - tap-rest-api-msdk flattens data by default and [AFAICT] doesn't use flatten_enabled anywhere in the repo. Would removing at least the flatten settings from this doc and leaving the remaining SDK settings make sense?

@epapineau I think the tap would at the same time have to be update to remove "flattening" from its set of "capabilities". See https://github.com/meltano/sdk/blob/bf996a4fc404f56c8688893b1abece1f1b878aa7/singer_sdk/tap_base.py#L183-L198
for the default implementation.

@edgarrmondragon is that the capabilities listed here?

@edgarrmondragon is that the capabilities listed here?

@epapineau Nope, rather either this class
https://github.com/Widen/tap-rest-api-msdk/blob/4f87c1adae00446388ebbe418c70b87c231856dc/tap_rest_api_msdk/client.py#L12
or this one
https://github.com/Widen/tap-rest-api-msdk/blob/4f87c1adae00446388ebbe418c70b87c231856dc/tap_rest_api_msdk/streams.py#L40
should override the capabilities property to exclude flattening and others that don't apply for the tap:
class RestApiStream(RESTStream):
    capabilities = [
        TapCapabilities.CATALOG,
        TapCapabilities.STATE,
        TapCapabilities.DISCOVER,
        PluginCapabilities.ABOUT,
        PluginCapabilities.STREAM_MAPS,
        PluginCapabilities.BATCH,
    ]

@epapineau This is now addressed by #1706 - see https://hub.meltano.com/extractors/tap-rest-api-msdk/

I'm going to close this PR since the changes in https://github.com/meltano/hub/pull/1706 resolve it.

Thank you so much! This is much more explicit - very helpful.


knot-resolver: add luaPackages.psl

Description of changes
This basically adds support for policy.slice_randomize_psl()
Things done

Built on platform(s)

[x] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 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.

Note: it's been unclear for us whether that randomized approach improves privacy or makes it worse.  We haven't implemented support for this in the knot-resolver 6.x configuration model so far, BTW.

The other alternative, to send all requests to all servers, would generate more traffic and we use it more to spread the requests somewhat to all servers.

I've test this on 23.11 and funnily I think #292260 broke the pkgconfig file.

I'm not aware of such an alternative that increases traffic amount.

Now it looks good to me.  Though the http module won't work until fixes in PR #303527 (guarded by eval error now).

I'm not aware of such an alternative that increases traffic amount.

I might have mixed that up with dnsmasq 😅 I did to many DNS things yesterday

You broke this again.  luarocksConfig.variables needs to be used, not luarocksConfig.

You broke this again. luarocksConfig.variables needs to be used, not luarocksConfig.

🤦🏼

Can we merge this?


"Identifier" column in table macro results in "Missing lifetime specifier"

I was able to fix this using #[sql_name=“...”] but the error is not clear about what's really going on, and I found sql_name by searching through tickets, not through official documentation.
This seems like the sort of thing someone could get stuck on.
It was Nullable type if relevant.

There is not much we can do about this. The table! macro is just a plain macro_rules macro that gives us no way to emit custom error messages.
The documentation of the table! macro already mentions #[sql_name="…"] so I'm quite unsure what else we could do to improve this. In my opinion the only improvement that could be done is to add more documentation on this. The questions is where and what.

The serde documentation does a good job of enumerating attributes:
https://serde.rs/
In general one problem I've run into has been understanding what the diesel API is. I've been using the generated documentation, and it seems to lack descriptive text for many things, eg load vs get_results.

On Apr 20, 2018, at 02:54, Georg Semmler<EMAIL_ADDRESS>wrote:
There is not much we can do about this. The table! macro is just a plain macro_rules macro that gives us no way to emit custom error messages.
The documentation of the table! macro already mentions #[sql_name="…"] so I'm quite unsure what else we could do to improve this. In my opinion the only improvement that could be done is to add more documentation on this. The questions is where and what.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I found sql_name by searching through tickets, not through official documentation.

sql_name is definitely documented in the documentation for the table! macro. http://docs.diesel.rs/diesel/macro.table.html

The serde documentation does a good job of enumerating attributes:

Diesel has a much larger API surface than serde. They're able to compress their attributes into a handful of pages because they are all related to either Serialize and Deserialize. By contrast, Diesel has 10 derives, and we aren't even talking about a derive. For Diesel, I think it makes much more sense to document attributes on the trait being derived, or in this case, on the macro that's being used.
With all of that said, this was a poor interaction. The reason that this problem occurred is that we have an internal type called Identifier, which is the type of QuerySource::FromClause that we generate for your table. This is actually essentially duplicate of https://github.com/diesel-rs/diesel/issues/851.
While we have 0 control over the error message in this case, we could probably avoid the error entirely by referencing Identifier through a qualified path, and avoiding importing it. We've paid less attention to importing types/traits here, since it's so uncommon to have a capitalized column. But we can definitely fix this specific case.

I didn't realize there were that many derives - I've seen FromSql and ToSql, and I think there's a AsExpression trait that it looked like I had to use with them. However, in general, I've had to do a lot of digging through source code to understand how to do things, more digging than I would expect most people would do before they give up. There seems to be a sore deficit of application-related examples.
In general, I'd try to keep an "interface" (whatever that may mean) as simple as possible, but if it has to be complex, I'd definitely expect to need a fair amount of documentation. In general I'd expect a larger API would require more specialized documentation, not less (that being one reason I'd try to keep it as small as possible ;) ).
I understand you guys have limited time and probably aren't being paid, I'm just a little worried about the balance of functionality to documentation. There's a lot of functionality that exists, I suspect I can do pretty much everything I want with diesel, but it's often very difficult to figure out how.

It's an ongoing project. You can always feel free to ask in gitter for help, that's often how we identify gaps in the documentation


Load index

Overview
I think this allows users to pass in a file path for an already existing index on their drive.
I tried testing it by having the program write the index to a file and on the next run I passed in the file path for that file and it seemed to work. When it loaded from an index I could see the significant speed boost instead of the original method.
Let me know if you guys see any issues, otherwise, we can merge.
PS: There are 2 commits, the first one has all the code updates, the second one was a minor flake8 fix.
Closes
Closes #56.

Thanks for the input @JohnGiorgi, is there anything else required?

@Anwesh1 Looks good.
One thing, I changed the base branch from master to develop. The reason being that we are moving fast here (good) but that increases the chances we will break something. Let's keep master clean for now. At some point, we can merge develop into master.

Sure, sounds good. Thanks, @JohnGiorgi.
Will merge after all the tests.

@Anwesh1 Actually, it would be great if we could add a test to see if the server works as expected when an index is loaded from disk. Think you can handle that or would you rather I take it?

I'm not sure how to go about doing that. Do you think you could show me sometime?
Would this be a pytest test?

@Anwesh1 No problem, it is rather complicated so I will take it.
It would be good (for this project and beyond) to start getting familiar with pytest, though. They have great documentation, and there are lots of tutorials online. Unit testing is an important part of software engineering and pytest is the tool of choice of unit testing python code.

Okay sure, I'll definitely do that. Sure you can tackle it when you can and then feel free to merge

Importing @jvwong code from pubmed-dl for the ncbi.py file works perfectly. However, the only issue is that one of the pytest tests is failing. Otherwise, the code works as intended.

@Anwesh1 Can you do the copy and paste in a new (fresh) branch off of develop, and open a PR? We can discuss this issue there.


Refactor Restrictions

This PR resolves issue #155.
Changes reflect...

Making the Restriction object used by the RoadEvent Object
Changing name of LaneRestriction to Restriction
Add RoadEvent-RestrictionNotice Feature
Changed RoadRestriction to RetrictionType
Generalized wording of Restriction Types to not specifically reference the WorkZone Events
Changed LaneRestrictionUnit to UnitOfMeasurement
Uploaded Object Model and image to reflect changes (Can copy objects from my file to master file.)
Uploaded RoadEvent-RestrictionNotice Object Model  (Can copy objects from my file to master file.)
Added and example

@DeraldDudley Thanks for getting this started.
I will have more comments as I review each file, but at a high level:

It seems like you addressed two issues (#178 and #175) with this PR. The restriction notice (#178) is an unrelated change to the restrictions refactoring and should be a separate PR—especially as following the spec extension meeting two weeks ago it was more clear for that to be part of a new feed.
Following the discussion on the #175 thread and spec update co-chairs discussion, units should have been named UnitOfMeasure.
The schema needs to be updated Oh I see your note on this! will do

Curses!  I did mix the two.  Do you want me to go back and delete the "restriction notice" content or do you want to reject it?
Thoughts on how to handle the restrictions-notice feed?

I think removing those changes is fine, I cloned your forked repo and was working on the schema already so I can do it.

The specification changes made by this PR are as follows:

Rename LaneRestrictionUnit enumerated type to UnitOfMeasurement which allows more general use
Rename the RoadRestriction enumerated type to RestrictionType which is more semantic
Rename the LaneRestriction object to Restriction which allows more general use
Remove the lane_restriction_ prefix from the properties of the Restriction object
Change units (on Restriction object) to be singular unit
Change the restrictions array on the RoadEvent object to be a list of the Restriction object rather than a list of the RestrictionType (the key change from this PR: road events can now have restrictions with a value and unit)

And in addition:

Update the example feeds to represent the specification changes above

Note that the object diagram was not updated which is the team's approach as we can't merge the diagram files so those changes need to happen after the PR is merged to the release branch. @DeraldDudley added new diagram files specific to these changes, but I removed those because we don't want those files merged in. @DeraldDudley if you have time, you can put the generated object diagram image in a comment in this thread, since you've already taken the time to make them. However, they will have to change based on the difference in the proposed changes from what you had originally.

My only comment is that we should update the restrictions description in the Lane object table to match either the schema that was modified to "A list of zero or more restrictions specific to the lane" or similar to the road event level restrictions description of "A list of zero or more road restrictions that apply to the roadway segment described by this road event."

@sknick-iastate I made the change.


chore: pipelines create DataSource

What this PR does / why we need it:
chore: pipelines create DataSource
Pipelines now creates DataSource object, which is used by UI and is pointing to result DV/PVC. The DataSource will not be deleted when the PipelineRun is finished.
Release note:
chore: pipelines create DataSource

/cc @0xFelix

/retest


fix: use network version for owner address validation

This is a fix for the logic before submitting a batch. The server checks that the ownerAddress from configuration matches the actual on-chain owner. Previously it was hard-coded to use a mainnet address, but that has changed now on the API side.

Approved by @hstove in Discord.


AvoidSizeNotEqualsZero fires for non-Traversable types

AvoidSizeNotEqualsZero fires for timeIntervalTrigger.length > 0 where timeIntervalTrigger is a FiniteDuration:
[error] XXX.scala:15:38: [scapegoat] Avoid Traversable.size != 0
[error]   .size can be slow for some data structures, prefer .nonEmpty, which is O(1).
[error]   OffsetCommitSettings.this.timeIntervalTrigger.length.>(0)
[error]   require(timeIntervalTrigger.length > 0, "time interval trigger duration should be positive")

I inspected the code, compared AvoidSizeNotEqualsZero and AvoidSizeEqualsZero and it looks like not-equals impl is missing if isTraversable(q) check. I guess it might've been lost during some refactoring.

Scapegoat version: 1.4.5

it looks like not-equals impl is missing if isTraversable(q) check. I guess it might've been lost during some refactoring.

oh possibly; this looks like an easy fix, would you be able to raise a PR for this?

@mwz sure! Here you are: #416


The metrics of Mean predictive accuracy of neural fingerprints in table 1

Is the metric MAE, MSE or RMSE?

To be honest, I'm not sure :/  I think it was MSE.  The good news is that you can fairly easily check by computing the error that you would get by predicting the mean, and comparing that to the first row of the table.

Thanks! It was MSE, but some followers mistake it as RMSE.

Thanks for checking!  Ach, that's an unfortunate confusion, and it's my fault.  I should fix that omission.


Cleanup of stale Route53 entries

Hi,
If a service gets deleted in Kubernetes, then does the plugin automatically detect it and delete the corresponding Route 53 entry?
Thanks,

@apobbati No it doesn't clean up Route 53 entries


Can not remove monitor streams

Hi!
I am using the app HLS Stream Monitor and I found it really useful. However, I have faced an issue deleting streams that I monitor. I can't delete monitored streams using:
/monitor | DELETE | Delete all monitored streams
or
/monitor/:monitorId | DELETE | Delete a specific stream
An example:
curl -X 'DELETE'
'https://awatenant-hlsmonitorawa.eyevinn-hls-monitor.auto.prod.osaas.io/monitor/20c07128-be3c-41fc-8253-a523ffbba19d'
-H 'accept: application/json'
results in:
{
"statusCode": 500,
"error": "Internal Server Error",
"message": "Cannot read properties of null (reading 'streams')"
}
Any idea what I am doing wrong?
Keep up the great work!
Originally posted by @anderswassen in https://github.com/Eyevinn/osaas/discussions/40

I recognize that the documentation could be more clear on this and the error more gracefully handled. The problem here is that DELETE /monitor/:monitorId expect you to provide which stream to delete from that monitor. That is provided in the request body:
{
  "streams": ["mystream1.m3u8"]
}

Found that the Swagger documentation did not include this so I will fix that.


Created the Popover component / feature to build advanced stuff

I still don't get the point here and why it is blocking the merge.
The camel case is only used for demo samples and to be consistent (in the entry file where we define the sample) by not using the string representation with - . Since the property match the filename
{
    default: {
        //stuff
    },
    offsets: {
         //stuff
    },
    aDemoFileHyphens: {
       //stuff
    },

vs.
{
    default: {
        //stuff
    },
    offsets: {
         //stuff
    },
    'a-demo-file-hyphens': {
       //stuff
    },


Taskwarrior allows context..write= but vit cannot handle this

Describe the bug
vit stops working with TypeError: 'str' object does not support item assignment
To Reproduce
Add e.g. "#context.office.write=+off" where the context is "office" and off the corresponding tag
Expected behavior
vit starting
Test case
I do not fully understand this requirement. The bug should occur in any installation that uses contexts.

Please provide an example config, and a full backtrace of the issue.

We got a similar report in Debian. You can find a backtrace and example config here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037165

It would be great if somebody could provide a PR for this.
Or at least clearly describe what this feature is, because I don't know what it is, what it does, or how I would implement it.


[backport] Bump cuDNN version to v8.0.3

Backport of #3985

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 9d15f9122887b4adf2e7cf516a9f8cfad37be42e, target branch v8) succeeded!

LGTM!


polybar not showing

$ polybar example -l trace

config: Copying missing params (sub="module/backlight-acpi", base="module/xbacklight")

Loaded /home/igor/.config/polybar/config

config: Current bar section: [bar/example]

Created ipc channel at: /tmp/polybar_mqueue.17584
warn: No monitor specified, using "DVI-D-0"
Loaded monitor DVI-D-0 (1920x1080+0+0)
Bar geometry: 1920x35+0+0

bar: Attach X event sink
bar: Attach signal receiver
controller: Install signal handler
controller: Setup user-defined modules
module/bspwm: Deconstructing
error: Disabling module "bspwm" (reason: Could not find socket: /tmp/bspwm_0_0-socket)
module/i3: Deconstructing
error: Disabling module "i3" (reason: Could not find socket: )
error: module/xbacklight: Could not get data (err: XCB_NAME (15))
module/xbacklight: Deconstructing
error: Disabling module "xbacklight" (reason: Not supported for "DVI-D-0")
module/wlan: Deconstructing
error: Disabling module "wlan" (reason: Invalid network interface "net1")
module/battery: Deconstructing
error: Disabling module "battery" (reason: No suitable way to get current charge state)
module/powermenu: Creating menu level 0
module/powermenu: Creating menu level item 0
module/powermenu: Creating menu level item 1
module/powermenu: Creating menu level 1
module/powermenu: Creating menu level item 0
module/powermenu: Creating menu level item 1
module/powermenu: Creating menu level 2
module/powermenu: Creating menu level item 0
module/powermenu: Creating menu level item 1

Starting application

controller: Main thread id = 1

Starting module/filesystem
Starting module/volume
Starting module/xkeyboard

module/filesystem: Thread id = 2
module/volume: Thread id = 3
module/xkeyboard: Thread id = 4

Starting module/memory
Starting module/cpu
Starting module/eth

module/cpu: Thread id = 5

Starting module/temperature
Starting module/date
Starting module/powermenu

module/memory: Thread id = 6

Entering event loop (thread-id=1)

module/eth: Thread id = 7
module/temperature: Thread id = 8
module/date: Thread id = 9
module/powermenu: Thread id = 10

Eventqueue worker (thread-id=11)

bar: Create renderer
renderer: Get TrueColor visual
renderer: Allocate colormap
renderer: Allocate output window

that's all - polybar stalled at this stage and not showing....
OS: linux Calculate(Gentoo based)
wm: xfce4 and i3
$polybar -vv
polybar 3.0.5
Features: +alsa +curl +i3 -mpd +network
X extensions: +randr (+monitors) -render -damage -sync -composite +xkb +xrm
Build type: Debug
Compiler: /usr/bin/c++
Compiler flags:  -Wall -Wextra -Werror -O2 -pedantic -pedantic-errors
Linker flags:

Any chances of resolve this issue?

Same problem!

Same problem. @NBonaparte This needs to be reopened. I don't know why you closed this as it was never fixed.

Issue still here

@patrick96 Can someone reopen this issue?

Oh wow this really slipped through the cracks. Don't know why this was closed, sorry.
After doing some research, #1425 looks identical. Something crashes when when creating the bar window, but we don't get any error message because it was swallowed along the way. The swallowing part we have already fixed in #1605 but it hasn't made its way into a release yet.
The issue in #1425 was that the X11 Composite extension was disabled in /etc/X11/xorg.conf, this may also be the problem here.
@RooTooZ, @cvoges12, @kadomcevi could you build polybar from the latest commit (ebuild, wiki) and report the polybar output when adding the -l trace flag (preferably on a gist). This should give us some more insight.

I can't build the polybar from git
Linking CXX executable cmTC_97b64
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_97b64.dir/link.txt
--verbose=1
/usr/bin/c++   -Wall -Wextra -Werror -Wno-noexcept-type -pedantic
-pedantic-errors     -rdynamic
CMakeFiles/cmTC_97b64.dir/CheckSymbolExists.cxx.o  -o cmTC_97b64
CMakeFiles/cmTC_97b64.dir/CheckSymbolExists.cxx.o: In function main': CheckSymbolExists.cxx:(.text+0x1b): undefined reference to pthread_create'
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
gmake[1]: *** [CMakeFiles/cmTC_97b64.dir/build.make:98: cmTC_97b64] Ошибка 1
gmake[1]: выход из каталога
«/home/igor/prj/polybar/build/CMakeFiles/CMakeTmp»
gmake: *** [Makefile:126: cmTC_97b64/fast] Ошибка 2
File /home/igor/prj/polybar/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
вт, 7 мая 2019 г. в 17:05, Patrick Ziegler<EMAIL_ADDRESS>
Oh wow this really slipped through the cracks. Don't know why this was
closed, sorry.
After doing some research, #1425
https://github.com/polybar/polybar/issues/1425 looks identical.
Something crashes when when creating the bar window, but we don't get any
error message because it was swallowed along the way. The swallowing part
we have already fixed in #1605
https://github.com/polybar/polybar/pull/1605 but it hasn't made its way
into a release yet.
The issue in #1425 https://github.com/polybar/polybar/issues/1425 was
that the X11 Composite extension was disabled in /etc/X11/xorg.conf, this
may also be the problem here.
@RooTooZ https://github.com/RooTooZ, @cvoges12
https://github.com/cvoges12, @kadomcevi https://github.com/kadomcevi
could you build polybar from the latest commit (ebuild
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-misc/polybar/polybar-9999.ebuild,
wiki https://github.com/polybar/polybar/wiki/Compiling#building) and
report the polybar output when adding the -l trace flag (preferably on a
gist). This should give us some more insight.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/polybar/polybar/issues/581#issuecomment-490094319,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACOC2G4GIPNP72GXK3RKGGTPUGEDRANCNFSM4DLO6WHQ
.

--
Best wishes,
Igor Kadomcev

Gentoo ebuild x11-misc/polybar-9999 works for me!
Installed and launched without errors
вт, 7 мая 2019 г. в 18:33, Игорь Кадомцев<EMAIL_ADDRESS>
I can't build the polybar from git
Linking CXX executable cmTC_97b64
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_97b64.dir/link.txt
--verbose=1
/usr/bin/c++   -Wall -Wextra -Werror -Wno-noexcept-type -pedantic
-pedantic-errors     -rdynamic
CMakeFiles/cmTC_97b64.dir/CheckSymbolExists.cxx.o  -o cmTC_97b64
CMakeFiles/cmTC_97b64.dir/CheckSymbolExists.cxx.o: In function main': CheckSymbolExists.cxx:(.text+0x1b): undefined reference to pthread_create'
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
gmake[1]: *** [CMakeFiles/cmTC_97b64.dir/build.make:98: cmTC_97b64] Ошибка
1
gmake[1]: выход из каталога
«/home/igor/prj/polybar/build/CMakeFiles/CMakeTmp»
gmake: *** [Makefile:126: cmTC_97b64/fast] Ошибка 2
File
/home/igor/prj/polybar/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
вт, 7 мая 2019 г. в 17:05, Patrick Ziegler<EMAIL_ADDRESS>
Oh wow this really slipped through the cracks. Don't know why this was
closed, sorry.
After doing some research, #1425
https://github.com/polybar/polybar/issues/1425 looks identical.
Something crashes when when creating the bar window, but we don't get any
error message because it was swallowed along the way. The swallowing part
we have already fixed in #1605
https://github.com/polybar/polybar/pull/1605 but it hasn't made its
way into a release yet.
The issue in #1425 https://github.com/polybar/polybar/issues/1425 was
that the X11 Composite extension was disabled in /etc/X11/xorg.conf,
this may also be the problem here.
@RooTooZ https://github.com/RooTooZ, @cvoges12
https://github.com/cvoges12, @kadomcevi https://github.com/kadomcevi
could you build polybar from the latest commit (ebuild
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-misc/polybar/polybar-9999.ebuild,
wiki https://github.com/polybar/polybar/wiki/Compiling#building) and
report the polybar output when adding the -l trace flag (preferably on a
gist). This should give us some more insight.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/polybar/polybar/issues/581#issuecomment-490094319,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACOC2G4GIPNP72GXK3RKGGTPUGEDRANCNFSM4DLO6WHQ
.

--
Best wishes,
Igor Kadomcev

--
Best wishes,
Igor Kadomcev

Oh, I didn't expect that. I thought it would just give you better error messages :confused:
Does the 3.2.1 ebuild also work?

yes ebuild x11-misc/polybar-3.2.1 also works
so on gentoo/calculate issue is fixed
вт, 7 мая 2019 г. в 19:06, Patrick Ziegler<EMAIL_ADDRESS>
Oh, I didn't expect that. I thought it would just give you better error
messages 😕
Does the 3.2.1 ebuild
https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-misc/polybar/polybar-3.2.1.ebuild
also work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/polybar/polybar/issues/581#issuecomment-490144641,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACOC2G4I4GH7QCU76KC3CS3PUGSKDANCNFSM4DLO6WHQ
.

--
Best wishes,
Igor Kadomcev

Awesome. Glad it was fixed in a previous release :D
@RooTooZ @cvoges12 if this doesn't fix it for you, please open up a new issue :)


Fixes for the ajax sync protocol

Fix some typos.
Add contentType property with application/json to the ajax call. Some
servers use it to know when to parse JSON.
Add warning that the needsResync flag is not implemented by
Dexie.Syncable.
Add partials flag to the server reply and pass it to
applyRemoteChanges().
When the server sends us a clientIdentity make sure we save it before
trying to resync. If saving failed we should stop syncing.

👍


[AutoPR] recoveryservicesbackup/resource-manager

Created to accumulate context: recoveryservicesbackup/resource-manager

(message created by the CI based on PR content)

reopen when ready to release SDK


overrides: remove NM override

Current NM build has been pruned, newer NM 1.32 builds require updated glibc, blocked by selinux pin

/retest

/test e2e-aws-upgrade


Consider adding "Notion"

What is the vendor's name?
e.g. Notion
What is the vendor's pricing site?
https://www.notion.so/pricing
What is the base pricing? Use the lowest tier that looks sane for a small business customer, not free or personal tiers.
$8/user/month
What is the minimum pricing for SSO support?
Call us!
Does this pricing info come from a quote or other non-public source?
Their own web site
Are there any caveats we should list in the footnotes?
n/a

I made PR #106 for this last week

Given this is now unmaintained, there is now a fork that we're hoping to keep maintained via community participation.  If this is still the case with this vendor, would one of you please submit a fresh issue with current pricing details to that repository?

Closed by #96/#106, by the looks of it.


✨ [CW-19091] feat: support TON SDK

Checklist:

README.md includes:

[ ] The details of signing data and transaction data, this includes parameters.
[ ] Official docs or white paper.
[ ] Website or api can query assets and broadcast transaction.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Task linked: CW-19091 Pro - SDK implementation


Remove the need to handle more than 1 parameter passed

Instead of throwing tooManyArgsPassed. We should remove any extra params.

Is it not better just to ignore them?


Feat: [OV-43759] TagPicker added search icon and error prop

There seems to be a problem with the input following the changes.
https://github.com/gsoft-inc/ov-igloo-ui/assets/2379339/3da50327-6c2f-44d3-8fd3-a5f5fbaf76bc

Hi, while testing the TagPicker I encounter a strange result.
Filter request seems to occurred even if the dropdown is disappearing.
To reproduce:

In one of the TagPicker example with the large Team list.
Enter Te (to have the filtered list displayed).
Delete the last character.

Thile the list is going away, the result This user's name is very looooooong will show during transition.

How I think this should work is that result in the dropdown should now update if the dropdown is fading away.

Is this the UI we want if a tag is already present in the input?


Wait, can I bring back the cute looking character w/ eyes that follow my mouse in my prod?

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
It doesn't have the character
Expected Behavior
Would love to see the character!
Steps To Reproduce
N/A
Environment
- OS: Windows
- Browser: Edge

Anything else?
No response

Please read this note: https://github.com/miurla/morphic?tab=readme-ov-file#morphic


GrapheneIntegration: Track operation name for tracing

It is helpful to have the operation's name if trying to track the individual performance of GraphQL transactions using Sentry. This PR implements the approach suggested in this article, as part of the GrapheneIntegration()
Note: I looked and wasn't initially sure how to write a good test for this and also wasn't sure if this PR is even a good idea in the first place. So leaving a light version here for feedback.

Hi @keithhackbarth, i would love to see this change!
Mind if I look into writing tests for it on the weekend?

Hey @keithhackbarth, i added a test and made a PR on your fork 😄


Milestone 2 feedback

Good job on this milestone! The package installed easily and I was able to run all your functions.
Here are is some feedback for your next milestone:

I copied and pasted your usage exactly as you put it in your documentation, but I couldn't run the functions as is. I had to write pyfer.specify(mpg,response="acceleration"). You should change the documentation so that it can be copied and pasted.

I ran generate with n_samples = -5, it didn’t give me anything. Shouldn't this give me an error?

If I put in a data frame with multiple columns in the function generate, does every column get resampled? And do the rows remained tied?.

In your input it says I could give a data frame with one response and multiple explanatory to the unction generate, which I did, and I obtained a resampled data frame. Then I tried to input this resampled data frame to the calculate function and I had an error. If calculate can’t deal with multiple columns, then it shouldn’t be accepted as an input for generate.

Hi, Melissa. All the feedbacks above were addressed in Pull Request #35. Thank you for the suggestions.


UI: Pagination

This issue summarises the decisions of the UI discussion at the Symposium in Cologne.

Default pagination to 20
Replace the current page number in the pagination turn into an input field to quickly jump to another backend page

Nick: Both won't work. Doesn't really matter anyways.
I am currently having a bit of a struggle trying to validate the field before allowing the form to submit. For some reason
$('.paginationform').submit(function() {});

never gets executed...

Possibly it's a form within a form...

How's this going? Need a hand?

Possibly it's a form within a form...

Yeah, how annoying.

How's this going? Need a hand?

The basic markup and the CSS is done. The "put everything in a huge form" concept is a bit annoying though as I have to create a second form right before the almighty one closes. Any ideas? (See my pagination branch to see what I mean. Careful though, I am constantly rebasing and recreating that one)

Do it outside the form and use positioning?

Sounds a bit dirty :)
Couldn't the pagination itself reside outside the main form?

Couldn't the pagination itself reside outside the main form?

Yep. Simply replace line 377 of content.publish.php:
$this->Form->appendChild($ul);

with:
$this->Contents->appendChild($ul);

@eKoeS Sweet, thanks!

That did the trick. However I've sort of messed up the branch I was working in. Will post a PR once I'm done cleaning up...

Pullrequest: #842


Onnx ops And, Or, Xor, Not

Added onnx And, Or, Xor, Not ops, also the bool dtype
Converted the previous casting on comparison ops from .numpy().astype to using Tensor.cast with the correct dtype
Previous -  360 failed, 440 passed, 1692 skipped, 2 warnings in 32.11s
After       -  314 failed, 486 passed, 1692 skipped, 2 warnings in 33.58s

Btw, upgrade your local onnx to 1.14.0
========== 330 failed, 496 passed, 1808 skipped, 2 warnings in 26.04s ==========


bin/brew: fix prioritisation of system env files

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Fixes #18925.

Thanks @carlocab!


Add WS support to cryo

add ws support pls 🙏
--ws OR --rpc

hey there - C/P'ing my messages from the TG on this
0xprames, [Sep 24, 2023 at 10:22:40 AM]:
yeah im going through the code + your PRs adding RetryClient (both the initial and the final one using ethers)
Looking at the alchemy docs for it rn and I see this w.r.t Websocket transport errors and how clients would do retries (as opposed to Http clients catching a 429 and retrying)
I think the first option you mention makes sense to unblock anyone who NEEDS a WS client asap (just creating a basic WS ethers provider w/o retry)
which confirms what Libevm was saying earlier re: no Ws support rn in ethers::RetryClient
I suspect a WsRateLimitRetryPolicy may be a bit more complex to implement given that alchemy wss screencap above.

tl;dr  (deleted those messages bc I spammed chat)

i was asking why users may want WS support given Fetcher is only making jsonrpc request rn (discussed this further in the TG and came to the conclusion that it would be faster)
I was saying as per alchemy docs, WS retry may be a bit more complicated than Http retries
confirmed what you mentioned in the TG that ethers::RetryClient does not currently support Ws:

    let ws_provider = Provider::new(RetryClient::new(
        Ws::connect(Url::parse(ws_url).unwrap()).await.map_err(|_e|ParseError::ParseError("could not connect to ws_provider".to_string()))?,
        Box::new(HttpRateLimitRetryPolicy),
        args.max_retries,
        args.initial_backoff,
    ))

gives:
error[E0277]: the trait bound `ethers::ethers_providers::HttpRateLimitRetryPolicy: RetryPolicy<WsClientError>` is not satisfied
  --> crates/cli/src/parse/source.rs:22:9
   |
22 |         Box::new(HttpRateLimitRetryPolicy),
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `RetryPolicy<WsClientError>` is not implemented for `ethers::ethers_providers::HttpRateLimitRetryPolicy`
   |
   = help: the trait `RetryPolicy<ethers::ethers_providers::HttpClientError>` is implemented for `ethers::ethers_providers::HttpRateLimitRetryPolicy`
   = note: required for the cast from `ethers::ethers_providers::HttpRateLimitRetryPolicy` to the object type `dyn RetryPolicy<WsClientError>`

so i think the solution @ipatka mentioned in that TG makes sense, which is to add a basic WS client without retries, and maybe iterate on that solution (either here or in ethers.rs codebase), adding retries eventually


python get started documentation

Related Issue
#569
Description
Added get started with python documentation
Type of PR

[ ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[X] Other (specify): _______________

Screenshots / Videos (if applicable)

Checklist

[X] I have performed a self-review of my code.
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have commented my code, particularly in hard-to-understand areas.

Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Resources for Guidance
Here are some resources that may be helpful as you contribute to CodeHarborHub:

Code Harbor Hub Community Features
Docusaurus Documentation
React.js Documentation
Markdown Guide
MDX Documentation
Mermaid Documentation

Resources for DSA Features on Our Site:

Tabs: Switch Languages
Line Numbering
Math Equations

Thankyou for assigning me the issue
Please merge the PR .


Help is broken

REEEEE

Is it?

Yeah - On live version rolled back changes due to an empty embed, no idea as @oklookitsAugust 's code seemed fine.

#7


Create dcos package

This change does NOT change the behaviour only moves code to the following packages:

utils – common helpers (functions with small logic) that are shared between packages.
unit – everything related with systemd interaction
dcos – everything that touches other DCOS elements (e.g., Nodes)

Codecov Report

Merging #65 into master will increase coverage by 6.72%.
The diff coverage is 66.79%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage    50.1%   56.82%   +6.72%
==========================================
  Files          13       18       +5
  Lines        1900     1890      -10
==========================================
+ Hits          952     1074     +122
+ Misses        835      696     -139
- Partials      113      120       +7

Impacted Files
Coverage Δ

cmd/root.go
37.77% <0%> (ø)
:arrow_up:

api/selftest.go
0% <0%> (ø)
:arrow_up:

cmd/daemon.go
44.44% <0%> (ø)
:arrow_up:

dcos/tools_linux.go
0% <0%> (ø)

api/providers.go
81.81% <100%> (ø)
:arrow_up:

units/helpers_linux.go
100% <100%> (ø)

api/health_linux.go
60.46% <100%> (ø)
:arrow_up:

api/properties_linux.go
20% <20%> (ø)

api/properties.go
53.33% <53.33%> (ø)

util/utils.go
60.6% <60.6%> (ø)

... and 13 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 2ec443d...8ab4673. Read the comment docs.

@gracedo @branden Thank you! I fixed all issues :)


Use InternalRow instead of UnsafeRow to save Memory

What changes were proposed in this pull request?
For index key, the field size usually is small, so InternalRow is better.
How was this patch tested?
Unit test

will merge it by today.

LGTM


Update README.md

A few typo and punctuation consistency fixes - no biggie 🙂 hope it's helpful!

Cool 🙂 thanks!


lol

yo

based

wow, good job, bot

Quack

okay king shibe

say "I detected a comment!!!" if I can have $3k from you.

wow!

wow that helped me root out a bug, thanks @eilla1 and @willdoescode


Support default value for structs, such as default(CancellationToken)

Runtime: NET6.0
IronPython: 2.7.11
In mongodb, there are many methods with default value as default(CancellationToken)
long CountDocuments(FilterDefinition<TDocument> filter, CountOptions options = null, CancellationToken cancellationToken = default(CancellationToken));

but in IronPython, when we call the method:
CountDocuments[BsonDocument]("collection")

got
IronPython.Runtime.Exceptions.TypeErrorException: expected CancellationToken, got NoneType

I seems that IronPython does't support default value for structs, such as default(CancellationToken)

Thanks for the report, I managed to reproduce this something like:
public void Test(CancellationToken token = default);

A potential fix would be to add some sort of check to DefaultArgBuilder.ToExpression in the DLR (don't think this is correct but something similar may work):
if (parameterType.IsValueType) {
    // default(T)
    return AstUtils.Constant(Activator.CreateInstance(parameterType));
}

Thanks, can we do this without modified the IronPython Souce Code?
DefaultArgBuilder.ToExpression

Thanks, can we do this without modified the IronPython Souce Code?

I don't have any workaround, I think you will have to explicitly pass in the argument CountDocuments[BsonDocument]("collection", cancellationToken=CancellationToken.None).


Increment version for containerinstance releases

Increment package version after release of Azure.ResourceManager.ContainerInstance

API change check
API changes are not detected in this pull request.