Running Adam optimizer error

Hi,
When I change the optimizer to Adam. For example,
model = mx.model.FeedForward(
        ctx                = [mx.gpu(0)],
        num_epoch     = 60,
        symbol            = network,
        optimizer        =  'adam',
        initializer        = mx.init.Xavier(factor_type="in", magnitude=2.34))

model.fit(X= data_train)

I get the following error message:
  File "<ipython-input-6-3732cc3a7cd0>", line 2, in <module>
    X                  = data_train)
  File "/home/rick/anaconda/lib/python2.7/site-packages/mxnet-0.5.0-py2.7.egg/mxnet/model.py", line 641, in fit
    **(self.kwargs))
  File "/home/rick/anaconda/lib/python2.7/site-packages/mxnet-0.5.0-py2.7.egg/mxnet/optimizer.py", line 52, in create_optimizer
    **kwargs)
TypeError: __init__() got an unexpected keyword argument 'arg_names'

Isn't this the correct way of setting the optimizer?

Seems the __init__ function of the Adam optimizer has no arg_names keyword.
Does the following revision help? In https://github.com/dmlc/mxnet/blob/master/python/mxnet/optimizer.py#L348, add arg_names = None after lr_schedule = None and change https://github.com/dmlc/mxnet/blob/master/python/mxnet/optimizer.py#L349 to super(Adam, self).__init__(rescale_grad, arg_names)

Now I get the following error instead:
  File "<ipython-input-3-9b6e62614107>", line 2, in <module>
    X                  = data_train)
  File "/home/rick/anaconda/lib/python2.7/site-packages/mxnet-0.5.0-py2.7.egg/mxnet/model.py", line 641, in fit
    **(self.kwargs))
  File "/home/rick/anaconda/lib/python2.7/site-packages/mxnet-0.5.0-py2.7.egg/mxnet/optimizer.py", line 52, in create_optimizer
    **kwargs)
  File "/home/rick/anaconda/lib/python2.7/site-packages/mxnet-0.5.0-py2.7.egg/mxnet/optimizer.py", line 342, in __init__
    super(Adam, self).__init__(rescale_grad, arg_names)
TypeError: __init__() takes at most 2 arguments (3 given)

@rfarouni In my computer this revision solves the problem. Is it possible that you need to re-install the python package? Or update the rest part of MXNet to the latest version?

This is definitely an issue that should be fixed.
But you don't have to hotfix the mxnet code to use the Adam optimizer.
It's also possible to provide an optimizer object instead of a string:
model = mx.model.FeedForward(
        ctx           = [mx.gpu(0)],
        num_epoch     = 60,
        symbol        = network,
        optimizer     = mx.optimizer.Adam(),
        initializer   = mx.init.Xavier(factor_type="in", magnitude=2.34))

model.fit(X=data_train)

After fixing the code and re-installing the python package, it worked. I think  I tried providing an  optimizer object but that didn't work.

@rfarouni I think it's worthwhile to make a pr for this issue. Would you like to pr?

I opened a pull request. Thanks


13.15 pattern issue

13.15 failed to find pattern issue 48 8B 05...

Please check out the new release.


Django pre-deploy check fails

Django >= 2.2, on Python 3.7 has some different static file changes.
This has resulted in an import change which causes a hard fail to pre-deploy checks.
To reproduce
pipenv install django==2.1
pipenv run python manage.py check --settings=backend.settings.prod

/python3.7/site-packages/django_extensions/admin/widgets.py", line 7, in <module>
    from django.contrib.admin.templatetags.admin_static import static
ModuleNotFoundError: No module named 'django.contrib.admin.templatetags.admin_static'

User error, I was using the 3.0 alpha. Not an issue yet.


feat: add redirect denied for filter

See https://forum.codeigniter.com/showthread.php?tid=88262

Added how to upgrade and use config('Auth').


migrate: set HardState.Term in migration

build failed

fix the build. /cc @barakmich

LGTM, in tandem with one of 2160/2164


Fix #2100 #2101 #2102 #2103, Resolve static analysis warnings

Checklist (Please check before submitting)

[x] I reviewed the Contributing Guide.
[x] I signed and emailed the appropriate Contributor License agreement to<EMAIL_ADDRESS>and copied<EMAIL_ADDRESS>
Describe the contribution

Fix #2100
Fix #2101
Fix #2102
Fix #2103

Testing performed
CI + static analysis run
Expected behavior changes
None, just squashes static analysis warnings
System(s) tested on

Hardware: VM
OS: Ubuntu 18.04
Versions: Bundle main + apps + related static analysis resolution branches

Additional context
None
Third party code
None
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC

CCB:2022-05-18 APPROVED


Feature request: generate types for api functions

Motivation
Generate types for api functions will be useful for dynamic exploration. For example when using GetModuleHandleW and GetProcAddress. GetProcAddress return FARPROC which we need to transmute into a function. To do this, we need to know the type of the function.
Drawbacks
Perhaps there is some way to get function pointer type from function pointer. But I don't know this.
Rationale and alternatives
A similar macro solves the problem, but not for the case with static variable. For statics, you must explicitly specify the type.
pub macro export {
    ($module:expr, $target:ty) => {
        GetProcAddress($module, stringify!($target)).map(|source| transmute::<_, $target>(source))
    },
    ($module:expr, $target:ident) => {
        GetProcAddress($module, stringify!($target)).map(|source| {
            #[allow(unused_assignments)]
            let mut target = &$target;
            target = transmute(source);
            *target
        })
    },
}

Additional context
See func-types feature in ntapi (Implementation).

out of interest, what size differences are we talking about, 20%, 100%, 500%?

Code size, build time, maintainability. All factors to consider. There are a lot of API functions in the windows crate. I just have to try it and see how practical it is.

While this would be convenient for experimenting, I don't think there is enough demand for such a capability to warrant including all the extra generated code needed to make it happen.


Question: Usage with Rails 5 API

