Propagation of service status design guidance

Description
I'm submitting a ...

question

If your app used a WebSocketService agent, and several components needed to know as a connection is established or not, would you have those components subscribe to notifications from the WebSocketService agent, or would you have the app component alone subscribe to those notifications and pass the data down through the component tree as properties?

I think that this choice would be up to personal preference, as either would work, but were I to choose, I would have the root component connect to the agent, and pass the connected status down the tree.
I would justify this choice because:
A. There is less code to maintain, instead of setting up callbacks and messages for every component, you can just pass a boolean via props.
B. You don't have a guarantee about the order your components will receive the connect/disconnect messages, so multiple render cycles may be invoked instead of just once.

Which example(s) would you recommend the review of for learning about the 'props' feature?  I've not used it yet and I'd like to try your suggestion.

https://github.com/DenisKolodin/yew/blob/master/examples/custom_components/src/button.rs should get the idea across. Most everything in that example uses some props passing, although wrapping <button></button> is probably the most obvious use of that pattern.
Basically, unless you are doing something reasonably complex or you really want to avoid a re-render, its usually a safe bet to make the change() method perform the same as create(), only in a mutating fashion instead of in an initializing fashion. Then return true to cause the component to re-render.
For components with large props lists and other services or agents, it may make sense (although I haven't adopted this myself) to have something like the following:
pub struct ComponentA {
    services: AServices,
    agents: AAgents,
    props: AProps
}

and have the change() method contain the logic:
fn change(&mut self, props: AProps) -> ShouldRender {
    if self.props == props {
        false
    } else {
        self.props = props;
        true
    }
}

The component which is interested in the connection status is nested several components deep in the tree.  Is it possible to pass updated 'props' from the app component which is subscribed to the WebSocketService agent down to the interested component without each intermediate component having to persist the 'props' to its struct?

Yeah, the connection status would have to be passed down through all of nodes in the component tree to reach the relevant children, which depending on how many layers you have, could be tedious.
Without trying to be dogmatic, I think good ground rules for Prop use vs Agent use with networking inputs would be:

If you have 3 or fewer components that need the information, use Agents/callbacks.
If you have 4 or more, find the lowest common ancestor in the tree, get the value from an Agent there, and pass the value via Props.
If the majority of your major components need the information, get the value from the Agent in the Root node and pass via Props.

Thanks for the recommendations.  Do you know of an example which demonstrates how to pass properties through 2+ components?
IIUC the process would be:

App component passes properties to child component in view function.
Child component persists properties to state in create and change functions.
Child component passes properties to target component in view function.
Target component persists properties to state in create and change functions, and makes use of properties.

Is that correct?  Should I know anything further?

I can't think of an example where this is used. but you appear to have the correct idea about how to go about doing that.

Is the syntax of the following view code correct for passing a properties struct with its defaults applied?
let props = MyProps::default();
html! {
    <MyComponent: with props,/>
};

You can omit the with props, if you want to use the default. The with props syntax is relatively new. Before, you had to name the property values that you wanted to manually specify. All of the others would be what was defined in the Props::default() function. You can either manually specify or use the with props syntax now.
So if you don't care about setting any of the properties for a child component, just use <MyComponent: /> and the defaults will be applied automatically.

Thank you @hgzimmerman.

I've tried that but then they never seem to change on a re-render.

@kjeremy If you provide more information I'll try to help.


python3Packages.pandas: speed up build

Description of changes

Speed up the pandas native code build.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build python3Packages.pandas

Hmmmm, maybe staging is more fitting target branch?

yeah, this should go to staging and https://github.com/NixOS/nixpkgs/pull/169569#discussion_r855275075

Thanks all, see https://github.com/NixOS/nixpkgs/pull/169569#discussion_r856088875.


Nevergrad is outdated

The specified nevergrad version (nevergrad==0.1.4) is a bit outdated.
Would it be possible to bump up the nevergrad version to 0.4.x? This would require some changes in the example code, as the API has changed since.
UPD: I guess, this can also be done by specifying a nevergrad version in the requirements.txt. Please close the issue if this approach to "upgrade" a package is supported.

I will add this to the server side issue list for an upgrade to the nevergrad version. Since, adding nevergrad to the requirements list is a workable solution for now, I will close this here.


Repetition of the data source Problem

Hi @haesleinhuepf, it was interesting that I just found in our database, we have two data sources which names are the same: "FAIR data handling for microscopy: Structured metadata annotation in OMERO":
https://github.com/NFDI4BIOIMAGE/training/blob/e9aeac1a7738c2b7497406af00b0923f4b7f5065/resources/nfdi4bioimage.yml#L312
https://github.com/NFDI4BIOIMAGE/training/blob/e9aeac1a7738c2b7497406af00b0923f4b7f5065/resources/nfdi4bioimage.yml#L2580
would you mind help me also check it, their url is the same but the description is a little different

Can your remove both from the database and submit a new Github issue with the zenodo link as descritiption only? Our github action will then automatically find the correct meta-data and send a pull-request. Thanks!


Can't focus the search field in a Boostrap modal

The search field seems to focus/blur continuously.
Here is a fiddle (using 3.4.1 thought a CDN) but I faced the same issues using the master branch:
http://jsfiddle.net/xRnCN/

@laurentdinclaux thank you for the hack.
My users expect to use esc. to cancel the modal, hope to see a fix in future releases for select2.

Nothing yet?

The correct solution is to make select2 append its tags inside modal dialog: https://stackoverflow.com/a/33884094/917476


Add basic QC

As noted in #41 it would probably be useful to do some basic QC using stats that are already, or can easily, be calculated. This will avoid potentially costly or erroring database creation/assigning attempts.
Suggestions:

Genome length outliers (by Tukey criterion?) - can be done before fit
Overall distance outliers - between mash dist and regression

I think the distance outliers makes sense, because sometimes there’s just a rogue sample from another species that is nevertheless well-assembled – we could have a “—dist-threshold” cutoff perhaps, at ~0.25 (maybe too conservative)? I suppose this would just be the mean of each sample’s distance to all other samples? This would probably make sense both at the database building stage and the querying stage, just so staphs don’t start forming their own strain within the pneumo database, for instance…
Alternatively, we could look at what pathogen.watch has implemented, unless those metrics are species-specific?
From: John Lees <notifications<EMAIL_ADDRESS>Reply-To: johnlees/PopPUNK <reply<EMAIL_ADDRESS>Date: Wednesday, 6 February 2019 at 22:27
To: johnlees/PopPUNK <PopPUNK<EMAIL_ADDRESS>Cc: Subscribed <subscribed<EMAIL_ADDRESS>Subject: [johnlees/PopPUNK] Add basic QC (#42)
As noted in #41https://github.com/johnlees/PopPUNK/issues/41 it would probably be useful to do some basic QC using stats that are already, or can easily, be calculated. This will avoid potentially costly or erroring database creation/assigning attempts.
Suggestions:

Genome length outliers (by Tukey criterion?) - can be done before fit
Overall distance outliers - between mash dist and regression

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/johnlees/PopPUNK/issues/42, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APz7Q7rvUGsKGPWAdW9gX4HrJyt-gZvNks5vK1bUgaJpZM4amPT_.


Make more spec changes to match RPM evaluation

Thank you to @juhp for pointers on making forge macros work. I think I have most of it working. Getting the packit parts might still need work.

LGTM


Cannot egress through a static path getting 503 URX and 503 NC cluster not found error while setting up istio-egressateway

i have a application inside my k8s cluster which request to a external application outside the cluster through the istio-egressgateway
And i am getting error 503 URX in the application log
503 NC in the istio-egressgateway log
Application in the k8S requesting : http://<IP_ADDRESS>:80/headers
serviceentry
kubectl apply -f - <<EOF
apiVersion: networking.istio.io/v1alpha3
kind: ServiceEntry
metadata:
  name: res-vm-app-se
spec:
  hosts:
  - mymongodb.somedomain # not used
  addresses:
  - <IP_ADDRESS> # VIPs
  ports:
  - number: 80
    name: http
    protocol: HTTP
  location: MESH_EXTERNAL
  resolution: STATIC
  endpoints:
  - address: <IP_ADDRESS>
  exportTo: ["."]
EOF

virtual service-:
kubectl apply -f - <<EOF
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: res-vm-app-through-egress-gateway
spec:
  hosts:
  - '<IP_ADDRESS>'
  gateways:
  - istio-egressgateway
  - mesh
  http:
  - match:
    - gateways:
      - mesh
      port: 80
    route:
    - destination:
        host: istio-egressgateway.default.svc.cluster.local
        subset: res-vm-app-se
        port:
          number: 80
      weight: 100
  - match:
    - gateways:
      - istio-egressgateway
      port: 80
    route:
    - destination:
        host: mymongodb.somedomain
        port:
          number: 80
      weight: 100
EOF

Gateway-:
kubectl apply -f - <<EOF
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: istio-egressgateway
spec:
  selector:
    istio: egressgateway
  servers:
  - port:
      number: 80
      name: http
      protocol: HTTP
    hosts:
    - "*"  # Match the dummy FQDN
EOF

Destination rule -:
kubectl apply -f - <<EOF
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: egressgateway-for-cnn
spec:
  host: istio-egressgateway.default.svc.cluster.local
  subsets:
  - name: res-vm-app-se
  trafficPolicy:
    tls:
      mode: DISABLE
EOF

logs-:

what namespace is the ServiceEntry in? given exportTo=., if its not in the same namespace as the egress gw Deployment this is expected

i have my istio-egressgateway deployment in istio-system ns.(By default when istio installed)
After i changing the namespaces in gw,ds,vs,and se to istio-system i got that error in the istio-egressgateway log

yes i got it
Working fine thank you !

But in this cluster i have cloud NAT configured so the request comes to my outside application from the NAT ip .
I have another cluster where cloud Nat is not configured with this same configuration of gw,se,ds,and vs i got this error

i want that when i request to a outside application through the egressgateway that ip direct contact to my outside application
OR any alternative of clouud Nat.

Please open this issue
On Tue, 26 Sept 2023, 11:50 am zirain, @.***> wrote:

Closed #47080 https://github.com/istio/istio/issues/47080 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/47080#event-10470468556, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ATOJ6UUJGLCCI6UQSE7FVGDX4JXZFANCNFSM6AAAAAA5CWCUDU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Docker sponsorship and/or alternate container registry options

I manage a few applications using deno, and they are hosted in AWS ECS. The problem I am seeing is that because it has to pull from docker's registry directly using AWS pipelines that are on shared infrastructure, I am easily hitting rate limits causing builds to fail.
I would propose one or more of these if possible:
Go through the process to apply for Docker-Sponsored open source program. This will remove rate limits for all users.
Add publishing to alternate registries to give users options. Having it available via AWS ECR Public Gallery, and/or another public registry like quay.io

I saw the sponsorship showed up on the docker hub page. I thought it may have fixed our problem but I think it might still occur if you aren't authenticated. Having it up on the ECR public gallery would be a benefit for hosting things in AWS as it would pull from within their network and not be rate limited.


✨ message from replication change

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#90  👈
#84 : 4 other dependent PRs (#85 , #86 , #87  and 1 other)
main

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

Join @RTLS and the rest of your teammates on  Graphite


Bloxstrap doesn't clear System Tray icons unless hovered over

This isn't necessarily launcher breaking, but for every instance of Roblox you start (leaving, rejoining, possibly teleporting between games) it drops a new "Bloxstrap" icon into the System Tray.
I'm not sure if this is a Windows 10 specific issue, but I haven't seen any other system tray icon from other apps stay after an application is closed (even if exited by other means other than the system tray).
It might help users to clean up the old system tray icons before creating new ones.

https://github.com/pizzaboxer/bloxstrap/assets/89963996/87ba25e3-7eb5-4cc5-b39a-33c20dae1496

Duplicate of #295.


Provide Feature Flag update API for DBus

Feature Flag definition and its update DBus API provides the mechanism to define and maintain feature flags for Thread over time. Use OTBR_PROTO to turn on/off this change. It is designed to support:

The ground truth of feature flag definition and their suggested default values in case of feature rollback.
API and flag change compatibility between OTBR layer and upper layer.

The flags are defined in proto definition. The proto runtime is more lightweight than DBus' serialization so that we believe it is safe to include it in the library.
The following is the detail definition policy and flag change policy to meet the rollback and compatibility requirements:
/////////////         Definition Policy Guide            /////////////

Every field is optional with a default value. The default value should
allow the feature to behave safe when the upper layer wants to rollback
or doesn't have the flag value (e.g., due to some network config download
error, API version mismatch, etc.). This makes sure that the system can
always rollback to safe status, even in the edge case.
When a feature finishes the rollup and becomes stable, the clear up process
should update the feature flag default value with the rolluped value.

/////////////  Feature Flag & API Evolving Policy Guide  /////////////

Add a new feature flag: add a new field in the proto.
Remove feature flag: mark the field as deprecated. Do NOT delete the flag.
Rename feature flag: if the feature’s semantics are not changed, it is
allowed to rename the field (the tag should not be changed). If the feature’s
semantics are changed, deprecate the field and add a new one.
Divide the flag into 2 flags: deprecate the old feature field, and add 2
new feature fields.
API Compatibility: If the OTBR API is older than the upper layer
API, there are unrecognized fields in the proto and will be ignored. If the
OTBR API is newer than the upper layer API, the field’s default value will be
used as the feature flag value.

Thanks for your review. Updated the code based on your input, and add a OTBR_PROTO flag to better control the compile option. Please help to check.


dask_cudf: scikit-learn API leads to impossible train-time:  ValueError("feature_names mismatch

Same setup as here: https://github.com/dmlc/xgboost/issues/6232#issue-720915573
When running same dataset, but using dask_cudf with only 1 column, keep hitting this error only with dask_cudf:
task [xgboost.dask]:tcp://<IP_ADDRESS>:41213 connected to the tracker
task [xgboost.dask]:tcp://<IP_ADDRESS>:34039 connected to the tracker
task [xgboost.dask]:tcp://<IP_ADDRESS>:41213 got new rank 0
task [xgboost.dask]:tcp://<IP_ADDRESS>:34039 got new rank 1
worker tcp://<IP_ADDRESS>:34039 has an empty DMatrix.  All workers associated with this DMatrix: {'tcp://<IP_ADDRESS>:41213'}
worker tcp://<IP_ADDRESS>:41213 has an empty DMatrix.  All workers associated with this DMatrix: {'tcp://<IP_ADDRESS>:34039'}
distributed.worker - WARNING -  Compute Failed
Function:  dispatched_train
args:      ('tcp://<IP_ADDRESS>:41213')
kwargs:    {}
Exception: ValueError("feature_names mismatch: ['AGE'] ['f0']\nexpected AGE in input data\ntraining data did not have the following fields: f0",)

With the scikit-learn API, this should be an impossible situation to get into during training, yet it always happens.
However, trying to reproduce this outside our application does not lead to the same error:
import pandas as pd
def fun():
    from dask.distributed import Client, wait
    from dask_cuda import LocalCUDACluster

    with LocalCUDACluster() as cluster:
        with Client(cluster) as client:

            import xgboost as xgb
            import dask_cudf

            target = "default payment next month"
            Xpd = pd.read_csv("creditcard.csv")
            Xpd = Xpd[['AGE', target]]
            Xpd.to_csv("creditcard_1.csv")
            X = dask_cudf.read_csv("creditcard_1.csv")
            y = X[target]
            X = X.drop(target, axis=1)

            kwargs_fit = {}
            kwargs_cudf_fit = kwargs_fit.copy()

            valid_X = dask_cudf.read_csv("creditcard_1.csv")
            valid_y = valid_X[target]
            valid_X = valid_X.drop(target, axis=1)
            kwargs_cudf_fit['eval_set'] = [(valid_X, valid_y)]

            params = {}  # copy.deepcopy(self.model.get_params())
            params['tree_method'] = 'gpu_hist'

            dask_model = xgb.dask.DaskXGBClassifier(**params)
            dask_model.fit(X, y, eval_set=kwargs_cudf_fit.get('eval_set'),
                           sample_weight_eval_set=kwargs_cudf_fit.get('sample_weight_eval_set'), verbose=True)

if __name__ == '__main__':
    fun()

gives
task [xgboost.dask]:tcp://<IP_ADDRESS>:41361 connected to the tracker
task [xgboost.dask]:tcp://<IP_ADDRESS>:40851 connected to the tracker
task [xgboost.dask]:tcp://<IP_ADDRESS>:41361 got new rank 0
task [xgboost.dask]:tcp://<IP_ADDRESS>:40851 got new rank 1
worker tcp://<IP_ADDRESS>:41361 has an empty DMatrix.  All workers associated with this DMatrix: {'tcp://<IP_ADDRESS>:40851'}
worker tcp://<IP_ADDRESS>:41361 has an empty DMatrix.  All workers associated with this DMatrix: {'tcp://<IP_ADDRESS>:40851'}
/home/jon/minicondadai/lib/python3.6/site-packages/distributed/client.py:4773: RuntimeWarning: coroutine 'Client._close' was never awaited
  c.close(timeout=2)
/home/jon/minicondadai/lib/python3.6/site-packages/distributed/client.py:4773: RuntimeWarning: coroutine 'Client._close' was never awaited
  c.close(timeout=2)

However, I'm still reporting since clearly it should be impossible to happen with the sklearn API that we are using.
Inside the application where this example is used, we have many more imports, so there may be some conflict, similar to the "dill" issue I posted before.  But this seems to be more relevant to xgboost proper.
While I try to find a MRE, do you have any advice or thoughts?
Also, this only happens on a multi-GPU machine.  The exact code in our application on a single-GPU machine runs through just fine with dask_cudf without such problems.
@teju85

FYI this problem does not occur if I just call:
dask_model.fit(X, y, verbose=True)

So it seems to be a problem with the eval_set.
However, I confirmed that before calling the fit with eval_set that the dask_cudf frame .columns has the expected 'AGE' column.

The other odd message is that the Dmatrix is empty, and this shows up in the attempted MRE example above as well.
Neither the training data or eval_set are empty frames.

As an aside, related to using dask_cudf, the same example sometimes fails in other ways:
Exception in thread Thread-437:
Traceback (most recent call last):
  File "/home/jon/minicondadai/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/home/jon/minicondadai/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/jon/minicondadai/lib/python3.6/site-packages/xgboost/tracker.py", line 326, in run
    self.accept_slaves(nslave)
  File "/home/jon/minicondadai/lib/python3.6/site-packages/xgboost/tracker.py", line 271, in accept_slaves
    if s.cmd == 'print':
  File "/home/jon/minicondadai/lib/python3.6/site-packages/xgboost/tracker.py", line 271, in accept_slaves
    if s.cmd == 'print':
  File "/opt/pycharm-community-2017.2.3/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 399, in process_command
    self.process_net_command(self.global_debugger_holder.global_dbg, cmd_id, seq, text)
AttributeError: 'function' object has no attribute 'process_net_command'

Socket RecvAll Error:Connection reset by peer, shutting down process

As well as:
 Traceback (most recent call last):
   File "/data/jon/miniconda3/models.py", line 100, in cudf_fit
     sample_weight_eval_set=kwargs_cudf_fit.get('sample_weight_eval_set'), verbose=True)
   File "/home/jon/miniconda3/lib/python3.6/site-packages/xgboost/dask.py", line 828, in fit
     evals=evals, verbose_eval=verbose)
   File "/home/jon/miniconda3/lib/python3.6/site-packages/xgboost/dask.py", line 459, in train
     workers=workers)
   File "/home/jon/miniconda3/lib/python3.6/site-packages/distributed/client.py", line 1779, in map
     actors=actor,
   File "/home/jon/miniconda3/lib/python3.6/site-packages/distributed/client.py", line 2590, in _graph_to_futures
     "tasks": valmap(dumps_task, dsk3),
   File "cytoolz/dicttoolz.pyx", line 181, in cytoolz.dicttoolz.valmap
   File "cytoolz/dicttoolz.pyx", line 206, in cytoolz.dicttoolz.valmap
   File "/home/jon/miniconda3/lib/python3.6/site-packages/distributed/worker.py", line 3354, in dumps_task
     return {"function": dumps_function(task[0]), "args": warn_dumps(task[1:])}
   File "/home/jon/miniconda3/lib/python3.6/site-packages/distributed/worker.py", line 3318, in dumps_function
     result = pickle.dumps(func)
   File "/home/jon/miniconda3/lib/python3.6/site-packages/distributed/protocol/pickle.py", line 51, in dumps
     result = cloudpickle.dumps(x, **dump_kwargs)
   File "/home/jon/miniconda3/lib/python3.6/site-packages/cloudpickle/cloudpickle_fast.py", line 102, in dumps
     cp.dump(obj)
   File "/home/jon/miniconda3/lib/python3.6/site-packages/cloudpickle/cloudpickle_fast.py", line 563, in dump
     return Pickler.dump(self, obj)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 409, in dump
     self.save(obj)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/site-packages/cloudpickle/cloudpickle_fast.py", line 745, in save_function
     *self._dynamic_function_reduce(obj), obj=obj
   File "/home/jon/miniconda3/lib/python3.6/site-packages/cloudpickle/cloudpickle_fast.py", line 687, in _save_reduce_pickle5
     save(state)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 739, in save_tuple
     save(element)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 824, in save_dict
     self._batch_setitems(obj.items())
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 850, in _batch_setitems
     save(v)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 824, in save_dict
     self._batch_setitems(obj.items())
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 850, in _batch_setitems
     save(v)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 524, in save
     self.save_reduce(obj=obj, *rv)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 637, in save_reduce
     save(state)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 824, in save_dict
     self._batch_setitems(obj.items())
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 850, in _batch_setitems
     save(v)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 524, in save
     self.save_reduce(obj=obj, *rv)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 637, in save_reduce
     save(state)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 824, in save_dict
     self._batch_setitems(obj.items())
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 850, in _batch_setitems
     save(v)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 824, in save_dict
     self._batch_setitems(obj.items())
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 850, in _batch_setitems
     save(v)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 524, in save
     self.save_reduce(obj=obj, *rv)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 637, in save_reduce
     save(state)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 824, in save_dict
     self._batch_setitems(obj.items())
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 850, in _batch_setitems
     save(v)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 784, in save_list
     self._batch_appends(obj)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 811, in _batch_appends
     save(tmp[0])
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 524, in save
     self.save_reduce(obj=obj, *rv)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 637, in save_reduce
     save(state)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 476, in save
     f(self, obj) # Call unbound method with explicit self
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 824, in save_dict
     self._batch_setitems(obj.items())
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 850, in _batch_setitems
     save(v)
   File "/home/jon/miniconda3/lib/python3.6/pickle.py", line 497, in save
     rv = reduce(self.proto)
 TypeError: can't pickle _thread.RLock objects

