Event interface for route & sync agent

This commit implements the event interface described in the OVN
support EPIC. This interface will be used afterwards for refactoring
the route agent, and building the network-plugin-sync agent.
Resolves-Issue: #857
Related-Issue: #778
Co-Authored-By: Sridhar Gaddam<EMAIL_ADDRESS>Signed-off-by: Miguel Angel Ajo<EMAIL_ADDRESS>

@tpantelis changes applied

Where will the EventHandlers be defined and used? The event package/module seems specific to some module and should exist under that module to provide additional context/meaning, eg under routeagent or cableengine. I mean the interface doesn't seem general enough to stand on its own.

@mangelajo not sure if you saw this comment.

Where will the EventHandlers be defined and used? The event package/module seems specific to some module and should exist under that module to provide additional context/meaning, eg under routeagent or cableengine. I mean the interface doesn't seem general enough to stand on its own.

@mangelajo not sure if you saw this comment.

Oh no sorry.
It was intentional to have it in this neutral place. The intent is that these event handlers will be created specifically for:

networkplugin-sync agent,
route-agent

The plan is that those, at start, will create a registry of handlers and populate them.
Then we ask the registry to give us a controller, that will register himself with the different informers, and workqueues... and throw event to those handlers.
But, an important detail is that, (except for the logger), the route-agent & networkplugin sync will have their own event handler implementations, for example for ovn, so there will be one ovn handler for the route-agent (living under the routeagent tree), and there will be one ovn handler for the networkplugin-sync (living under the networkplugin-sync tree).
Both agents, at least in our design seemed to share the same set of events that needed to be handled, https://github.com/submariner-io/enhancements/blob/master/submariner/pluggable-network-plugin-and-ovn.md#synchronizer-implementation
I didn't want to put everything on one pull request because it then becomes a little hard to review. But we can keep up this conversation over the other patches.
Let me address the last comments, and let me know if this plan names sense ^


Use object property of track by for comparison

This expands on PR #256 to improve efficiency, clean up the code, and use track by in single as well as multiple configurations.

Moved the regular expression that determines the property name into RepeatParser.
Cleaned up the formatter logic by breaking into functions that are created only once when the formatter is added.
Used the object property specified via track by for comparisons in both single and multiple configuration.
Added unit tests for both single and multiple configuration.
Used angular.equals instead of == for comparison. The AngularJS ngOptions directive notes that it compares by reference, not value, so it seems natural that angular-ui-select would do the same. However, several developers have posted issues on this behavior causing problems, so using angular.equals seems like a better choice. This change was made with a separate commit, so the rest of this PR could be merged without that commit.

Closing given that codebase has changed significantly since this PR was created and many of the changes/fixes probably no longer apply.


[BUG] Generated Webp images are not deleted when attachement is deleted.

Expected Behavior
When using |towebp filter a webp variant is getting generated. On attachement removal the generated webp images is also removed.
Actual behavior
The webp images are still present in the upload folder after removal. This leads into problems when uploading the same file again after a modification for example. The webp image still shows the old picture while in the media gallery the new image is shown.
Steps to reproduce behavior

upload jpg image
use |toweb filter

Using the following example from the docs:
<picture>
   <source srcset="{{ post.thumbnail.src|towebp }}" type="image/webp">
   <source srcset="{{ post.thumbnail.src|tojpg }}" type="image/jpeg">
   <img src="{{ post.thumbnail.src|tojpg }}" alt="{{ post.title }}">
</picture>

see if webp image(s) are generated and present in the uploads folder
remove media file via admin interface.
see uploads folder again, original files are gone, webp images are still here.

Notes
In Timber\ImageHelper::delete_generated_files there are patterns for the tojpg filter but not for webp images.
And #2628 will probably need something as well for the avif format.
What version of Timber are you using?
1.22.1 an 2.0.0.beta2
What version of WordPress are you using?
6.2.2
What version of PHP are you using?
8.0
How did you install Timber?
Installed or updated Timber through Composer

Did some digging and found the pr for #2556... :)


[Driver] Show incremental is off with bitcode, WMO

SR-2855 suggests -driver-show-incremental not only print information about why certain files are included in incremental compilation, but also print out why incremental compilation may be disabled altogether.
Add a message for two such reasons:

When whole module compilation is enabled, since optimizations for WMO require a full rebuild.
When embedding LLVM IR bitcode, which needs to be re-generated.

Addresses one part of SR-2855.

 Let me know if you have an idea that's better.

I've addressed your comments, @jrose-apple -- sorry it took a while! :)
@swift-ci please smoke test

The libdispatch test failures on Linux are unrelated.

@jrose-apple I think I've addressed all your concerns, seems like this and #5377 should be ready to go! :)

@swift-ci please smoke test

@swift-ci Please smoke test


Support updating touch event handler on reused cached components

With current directive installation scheme, a tap listener would not update when a cached component is reused, e.g. when this documented hack is used. An example to consider:
<HeroPortrait
    v-for="hero in heroes"
    v-touch:tap="onPortraitTapHacky(hero)"
/>

export default {
  props: {
    heroes: {
      type: Array
    }
  }
  methods: {
    onPortraitTapHacky(hero) {
        return function() {
            alert(hero.name)
        };
    },
  }
}

Without the fix, when heroes prop is changed and the list of portraits is rebuilt, a cached component is used for each updated portrait, and on that cached component the event handler would not correspond to the current hero bound to that component.
I'm not very experienced with vue.js, so please suggest code improvements.

Hi, Thanks for your contribution. But this code doesn't work for me.
In touch directive, it should use bind function to bind events on an element. And then use componentUpdated to update binding when something changes.
So, in my opinion, keep the bind function as before, and add a componentUpdated function to update binding.
componentUpdated: function($el) {
  removePreviousEventListeners($el);
  bindEventListeners($el);
},

@jerrybendy Fixed

This is a very old PR and your code is alreay in the latest version, so I will close this PR now. Thanks for your contribution.


CLI generated one additional file which is empty

When CLI is used following file is created in target folder "dataversetemplate.cs".
Content of the file:

It's do to of multiple file  output MultipleOutputHelper.ttinclude.
Need to check if it possible to ignore generation of empty template file, or check in application if output file with template name is empty ( "{}" missing content)

After migration to Scriban engine I plan to remove t4 template

T4 template is remove


Feature/geocoder

@swerky I tried a different design for the geocoder. The idea is to have an abstract geocoder class for building and searching the index. Three abstract methods must be implemented (analyzer, documents, query) must be implemented to have a functional geocoder.

Analyzer analyzer() is responsible for instanciating the analyzer used by the geocoder.
Stream<Document> documents() returns all the documents that must be indexed.
Query query(Analyzer analyzer, Request request) creates a query from an analyzer and a search request.

I also tried to use composition instead of inheritence, but it felt a bit off. What do you think about this version?

I think it's much clearer. Well done


How to integrate AdminLTE with cakePHP 2.x

Hey, I am cakePHP developer, I want to integrate AdminLTE template with my cake version 2.x, but don't know how to integrate it.

Hey, somebody who has integrated it with cakePHP please tell me.

Check this https://github.com/SahilDude89ss/AdminLTE-CakePHP and this https://github.com/sherwinrobles/CakeAdminLTE

Thank you Yasser.

On 17-Nov-2015, at 6:05 PM, Yasser Hassan<EMAIL_ADDRESS>wrote:
Check this https://github.com/SahilDude89ss/AdminLTE-CakePHP and this https://github.com/sherwinrobles/CakeAdminLTE
—
Reply to this email directly or view it on GitHub.

You can use those repos to have an idea to start with. This is more of a CakePHP issue than AdminLTE.

Thanks @YasserHassan , I looked on repository structure of https://github.com/SahilDude89ss/AdminLTE-CakePHP  and made few changes, after few hours finally I achieve this goal.
I will share a link here after uploading the code to a repository for this.

Solved:
https://github.com/bhishmaRlx/AdminLTE_CakePHP/


Typo in "Save Theme Changes" Popup

"Do you want to save your changes"

Two instances of the typo:
https://github.com/NationalSecurityAgency/ghidra/blob/master/Ghidra/Framework/Docking/src/main/java/docking/theme/gui/ThemeUtils.java#L50
https://github.com/NationalSecurityAgency/ghidra/blob/master/Ghidra/Framework/Docking/src/main/java/docking/theme/gui/ThemeDialog.java#L101

Thanks.  I'll fix this.


Adding mechanism to share environment file between docker and virtualenvwrapper

Looks great! Thanks for giving this a try, I'll probably need to do some fine-tuning on the packaging but that's easier done in develop and we're not relying on our docker setup being foolproof at the momment

This isn't ready for prime time.  Closing for now, reopen when ready.


希望show more不要跳转页面

Describe the solution you'd like
rt，直接在原来页面上扩展显示，就像知乎一样，每次跳转很反人性，不好用哦，麻烦优化
Type of feature
User Interface (UI)
Additional context
No response

Duplicated with https://github.com/usememos/memos/issues/3120


Why and when you should use Kubernetes?

Proposed title of article
Why and when you should use Kubernetes?
Introduction:
Kubernetes is a powerful container management tool that automates the deployment and management of containers. Kubernetes is the next big wave in cloud computing and it’s easy to see why as businesses migrate their infrastructure and architecture to reflect a cloud-native, data-driven era.
Before the business decides to use Kubernetes, the question of why or when Kubernetes should be used arises. This article will address the issue.
Key takeaways:
At the end of this article the learner will be able to:

understand the overview of Kubernetes and container orchestration
know the top reasons why a business should go for Kubernetes and the benefits it offers
understand the instances when Kubernetes can be used or not used

References:
N/A

seems like a helpful topic - lets please be sure it add value beyond what is in the official docs and that it does not overlap with any existing EngEd articles or incoming topic suggestions (if you haven't already). - approved @erixbiz


FINERACT-1909, FINERACT-1927: Retry feature for commands - deadlock, …

…Incorrect exception info in BatchAPI response
Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

@marta-jankovics You shall not have two FINERACT issues for 1 PR! Please divide them into (at least) 2 PRs!


Invalid response when using _summary=count

Hi :)
I've been trying to have the server give me the total number of results for a given search. I noticed that the Bundle I get as a response does not include the type key which is required based on the FHIR standard:
https://www.hl7.org/fhir/bundle-definitions.html#Bundle.type
Describe the bug
Sending a request with _summary=count returns a Bundle without a type key.
The most appropriate type appears to be "searchset". When I use _summary with all the other valid options, that's the type I get in the response.
To Reproduce
Send a request with any resource type (Observation, Media ...) using _summary=count.
For example: http://hapi.fhir.org/baseR4/Media?_summary=count
Expected behavior
I expect to get a Bundle including the type key with the value "searchset".
Environment (please complete the following information):