Hi guys, just a question. Can I use this with Rails 5 API only mode?
Right after foreman start -f Procfile.dev I got some errors:
  rm: app/assets/webpack/*: No such file or directory...rake aborted!
  NoMethodError: undefined method `assets' for #
 <Rails::Application::Configuration:0x007fa6989adf80>

Turns out my Rails 5 api excluded the asset pipeline: https://github.com/shakacode/react_on_rails/issues/430
All is well.


gqe-presentation:0.0.1

I am submitting

[x] a new package
[ ] an update for a package

Description: The package offers a customized polylux theme based on "clean-theme". It is tailored to help researchers in our lab to create slides automatically with the same template.

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

I've fixed the errors and warnings displayed by the tests.
There is a lot warnings remaining depending from the polylux package.

Unfortunately, there is a check failure due to polylux:0.3.1 package warnings compiling with 0.12.0.
Should I wait for an update of the polylux package ?

It is up to you, but I would personally wait for Polylux to be updated if you are not in a hurry.

oh yes, that's wise, I will wait ;)
by the way, I'm really enthusiastic about typst, great work, thank you very much !

Hello,
finally, it seems that "touying" is better maintained, so I've switch my template from polylux to touying.
This one does not produce warnings.
Is it possible to forget gqe-presentation 0.0.1 and jump directly to the new "touying" based 0.0.3 ?
Thank you very much
Olivier

Ok, thanks, I've deleted the previous version.
There is no problem to change the name of my package. Indeed, GQE is the name of our laboratory. It is very specific and may be not relevant for other user that may work in the same field.
Do you have a suggestion for this specific case and a good package name avoiding misunderstanding ?
Thanks again
Olivier

That's fine, thanks for the suggestion. I can rename it "gqe-lemoulon-presentation" if it is not too long or "lemoulon-presentation" otherwise.
Thank you very much for your hyper fast responsivity and the possibility to add the package to the central repository.
It will be far more easier for people in my lab.

"gqe-lemoulon-presentation" would be fine.

Thank you!


fixfix bug of bound conjunct to wrong tuple

Proposed changes
this fix bug introduced by https://github.com/apache/doris/pull/28656

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Check coherence of textual properties

Check coherent use of rdfs:label, rdfs:comment, skos:prefLabel, skos:definition, etc., between the different definitions.

Most COOS classes have a "rdfs:comment" stating something like "as defined by GAMSO/GSIM/GSBPM", coos:Task and coos:GSIMEntity have to be aligned.
Following lack a rdfs:comment  : coos:StatisticalOrganization, coos:NationalStatisticalInstitute, coos:InternationalAgency, coos:uses, coos:supports
Is it expected at some point to publish the statistical metadata glossary as a conceptScheme ? if not should we add skos:definition and skos:scopeNote on the conceptScheme for the GSBPM in the COOS ?

@flo7894  @FlavioRizzolo Regarding the definition of statistical org, national stat org., there is a glossary of recently published UN Handbook on Statistical Organization: https://unstats.un.org/wiki/display/HSO/Glossary

Statistical organization: Organization, or unit within an organization, whose primary role is the production of official statistics.
National statistical office: The main producer of official statistics in a country and/or the organization responsible for coordinating all activities related to the development, production, and dissemination of official statistics in the national statistical system.

I suggest the following definition put together from the definitions of International Organization and Statistical Organization
International (statistical) agency: A body with an international membership, scope, or presence whose primary role is the production of official statistics.

Tentative property definitions:
supports: to enable to perform or function. Activities, e.g. GAMOS Manage Statistical Methods, support Statistical Production Activities, e.g. GSBPM Phases.
uses: to require to perform or function. Statistical Production Activities, e.g. GSBPM Overarching Processes, use Activities, e.g. Manage IT.
Uses and supports are inverses. They are weaker (looser) forms of dependencies than partitive relationships: uses/supports is about function whereas part/whole is about constitution.

Suggested definitions are integrated in the HTML and Turtle files. Remaining considerations in this issue are reported in issue #29.
Current issue is thus closed.

See chapter 1C
https://unstats.un.org/unsd/methodology/dataquality/un-nqaf-manual/
National statistical office (NSO): the leading statistical agency within a
national statistical system. National statistical office and national statistical
institute mean the same thing. In general, the NSO has a coordination
n role within the national statistical system, and is responsible for the development,
production and dissemination of official statistics across multiple statistical
domains.


[release-1.26] Use ipFamilyPolicy: RequireDualStack for dual-stack kube-dns

Proposed Changes
Backport of https://github.com/k3s-io/k3s/pull/8984
Considering that kube-dns will only be accessed via bare IP addresses, k3s should manually control the ClusterIPs, which means its ipFamilyPolicy should be set to either SingleStack or RequireDualStack. I don't think setting ipFamilyPolicy to PreferDualStack makes much sense for kube-dns, as discussed in https://github.com/k3s-io/k3s/pull/8394#discussion_r1336934121, where the implications of this choice are elaborated.
(Sorry for not mentioning this in #8394 earlier, I was on vacation and it slipped my mind.)
Types of Changes
Bug fix
Verification
Deploy k3s in dual-stack mode and verify that the kube-dns service's ipFamilyPolicy is set to RequireDualStack.
Testing

Linked Issues

#9268

User-Facing Change

Further Comments

Validated on Version:
-$  k3s version v1.26.13-rc2+k3s1 (65495bb6)

Environment Details
Infrastructure
Cloud EC2 instance
Node(s) CPU architecture, OS, and Version:
NAME="Oracle Linux Server"
VERSION="8.9"
ID="ol"
ID_LIKE="fedora"
Cluster Configuration:
1 node servers
Steps to validate the fix

Install k3s usind cidr flag with ipv4 and ipv6
Get kube-dns service details
Validate ipfamily policy is set to singlestack or RequireDualStack
Validate nodes,pods ok

Validation Results:

~$ k3s -v
k3s version v1.26.13-rc2+k3s1 (65495bb6)
go version go1.20.13

--------- only ipv4 --------

~$ curl -sfL https://get.k3s.io | INSTALL_K3S_COMMIT=65495bb65e8731e59dcb677ea79fb64f3ac9b5de sh -s - --cluster-cidr=<IP_ADDRESS>/16 --service-cidr=<IP_ADDRESS>/16

~$ kubectl get service kube-dns   -n kube-system -o yaml

 spec:
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack

----- ipv4/ipv6 -----------

 curl -sfL https://get.k3s.io | INSTALL_K3S_COMMIT=65495bb65e8731e59dcb677ea79fb64f3ac9b5de sh -s - --cluster-cidr=<IP_ADDRESS>/16,2001:cafe:42::/56 --service-cidr=<IP_ADDRESS>/16,2001:cafe:43::/108

kubectl get service kube-dns   -n kube-system -o yaml

spec:
  clusterIP:
  clusterIPs:
  - IPV4
  - IPV6
  internalTrafficPolicy: Cluster
  ipFamilies:
  - IPv4
  - IPv6
  ipFamilyPolicy: RequireDualStack

$ kubectl get nodes,pods -A
NAME                    STATUS   ROLES                  AGE   VERSION
node/ip-    Ready    control-plane,master   36s   v1.26.13-rc2+k3s1

NAMESPACE     NAME                                          READY   STATUS      RESTARTS   AGE
kube-system   pod/local-path-provisioner-76d776f6f9-cz79b   1/1     Running     0          22s
kube-system   pod/coredns-59b4f5bbd5-n6h6b                  1/1     Running     0          22s
kube-system   pod/metrics-server-68cf49699b-njz7r           0/1     Running     0          22s
kube-system   pod/helm-install-traefik-crd-ftglr            0/1     Completed   0          22s
kube-system   pod/svclb-traefik-6d9f5f7e-qgljf              2/2     Running     0          6s
kube-system   pod/helm-install-traefik-mbc6l                0/1     Completed   1          22s
kube-system   pod/traefik-dd49d7bb6-p67bb                   0/1     Running     0          6s


Document Crossplane XRDs we consider part of our management API

We have XRDs (CompositeResourceDefinitions) in https://github.com/giantswarm/crossplane-gs-apis which can be considered part of our management API, just like CRDs. They should be published in (almost) the same way.
It should be possible to extend our crd-docs-generator for this task.
Open Questions

What are the significant differences between XRD and CRD from a user's perspective
Should this land in a separate place, or is one area for CRDs and XRDs fine?

Related to https://github.com/giantswarm/roadmap/issues/3508
Some work on crd-docs-generator has already been done as part of https://github.com/giantswarm/crd-docs-generator/pull/230
This PR cannot be merged until microerror as been replaced in it with errors as microerror has now been deprecated and should be removed from all revisited codebases


Request: Collapsible button (like accordion) as a type of rendermode for paneldynamic

Are you requesting a feature, reporting a bug or ask a question?
Requesting a Feature.
What is the current behavior?
The rendermode property of paneldynamic currently has options list and progressbar.
What is the expected behavior?
I would like to use multiple collapsible buttons to achieve the same.

        Employee 1

        Employee Details

For example, in this code, instead of progress bars on page 2 i would like to use collapsible buttons
https://jsfiddle.net/surveyjs/xdomvzxz/?utm_source=website&utm_medium=embed&utm_campaign=xdomvzxz
Specify your

browser: Chrome
browser version: 64.0.3282.119
surveyjs platform (angular or react or jquery or knockout or vue):jquery
surveyjs version: 1.0.10

@testweird123 Do you mean something similar to Panel collapse/expand? Please go to this example and Look at "Send us your contact information (optionally)" panel.
Thank you,
Andrew

Yes, something similar to that, I think it currently does not work for paneldynamic type.

@testweird123 Here is the issue I have with the implementation.
If we are talking for a typical panel, the panel.state (normal/collapsed/expanded) is stored in the panel model.
Dynamic panel is different. It has a template panel that is used to generate panels in run-time.
There is no place where I can store the state for generated panels. I can't store it in the panel dynamic value, it is not correct.
So, even if I implement this functionality, all panels will be collapsed or expanded by default and there will be no build-in functionality to persist their state.
I may go further and have 4 values in the state: (normal/allCollapsed/allExpanded/firstExpanded), however the issue with state persisting could not be solved.
What do you think?
Thank you,
Andrew

I'm not sure I understand what you mean by state persisting. Say for example you implement it, and you put a value "firstExpanded", shouldn't it appear so on first viewing the question? how would the state change?

@testweird123 Let's say you want to make the second panel be expanded instead of the first one or the first and second panels.
Another popular scenario, a user did not finish with the form, save and leave the page. After some time, he comes back and continue to fill the form.
Right now, all you need to do, to implement this scenario, set the previous entered data into survey,
survey.data = savedData; //they are in JSON format
and restore the current page:
survey.currentPageNo = savedCurrentPageNo;
However, the state of the dynamic panels (expand/collpase) would not be restored.
Anyway, I beleive, it is a good idea and it worth to implement. the "firstExpanded" value would cover 90% of scenarios. The most people would like to expand the first panel by default.
Since, It should be easy to implement, I will just add this functionality.

@testweird123  It has been implemented. Please look at unit tests in the commit above to understand the logic. The functionality will be in the next minor update, on this week.
/**
   * Use this property to allow the end-user to collapse/expand the panels. It works only if the renderMode property equals to "list" and templateTitle property is not empty. The following values are available:
   *
 default - the default value. User can't collpase/expand panels
   *
 expanded - User can collpase/expand panels and all panels are expanded by default
   *
 collapsed - User can collpase/expand panels and all panels are collapsed by default
   *
 firstExpanded - User can collpase/expand panels. The first panel is expanded and others are collapsed
   * @see renderMode
   * @see templateTitle
   */
  public get panelsState(): string {
    return this.getPropertyValue("panelsState", "default");
  }
  public set panelsState(val: string) {
    this.setPropertyValue("panelsState", val);
  }

Thank you,
Andrew

From reading the comments, this seems like it should do the job. I'm afraid I do not understand the functions. Thanks a lot for the quick response. I trust that this should be functional soon. You may close this if you wish to.
Thank you.

@testweird123 Here is the example: https://plnkr.co/edit/QaqzW7sOkeBAg3Pn4Y2L?p=preview
Thank you,
Andrew

Thanks a lot!! Closing it!


Fix bug which could cause match predicate in WHERE clause for partitioned tables to fail.

Fix bug which could cause the MATCH predicate in WHERE clause for partitioned tables to fail. This happens in cases when a column ident of the MATCH predicate is not a primary key column.
It causes the initialization of the new DocKeys object with wrong indexes for "partition by" columns when the MATCH predicate in the WHERE clause did not contain a primary key and it led to the execution of the wrong plan.

https://github.com/crate/crate/issues/3424

ack


ModuleNotFoundError: No module named 'ESRNN.m4_data'; 'ESRNN' is not a package

Hello,
I've tried to install ESRNN via the instruction in this link: https://pypi.org/project/ESRNN/
which were: pip install ESRNN
However, when I try to run the follow code:
from ESRNN.m4_data import prepare_m4_data
from ESRNN.utils_evaluation import evaluate_prediction_owa
from ESRNN import ESRNN
I get the following error:
Traceback (most recent call last):
File "ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
File "C:\Users\mario\Documents\Python Benjamin\ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
ModuleNotFoundError: No module named 'ESRNN.m4_data'; 'ESRNN' is not a package
I've tried adding ESRNN as a path variable and still get the same error.
Could anyone please assist?

Hi Matt,
Let me see If I can help you
Can you create an .sh file with your setup and a jupyter notebook with what
you are trying to run?
Meanwhile, let me check the installation works for me
Greetings
On Fri, Jul 3, 2020 at 5:50 AM Matt French<EMAIL_ADDRESS>wrote:

Hello,
I've tried to install ESRNN via the instruction in this link:
https://pypi.org/project/ESRNN/
which were: pip install ESRNN
However, when I try to run the follow code:
from ESRNN.m4_data import prepare_m4_data
from ESRNN.utils_evaluation import evaluate_prediction_owa
from ESRNN import ESRNN
I get the following error:
Traceback (most recent call last):
File "ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
File "C:\Users\mario\Documents\Python Benjamin\ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
ModuleNotFoundError: No module named 'ESRNN.m4_data'; 'ESRNN' is not a
package
I've tried adding ESRNN as a path variable and still get the same error.
Could anyone please assist?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kdgutier/esrnn_torch/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYDACPJS2EGODPOFL6HZC3RZWSYHANCNFSM4OPVCYFQ
.