The latter pickle issue was more wild.  It was as if loggers from global space were trying to be pickled (i.e. when dask cache was not found and went to pickle things).  I traced through but didn't understand why dask would be doing that.

Also perhaps relevant, the empty dmatrix message is wrong in that if one asks the shape of the computed frame, it is some number of rows by 1 column, but the _meta attribute suggests it is an empty dataframe with 1 column.  It still has 'AGE' there, but just saying the emptiness is wrong and could impact something.

Also perhaps relevant, the empty dmatrix message is wrong in that if one asks the shape of the computed frame

The empty DMatrix just means empty on specific worker.  Dask does not balance the dataset among workers perfectly so some of them can be starving.  On latest xgboost with reg/cls models you can safely ignore the warning if you don't care about performance at the moment (balanced is better).  With ranking/survival this warning is real.

The mismatched feature name is new to me.  I will try to reproduce it on my end.

AttributeError: 'function' object has no attribute 'process_net_command'

Looks like something is messing up with Python reflection.  :-(  Any chance you can get the error without pycharm?
As for pickling.  I think I need a MRE.  Sometimes It's hard the reason about "why dask is pickling this and that".
Thanks for reporting the errors, this will help smoothing the user experience.  I understand your frustration, but ccould you please break the issue into separated ones?  It's difficult to track with comments mixed together.

Yes, I will break into separate issues once I have some kind of MRE.  At this point I'm putting all things in the same issue because they may be related and could help find an MRE.

     Just somehow still the feature names get nuked.

Is it possible that a worker got a dataframe with some features gone?  Just guessing.

@trivialfis While trying to repro the crash:
I was able to reproduce this feature name issue.
import pandas as pd
def fun():
    from dask.distributed import Client, wait
    from dask_cuda import LocalCUDACluster

    with LocalCUDACluster() as cluster:
        with Client(cluster) as client:

            import xgboost as xgb
            import dask_cudf

            import pickle
            (model, X, y, kwargs) = pickle.load(open("xgbissue6469.pkl", "rb"))
            import dask.dataframe as dd
            X = dd.from_pandas(X, chunksize=5000).persist()
            y = dd.from_pandas(y, chunksize=5000).persist()
            valid_X = kwargs['eval_set'][0][0]
            valid_y = kwargs['eval_set'][0][1]
            valid_X = dd.from_pandas(valid_X, chunksize=5000).persist()
            valid_y = dd.from_pandas(valid_y, chunksize=5000).persist()
            kwargs['eval_set'] = [(valid_X, valid_y)]
            model.fit(X, y, **kwargs)

            print("here")

if __name__ == '__main__':
    fun()

xgbissue6268.zip
Don't let the inner name fool you, that's the other issue name for the crash.

I think I haven't hit it lately because I made sure to always have at least 1 chunk on each worker.  So maybe it's just bad cascade of errors.

Hmm, training continuation with empty matrix...


Invalid preceding regular expression regex pattern

Tried adding several regex patterns like (?=.[a-z])(?=.[A-Z])(?=.[0-9])(?=.[!@\$%\^&\*])(?=.{8,})
(?=.\d)(?=.[a-z])(?=.[A-Z])(?=.[@$%&*]).{8,} etc but getting fatal error
Found that issue is caused when used ? after (
Can someone help?

I don't maintain this project, but I have worked with it quite a lot.
Both git_grep() and regular_grep() functions in git-secrets script pass the -E flag to use "extended regular expressions". It looks like ERE doesn't support lookaround (what you're referring to as "preceding regular expressions". Have a look at this table (you can pick regex flavors by dropdown) to see for yourself. https://www.regular-expressions.info/refadv.html


Sync full node ,Error: failed to initialize database: file missing

Sync full node ,Error: failed to initialize database: file missing

This needs far more info

This needs far more info

When I upgraded from osmosis 1.0.3 to 3.1.0 to synchronize the full node to a height of 450,000 blocks, I only saw this error reported. Is there any way to see the detailed error?
root@datalake:~# osmosisd start
1:33AM INF starting ABCI with Tendermint
Error: failed to initialize database: file missing


Issue/407/unmarshal correct type

Fixes #407 (partially, see below)
The changes here are used by the SYSL->Go transforms to unmarshal the correct type. The inherent assumption is that there will be a 0..1 return types for OK conditions and 0..1 return types for error conditions.
An internal version of restlib was also updated to make use of this new functionality, this should be folded back in to the public restlib. However, that is outside the scope of this repository.
@anz-bank/sysl-developers

Agree, I'll create an issue. I would rather not have to use Python at all.


The extension is not working in vscodium, though it works in vscode as well as vscode-insiders

Issue Type: Bug
I use this extension for synching my settings, keymaps etc on for vscode. I switched to vscodium but this extension is not working. Settings sync by Shan Khan. ext install Shan.code-settings-sync.
Extension version: 3.2.9
VS Code version: VSCodium 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-13T10:36:20.055Z)
OS version: Linux x64 4.4.0-142-generic

System Info

Item
Value

CPUs
Pentium(R) Dual-Core CPU       T4500  @ 2.30GHz (2 x 2300)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: disabled_offnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: enabled_onvideo_decode: unavailable_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
5.79GB (1.34GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

Duplicate of #668, fixed in v3.3.0

Duplicate of #668


Events Listening to Previous Logs?

Using contract.on somehow returns previous events too. Perhaps the filter is wrong?

Sometimes does not do this, especially if events are from a previous session???


Increase repository limit

I tried latest master (not another branch)
I cannot add an ADR to JabRef/jabref, because of out-of-space excpetion

List ends at "B"

Fixed at #64

Fixed at #64


Could not found benchmark examples

Hi,
In README.md you have mentioned /AigCover/benchmarkExample, which I couldn't found here. I knew due to the capacity limitation, it is not possible to provide full benchmark example here, but I didn't found even a small subset of it. May I request the small subset of the benchmark example? If it is possible, may I request the full benchmarkExample through a downloadable link? Thanks!

Ok, never mind I solved this.


containers: correct cores aggregation in rollups

@miq-bot add_labels providers/containers, metrics, enhancement
cc @blomquisg @Fryguy @gtanzillo @chessbyte

Other than @bdunne comments, looks good to me :+1:

:+1: LGTM  Thanks

cc @blomquisg @Fryguy can you review?


Enable a LoRA After a Specific Frame

First of all, amazing nodes! They work very nicely.
I’m trying to accomplish a specific task: I want to enable a LoRA after a certain frame (and potentially disable it later). I understand that LoRA hooks exist, but I’m having trouble figuring out how to use them. I haven't figured out how to work with keyframing....
For context, I have a workflow with 140 frames, and I want to activate the LoRA after frame 50. Could you please provide guidance on how to set this up?
Thank you!

Welcome to my world. I spent months trying to figure it out but sadly I could not.


it is not possible to run PowerToys as admin, or maybe it is possible, but a notification still requires admin rights

Microsoft PowerToys version
0.55.2
Running as admin

[ ] Yes

Area(s) with issue?
General
Steps to reproduce
I try different ways to run PowerToys as Administrator (using the context menu, and run as administrator; running a command prompt as administrator and execute the PowerToys there).
I am asked, if I wan't to run PowerToys as Administrator, I confirm.
But inside PowerToys I get everywhere the notification that I need run it as Administrator.
Especially I need to disable the conference muting, because after upgrade from Windows 10 to Windows 11 it interferes with default Windows keys. The main issue is: If I press the PowerToy, then sometimes it workes and mutes microphone and / or camera. But next time the windows default key works and I can't enable microphone again. I need to restart the PC. Thats why I need a way to disable the conference muting. Thats why I need to run in admin mode.
✔ Expected Behavior
when running as admin I should be able to use the features, which require admin mode
❌ Actual Behavior
I always get the notification, that I should run PowerToys in admin mode, when I want to change some options.
Other Software
Windows 11

Hi @aisbergde could you describe step-by-step all of the ways you tried to run as admin:

using the context menu
and run as administrator
running a command prompt as administrator and execute the PowerToys there

e.g. opening StartMenu, search for PowerToys, and click Run as administrator works fine for me :

?
I can enable/disable VCM:

also, could you post /bugreport ?
Thanks

in the next step I am asked to grant the rights (but I can't do a screenshot)
Then I get this

Then inside PowerToys I do this

Then I am asked again to grant admin access
Now this is disabled, because finally I am in administrator mode

I can press the "Report bug", but i don't know, if something happens and where the bug file is created. There is no message or information about the place, where a bug report file could be located.

I found them on the desktop
PowerToysReport_2022-02-17-19-08-59.zip
PowerToysReport_2022-02-17-19-07-54.zip

@aisbergde I can reproduce what you described only if PowerToys is already running when I go to start menu -> run as administrator. Are you sure that PowerToys was NOT running when you were trying this ?

maybe there could be some information, that powertoys is already running in this case to not confuse the user, which forgot, that PowerToys was started in the background?

Easiest way to do it is to check System tray:


Update setup.sh to do os detection

Short Description:
used detection method to decide if you want curl or wget
Also removed the install.sh since setup.sh is doing it all and better
Fixes (provide links to github issues if you can):

mac not having wget installed by default
removed install.sh

Is there any different with https://github.com/PokemonGoF/PokemonGo-Bot/pull/3592 ?
There is no need for linux to detect os.

Yes there is a need, since I am making an overhall to also use it for windows and this makes it much more convenient to read later on ;)

Cool but I think windows should have a new setup.bat

but i hate bat :(

Hey, just add another elif choice to avoid repeating lines like
else
exit 0
fi

How would be there any repeating lines?

19-25 28-34 is repeating

No since it needs to match before it can continue it's either 2 to run (and mac needs some more tweaking that's why I made it double for now since I am in a hurry) what you can do is do a PR to my Patch-5 branch and it will update to here too

or actually it might be a bit safer for now and I will need to rewrite the script and do a new pR later on

OK. Keep going. :+1:

Wouldn't it be better to do something like this?
Then it doesn't mater what OS he got and may as well work for more platforms
    if hash wget 2>/dev/null; then
        # using wget
    else
        # using curl
    fi

@jimmywarting Does which or whereis working on mac?

@jimmywarting i would say it's to risky and we have more checks of the same in the sh file (in the install commands) so I would say just keep it as it is and use the same code everywhere.
and yes whereis and which both work an a mac :)
ps removed the install.sh since it's old and outdated

@simonsmh yes, both which & whereis works on mac
but the most up voted answer argue against it... not an expert at bash.
http://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script

if ! [ -x "$(command -v wget)" ]; then
echo 'wget is not installed. Using curl instead'
fi
is it working? this is better

you'll get on a mac:
Wget is not installed. Using curl instead.

so yes it does :1:

OK problem solved. Thx.

if you solved it do a PR to patch 5 from me
@admin please wait until @simonsmh gives the all clear on this PR.

(>_<) add me to contributon thx

Again please if you need any more changes add them to branch patch-5 here so it will reflect here:
https://github.com/nivong/PokemonGo-Bot/tree/patch-5
I have to go now!

OK merge plz.

👍

@solderzzc please merge

@bstpierr or @douglascamata merge please asap

@nivong merge conflicts.

@douglascamata should have been merged before the other merges ;) now I have no idea where the conflict is.... would it be better to close this one and reopen a new one and you can merge that Asap since a lot of changes are happening?

