[WIP] Refactor software: step 1

About Refactoring
Refactoring the software can be done in 2 steps:

Re-organise all functions into sub-modules, no changes in function name or content
Optimise sub-modules and functions to make them pythonic, and more efficient

This PR is a proposition for step 1: a new structure of the library where functions are now organized into sub-modules.
New positioning of functions
Note that functions name are not changed !

pyowc/core

utils.py: change_dates, cal2dec, potential_vorticity, wrap_longitudes, sorter
stats.py: brk_pt_fit, build_cov, covarxy_pv, calc_piecewisefit, covar_xyt_pv, noise_variance, signal_variance, spatial_correlation
finders.py: find_10thetas, find_25boxes, find_besthit, find_ellipse

pyowc/data

fetchers.py: get_region_data, get_region_hist_locations, get_data, get_topo_grid
wrangling.py: interp_climatology, map_data_grid

pyowc/plot

dashboard.py: plot_diagnostics
plots.py: cal_sal_curve_plot, sal_var_plot, t_s_profile_plot, theta_sal_plot, trajectory_plot
utils.py: create_dataframe

pyowc/calibration.py: fit_cond, nlbpfun, set_calseries, update_salinity_mapping

pyowc/configuration.py: load_configuration

pyowc/errors.py  # List of specific errors

pyowc/tests  # Contain all the unit tests !

Usage
With this structure, we have an elegant:
import pyowc as owc
FLOAT_NAME = "3901960"
USER_CONFIG = owc.configuration.load() # fetch the configuration and parameters set by the user
owc.calibration.update_salinity_mapping("/", FLOAT_NAME, USER_CONFIG)
owc.plot.dashboard("/", FLOAT_NAME, USER_CONFIG)

Remains to be done

[ ] Settle on the sub-module names and content
[ ] Consolidate unit testing (half way there)

Here is a new structure.
Fully functional and binder compliant.
But still need to fix some path issues for unit tests.
With this, users can install the software with pypi.

I think "calc_piecewisefit" should also go into the calibration.py module

Apart from the above suggested changes, this looks good to me


Testing, please ignore. (dmvked)

Please ignore.. Please DO NOT APPROVE THIS! (dmvked)

Hi @helumanxa,
Thank you for contributing this pull request!
Please sign the Kaltura CLA so we can review and merge your contribution.
Learn more at http://bit.ly/KalturaContrib


reduce snapshot frequency

Signed-off-by: kevin xu<EMAIL_ADDRESS>

Codecov Report

Merging #540 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #540   +/-   ##
=======================================
  Coverage   19.22%   19.22%
=======================================
  Files          28       28
  Lines        1498     1498
=======================================
  Hits          288      288
  Misses       1171     1171
  Partials       39       39


enterprise imager piece naming

To be more consistent, I need to name the pieces as IMG.### rather than ###.dd

switched the naming, and it works to where i can use smrawmount to mount the pieces into a single forensic image.


Extend ContextMenu

Hi,
I'm trying to add nested menus to your awesome plugin.
Instead of changing the original code, I'm trying to extend it as follow:
L.Map.ContextMenuExtender = L.Map.ContextMenu.extend({ })
I would like to override certain methods such as _showContextMenu for instance. My idea, is that my overrided methods would be called instead of the original ones.
But I can't find a way of doing it.
Thanks in advance for the help.
Tom

Hi Tom, nested menus is a feature that's requested from time to time but not something I've implemented with this plugin as it was written to meet the needs of a project which required only single-level menus. The plugin is designed around a single context menu instance which is associated with the map. Context menu items can be associated with map layers but the handler for the layer contextmenu event appends the layer's menu items to the map's context menu instance and shows that.
L.Map.ContextMenu is implemented as a map interaction handler which makes it unsuitable for association with an existing menu. For example when the menu is initialized _createItems()  is called which will create the menu's items from the configuration passed to the map constructor.
If you really need nested menus I'd suggest starting from scratch and implementing the context menu as a UI component independent from the context menu map handler.

Alright, thanks for the quick answer. If I have the time, I'll try fork your project and  try to implement it this way. For the time being, I'll put everything in a single-level menu with separators =).
Thank you again ! God I love open source =D.


[Bug]

[REQUIRED] Please fill in the following fields:

Pre-built SDK from the website or open-source from this repo: _____
Firebase C++ SDK version: _____
Problematic Firebase Component: _____ (Auth, Database, etc.)
Other Firebase Components in use: _____ (Auth, Database, etc.)
Platform you are using the C++ SDK on: _____ (Mac, Windows, or Linux)
Platform you are targeting: _____ (iOS, Android, and/or desktop)