Have you tried to download the github repository and run your tasks on top
of the ESRNN folder?
Here is the link https://github.com/kdgutier/esrnn_torch
I think there might be an issue with the Windows path creation and pip. (I
think you might have PC)
Hope this helps.
On Fri, Jul 3, 2020 at 4:03 PM Kin Gtz. Olivares<EMAIL_ADDRESS>wrote:

Hi Matt,
Let me see If I can help you
Can you create an .sh file with your setup and a jupyter notebook with
what you are trying to run?
Meanwhile, let me check the installation works for me
Greetings
On Fri, Jul 3, 2020 at 5:50 AM Matt French<EMAIL_ADDRESS>wrote:

Hello,
I've tried to install ESRNN via the instruction in this link:
https://pypi.org/project/ESRNN/
which were: pip install ESRNN
However, when I try to run the follow code:
from ESRNN.m4_data import prepare_m4_data
from ESRNN.utils_evaluation import evaluate_prediction_owa
from ESRNN import ESRNN
I get the following error:
Traceback (most recent call last):
File "ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
File "C:\Users\mario\Documents\Python Benjamin\ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
ModuleNotFoundError: No module named 'ESRNN.m4_data'; 'ESRNN' is not a
package
I've tried adding ESRNN as a path variable and still get the same error.
Could anyone please assist?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kdgutier/esrnn_torch/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYDACPJS2EGODPOFL6HZC3RZWSYHANCNFSM4OPVCYFQ
.

Also your problem sounds like a PATH problem
The way I run the code in Mac is:
On top of the ESRNN folder
PYTHONPATH=. python src/hyperpar_tunning_m4.py --id_min 0 --id_max 25
--dataset 'Daily' --gpu_id 0
Again hope this helps you
On Sat, Jul 4, 2020 at 4:13 PM Kin Gtz. Olivares<EMAIL_ADDRESS>wrote:

Have you tried to download the github repository and run your tasks on top
of the ESRNN folder?
Here is the link https://github.com/kdgutier/esrnn_torch
I think there might be an issue with the Windows path creation and pip. (I
think you might have PC)
Hope this helps.
On Fri, Jul 3, 2020 at 4:03 PM Kin Gtz. Olivares <
<EMAIL_ADDRESS>wrote:

Hi Matt,
Let me see If I can help you
Can you create an .sh file with your setup and a jupyter notebook with
what you are trying to run?
Meanwhile, let me check the installation works for me
Greetings
On Fri, Jul 3, 2020 at 5:50 AM Matt French<EMAIL_ADDRESS>wrote:

Hello,
I've tried to install ESRNN via the instruction in this link:
https://pypi.org/project/ESRNN/
which were: pip install ESRNN
However, when I try to run the follow code:
from ESRNN.m4_data import prepare_m4_data
from ESRNN.utils_evaluation import evaluate_prediction_owa
from ESRNN import ESRNN
I get the following error:
Traceback (most recent call last):
File "ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
File "C:\Users\mario\Documents\Python Benjamin\ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
ModuleNotFoundError: No module named 'ESRNN.m4_data'; 'ESRNN' is not a
package
I've tried adding ESRNN as a path variable and still get the same error.
Could anyone please assist?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kdgutier/esrnn_torch/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYDACPJS2EGODPOFL6HZC3RZWSYHANCNFSM4OPVCYFQ
.

Another possible problem you might be facing is that the pip installation
was not done in the correct python environment.
If you are doing this with conda, make sure to "conda activate" before the
pip install.
On Sat, Jul 4, 2020 at 4:19 PM Kin Gtz. Olivares<EMAIL_ADDRESS>wrote:

Also your problem sounds like a PATH problem
The way I run the code in Mac is:
On top of the ESRNN folder
PYTHONPATH=. python src/hyperpar_tunning_m4.py --id_min 0 --id_max 25
--dataset 'Daily' --gpu_id 0
Again hope this helps you
On Sat, Jul 4, 2020 at 4:13 PM Kin Gtz. Olivares <
<EMAIL_ADDRESS>wrote:

Have you tried to download the github repository and run your tasks on
top of the ESRNN folder?
Here is the link https://github.com/kdgutier/esrnn_torch
I think there might be an issue with the Windows path creation and pip.
(I think you might have PC)
Hope this helps.
On Fri, Jul 3, 2020 at 4:03 PM Kin Gtz. Olivares <
<EMAIL_ADDRESS>wrote:

Hi Matt,
Let me see If I can help you
Can you create an .sh file with your setup and a jupyter notebook with
what you are trying to run?
Meanwhile, let me check the installation works for me
Greetings
On Fri, Jul 3, 2020 at 5:50 AM Matt French<EMAIL_ADDRESS>wrote:

Hello,
I've tried to install ESRNN via the instruction in this link:
https://pypi.org/project/ESRNN/
which were: pip install ESRNN
However, when I try to run the follow code:
from ESRNN.m4_data import prepare_m4_data
from ESRNN.utils_evaluation import evaluate_prediction_owa
from ESRNN import ESRNN
I get the following error:
Traceback (most recent call last):
File "ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
File "C:\Users\mario\Documents\Python Benjamin\ESRNN.py", line 2, in
from ESRNN.m4_data import prepare_m4_data
ModuleNotFoundError: No module named 'ESRNN.m4_data'; 'ESRNN' is not a
package
I've tried adding ESRNN as a path variable and still get the same error.
Could anyone please assist?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kdgutier/esrnn_torch/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYDACPJS2EGODPOFL6HZC3RZWSYHANCNFSM4OPVCYFQ
.

Check that the pip installation is done in the correct python environment, if you are doing this with conda try "conda activate your_environment" before the pip install.
Other possible solution is giving the console the python path when running the code
PYTHONPATH=. python src/hyperpar_tunning_m4.py --id_min 0 --id_max 25 --dataset 'Daily' --gpu_id 0


[gulp] Express installation does not work with custom project directory

When I choose a custom directory using express installation. It  simply does not build the files. As shown below.
[09:15:12] Using gulpfile ~/webserver/imdbnator/src/app/css/semantic/gulpfile.js
[09:15:12] Starting 'build'...
Building Semantic
[09:15:12] Starting 'build-javascript'...
Building Javascript
[09:15:12] Starting 'build-css'...
Building CSS
[09:15:12] Starting 'build-assets'...
Building assets
[09:15:12] Starting 'package compressed js'...
[09:15:12] Starting 'package uncompressed js'...
[09:15:13] Finished 'build-javascript' after 127 ms
[09:15:13] Starting 'package uncompressed css'...
[09:15:13] Starting 'package compressed css'...
[09:15:13] Finished 'build-assets' after 132 ms
[09:15:13] Finished 'package uncompressed js' after 98 ms
[09:15:13] Finished 'package uncompressed css' after 80 ms
[09:15:13] Finished 'package compressed js' after 113 ms
[09:15:13] Finished 'package compressed css' after 21 ms
[09:15:13] Finished 'build-css' after 164 ms
[09:15:13] Finished 'build' after 211 ms

But, If I use the automatic install with the DEFAULT app location only then build works! Here are some cases that I tested out.
If I don't change the project location and instead change the location of semantic/ project location to css/semantic, then this works file. However, If I change the project location it does not work. Is the project location required to be on the same level as node_modules? Just wondering.

Same here, solved by creating a package.json with npm init in the folder I wanted semantic to be in, and then in that folder running npm install semantic-ui --save (or without --save)

Ah I see. But this is not an expected behavior. I think this should be looked at.

You're right .
On May 30, 2017 06:53, "Sai Krishna Deep"<EMAIL_ADDRESS>wrote:

Ah I see. But this is not an expected behavior. I think this should be
looked at.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Semantic-Org/Semantic-UI/issues/5418#issuecomment-304774356,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANhoZHXQ9l0b4KTwKZW8iJ7woulcuf7Xks5r-6DTgaJpZM4No39O
.


jsonnet/kube-prometheus/kube-state-metrics: Remove probes

cc @coreos/team-monitoring @dgrisonnet
Still want to test for longer, but ready for review. Is there another way other then doing null in jsonnet to remove it? @brancz @metalmatze

Ready to be merged, no restarted containers locally and no error logs in the proxy containers.


Update to nightly

This makes term compatible with nightlys again. I didn't migrate to the new env because I can't migrate to the new path because it's incompatible with old_io (and io isn't feature complete).

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

I could have sworn I rebased off of master... Never mind.


Refactoring the sticky scroll

Refactoring the sticky scroll, the code is more concise.

There seems to be still an issue with the sticky scroll, I am looking in

The issue was the unnecessary deep cloning


Reproduce issue 12535 on main branch

This is a duplicate PR just like https://github.com/chaochn47/etcd/pull/5 to reproduce issue https://github.com/etcd-io/etcd/issues/12535
=== RUN   TestIssue12535
    v3_lease_test.go:201: expect revision 17, but got 16
    v3_lease_test.go:204: lease removed but key remains
--- FAIL: TestIssue12535 (1.17s)
FAIL

The full test log is captured in reproduce_12535_on_main_branch.test.log

Can you propose a fix and send PR to the main repo?


Upgrade to Rust 1.47

Hi! Thank you for helping out with Embedded Graphics development! Please:

[ ] Check that you've added passing tests and documentation
[ ] Add a simulator example(s) where applicable
[ ] Add a CHANGELOG.md entry in the Unreleased section under the appropriate heading (Added, Fixed, etc) and appropriate crate (embedded-graphics, simulator, tinytga, tinybmp) if your changes affect the public API
[ ] Run rustfmt on the project
[ ] Run just build (Linux/macOS only) and make sure it passes. If you use Windows, check that CI passes once you've opened the PR.

PR description
[add your PR description here]

This isn't really giving us much. Performance is a mixed bag but is largely the same and we still can't const lots of things. I'd be tempted to close this and wait until there's a more compelling time to upgrade, as somewhat old as 1.40 is.

embedded-fonts needs some newer proc-macro features, which were introduced in 1.44, if I remember correctly. Should we only require a newer rust version for that crate or use the same MSRV for all crates?

Should we only require a newer rust version for that crate or use the same MSRV for all crates?

Only for that crate, if possible - that way users who don't want embedded-fonts don't need to use a recent version of Rust if they don't want to/can't.

OK, but this means that we will also need to maintain multiple versions of the docker image.