@nivong how can u not know where the conflict is? You do a git pull, then you check git status to know which files have conflict, then you open the file and search for >>> in the source and there is the conflict.

im on my mac not my development PC dont have git on here and github isn't showing it. Otherwise I have to wait until tomorrow

@nivong you are commiting through github.com? lol

When I'm home I only have a  chromebook and my pc is in the office where I
do have git :)
On Aug 11, 2016 21:50, "Douglas Camata"<EMAIL_ADDRESS>wrote:

@nivong https://github.com/nivong you are commiting through github.com?
lol
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/pull/3593#issuecomment-239271435,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC7AeOe4Y1GnQJlYGqF4oUoLVZ3IDXlfks5qe30WgaJpZM4Jh-tK
.

@nivong may I suggest you some stuff?  May I marry you??  This will boost my chromebook to a totally
new level!
On Aug 11, 2016 22:01, "Douglas Camata"<EMAIL_ADDRESS>wrote:

@nivong https://github.com/nivong may I suggest you some stuff? I work
with a Chromebook too: https://github.com/dnschneid/crouton
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PokemonGoF/PokemonGo-Bot/pull/3593#issuecomment-239274378,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC7AeMzieUFzQSZbySqv5phpvIC8m5Weks5qe3-lgaJpZM4Jh-tK
.