[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase C++ quickstarts ?
What's the issue repro rate? (eg 100%, 1/5 etc)
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
// TODO(you): code here to reproduce the problem

Hey @ryan2034, please fill out the issue template, then comment here and we'll reopen the issue.


Show button in SCM view rather than a notification to prompt for creating a PR

Currently, this notification is shown:

I already find it very convenient how easy it is to create a PR!
But the notification stresses me out a bit, as I fear that it could disappear any time.
Also, it feels like a very temporary state.
I suggest to show a button instead in the SCM view like this:

This button could replace the "Create PR" button in the titlebar of the SCM view, so that the notification is no longer neccessary.

Showing the button in SCM would mean that if the SCM view isn't open then you can see that you can create a PR. How could we let users who have the SCM view closed know that now might be a good time for them to make a PR?

Can you only show the notification when the SCM view is not open?

From an extension we don't know anything about whether the SCM view is visible. I suppose that the built in git extension could expose some API that says if the view is visible (if it even has that information).
You can always "Don't show again" the notification. I could also have a check that automatically does the "Don't show again" if the notification is shown 10 times but is never interacted with.


setAuxEffectInfo does not apply

Hi. I can not find any example how to apply AudioEffects to exoplayer. I tried to add it before and after media source is set. For example reverb:
 val reverb = PresetReverb(1, exoPlayer.audioSessionId)

        reverb.preset = PresetReverb.PRESET_LARGEHALL

        reverb.enabled = true

        exoPlayer.setAuxEffectInfo(AuxEffectInfo(reverb.id, 1f))

It does not work.

Are you checking that ExoPlayer.getAudioSessionId isn't returning C.AUDIO_SESSION_ID_UNSET (per the docs) - see the docs on setAudioSessionId for how you can generate one if needed.

Oh, right. I was looking at a wrong info. Other effects seems to work with exoplayer.
I tried to launch reverb on session 0 (and still it did not work, but that 's not related to exoplayer), but I did not see it is mandatory.
Thank you.


apiclarity-apiclarity pod can not start

When i installed APIClarity in a K8s cluster using Helm，the apiclarity pod did not start properly.

kubectl describe pod，logs as follow:
`Name:             apiclarity-apiclarity-75f75c6db4-7w4q7
Namespace:        apiclarity
Priority:         0
Service Account:  apiclarity-apiclarity
Node:             master/XX.XX.XX.XX
Start Time:       Wed, 20 Sep 2023 11:08:05 +0800
Labels:           app=apiclarity-apiclarity
pod-template-hash=75f75c6db4
Annotations:      sidecar.istio.io/inject: false
Status:           Pending
IP:               <IP_ADDRESS>
IPs:
IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/apiclarity-apiclarity-75f75c6db4
Init Containers:
apiclarity-apiclarity-wait-for-db:
Container ID:  docker://7386e858d32f3e92fe18c606811ea03be57c563efbf76e766d2c71512021aa11
Image:         docker.io/bitnami/postgresql:14.4.0-debian-11-r4
Image ID:      docker-pullable://bitnami/postgresql@sha256:58744ac056007ba278d80090d41722e30c49b20d85c56653f337e7e0a7b2f312
Port:
Host Port:
Command:
sh
-c
until pg_isready -h apiclarity-apiclarity-postgresql -p 5432 -U "postgres" -d "dbname=apiclarity"; do echo waiting for database; sleep 2; done;
State:          Running
Started:      Wed, 20 Sep 2023 11:08:06 +0800
Ready:          False
Restart Count:  0
Limits:
cpu:     200m
memory:  1000Mi
Requests:
cpu:        100m
memory:     200Mi
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-qhqkl (ro)
Containers:
apiclarity:
Container ID:
Image:         ghcr.io/openclarity/apiclarity:v0.14.5
Image ID:
Port:
Host Port:
Args:
run
--log-level
warning
State:          Waiting
Reason:       PodInitializing
Ready:          False
Restart Count:  0
Limits:
cpu:     1
memory:  1000Mi
Requests:
cpu:      100m
memory:   200Mi
Liveness:   http-get http://:8081/healthz/live delay=10s timeout=10s period=30s #success=1 #failure=5
Readiness:  http-get http://:8081/healthz/ready delay=0s timeout=10s period=30s #success=1 #failure=5
Environment:
POD_NAMESPACE:                          apiclarity (v1:metadata.namespace)
RESPONSE_HEADERS_TO_IGNORE:             <set to the key 'response.headers' of config map 'apiclarity-apiclarity-headers-to-ignore-configmap'>  Optional: false
REQUEST_HEADERS_TO_IGNORE:              <set to the key 'request.headers' of config map 'apiclarity-apiclarity-headers-to-ignore-configmap'>   Optional: false
TRACE_SAMPLING_ENABLED:                 false
BFLA_AUTOMATIC_LEARNING_AND_DETECTION:  false
DB_NAME:                                apiclarity
DB_HOST:                                apiclarity-apiclarity-postgresql
DB_PORT_NUMBER:                         5432
DB_USER:                                postgres
DB_PASS:                                <set to the key 'postgres-password' in secret 'apiclarity-postgresql-secret'>  Optional: false
STATE_BACKUP_FILE_NAME:                 /apiclarity/state.gob
FUZZER_JOB_TEMPLATE_CONFIG_MAP_NAME:    apiclarity-apiclarity-fuzzer-template
FUZZER_DEPLOYMENT_TYPE:                 configmap
Mounts:
/apiclarity from apiclarity-apiclarity (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-qhqkl (ro)
Conditions:
Type              Status
Initialized       False
Ready             False
ContainersReady   False
PodScheduled      True
Volumes:
apiclarity-apiclarity:
Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName:  apiclarity-apiclarity-pvc
ReadOnly:   false
kube-api-access-qhqkl:
Type:                    Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds:  3607
ConfigMapName:           kube-root-ca.crt
ConfigMapOptional:
DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type    Reason     Age   From               Message

Normal  Scheduled  18m   default-scheduler  Successfully assigned apiclarity/apiclarity-apiclarity-75f75c6db4-7w4q7 to master
Normal  Pulled     18m   kubelet            Container image "docker.io/bitnami/postgresql:14.4.0-debian-11-r4" already present on machine
Normal  Created    18m   kubelet            Created container apiclarity-apiclarity-wait-for-db
Normal  Started    18m   kubelet            Started container apiclarity-apiclarity-wait-for-db
`

kubectl logs -f apiclarity-apiclarity-75f75c6db4-7w4q7 -n apiclarity, error reported as follows:

Why is this pod stuck in the initialization state, not to start. Is it because I used the default value file values.yaml and didn't add a traces data source?

apiclarity-apiclarity-postgresql-0 pod is running, but an error message is displayed by kubectl describe pod,

and

but the space of device is enough.


Thanks!! @bp4924 @macgreene14 @alandry110


Verge wallet is syncing but i can not send coins to exchanges

Im using the wraith protocol 4.0 wallet and I can not get my coins to transfer. It's worked perfectly for the last 3 years. Now my coins are stuck in the wallet. If I try to transfer them, they get lost.
Issue Template
Context

Prerequisites

[ ] Are you running the latest version?

User Story:

"I'm submitting a ... "

[ ] bug report
[ ] feature request
[ ] support request
[ ] translation request

Expected Behavior

Current Behavior

Screenshots

Possible Solution

Steps to Reproduce (for bugs)

Steps :

Your Environment

Verge Release:
CPU:
GPU:
RAM:
OS:

[ ] I'm using Mac
[ ] I'm using Linux
[ ] I'm using Mac

Any extra information that might be useful in the debugging process.

Please upgrade to the latest version. Make sure to backup your wallet.


disable github pages

I've tried disabling GitHub Pages on this site but it never sticks: every commit produces a "build failed" message in my inbox because there isn't a docs directory with HTML. cc @juananpe

As a regular collaborator of the mccole repo, I can't see the settings page . What do you have there? https://github.com/juananpe/mccole/settings/pages
And in the Actions page?
https://github.com/juananpe/mccole/settings/actions
(I would try to disable Actions in this repo if we are not using them)

Turns out the way to disable it is to select None as the branch to publish from.


OPFS

First of all, thanks for the implementation. I would use the OPFS instead of the cache. Meanwhile even the iPhone supports OPFS. Hopefully soon it will work completely with Wasm without javascript. I think currently you can't access the OPFS with Wasm. But maybe there will be a solution from Microsoft soon.

Thanks, will consider!


add s3 support for respository

This PR adds support to manage s3 repository.
Example:
    elasticsearch::snapshot_repository {  's3_repository':
      repository_type => 's3',
      bucket          => $backup_aws_s3_bucket,
      region          => $backup_aws_s3_region
    }

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?


Failed to delete resource NetApp Pool when the delete API of NetApp Volume returns 404

Bug Report

Import path of package in question: https://github.com/Azure/azure-sdk-for-go/tree/master/services/netapp/mgmt/2019-06-01/netapp
SDK version: v35.0.0
Output of go version: go version go1.12.7 windows/amd64

What happened?
The resource NetApp Volume depends on the resource NetApp Pool. Although the delete API returns 404 which means the NetApp Volume resource has been deleted. Then it tries to immediately delete NetApp Pool but it still throws error Can not delete resource before nested resources are deleted., which means the resource NetApp Volume still hasn't been deleted. So it failed to delete top resource NetApp Pool.

What did you expect or want to happen?
It should delete both resources NetApp Volume and NetApp Pool successfully.

How can we reproduce it?

Create a resource group
Create NetApp Account
Create NetApp Pool
Create NetApp Volume
Delete NetApp Volume, which returns "202"
Immediately call "Get" rest api to get resource NetApp Volume, which returns "404"
Immediately delete NetApp Pool, which returns error code "409"
Then it throws error Can not delete resource before nested resources are deleted.

Anything we should know about your environment.
The error message:
"Error: Error deleting NetApp Pool "acctest-NetAppPool" (Resource Group "acctestRG-netapp"): netapp.PoolsClient#Delete: Failure sending request: StatusCode=0 -- Original Error: autorest/azure: Service returned an error. Status= Code="CannotDeleteResource" Message="Can not delete resource before nested resources are deleted."" when the delete API of NetApp Volume returns 404.

Hi @leonardbf could please help on this issue?

I am also receiving an error while deleting a ANF volume from Azure portal. The error message is as below.
Can not delete resource before nested resources are deleted.

Did this ever get resolved? Having a similar issue.

We have retired support for Azure SDK for Golang libraries which do not conform to our current Azure SDK guidelines (see announcement). Please migrate to the latest version according to the migration guide. If you could still repo this problem, please submit a support ticket in Azure directly.


Keep trip state in one JSON file per route

Resolves #59 (see that issue for a detailed description of the rationale)
This PR adds a trip_state.py that is responsible for keeping track of the current state of a given trip (i.e. the previous event that it recorded). The diff between the last event and the new one is used by process_event().
Instead of a single state.json file, we now write one trip_states/{route_id}.json file per route. This should increase disk write performance, with smaller files and no write contention between different event processing threads.
Test plan:
I ran python -m gobble and verified that:

it runs correctly
it writes files as expected to disk
when I restart the server, the states are recovered from the json files

Also if you want to use datadog locally, you can set up a local agent with our account API keys and send profiles from local. Just set env=local or something

(Sorry for the crazy number of commits from my other branch, they'll all get squashed down though)


Problems running in Kubernetes

I added the exporter to our Kubernetes Cluster at the nginx Controller.
At the metrics page i get the following errors
4 error(s) occurred:
* collected metric nginx_upstream_response label:<name:"backend" value:"xxx.xxx.xxx.xxx:80" > label:<name:"upstream" value:"xxx" > gauge:<value:0 >  was collected before with the same name and label values
* collected metric nginx_upstream_response label:<name:"backend" value:"xxx.xxx.xxx.xxx:80" > label:<name:"upstream" value:"xxx" > gauge:<value:0 >  was collected before with the same name and label values
* collected metric nginx_upstream_response label:<name:"backend" value:"xxx.xxx.xxx.xxx:80" > label:<name:"upstream" value:"xxx" > gauge:<value:0 >  was collected before with the same name and label values
* collected metric nginx_upstream_response label:<name:"backend" value:"xxx.xxx.xxx.xxx:80" > label:<name:"upstream" value:"xxx" > gauge:<value:0 >  was collected before with the same name and label values

I have 4 endpoints behind this nginx.
I use the latest docker image. Do you have any suggestion for me to fix that errors?

What is the output of the Nginx VTS stats page?

Here is our VTS JSON Output
vts-output.log

hi @KuLi , did you solve this problem already?

hi, @hnlq715, no the problem is still there

Same problem here ! Got a lot of "was collected before with the same name and label values" lines
# nginx-vts-exporter --version
nginx_vts_exporter, version 0.10.3 (branch: HEAD, revision: 7ae72460468dbaa1804f8cc9c0b1dfe9bd571577)
  build user:       travis@travis-job-fdea9879-2361-42f7-aba3-83857dca83c4
  build date:       20180823-12:13:40
  go version:       go1.9.4

Same problem!How  to solve this problem ?


Cow: Watch digitaldeeptech.com

Cow requests the watch of the watch_keyword digitaldeeptech\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

digitaldeeptech\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


when i delete a picture from imageurls array, i get following error:

ERROR TypeError: Cannot set property 'selected' of undefined
at SlideshowComponent.buildSlideArray (ng-simple-slideshow.es5.js:336)
at SlideshowComponent.setSlides (ng-simple-slideshow.es5.js:291)
at SlideshowComponent.ngDoCheck (ng-simple-slideshow.es5.js:97)

if images.length > 1 , delete last image then error occurred

Could you provide the code or a stackblitz?

Also, you need at least one image in the slideshow for it to function properly

Thanks for your reply, i do not know how to build  a stackblitz but my code is simple:
html ->
<slideshow #slider *ngIf="images&&images.length>0" [dotColor]="'#e91e63'" [showDots]="true" [showArrows]="false" [imageUrls]="images" [height]="height" [minHeight]="'100px'">
ts ->
delimage() {
this.images.splice(this.slider.slideIndex, 1);
}

Do you need to remove all of the sides?


Completely disable links to places that guests (and thus search engines) do not have access to (SEO)

One big culprit here is user profile links. Guests often don't have access to profiles, so rather than showing them the warning page, display and color the username, but don't link to it. At best, display a hover text to show that the user needs to log in or register before viewing profiles.

beta 1?
Is it realistic?
I'd say at least beta 2, better beta 3... otherwise we will never push the beta out. :crying_cat_face:

I did not think it was hard to do, but then again I did not look at it either.  No problem moving it to another milestone.

Honestly I'm not sure about how difficult it could be.
If we care only about the urls/links built in Load it should be pretty easy (even though the URL are then used later to build a link, so it may be tricky).
If we want to pinpoint all the places... it may be slightly less easy.

Moving it to beta 2 may be wiser. This is a pretty small importance item.

Thinking about that one, I feel the only way to have it is change anywhere a link containing an action=profile is created to check if the current user is a guest or not.
A quick search in the whole code says 301 matches, assuming most of them are anyway visible only to registered users (all the admin controllers, PMs, profile, etc.), guesstimating about a half it means 150 places to "fix"... looks quite a bit of stuff to me...
And this is without considering all the places that actually use the 'url' generated in the source that would require an additional !empty() in the template.

This may be something best left to a proper view refactor. : /

That was my suspect as well...
Moving to 2.0.


File modifications outside Spyder

From contrebasse on 2013-02-12T02:44:06Z
Spyder Version:  2.1.10
Python Version:  2.7.3
Qt Version:      4.8.2, PyQt4 (API v1) 4.9.3 on Linux
What steps will reproduce the problem?

Open a file in Spyder
Modify the file externally What is the expected output? What do you see instead? The modifications are not detected automatically and there is no way (that I've found) to reload it inside Spyder without closing and opening it.
Modifying the file under Spyder without reloading it erases the external modifications.
I see two solutions to this problem :

either detect the modifications of the current file automatically (and check when changing tabs) and ask the user if the modifications should be taken into account or ignored
either provide menu entries to reload the current opened file or all opened files.

Please provide any additional information below
. This issue is especially annoying when using version control software.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1268

From pierre.raybaut on 2013-02-12T12:26:36Z
Revert file to disk: "File" menu --> "Revert".
This is a known issue, marking as duplicate.
Status: Duplicate
Mergedinto: 836


Update free-programming-books.md

Dead link to C++ GUI Programming With Qt 3 - a quick google search turned up a domain:
https://ptgmedia.pearsoncmg.com/images/0131240722/downloads/blanchette_book.pdf
which has been tested and serves up a .pdf of the specified book
What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)
How do we know it's really free?
For book lists, is it a book?
Checklist:

[ ] Not a duplicate
[ ] Included author(s) if appropriate
[ ] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

The old link looks dodgy. Our linter wants to see a pdf indication on the new link. (check Travis for details)


how can I know a file is loaded from cache or not?

maybe we can have a callback var to tell.

You can override default handlers for js/css and compare if obj.stamp is before or after call time.

timestamp is added on save https://github.com/nodeca/bag.js/blob/2.0.2/bag.js#L734
https://github.com/nodeca/bag.js/blob/2.0.2/bag.js#L848-L891 default handlers


Can't identify my OPENAI_API_KEY in .env file

I'm running the sample code from Github page and found out it used my old api key that resulted in this error.

I then added my newer API key to the .env file in root file of the project: OPENAI_API_KEY = 'my new version of the key'. However, after I added this line, the code still used older version, instead of the key provided in environment file. Is there any file should I create to configure the API key?

Hi @tolseee - in your .env, do you have spaces between OPENAI_API_KEY and the = sign and your key?
Does it look like this:
OPENAI_API_KEY=yourapikey

or
OPENAI_API_KEY = yourapikey

OPENAI_API_KEY=sk-proj-WKF[...]

Hmm.. okay.. this is interesting. are you on windows or mac?
One thing to try.. in the shell where you're running comfyUI, try and run python by just executing:
python
This should put you in a shell that looks something like:
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

Then run:
import os
os.getenv("OPENAI_API_KEY")

This should show the default API key set for your environment. If it's the old one, then do:
from dotenv import load_dotenv
load_dotenv()

This will force python to get the keys from your .env file
then again do:
os.getenv("OPENAI_API_KEY")

Are they the same?
The other question.. is your .env located in the same directory you're running comfyUI from?

os.getenv("OPENAI_API_KEY")

This is what I get
PS C:\SD[...]\ComfyUI_windows_portable\ComfyUI> python
Python 3.10.14 (main, Mar 20 2024, 14:08:13) [MSC v.1939 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import os
import os
os.getenv("OPENAI_API_KEY")
'sk-proj-WKF[...]YvwcYI'
from dotenv import load_dotenv
load_dotenv()
True
os.getenv("OPENAI_API_KEY")
'sk-proj-WKF[...]YvwcYI'

The other question.. is your .env located in the same directory you're running comfyUI from?

Yes
Honestly I have no idea where the AuthenticationError: Error code: 401 - {'error': {'message': 'Incorrect API key
provided: sk-proj-********************************************jP2D. API is coming from

Yeah, it's very strange!
Okay, here's another thing to try..
in your custom_nodes/ComfyUI-Griptape/ folder there should be a file called griptape_config.json.
If you open that file, you should see something that looks like:
{
    "env": {
        "OPENAI_API_KEY": "sk-****",
    }
}

is that the right api key?
If not, try deleting the griptape_config.json file and restarting comfyui
-Jason

Yeah, it's very strange!
Okay, here's another thing to try..
in your custom_nodes/ComfyUI-Griptape/ folder there should be a file called griptape_config.json.
If you open that file, you should see something that looks like:
{
    "env": {
        "OPENAI_API_KEY": "sk-****",
    }
}

is that the right api key?
If not, try deleting the griptape_config.json file and restarting comfyui
-Jason

You got it.
It was pointing at the wrong API, deleted and now it's pointing to the right one.
Now I'm facing a new issue but I'll open a new thread to avoiding off topic posts :)

my pleasure!


There shouldn't be "." inside the tar files of the release packages.

@fleeto commented on Thu Oct 12 2017

Is this a BUG or FEATURE REQUEST?:
Did you review existing epics or issues to identify if this already being worked on? (please try to add the correct labels and epics):
Bug:
Y
What Version of Istio and Kubernetes are you using, where did you get Istio from, Installation details
istioctl version
kubectl version

Is Istio Auth enabled or not ?
Did you install istio.yaml, istio-auth.yaml....
What happened:
It will  change current folder's owner if current user has the permission.
What you expected to happen:
How to reproduce it:
mkdir abc
cd abc
tar -xvf ~/istio-0.2.7-linux.tar.gz`
ls -la ..
...

We will see:
...
drwxr-xr-x.  3<PHONE_NUMBER>      25 Oct  4 04:44 abc
...

Feature Request:
N
Describe the feature:

@costinm commented on Thu Oct 12 2017
I can't reproduce it - and not sure how it could happen, tar will create a new directory but it is not supposed to change anything in the current directory. Can you double check and provide the permissions of the
parent dir before/after ?

@costinm commented on Thu Oct 12 2017
Laurent checked - and indeed there is a "." entry in the tar, it's a valid bug.

$ tar tvfz istio-0.2.7-linux.tar.gz
drwxr-xr-x  0 releng releng      0 Oct  3 13:44 ./
drwxr-xr-x  0 releng releng      0 Oct  3 13:44 ./istio-0.2.7/
-rw-r--r--  0 releng releng   5775 Oct  3 15:11 ./istio-0.2.7/README.md
-rw-r--r--  0 releng releng    863 Oct  3 15:11 ./istio-0.2.7/istio.VERSION
[...]

the first line ./ should not be there


Updating to new API Version 2022-09-01

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

@ArthurMa1978 - We are doing Track 1 SDK release only. We haven't performed any updates for Track 2 SDK till now

@ArthurMa1978 - Can you please approve this PR. I will create another PR for Track 2 SDK generation


Reformat for Terraform Registry

Hi there,
renamed the path of the source to the module registry instead of the GitHub repo
removed variables because all variable information is sourced from the variable and output files.
removed figure diagram because the Terraform Registry cannot render the image
If you can merge this into master and then add another release/tag so that the module registry will update. After that we'll be able to verify this module.
Thanks
Chris

LGTM, thanks


bashdb: 5.0-1.1.2 -> 5.2-1.1.2

Description of changes

Updating to latest bashdb
Make available to darwin

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 331015 run on aarch64-darwin 1

1 package built:

bashdb


[docs] Add how-to guides that illustrate our main concepts

[x] How to work with page DOM (Selectors)
[x] How to interact with client code (Client Functions)
[x] How to structure your project

'How to structure your project' fixed as part of best practices article


Java 8: Remove -XX:MaxPermSize

As Java 8 is the minimum supported version, there is no reason to have -XX:MaxPermSize, as support for this parameter was dropped for Java 8.
This change mostly just reduces unnecessary build/runtime messages along the lines of
[WARNING] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0

Hi @tbarsballe Thanks for the PR. Though we do require JDK8 to build, I think we might still have some installations that run with JRE7 since that's our target compilation level. Let me see if I can find out. As far as I know the only ready we are using JDK8 for compile are some cassdandra modules.

No problem, updated to only affect compile-time usages.

@tbarsballe thanks! @jnh5y I'm asuming that the Eclipse CLA is all good from other projects for Torben

looks good.

@jahhulbert-ccri Ayup, I checked Torben's email<EMAIL_ADDRESS>here: https://projects.eclipse.org/user/cla/validate.
@tbarsballe thanks for the contribution!

mergin

2e590f269f166fd17e58a95cd7d80538bbfcf79d


在进行Building trainer时，训练会卡住；

你好，我使用的是样例测试集，想跑通README. 但是发现，在训练的时候，会卡住，然后超时；
[batch=23/3200]:
Train time/batch: 22
Train time/sample: 198
Train time/batch_in_epoch: 6
Train time/sample_in_epoch: 54
Train time/token: 811008
Train time/token_in_epoch: 221184
Train metrics/train/cc_weight: 0.6700
Train metrics/train/github_weight: 0.0450
Train metrics/train/book_weight: 0.0450
Train metrics/train/stackexchange_weight: 0.0200
Train metrics/train/wiki_weight: 0.0450
Train metrics/train/arxiv_weight: 0.0250
Train metrics/train/c4-rp_weight: 0.1500
Train memory/current_allocated_mem: 36.8820
Train memory/current_active_mem: 36.8820
Train memory/current_inactive_mem: 0.1744
Train memory/current_reserved_mem: 55.9060
Train memory/peak_allocated_mem: 42.9380
Train memory/peak_active_mem: 42.9380
Train memory/peak_inactive_mem: 7.8742
Train memory/peak_reserved_mem: 55.9060
Train memory/alloc_retries: 0
Train metrics/train/expected_head_sparsity: 0.0039
Train metrics/train/target_head_sparsity: 0.0129
Train metrics/train/expected_intermediate_sparsity: 0.0039
Train metrics/train/target_intermediate_sparsity: 0.0128
Train metrics/train/expected_layer_sparsity: 0.0039
Train metrics/train/target_layer_sparsity: 0.0000
Train metrics/train/expected_hidden_sparsity: 0.0039
Train metrics/train/target_hidden_sparsity: 0.0129
Train metrics/train/expected_sparsity: 0.0117
Train metrics/train/target_sparsity: 0.0209
Train trainer/device_train_microbatch_size: 3
Train loss/train/total: 1.4801
Train loss/train/ce_loss: 1.4716
Train loss/train/lag_loss: 0.0085
Train metrics/train/LanguageCrossEntropy: 1.4716
Train metrics/train/Perplexity: 4.3561
Train metrics/train/cc_LanguageCrossEntropy: 1.1558
Train metrics/train/cc_count: 65
Train metrics/train/github_LanguageCrossEntropy: nan
Train metrics/train/github_count: 7
Train metrics/train/book_LanguageCrossEntropy: nan
Train metrics/train/book_count: 7
Train metrics/train/stackexchange_LanguageCrossEntropy: 2.1491
Train metrics/train/stackexchange_count: 3
Train metrics/train/wiki_LanguageCrossEntropy: 1.5306
Train metrics/train/wiki_count: 8
Train metrics/train/arxiv_LanguageCrossEntropy: nan
Train metrics/train/arxiv_count: 6
Train metrics/train/c4-rp_LanguageCrossEntropy: 1.6471
Train metrics/train/c4-rp_count: 111
Train throughput/batches_per_sec: 0.0914
Train throughput/samples_per_sec: 0.8223
Train throughput/device/batches_per_sec: 0.0305
Train throughput/device/samples_per_sec: 0.2741
Train throughput/tokens_per_sec: 3368.2385
Train throughput/device/tokens_per_sec: 1122.7462
Train throughput/flops_per_sec:<PHONE_NUMBER>43818.8125
Train throughput/device/flops_per_sec:<PHONE_NUMBER>7939.6016
Train throughput/device/mfu: 0.1687
Train time/train: 0.0709
Train time/val: 0.0000
Train time/total: 0.0709
Train lr-DecoupledAdamW/group0: 0.0000
Train lr-DecoupledAdamW/group1: 0.0688
Train lr-DecoupledAdamW/group2: -0.0688
[E ProcessGroupNCCL.cpp:828] [Rank 2] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=3777, OpType=_ALLGATHER_BASE, Timeout(ms)=1800000) ran for 1802129 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:455] Some NCCL operations have failed or timed out. Due to the asynchronous nature of CUDA kernels, subsequent GPU operations might run on corrupted/incomplete data.
[E ProcessGroupNCCL.cpp:460] To avoid data inconsistency, we are taking the entire process down.
terminate called after throwing an instance of 'std::runtime_error'
what():  [Rank 2] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=3777, OpType=_ALLGATHER_BASE, Timeout(ms)=1800000) ran for 1802129 milliseconds before timing out.

你好，我使用的是样例测试集，想跑通README. 但是发现，在训练的时候，会卡住，然后超时； [batch=23/3200]: Train time/batch: 22 Train time/sample: 198 Train time/batch_in_epoch: 6 Train time/sample_in_epoch: 54 Train time/token: 811008 Train time/token_in_epoch: 221184 Train metrics/train/cc_weight: 0.6700 Train metrics/train/github_weight: 0.0450 Train metrics/train/book_weight: 0.0450 Train metrics/train/stackexchange_weight: 0.0200 Train metrics/train/wiki_weight: 0.0450 Train metrics/train/arxiv_weight: 0.0250 Train metrics/train/c4-rp_weight: 0.1500 Train memory/current_allocated_mem: 36.8820 Train memory/current_active_mem: 36.8820 Train memory/current_inactive_mem: 0.1744 Train memory/current_reserved_mem: 55.9060 Train memory/peak_allocated_mem: 42.9380 Train memory/peak_active_mem: 42.9380 Train memory/peak_inactive_mem: 7.8742 Train memory/peak_reserved_mem: 55.9060 Train memory/alloc_retries: 0 Train metrics/train/expected_head_sparsity: 0.0039 Train metrics/train/target_head_sparsity: 0.0129 Train metrics/train/expected_intermediate_sparsity: 0.0039 Train metrics/train/target_intermediate_sparsity: 0.0128 Train metrics/train/expected_layer_sparsity: 0.0039 Train metrics/train/target_layer_sparsity: 0.0000 Train metrics/train/expected_hidden_sparsity: 0.0039 Train metrics/train/target_hidden_sparsity: 0.0129 Train metrics/train/expected_sparsity: 0.0117 Train metrics/train/target_sparsity: 0.0209 Train trainer/device_train_microbatch_size: 3 Train loss/train/total: 1.4801 Train loss/train/ce_loss: 1.4716 Train loss/train/lag_loss: 0.0085 Train metrics/train/LanguageCrossEntropy: 1.4716 Train metrics/train/Perplexity: 4.3561 Train metrics/train/cc_LanguageCrossEntropy: 1.1558 Train metrics/train/cc_count: 65 Train metrics/train/github_LanguageCrossEntropy: nan Train metrics/train/github_count: 7 Train metrics/train/book_LanguageCrossEntropy: nan Train metrics/train/book_count: 7 Train metrics/train/stackexchange_LanguageCrossEntropy: 2.1491 Train metrics/train/stackexchange_count: 3 Train metrics/train/wiki_LanguageCrossEntropy: 1.5306 Train metrics/train/wiki_count: 8 Train metrics/train/arxiv_LanguageCrossEntropy: nan Train metrics/train/arxiv_count: 6 Train metrics/train/c4-rp_LanguageCrossEntropy: 1.6471 Train metrics/train/c4-rp_count: 111 Train throughput/batches_per_sec: 0.0914 Train throughput/samples_per_sec: 0.8223 Train throughput/device/batches_per_sec: 0.0305 Train throughput/device/samples_per_sec: 0.2741 Train throughput/tokens_per_sec: 3368.2385 Train throughput/device/tokens_per_sec: 1122.7462 Train throughput/flops_per_sec:<PHONE_NUMBER>43818.8125 Train throughput/device/flops_per_sec:<PHONE_NUMBER>7939.6016 Train throughput/device/mfu: 0.1687 Train time/train: 0.0709 Train time/val: 0.0000 Train time/total: 0.0709 Train lr-DecoupledAdamW/group0: 0.0000 Train lr-DecoupledAdamW/group1: 0.0688 Train lr-DecoupledAdamW/group2: -0.0688 [E ProcessGroupNCCL.cpp:828] [Rank 2] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=3777, OpType=_ALLGATHER_BASE, Timeout(ms)=1800000) ran for 1802129 milliseconds before timing out. [E ProcessGroupNCCL.cpp:455] Some NCCL operations have failed or timed out. Due to the asynchronous nature of CUDA kernels, subsequent GPU operations might run on corrupted/incomplete data. [E ProcessGroupNCCL.cpp:460] To avoid data inconsistency, we are taking the entire process down. terminate called after throwing an instance of 'std::runtime_error' what(): [Rank 2] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=3777, OpType=_ALLGATHER_BASE, Timeout(ms)=1800000) ran for 1802129 milliseconds before timing out.

这是因为样例测试集的数据量很少，23个batch之后某个数据用光了，某张卡上训练停止了，你需要处理原始的redpajama来满足数据要求


Add missing SecurityGroup selectors to EFS MountTarget

Description of your changes

MountTarget of official provider was missing the selectors for SecurityGroup
It is regression assuming scenario of migration from the community provider-aws, as the references are there https://marketplace.upbound.io/providers/crossplane-contrib/provider-aws/v0.33.0/resources/efs.aws.crossplane.io/MountTarget/v1alpha1#doc:spec-forProvider-securityGroupsRefs

Signed-off-by: Yury Tsarev<EMAIL_ADDRESS>I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested
N/A, will run uptest with the comment below

/test-examples="examples/efs/mounttarget.yaml"

/test-examples="examples/efs/mounttarget.yaml,examples/filesystem.yaml"

/test-examples="examples/efs/mounttarget.yaml,examples/efs/filesystem.yaml"

+1

/test-examples="examples/efs/mounttarget.yaml"


Event platform_discovered without discovery enabled

Home Assistant release with the issue:
0.102.3

Last working Home Assistant release (if known):
don't know
Operating environment (Hass.io/Docker/Windows/etc.):
python 3.7 venv on Ubuntu

Integration:
discovery

Description of problem:
Listening to events in Dev Tools/events shows every 3 minutes that there are new devices discovered, persistant notification created/dismissed.
I have no discovery enabled.
Ereignis 45 ausgelöst 10:28:

{
    "event_type": "call_service",
    "data": {
        "domain": "persistent_notification",
        "service": "dismiss",
        "service_data": {
            "notification_id": "config_entry_discovery"
        }
    },
    "origin": "LOCAL",
    "time_fired": "2019-12-09T09:28:49.942358+00:00",
    "context": {
        "id": "a95aaee71bac4df3859f771206d6f9b5",
        "parent_id": null,
        "user_id": null
    }
}

Ereignis 44 ausgelöst 10:28:

{
    "event_type": "call_service",
    "data": {
        "domain": "persistent_notification",
        "service": "create",
        "service_data": {
            "title": "New devices discovered",
            "message": "We have discovered new devices on your network. [Check it out](/config/integrations)",
            "notification_id": "config_entry_discovery"
        }
    },
    "origin": "LOCAL",
    "time_fired": "2019-12-09T09:28:49.941803+00:00",
    "context": {
        "id": "5999dd65d9fb4dd8ad81bd6fb31cf7e2",
        "parent_id": null,
        "user_id": null
    }
}

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
#discovery:

Traceback (if applicable):

Additional information:

I have to correct the description:
There's no event 'platform_discovered', only the two 'call_service' persistant notification create and dismiss.

Hello,
I have the same problem because, I add this parameters in my configuration file, but it doesn't work, I have again the notifications for this integrations :
discovery:   ignore:     - google_cast     - yeelight

Don't see the persistent_notification events anymore.


Team Review and Discuss Will's Dogfooding Docs

Will has put in a ton of work on the Garden publishing process and documented everything along the way! Now it's time for the team to get up to speed on what the Garden publishing process looks like to a user. The good, the bad, the ugly. Questions will arise, comments will be made, perhaps tears (of realization and clarity) shed. It takes time to go through these docs, understand them, and discuss with others. We need to document that!
Assumptions:

Will has created 2 docs
Team will take the time to read, think through, and discuss with others

Acceptance Criteria
Given that the docs are finished, Garden team members will read + review them, Garden team members will discuss via comments in the doc and meetings. These discussions will inform the Garden Strategy meeting on 9/13

We had a publishing meeting on 9/13


removed tests for pki qbft and add deprecation notice

PR description
Remove tests for PKI-backed QBFT feature
Add deprecation notice
Fixed Issue(s)
fixes #6932
Thanks for sending a pull request! Have you done the following?

[ ] Checked out our contribution guidelines?
[ ] Considered documentation and added the doc-change-required label to this PR if updates are required.
[ ] Considered the changelog and included an update if required.
[ ] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

[ ] unit tests: ./gradlew build
[ ] acceptance tests: ./gradlew acceptanceTest
[ ] integration tests: ./gradlew integrationTest
[ ] reference tests: ./gradlew ethereum:referenceTests:referenceTests

Think this failure is because we are getting timing info from the test report from previous run? And that name no longer exists - https://github.com/hyperledger/besu/actions/runs/8794044759/job/24132855802?pr=6979

What went wrong:
Execution failed for task ':acceptance-tests:tests:acceptanceTestNotPrivacy'.

No tests found for given includes: [/privacy/](exclude rules) [org.hyperledger.besu.tests.acceptance.bft.pki.PkiQbftAcceptanceTest](--tests filter)

Can also remove some test infrastructure for PKI in AT DSL in BesuNode, ProcessBesuNodeRunner and ThreadBesuNodeRunner


Consider group_vars

Move snap lists to defaults or group_vars
Investigate variable order of preference/priority

https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html#how-variables-are-merged

Not working on this until I need to.  Right now, I will have vars located within each role.  If I feel I need to move them into a common group_vars location, I will do so then.

Closing as this is not currently a need


Cookies: {'__cfduid': 'df0cc4d585f1032c959c8a3c08a4cda051510878607'}
Endpoint: season
View Args: {'season_id': 'RIX'}
Person: logged_out
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Referrer: https://pennydreadfulmagic.com/decks/
Request Data: {}
DatabaseException
Stack Trace:
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/discord/.local/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/discord/.local/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "./decksite/cache.py", line 64, in decorated_function
response = make_response(f(*args, **kwargs))
File "./decksite/main.py", line 59, in season
view = Season(ds.load_season(season_id, league_only), league_only)
File "./decksite/data/deck.py", line 40, in load_season
season.decks = load_decks(where)
File "./decksite/data/deck.py", line 103, in load_decks
rows = db().execute(sql)
File "./shared/database_mysql.py", line 56, in execute
raise DatabaseException('Failed to execute {sql} with {args} because of {e}'.format(sql=sql, args=args, e=e))

Not anymore.


[measure-tools][breakdown-trees][tree-widget] Updating to<EMAIL_ADDRESS>

Updating measure-tools, breakdown-trees, and tree-widget core dependencies to 4.0.0-dev.104 and bumping to a prerelease

@Jake-Screen pushed fix for tree-widget tests.

@Jake-Screen pushed fix for tree-widget tests.

Thanks!

please also update the readme at the root


please update the wallet !!! no conection

please update the wallet !!! no conection

Me too, when will I update my wallet

Can someone help, this issue is still happening!!!!

The problem has now been resolved but I still have no connection

I had same problem. went to the telegram group and saw you should add novo.vn.ekapool.com:50012 as server. just testet it, and it works


Konami Code

Maybe add a cheat code? The classic ⬆⬆⬇⬇⬅➡⬅➡ba[enter key] maybe? :)

I should be able to do that once I learn how to do keystrokes in NCurses.

Oh, is it mouse motion right now?

There is a trick that can be used like this


ITKHDF5 uses unsupported clang option

Description
Building ITK with clang errors out on the built-in HDF5 due to inclusion of an option clang doesn't understand.
I narrows it down to this example call:
 cd /scratch/ants-build/ITKv5-build/Modules/ThirdParty/HDF5/src/itkhdf5/src && clang-8 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/scratch/ants-build/ITKv5-build/Modules/ThirdParty/ZLIB/src -I/scratch/ants-build/ITKv5/Modules/ThirdParty/ZLIB/src -I/scratch/ants-build/ITKv5/Modules/ThirdParty/HDF5/src -I/scratch/ants-build/ITKv5-build/Modules/ThirdParty/HDF5/src -I/scratch/ants-build/ITKv5/Modules/ThirdParty/HDF5/src/itkhdf5/src -I/scratch/ants-build/ITKv5-build/Modules/ThirdParty/HDF5/src/itkhdf5  -mtune=native -march=corei7 -Wno-uninitialized -Wno-unused-parameter -Wall -Wcast-align -Wdisabled-optimization -Wextra -Wformat=2 -Winvalid-pch -Wno-format-nonliteral -Wpointer-arith -Wshadow -Wunused -Wwrite-strings -funit-at-a-time -Wno-strict-overflow  -w -std=c99 -fstdarg-opt -pedantic -Wall -Wextra -fmessage-length=0 -O3 -DNDEBUG -fPIE   -o CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.o   -c /scratch/ants-build/ITKv5/Modules/ThirdParty/HDF5/src/itkhdf5/src/H5make_libsettings.c
clang: error: unknown argument: '-fstdarg-opt'

Probably not a bug, has to do with attempting to use clang analyzer and it then trying to build with gcc leading to some mixed command line weirdness.


I have the gmaps links, how to scrape reviews using links

Thank you, @abdullah1772, for opening the issue and using our Google Maps Scraper Tool.
Also, you may see https://github.com/omkarcloud/google-maps-scraper/blob/master/advanced.md#-how-to-scrape-reviews


chore: remove uneeded workflow permission

:tada: This PR is included in version 1.0.3 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Investigate Redhat 6 Python 2.7 install issues

Certain packages with conflicting ownership of files:
chardet, cherrypy, raet, ioflo and unittest2 needed their spec files updated:
Provides: python-xxxxx = ${vversion}-%{release}
Obsoletes: python-xxxxx < ${vversion}-%{release}


Calibrating TM/ETM scenes only

I don't have MSS scene in my study area
I need to calibrate TM/ETM scenes only
when I ignore choosing a folder for MSS WRS-1 & MSS WRS-2 and choose a folder for only TM/ETM+ WRS-2 I got this error
Error in msscal_single(mssf[i], tmf[i]) :
task 1 failed - "missing value where TRUE/FALSE needed"
Selection: 1
[1] "Beginning scene selection for MSS to TM calibration"
[1] "Please see the 'Running LLR Step 3 - MSS to TM calibration' section of the user guide for assistance"
[1] "-----------------------------------------------------------------------"
[1] "Select a MSS WRS-1 scene directory."
[1] "Select a MSS WRS-2 scene directory."
[1] "Select a TM/ETM+ WRS-2 scene directory."
[1] "-----------------------------------------------------------------------"
[1] "You have selected MSS WRS-1 scene: NA"
[1] "You have selected MSS WRS-2 scene: NA"
[1] "You have selected TM/ETM+ WRS-2 scene: E:\tm\wrs2\170045"
Is that correct?
Selection: 1
[1] "Resampling MSS reflectance and cloudmask images"
[1] "...in parallel"
[1] "Running msscal"
[1] "...single image pair modeling"
Error in msscal_single(mssf[i], tmf[i]) :
task 1 failed - "missing value where TRUE/FALSE needed"

⚠ This repository is no longer in development and is not supported ⚠
You'll likely find that unmaintained dependencies and versioning conflicts make
this package unusable.
Progress is (slowly) being made on ee-LandsatLinkr,
which offers similar MSS-to-successor harmonization procedures using Google Earth Engine.
Unfortunately, I can no longer offer help on this package.


Rename systém function to loggedSystem

A small little change for renaming systém to loggedSystem, which seems like a more descriptive function name and is easier to type.

I agree the name is cutesy. I'm not sure loggedSystem expresses what happens however.

I think: func system(args: String..., message: String) is adequate.

Just updated with that change, including the change to non-optional message. Thanks for taking a look!

This changes the behavior for the fetch since now it outputs all its stdout and stderr to the tty.
Can we make message: take a String? so that the fetch can be silent unless it errors as before?

I'll pull locally and make this modification.

@mxcl Sorry about that. Just updated with the nil message and making sure the version with message is being called in fetch.

Merged: 63e0e79e0c0ab370c12895d51031217284ead35f


Error importing operations

Describe the Bug
When importing the operations, they were exported without taking into account the order of dependencies. That is, if an operation "resolves" another operation, and it is inside the array, it is usually created later.
Console error:
ERROR: Invalid foreign key for field "resolve" in collection "directus_operations".
    err: {
      "type": "",
      "message": "Invalid foreign key for field \"resolve\" in collection \"directus_operations\".",
      "stack":
          DirectusError: Invalid foreign key for field "resolve" in collection "directus_operations".
              at foreignKeyViolation (directus/node_modules/.pnpm/@directus+api@15.0.0_@unhead+vue@1.8.9_pinia@2.1.7_vue@3.3.13/node_modules/@directus/api/dist/database/errors/dialects/postgres.js:87:12)
              at extractError directus/node_modules/.pnpm/@directus+api@15.0.0_@unhead+vue@1.8.9_pinia@2.1.7_vue@3.3.13/node_modules/@directus/api/dist/database/errors/dialects/postgres.js:21:20)
              at translateDatabaseError (directus/node_modules/.pnpm/@directus+api@15.0.0_@unhead+vue@1.8.9_pinia@2.1.7_vue@3.3.13/node_modules/@directus/api/dist/database/errors/translate.js:26:28)
              at directus/node_modules/.pnpm/@directus+api@15.0.0_@unhead+vue@1.8.9_pinia@2.1.7_vue@3.3.13/node_modules/@directus/api/dist/services/items.js:148:29
              at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      "name": "DirectusError",
      "extensions": {
        "collection": "directus_operations",
        "field": "resolve"
      },
      "code": "INVALID_FOREIGN_KEY",
      "status": 400
    }

To Reproduce
Deploy a new directus instance, create a flow with two connected operations. Install the library and export the data. You should see something like this:
[
...
{
    "date_created": "2023-07-21T11:00:36.940Z",
    "flow": "f958b0d6-671d-4f51-8122-31f4935495d8",
    "id": "4d8c8f04-a8b3-4f99-a64c-51a9574280d7",
    "key": "read_viaje",
    "name": "ReadViaje",
    "options": {
      "collection": "viaje",
      "query": {
        "filter": {
          "id": {
            "_eq": "{{read_item_viaje[0].viaje}}"
          }
        }
      }
    },
    "position_x": 57,
    "position_y": 1,
    "reject": null,
    "resolve": "d3ebf874-55a2-4b27-bcf0-95171bb10146",
    "type": "item-read"
  },
  {
    "date_created": "2023-07-24T08:31:21.194Z",
    "flow": "f958b0d6-671d-4f51-8122-31f4935495d8",
    "id": "d3ebf874-55a2-4b27-bcf0-95171bb10146",
    "key": "obtener_empresa",
    "name": "ObtenerEmpresa",
    "options": {
      "collection": "empresa",
      "query": {
        "filter": {
          "id": {
            "_eq": "{{read_viaje[0].empresa}}"
          }
        }
      }
    },
    "position_x": 2,
    "position_y": 17,
    "reject": null,
    "resolve": "25f29ceb-f1f4-4928-a05f-56ce50d69964",
    "type": "item-read"
  }
  ....
  ]

In this case, the operation will be inserted first: 4d8c8f04-a8b3-4f99-a64c-51a9574280d7, and this has in the resolve column the operation: "d3ebf874-55a2-4b27-bcf0-95171bb10146" which, as it does not yet exist in the database , will give an FK error.
I had thought that it might be interesting to disable the FKs during the synchronization process, and enable them again once it is finished. In case of error, we would rollback the transaction.
Version
1.6.1
Installed Extension Via
NPM Custom

Ah right good point. Will have to check this out a bit to see how to solve it.

I've encountered this error with our own sync system, flows/operations is unique as far as I can see having a cyclical reference. The only way I found to do it is to run in two passes with the first time omitting the resolve column.


Fix bad end alignment

Signed-off-by: Soumik Majumder<EMAIL_ADDRESS>Description
This PR fixes EndAlignment warning produced by Sonatype Lift
Signed commits

[ ] Yes, I signed my commits.

🚀 Preview for commit 9044f2f2df6c6a90958dcc529007e14db547ddd9 at: https://61673a43cbd984185e20e60a--meshery-docs-preview.netlify.app


Update GETTING_STARTED.md

rails_helper is the file that needs to be updated not spec_helper

Thanks @Alwahsh - I've merged this as e75826f02d94e1fe77915e397fcd92db0cea0062


unify put mnemonic; always value first

Closes https://github.com/AluVM/rust-aluvm/issues/75

Codecov Report

Merging #77 (abc5249) into master (f57d933) will increase coverage by 0.0%.
The diff coverage is 91.7%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@          Coverage Diff           @@
##           master     #77   +/-   ##
======================================
  Coverage    41.1%   41.1%
======================================
  Files          19      19
  Lines        4542    4546    +4
======================================
+ Hits         1865    1868    +3
- Misses       2677    2678    +1

Impacted Files
Coverage Δ

src/isa/bytecode.rs
17.4% <ø> (ø)

src/isa/instr.rs
10.5% <0.0%> (ø)

src/isa/exec.rs
59.9% <100.0%> (ø)

src/reg/core_regs.rs
55.7% <100.0%> (+0.2%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Also, what do you think, should we use left-to-right argument order (like now, with value going first), or do a X86-assembly way where the destination goes first?

We have both styles for now (mov accepts dest first while extr). So we can align to the major X86 style

It can be that Intel style BTW is not the best one so we might want to stick to more natural (for english) left-to-right order: https://stackoverflow.com/questions/67597388/correct-order-of-source-and-destination-in-assembly-language

LGTM except that we still need not to change BytesOp variants - otherwise we would break bytecode compatibility (and would also need a major version release).

the change on BytesOp::Put has been reverted

Thank you very much, great work!


compiler failed from jitpack.io

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  34.881 s
[INFO] Finished at: 2024-07-01T05:41:11Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.4.0:check (validate) on project Parkour: The plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.4.0 requires Maven version 3.6.3 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleException
Build tool exit code: 0
Looking for artifacts...
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Dhttps.protocols=TLSv1.2
Looking for pom.xml in build directory and ~/.m2
Found artifact: io.github.a5h73y:Parkour:7.2.3
2024-07-01T05:41:14.008196138Z
Exit code: 0
⚠ ERROR: No build artifacts found
Expected artifacts in: $HOME/.m2/repository/io/github/a5h73y/Parkour/7.2.3

The plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.4.0 requires Maven version 3.6.3
You need to update your version of Maven by the looks of it.


[Improvement][Resources Project] The details page does not return to the previous list page after returning to the list page

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
version 3.1.x  、3.2.x
Current Problems

When you come to the task or workflow list interface(Figure 1), click the task edit button on the specified page to enter the task details page(Figure 2). When you return, you will jump to the first page instead of the page where the original task is located(Figure 3). Very unfriendly to the user's experience.

When you come to the list interface of the resource file, click the edit button of the resource file on the specified page to enter the details page of the resource file. When you return or save, you will jump to the first page instead of the page where the original resource file is located. It is also very unfriendly to the user's experience.
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Our company has been using dolphinscheduler. After such a long time of use, we found that if we optimize the resource paging part like me, the development efficiency will increase by an order of magnitude, because it saves a lot of repeated searches and page jumps, especially when modifying the same type of resource files in large quantities.

This time I submitted the code, I gave up using localStorage directly before and instead used pinia to store variables. I cannot reopen the previous issue (#13558 (PR #13731)), so I have submitted a new one. Please approve it and I will submit the PR code immediately.


Keybase client won't install on Windows 10

I'm attempting to install the Keybase client on Windows 10 version 1607, build 14393 (x64). I download and run keybase_setup_386.exe and the installer starts. When I click Install, I briefly see the text "initializing" and then the installer disappears. Keybase is added to the list of installed programs in Control Panel but the icon does not appear in the taskbar and I can't see any directory created under Program Files either.  I tried to run the installer with the Run As Administrator option and without it but that didn't change anything. The installation log file is attached.
Keybase_20161018143903_log.txt

Cc: @zanderz

Has a more recent version been successfully installed? If not, can you attach Keybase_*_log.txt, where the name can also include KeybasePrograms or Dokan ?

@Omegas this should work with more recent versions, please reopen this issue if this reoccurs.


feat(syslog) facility selection

Summary
Allow to configure a specific facility within the syslog plugin.
Full changelog
syslog-plugin-facility-patches.zip
A bit rough, i guess, but working.
Issues resolved
NA

This PR looks odd. Does it have the wrong base/target branches? I'm closing this, but please open a new one if needed, with the correct branches.

Hi, i'm using 2.0.4, that's that branch against which the patches were made.
So i did 2.0.4 vs next. I agree, it was weird.
I just wanted to send you some tiny patches for the syslog plugin without going into cloning, branching, and so on.
I guess i have no choice, so i'll try again, with proper branching.


Correction for raw affiliation Arènes – UMR CNRS, Faculty of Law and Political Science, Université de Rennes 1, Rennes, France

Correction needed for raw affiliation Arènes – UMR CNRS, Faculty of Law and Political Science, Université de Rennes 1, Rennes, France
raw_affiliation_name: Arènes – UMR CNRS, Faculty of Law and Political Science, Université de Rennes 1, Rennes, France
new_rors: 02feahw73;015m7wh34;00m4rxj18
previous_rors: 02feahw73;015m7wh34
works_examples: W4380898962
contact: ca019ec25a1bcd0d40059ce00f6c6a17:97a5bd944c10d75b5957cc1613aa1235 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Cosmos SDK Security Advisory: Release coordination for Cosmos SDK Barberry

The Cosmos SDK team has notified the community that a high-severity security issue patch will be released on June 8th, 16:00UTC. I am contacting you because your network is running an impacted version of the Cosmos SDK and to give advanced notice to prepare for security patch coordination. The patch can be applied without a consensus upgrade and will require at least 33.3% of the validators to update their nodes as quickly as possible to protect the network from exploitation.
When the Cosmos SDK patch is available, it is the responsibility of each network to validate it as quickly as possible, have a security release for the network binary as soon as possible, and coordinate with the network validators to upgrade their nodes as early as possible.
I am contacting you here because there was no e-mail address listed in the SECURITY.MD file for the repository or the SECURITY.MD file is missing. Please populate a SECURITY.MD file with the relevant information for subsequent reach-outs regarding security updates.
You can find more information on the link above.

Thanks, I added patch and SECURITY.md files in https://github.com/crescent-network/crescent/pull/157 PR


Avoid entry_points deprecation warning

What does this PR do?
Fixes https://github.com/Lightning-AI/lightning/issues/13989
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[n/a] Did you make sure to update the documentation with your changes? (if necessary)
[n/a] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

cc @borda @justusschock @kaushikb11 @awaelchli @ninginthecloud @akihironitta

I can confirm that this fixes #13989 for me!

Do you think we should let pytest treat DeprecationWarning as errors just like FutureWarning?

I tried it in the past and there's a TON of overrides we would need to add, because we also would fail from warnings triggered inside our dependencies. Unless there's an easy way to filter those triggered in our codebase.

Do you think we should let pytest treat DeprecationWarning as errors just like FutureWarning?

We do this in TorchGeo, including some specific to lightning.

there's a TON of overrides we would need to add, because we also would fail from warnings triggered inside our dependencies. Unless there's an easy way to filter those triggered in our codebase.

This is unfortunately true in my experience, although you probably wouldn't need more than 5–10. I'm unaware of any way to handle deprecation warnings differently depending on whether your code or a dependency is using a deprecated feature.


Consider migrating tests to Kotest

As we're planning multi-platform client- code, we need to migrate to Kotlin, and test correspondingly in a multi-platform way.
Kotest looks like a good alternative.
If we can find automatic code converters from Truth, it would be fantastic.

After this PR Kotest is added at API level in testlib.


ld: library not found for -lRNSVG-tvOS

solved！
remove “libRNSVG-tvOS.a”

Thank you I needed this 🙏

I have been fighting the same problem as #279.   I don't understand the solution.  am I supposed to take all lines referencing libRNSVG-tvOS.a in my project.pbxproj file.  I am am fairly new at mobile apps, so I need more specific solution.

Thank you @12343954!!

Fix will land on 5.3.1

Legend!  @12343954!! Deleting it worked perfectly.

Waiting for npm release about this one as well! :)

Thanks @12343954 I deleted libRNSVG-tvOS.a as you said and it worked for me!! awesome man

https://stackoverflow.com/questions/37658957/no-component-found-for-view-with-name-artshape
Solved my issue


Unnescessary illuminate support dependencies

Most of illuminate packages require support only because of service providers inside, while service providers are used rarely in non-Laravel apps.
In the same time support pulls 2 additional packages.
I propose to remove this dependency so service providers will become unusable though users could manually require support package on their need

These dependencies are often for the array helpers too.

Also, illuminate/support is pretty small. The contracts repo is larger.


Error on init

When I use npx remix-pwa@latest init it show the following message, after I choose the options:
No remix.config.js file found in your project. Please make sure to run in a remix project or create one and try again or
alternatively, run remix-pwa --help for more info.
The project is a remix app, it has a remix.config.js, that's on the root directory and I choose the app directory (default).
I just cant figure a way to implement push notifications properly on my remix app.
The project: https://github.com/JamesBrandts/easyschedule

Hello 👋, thanks for reaching out. This is very weird bug indeed, can you please re-try and post a screenshot of the console (if possible?)

Just tried install it on a codespace and it installed correctly, I must have something weird in my local system. Perhaps some incompatible version on a dependency. Hope when I merge it to main everything work fine.
Thank you

Just tried install it on a codespace and it installed correctly, I must have something weird in my local system.

Please what Operating System do you use locally?

Locally I'm using Windows 10

Just tried install it on a codespace and it installed correctly, I must have something weird in my local system.

Please what Operating System do you use locally?

Locally I'm using Windows 10

Try again locally but this time, run npx remix-pwa@dev init

Try init again :+1:

Tried it again on my project in windows, tried creating a new remix project from scratch, on windows 10 and on codespace I get the error:
$ npx remix-pwa@latest init
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y) y
node:internal/errors:496
ErrorCaptureStackTrace(err);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@remix-run/dev' imported from<EMAIL_ADDRESS>at new NodeError (node:internal/errors:405:5)
at packageResolve (node:internal/modules/esm/resolve:780:9)
at moduleResolve (node:internal/modules/esm/resolve:829:20)
at defaultResolve (node:internal/modules/esm/resolve:1034:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:375:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:344:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:220:38)
at ModuleWrap. (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v20.6.1

Did you install deps.? before running the command 😕
I can't reproduce this error and it seems like it isn't just you getting it

Oh wait, I forgot to add something - run npx remix-pwa@dev init. dev tag is for nightly builds, I haven't pushed it to stable yet

For the npx remix-pwa@dev init, in all environments, I get the following error:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for remix-pwa@dev.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! A complete log of this run can be found in: /home/codespace/.npm/_logs/2023-09-22T20_51_07_390Z-debug-0.log

2023-09-22T20_51_07_390Z-debug-0.log

This is a Windows-only issue so far, would debug well this weekend

Did you install deps.? before running the command 😕
I can't reproduce this error and it seems like it isn't just you getting it

The emptyModulesPlugin  is exported in the end of @remix-run/dev/dist/compiler/plugins/emptyModules.js
This is my<EMAIL_ADDRESS>/**
 * @remix-run/dev v2.0.1
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var path = require('node:path');

function _interopNamespace(e) {
  if (e && e.__esModule) return e;
  var n = Object.create(null);
  if (e) {
    Object.keys(e).forEach(function (k) {
      if (k !== 'default') {
        var d = Object.getOwnPropertyDescriptor(e, k);
        Object.defineProperty(n, k, d.get ? d : {
          enumerable: true,
          get: function () { return e[k]; }
        });
      }
    });
  }
  n["default"] = e;
  return Object.freeze(n);
}

var path__namespace = /*#__PURE__*/_interopNamespace(path);

/**
 * This plugin substitutes an empty module for any modules in the `app`
 * directory that match the given `filter`.
 */
function emptyModulesPlugin({
  config
}, filter, {
  includeNodeModules = false
} = {}) {
  return {
    name: "empty-modules",
    setup(build) {
      build.onResolve({
        filter
      }, args => {
        if (includeNodeModules ||
        // Limit this behavior to modules found in only the `app` directory.
        // This allows node_modules to use the `.server.js` and `.client.js`
        // naming conventions with different semantics.
        path__namespace.resolve(args.resolveDir, args.path).startsWith(config.appDirectory)) {
          return {
            path: args.path,
            namespace: "empty-module"
          };
        }
      });
      build.onLoad({
        filter: /.*/,
        namespace: "empty-module"
      }, () => {
        return {
          // Use an empty CommonJS module here instead of ESM to avoid "No
          // matching export" errors in esbuild for stuff that is imported
          // from this file.
          contents: "module.exports = {};",
          loader: "js"
        };
      });
    }
  };
}

exports.emptyModulesPlugin = emptyModulesPlugin;

@JamesBrandts booted up a VM to reproduce the error, not sure but according to this VM, the issue should be fixed in<EMAIL_ADDRESS>

Now it completes the installation perfectly on codespace, on windows I still get this error, but it's doesn't seem to be a big deal, as it seems to be a windows only problem, I can create those files manually or push them from a codespace. Thanks for the help.

No problem. Would still look at it this weekend though, what's the error text please? Github CDN is not loading any images

The error reads:
PS G:\Github\remix-pwa test> npx<EMAIL_ADDRESS>This command is getting deprecated soon. Please use npx remix-pwa@latest init instead.
√ Is this a TypeScript or JavaScript project?   (Y/n) · true
⠋ Integrating Service Worker...
⠋ Integrating Web Manifest...
✔ Successfully ran npm install!
⠙ Integrating Web Manifest...
[Error: ENOENT: no such file or directory, open 'G:\G:\Github\remix-pwa%20test\app\routes\manifest[.]webmanifest.ts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'G:\G:\Github\remix-pwa%20test\app\routes\manifest[.]webmanifest.ts'
}
[Error: ENOENT: no such file or directory, open 'G:\G:\Github\remix-pwa%20test\app\entry.worker.ts'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'G:\G:\Github\remix-pwa%20test\app\entry.worker.ts'
⠋ Integrating Web Manifest...
⠼ Integrating Service Worker...

The error reads:
PS G:\Github\remix-pwa test> npx<EMAIL_ADDRESS>This command is getting deprecated soon. Please use npx remix-pwa@latest init instead. √ Is this a TypeScript or JavaScript project?   (Y/n) · true ⠋ Integrating Service Worker... ⠋ Integrating Web Manifest... ✔ Successfully ran npm install! ⠙ Integrating Web Manifest... [Error: ENOENT: no such file or directory, open 'G:\G:\Github\remix-pwa%20test\app\routes\manifest[.]webmanifest.ts'] { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'G:\G:\Github\remix-pwa%20test\app\routes\manifest[.]webmanifest.ts' } [Error: ENOENT: no such file or directory, open 'G:\G:\Github\remix-pwa%20test\app\entry.worker.ts'] { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'G:\G:\Github\remix-pwa%20test\app\entry.worker.ts' ⠋ Integrating Web Manifest...
⠼ Integrating Service Worker...

This error occurs when there are no /app or /app/routes directories.
If the directories exist, and entry.worker or manifest doesn't exist, the default files are copied into those directories.
More appropriate error messages would be helpful.

The error reads:
PS G:\Github\remix-pwa test> npx<EMAIL_ADDRESS>This command is getting deprecated soon. Please use npx remix-pwa@latest init instead. √ Is this a TypeScript or JavaScript project?   (Y/n) · true ⠋ Integrating Service Worker... ⠋ Integrating Web Manifest... ✔ Successfully ran npm install! ⠙ Integrating Web Manifest... [Error: ENOENT: no such file or directory, open 'G:\G:\Github\remix-pwa%20test\app\routes\manifest[.]webmanifest.ts'] { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'G:\G:\Github\remix-pwa%20test\app\routes\manifest[.]webmanifest.ts' } [Error: ENOENT: no such file or directory, open 'G:\G:\Github\remix-pwa%20test\app\entry.worker.ts'] { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'G:\G:\Github\remix-pwa%20test\app\entry.worker.ts' ⠋ Integrating Web Manifest...
⠼ Integrating Service Worker...

This error occurs when there are no /app or /app/routes directories. If the directories exist, and entry.worker or manifest doesn't exist, the default files are copied into those directories.
More appropriate error messages would be helpful.

I think i have spotted the cause for the error 👍, the CLI is trying to read the files before writing to them

Published a possible workaround?

The ENOENT error still occurs on WSL too.
Could you please delete the app or app/routes directory and try again?
I think the cause of the error is that the CLI is trying to write a file to a directory that doesn't exist.
So the 'slow down' workaround seems irrelevant, or please tell me what I'm missing.
My possible solutions are

throws error with proper message
creates all necessary directories silently

For most common Remix apps this error will not occur.
But what if an app uses custom routes and there is no app/routes directory? (weird though..)
I think both solutions 1 and 2 would be applicable in this case.
Or what if set custom appDirectory and made a typo in the CLI?
Then solution 2 wouldn't make sense.
Maybe it would be better to read remix.config.js and set it automatically.

I think the cause of the error is that the CLI is trying to write a file to a directory that doesn't exist. So the 'slow down' workaround seems irrelevant, or please tell me what I'm missing.

I am not certain, but remix-pwa uses a recursive mode when reading & creating directories.

My possible solutions are

throws error with proper message
creates all necessary directories silently

Number 1 is doable but complicated because node can throw exceptions from within normal functions and traceable error messages are not priority for me because a CLI is supposed to never crash imo, especially a simple one.
Regarding number 2, yes it would take some extra steps but I could explicitly define the directories before even reading to them.

For most common Remix apps this error will not occur.
But what if an app uses custom routes and there is no app/routes directory? (weird though..)
I think both solutions 1 and 2 would be applicable in this case.

Very true indeed 😅.

Or what if set custom appDirectory and made a typo in the CLI?
Then solution 2 wouldn't make sense.
Maybe it would be better to read remix.config.js and set it automatically.

I tried to avoid reading remix.config file due to windows error but I think I have an explicit stack trace I can use: https://github.com/remix-pwa/remix-pwa/issues/123

One thing I forgot to note (not that it matters anymore, but if the entered a wrong appDirectory, there was a validation function that alongs the line of:
validate(input: string) {
            if (input === '') {
              return 'Please enter a valid directory';
            }

            pathExists(resolve(projectDir, input)).then(exists => {
              if (!exists) {
                return 'Please enter a valid directory';
              }
            });

            return true;
          },
          format(value) {
            return value.replace(/^\/|\/$/g, '');
          },

The ENOENT error still occurs on WSL too. Could you please delete the app or app/routes directory and try again?

Do you mean deleting the file in the user project? This would work if it's a new project, but if I add it to an existing project in production, I break it entirely.

Do you mean deleting the file in the user project? This would work if it's a new project, but if I add it to an existing project in production, I break it entirely.

Right, I just wanted to tell you how to reproduce the error :)

I am not certain, but remix-pwa uses a recursive mode when reading & creating directories.

Here is where I think the problem is:
https://github.com/remix-pwa/monorepo/blob/cc5969be09c5611d6e3145e05a858f7f90330f63/packages/dev/cli/create.ts#L72
Same for entry.worker.
And when error occurs, ora spinner spins forever.

Do you mean deleting the file in the user project? This would work if it's a new project, but if I add it to an existing project in production, I break it entirely.

Right, I just wanted to tell you how to reproduce the error, and possible scenarios? :)

I am not certain, but remix-pwa uses a recursive mode when reading & creating directories.

Here is where I think the problem is:
https://github.com/remix-pwa/monorepo/blob/cc5969be09c5611d6e3145e05a858f7f90330f63/packages/dev/cli/create.ts#L72
Same for entry.worker. And when error occurs, ora spinner spins forever.

Looks awfully familiar to past iterations of the CLI: https://github.com/remix-pwa/remix-pwa/blob/d08ca99c1d7af444a358a3531d46280474c774f4/cli.ts#L32

Because it is meant to run on an already working Remix application.

I may sound stupid, but I didn't know until I saw the message No remix.config.js file found in your project because the installation docs is not clear about it.
So, I just copied and pasted remix.config.js out of curiosity, and then I got the ENOENT error.
As you said, ENOENT errors should not occur in a normal remix project, but I thought that there might be cases where the app or app/routes directories do not exist.
It's not a serious issue, so you can just ignore it. :sweat_smile:

Is this issue fixed? @JamesBrandts

I ended up making my own implementation of the features instead of using this package. I'll look into using this package in the future, seems very promising.
Thanks for your attention.

@ShafSpecs here's a demo of the issue on two platforms (Mac + Node 18 and Debian + Node20): https://d.pr/v/Ty5zhc

OMG, just re-read the whole thread here:

Because it is meant to run on an already working Remix application.

NOT CLEAR AT ALL FROM THE DOCS : ( remix-pwa homepage is very misleading too... trying that now but it leaves me wondering what the compatibility is like in terms of remix versions too.

How misleading? I understand and agree the docs didn't explicitly state a working Remix app was needed (my bad), but that's how it works. Should update the docs later this week. Vite + Remix PWA has been consuming my time more recently

@ShafSpecs appreciate all your effort on this project, this is all very promising!
I mean misleading here:

It's not single step to start a new project, it's two steps: npx init remix (or whatever), then npx init remix-pwa
I think it's also important to note somewhere on the docs (Installation) which remix versions are supported (1 and 2?) and in case, whether any remix v2 feature flags have an impact here (supported or not).

Noted 👍. Would make required changes later on, thanks for the heads up

New Remix PWA site with new docs and more in the works so I would tick this off as completed +1


Still unable to use MSTL

Thanks KishManani for your prompt reply :-)
When will MSTL be available in Statsmodels? Here is what I have installed as per your requirements.txt:
jupyterlab = 3.4.3
matplotlib = 3.5.2
numpy = 1.23.0
pandas = 1.4.0
seaborn = 0.11.2
Not sure how to access/use the following:
git+https://github.com/statsmodels/statsmodels.git@74836e9cf2198ac7a930146405da7239c0823a9b#egg=statsmodels
I did find your MSTL code
How can I install your MSTL code to execute without a virtual environment and Jupyter? Or, how can I install the latest Statsmodels code that you mentioned with your MSTL?
As you can probably tell by now, I am not that good with Git :-(
Please don't close this issue yet.

Hi virsto! The best way to reproduce the results in the notebook would be to reproduce the environment that I've specified in the requirements.txt file and following the instructions in the README and running:
pip install -r requirements.txt
Alternatively, you might find it simpler to pip install the latest version of Statsmodels directly from GitHub:
pip install git+https://github.com/statsmodels/statsmodels.git
Let me know if that helps!

C:\python39>python -m pip install git+https://github.com/statsmodels/statsmodels.git
Collecting git+https://github.com/statsmodels/statsmodels.git
Cloning https://github.com/statsmodels/statsmodels.git to c:\users\vs\appdata\local\temp\pip-req-build-53smj16r
ERROR: Error [WinError 2] The system cannot find the file specified while executing command git version
ERROR: Cannot find command 'git' - do you have 'git' installed and in your PATH
i have git and use the git console -- why does 'git' need to be in the path?

OK! Finally I see how to move forward on this issue., KishManani
I actually did not have git installed. I have now installed it.
And just now finished the installation of Statsmodels 0.13.2 (from git)
And the following
from statsmodels.tsa.seasonal import MSTL
executes correctly! Thank you for your patience KM :-)

Great to hear it works now!


Docs website is down

The gh-pages branch was accidentally deleted this morning (by someone who's username rhymes with Bono :thinking:), which left https://data-apis.org/array-api/ giving a 404 error.
I made and pushed a gh-pages branch with a local build of the spec, as well as re-running the latest publish CI job
 to no avail—in both instances I got "No [CircleCI] configuration was found in your project." (details). I don't recall having a CircleCI config in gh-pages repo too, but maybe we did? Checking the relevant PRs and discussions I don't believe so, but can't verify this. I also don't have access to the CircleCI account.
I think next steps is to:

[ ] Check this repo's settings (I don't have access) to see if any GitHub pages related setting needs to be re-checked/etc.
[ ] See if anyone has gh-pages locally and give a file diff of the remote branch.

Site is back up
I've restored the gh-pages branch, which I had locally with history up to a week ago. It may miss the raw html for a couple of deploys, but that doesn't really matter
I have also enabled branch protection for the gh-pages branch (in addition to main)

There was nothing else to no to fix CircleCI, the site came back up after the gh-pages branch was restored.


DTO - Param default value on optional fields

Hey!
Good job on the project, I love it 😁
A small annoyance I'm dealing with the DTO's is that there is no way to provide a default value for optional arguments.
This means I have to manually assign a default wherever I use the DTO, instead of only using it.
Is your feature request related to a problem? Please describe.
No, more of a minor annoyance.
Describe the solution you'd like
Adding a default argument on the @Param decorator.
@Param({
  description: "Response visibility",
  required: true,
  type: ParamType.INTEGER,
  default: ResponseVisibility.Ephemeral,
})

I'm more than happy to implement it if this is something that would get merged.
Thanks!

Hey! Good idea! I think it would be better not to add the parameter, but just add value initialization.
@Param({
  description: "Response visibility",
  required: true,
  type: ParamType.INTEGER,
})
visibility = ResponseVisibility.Ephemeral;

It is very easy to add this feature by changing the transform pipe

I think both approaches are not mutually exclusive.
At the moment, simply having = default works and resolves my issue but I can think of certain advanced cases where the default value might need be computed.
In these cases, it would be good to have a default argument which can be a callback and contain the state of the answers, as it wouldn't be possible to use the default value.
Ex:
@Param({
  description: "Response visibility",
  required: true,
  type: ParamType.INTEGER,
  default: (interaction, answers)=> interaction.author.isAdmin && answers.someCondition ? ResponseVisibility.Ephemeral : ResponseVisibility.Public,
})

Added in 2.0.11 version @discord-nestjs/common

I don't think it's worth adding any logic to the DTO. Add your own pipe, which will update the DTO fields depending on your conditions.


Add the checkbox column to show which events are supported events.

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Nice catch! Thank you.
/lgtm

Keep on improving!
/approve

/approve cancel

Nice
/approve


duplicate section id "prerequisites" generates error when merging to userguide_single

The section with id sec:prerequisites existed in kotlin_dsl and installation.
Renamed the id in kotlin_dsl
Signed-off-by: Harald Schmitt<EMAIL_ADDRESS>Context

Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[x] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@eriwen You closed my other two PRs, but this one is still valid.
Maybe you have time to look at it

Looks like this was fixed inadvertently with other edits.
Thanks @surfing


Fix Backpex.Resource.update_all/6 when used without pubsub arg

Before this change when someone called the function with 5 arguments FunctionClauseError was risen.

Thanks 🙂


tensorflow[and-cuda] 2.15.0/2.15.1 compatibility with jax[cuda12]

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.15.0/2.15.1
Custom code
Yes
OS platform and distribution
Debian Bulleye
Mobile device
No response
Python version
3.9/3.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
12.2
GPU model and memory
v100
Current behavior?
Hey y'all! I think tensorflow[and-cuda] is incompatible with jax[cuda12] and just wanted to clarify if this was expected.
The solve error I'm getting is:
Because tensorflow[and-cuda] (2.15.0) depends on nvidia-nccl-cu12 (2.16.5)
 and jax[cuda12] (0.4.23) depends on nvidia-nccl-cu12 (>=2.18.3), tensorflow[and-cuda] (2.15.0) is incompatible with jax[cuda12] (0.4.23).
So, because hex-packages depends on both jax[cuda12] (0.4.23) and tensorflow[and-cuda] (2.15.0), version solving failed.

and none of the jax[cuda12] versions with GPU compatibility support nvidia-nccl-cu12=2.16.5; does this requirement need to be hard or can it be looser to accomodate higher versions of nvidia-nccl-cu12?
Standalone code to reproduce the issue
[tool.poetry]
name = "test-jax-and-poetry"
version = "0.1.0"
description = ""
authors = ["Tim Nonet<EMAIL_ADDRESS>readme = "README.md"

[tool.poetry.dependencies]
python = ">=3.9,<3.11"
tensorflow = { "version" = "2.15.1", extras = ["and-cuda"] }
jax = {"version" = "*", extras = ["cuda12"] }

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

Relevant log output
Because tensorflow[and-cuda] (2.15.0) depends on nvidia-nccl-cu12 (2.16.5)
 and jax[cuda12] (0.4.23) depends on nvidia-nccl-cu12 (>=2.18.3), tensorflow[and-cuda] (2.15.0) is incompatible with jax[cuda12] (0.4.23).
So, because hex-packages depends on both jax[cuda12] (0.4.23) and tensorflow[and-cuda] (2.15.0), version solving failed.

whenever I use a version of jax that has the cuda12 extra

@attaluris  TensorFlow[and-cuda] 2.15.0/2.15.1 is likely not compatible with jax[cuda12]. There's a version mismatch with respect to the NVIDIA NCCL library, a component needed for GPU support in both TensorFlow and JAX.
TensorFlow 2.15.0/2.15.1 might depend on an older NCCL version (e.g., nvidia-nccl-cu12 version 2.16.5).
For any further queries please raise an issue in Jax repository.
Thank you!

Is there a way we could loosen the strict requirement in tensorflow from =2.16.5 to >2.16.5?
I also raised an issue in the Jax repo

@attaluris Could you try to update tensorflow to 2.16.1 and jax to 0.4.28?
TF 2.16.1 uses  nvidia-nccl-cu12==2.19.3 (from tensorflow[and-cuda]) which is compatible with JAX's requirement of >=2.18.3.
Thank you!

@sushreebarsa thanks for the detail! 👀
I'm seeing the same issue as https://github.com/tensorflow/tensorflow/issues/63362 with tensorflow 2.16.1 so I'm using 2.15.1
can I get a confirmation that the tensorflow 2.16.1 installation will be fixed and maybe a timeline? thanks in advance!

@attaluris On ubuntu 20.04LTS machine with Tesla P100 GPU, we tried to install JAX 0.4.28 cuda version first and then installed tensorflow 2.15.1. Both were installed successfully. JAX and tf were able to detect GPUs as well. Please have a look at the below screenshot for reference.

Thank you!


Use Arcade SDK conventions more consistently, fix 'package-source-build' project

Completes a few items from https://github.com/dotnet/source-build/issues/1566 (some remain):

stuff is running without the Arcade SDK, so some properties aren't available
artifacts are mostly in bin, not artifacts, so it's not trivial to redirect [to a location that doesn't conflict with the dev's current "prebuilt build" intermediates/outputs]

I adjusted where the source-build resolver was installed: since we're using the Arcade SDK a little more in the tarball build, we need to override it earlier.
Also fixes https://github.com/dotnet/source-build/issues/1472 for build diagnosability (avoid overwriting primary binlog).
Tested locally with CentOS container production + tarball (online) + smoke-test.

Bootstrap smoke-test error is existing issue: https://github.com/dotnet/source-build/issues/1553.


Update generated source code

Automated PR triggered by new code generation.
Update generated source code
Generated SDK source code using:

Generator version 3.26.0
Specification version 1.0.0-dev0.0.30
Automation (cloudant-sdks) version b03526c

Thank you for reviewing @mojito317! I am about to merge this.


Merge pull request #1 from flutter/master

update
Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
List which issues are fixed by this PR. You must list at least one issue.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] I read the Tree Hygiene wiki page, which explains my responsibilities.
[ ] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[ ] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

update 官方version

update

Given that you have not filled out the PR template, this PR looks un-actionable. Please see https://github.com/flutter/flutter/wiki/Tree-hygiene for detailed instructions on how to contribute to the Flutter project. Thank you!


Need to update the version of the GCS library that we use

The version we are currently using does not work anymore in the development server.

Upgraded to GCS 0.6 in 27f7987. Do we need to consider a newer version than this?

Given that we can use the dev server, I'm going to close this for now.