I think that's ok as each project can evolve separately that way.
We could move the relevant bits of the just Docker build/push commands and CircleCI config changes in e-g into embedded-fonts and get it using its own Docker image. I'm happy to do that if you don't want to.

We could move the relevant bits of the just Docker build/push commands and CircleCI config changes in e-g into embedded-fonts and get it using its own Docker image. I'm happy to do that if you don't want to.

Or we could create a new repo in the e-g org to contain all docker related files. IMO that would make it easier to maintain than having docker related files spread across multiple repos.

Good shout. Is any of this a blocker to the actual e-f work that needs doing?

No, we can work on CI for e-f when it is added to the org.

Closing, see #463 for build tools tracking.


Cerebro crashes at startup.

[x] I am on the latest Cerebro.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

macOS 10.13.4
Cerebro 0.3.2
I don't even get far enough to open dev tools.

Issue
I installed the latest Cerebro version with brew cask install cerebro and get this error at launch.

same here

Similar problem here when upgrading from 0.3.1 to 0.3.2 on OSX 10.13.4. Seems to be part of #434 though.

Happens in Ubuntu 18.04 too.

I'm getting this on Windows, as well.

@mybluevan @s3r8i0 you can find fix in #434.

@Phosphor303 did you have another version installed or it is your first installation of Cerebro?

@KELiON I had it installed years ago.
There was no Cerebro installation when I tried again recently, but dotfiles or preference settings may have persisted since my first try.

It also shows on my Windows 10.

Same here.

Could you test the new version?
@kencano @kisnows @mybluevan @dschuessler

I'm closing this error as it is related to the tracking feature that was recently removed. Please, tray with the latest version and if the problem persists we can open an updated issue.


Fix typo in documentation

Description
Just noticed the typo when reading the docs.
Type of change
Documentation update

great, thanks!


the gen2 upgrade validation still failed after break existing leases on containers and blobs

[Enter feedback here]
I tried to upgrade a normal storage to gen2, I broken all the existing leases from Azure Portal,
but the gen2 upgrade validation still failed.
Only totally release the leases can avoid the validation error.
So I think we need to update the doc
from
Release or break existing leases on containers and blobs in the storage account.
to
Release existing leases on containers and blobs in the storage account.

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

ID: 3980b9c2-7327-4112-2874-616c7621aa68
Version Independent ID: 232e4b34-556d-01ed-d624-e6a74e515116
Content: Upgrade Azure Blob Storage with Azure Data Lake Storage Gen2 capabilities
Content Source: articles/storage/blobs/upgrade-to-data-lake-storage-gen2-how-to.md
Service: azure-blob-storage
GitHub Login: @normesta
Microsoft Alias: normesta

@leoliudan
Thanks for your feedback! We will investigate and update as appropriate.

@leoliudan Thanks for your feedback. It seems like you have already tried to upgrade your storage account to Gen2, but you are facing some issues with the validation step. According to the documentation you provided, it is recommended to release all the leases before upgrading to Gen2. If you have already broken all the existing leases and still facing the validation error, then it is possible that there might be some other unsupported features in your account.
To identify unsupported features, you can review the "Blob Storage feature support in Azure Storage accounts" article mentioned in the "Prepare to upgrade" section of the documentation. If you are using any of those unsupported features in your account, make sure to disable them before you begin the upgrade.
If you have already disabled all the unsupported features and still facing the validation error, then I would recommend you contact Azure support ticket for further assistance. They will be able to help you identify the root cause of the issue and provide you with the necessary steps to resolve it.


[BUG] add feedback form to know user experience

Description
issue: can add the feedback form to know the overall experience of the user after shopping from this platform.
Screenshots
No response
Any additional information?
No response
What browser are you seeing the problem on?
Chrome
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@SandhyaBadwaik As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


Faster VPN bring-up

Task/Issue URL: https://app.asana.com/0/488551667048375/1201711685020940/f
Description
Currently it is the HeartBeat that detects when the VPN has been killed for reasons other than user intent or revokes. In such cases the HB will bring the VPN back up.
The HB is a worker, and so it is the scheduled periodically every 15min (min period supported for work manager).
The main issu with that approach is that many users may noticed the VPN switched off (as a result of VPN process killed) way before the HB had the time to bring it back up.
This PR uses a complementary new way to bring-up the VPN upon sudden kill.

Added a new service VpnStateMonitorService
The TrackerBlockingVpnService will bind to the new VpnStateMonitorService when started and stopped (or killed)
Every time the binding is broken, the VpnStateMonitorService will get notified
The VpnStateMonitorService will then use the same logic used in the HB to decide whether it needs to bring te VPN back up

To make sure it all works as expected, the VpnStateMonitorService runs in the browser process, similar to what happens with the HB.
Steps to test this PR
Test sudden VPN process kill

[ ] install from this branch
[ ] enable AppTP
[ ] Verify D/VpnStateMonitorService: Bound to VPN message appears in logcat
[ ] use Android Studio or Intellij to kill just the vpn process. For that, open logcat, and select the :vpn process, then click on the 🟥 in the logcat window
[ ] verify the D/VpnStateMonitorService: Sudden stop, restarting VPN appears in logcat
[ ] verify AppTP is re-enabled

Test VPN switch-off

[ ] enable AppTP
[ ] manually disable AppTP
[ ] verify the D/VpnStateMonitorService: Nah, all good log appears in logcat
[ ] verify AppTP stays disabled

Current dependencies on/for this PR:

develop

PR #1720   (this PR)

This comment was auto-generated by Graphite.


Port to {less}

please, port this to {less}

still no interest?

Hi all there,
I've found that Lincoln Anderson has ported Jeet to LESS about year ago.
https://github.com/Landerson352/jeet-less
Cheers


Fixes dart2js warning about dead code

Hi,
dart2js currently (correctly) complains about the "break;" on line 668 being dead code. This minor change should remove the warning while still keeping all cases ending with a break or return (which is my guess for the motivation behind adding the "break" there in the first place).
This is helpful for those who like to keep their builds warning-free, or who treat warnings as erros. Cheers!

No CLA needed for Googler contributions; I'm<EMAIL_ADDRESS>

Committed.


mybatis #355 PL/SQL is not fully supported

declarative changing of delimiter
using standard SQL comment characters, e.g.:
--//@DELIMITER /
--//@DELIMITER ;

Thank you!

It was my pleasure.
It was the time to create my own GitHub repo and contribute in an opensource project ;-)


Update tm_stm32_ahrs_imu.c

The algorithm contains a bug that my change will fix. The change can be verified by deriving the C-code from Sebastian Madgwick's original paper and/or compare the output from his MATLAB implementation. Both can be found here: https://x-io.co.uk/open-source-imu-and-ahrs-algorithms/

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

First we have to merge, then we close :)
Thanks for posting it.

First we have to merge, then we close :)
Thanks for posting it.


Pre-release feedback [Version 0.6.0]

While I am waiting for technical issues to clear up with updates server. I have posted a pre-release version of 0.6.0 for you guys to play around with.
https://github.com/antonpup/Aurora/releases/tag/v0.6.0-pre
It's a pretty hefty update. Alot has changed compared to the latest public version. Some things to test out:

Give Layers a spin, see if they are easy to use
If you have a foreign keyboard layout, see if it's working properly
If you have a Razer or a Corsair keyboard, see if they are working properly
Profile hiding
Equalizer
Overall stability and performance
Spelling mistakes

Thank you for your time. I am hoping to release a proper 0.6.0 update next week.

Have a G910 and G900. Will test it out! Everything looks good so far, no hiccups installing or loading profiles.
App seems to run smoother, but lags really badly when selecting keycap type. That's the only thing I've noticed so far really, aside from the interactive effects tab being gone. :( (RIP?)

@TheRebelWizard Interactive effects are now a layer, and can be applied per-profile.

Edited, just found them. Messing with the layers now and will update with anything I run into! :D

@TheRebelWizard You can already copy/paste and delete layers with CTRL-C CTRL-V and DELETE keys. Copy/paste works across profiles.

First error report, when saving a new Profile and choosing to overwrite an existing one Aurora crashes before it saves. This happens 100% of the time for me.
Also, clicking the Aurora icon from the taskbar no longer gives that old error, but states "Aurora is already running" rather than bringing the app up from being minimized in the toolbar.

@TheRebelWizard I've fixed two of the issues you've mentioned as you can see from the commits above. I was unable to replicate the issue you mentioned from bringing the app up from the taskbar, is it consistent? If so, how exactly are you replicating it?

Yeah sorry, my description was kinda bad because I kept mixing up tray and taskbar. But to clarify either way, the taskbar shortcut will not open the Aurora window while it is minimized to the tray.

Logitech G900 is the only Logitech mouse in the device settings. I have a Logitech G Pro, which has logo and side lights. Selecting G900 for the mouse and setting the Peripheral Logo to be used in a layer does result in the logo and side lights being used on the G Pro. This is the behavior I'd expect and the way it was working on the release beta with automatic device detection.
Just not very intuitive. Perhaps there can be generic or automatic options added back to device selection? Or maybe there are plans to add more layouts for mice?

@TheRebelWizard I will see about fixing automatic source detection. But I am not sure how to implement the key sequence for the EQ. I could probably do an option for a freestyle, but not key sequence.
@bardyspoon The automatic detection options are hard to do when several device SDKs do not report a connected keyboard. For example, the Razer SDK initializes even if you do not have a Razer keyboard plugged in. So as long as you have Razer Chroma enabled on your computer, Aurora would always detect your keyboard as Razer. And then there's Cooler Master, Roccat, and hopefully in the future SteelSeries. They simply don't report if a keyboard is physically connected.
As for the mouse layouts, you can technically use any of them for Logitech. Because Logitech RGB mice only have 1 color zone. But there are plans to add more mice, I just didn't feel like doing it for the reason stated above. #119

Very impressive Aurora build.
LOVE the EQ took me a bit of time to find where you stashed it though. After realizing I can click to add new layers and change the function of each layer everything made sense. For those less intuitive that layers have functions built into them these amazing features could go unnoticed.
One thing I found a bit annoying with the layer functionality is drag and drop or just overall moving the order of layers is not very refined. Maybe theirs key shortcuts for this function? However, Up and Down arrows next to each layer at the very least but even better when you drag a layer have it underline the layer it will be moved beneath.
While playing with the EQ colors I did manage to freeze up the color drop menu. I removed the layer and added a new layer and it was fixed. If I replicate the problem I'll let you know.
Overall this project is so good and I just want to help see this grow 👍
As long as you guys don't mind I'll keep posting ideas, areas I can see improvement in and of course bugs/crashes/typos ;). I am enjoying watching how this project continues to evolve, keep up the excellent work