@nivong I'm only marrying girls, sorry. 😄

https://github.com/PokemonGoF/PokemonGo-Bot/pull/3662
Does Mac support python2 to run like python2 pokecli.py?
If it does, we should add it to setup.sh.

Yes it does

@douglascamata commented in another PR that using virtualenv would solve the python2 problem.
Waiting on merge conflicts and then we can merge this.

Create another pr?

took some bloody time but i'ts fixed @douglascamata @TheSavior

https://github.com/nivong/PokemonGo-Bot/pull/7 merge plz

i think we just got a new record with most comments in 1 pr :dancer:


Exon count with multiple transcripts

In the query builder how should querying for exon count work if there are multiple transcripts?  Currently it only looks at the first transcript.

I think we should only use the canonical transcript for exon count feature.
This query is mainly used to bin loci, so I don't think it makes sense to include loci twice.
We can document that behaviour.
Maybe we could have some way of identifying those where the exon number is sometimes different?

We can document that behaviour.

As a quick fix perhaps we could change the description to:
Retrieve genes by number of exons in the primary transcript:

https://github.com/pombase/pombase-config/blob/master/website/pombase_v2_config.json#L301

Good idea!

As a quick fix perhaps we could change the description to:

OK, done.

OK, I'll update the documentation to match.
In the longer run, is there much chance that we'll see any demand for it to look at all transcripts, and return genes where any transcript matches the requested number of exons? (I bet there would be for bigger eukaryotes, where alternative transcripts can be a big deal.)

I suppose if you absolutely wanted  transcript  with x exons, it might be useful to search all. However, I don't know if this is a query people would need often, if ever ( I only use it  very occasionally for binning by exon number, which is why I was keen to keep it locus specific). Users have used it to locate genes with many or few introns.
Because most UTR introns are not annotated the numbers are a bit wishy-washy anyway....

Maybe we should change this text in the query builder again: "Retrieve genes by number of exons in the primary transcript"
Because currently it only counts coding exons.  It would be more precise to say:
Retrieve genes by number of coding exons in the primary transcript

Right, I thought we only counted CDS exons, but then I found that RNAs were also included...
This is getting quite confusing :)
It might even be better to treat as 2 separate querries
Retrieve proteins by coding exon count
Retrieve non coding RNA by coding exon count
(not that I should be able to identify and annotate the exons in UTRs if the data is good enough)

Retrieve non-coding RNA by coding exon count

No. We absolutely cannot use this label, because it makes no sense. A non-coding RNA, by definition, has no coding exons.
If someone is interested in any transcript that would get spliced, then all exons should count.
If they're interested in things with more than one coding exon, then UTR exons should not count ... and ncRNAs should also be excluded from results.
This could be presented as two queries or as one query type with an option to restrict to coding exons of protein-coding genes, or not. (I slightly prefer the latter.)

For now, let's just add the query for proteins only.
Retrieve genes by number of coding exons in the primary transcript.
Then we can close this unless anyone asks for more. It is doubtful anyone will, it's a bit of an edge case query option.

This seems to be just a text change?

It needs this code change too:

For now, let's just add the query for proteins only.

This seems to be just a text change?

It needs this code change too:

For now, let's just add the query for proteins only.

Note to self, we need to change to only count coding exons once we query for just for proteins:

Retrieve genes by number of coding exons in the primary transcript.


Hyperterm should run as background process

Thanks to zeit and the hyper community for making a hackable shell terminal. I'm researching & putting together a plugin and .rc collection for hyper, zsh, vi, et all with the bells and whistles.
I get this popup error "Javascript error occurred in the main process" very often when modifying .hyper.js . Can you disable that alert please since it occurs so much and it's not even caused by any errors in hyper.js -- when you restart the app the config file works. Maybe its just this "auto-reload" feature is too aggressive and needs to delay a bit
Second, i've used the overlay and summon plugins, to be able to toggle my terminal with the tilde key. Most common terminals like Tilda and Guake have this feature by default, so its sensible for hyper to include that. Don't rely on third party plugins because these have a bunch of errors. The tilde key ends up not actually opening Hyper half the time because it's crashed. Or in nemo file man the nemo tilde takes precedence over the hyper-overlay.
Hyperterm should always be running from boot and toggle with a key like tilde. Adding it to startup applications isn't a good solution because that actually launches it, I dont want it to be launched. Also when its launched on "startup applications" in ubuntu 17 the font is tiny HDPI, then when you close/open hyper the font size is normal again. Lastly, I often Alt+F4 hyper by reflex to close it or need to close it when a command hangs. Then the plugins / shortcut key no longer work to reopen and restart it. I've had to create another, separate shortcut key for launching Hyper -- i'd prefer if I could use the same key to launch if not running, hide, and show.