Happened with both HAPI FHIR 4.1.0 and 4.3.0
I get this response I posted above both in the browser (link) and when using an actual FHIR client implementation. In this case: https://github.com/smart-on-fhir/Swift-SMART

Additional context
As an example of a response I get without the type key:
http://hapi.fhir.org/baseR4/Media?_summary=count gives me:
{
  "resourceType": "Bundle",
  "id": "9aaf1d79-4c1a-4c9c-a3db-ea5b119653b6",
  "meta": {
    "lastUpdated": "2020-03-16T12:02:17.484+00:00",
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationValue",
        "code": "SUBSETTED",
        "display": "Resource encoded in summary mode"
      }
    ]
  },
  "total": 1705
}

I have opened another issue here (wasn't sure where it applied): https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/88

Thanks for reporting! A fix has been submitted.


Options to change Units of Metrics

Hello,
Assembled the AirGradient sensor today and added it to my local network.
after some trial and error everything works as expected, but the only issue i have currently is that i cant change the Temperature Units in the Dashboard to Celsius since it wont allow me to save the dashboard with the needed Modifications.
There is a way to update it, but its probably not really something someone new to Grafana will understand directly.

Go to templates/airgradient-air-quality.json.j2 and search for "fahrenheit". Change it to "celsius".
Re-run the playbook and you should be all good.


add semantic-release package publishing

Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for discussion)

[ ] - If applicable, appropriate JSDoc comments were updated in source code
[ ] - If applicable, approprate changes to js-data.io docs have been suggested ("Suggest Edits" button)

Current coverage is 75.22% (diff: 100%)

Merging #23 into master will decrease coverage by 24.77%

@@           master        #23   diff @@
========================================
  Files           1          2     +1
  Lines          11        335   +324
  Methods         0          0
  Messages        0          0
  Branches        0          0
========================================
+ Hits           11        252   +241
- Misses          0         83    +83
  Partials        0          0

Powered by Codecov. Last update 15016e8...90338c2


Implement the plain+v0 bundle provisioner

This is largely a tracking issue for implementing the first rukpak provisioner.
A skeleton of this provisioner was introduced in #7 which creating several no-op controllers for the Bundle and ProvisionerClass resources. These controllers are largely responsible for watching for ProvisionerClass custom resources that match this k8s bundle provisioner unique ID, and any Bundle that specifies the metadata.Name of an existing k8s bundle ProvisionerClass.
Likely next steps for a POC:

Documentation around the k8s bundle format
Documentation around the usage of the k8s bundle provisioner
Create additional GH actions (e.g. running e2e tests)
Create a mechanism for pulling and storing remote Bundle content (#12)

The pulling process is done through CRI

Needs to support manifestlist (i.e. multi-arch) images

Determine mechanism for storing content:

An aggregate API server
An in-cluster database
Everything is housed in a local PV
Bundle content is sharded across ConfigMap(s)

Storing bundle content is a single ConfigMap doesn't scale due to etcd size limits for a single resource

HTTP/gRPC API for GET/POST-ing bundle content

Provisioner ships a singleton filesystem server with a local PV mounted that houses resources
Bundles can be stored as tar files after being pulled and unpacked during creation time

Custom CSI driver for mounting Bundle images

Investigate usage of https://github.com/warm-metal/csi-driver-image

Create a mechanism for retrieving and creating stored Bundle content (#13)

Ordering of resources can be communicated by prefixing filenames with 0<n>_<file_name> (e.g. 01_namespace.yaml) similar to how kubectl currently operates
Provide retry mechanism if resources fail to be created
Determine how updates to the Bundle container image are handled

Require container images to be pinned using sha instead of tags?
Track the sha value in the Bundle status?

Example implementation

Read from the storage bundle directory, decode the opened file descriptor into an unstructured.Unstructured resource use controller-runtime's dynamic client to create this resource

Determine how to handle namespaced-scoped resources missing a metadata.Namespace specification

Introduce YAML manifests for installing the rukpak CRDs and requisite provisioner resources

The provisioner ships with a default ProvisionerClass custom resource that references the unique k8s bundle provisioner ID
RBAC around provisioner's ServiceAccount resource can have wide range of permissions

Follow-up work:

Creation of an o-f enhancement
Implement and document the Instance API

Additional work  can introduce defining nested Bundle specs within a single Instance resource
Creation of Bundle content is gated on authorization of content
Support android style permission handling

Implement a kubectl plugin for manually approving/denying Bundle resources
Support referencing local Bundle content
Support referencing multiple Bundle sources
More restrictive RBAC given to the provisioner

Potential future work:

Helm-based provisioner
OLM-based provisioner

Open Questions:

What would be the default authorization mechanism for the default k8s bundle provisioner ProvisionerClass?
How do we communicate dependencies on other Bundle's being present on-cluster?
What's the ideal mechanism for providing a way to update stored Bundle content without rebuilding the referenced container image?
Is there a way to run the k8s bundle provisioner off-cluster?
Where does authorization of an individual Bundle's content live? The Instance resource's status conditions or a top-level field in the status sub-resource?

I'm going to keep this open as an overall tracking ticket for essentially productizing the plain+v0 provisioner, as it doesn't look like we have any Projects that are detailing this kind of functionality. We can close this out once the issues that are tracked in the 0.1 milestone have all been closed out.

Closing as this has largely been implemented up to this point.


SpotPriceAfter in swap.go is not set

https://github.com/osmosis-labs/osmosis/blob/main/x/gamm/keeper/swap.go#L63

Oh you're right.  Good thing, it looks like nothing uses it rn.  But we should patch this

We can probably just remove this. It was only there for some convenience in testing IIRC

Argument has been deleted!


Update build and testing dependencies

Should make tests faster as we no longer include/process all the images
removed few older deps
updated to the latest jest, eslint, etc

NOTE: extracted from #1100 (did there in attempt to solve dependencies audit issues)

Oh just saw this was a draft..


Are you going to upgrade to express 4?

Are you going to upgrade to express 4? Thanks

@bagusflyer I wasn't planning but this is merely due to time-constraints on my end. I may do it but it won't be anytime soon. Feel free to contribute to the project I'd be more than happy to accept your pr.

:+1: and also socket.io 1.X :smile:

I'm on it :)


Client no longer working, different page is displayed

Hello,
The client is no longer working, it displays a different page instead of loading chat:

Thank you.

Thanks I'll fix this soon

Fixed !

Thanks for fixing this. Any chance you can build a .deb file for this like you did with your other release? Thanks.

I'll try to see if i have time this week to get you an installer for debian/ubuntu, sorry if it has been slow college >_>

Now I am getting a new issue. I am not sure if this is something you can even fix:

yea this project is probably dead now since twitch no longer has the webclient, I guess i'm gonna have to continue my work on the Electron Twitch Desktop App

Oh I wasn't aware you were working on an Electron Twitch Desktop App, any idea of an ETA of that? Thanks.

I'm only playing around with the idea now, but i have no solid time frame regarding when I'll have anything up on github, as the stuff i got working now are just extracted version of the windows app on the linux electron client. However if i can find a web based client like I did for Electron-Curse, I'd rather use that so that I don't violate the No Reverse Engineering clause in the ToS


make a demo Jupyter nb showing construction of fake lensed source image triplets and saving as PNGs

Ideally, should include it in the readthedocs _example dir and make sure it displays cleanly on readthedocs.

Note:  There's a great starter nb in the examples directory from Kyle

Note:  There's a great starter nb in the examples directory from Kyle

Resolved by commit 32dd17f
Cleaned up the nb from Kyle, linked above.  Decided not to bother with putting it on ReadTheDocs just yet.  Closing this issue, but will open a new issue about updating ReadTheDocs to show more complete examples.

Resolved by commit 32dd17f
Cleaned up the nb from Kyle, linked above.  Decided not to bother with putting it on ReadTheDocs just yet.  Closing this issue, but will open a new issue about updating ReadTheDocs to show more complete examples.


Unsupported image type, must be 8bit gray or RGB image.

Hello all,
I am trying to run ex_dlib_pnp_head_pose_estimation_video.py on win 10 but get error says like "
Traceback (most recent call last):
File "ex_dlib_pnp_head_pose_estimation_video.py", line 220, in
main()
File "ex_dlib_pnp_head_pose_estimation_video.py", line 154, in main
faces_array = my_face_detector(frame, 1)
RuntimeError: Unsupported image type, must be 8bit gray or RGB image."
Any help would be grateful.

hi @Jayqianonedream
It looks like the image taken from the video stream are in an unusual format.
Are you processing the video from a webcam or from a video file? In the second case, which format is the file?

Hi @mpatacchiola,
Appreciated your time and reply, the problem was solved. You're right, seems like the .mov format is unsupported.


Update messages_de.properties

https://helpdesk.verdigado.com/#ticket/zoom/177246

This is a generic MFA plugin. Such specific text is not in the scope of this plugin.


[QT-wallet] MWC node is not getting synced more than 65% on floonet.

Description:
[QT-wallet] MWC node is not getting synced more than 65% on floonet.
Waited for long time, but it is not getting sync-up to 100%

Synced 100%, hence closing this ticket.


Upgrades ResourceGroup from v1alpha1 to v1beta1

Updates ResourceGroup custom resource definition version from v1alpha1 to v1beta1.

/assign @Liujingfang1

/retest

@seans3 Closing this PR as there is no activity here. Please reopen the PR once you start updating it.


Usefetch does not return data on full reload of page in docker, but returns data when pages are navigated

Environment

Operating System: Linux
Node Version:     v20.13.1
Nuxt Version:     3.11.2
CLI Version:      3.11.1
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, typescript, devServer, runtimeConfig, modules, shadcn, build, alias, imports, piniaPersistedstate, radash, hooks, routeRules
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
version: '3.8'
services:
node:
build:
context: ./docker/node
#Needed for bash scripts to access environment variables
env_file:
- .env
volumes:
- ./:/var/www/html
networks:
- frontend
nginx:
    image: 'nginx:1.25-alpine'
    ports:
        - '${APP_PORT}:80'
    volumes:
        - ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
        - ./docker/nginx/conf.d/:/etc/nginx/conf.d/
    networks:
        - frontend
    depends_on:
        - node

networks:
frontend:
driver: bridge
./docker/node/dockerfile
FROM node:20-bullseye-slim
Install dumb-init to handle process management
RUN apt-get update && apt-get install -y dumb-init && rm -rf /var/lib/apt/lists/*
Set the working directory
WORKDIR /var/www/html
Copy application directory contents and permissions
COPY --chown=node:node . .
ENV HOST='<IP_ADDRESS>'
#This port can be changed to something like 5000
ENV PORT='3000'
#node-server is the default preset for nuxt, but it is still nice to set it here.
#This set up will still work without setting it since the default is node-server.
#https://nuxt.com/docs/getting-started/deployment#presets
ENV NITRO_PRESET=node-server
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
Change to non-root user
USER node
ENTRYPOINT ["entrypoint.sh"]
EXPOSE $PORT

./docker/node/entrypoint.sh
#!/bin/bash
#Specifying env_file in docker-compose is important for [$NODE_ENV] this to work
Run the command to start the server using "dumb-init"
if [ "$NODE_ENV" = "production" ]; then
echo "Starting in production mode"
npm run build
exec dumb-init npm run start
else
echo "Starting in development mode"
#adding -- --host below or specifying HOST=<IP_ADDRESS> in env is needed for this to expose the port to the host
#https://github.com/vitejs/vite/discussions/3396#discussioncomment-4581934
exec dumb-init npm run dev --public
fi
#for debugging purposes
#exit 1

./docker/nginx/nginx.conf
#https://github.com/laradock/laradock/blob/master/nginx/nginx.conf
worker_processes auto;
pid /run/nginx.pid;
events {
worker_connections  2048;
multi_accept on;
use epoll;
}
http {
disable_symlinks off;
server_tokens off;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 15;
types_hash_max_size 2048;
client_max_body_size 120M;
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /dev/stdout;
error_log /dev/stderr;
gzip on;
gzip_disable "msie6";
gzip_comp_level 5;
gzip_min_length 256;
gzip_proxied any;
gzip_vary on;
gzip_types
application/atom+xml
application/javascript
application/json
application/rss+xml
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/svg+xml
image/x-icon
text/css
text/plain
text/x-component;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS';
include /etc/nginx/conf.d/*.conf;
open_file_cache off; # Disabled for issue 619
charset UTF-8;
}

./docker/nginx/conf.d/default.conf
#https://v5-docs.adonisjs.com/guides/deployment#nginx-reverse-proxy
server {
listen 80;
listen [::]:80;

location / {
proxy_pass http://node:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_cache_bypass $http_upgrade;
}
}

Describe the bug
For context, useFetch works well when used with the regular npm run dev, but when i put the same codebase in a docker container, usefetch returns no data.
I also tested the application without the NGINX reverse proxy and it still didn't work.
Additional context
No response
Logs
No response

Please provide a minimal reproduction, e.g. without additional backend services and the smallest amount of setup code/Dockerfile (if this is the issue) possible.
To me, this sounds more like a network issue at the moment.

Network issue? The codebase works well with npm run dev.
Also can I be able to run docker in those sandboxes? I tried with https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox and it isn't possible

Also can I be able to run docker in those sandboxes?

No you can't. Feel free to provide a GitHub repo instead (and please keep it minimal to reproduce the error so it is not related to any api service / backend / ... 👍🏻) 😋

I don't see how this won't be related to any api or backend, since this has to do with useFetch. This issue only happens with <IP_ADDRESS> host but will work well with any production host and when you run the project without docker and with only npm run dev.
I have created a minimal reproduction here. You should start a localhost api and replace it with the one in the index.vue page
https://github.com/justinkekeocha/nuxt-issue/tree/main/27177.
In the /tasks page, I have added this URL: https://jsonplaceholder.typicode.com/posts
You can replace the localhost link in index.vue with https://jsonplaceholder.typicode.com/posts and see that everything works very well with links in production.
I am willing to provide any other help as needed.
Cheers.

@justinkekeocha Thanks for the reproduction! If it works with a different API, then it is not a Nuxt issue ☺
Did you enable CORS for your "local" API (on 8000)? If not, getting no data on the client side would be expected while SSR works fine.

Yes I did, if it is a CORS issue, the error would be there in console.
How is it not a nuxt issue when it works with npm run dev on CLI, but not when in a docker container?

How is it not a nuxt issue when it works with npm run dev on CLI, but not when in a docker container?

The networking inside the container is different to your dev node process.
await useFetch('http://<IP_ADDRESS>:8000/api/test'): running this in docker will not resolve to a process running on your local machine, instead it refers to port 8000 on the local network interface of the docker container running nuxt.

Thanks for this, but I am struggling to understand you here. <IP_ADDRESS>:8000 is a Laravel application that runs on docker, mapped to  8000 port on my local machine, not the local docker network interface, for clarity I can go to my browser and see what's on <IP_ADDRESS>:8000.
Maybe I am getting you all wrong, but I will appreciate a way for me to fix this issue.

You can see it in your browser because your browser uses your PC's network interface. The docker app running nuxt doesn't have access the to same network interface as it's it's own VM. <IP_ADDRESS>:8000 inside the docker container and <IP_ADDRESS>:8000 on your PC are entirely seperated things.
You can configure cross container networking either through: https://docs.docker.com/network/network-tutorial-standalone/ or through docker compose.

@warflash how come the docker app running nuxt does not have access to <IP_ADDRESS>:8000 when a hard reload is done, but somehow has access to it when you navigate between pages and return data from <IP_ADDRESS>:8000?

Data loaded by navigation between pages in the client side is done, well, on the client aka your browser. Your browser has access to that port as both run on the same host

i have the same issue im using nuxt with SSR mode and nginx for hosting
any solution ?

@ChamkhiAnas Would you mind opening a new issue alongside a reproduction? What's described in this issue here was not related to anything nuxt, but rather docker internal routing misunderstandings

@ChamkhiAnas Would you mind opening a new issue alongside a reproduction? What's described in this issue here was not related to anything nuxt, but rather docker internal routing misunderstandings

@warflash
im facing same problem i'm using useFetch it was working well in the dev server , i've deployed it to prod server with nginx and pm2 , now when im trying to acces from direct url or to refresh the page useFetch doesnt work , but when im navigate trough internal navigations inside app everything works fine , why ?

@ChamkhiAnas If you are truly facing the same issue then I recommend reading through my past comments regarding docker networking I gave above. If that doesn't help then we'd need to see a reproduction of your issue in order to give hints.

For those who will encounter this problem in the future, I think it is worthy to share my findings.
This issue is experienced (on Windows), because docker create a virtual host, to be able to run docker on the OS.
This issue can be solved by adding:
        ` extra_hosts:
        - "host.docker.internal:host-gateway"`

to docker-compose on the service, that serves the application, whether NGINX or just node server. Then change <IP_ADDRESS>:8000 (Or whatever port your backend is on) to host.docker.internal:8000 on the URL you use to call the backend.
I also found that adding the extra hosts is redundant and just trying to access host.docker.internal:8000 on my windows machine resolves perfectly.
I went to experience cookies and CORS errors subsequently, which I know clearly why I am experiencing that, but I don't have enough motive to resolve that now.
I will just use npm run dev locally and then use docker in production, since most servers are Linux machines and won't be creating a virtual host.

@ChamkhiAnas If you are truly facing the same issue then I recommend reading through my past comments regarding docker networking I gave above. If that doesn't resolve it then we'd need to see a reproduction of your issue in order to give hints.

@warflash
im not using docker , nuxt app with pm2 on port 3000 and nginx reverse proxy windows server 2012
i didnt create a reproduction because i'm sure there is no problem with code it was working well in dev server , the problem appears when i build and deploy the app to nginx using pm2
here is my nginx.conf

 server {
        listen 80;
        server_name www.immocockpit.fr immocockpit.fr;
        return 301 https://$host$request_uri;
        charset utf-8;

    }

    server {
    listen   443 ssl;
    server_name www.immocockpit.fr immocockpit.fr;
    charset utf-8;

    ssl_certificate www.immocockpit.fr-crt.pem;
    ssl_certificate_key www.immocockpit.fr-key.pem;

    ssl_session_timeout 1d;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers EECDH+CHACHA20:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384;
    ssl_prefer_server_ciphers on;

    gzip            on;
    gzip_types      text/plain application/xml text/css application/javascript;
    gzip_min_length 1000;

     location / {

        proxy_redirect                      off;
        proxy_set_header Host               $host;
        proxy_set_header X-Real-IP          $remote_addr;
        proxy_set_header X-Forwarded-For    $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto  $scheme;
        proxy_read_timeout          1m;
        proxy_connect_timeout       1m;
        proxy_pass http://<IP_ADDRESS>:3000;

        }

    }

anad ecosystem.config.cjs that run with pm2
module.exports = {     apps: [       {         name: 'EstimationFront',         port: '3000',         exec_mode: 'cluster',         instances: 'max', // Or a number of instances         script: './.output/server/index.mjs',         args: 'start'       }     ]   }

In my case, the following solution was successful ;)
const { data} = await useFetch("/api/test", {
  baseURL: import.meta.client ? "" : "http://backend:8000"
});


Use muliple DCRtime servers

Right now we are using decred.org's API. This is good for now. But for true decentralization we need to support and verify with multiple API end points. For this we should either let the user select an API  or use client side randomness to determine from a list.
Also Lets say user submits a hash to server1. Then for verification the user should use server2 and server3.
Is this doable ?
Just something to keep in mind while writing the app.
This is not a priority right now please add the future tag to this.

@degeri I think that is not possible to timestamp a file in one server and verify it on another. The reason is that the timestamped file depends on the other files from the same "anchor batch" to calculate the Merkle root and verify that in the blockchain. So, as far as I know, the files aren't independently verifiable in the blockchain.

hmm ok.. So whats to stop manipulation ? I feel we are missing something here.
@marcopeereboom please impart your wisdom on us.

Once we have the merkle root,  transaction hash and merkle path we should be able to verify right ?

https://matrix.to/#/!VFRvyndKpzcLrVslQD:decred.org/$154532346847299qkrmk:decred.org should be possible. I will do more research into this and suggest how we might do this.

@degeri just a correction to what I said earlier. The files are indeed independently verifiable in the blockchain as long you have merkle path + merkle root + file hash.
However, to verify a file with dcrtime, we justprovide the file hash because the server can match the file hash with the merkle path and merkle root, since it has recorded all the timestamping history.
So, unless the multiple dcrtime servers are synced, one cannot timestamp a file in a server and verify it in another just by providing the file hash.
What can be done is to verify the file using a standalone tool such as this one: https://github.com/decred/dcrtime/tree/master/cmd/dcrtime_checker.

See https://github.com/decred/dcrtime/issues/24

@degeri I am closing as I think this issue isn't pertinent anymore. Feel free to re-open it if there is still something you want to cover here.


add an option to disable keyboard/mouse control

I use this tool to stream my games from android through streaming application on my linux pc. I do not need use keyboard and mouse control from pc to android at all. Moreover I am afraid that my account in the game can be banned due to suspicion in cheating.
Could you add an option to disable keyboard/mouse support.

There is an option called Read-only.
To disable controls (everything which can interact with the device: input keys, mouse events, drag&drop files):
scrcpy --no-control
scrcpy -n

There is an option called Read-only.
To disable controls (everything which can interact with the device: input keys, mouse events, drag&drop files):
scrcpy --no-control
scrcpy -n

muchas gricias, amigo. I used the version 1.7 and it had not this option. now I have upgraded to the version 1.8 which have --no-control and I hope that is I want.


docker ps --filter "ancestor=foo" does not filter

Output of docker version:
Occurs both for:
Docker version 1.11.0, build 4dc5990

and
Docker version 1.10.2, build c3959b1

Output of docker info:
Containers: 6
 Running: 4
 Paused: 0
 Stopped: 2
Images: 4
Server Version: swarm/1.1.3
Role: primary
Strategy: spread
Filters: health, port, dependency, affinity, constraint
Nodes: 1
 7f436873-034d-4afe-8f63-3a1f60a37e05-n1: <IP_ADDRESS>:42376
  └ Status: Healthy
  └ Containers: 6
  └ Reserved CPUs: 0 / 12
  └ Reserved Memory: 0 B / 4.2 GiB
  └ Labels: com.docker.network.driver.overlay.bind_interface=eth1, executiondriver=native-0.2, kernelversion=3.18.21-2-rackos, operatingsystem=Debian GNU/Linux 7 (wheezy) (containerized), storagedriver=aufs
  └ Error: (none)
  └ UpdatedAt: 2016-04-18T13:16:36Z
Plugins:
 Volume:
 Network:
Kernel Version: 3.18.21-2-rackos
Operating System: linux
Architecture: amd64
CPUs: 12
Total Memory: 4.2 GiB
Name: 7f436873-034d-4afe-8f63-3a1f60a37e05-n1

Additional environment details (AWS, VirtualBox, physical, etc.):
1 node Carina cluster running Docker Swarm
Steps to reproduce the issue:

List all containers:
$ docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
6ba0bfd79655        coreos/apache       "/usr/sbin/apache2ctl"   About an hour ago   Up About an hour                        7f436873-034d-4afe-8f63-3a1f60a37e05-n1/loving_kilby
9f8c35a2dd2b        carina/consul       "/bin/consul agent -b"   3 days ago          Up 3 days                               7f436873-034d-4afe-8f63-3a1f60a37e05-n1/carina-svcd

Attempt to filter by image, by running the following:
$ docker ps --filter "ancestor==carina/consul"
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
6ba0bfd79655        coreos/apache       "/usr/sbin/apache2ctl"   About an hour ago   Up About an hour                        7f436873-034d-4afe-8f63-3a1f60a37e05-n1/loving_kilby
9f8c35a2dd2b        carina/consul       "/bin/consul agent -b"   3 days ago          Up 3 days                               7f436873-034d-4afe-8f63-3a1f60a37e05-n1/carina-svcd

See that containers have not been filtered.

Describe the results you received:
A listing of all containers
Describe the results you expected:
A partial listing of containers that use a specific image ID or name

Did you use it correctly ?

$ docker ps --filter "ancestor==carina/consul"
check
https://github.com/docker/docker/blob/master/docs/reference/commandline/ps.md

seems use =
Could you try if it work ?

Yes, it should be a single =.

@HackToday @justincormack The same output is returned when a single = is used

I suspect this is a combination of the double ==, and Swarm. Running directly on docker, I get;
docker ps --filter ancestor=hello -a
CONTAINER ID        IMAGE               COMMAND                   CREATED             STATUS                      PORTS               NAMES
5710be496ac9        hello               "/bin/sh -c 'echo \"he"   4 seconds ago       Exited (0) 3 seconds ago                        desperate_raman
2ca03871c194        hello-child         "/bin/sh -c 'echo \"he"   52 seconds ago      Exited (0) 51 seconds ago                       prickly_leavitt

docker ps --filter ancestor==hello -a
CONTAINER ID        IMAGE               COMMAND                   CREATED             STATUS                      PORTS               NAMES

So possibly Swarm 1.1.3 doesn't support the ancestor filter

@thaJeztah Seems this has already been reported in #1716 and #1700. Will close, thanks!

Thanks!


squid: Log date/time formatting into gui

Hi,
ist it possible to show the squid logs for access an store logs in a more user friendly time format into the gui?
Right now both logs are shown into unix time format.
best regards
Dirk

Hi Dirk,
It's not impossible, but there are far superior tools for Squid Log Analysis than we could ever write / provide. Have you checked out lightsquid?
Cheers,
Franco

Hi,
I've thinking bout this, too - and according to https://robinward.com/?p=372 it's quite easy by adding something like
logformat squid %tl.%03tu %6tr %>a %Ss/%03Hs %
to the squid config.
This means one needs to add the changes to the proxy template in

/usr/local/opnsense/service/templates/OPNsense/Proxy/squid.conf

I added it to line 337 - this is used when enabling "file extended" in the general settings
%tl.%03tu %6tr is added after logformat opnsense       :
logformat opnsense      %tl.%03tu %6tr %>a %[ui %>eui %[un [%tl] "%rm %ru HTTP/%rv" %>Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
After this modification the logfile enties changed from
1506423311.903     94 192.168.200....
to
26/Sep/2017:12:58:12 +0200.969 274530 192.168.200....
Cheers,
Stephan

Stephan,
it's working! But only for the access log. The store log keep showing the unix time format. Is there another line into squid.conf to change the time format for store log too?
What happens after an update? I think that these changes gone after an update, right?
best regards
Dirk

Yes, it should be added to OPNsense else it's overwritten. I don't mind changing the format, but what happens to e.g. lightsquid analysis in these cases?

@fichtner do these depend on the unix time format?
@monster900 as far as I know it's not possible for the store log
probably a custom format field would be helpful... though one needs  to know what one is doing...

I don't know, that's all I'm saying.
lightsquid is not a default so we can get away with using the new timestamp format as a default, but then we need to provide a fallback option for the people who use other tools that expect the "standard" log format.

A combobox with different formatting options would be nice^^

I'm giving this back to the pool. Started on this several times, but I can't find a nice solution.

Hi,
I tried to do something about it, and first trial is #3326; this would do something better, but not a clean one.
At least:

As long as log format are unchangable (like other format of "Mar 14 01:37:13", where number of spaces is hardcoded as $logsplit), unix datetime format can be parsed, but this is: "as long as log format are unchangable".
This seems to be a chance (for me) to change format to more localized, like "2019/03/14 01:37:13" rather than "Mar 14 01:37:13" in Japanese or Chinese setting, but I found hard to parse existing log format in other places, because they lacks year (please see pull request for this).

This, including pull request above, is just a comment, but if some more comments come, I might do something for this (and hopefully asian-friendly date format to other places :) ).


[RESTEASY-1943] Async filter resume with exception issues

This fixes the following bugs:

SuspendableRequestContainerContext.resume(Throwable) and SuspendableResponseContainerContext.resume(Throwable) were ill-specified
SuspendableRequestContainerContext.resume(Throwable) and SuspendableResponseContainerContext.resume(Throwable) did not call async callbacks
SuspendableRequestContainerContext.resume(Throwable) did not always call exception mapper and response filters
SuspendableResponseContainerContext.resume(Throwable) should not call exception mapper and response filters

Corresponding JIRA: https://issues.jboss.org/browse/RESTEASY-1943

there're some failures on Travis CI that look related to the changes here

Yeah, and it only fails on CI for some config… I can't reproduce it locally. I'll try to switch JDK to see if that changes anything.

Just what I thought: it runs locally on both Java 8 and 9 (using undertow and WF-12).
Is there any setting in the build I need to tweak to try another version of WF?

I tried with Java 8 and 10 (both oracle), Java 8 and 9 (openjdk) with undertow and it passes. Must be related to the WF version/jdk.

@FroMage check the .travis.yml config for info on the jobs; in any case you can use -Dserver.version=... to specify the WF version to test against.
Regarding the failures, I haven't had time to look at the properly, but in general we happen to have failure that are only reproducible on Travis from time to time. Usually, that's because it's way slower that our laptop and/or doing thread scheduling differently, etc. We also happened to have issues with entropy generation and random numbers, but that's definitely not the case here.

Thanks. I've tried with WF 11, 12, 13. Tried with shorter sleeps in the test, longer sleeps, no sleeps and still can't reproduce this bug.

@FroMage , first of all, I've just re-started the job, let's see how it goes.
When we happened to have similar situations in the past, I've tried to isolate the problem on Travis, by creating a new personal PR, excluding as much unrelated tests as possible (in some cases just running the failing test won't reproduce the problem), printing server and client logs at the end of the run (need to do that in the .travis.yml), adding some debug logs, etc.

OK I just created #1598 to try running the single test on jdk8 (seems like the best failing candidate) and WF 12.

OK, thanks for your help. I found the issue, and it's related to AsyncResponse.resume and CompletionCallback because this is the ordering that happens:

Client makes a request A
Server suspends request and spawns a thread to handle request A
Thread resumes request A with exception (should trigger completion callbacks)
Server sends response to client
Client makes a request B to see if the callback was called
Server returns that the callback was not called (yet)
Client marks test as failing
Thread (from Request A) continues, and calls the callbacks (too late)

Not sure I can do better than make the client sleep some more between requests A and B, WDYT @asoldano ? The spec confirms callbacks should be called after the response is sent, so that's proper.

Thanks @FroMage

Thanks!
Any chance I can get a snapshot published? :)

@FroMage I've just pushed a new snapshot :-)


Add a delay for SpecialAttack to hit more accurately

While this is not a perfect solution, it improves the situation a lot and fixes #72 imho.

@meepen do you want me to increase the version number as well?

@vladlen044 the new commit should address the issue of shooting in front of a blackhole.

@meepen as I said, it's not perfect, but it improves the situation massively already. We can also make the 50 dynamically later on.


When passing payload as Document, then default header is not working.

Adding the failing test case

I fixed this issue, please try checking out and building the branch again. I'm going to close this PR.


Add checks mode input

Closes #73
Uses the approach suggested in the issue itself.

@Ugzuzg Have you tested out all these changes in a project somewhere and confirmed that it is working as expected?

@Ugzuzg I don't think this quite works. Here is how I tested for you to replicate:

I set checks: required in my Actions config. I confirmed this setting was enabled by viewing my Actions logs

I created a required CI check on my pull request

I attempted to deploy that branch

The deployment failed even though the only failing CI check was one that was not required

Thanks for pointing that out! Here's the working version: https://github.com/Ugzuzg/actions-sandbox/pull/2
I didn't notice that checks needed to be manually read and passed to the function.

@Ugzuzg your changes are live in the following pre-release! Go ahead and give it a try and I'll make it the latest release within the next week for the public to use 🎉
https://github.com/github/branch-deploy/releases/tag/v9.1.0


Compilation failure on 4.8.1: manyurls.h not found

The exact excerpt:
/build/netcdf/src/netcdf-c-4.8.1/ncdap_test/test_manyurls.c:6:10: fatal error: manyurls.h: No such file or directory
    6 | #include "manyurls.h"
      |          ^~~~~~~~~~~~
compilation terminated.

Seems the file wasn’t commited in https://github.com/Unidata/netcdf-c/commit/cab37435682f0e0c7890cf47e33d7c0247eb2e10 where it should have?

As a workaround, you can build with --disable-dap-long-tests.

Fixed by PR https://github.com/Unidata/netcdf-c/pull/2091


order_by not working on SearchQuerySet

order_by not working on SearchQuerySet
In FacetedSearchView i am trying to sort/order the queryset in get_results(). But every time it gives me same results
class FacetedSearchView(views.FacetedSearchView):
    """
    A modified version of Haystack's FacetedSearchView

    Note that facets are configured when the ``SearchQuerySet`` is initialised.
    This takes place in the search application class.

    See https://django-haystack.readthedocs.io/en/v2.1.0/views_and_forms.html#facetedsearchform
    """  # noqa

    # Haystack uses a different class attribute to CBVs
    template = "oscar/search/results.html"
    search_signal = user_search

    def __call__(self, request):
        response = super().__call__(request)

        # Raise a signal for other apps to hook into for analytics
        self.search_signal.send(
            sender=self, session=self.request.session,
            user=self.request.user, query=self.query)

        return response

    # Override this method to add the spelling suggestion to the context and to
    # convert Haystack's default facet data into a more useful structure so we
    # have to do less work in the template.
    def extra_context(self):
        extra = super().extra_context()

        # Show suggestion no matter what.  Haystack 2.1 only shows a suggestion
        # if there are some results, which seems a bit weird to me.
        if self.results.query.backend.include_spelling:
            # Note, this triggers an extra call to the search backend
            suggestion = self.form.get_suggestion()
            if suggestion != self.query:
                extra['suggestion'] = suggestion

        # Convert facet data into a more useful data structure
        if 'fields' in extra['facets']:
            munger = FacetMunger(
                self.request.get_full_path(),
                self.form.selected_multi_facets,
                self.results.facet_counts())
            extra['facet_data'] = munger.facet_data()
            has_facets = any([len(data['results']) for
                              data in extra['facet_data'].values()])
            extra['has_facets'] = has_facets

        # Pass list of selected facets so they can be included in the sorting
        # form.
        extra['selected_facets'] = self.request.GET.getlist('selected_facets')

        return extra

    def get_results(self):
        # We're only interested in products (there might be other content types
        # in the Solr index).
        qs = super().get_results().models(Product)
        fieldname = self.request.GET.get('order_by', None)
        qs = qs.order_by(fieldname)
        return qs

Settings
HAYSTACK_CONNECTIONS = {
    'default': {
        'ENGINE': 'haystack.backends.simple_backend.SimpleEngine',
    },
}

Maybe the problem is that you need another search engine.
This backend does NOT work like the other backends do. Data preparation does nothing & advanced filtering calls do not work. You really probably don’t want this unless you’re in an environment where you just want to silence Haystack.
https://django-haystack.readthedocs.io/en/latest/tutorial.html#simple

This is a limitation of the SimpleEngine, which isn't intended to be used in production.


Add support for IJ 2023.2 EAP

Currently, the plugin does not even load:

Perhaps you won't need to change anything, only bump the supported action.

PhpStorm 2023.2 EAP doesn't work

Hi, 2023.2 builds are now supported.
https://plugins.jetbrains.com/plugin/21056-codegpt/versions/stable/353051


discussions on adding noise

https://github.com/jiweiqi/CellBox.jl/blob/47e8652a3d38d7189fca12b763ab6818f310c586/spilt/network.jl#L62
Initially, I was thinking of adding relative noise, e.g., 1% of the signal. However, after realizing that the signal is in log-scale already, we shouldn't use "relative noise" here, instead, we should use
ode_data += randn(size(ode_data)) .* noise
BTW, adding noise is pretty useful to regularize the parameters.

Implemented at b3f0bc36a57e7757da3e724215c782b216d5825e


Support for Small Taskbar

Hi, first of all, thanks for this awesome project, it's exactly what I was looking for!
I personally have the "Use small taskbar buttons" setting on:

When this setting is enabled, DeskBand's style doesn't adjust.

Sorry for the photo instead of a screenshot lol it's because when I actually take a screenshot, DeskBand overrides the height for the whole taskbar for some reason!
Would be amazing to see a fix for this :) For the moment I unfortunately can't use it because of the resizing behavior of my taskbar caused by DeskBand.

Hello, thank you for your return.
Support for the small taskbar was not planned, the DeskBand has a constant height.
I have already scheduled an update to fix a problem with screens that have different DPI, I will fix this problem at the same time.

Hello,
The new version with small taskbar support has been released.
You can find here: 1.3.0


IntelliJ diff editor as option

Could we have an option to have these nice flowy curves in the diff editor
It's more intuitive than the current diff editor
VS Code

IntelliJ

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Any blogs / examples / evaluations

Are there any blogs or example showing how well using GPT4 for reviews works? Ideally using this action.

Hey!
There's no evaluations of the ai-codereviewer as far as I know. If you find any, I would be very curious! However, you can easily go to see how the prompt is generated to get a grasp on how it is instructed.
@lukehollenback awesome! Are you planning to develop the fork further to a different direction from this, or would you be willing to consider merging the changes here? Would be great to get more contributions for this to make this more robust that it's current state. e.g better context awareness would be great but I don't have time to work on that. Also nitpickiness is maybe the biggest problem I'm personally having with the reviewer and I haven't had great success in tuning it down.


WIP: Sim talents in bulk sim

Sorry if I'm making a mess, first time contributing, looking for feedback.
I thought about where to put the talent sims. My use case would be for example simming two set bonuses against eachother, but the set bonus requires a talent swap to maximise the dps.
So for now I've put it in the loop where we add the valid sims. There's still some issues, mainly in the GUI and we sim unnecessary talent loadouts right now. We shouldn't have to sim the currently loaded talent spec even if you pick it, because the bulksim does that automatically.
I think it's also important to note that this obviously multiplies the amount of sims that are needed for a result and so it only does the sims when activated.
It's not very nicely visualised in the UI either, and you probably want to equip the talent loadout as well on the button press.

Thanks a lot for sending this! To safe some work patching the changes in, could you show a screenshot of how the settings look like, how different talent loadouts are specified, and how the result list from bulk looks like with talent loadouts enabled?

Here's some screenshots of different views @zku .
Basically your talent loadouts are the saved talents you define in the talent section. I haven't figured out if I should listen to some events to update the saved talents etc, or what. And the view when youre both simming items and talents at the same time could look better.

Updated styling slightly

Just one comment above, otherwise looks good to me. Thanks again for working on this!


ENV var security vulnerability!

ENV vars in pkgx.yaml present a pretty serious security risk, potentially allowing scripts to be run if you clone a repo with a malicious pkgx.yaml. Notice what happens to my important-file.txt😟 :

Systems like direnv get around this by making you direnv allow in directories before it sources your .envrc file (also when it's  changed). In theory, pkgx could avoid having to allow each directory since it's not sourcing the file like direnv does. However, precautions need to be taken to not evaluate scripts inside of ENV vars.

Good catch! But before pkgx evaluates pkgx.yaml you would have to call dev in the directory. Isn't that basically the same as direnv allow?

It's not as serious as implied for sure since you have to opt in.
It is not desired that arbituary shell code can be run, so the fix would be to error for this scenario.

Well dev is a little different because direnv also makes you re-allow every time the file is changed. But I still think the advantage pkgx has is we're not sourcing a whole file, just variables. I find direnv allow annoying, so would prefer some logic to block vars that are trying to run code. Might be tricky to do that and still support sub-variable evaluation like FOO: $HOME/foo, but easier than trying to do that in a whole file.

yeah agreed, we should not be executing arbitrary shellcode, will fix and patch release

Fixed with e73e559


[3] As a front-end developer, I should be able to do an API Call to return the user's all profile information to display in the profile page.

use read_one_user(user_id: str) as defined in line 55 of profile_page/database/profile_page_db.py


ctrl - y copy empty icon.

how you trigger that give me a reproduce step.

how you trigger that give me a reproduce step.

In neovim typing :NerdIcons and the floating window opens
after typing name of icon. I am selecting icon with CTRL + y However, the icon is not selected, the values that I used before appear on the clipboard.

this is an issue for me as well. I think it's because I have use_system_clipboard = true set.
C-y simply does not copy. I get whatever I last copied to clipboard when pasting.
Can you please suggest a workaround?
Perhaps worth noting that if I use mouse to highlight and copy an icon from NerdIcons floating window - it goes crazy.
C-n / C-p stop working, can't quit it unless I hit esc and :q! in cmd gutter, once for results float, and again for search line float.
Thank you! great plugin.


[Config] Add buildDom.js

buildDom.js is mainly for making DOM on webview extension.
there are funcions related with erasing DOM, building DOM.
ONE-vscode-DCO-1.0-Signed-off-by: TaeKyuRyu<EMAIL_ADDRESS>

from issue #58
from draft #117

Functions are getting longer compared to previous PRs and there are no empty lines that makes hard to read.
Please add some empty lines between different logics, variable declaration and logic codes, etc


no stdout for SBOM instead of a file

Currently the SBOM generation requires a file where the SBOM is stored in. I would prefer to have an option to send the pure json to stdout as well, so it can be simpler used for automation or in environments where temporary files are not allowed.
I'm more than happy to contribute if that is not already part of the roadmap.

@vchaindz This is a good idea. Happy to accept your contribution.

@prabhu done: https://github.com/owasp-dep-scan/blint/pull/79
please let me know if you would prefer to implement it differently. I tried to avoid any breaking changes for the existing cli args.


Add fee that prism node earns

This should be specified on startup of the prism.
you can use plugin.add_option(foo=bar) to add feerate=satoshis
Or define the fee as a payout in the prism. Set fees as part of the split or have a special fee calculation function.

In my view we should focus on two things: 1) receiver share pays for payout and 2) Prism Owner pays for payouts. This is an accounting problem only.
(2) is implemented/default/implied; all payments from the lightning node ALREADY incur fees to the lightning node. So 1) is the only thing we need to implement at the moment. I definitely prefer we implement this by issuing a Local Stub Offer which gets represented as a receiver share in the Prism. Then, if later we want to CHARGE fees for splitting payments, the "fees" can be added by modifying the receiver share proportion.


Add new feature for latest news

News bot for handling requests of type:
-latest news
-news
-world news

@harshitdx29 The overall structure looks good! We would need to add attribution also, right?
Regarding the changes you made to GenericTemplate, are you sure description is supported? I couldn't find it here: https://developers.facebook.com/docs/messenger-platform/send-api-reference/generic-template

@harshitdx29 The overall structure looks good! We would need to add attribution also, right?
Regarding the changes you made to GenericTemplate, are you sure description is supported? I couldn't find it here: https://developers.facebook.com/docs/messenger-platform/send-api-reference/generic-template

Review changes done:
Majorly

Attribution was added as a button
Description was replaced by subtitle

Review changes done:
Majorly

Attribution was added as a button
Description was replaced by subtitle

Good to go ? 😆

Thanks @harshitdx29! 👍

Thanks @swapagarwal  👍  Should i update the README for features in a separate PR?

I have some backlog in README updation which I plan to do on weekend. 😇


Rename generic type from B to Bound in PostgresRange

Make @gwynne happy!

Codecov Report

Merging #367 (1218ea6) into main (b3e1881) will not change coverage.
The diff coverage is 71.42%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #367   +/-   ##
=======================================
  Coverage   42.97%   42.97%
=======================================
  Files         118      118
  Lines        8242     8242
=======================================
  Hits         3542     3542
  Misses       4700     4700

Impacted Files
Coverage Δ

...s/PostgresNIO/New/Data/Range+PostgresCodable.swift
83.82% <71.42%> (ø)


Better User Experience to freeze live preview upon taking picture

IMO it's better User Experience to freeze live preview upon taking picture, rather than freezing live preview only after successfully taken the picture

Thanks @ivanfoong ! Could you please reopen a pull request on the develop branch instead of master?

This is already fixed, thanks!


Can I get the JSON file of the test results？

Hello, I trained faster RCNN with the dataset in VOC format. Can I get the JSON file of the test results (including category and bbox information)?

I meet the same question with you...


jquery is not defined error

Hello,
I am new to angular2 and is developing a small app for my job. I google and found your modal module that is for angular2 and bootstrap3.7 . I install the package and the compiler did not give any error but when i run the page, it will log the error of the "jquery is not defined". I wonder is there a way you do to fix it?

inline template:34:0 caused by: jQuery is not defined
ReferenceError: jQuery is not defined

the same issue.

Same issue:
inline template:94:8 caused by: jQuery is not defined
after a npm update this stop work

It is happening to me as well, Just added the dependency on the package.json file , npm install and Jquery is not defined ...

There are so many permutations as far as project setups are concerned. Are you using webpack? angular-cli? SystemJs? Plain ol' npm?

Hi!
Same for me. I use the default project config of webstorm angular-cli.
EXCEPTION: Uncaught (in promise): Error: Error in ./ModalDialogComponent class ModalDialogComponent - inline template:1:2 caused by: jQuery is not defined
ReferenceError: jQuery is not defined
at ModalInstance.init (http://localhost:4200/vendor.bundle.js:69449:23)
at new ModalInstance (http://localhost:4200/vendor.bundle.js:69411:14)
at new ModalComponent (http://localhost:4200/vendor.bundle.js:25788:25)
at new Wrapper_ModalComponent (/Ng2Bs3ModalModule/ModalComponent/wrapper.ngfactory.js:7:18)
at View_ModalDialogComponent1.createInternal (/AppModule/ModalDialogComponent/component.ngfactory.js:87:30)
at View_ModalDialogComponent1.AppView.create (http://localhost:4200/vendor.bundle.js:83898:21)
at View_ModalDialogComponent1.DebugAppView.create (http://localhost:4200/vendor.bundle.js:84350:44)
at TemplateRef_.createEmbeddedView (http://localhost:4200/vendor.bundle.js:61100:14)
at ViewContainerRef_.createEmbeddedView (http://localhost:4200/vendor.bundle.js:61361:52)
at NgIf.set [as ngIf] (http://localhost:4200/vendor.bundle.js:73207:37)
at Wrapper_NgIf.check_ngIf (/CommonModule/NgIf/wrapper.ngfactory.js:18:23)
at CompiledTemplate.proxyViewClass.View_ModalDialogComponent0.detectChangesInternal (/AppModule/ModalDialogComponent/component.ngfactory.js:44:18)
at CompiledTemplate.proxyViewClass.AppView.detectChanges (http://localhost:4200/vendor.bundle.js:84228:14)
at CompiledTemplate.proxyViewClass.DebugAppView.detectChanges (http://localhost:4200/vendor.bundle.js:84423:44)
at CompiledTemplate.proxyViewClass.AppView.internalDetectChanges (http://localhost:4200/vendor.bundle.js:84213:18)

I got it to work (in my webpack project) by:
adding a reference of jquery by adding the query reference to my project:
npm install jquery --save
then add to my app.component.ts
import * as $ from 'jquery';
window["$"] = $;
window["jQuery"] = $;

@dabi-it Your approach to this issue was probably the fastest and cleanest one whenever you need to setup something quickly, It worked for me.
Using: Webpack.


Add name and affiliation

Thanks @slobentanzer ! Feel free to edit anything I put in the BioChatter section here: https://github.com/mblue9/BioHackEU24_preprint/blob/main/paper/paper.md#enhancing-user-querying-of-tools

That's a great summary, thanks! I have nothing to add.


Converge concurrency cases related to Array.Set

What would you like to be added:
Converge concurrency cases related to Array.Set(the below 3 failure cases):
In PR #985, we added tests for several cases that can arise during concurrent editing of arrays and introduced the Array.Set method alongside existing operations like Insert, Move, and Remove. To meet the concurrent editing requirements linked to Array.Move, we recognize the need for foundational infrastructure changes(https://github.com/yorkie-team/yorkie/issues/987).

Insert(Prev)
Insert(Prev.Next)
Set(Target)
Remove(Target)

Insert(Prev)
o
o
o
o

Insert(Prev.Next)
o
o
❌
o

Set(Target)
o
o
o
❌

Remove(Target)
o
o
❌
o

However, for the concurrency scenarios associated with Array.Set, it appears we can resolve the issues by separating the updates of UpdatedAt and MovedAt, making this a relatively straightforward task.
Why is this needed:
This enhancement will provide clarity and consistency in the usage of the Array.Set method.

It might be related to Roadmap for Array (issue https://github.com/yorkie-team/yorkie/issues/990) as well.


Error: Unable to execute get method. Got exit_code: -13

Hello, dear TON developpers
I'm getting an error when running a getter .ts script. Name of the getter method in the smart contract(it's deployed with the getter) matches my wrapper call.
https://drive.google.com/file/d/1XgxbQho-51QVi8nF6n3k9h9qAlAMrhm9/view?usp=share_link – getter in func smart contracthttps://drive.google.com/file/d/19TDWkkwjkPQkEN8u3nWewCC3vW-iL09G/view?usp=share_link – getWalletData script .ts
https://drive.google.com/file/d/19TDWkkwjkPQkEN8u3nWewCC3vW-iL09G/view?usp=share_link – jetton wallet wrapper .tshttps://drive.google.com/file/d/1W3twTuxVSyGRVBrP_KMyZclFrY8Ax2sK/view?usp=share_link _ error message I'm getting
Thank you in advance!
Answer
No answer found

Original

I have also encountered the same problem. Have you found a solution?


AOS inside tabs with "once" option enabled

If to place AOS inside tabs with option "once: true" then for all hidden tabs it adds respective classes (e.g. aos-animated, fade-in). As a result: all elements that should be animated are displayed initially. Both refresh methods do not help.

AOS is only detecting whether elements are in the viewport, but not whether they are actually visible (in current tab) or not. It should've worked if content of your tabs was rendered after switching the tab, and not prematurely, as AOS detects mutations in DOM and triggers animation on newly appeared elements.


Add a Codacy badge to README.md

Pull Request Test Coverage Report for Build 43

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.256%

Totals

Change from base Build 42:
0.0%

Covered Lines:
147

Relevant Lines:
178

💛  - Coveralls


Remove Shards dependency

Codecov Report

Merging #340 into master will increase coverage by 1.11%.
The diff coverage is 46.66%.

@@            Coverage Diff             @@
##           master     #340      +/-   ##
==========================================
+ Coverage   96.49%   97.61%   +1.11%
==========================================
  Files          69       69
  Lines        4512     4449      -63
==========================================
- Hits         4354     4343      -11
+ Misses        158      106      -52

Impacted Files
Coverage Δ

...ckages/Discretization/src/DTK_PointInCell_decl.hpp
0% <ø> (ø)
:arrow_up:

packages/Discretization/test/tstPointInCell.cpp
100% <100%> (ø)
:arrow_up:

...ages/Discretization/src/DTK_PointInCellFunctor.hpp
100% <100%> (+66.66%)
:arrow_up:

...ackages/Discretization/src/DTK_PointInCell_def.hpp
48.48% <38.46%> (+10.74%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cff6780...9580785. Read the comment docs.


Drop rbx-3 from travis.yml

Summary
rbx-3 has been failed in Travis CI for a long while.
It seems that it already failed when upgrading from rbx-2 to rbx-3.
https://github.com/bbatsov/rubocop/pull/2706
It seems that there is no activity while failing with allow_failures. So I think that it is not necessary to use CI resources at present.
When passing the test with rbx-3, I think that it is better to add it again to travis.yml.
Other Information
jruby-head (jruby <IP_ADDRESS>-SNAPSHOT) will progress as soon as the following Issue is resolved.
https://github.com/jruby/jruby/issues/4809

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests(rake spec) are passing.
[x] The new code doesn't generate RuboCop offenses that are checked by rake internal_investigation.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

For the reference, currently Rubinius fails due to bundler/bundler#6163 or rubinius/rubinius#3769, whichever fixed first.
Then, there's a failure in Regexp#union:
https://github.com/bbatsov/rubocop/blob/b2fa1f27dfd56d7ff3975e38cb6ecd8252818037/lib/rubocop/node_pattern.rb#L108-L109
This is also the Rubinius bug, but I'm not sure whether it's reported anywhere. The smallest reproduction code is:
Regexp.union(/\(?/, //)

I'm working on tracking / eliminating Rubinius issues, but for now I have no objections against removing Rubinius from build matrix.

I agree with @koic. I was planning to do this for a while now, but I kept forgetting about it. I actually think we can also drop the note about the rbx support at some point as the project seems mostly dead and irrelevant these days and I don't think it's going anywhere. We've had nothing but problems with rbx for at least a couple of years.


How many GPUs do you use and how long does it take to train the model?

We train our model in two stages: we first train the backbone network and classifiers, then we learn the parameters
of the gating modules. We used 2-4 GPUs during training and it takes < 1 day to train.


(FACT-1392) Avoid locale failures in corrupted environments

On puppet-dev, someone observed issues running Facter when all locale
variables were set to UTF-8 but their environment had no locale files
for UTF-8. Facter's fallback to LANG=C appeared to be insufficient.
Add a stronger fallback of LC_ALL=C, as done in
https://github.com/puppetlabs/puppet/blob/4.4.1/lib/puppet/util/execution.rb#L282-L286,
to ensure only the C locale is used.

Did you reproduce this config and verify that adding LC_ALL=C fixes it?
Regardless, this makes sense to me.

Nope, couldn't figure out how to reproduce the failure. And not sure how to contact the original commenter.


[BUG] RuntimeError: index<PHONE_NUMBER> is out of bounds

OS
Linux
GPU Library
CUDA 12.x
Python version
3.11
Pytorch version
2.5.1
Model
No response
Describe the bug
After the interference has been working cleanly and without problems for a while, this suddenly appears:
[...] generator.iterate()
          ^^^^^^^^^^^^^^^^^^^
  File "exllamav2/exl2_env/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "exllamav2/generator/dynamic.py", line 973, in iterate
    self.iterate_gen(results)
  File "exllamav2/generator/dynamic.py", line 1213, in iterate_gen
    job.receive_logits(job_logits)
  File "exllamav2/generator/dynamic.py", line 1817, in receive_logits
    ExLlamaV2Sampler.sample(
  File "exllamav2/generator/sampler.py", line 434, in sample
    ExLlamaV2Sampler.apply_dry(settings, tokenizer, sequence_ids, logits)
  File "exllamav2/generator/sampler.py", line 272, in apply_dry
    logits.scatter_add_(-1, indices, penalties)
RuntimeError: index<PHONE_NUMBER> is out of bounds for dimension 2 with size 131072

131072 is my total context/cache size. What is going wrong here? Thanks a lot!
Reproduction steps
not easy, happens after some (heavy) usage.
Expected behavior
generator.iterate() should operate without error
Logs
No response
Additional context
No response
Acknowledgements

[X] I have looked for similar issues before submitting this one.
[X] I understand that the developers have lives and my issue will be answered when possible.
[X] I understand the developers of this program are human, and I will ask my questions politely.

Yes it is. Could it be possible that I just keep to many image embeddings at the same time?

Turns out it's just a special case I hadn't considered. When the same image appears multiple times in a context and you're using DRY, the sampler tries to apply a penalty to image tokens, and since they're not represented in the logits you get an out-of-bounds error. Should be fixed in dev with the latest commit.

Fix seems to work, no more errors so far. Thanks a lot!


Settings Dialog Backend

Why is the workflow not running, hmm

I think the workflow is not triggered because your commit is not verified.

What testing have you done to make sure the features work as expected? (manual/automated?, etc)

What testing have you done to make sure the features work as expected? (manual/automated?, etc)

For each setting, I manually toggled them to make sure both that local storage was being updated after each change and that all the changes were reflected on the screen. Every setting is saved correctly in local storage and is reflected on the screen with both values of the toggle.


CoreOS fixed IP and hostname support

Dhcp can't be used in CoreOS, so a parameter(in form of ip=:[]:::<client_hostname>::none[:[][:]]) are used to tell
unpackdiskimage/dracut create a CoreOS vm with fixed ip and hostname
instead of using "ip=dhcp".
Refer to http://man7.org/linux/man-pages/man7/dracut.cmdline.7.html

I've updated my code and tested them with both rhel and rhcos images. It works fine.

are you plan to merge to 1.5.n branch?

are you plan to merge to 1.5.n branch?

Yes, but I meet something wrong in my git env.


After long uptime no longer able to control devices until hoobs restarted

Describe the bug
After weeks of consistent uptime, I will be unable to control my devices until I restart hoobs. In the log, I see this error:
11/11/2020, 4:26:02 PM [TuyaWebPlatform] [Bistro Lights] - Unsetting debouncedDeviceStateRequestPromise
11/11/2020, 4:26:02 PM [TuyaWebPlatform] [Bistro Lights] - [GET] No valid token
11/11/2020, 4:26:02 PM [TuyaWebPlatform] [House Christmas Lights] - Unsetting debouncedDeviceStateRequestPromise
11/11/2020, 4:26:02 PM [TuyaWebPlatform] [House Christmas Lights] - [GET] No valid token
And after restarting I get normal operation and see
11/11/2020, 4:26:03 PM [TuyaWebPlatform] [Bistro Lights] - Requesting device state
11/11/2020, 4:26:03 PM [TuyaWebPlatform] [Bistro Lights] - Creating new debounced promise
11/11/2020, 4:26:03 PM [TuyaWebPlatform] [Bistro Lights] - Triggering debouncedDeviceStateRequest

Steps To Reproduce
Obviously difficult to reproduce given the long uptime. I'm happy to throw in some debug statements or something and update when it happens again

Plugin Version
0.4.8

Homebridge Config

{
   "server": {
       "port": 8585,
       "origin": "*",
       "autostart": 15,
       "home_setup_id": "redacted",
       "polling_seconds": 5
   },
   "client": {
       "default_route": "status",
       "inactive_logoff": 30,
       "theme": "hoobs-dark",
       "locale": "en",
       "temp_units": "fahrenheit",
       "country_code": "US",
       "postal_code": "redacted",
       "latitude": "redacted",
       "longitude": "redacted"
   },
   "bridge": {
       "name": "HOOBS",
       "port": 51826,
       "pin": "redacted",
       "username": "redacted"
   },
   "description": "",
   "ports": {},
   "accessories": [
       {
           "accessory": "PurpleAir",
           "purpleID": 5,
           "updateFreq": 90,
           "name": "PurpleAir Air Quality",
           "plugin_map": {
               "plugin_name": "homebridge-purpleair",
               "index": 0
           }
       },
       {
           "accessory": "Chamberlain",
           "plugin_map": {
               "plugin_name": "homebridge-chamberlain",
               "index": 0
           },
           "name": "Garage Door",
           "username": "redacted",
           "password": "redacted",
           "deviceId": "redacted"
       }
   ],
   "platforms": [
       {
           "platform": "TuyaWebPlatform",
           "plugin_map": {
               "plugin_name": "homebridge-tuya-web"
           },
           "name": "TuyaWebPlatform",
           "scenes": false,
           "options": {
               "platform": "smart_life",
               "username": "redacted",
               "password": "redacted",
               "countryCode": "1"
           }
       }
   ]
}

Device Config

Getting credentials
Got credentials
{   'access_token': 'AZhaz1575155944565PvF8vZqSW8yaPyt',
'expires_in': 864000,
'refresh_token': 'AZhaz1575155944565PvF8vWxktsTlBjR',
'token_type': 'bearer'}
Getting devices
Got devices
{   'header': {'code': 'SUCCESS', 'payloadVersion': 1},
'payload': {   'devices': [   {   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d244ec_1',
'name': 'Front Yard Christmas Tree'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d244ec_2',
'name': 'Switch 2'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d24305_1',
'name': 'Garage Christmas Lights'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d24305_2',
'name': 'Switch 2'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d242d7_1',
'name': 'Trellis Christmas Lights'},
{   'data': {'online': False, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d242d7_2',
'name': 'Switch 2'},
{   'data': {'online': True, 'state': True},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d23963_1',
'name': 'House Christmas Lights'},
{   'data': {'online': True, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1511839633_0.png',
'id': '37677666600194d23963_2',
'name': 'Bistro Lights'}],
'scenes': []}}
Additional Context

Happy to help debug on this

Thank you for the extensive bug report.
This is really helpful in getting some insights.
Has this happened to you once? Or is this more of a recurring thing?

Hi @milo526 sorry for the delayed response. It's a recurring issue. I just noticed today I ran into it again for the first time since I filed the bug, which is a 10 day separation between drops. There's nothing critical that requires this to work for me, so I can leave it in the hung state if you have any debugging ideas I can try before restarting. And if you'd like me to run some debugging code to figure it out next time it hangs, I can do that too. Appreciate the help!

I have a very similar problem. My problem is repetitive and happens every 10 days. Previously I used to get a SIGTERM error every 10 days and needed to reboot but with this app I get a NO VALID TOKEN error and restarting the service seems to work, however it would be nice to sort it out.
23:11:20 Hoobs No Valid Token.txt
The config is:
{
"server": {
"port": 80,
"origin": "*",
"autostart": 0,
"home_setup_id": “redacted”,
"polling_seconds": 5
},
"client": {
"default_route": "status",
"inactive_logoff": 30,
"theme": "hoobs-light",
"locale": "en",
"temp_units": "celsius",
"country_code": "GB",
"postal_code": “redacted”,
"latitude": “redacted”,
"longitude": “redacted”
},
"bridge": {
"name": "HOOBS",
"port": 51826,
"pin": "redacted",
"username": "redacted"
},
"description": "",
"ports": {},
"accessories": [],
"platforms": [
{
"platform": "TuyaWebPlatform",
"name": "TuyaWebPlatform",
"options": {
"username": “redacted”,
"password": “redacted”,
"countryCode": xx,
"platform": "smart_life"
},
"plugin_map": {
"plugin_name": "homebridge-tuya-web"
},
"scenes": false,
"defaults": [],
"scenesWhitelist": [],
"hiddenAccessories": []
},
{
"platform": "Ring",
"plugin_map": {
"plugin_name": "homebridge-ring"
},
"refreshToken": "redacted"
}
]
}

Sorry I'm new to all this Plug-In version is 0.4.8

I've experienced the exact same issue. If you need some more info or logs, please let me know.
Plugin version 0.4.8

Are y'all using hoobs?

I’m using homebridge + Homebridge Config UI X

Are y'all using hoobs?

I am

yes. I'm on HOOBS 3.2.10 the current version.

Upgraded to Hoobs 3.3.1 yesterday (1/12/20) so will see what happens in 10 days time.

Got the problem again. About 9 days after the previous time.

I found the issue 🎉
I'm fixing this along with some other issues, just working on the last few bugs. Expect a beta release to land somewhere this week.

Wow great! Care to explain, in high level, what the problem was? Just curious.

Tuya uses so called "access tokens". I use your username and password to request one of these access tokens from the tuya server.
Whenever I want to do something with your devices, I need to send the access token along to ensure tuya that the request is coming from the owner of the device.
These access-tokens are valid for.... you guessed it... 10 days.
Previous versions of this library used to request a new token after just under 10 days to ensure that you always have a fresh token.
Somewhere in a code change; that code that refreshes the token got removed by me (don't ask me why 😛, I don't know) and thus your token won't be valid after 10 days and you get the error.
I once again added some code that refreshes your token after 9 days and 23 hours to ensure that you once more always have a fresh token.

Excellent news. And thankfully a fairly simple solution.

@milo526 Will you be pushing a new release out?
I'm hitting this and have the latest version 0.4.8 installed according to Homebridge and here.  Looks like you have later builds, but they aren't tagged correctly so users of Homebridge haven't been getting your updates since Sept.

I've noticed in the homebridge UI you can select the newer version, although it defaults to the latest "release" tag

Thank you for your concern,
I am aware that these releases were not tagged "latest". Mostly because they are either completely untested or are known to contain severe bugs.
These tags (i.e. the heater-cooler tag) are meant to enable others to easily test new releases.
I know I haven't pushed a new public release since September. As you figured out I definitely did do work on the plugin but sometimes personal life gets in the way of opensource work 😛

And this is now released in pre-release version 0.5.4.
If you want to; you can update to this pre-release.
Please let me know if you have any issues!

Sorry to be a pain. How do I update to the pre-release? I am using HOOBS.
Thanks for any help or direction.
Mike

Stop HOOBS
Run these commands in the terminal

cd ~/.hoobs/
npm install<EMAIL_ADDRESS>

Restart HOOBS

Thanks very much.
Mike

Hoorah! Broken the 10 day barrier…. Thanks Milo.


ci: restrict reruns with Exception [wip]

What does this PR do?
It would be much better for stability to rerun only known/expected cases, so specify exceptions that can be rerun; the others just fail...

[ ] remember what was the Exception we wanted to patch
[ ] rerun several times without rerun to find out ^^
[ ] update CI with the specific exceptions

Before submitting

[x] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?
Make sure you had fun coding 🙃

📚 Documentation preview 📚: https://torchmetrics--2397.org.readthedocs.build/en/2397/

FAILED unittests/utilities/test_utilities.py::test_check_full_state_update_fn[MeanSquaredError-False] - AssertionError: assert 'Recommended setting `full_state_update=False`' in 'Full state for 10000 steps took: 2.257866144180298+-0.134\nPartial state for 10000 steps took: 2.395+-0.426\nRecommended setting `full_state_update=True`\n'
 +  where 'Full state for 10000 steps took: 2.257866144180298+-0.134\nPartial state for 10000 steps took: 2.395+-0.426\nRecommended setting `full_state_update=True`\n' = CaptureResult(out='Full state for 10000 steps took: 2.257866144180298+-0.134\nPartial state for 10000 steps took: 2.395+-0.426\nRecommended setting `full_state_update=True`\n', err='').out

closing it for now as it is may not be feasible until we are able to wrap model downalod with a wrapper + timeout...


Downloading Chat logs feature

Hello,
This is technically a feature request.
What are Your thoughts on introducing chat download along with respective video?
There are existing implementations of such code available untested example would be:
https://github.com/PetterKraabol/Twitch-Chat-Downloader
Another question would be if it is possible to use TwitchLeecher as a command line tool - which would ease the pain of using 2 command line software one for downloading video another for downloading chat.

For command line support see #462

I'm glad someone has already raised this, saves me typing. Just donated 5.41 euros as some form of non-binding indication. :) Would save me having to work out another software. (for me at least, some text IRC style log with timestamps would be best)

I'm glad someone has already raised this, saves me typing. Just donated 5.41 euros as some form of non-binding indication. :) Would save me having to work out another software. (for me at least, some text IRC style log with timestamps would be best)

I'm currently using TwitchDownloader for getting chat logs and manualy converting them to SRT subtitles to use on youtube ... automating that would be amazing.

This is an old feature request by now and is is something I also very much would love to have implented in TwitchLeecher

#803


minor standard implementation detail of version

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Format the pull request title like [JAV-XXX] Fixes bug in ApproximateQuantiles, where you replace JAV-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

fix #388

Changes Unknown when pulling 33dfd35a1764d48e30946b0f0ada484e890bdde1 on lihua8712051:hua into ** on ServiceComb:master**.


add Institución Universitaria Colegio Mayor del Cauca request

@danielfyocmc I am sorry for a delay with processing your request.
Pull request merged. Thank you!

No problem,
Thanks for letting me know
Best regards
On Fri, 14 May 2021 at 5:12 Philip Torchinsky @.***>
wrote:

@danielfyocmc https://github.com/danielfyocmc I am sorry for a delay
with processing your request.
Pull request merged. Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/11557#issuecomment-841150830, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUBR6X7HVIARWM2KH3PMAT3TNTZQNANCNFSM44Y4RMFA
.

--
Daniel F Yepes Ortega
Cel. 310 686 08 75


Nicer handling of default values like reported 0 fan speed, 0 temp etc etc...)

I think we should push back the decision on whether a value is "valid" or just a default to before the database, and store missing values as nulls in their respective row (like we currently already do for CPU/motherboard/etc.


Merge string and character types

Pro:

Lots of method logically accept either type, e.g. string.find, string.split

Con:

Some methods logically only work on characters, e.g. Python's ord


bug: labware collision during Labware Position Check in v6.3.0

Overview
When running Labware Position Check the pipette will collide with labware higher than the exiting height from the trash.
Seen with OT and Opentrons App v6.3.0
Seems related to #12586
Steps to reproduce
Open the OT app, load the attached protocol and than execute the Labware Position Check
collision_during_calibration_with_6-3.zip
Current behavior
When calibrating the NEST plate in slot 4 the P300 pipette with tip will collide with the 1000ul tiprack in slot 8.
Similar behavior when going back from slot 4 to trash after having confirmed the calibration.
Expected behavior
The pipette should rise enough not to collide with labware.
Operating system
Windows
System and robot setup or anything else?
App v6.3.0
OT2

Hello, were you able to resolve this issue? We are experiencing the same issue here when I go to teach labware positions, the temperature module is in position 10 and the tip box is in position 7 and when it goes to it, it will crash into the temperature module.

Seems that no one is taking care about that on OT2 for more than a month.
The labware calibration in 6.3.0 IMO is unacceptable, I'll downgrade the robot to v6.2.1 asap

Hi I was able to reach out and contact Opentrons on a Pylab Forum. Here is the link with a solution. https://forums.pylabrobot.org/t/opentrons-ot-2-issue/1697


PEI appears to count deaths in the recovered category

May have to modify recovered numbers back to when the first two deaths in PEI were announced (e.g., see data/press release from 2021-01-17). Verify with other days of data and make corrections if necessary.

Historical updates going back to 2022-01-14 (the date of the first reported deaths) will be pushed in tonight's updates. Should also update Covid19CanadaDataProcess and Covid19CanadaETL to automatically calculate these values from the latest press release.

As of 2022-10-31, it appears that PEI is appropriately accounting for deaths in their recovered value.


UI: Allow sorting in the Node, Volume, Backup page

Should be sorted by the available fields in the corresponding table.
Can be sorted in both ascending and descending way. One click on the field for ascending, one more click for descending. Click three times to return to the default order for the table.

Done.


Add options to Enable/Disable JMX

Is your feature request related to a problem? Please describe.
The following code defines that JMX is enabled and how it is activated:
https://github.com/masesgroup/KNet/blob/4527271bbd96c131bdc6a2f4a2f68833092249e4/src/net/KNet/KNetCore.cs#L385-L387
Describe the solution you'd like
Add options to Enable/Disable:

JMX at all
authentication
SSL

Describe alternatives you've considered
N/A
Additional context
N/A

To cover the full issue some other options must be managed, read https://www.ibm.com/docs/en/elm/6.0.2?topic=servers-enabling-jmx-application and https://docs.oracle.com/javase/8/docs/technotes/guides/management/agent.html for an overview.
The following can be done immediately:

1. JMX at all

The following needs extra parameters:

2. authentication

The following needs extra parameters:

3. SSL

First of all, for security reason, the request 1 will be satisfied immediately. Then will be done the others.