@McRiot I am not sure how to emphasize to users that Layers have options. They just gotta explore I guess? I really don't know.
But for layer dragging, I added "buns" to the left of a layer. When moused over, it will change the cursor to up-down arrows, hopefully indicating to the user that this can be dragged.

As for EQ, not sure how you froze it. But if you can recreate it, let me know. It probably affects all ColorBoxes.

Love the buns that looks great.
Maybe just making the "add" and "remove" buttons more appealing to press. Took me a bit before it occurred to me I should press "add" (colorize and enlarge it slightly?) Make me want to push the button :)

@McRiot So, if I understand correctly. Make the "add" button red, and make it uniquely stand out. Subconsciously making you want to press the button.
Like so:

:)

I love this guy ^^ 👍

If you make red and green circular buttons for this build I'll buy you a drink ;)

@McRiot I added icons to the buttons. Hopefully, that will make them stand out more than before. I also added tooltips for those

Well it doesn't make me believe I'm about to launch those missiles but it does look much better :) :1st_place_medal:
this is what is currently bothering me more right now:

Added VLC as a new Lighting Profile, Added EQ options. Works great as long as VLC is running in the foreground but the second I switch to another window it defaults back to Desktop Settings. Would like to have the option for my audio programs to continue the light show no matter what window I'm in. Only switch off when I close the media application.

Probably a little more complicated then my cosmetic gripes. Maybe an option that can prioritize certain applications when running in the background or minimized.

It's possible to do. But it will come later as "overlays" feature. It will let you select profiles to act as overlays or underlays. So, current Skype and Volume overlays will go there.
I would also like to point out, that EQ on a specific application (like VLC) does not exclusively restrict audio analysis for that process. It takes overall PC sound.

Fantastic, I look forward to those changes 👍
I was really excited about getting this keyboard but I'm even more excited for this Aurora project.
Keep it up guys! I'll be checking in frequently :)

Can you make the background keys dimmable in the EQ layer ?

@gradius-v So, dim background when there is music playing?

Thanks for all the fixes, that solves every technical problem I've encountered so far.
Any chance of lowering the lowest speed effect setting for layers?
I'm using the gradient layer, at 1 effect speed, and it's quite a bit faster than the lowest setting on the old Rainbow Shift Zone Effect. I really liked that speed setting at the lowest because it was pretty subtle in comparison.

@gradius-v I added the background dimming on sound to EQ Layer.
I also fixed a bug in EQ Layers that caused incorrect values to be displayed.
@TheRebelWizard I'll look into it, but as far as I remember, I just copy-pasted the effects to layers. Is it too fast for any animated effect? Or just the gradient?

I think it's just the effect animation speed in general. It seems faster overall for most settings.

I added an Image layer with gif support. So users can now create their own little animations, save them as gifs, and use with Aurora.
Here's Aurora Inception

I added an Image layer with gif support. So users can now create their own little animations, save them as gifs, and use with Aurora.
Here's Aurora Inception

Thanks for adding the dimming to the EQ layer.

It seems that those profiles got corrupted. They won't be loaded. Your best bet is to delete them. I am not sure how they got corrupted.

Just deleted the corrupt profiles. I got another feature request, can you add an exclusion list to the key fade effect ?

I really like the new version! :+1:
For foreign keyboard layout feedback, see: https://github.com/antonpup/Aurora/issues/123#issuecomment-269993488 and #310
Lighting for Corsair media keys work fine.
Profile hiding seems fine.
I like the new Equalizer layer. Maybe at a few more options like CEE.
I'll test the Ambilight layer a little bit more. At first try, it looked to bright.
Thanks for this awesome software and everyone who participated. :+1:

Layers are great and it is a big step. But I have some more propositions for future.

I feel like scripts should be as layers too, somethings like Script layer type.
One more nice to have feature is ability to overlap profiles or maybe make layer across several profiles.
I have my default colors/scripts in desktop profile and I want some game profile to add functionality when game running instead of replacing it. In addition it will allow to have one script instance across profiles, if scripts will be as layers.
Of course this I can do now by copy/pasting things in every profile, but it feels like it's not as it should be. It's a workaround.
Controls for scripts. Don't know in which way but will be nice.

@bardyspoon I added some instructions for the "No keyboard selected" screen.

@gradius-v That will come later for all layers as a Layer Mask.
@brainbug89 What options exactly do you want to see from CEE?
@VoronFX Script layer was considered, but not added because originally it was going to just run all scripts in one layer. Now that I think about it, we could add a script layer that runs only one script. So users can choose where they go. But first I would like to see how general public likes the layers. If they don't, then it won't work out. For profile over/underlays see: https://github.com/antonpup/Aurora/issues/287#issuecomment-269852531 As for settings for layers, will have to see what we can come up with.

@brainbug89 What options exactly do you want to see from CEE?

More color effects like Rainbow (with direction) and Defined Rows and maybe Db and frequencies settings.

@brainbug89 Took me a bit of time. But here you have it!
The bar width is automatically scaled based on the number of frequencies. The frequencies are automatically sorted from lowest to highest (to avoid broken power bars).

And the default for comparison

Also, the way I set up EQ power bars is to sample between each defined frequency. So with default, 1st bar is between 60 - 170 Hz, 2nd is 170 - 310 Hz, etc... So instead of looking at information at a specific frequency, I also take a look around to get a bit more "vibrant" values.

@antonpup wow you're awesome! :smile:  Now I only want more color options.
I could recreate the Defined Rows with Gradient (Vertical)

What I would like to see now is the moving Rainbow. So please add the animation options (Translate X and Y) from the Gradient Layer to the View Type: Gradient (Horizontal).

@brainbug89

What I would like to see now is the moving Rainbow. So please add the animation options (Translate X and Y) from the Gradient Layer to the View Type: Gradient (Horizontal).

If I am adding options like these to several layers, I might as well make them into a universal control that I can stick everywhere without repeating code. I will do that at a later point.

I'm not sure if this is an issue with cooler master keyboards implementation or overwatch.  Keys like the change hero button are flickering rather than pulsing.  I'll try and figure out if it broke with my code at some point as I know it used worked but I'll be unavailable for the next few days.

@snichola It's probably flickering because of Color Enhancement.

I've found a bug in the key fade feature. Pressing the Enter key in the numbers block results in the main Enter key lighting up instead. I have a G910 Orion Spectrum, German QWERTZ layout.

Anton said:

Windows doesn't differentiate between Numpad_Enter and Enter

Didn't see that. Logitechs LGS itself can light them up individually with their key fade implementation though.

Because the Logitech driver tells LGS exactly which key was pressed. Aurora however using information from Windows to detect the pressed key and Windows doesn't differentiate between numpad Enter and normal Enter.

Thank you, everyone, for your reports, suggestions, and support! Closing this now. :)


Flash attention does not make memory efficient

I tried to apply both scan_attn and scan_mlp, and these configuration causes more memory consumption.

The context size 2048 is already really small, so memory efficient attention does not make a difference here. Memory efficient attention will be effective when the context length is much larger than the hidden dimension, such as 16k or 32k context. Besides that, in your v3-8 setting, you only have 128GB of memory in total, and the parameters and optimizer states already consume 84GB of them, so I don't see how you can easily train a 7b model with v3-8.

Oh, I tried 1b model with v3-8 now for testing.
So, do you mean that if the context size is larger than like 4096, mem efficient attention will work?

So basically the memory will not grow quadratically with context size, but it will still grow linearly. It is not like if you train a 4k context model, using memory efficient attention will consume less memory than a 2k context model with normal attention.

I got it so you mean that if I train a 4k context model with flash attention, then I can consume less memory than using without flash attention? Is that correct?

I believe that should be the case.

Got it :) let me try with 4096 first.
Will it be good to share this experiment? or did you already test that?

One more thing :)
What if I try to set every scan chunk to be half than current setting? Is that make sense to reduce the mem cost?

@young-geng Found something! :)
I've tried to train model with bf16. And this code line causes more memory consumption.

code: https://github.com/young-geng/EasyLM/blob/1c0de6fa22fcd642496d1d62a8f52db2ea791023/EasyLM/models/llama/llama_model.py#L535

When it calls this function, dtype is ignored which causes increasing memory consumption caused by type conversion from bf16 into fp32.
Now I found this function works in bf16 when I added dtype parameter.

Good catch! Just committed a fix.

@young-geng  I think this issue needs to be reopened because this mem efficient attention doesn't work well both fp32 and bf16.
I've tried to apply 1b llama model (context length was 4096) in v3-8. However, the result was slower than the one without flash attention.
Especially, scan mlp delays training duration more than 10 times.
And, still when I apply flash attention (scan attention only) this consumes more than default training setting.
So, I finally conclude that this applied module should be validated in EasyLM project. (I know the module already tested by googlers)
I'm not pretty sure that this applied flash attention perform better than the current model training process in v3-8.
Maybe this could work when I use larger device like v4-512, but I got only limited resources.
Did you really validate this flash attention or it just added module into llama_model?
Please let me know if I can help you.

I haven't fully tested and optimized it, and that's exactly why the default configuration for using them is set to False. Regarding the slow down, it is expected that when normal attention or MLP fits into memory, using the scanned version would result in slower performance because it prevents XLA from doing some optimizations. Theoretically, it is possible to achieve even better performance than the vanilla one, like how the flash attention CUDA kernel runs faster than the vanilla attention, but this requires low level control over the TPU, which is unfortunately not supported at this time.

Got it! I'm still thinking of testing this module with multi-pods and finding some bottle necks.
I'll keep open this issue to share my updates. :)

I think blockwise attention which PR by @lhao499 is working well. I can see reduced memory consumption when I extend sequence length up 2048 => 4096.
I'll close this issue. Thanks to liu :)


Update readme and add gem badge

The readme is easier to read with a title and badges at the top (instead of hidden at the end). Also svg badges are clearer than png.

thx, looks good