@gulakov while I cannot comment on your entire post, I do help maintain hyperterm-summon, which allows Hyper to be summoned on-demand by a hotkey of your choice.
If you have experienced issues with hyperterm-summon, I'm happy to help debug those issues if you will open a relevant issue in the hyperterm-summon issue tracker.


feat: Change state of orders with new offer from partner to Counteroffer Received

This PR resolves [https://artsyproduct.atlassian.net/browse/EMI-2203]
Description
The change here introduces 'Counteroffer Received' which we decide based on 'buyerAction' that is received from MP. For now I bundled the counteroffer states for incomplete orders as those are requiring the same action from the collector.
Ideally we should move this additional 'buyerState' calculation to the server or MP and not repeat the calculation here and in Force but we decided to not do this refactor for now before we discuss more cohesive overhaul of Order/Offer states.
I noticed we are not relying on this 'buyerAction' when displaying the state in Inbox. Instead we repeat the calculation inline and derive the 'kind' variable there. Believe that should be refactored to use 'buyerState' as well. But that is a separate task.

Before
After

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Updates to Order History tab to include 'Counteroffer Received' state

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Cross-platform user-facing changes (Updates to Order History tab to include 'Counteroffer Received' state - oxaudo)

  Generated by :no_entry_sign: dangerJS against 758844ccffe2cc6503efc506a5774390837f890a

Created this story as a follow up: https://artsyproduct.atlassian.net/browse/EMI-2233


JEP 290 - deserialization filters

Although Helidon does not use any Java serialization, we should provide a robust approach to JEP 290
This may include:

[ ] Disable deserialization by default
[ ] Allow custom filters overriding this default
[ ] (maybe) only do whitelisting with blacklist being everything else
[ ] Example with serialization + whitelist
[ ] Blog article

Minimal code to resolve this:
        if (ObjectInputFilter.Config.getSerialFilter() == null) {
            ObjectInputFilter filter = ObjectInputFilter.Config.createFilter("!*");
            ObjectInputFilter.Config.setSerialFilter(filter);
        }

FYI https://openjdk.java.net/jeps/415 (Java 17)


Ionic g page not seting @IonicPage() on create.

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:

When generating a page via CLI it doesn't set the @IonicPage() decorator inside the generated .ts of the component.
Expected behavior:

When creating a new page via CLI it should set the @IonicPage() over @Component so it doesn't throw an error of invalid link for those using Deeplinking.
Steps to reproduce:

Related code:
insert any relevant code here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 7.0.1
Ionic Framework Version: 3.5.2
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 2.0.2
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.2
Xcode version: Not installed

For what I saw,  they removed it from generator.
https://github.com/ionic-team/ionic/pull/12347

@mburger81 oh, haven't seen this, my bad. Thanks 😄 will close this and wait for some news.


Sending many requests error

When I'm trying to scrap site like www.facebook.com - the module automatically sending many requests i don't know where's the wrong

Here's my code

const http = require("http");
const Crawler = require('node-html-crawler');

http.createServer((req,res) => {
    const crawler = new Crawler({
        protocol: 'https:',
        domain: 'www.facebook.com/'
    });
   crawler.crawl();
   crawler.on("data", function (data) {
        console.log(data);
    })
}).listen(3000);

Here's The Image

I set the result to undefined property to show you the error

Hi @zxcvpn, here is an example of working code:
const Crawler = require('node-html-crawler');

const crawler = new Crawler({
    protocol: 'https:',
    domain: 'www.facebook.com', // you have a slash at the end - this is an error
    // this will slow down the process
    limitForConnections: 1,
    timeout: 3000,
});

crawler.crawl();
crawler.on('data', (data) => console.log(data.result.statusCode, data.url));
crawler.on('error', (error) => console.error(error));
crawler.on('end', () => console.log(`Finish! All urls on domain ${domain} a crawled!`));

It's going every where in Facebook not just to the required page and it's cannot stop by him self when it's finished needed page it's continue loading pages from every where


bug: Failed when start vim 8.2

Neovim version (nvim -v)
vim 8.2
Operating system/version
Debian 11
Describe the bug
[string "vim chunk"]:2: attempt to index field 'g' (a nil value) when start vim

Steps To Reproduce

colorscheme carbonfox
start vim

Expected Behavior
correct display theme

It looks like you cant access vim.g which is how globals are checked in lua.
What is the result of trying to call :lua vim.g.nightfox_debug = true ? Does this fail?
Also do you have the help :help lua-vim-variables?

when input :help lua-vim-variables
return "sorry, no help for lua-vim-variables"

It might be that vim.g is only in vim 9.

You are right. i use vim9 is OK.


Newsletters: add 198 (2022-05-04)

[x] [Bitcoin Core #24322][] [kernel 1/n] Introduce initial libbitcoinkernel @glozow
[x] [LND #6064][] config: Add bitcoind.{config,rpccookie} configuration options @bitschmidty
[x] [BDK #557][] add OldestFirstCoinSelection @Xekyo
[x] Everything else @harding

ACK on the LN anchor outputs security issue, thanks for covering this! Maybe you could add a sentence to invite node operators to update if they haven't already?
I haven't reviewed the other topics, I like to keep the pleasure of reading this with my coffee on wednesday ;)

Pushed edits and remaining content and reviewed others' contributions.  Thank you everyone (and sorry I'm so late---I'll do better this upcoming week)!

Great newsletter team! Thank you @harding @glozow @Xekyo and @adamjonas !


Emulation failed

Hi. I tried to do the emulation following ur github and quark's lab blog post but got stuck with some problems.

what I did

chip off the emmc chip and used the uefi socket to get the firmware.
with the partition extractor code I extracted all the partitions and followed the instructions mentioned in github and the blog post. After I extracted the ramdisk and runtime, I used binwalk to extract the files inside. And then I put the runtime folder in rootfs/sx/local/runtime.
My userterminal is version 3 I guess.(rev3_proto2)

and after that I just used the code from your emulator github with no modification
as I executed the emulate.sh file, nothing happens. The cursor just keeps on blinking and that's it.
is there anything that I should do? Also I wish to here specific information about how to tweak the files and etc. Thanks.

Hello,
I'm afraid I cannot disclose more details because that would require me to publish SpaceX's code.
Can you post QEMU's logs? (You should find them in /tmp/qemu.log or you can change the location with the -D  flag)

There's no such file as qemu.log in my directory...Also tried to use the -D option but still ended up nothing in the file. I think the boot loading process just don't seem to start. what environment settings were you using when doing the emulation?

I've figured out the above question. Qemu started booting and I got the following message.
setup_console: Development login enabled: yes

SpaceX User Terminal.
user1 login: cat: can't open '/sys/bus/i2c/devices/5-0055/name': No such file or directory
No rules
enabled 1
failure 1
pid 176
rate_limit 0
backlog_limit 1024
lost 0
backlog 0
backlog_wait_time 60000
enabled 1
failure 1
pid 176
rate_limit 0
backlog_limit 1024
lost 0
backlog 0
backlog_wait_time 60000
enabled 2
failure 1
pid 176
rate_limit 0
backlog_limit 1024
lost 0
backlog 0
backlog_wait_time 60000

it won't seem to go beyond this step. could you give me some advice? thanks

Hello, I'm sorry for the late replies.
Can you first post some details about the previous problem and how you solved it?
This is useful for future readers and maybe I'll spot something that could help solve the current problem.

What should I add to this file? (by the way, where can I get the lines below?

Actually, it should work fine with the provided DTB, but for the sake of clarity here is how you can extract it from the dish:

The DTBs for the different hardware revisions can be found in the Linux partition.
This partition is an ECC-protected FIT image
In order to be able to analyze it using standard tools you'll need to remove SpaceX's ECC data, you can do this using this script
After doing the previous step you should find yourself with a FIT (Flattened uImage Tree), this can be "extracted" using this tool from uBoot
From this you can extract the different versions of the DTB and you can "decompile" it to DTS using the Device Tree Compiler (dtc) from Linux

From there you can see how I merged the two DTSs (the original one and the one used by QEMU for the virt machine).
From your kernel logs, it looks like the kernel cannot find the root device and also that the device I was using (/dev/ram) is not present in your case, so maybe your QEMU version is different than mine...
Have you tried using root=/dev/ram0?
P.S. Before your comment was edited the problem was different, and it looked like the kernel was able to find the root device in that case, what have you changed?

Thanks for the reply :) As you have mentioned I found my rev3_proto2 image and decompiled it to get the infromation init. but  I stiil couldn't find the parts above in that too. could you give me some more advice about it?
This is what I did.

first of all, my working environment is...
host : macbook 15 intel
guest : vmware fusion ubuntu 22.04

I have been working on ubuntu on vmware fusion but in that environment, when I execute the emulate.sh file, the cursor just keeps on blinking and nothing happend. At first I thought that there was a problem with my device flattened tree file or the kernel. but later on I thought it had to be the virtualization environment that is making this issue. So I moved all my working directories to my host pc(macbook) and executed the files there.
However when executing on macbook, I couldn't use the network settings you have set up because the commands are different between mac terminal and ubuntu(the ip command did not work on macbook). So I deleted the network line to excute and I got it working.
And for the last part, I did that by luck and changed the scripts after the trouble so I don't remember how I did it :( I tried /dev/ram0 but it is still not working. I will post the logs at below comment. Thanks.

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.55 (root@ubuntu) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Sun Oct 15 20:10:16 KST 2023
[    0.000000] random: crng init done
[    0.000000] Machine model: spacex_satellite_user_terminal
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] cma: Reserved 32 MiB at 0x00000000bb800000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 27 pages/cpu s73048 r8192 d29352 u110592
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM erratum 843419
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line:
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1843992K/2097152K available (16576K kernel code, 3726K rwdata, 6816K rodata, 8576K init, 413K bss, 220392K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 54831 entries in 215 pages
[    0.000000] ftrace: allocated 215 pages with 6 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv2m: range[mem 0x08020000-0x08020fff], SPI[80:143]
[    0.000000] arch_timer: cp15 timer(s) running at 62.50MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1cd42e208c, max_idle_ns:<PHONE_NUMBER>14 ns
[    0.000082] sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every<PHONE_NUMBER>096ns
[    0.008370] Console: colour dummy device 80x25
[    0.010016] printk: console [tty0] enabled
[    0.011351] Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=62500)
[    0.011573] pid_max: default: 32768 minimum: 301
[    0.012722] LSM: Security Framework initializing
[    0.016020] AppArmor: AppArmor initialized
[    0.018097] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.018184] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.044067] rcu: Hierarchical SRCU implementation.
[    0.048837] smp: Bringing up secondary CPUs ...
[    0.052686] Detected VIPT I-cache on CPU1
[    0.053530] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.059779] Detected VIPT I-cache on CPU2
[    0.059908] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.061444] Detected VIPT I-cache on CPU3
[    0.061806] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.062287] smp: Brought up 1 node, 4 CPUs
[    0.062419] SMP: Total of 4 processors activated.
[    0.062498] CPU features: detected: 32-bit EL0 Support
[    0.062536] CPU features: detected: 32-bit EL1 Support
[    0.062620] CPU features: detected: CRC32 instructions
[    0.212825] CPU: All CPU(s) started at EL1
[    0.213598] alternatives: patching kernel code
[    0.233198] devtmpfs: initialized
[    0.242923] KASLR enabled
[    0.244183] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>275000 ns
[    0.244390] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.249635] pinctrl core: initialized pinctrl subsystem
[    0.271570] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.286183] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.287024] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.287761] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.288015] audit: initializing netlink subsys (disabled)
[    0.290646] audit: type=2000 audit(0.173:1): state=initialized audit_enabled=0 res=1
[    0.295309] thermal_sys: Registered thermal governor 'step_wise'
[    0.295356] thermal_sys: Registered thermal governor 'power_allocator'
[    0.296069] cpuidle: using governor menu
[    0.297336] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.298262] ASID allocator initialised with 32768 entries
[    0.303116] Serial: AMBA PL011 UART driver
[    0.342975] 9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 47, base_baud = 0) is a PL011 rev1
[    0.357066] printk: console [ttyAMA0] enabled
[    0.392479] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.392692] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.392840] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.392981] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.409239] cryptd: max_cpu_qlen set to 1000
[    0.426372] iommu: Default domain type: Translated
[    0.426548] iommu: DMA domain TLB invalidation policy: strict mode
[    0.429014] vgaarb: loaded
[    0.430635] SCSI subsystem initialized
[    0.433507] usbcore: registered new interface driver usbfs
[    0.433987] usbcore: registered new interface driver hub
[    0.434333] usbcore: registered new device driver usb
[    0.436649] pps_core: LinuxPPS API ver. 1 registered
[    0.436817] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti<EMAIL_ADDRESS>[    0.437106] PTP clock support registered
[    0.438037] EDAC MC: Ver: 3.0.0
[    0.443208] FPGA manager framework
[    0.444043] Advanced Linux Sound Architecture Driver Initialized.
[    0.457708] clocksource: Switched to clocksource arch_sys_counter
[    0.544035] AppArmor: AppArmor Filesystem Enabled
[    0.568657] NET: Registered PF_INET protocol family
[    0.570142] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.577101] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.577366] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.577579] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.578050] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.578521] TCP: Hash tables configured (established 16384 bind 16384)
[    0.580158] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.580591] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.581959] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.582521] PCI: CLS 0 bytes, default 64
[    0.588539] Unpacking initramfs...
[    0.595320] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    0.597138] kvm [1]: HYP mode not available
[    0.628011] Initialise system trusted keyrings
[    0.629968] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[    0.640489] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.641312] romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
[    0.641709] 9p: Installing v9fs 9p2000 file system support
[    0.668786] NET: Registered PF_ALG protocol family
[    0.669244] xor: measuring software checksum speed
[    0.673695]    8regs           :  2719 MB/sec
[    0.676234]    32regs          :  4519 MB/sec
[    0.682648]    arm64_neon      :  2227 MB/sec
[    0.682917] xor: using function: 32regs (4519 MB/sec)
[    0.683100] async_tx: api initialized (async)
[    0.683275] Key type asymmetric registered
[    0.683474] Asymmetric key parser 'x509' registered
[    0.683916] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.684411] io scheduler mq-deadline registered
[    0.684586] io scheduler kyber registered
[    0.705304] pl061_gpio 9030000.pl061: PL061 GPIO chip registered
[    0.710889] pci-host-generic<PHONE_NUMBER>.pcie: host bridge /pcie@10000000 ranges:
[    0.711784] pci-host-generic<PHONE_NUMBER>.pcie:       IO 0x003eff0000..0x003effffff -> 0x0000000000
[    0.712672] pci-host-generic<PHONE_NUMBER>.pcie:      MEM 0x0010000000..0x003efeffff -> 0x0010000000
[    0.712910] pci-host-generic<PHONE_NUMBER>.pcie:      MEM 0x8000000000..0xffffffffff -> 0x8000000000
[    0.713619] pci-host-generic<PHONE_NUMBER>.pcie: Memory resource size exceeds max for 32 bits
[    0.714404] pci-host-generic<PHONE_NUMBER>.pcie: ECAM at [mem 0x4010000000-0x401fffffff] for [bus 00-ff]
[    0.715880] pci-host-generic<PHONE_NUMBER>.pcie: PCI host bridge to bus 0000:00
[    0.716707] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.716900] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.717201] pci_bus 0000:00: root bus resource [mem 0x10000000-0x3efeffff]
[    0.717477] pci_bus 0000:00: root bus resource [mem 0x8000000000-0xffffffffff]
[    0.719169] pci 0000:00:00.0: [1b36:0008] type 00 class 0x060000
[    0.723278] pci 0000:00:01.0: [1af4:1000] type 00 class 0x020000
[    0.723673] pci 0000:00:01.0: reg 0x10: [io  0x0000-0x001f]
[    0.723835] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x00000fff]
[    0.724029] pci 0000:00:01.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit pref]
[    0.724279] pci 0000:00:01.0: reg 0x30: [mem 0x00000000-0x0003ffff pref]
[    0.724996] pci 0000:00:02.0: [8086:100e] type 00 class 0x020000
[    0.725151] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x0001ffff]
[    0.725292] pci 0000:00:02.0: reg 0x14: [io  0x0000-0x003f]
[    0.725504] pci 0000:00:02.0: reg 0x30: [mem 0x00000000-0x0003ffff pref]
[    0.728230] pci 0000:00:01.0: BAR 6: assigned [mem 0x10000000-0x1003ffff pref]
[    0.728562] pci 0000:00:02.0: BAR 6: assigned [mem 0x10040000-0x1007ffff pref]
[    0.728889] pci 0000:00:02.0: BAR 0: assigned [mem 0x10080000-0x1009ffff]
[    0.729222] pci 0000:00:01.0: BAR 4: assigned [mem 0x8000000000-0x8000003fff 64bit pref]
[    0.729454] pci 0000:00:01.0: BAR 1: assigned [mem 0x100a0000-0x100a0fff]
[    0.729617] pci 0000:00:02.0: BAR 1: assigned [io  0x1000-0x103f]
[    0.729774] pci 0000:00:01.0: BAR 0: assigned [io  0x1040-0x105f]
[    0.757723] virtio-pci 0000:00:01.0: enabling device (0000 -> 0003)
[    0.774844] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.780014] SuperH (H)SCI(F) driver initialized
[    0.780993] msm_serial: driver initialized
[    0.805731] loop: module loaded
[    0.810521] virtio_blk virtio0: [vda] 7405568 512-byte logical blocks (3.79 GB/3.53 GiB)
[    0.830659] megasas: 07.717.02.00-rc1
[    0.849528] tun: Universal TUN/TAP device driver, 1.6
[    0.865853] thunder_xcv, ver 1.0
[    0.866099] thunder_bgx, ver 1.0
[    0.866312] nicpf, ver 1.0
[    0.869314] hclge is initializing
[    0.869740] hns3: Hisilicon Ethernet Network Driver for Hip08 Family - version
[    0.869943] hns3: Copyright (c) 2017 Huawei Corporation.
[    0.870385] e1000: Intel(R) PRO/1000 Network Driver
[    0.870526] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.871124] e1000 0000:00:02.0: enabling device (0000 -> 0003)
[    1.171702] e1000 0000:00:02.0 eth1: (PCI:33MHz:32-bit) 52:54:00:12:34:57
[    1.172125] e1000 0000:00:02.0 eth1: Intel(R) PRO/1000 Network Connection
[    1.172484] e1000e: Intel(R) PRO/1000 Network Driver
[    1.172711] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.172963] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.173091] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.173287] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.173425] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.174429] sky2: driver version 1.30
[    1.176625] VFIO - User Level meta-driver version: 0.3
[    1.181071] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.181959] ehci-pci: EHCI PCI platform driver
[    1.182317] ehci-platform: EHCI generic platform driver
[    1.182624] ehci-orion: EHCI orion driver
[    1.182884] ehci-exynos: EHCI Exynos driver
[    1.183325] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.183565] ohci-pci: OHCI PCI platform driver
[    1.183865] ohci-platform: OHCI generic platform driver
[    1.184166] ohci-exynos: OHCI Exynos driver
[    1.185588] usbcore: registered new interface driver usb-storage
[    1.193115] rtc-pl031 9010000.pl031: registered as rtc0
[    1.193779] rtc-pl031 9010000.pl031: setting system clock to 2023-10-15T13:44:21 UTC<PHONE_NUMBER>)
[    1.195593] i2c_dev: i2c /dev entries driver
[    1.204184] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised<EMAIL_ADDRESS>[    1.208301] sdhci: Secure Digital Host Controller Interface driver
[    1.208472] sdhci: Copyright(c) Pierre Ossman
[    1.209726] Synopsys Designware Multimedia Card Interface Driver
[    1.211597] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.215346] ledtrig-cpu: registered to indicate activity on CPUs
[    1.218625] usbcore: registered new interface driver usbhid
[    1.218783] usbhid: USB HID core driver
[    1.229518] netem: version 1.3
[    1.237203] NET: Registered PF_INET6 protocol family
[    1.246642] Segment Routing with IPv6
[    1.247438] In-situ OAM (IOAM) with IPv6
[    1.249176] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.253957] NET: Registered PF_PACKET protocol family
[    1.254728] 8021q: 802.1Q VLAN Support v1.8
[    1.255624] 9pnet: Installing 9P2000 support
[    1.256243] Key type dns_resolver registered
[    1.257148] Loading compiled-in X.509 certificates
[    1.260968] AppArmor: AppArmor sha1 policy hashing enabled
[    1.266574] ALSA device list:
[    1.266733]   No soundcards found.
[    5.684781] Freeing initrd memory: 143720K
[    5.688860] uart-pl011 9000000.pl011: no DMA platform data
[    5.743906] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    5.744141] Please append a correct "root=" boot option; here are the available partitions:
[    5.744605] fe00         3702784 vda
[    5.744696]  driver: virtio_blk
[    5.745068] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    5.745407] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.15.55 #1
[    5.746321] Hardware name: spacex_satellite_user_terminal (DT)
[    5.746661] Call trace:
[    5.746745]  dump_backtrace+0x0/0x1a4
[    5.747025]  show_stack+0x24/0x30
[    5.747127]  dump_stack_lvl+0x68/0x84
[    5.747223]  dump_stack+0x1c/0x38
[    5.747304]  panic+0x168/0x360
[    5.747534]  mount_block_root+0x168/0x218
[    5.747764]  mount_root+0x15c/0x17c
[    5.747853]  prepare_namespace+0x13c/0x17c
[    5.747948]  kernel_init_freeable+0x210/0x250
[    5.748048]  kernel_init+0x30/0x130
[    5.748133]  ret_from_fork+0x10/0x20
[    5.748545] SMP: stopping secondary CPUs
[    5.749355] Kernel Offset: 0x2db5200000 from 0xffffffc008000000
[    5.749501] PHYS_OFFSET: 0x40000000
[    5.749603] CPU features: 0x00003401,00000846
[    5.749864] Memory Limit: none
[    5.750287] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

The problem is still here:

VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
Please append a correct "root=" boot option

Can I see your current QEMU command line?

setup_console: Development login enabled: yes
SpaceX User Terminal.
user1 login: root
Password: cat: can't open '/proc/device-tree/model': No such file or directory
test: spacex_satellite_starlink_transceiver: unknown operand
Login incorrect
user1 login: root
Password:
Login incorrect
user1 login:
I got this login prompt. How did you login?

Password: cat: can't open '/proc/device-tree/model': No such file or directory
test: spacex_satellite_starlink_transceiver: unknown operand

This is because the device /proc/device-tree is "created by" the device tree.
Since you removed the dtb flag, you are now using the FDT provided by QEMU, which does not contain SpaceX-specific components, such as model or security.
The root password of the dish is falcon, once the developer access is enabled.

Oh I see. Thanks for the information. I really appreciate it.
That's why there's no directories when I boot the qemu...But when I put in the dtb flag, the first issue(cursor just blinking and nothing happening) keeps going on. Do I need to edit dtb file? what I have tried is

run command qemu-system-aarch64 -machine virt -machine dumpdtb=qemu.dtb to get the qemu.dtb file
decompile qemu.dtb and get qemu's dts file
from the linux partition, I extracted rev3_proto2 dtb file and decompiled it to get the dts file.
combine the dts files together and compile it to dtb file.