Improvements and refactoring of F# and Interactive

[x] Interactive is also moved to its own namespace
[x] Tensor product added
[x] Magic is applied automatically on package load

Codecov Report

Merging #388 (1704203) into master (131db8b) will decrease coverage by 80.46%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #388       +/-   ##
==========================================
- Coverage   80.46%   0.00%   -80.47%
==========================================
  Files         144     144
  Lines       10888   10890        +2
  Branches     1675    1675
==========================================
- Hits         8761       0     -8761
- Misses       1628   10890     +9262
+ Partials      499       0      -499

Impacted Files
Coverage Δ

...rces/AngouriMath/Core/Entity/Omni/Entity.Matrix.cs
0.00% <0.00%> (-77.31%)
:arrow_down:

Sources/AngouriMath/Core/Domains.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

Sources/AngouriMath/Core/Domains.Classes.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

Sources/AngouriMath/Core/Domains.Definition.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...ources/AngouriMath/Functions/Boolean/Simplifier.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...s/AngouriMath/Functions/Output/Latex.Definition.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...AngouriMath/Functions/TreeAnalyzer/LongDivision.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...ngouriMath/Functions/Output/Latex/Latex.Classes.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...ngouriMath/Functions/Output/ToString.Definition.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

...ouriMath/Functions/ExpressionNumerical.Equality.cs
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 131 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 131db8b...1704203. Read the comment docs.


Add Orleans.StorageProviderInterceptors

I would add a small sample to your Readme

Will do

Added a note and link to sample app as the "small" sample is a bit large.


Support inferring an index signature from 'any'

Fixes #21826
Going with @sandersn 's suggestion.

We have tried to propagate any inferences in the past and that turned out not to be the best solution. why is a subset (index signatures only) of that proposal better?

@ahejlsberg opinion?


fix(guidedtype): add guided work item type for iteration

@vikram-raj fabric8/fabric8-ui:SNAPSHOT-PR-2129-1 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2129-fabric8-planner.badger.fabric8.io

@vikram-raj fabric8/fabric8-ui:SNAPSHOT-PR-2129-2 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2129-fabric8-planner.badger.fabric8.io

@vikram-raj fabric8/fabric8-ui:SNAPSHOT-PR-2129-2 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2129-fabric8-planner.badger.fabric8.io

[test]

@vikram-raj fabric8/fabric8-ui:SNAPSHOT-PR-2129-5 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2129-fabric8-planner.badger.fabric8.io


Enable cgroups v2

What would you like to be added:
With https://github.com/gardenlinux/gardenlinux/pull/205 we have removed cgroup v2 support for compatibility reasons. This should be enabled again.
Why is this needed:
A bunch of interesting features depend on it such as Rootless Kubernetes and more precise memory accounting useful for resource reservations.

The Gardener perspective:
While K8s 1.18 is already EOL,  Gardener CloudProfiles can still contain a Cluster with let's say 1.17 with a later expiration date.
But the machine image version is separately updateable and can be on the latest Gardenlinux with auto-update.
If the next Gardenlinux version would just enable cgroupsv2, then updating a Cluster with K8s < 1.18 to this new Gardenlinux version would break.
I think what Gardener needs is the following:

The CloudProfile should have the option to restrict a MachineImage version to certain Kubernetes versions.

This way we could say in the Cloud Profile: Gardenlinux  --> only >=1.18 K8s version

The Maintenance controller should respect this
Gardener API server Admission plugins should respect it

Ideally there must not be any dependency between the OS and K8S versions.
The os extension is aware of both - k8s and OS version and it can easily configure to fit them.
For example, for k8s >= 1.18 and Garden Linux >318 use cgroup v2, otherwise v1.

I think you need a reboot of the OS to configure the Kernel parameter for cgroupsv1, so that might not work / is not ideal.

After discussion with @MrBatschner:

this should be done in the OS extension
Garden Linux should enable cgroup v2 by default once this is handled by the OS extension

So the OS extension would check for the desired cgroups version to be configured based on the k8s version and change + reboot if necessary?
Has anyone tried rebooting a machine during the bootstrap and knows the delay / other issues it may cause?

FYI: https://deploy-preview-29015--kubernetes-io-main-staging.netlify.app/blog/2021/09/01/qos-memory-resources/

Reopened due to different approach in Garden Linux extension that takes the discussion above into account. See https://github.com/gardener/gardener-extension-os-gardenlinux/pull/63.

I think we can close this. If you think this was a mistake, please re-open.


sc-3628: BasicDetailsSection component

Codecov Report

Merging #395 (744be74) into main (d9c7e3c) will decrease coverage by 7.91%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #395      +/-   ##
==========================================
- Coverage   45.59%   37.68%   -7.92%
==========================================
  Files         231      151      -80
  Lines       11310     2367    -8943
  Branches      606      606
==========================================
- Hits         5157      892    -4265
+ Misses       5220     1302    -3918
+ Partials      933      173     -760

Impacted Files
Coverage Δ

directory/pkg/utils/gzip.go

directory/pkg/gds/client/profile.go

directory/pkg/gds/store/leveldb/iterator.go

directory/pkg/gds/mock.go

directory/pkg/gds/secrets/token.go

directory/pkg/utils/logger/level.go

directory/pkg/gds/admin/v2/client.go

directory/pkg/bff/api/v1/errors.go

directory/pkg/gds/store/index/container.go

directory/pkg/trtl/interceptor.go

... and 70 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 d9c7e3c...744be74. Read the comment docs.


add ppc64le / arm64 support

Fixes #36.
Needs https://github.com/conda-forge/vtk-feedstock/pull/165 and https://github.com/conda-forge/occt-feedstock/pull/63

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Linux failures appear to be because of dependencies on occt and vtk, so this PR will need to be rechecked once those other packages are successfully merged.

Can you use native builds instead of cross compiling?

Can you add gmsh to https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/master/recipe/migrations/arch_rebuild.txt so that the bot will automatically open PRs to all dependencies?


Feature: position macro

created position macro
-- functions the same as position() function for redshift, snowflake, and postgres; strpos() for bigquery

added test model: test_position

updated schema.yml
-- ran and passed all tests

@axelazaid this looks good to me, but I'd like to get https://github.com/fishtown-analytics/dbt-utils/pull/100 merged first so i can see the minimal diff. It looks to me like this branch was branched off of feature/length-macro.


Incompatible properties in the interface of MasonryOptions (columnWidth, transitionDuration)

#According to the documentation of Masonry there are some issues:

Property columnWidth can accept also Element.
Property transitionDuration can also accept number (zero for disabling).

Thanks for submitting this. It has bee merged and 6.2.0 published.


tBTC dapp: MetaMask - RPC Error: The method undefined does not exist/is not available

Description:
Before step 1 of the TBTC minting process an error occurs within the console log:
inpage.js:1 MetaMask - RPC Error: The method undefined does not exist/is not available {code: -32601, message: "The method undefined does not exist/is not available"}
The log file is attached.
Steps to reproduce the behavior:

Go to dapp.test.tbtc.network
Click deposit (takes you to dapp.test.tbtc.network/deposit)
Click “connect to a Wallet” button, then click Metamask, and metamask opens on it’s login page, asking for the metamask password.
The error in the console now appears (before logging into metamask)

Expected behavior:
I did not expect this error message before even having logged into metamask. I don’t believe it is expected or common, since it doesn’t appear on other dapps when metamask is opened to it’s login page.
Environment details:
OS: Windows 10 Pro, Version 1909, build 18363.900, 64-bit
CPU: x64 based
Web Browser: Google Chrome, Version 83.0.4103.116 (Official Build) (64-bit)
Wallet: Metamask (Chrome extension), Version 7.7.9
Additional context:
Console log file is attached
dapp.test.tbtc.network-1594436204181.log

@ironng is this a dup of https://github.com/keep-network/tbtc-dapp/issues/227?

@mhluongo yes! Closing.


Added proptype Proptypes.node to FormSection's component propTypes

I have changed the propTypes of components props in FormSection so that the following bug can be resolved.

FormSection propType doesn't allow React 16 Fragment #3859

I want to contribute further. Looking forward to your comments and feedback. Do tell me if I have missed anything or code of conduct I needed to follow. Thank you.

@erikras @gustavohenke

LGTM

Released in v7.4.0.


MsgPack codec is broken for array of bytes objects

Currently the tests involving the msgpack codec expect broken behaviour where the codec converts an array of bytes objects to an array of str (unicode) objects. Relevant line of code is here:
https://github.com/zarr-developers/zarr/blob/a4d5656e3042216308b03ab7514567139d4004fc/zarr/tests/test_core.py#L985
This is causing problems elsewhere, e.g., https://github.com/zarr-developers/zarr/issues/278#issuecomment-425006955.

Went ahead and added this to the v2.3 milestone so we can track it. Though if we decide to punt on it, we can always re-milestone it.

Thank you, yes forgot I had meant to include this in 2.3.
On Wed, 21 Nov 2018, 18:20 jakirkham<EMAIL_ADDRESS>wrote:

Went ahead and added this to the v2.3 milestone so we can track it. Though
if we decide to punt on it, we can always re-milestone it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zarr-developers/zarr/issues/324#issuecomment-440764200,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAq8QiuUUKOHdei9nm3LtAQoDP8kur1Iks5uxZlkgaJpZM4YRcvI
.


Create a JSON library for tools

As the number of tools is increasing in order to manage to show the tool in a more dynamic way, I would suggest creating a JSON file and store the tool's information inside the JSON objects.
One key advantage of such implementation is that in the future we can show all tools on the first page by looping through the JSON array of tools. Then the contributors just need to update the JSON file and their tool will be shown on the first page automatically.
Suggested Format:
{
  "conversionTools": [
    {
      "title": "Angle Conversion",
      "description": "bla bla",
      "url": "/Angle_Conversion/angleconversions.html"
    }
  ],
}

I would like to work on this feature myself.

Yes its requrired

@negarjf We tried to add dynamic navbar to other pages, but the navbar doesn't gets generated on other pages, it only worked on index.html page. can you please look into it and find the problem or fix it. ✌

@negarjf  Try to reply ASAP.


Add audit