I think the 4th step is where the problem lies. Could you explain the 4th part more specifically? or is there some steps that I did wrong above? Thank you again for giving me replies.

Your steps are correct! You need to find out which parts of the original dtb are really needed to make the emulation work.
You can look at the one I've provided, and include the options I marked around the "SpaceX" comments.
What do you mean by this?

That's why there's no directories when I boot the qemu...

Yeah you are right😂 Now I see my rootfs folder...thanks :)
I'll have to try figure out how to mount dtb flag in my environment. Thank you so much again😊 I'll come back when I get stuck again.


Updated to preserve the response order in batch

Description
BundleHandler is updated to keep the order of the requests in a batch so that bundling of the responses are in the same order as of the requests (earlier it was bundled in the order of the processing of each request)
Related issues
AB#71104
Testing
Existing E2E tests and more E2E tests will be covered as part of #70787
Local Testing - Screenshot(Request vs Response)

Can you look at adding a unit test to cover this since we now have the BundleHandlerTests.cs in the code?


chore: update Std dependency to match leanprover/std4#397

This turned out to require non-trivial changes, so I have removed auto-merge-after-CI.

This PR has some failures in Mathlib.Computability.Primrec, arising because the definition of List.indexOf has changed (the == test has flipped).
I'm not familiar with this file. It looks like @digama0 is listed as the author, and @prakol16 did the port. Might either of you be able to take a look at the failures in that file?

bors d+

bors p=10
bors merge


Update Message structure to include additional data

Problem statement
We need to add some additional fields to the messages response payload so we can display them in the redesigned Message Tracker.  Specifically, the missing fields are:

Performing Facility

What you need to know

For Performing Facility:

See processMesageDetailRequest as a starting point
We should return result.orderingFacilityName as part of the payload

Acceptance criteria

[ ] The message detail endpoint (/api/message/<report_index>) includes the above fields.

I don't have an issue with this proposal, looks good to me.

@chris-kuryak @penny-lischer
Hey, this seems to have competing verbage: orderingFacility vs Performing Facility. These are two different fields within the table: ordering_facility_name and testing_lab_name respectively, I believe. Which is the true addition needed?

@jillian-hammer See question from Kevin Haube above. Do you know if the O+O folks specifically wanted the Ordering Facility or the Testing Lab Name displayed in that area? If unsure, we can ping the O+O folks.
cc: @stephenkao for awareness

@chris-kuryak @penny-lischer Hey, this seems to have competing verbage: orderingFacility vs Performing Facility. These are two different fields within the table: ordering_facility_name and testing_lab_name respectively, I believe. Which is the true addition needed?

Sorry, that's my bad -- it seems like this is an alias for multiple fields in the schemas, e.g.:

https://github.com/CDCgov/prime-reportstream/blob/master/prime-router/docs/schema_documentation/pa-pa-covid-19.md
https://github.com/CDCgov/prime-reportstream/blob/master/prime-router/docs/schema_documentation/direct-anavasidx-covid-19.md

I think testing_lab_name is actually correct for this use case, but I'll defer to Jillian and O&O!

I believe "Performing Facility" refers to testing_lab_name and not the ordering facility, but worth checking in with O&O to double check! @kevinhaube
cc @chris-kuryak

Updated the ticket!  Thanks for catching this, @kevinhaube!

Closing for now. Will re-open IF O&O finds this to be critical for this iteration. If not, efforts will be made by Platform to generalize this endpoint for retrieval of all messages, not strictly those within the covid metadata table. :)


DatabaseMetaData's getTables didn't return the data

my app connect to the sharding-prox with bitronix jdbc driver. when my app try to check if the tables existed before doing other operations. I use the DatabaseMetaData.getTables to do it ,I have handled the case sensitive, but it always return no record. but in fact ,the table existed.

If no response more than 7 days and we cannot reproduce it on current information, we will close it.


Source code character limit?

From @eli-kaituri-minco:
I wrote a transpiler so I could reasonably code golf in whitespace, so my source code is of decent length. Going over ~2440 characters in the source code file seems to trigger a recursion error due to max depth reached. Is this an inherent limitation due to the implementation of the parser as a recursive function in Python? Or is this a fixable issue within the interpreter code itself?

@eli-kaituri-minco I suspect this code may be to blame:

parser._parse_positive_number_rec
parser._parse_label_rec

There's really no reason to do these recursively.
Do you have a stack trace that you can share, as well as the code that is causing this?


[image_picker] Support maxWidth and maxHeight on Windows

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
Automatic resizing of selected images on Windows 10 and newer.
As we already use file_picker, and it supports automatic resizing for Android and iOS, it would be beneficial to have the same feature on Windows.
Proposal
Support maxWidth and maxHeight image options on Windows 10 and newer.
await picker.pickMultiImage(maxWidth: 1024, maxHeight: 768);

await picker.pickImage(maxWidth: 1024, maxHeight: 768, source: ImageSource.gallery)

This will automatically scale the selected images.

Duplicate of https://github.com/flutter/flutter/issues/128453


Mail.js to middlewares

Move the mail.js file to middlewares folder and update path wherever the file is used in the project.
Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

I would like to work on this under gssoc.
/assign

/assign

Hey I got a notification from the bot about using prettier but I am unable to reach the documentation website. Is it neccessary for this issue. I only changed a single line.


discord authentication isn't working

For some reason, discord login authentication fails with this error:

This is probably because you're running it from localhost?
I can still log into app.webaverse.com

Actually, I have tried it on Dev.webaverse.com, Its deployed and pointing to latest master.
While app.weba is pointing to an older version.

Is dev.webaverse a valid redirection URL though?
This could just be a configuration issue

Yep Just tested again. This is a redirection issue for dev.webaverse.com. Its working fine for local master too,
@rob-webaverse Can you check this out for dev.webaverse.com?


Swap route via WETH

The make_trade (as well as get price methods) have a route of [token1, WETH, token2]
https://github.com/uniswap-python/uniswap-python/blob/master/uniswap/uniswap.py#L686
Does it mean that the swaps incur 0.6% fee?

The make_trade (as well as get price methods) have a route of [token1, WETH, token2]

By default. You can specify the route parameter (for univ2 at least). Mentioned route causes two swaps: token1->weth; weth->token2. Taker's fee is applied twice, so total fee = 1-0.997^2=0.005991

I don't think you can do that using this library.

I've checked this. Well, it is possible for get_price methods, but make_swap methods don't have such an option actually, which is surprising. However, it is relatively easy to add it.

When I come to think about it, the default should be [t0,t1] (and a boolean for going through [t0,weth,t1] route) and in case such pair doesn't exist an exception thrown suggesting to set the boolean parameter to true. Because incurring double fee breaks the principle of least surprise.

Well, it is possible for get_price methods, but make_swap methods don't have such an option actually, which is surprising. However, it is relatively easy to add it.

@liquid-8 Yeah, I might look into that.

When I come to think about it, the default should be [t0,t1] (and a boolean for going through [t0,weth,t1] route) and in case such pair doesn't exist an exception thrown suggesting to set the boolean parameter to true.

@romanbsd The issue is that [t0, t1] is often a much less liquid pair than [t0, weth, t1], so chances are high that such a trade might have significant price impact and therefore a bad execution price.

Because incurring double fee breaks the principle of least surprise.

I agree, but in this case ensuring that the pair assumed has liquidity takes precedence imo (I'd be more surprised if I made a terrible trade, as in #198, then if I incurred an additional 0.3% fee).

@liquid-8 Apparently I had already been working on that in #221, feel free to continue the work! (I might not have time)

Insufficient liquidity is caveat emptor. But maybe some safeguard is needed indeed...

Hey all, so i've been running into this issue because sometimes my clients have LP as [t0, stablecoin] instead of [t0, bnb/eth/base_token], and not being able to customize route in make_trade is not ideal.
Should we add an optional param route= to make_trade? I have a working solution; i'd be happy to contribute


Failed to download templates

command: serverpod
hint: Downloading templates for version 2.0.0
error: Failed to download templates.
so i commanded dart pub global activate serverpod_templates,
now,serverpod_cli and serverpod_templates in the global_packages,
retry severpod still report the error.

Hello @jzllovecat.

so i commanded dart pub global activate serverpod_templates,

It looks like you are trying to activate the templates package which is not required.
You should run dart pub global activate serverpod_cli.
You can read more on how to get started on this page: https://docs.serverpod.dev
Do you still have an issue if you follow the instructions there?
If so, what system are you running on? And what is the log output if you add the verbose flag.

@SandPod serverpod_cli is already active

Thanks for the additional information.
Unfortunatelly our logging is lacking there a bit.
But there are a couple of steps we can try to figure out what is going wrong.
Does the cli have sufficient privileges to create a folder in your home directory?
The CLI will create a folder named .serverpod in your home directory root. Does this folder exist?
Can you access https://pub.dev/packages/serverpod_templates/versions/2.0.0.tar.gz?
You could download the templates manually using that link and then unpack it under .serverpod/2.0.0/serverpod_template/.

Thank you!
.serverpod is exist.
serverpod_templates-2.0.0 already in the pub_cache\hosted\pub.dev.
I copied the content to .serverpod/2.0.0/serverpod_template/.
Now it's working normally!


Add typescript generics for search results response

🚀 Feature Proposal
Implement the same type of TypeScript generics for search responses as can be seen in the elastic javascript client, where it's possible to define the results type of the response.
Motivation
At the moment, the type definition of the results part of a search response is defined as results: Array<{}>;. Comparing with the elasticsearch js client, which we sadly doesn't seem to be able to use since we use the enterprise app search. The way they have solved this looks like a better approach in my opinion.
They seem to be using the Elasticsearch specification repo for this, at least according to their docs.
For context, we are utilizing the node js client in our project.
Example
interface Document {
  character: string
  quote: string
}

const result= await client.search<Document>({
    index: 'game-of-thrones',
    query: {
      match: { quote: 'winter' }
    }
  })

The above would return the same response type as is currently implemented, but also with the results array typed with the Document interface.

This would be great


Improve empty CSV files handling

For empty CSVs, which usually came from unsupported Excel files, such
as sheets with graphs, the normalization was crashing.
The first_line method was returning the stream.rewind value in case
that the file was empty, and therefore the first_line would be nil.
This commit also edits the CSV column number checking in order to
be able to admit empty files (otherwise, nil.length would raise an
exception).

[ ] Before merging, update docs.

Fixes https://github.com/CartoDB/cartodb/issues/6403

:+1:

Docs edits PR'ed here. As soon as the technical writes gives approval to my copy, this is ready to go.


Fix Travis CI config

PR o'clock
Description
Fix #210
Note: I still think Travis should pin to a single version of Terraform, rather than dynamically grabbing the latest version, but this fixes the Travis config to do what it has been doing in the past.
Checklist

[ ] terraform fmt and terraform validate both work from the root and examples/eks_test_fixture directories (look in CI for an example)
[ ] Tests for the changes have been added and passing (for bug fixes/features)
[ ] Test results are pasted in this PR (in lieu of CI)
[ ] Docs have been updated using terraform-docs per README.md instructions
[ ] I've added my change to CHANGELOG.md
[ ] Any breaking changes are highlighted above

Awesome, thanks Andrew!


Carthage

Hi Tim! This is a great repository. Do you expect to make it available via Carthage at any point?

Thanks @inPhilly! Glad you like it!
I'm a CocoaPods user myself, so I usually hold off on Carthage support until someone explicitly needs it. Do you need it?

I do need it! Thank you! Also - by any chance do you think you will add in the option to turn off passcode (with confirmation) at any point? I was just wondering... this control is just great. Any more word on acceptance or rejection from App Store with the UI? Thanks again!!

On Nov 15, 2017, at 10:36 PM, Tim Oliver<EMAIL_ADDRESS>wrote:
Thanks @inPhilly! Glad you like it!
I'm a CocoaPods user myself, so I usually hold off on Carthage support until someone explicitly needs it. Do you need it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Haha okay! I'll see what I have to do in order to get Carthage support. Hopefully it's just a matter of setting up another framework build target.
Nope, I don't have time to add any more features to this library at the moment, sorry. I'm busy on another library at the moment.
Haha no word on anyone getting rejected yet. Now that iOS 11 changed the lock screen style, it's possible keeping the old-school look might be okay. XD Granted I do want to change it to match at some point.

Any thoughts on this??


chore(CPlusPlus): add Fenwick Tree

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ]   ##Documentation
[ ] Other, please describe:
Added Fenwick Tree to the Trees Folder.

Hey, @ming-tsai please merge this I think this PR looks fine now.


Games aren't purchased, instead only get a notification with a link to store page

Hey,
Recently installed the docker on unraid - running every 6 hours.
Instead of purchasing the free game I get a notification with a link to the store checkout page. I then have to finish the transaction manually.
I don't have 2FA turned on and was never asked for a captcha.
Not sure if this is intended behavior or a bug (seems like a bug).
here's my config
{
  "cronSchedule": "0 0,6,12,18 * * *",
  "blacklistedGames": [],
  "searchStrategy": "all",
  "runOnStartup": true,
  "runOnce": false,
  "timezone": "XXXXXXX",
  "intervalTime": 60,
  "accountConcurrency": 3,
  "logLevel": "info",
  "notificationTimeoutHours": 24,
  "testNotifiers": false,
  "skipVersionCheck": false,
  "browserLaunchTimeout": 15,
  "browserLaunchRetryAttempts": 5,
  "browserNavigationTimeout": 30000,
  "deviceAuthClientId": "98f7e42c2e3a4f86a74eb43fbb41ed39",
  "deviceAuthSecret": "0a2449a2-001a-451e-afec-3e812901c4d7",
  "deviceAuthPollRateSeconds": 10,
  "webPortalConfig": {
    "baseUrl": "http://<IP_ADDRESS>:3055",
    },
  "accounts": [
    {
      "email": "XXXXXXX"
    }
  ],
   "notifiers": [
     {
       "type": "discord",
       "webhookUrl": "https://discord.com/api/webhooks/XXXXXXX"
     }
   ]
}

This is intended. See the project description or the release notes.

Thank you. but :(


Logging improvements

Description
Improved logging
By getting a new logger on each class or using a passed in one, we are following a more standard approach.
The added feature of the auto log also provides more detailed logging during debugging
Related Issue
CITR-350
Motivation and Context
Current logging was inherited, was non-standard, and was tightly coupled to the implementation of automation-ui
Checklist

[x] New and/or updated tests
[x] All the unit tests are passing.
This is enforced automatically as part of the pull request, but we'd appreciate you running locally first.
[ ] Linting score remains above threshold.
This is enforced automatically as part of the pull request, but we'd appreciate you running locally first.
[x] Changes log in CHANGELOG

To get this working in the client repos, I've used this
    # Initialise the logger so that an instance of it can be passed around
    if context.logging_flag:
        # Set logging level using commandline argument --logging-level=DEBUG
        logger_handler.init_unique_log_file_logger(level=context._config.logging_level)
        context.logger = logging.getLogger("automation-ui")

Failing test in build pipeline passes locally, both in pycharm and command line. Checked cmd, powershell, and git bash.

Fixed the failing test.
The issue was the the mock patch was failing to mock out the logging package in the current test module. Got it to work by changing "tests.unit.utilities.test_logger_handler.logging" to __name__+".logging"
The relative directory must be changing or something
https://stackoverflow.com/a/11155555


Windows build of libbackscrub

Omit wrapper application from CMake build (it depends on video4linux)
Revert to older structure initialisation (pre c++17) to support MSVC compiler

As per #92, this 'works for me' on a fresh Windows Server 2016/9 VM with Visual Studio 2019 Community Edition in Azure. I would appreciate more testing on other development machines :grin:


Could you add hacktoberfest-accepted lable to my PR

Added winequality in ML project #1471

please check #1429


awesome project! please update the bib the 2021~~~

thanks !!

Thanks for the kind word and reminder! We have just updated the ACL anthology to the latest version (2021 Sept), and will keep tracking the other confs!


CSV import

Create resources from a CSV file
Existing descriptor schemata are deleted and replaced with those from CSV file. (This is temporary -- in the future, the existing schema will be accommodated.)

r @nnarang7 @dzhang55 @armant