Closes #128. @MartijnR are you ok with this moving forward without #105 for now?
I tried to do this in the least invasive way I could think of. I moved the generation of the meta block to the top so that the audit field could be removed from survey_sheet but those changes to xls2json.py don't look great to me. @dorey @ukanga would be great to get your expert feedback!

Right, this also breaks a whole lot of the tests with fixed structures so there has to be another approach.

@lognaturel What has happened is you have changed the order in which the meta/instanceID is created in the XForm, it now appears first instead of last. To get the tests passing you will need to update all failing tests to match up or maintain the order by leaving the code after for row in survey_sheet: loop.

I lean towards maintaining the order since the alternatives may mean tests in https://github.com/onaio/onadata and https://github.com/kobotoolbox/kobocat will also need to be updated.

The reason I moved it up is because I couldn't think of another good way to make sure audit wasn't both in meta and outside it. It seems it needs to first be identified as something that goes into meta and then removed from survey_sheet. If you like this approach, I'm happy to change the order in the test xml files. But if you all can think of a better way that doesn't require changing the order, do let me know.
One thing I considered is creating an array of meta elements that would be removed from survey_sheet before the survey_sheet loop and then adding them to meta_children. That might be less invasive.

I hadn't noticed your latest message. Yes, maintaining the order sounds better. Let me try what I described with introducing another list.

@ukanga I'm not sure why I didn't go in this direction in the first place! This also gives a very clear path to eventually putting timeStart, timeEnd, etc in the meta block (part of #105). What do you think?

I suppose I missed the fact that this is a meta block field. This seems better.
I think we may still have an issue here, we are likely going to have a user name it any name they prefer and as such we will not have the meta/audit in the meta block. I see now why the settings sheet was being considered for this value.
Should we validate that the user entered audit for both name and type or simply default audit to meta/audit?

The test below does show how you could name the field differently and as a result probably have a different meaning than intended.
self.assertPyxformXform(
    name="meta_audit",
    md="""
    | survey |        |          |       |                     |
    |        | type   |   name   | label | parameters          |
    |        | audit  |   aydit  |       |                     |
    """,
    xml__contains=[
        '<meta>',
        '<audit/>',
        '</meta>',
        '<bind nodeset="/meta_audit/meta/audit" type="binary"/>'],
)

I think the output of that test is correct. Maybe pyxform should output a warning to the user that name is ignored if a name is entered? (or that could be part of #105, I've just added that the bullet points).

I've forced the name to always be audit whether it is specified or not and added tests for those cases.
I propose documenting audit in the XLSForm spec with a blank name column and making it clear that any name specified is ignored (I can do this). I don't see a big need to give the user a warning if the name is replaced although I suppose someone could want to try to force a particular name for downstream analysis. What do you think? I can add one if you'd like @MartijnR or @ukanga.
One other thing that just occurred to me -- should there be some kind of validation in case a user includes audit more than once?

yes, that validation would be good if ODK Validate doesn't accidentally pick that up already. We could not do the warning until we learn that users are often confused about this despite documentation.

Right, there's already a validation for two nodes of the same name and the error message is plenty descriptive, thanks @MartijnR!
@ukanga @dorey This is ready for review. Don't hesitate to let me know if you don't think this is the right approach.

Late to the topic, but I probably would have opted to enforce that the name is one of [None, '', 'audit'] before setting it to 'audit', with an error message if they try to call it something else. Users would figure out pretty quick.
But this PR looks great. Nice, concise, and properly tested! 👍

Thanks, @dorey! I added an error of the form "ERROR: '[row : 2] Audits must always be named 'audit.' The name column should be left blank.'"

Awesome. Alright I think this is good to go!


Cannot use useMDXComponent to generate component.

I am trying to create a blog website for my pet project. I am using contentlayer to handle the blog page content. However, I am running into an error when generating the component from my .mdx files. Please find the complete details below.
Issue Type: Error
Error level: Blocker
Code that is causing trouble: useMDXComponent from "next-contentlayer/hooks"
Content file type: MDX
Version log:

next: ^13.4.2
next-contentlayer: ^0.3.2
contentlayer: ^0.3.1
Link to the troublesome line: here
Link to contentlayer.config.ts: here
Link to repository: here

Error:

Please advise!

Thanks a lot @KaiHiwatari8. To make it easier for me to investigate (and potentially fix) the problem, would you please mind minimizing the repository as much as possible? :pra

Experiencing same issue here as @KaiHiwatari8 with
next: 13.4.4
next-contentlayer: ^0.3.2
content-layer: ^0.3.2
Previously I was fixing it by using getMDXComponent hook instead but this leads to the following. Note that use client cannot be used in this page as we are using server side functions here.

I see what you are trying to do. You need to create new component with use client and import third party library component getMDXComponent. It will works for sure.
For more info, Take a look:  https://nextjs.org/docs/getting-started/react-essentials#third-party-packages
I hope you find your answers.
Happy Coding. 👨🏻💻

@mkalsi25 Your suggestion worked. However, I did not use use client with my component and is working just fine. Thank you.
That being said, the issue I faced, is that a bug?

Thanks a lot for your help @mkalsi25!
@KaiHiwatari8 happy to take a look once you've confirmed there is a bug together with a minimal reproduction repo. 🙏

I think, issue is already resolved. 😉 @schickling


grain init crashes when grain ref has no provider

verify_etag
erlans_grain (236) calls:
             {CbState2, ETag1} = verify_etag(CbModule, Id, Provider, ETag, CbState1),

if the grain either has no provider the variable Provider is bound to undefined, however verify_etag calls Provider:...() even if no provider is provided.

Thanks. I do want it to be that you can run a grain stateful grain with no state (just never return save). I think for this it just needs to match on undefined in verify_etag and not use Provider. Can patch this shortly.

Wait no, I had also thought that not defining behaviour functions like provider would simply mean "use the default"... But then you will always have to have a provider because it must insert the grain to the storage through it.

I'm going to be in the corner over there pretending I understand what you say ;) it sounds good?
Baiscally, the problem was caused by provider/0 not being exprted, not sure what the expected behaviour of that should be but I'm pretty sure crashing in verify_etag is not not.
I could see:

crashing trying to access provider
not crashing and doeing something else?

You are right, the current behavior is definitely wrong. The question is should it accept not being able to save a "stateful" grain or should the lack of exporting provider/0 signal that you want to use the configured default_provider, allowing the grain to not be tied to any particular data store.
Eh, really the question is, should a non-stateless grain be able to activate without a backing datastore.
I'd like the resolving of what provider to use be done with the steps:

Is provider/0 exported?
No, then is the <grain name> listed in the configuration list of providers? (ex, {erleans, [{grain_provider, [{test_grain, postgres_provider}]}]})
No, then what is default_provider configured as?

This way different users are able to configure the same grain to use different backends, but not ony by falling back to the default provider.

Personally I feel enforcing provider would be nice. I know that's a lot about taste but I always find it confusing when there are multiple ways to configure something instead of a single one. Especially implicit ones instead of explicit ones. Other then my personal distaste for choice, the idea sounds very reasonable ;)


Added medium course

Can you provide some description? What do the changes do and how to test them?

Sometimes you need medium course between buying and selling. Now you can get this by command pbm 100 usd

Closing this due to archiving this repo.


NYTimes has "City1" and "City2" as countyFIPS codes

The last 2 lines of the processed nytimes_infections file begin with "City1" and "City2" in the first field.  I believe City1 corresponds to the "New York City" line in the raw file (with no fips code) and City2 to Kansas City,Missouri (also no fips code).
$ tail -2 nytimes_infections.csv |less -SX
City1,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0, ...
City2,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,  ...

https://github.com/Yu-Group/covid19-severity-prediction/blob/master/data/county_level/processed/nytimes_infections/nytimes_infections.csv

Yeah, since there is no countyFIPS code for these two cities, we use two made-up countyFIPS codes.

Qinyun in our group also highlighted this -- I think a challenge with some of these is that they capture cities differently than counties sometimes,_ though the goal is still to track counties. We can highlight this as one of the challenge in multiple COVID datasets.

If the goal is to track counties, then there are some issues to sort out about entries in either raw files with "city" or "City."   For example, Baltimore county (fips 24005) and Baltimore City (fips 24510) are both in both files.


A lot of ._ files in volrender/sphere-cuboid

What is the need for the ._ files in volrender/sphere-cuboid. They are Mac OS specific and don't need to be in a repo.

You're right. I need to clean that up... Hope the program is working for you, though.


Adding ability to only run certain percentage of requests

Use what XHGui is using as well as what's in the original XHProf project.  Could probably just add something like this into the config file.  Useful when you want to run this profiling in a production environment.
if(rand(0,100) == 42) {
  //Run profiler
}

This is already possible using a xhprof.inc.php placed within the app beeing profilled.
We search this file like apache searches for a .htaccess all the tree up.
It just needs to contain something like
return array(
  'enabled` => rand(1, 100) == 42,
  // ...
);


Next.js is missing as dependency

This morning I tried to run yarn with the result "command next is not defined".
npm install yarn

did the trick. You might want to add it as dependency.

Yarn is not necessary for running the project; the same can be achieved with npm install + npm run dev, so perhaps it shouldn't be part of the dependencies. What do you think, @bonndan?

My point is that next appears to be missing as dependency.

I have cloned the repo into a new directory and the error was gone. Most likey it was my fault. You can close the issue.


Strange behavior with the reload

Hi @ospfranco , when I reload I get these strange behaviors:

Audio I was listening to can no longer be seen below
Standard applications are not shown

To return to how I was before I have to close the app (esc key) and reopen it.
https://user-images.githubusercontent.com/20476002/159160854-403d3ec4-a1a0-48a2-b373-bd07d9352207.mov

yes, the app loads the native queries when the onShown listener is called, doing a hard reload causes the cache to be emptied, this is only an issue while developing the app


Move hasCpSettings and hasCpSection to plugin class

Removes these settings from composer.json and instead defines them with public properties on the Plugin class. The Composer route has caused some confusion and using class properties is a bit more straightforward.

Nice work @mattstein! Should help cut down on confusion for beginners. 🍺

Thank you sir!


Classloader choice for validating Source/Sink

Motivation
Sources and Sinks can be either nars or jars. When we do validation, we need to load these jars/nars to check for input types, etc. We really have no way of knowing whether which classloader we need to use. The current logic of using a regular class loader if classname is specified is not the right one.
This pr tries both the regular and nar classloaders before settling in on one.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?


Typo fix for referral panel

*disclaimer: First time contributing here. I have absolutely no idea if I should be the one doing this or if it actually works, because the instructions in the README file don't seem to be working (and the CONTRIBUTING file is nonexistent) - so sorry in advance if I messed up something here

Thanks for the PR @VukAnd! You are right that we don't do a good job of a contributing guide.


deb-get missing information of github package deborah

Expected behavior
deb-get update succeeds in updating the entire catalog.
Actual behavior
deb-get update fails to update the cache for anything past "deb-get" except for lutris and neovim which I had already installed manually from other sources.
Error Message:
[!] ERROR! Missing required information of github package deborah:
URL=
VERSION_PUBLISHED=

Output of ls -l /var/cache/deb-get
total 10248
-rw-r--r-- 1 root root   13395 Feb 14 19:14 agena.html
-rw-r--r-- 1 root root   33240 Feb 14 19:14 android-messages-desktop.json
-rw-r--r-- 1 root root  249694 Feb 14 19:15 antimicrox.json
-rw-r--r-- 1 root root  635637 Feb 14 19:15 appimagelauncher.json
-rw-r--r-- 1 root root    3947 Feb 14 19:15 azuredatastudio.json
-rw-r--r-- 1 root root  871900 Feb 14 19:15 balena-etcher-electron.json
-rw-r--r-- 1 root root   33687 Feb 14 19:15 bat.json
-rw-r--r-- 1 root root    6323 Feb 14 19:15 battery-monitor.json
-rw-r--r-- 1 root root   48866 Feb 14 19:15 beersmith3.html
-rw-r--r-- 1 root root  621056 Feb 14 19:14 bitwarden.json
-rw-r--r-- 1 root root   22173 Feb 14 19:15 bitwig-studio.html
-rw-r--r-- 1 root root   31616 Feb 14 19:15 blockbench.json
-rw-r--r-- 1 root root   93311 Feb 14 19:15 bluejeans-v2.html
-rw-r--r-- 1 root root   49658 Feb 14 19:15 bottom.json
-rw-r--r-- 1 root root   29404 Feb 14 19:15 brisqi.json
-rw-r--r-- 1 root root  702497 Feb 14 19:15 caprine.json
-rw-r--r-- 1 root root 6146359 Feb 14 19:15 codium.json
-rw-r--r-- 1 root root  203702 Feb 14 19:15 com.github.tkashkin.gamehub.json
-rw-r--r-- 1 root root  235821 Feb 14 19:15 cosign.json
-rw-r--r-- 1 root root   45151 Feb 14 19:15 croc.json
-rw-r--r-- 1 root root   25360 Feb 14 19:15 cronopete.html
-rw-r--r-- 1 root root    4852 Feb 14 19:14 crossover.html
-rw-r--r-- 1 root root   15550 Feb 14 19:15 dbeaver-ce.html
-rw-r--r-- 1 root root    8012 Feb 14 19:15 deadbeef-static.html
-rw-r--r-- 1 root root  129242 Feb 14 19:15 deb-get.json
-rw-r--r-- 1 root root   91702 Feb 14 19:15 deborah.json
-rw-r--r-- 1 root root   37346 Feb 14 19:15 gh.json
-rw-r--r-- 1 root root    4182 Feb 14 19:15 lutris.json
-rw-r--r-- 1 root root   29714 Feb 14 19:15 neovim.json
-rw-r--r-- 1 root root     345 Feb 14 19:40 supported_apps.list
-rw-r--r-- 1 root root     496 Feb 14 19:40 supported.list

Steps to reproduce
Performed a deb-get update then a deb-get upgrade
System information
Run the following a paste the output below:
/etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

/etc/lsb-release
cat: /etc/lsb-release: No such file or directory

deb-get version
0.3.7

deb-get update
  [+] Updating /etc/deb-get/01-main
/etc/deb-get/01-main.repo               100%[=============================================================================>]   2.70K  --.-KB/s    in 0s
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  102k  100  102k    0     0   111k      0 --:--:-- --:--:-- --:--:--  111k
/etc/apt/sources.list.d
  [+] Updating cache of supported apps in the background
Hit:1 http://mirror.it.ubc.ca/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://mirror.it.ubc.ca/debian bullseye-updates InRelease
Hit:4 http://mirror.it.ubc.ca/debian bullseye-backports InRelease
Hit:5 https://repo.steampowered.com/steam stable InRelease
Hit:6 https://dl.winehq.org/wine-builds/debian bullseye InRelease
Hit:7 https://packages.microsoft.com/repos/vscode stable InRelease
Get:8 https://pkgs.tailscale.com/stable/debian bullseye InRelease
Ign:9 https://proget.makedeb.org makedeb InRelease
Hit:10 https://brinkervii.gitlab.io/grapejuice/repositories/debian universal InRelease
Hit:11 https://apt.benthetechguy.net/debian bullseye InRelease
Hit:12 https://apt.calenhad.com/debian bullseye InRelease
Hit:13 https://deb.librewolf.net bullseye InRelease
Ign:14 https://proget.makedeb.org prebuilt-mpr InRelease
Get:15 https://proget.makedeb.org makedeb Release [7,608 B]
Get:16 https://proget.makedeb.org prebuilt-mpr Release [3,494 B]
Fetched 17.1 kB in 2s (9,277 B/s)
Reading package lists...  [!] ERROR! Missing required information of github package deborah:
URL=
VERSION_PUBLISHED=

  [+] neovim (0.4.4-1) has an update pending. 0.8.3 is available.

This is related to (and may be fixed by ) #756 if my codename checking suggestion is included there or separately.
Of course the other fix is for @ymauray to make debian releases as well as ubuntu ones, but that's not a general solution to the general problem.

Thank you @philclifford that's a great fix! I'll try it out.

Strange:  I just did an update ( using 0.3.7 on ubuntu) and had a package "fail" but the update completed in spite of the error and the upgrade was successful.  I'll see if I can replicate on debian 11.
(Sadly the package "fail" was transient while upstream was releasing so I'll also need to manufacture a "fail" but that's already in the armoury so ... )

BTW: ( for anyone playing along )

you can export DEBGET_CACHE_RTN=1 to reduce the cache live time to a minute or put it up above the default 60 .(e.g. export DEBGET_CACHE_RTN=240 for when you don't want to update the cache but are banging away at a 99-local.d override until  show and update look good enough)
deb-get cache will list the cache directory
deb-get clean will clear out the cache (sometimes helpful but shouldn't be needed normally and removes useful diagnostics when troubleshooting so at least save the output of  deb-get cache and maybe save a copy of relevant cache files and deb-get show <app> [<app>]   before a clean

OK, I think after a bit of playing around on debian and I may have a fix for this (and related unsupported arch behaviour) :point_up:
@p4p4j0hn the only other thing I needed for this to be working for me was to clear out any PPA repos that I'd managed to get into /etc/apt/sources.list.d/*list (I had a firefox-esr entry in there which caused me problems).  Hopefully this will work better for you too.

@philclifford It updates the cache beautifully on Debian 11 with this PR. Great work! :100: Hope this makes it in soon.

BTW: ( for anyone playing along )

you can export DEBGET_CACHE_RTN=1 to reduce the cache live time to a minute or put it up above the default 60 .(e.g. export DEBGET_CACHE_RTN=240 for when you don't want to update the cache but are banging away at a 99-local.d override until  show and update look good enough)
deb-get cache will list the cache directory
deb-get clean will clear out the cache (sometimes helpful but shouldn't be needed normally and removes useful diagnostics when troubleshooting so at least save the output of  deb-get cache and maybe save a copy of relevant cache files and deb-get show <app> [<app>]   before a clean

Hi,
This trick works for me. This must be integrated in the normal release of deb-get. I don't understand why deborah is downloaded in cache and, the file broken too.
Here using Debian 12.


[v2] Contacts List

@J05HI there is an Indexed List plugin for this. I'll consider adding this functionality to the core #1674

@nolimits4web
Great, thank you very much!!!


How to open IE driver Using Opentest

Need a sample of actor for IE driver  please help

Use this in the selenium section of your "actor.yaml":
# ...

selenium:
    # seleniumServerUrl: http://<IP_ADDRESS>:9515
    desiredCapabilities:
        browserName: ie
        ieOptions:
            args: [ --start-maximized ]
    ieDriverExePath: C:/Program Files/Internet Explorer/IEDriverServer.exe
    ieDriverExeArgs: [--start-maximized, --ignore-certificate-errors]

# ...

Close this Issue please.


Stabilize the unstable empty component.

Simply put, making EmptyComponent more flexible. The following 3 parameters can cause EmptyComponent to take different styles.
hideMarginalsOnEmpty
hideHeaderOnEmpty
hideFooterOnEmpty

To solve this follow a way as HeaderComponent or FooterComponent is created. The style we give to renderEmpty or ListEmptyComponent will be one-to-one consistent.
For example;
<BigList
    data={[]}
    renderItem={() => <View />}
    itemHeight={50}
    style={{flexGrow: 1}}
    contentContainerStyle={{flexGrow: 1}}
    renderEmpty={() => {
        // It cannot fill the page. This situation has been corrected.
        return (
            <View style={{flexGrow: 1, backgroundColor: 'red'}} />
        )
    }}
/>

Correction of the previously closed issue: https://github.com/marcocesarato/react-native-big-list/issues/83

@marcocesarato can you check?


shell/CLI: make the "filename" argument optional

The duckdb CLI tool turns out to be very handy to quickly extract some statistics from CSV files (with read_csv_auto) from the command line for example.
This kind of operations can be fully done in-memory and doesn't require persisting a file to disk, but the CLI tool still requires a "FILENAME" to be given as first argument, and otherwise opens an interactive subshell instead of executing the SQL statement given as second argument.
This mandatory argument should perhaps be made optional instead.

Ha, that's a nice use case we have not thought of. We use the sqlite shell unmodified, but there are two options to achieve what you describe
1: stdin:
echo "select * from read_csv_auto('test.csv')" | ./duckdb
2: special db file name `:memory:"
./duckdb ":memory:" "select * from read_csv_auto('test.csv')"
You could make an alias in your shell for this as well