[BUG] auth doesnt work, especially keycloak

Environment
Self-Hosted (Docker)
System
debian
Version
2.1.1
Describe the problem
Deploy dashy in kubernetes with ingress
tried to make auth by dashy documentation, but it didnt work, even basic auth with user hash and title
also auth parameters as enableGuestAccess doesnt work
i think its something in last update, that interfere auth work
last git update was a week ago, maybe u didnt update documentation
Additional info
No response
Please tick the boxes

[X] You have explained the issue clearly, and included all relevant info
[X] You are using a supported version of Dashy
[X] You've checked that this issue hasn't already been raised
[X] You've checked the docs and troubleshooting guide
[X] You agree to the code of conduct

Same here. Basic auth is not working.

Was about to give up, because I couldn't find what I was doing wrong.
Tried a couple of different options, but below is latest.
After applying below to the config, I also get the message that I'm not logged in as admin.
When trying to force via URL to login I just get redirected to Dashy homepage.
https://url/login redirects to https://url/
I deleted cache, restarts, incognito, other browsers etc.
appConfig:
  theme: nord-frost
  layout: auto
  iconSize: medium
  language: en
  auth:
    users:
    - user: randyjc
      hash: <REDACTED>
      type: admin
pageInfo:
  title: Dashy
  description: Welcome to your new dashboard!
  navLinks:
    - title: GitHub
      path: https://github.com/Lissy93/dashy
    - title: Documentation
      path: https://dashy.to/docs
sections:
  - name: Getting Started
    icon: fas fa-rocket
    items:
      - title: Dashy Live
        description: Development a project management links for Dashy
        icon: https://i.ibb.co/qWWpD0v/astro-dab-128.png
        url: https://live.dashy.to/
        target: newtab
        id: 0_1481_dashylive
      - title: GitHub
        description: Source Code, Issues and Pull Requests
        url: https://github.com/lissy93/dashy
        icon: favicon
        id: 1_1481_github

V2.1.1 via PikaPods

same here, auth (basic) soesnt work =(

I am new to Dashy (Just set it up about a week ago.) Today I was following the basic auth docs and I am also seeing the same issue. Opening Dashy, I just get to my dashboard. If I go to config, update config, edit config, I see a message across the bottom "You cannot write changes to disk because you are not logged in as an administrator". So it would seem it knows about my new user account that is an admin, however it is not redirecting to login. I've tried multiple browsers (Edge, chromium, Chrome), and multiple PCs, but there is no change. If it matters, I added the auth config by hand from ssh use VI.
Thanks
Andy

I seem to be having a similar issue.

+1 Basic auth is NOT working, new user running Docker, auth is configured, dashboard is completely exposed and unsecured.
Auth tickets should be a priority.

Is this still going on? I think I have the same problem but cant seem to find a fix if there is maybe someone can direct me into the right direction?

I've not found a solution yet.  So for now I've just disabled Dashy.

I am experiencing the same issue too... Neither keycloak nor basic auth working...
Lets hope @Lissy93 can fix it soon somehow.

+1
No login page showing after enabling auth.
With the aforementioned work-around of "enableguestaccess" I've the login button but even if I authenticate with an Admin user, I'm no able to make any conf changes.

+1 on docker swarm
2.1.0 docker image works fine tho.
Keeping previous version until fix is available :)

+1, I have exactly the same problem that is described here and in the other issues (logout button without even logging-in and keycloak weird errors).
Reverting to 2.1.0

+1 , This is not working on Dashy 2.1.1 too. Does not work even after adding enableGuestAccess: true and disableConfigurationForNonAdmin: true parameters. I have tried it in the incognito mode browser too, to ensure its not a caching issue. Any advice is appreciated.
appConfig:
    auth:
        enableGuestAccess: false
        users:
          - user: user1
            hash: ############
            type: admin
          - user: user2
            hash: ##############
            type: normal
      disableConfigurationForNonAdmin: true

Keycloak works perfectly fine for me.
The needing element is an attribute mapper providing roles and groups to simple attributes "roles" and "groups" in the access token.

Does not work in conjunction with basic auth though

Any progress on this?
For me, it also does not work with 2.1.1. With 2.1.0 everything works perfectly though...

Any progress on this? For me, it also does not work with 2.1.1. With 2.1.0 everything works perfectly though...

Have you made sure you get the groups with your requests? It works when you add them to the access token

I believe there are several reasons why this could be happening - in my case it was a combination of two issues.

Problem 1: User Error

Contrary to what the documentation says, I decided to bind mount ./config:/app/public. This was a mistake, since /app/public is pre-populated with a sample configuration and some other files - including the website icon etc. Only bind mount individual files into /app/public!!
_Note: In  the release notes for 2.1.1, there was mention about a configuration overhaul - I would wait on this to be released before making any requests/suggestions.

Problem 2: First build

I haven't had a chance to look fully into this yet, but I believe it's due to how the dashy docker image is built. It runs a node.js server (which is required to support functions like config editing and more), and a "static" site generated from the config. The static site is built at runtime with yarn, and can be manually started with yarn build (or through the UI via Update Configuration > Rebuild Application). The generated site is placed at /app/dist/, which is non-persistent - if you recreate the container (which happens when running docker compose down, or docker compose up -d with an already running container), the contents of /app/dist will be lost. I believe that upon first startup, the site is run directly from source while the first build is created - which leads to inconsistencies in login mentioned in this issue. If (like me) there are issues with auto rebuild, the static site won't be generated automatically - you need to trigger it manually via any of the above methods. Once built, login functions as expected.
@Lissy93 do you mind giving this a quick read and response? A yes/no would suffice, I know you are busy with v2.1.2/v3 among other things.

As for solutions to the problem, make sure the static component is built upon container recreation. Since the release notes mentioned a big overhaul, I won't do anything right now, but I have an idea as for how to fix the issue at it's root, should it still exist - make /app/dist persist to an extent (or require yarn build to complete before the container becomes accessible). If a maintainer can give me the go ahead (i.e. this won't be solved by anything that's currently in the works), I'll draft up a PR with the fix (basically add documentation for an additional bind mount, ./cache:/app/dist or the like, and make a few changes to make it work (there's an RM command somewhere that needs a change)).

These mentions are just for letting people involved in the other bugs know, sorry for the spam

Thanks for looking int this @TheRealGramdalf.
I tried at my end again, unfortunately I couldn't get things to work.

Added the Keycloack mapper as per the screenshot of @jakob1379, no change unfortunately
Ran sudo docker exec -it dashboard yarn as per your note above and still won't get a prompt to logon

Back to v2.1.0 and things are working again…

* Ran` sudo docker exec -it dashboard yarn` as per your note above and still won't get a prompt to logon

Did you do  sudo docker exec -it dashboard yarn or sudo docker exec -it dashboard yarn build? The latter is what you need for it to build, on my server it takes about ~100s. Make sure to clear all cache (especially if you have the service worker enabled) for it to take effect - there may be residual login cookies etc that mess with things.

I just tried your fix and it worked like a charm.  Thanks!

Did you do sudo docker exec -it dashboard yarn or sudo docker exec -it dashboard yarn build?

The first one :-)
Just tried again with yarn build…and bingo! Got my logon dialog!
I think that's a workable solution for me until this get fixed for good.
Thanks a lot for helping along, really appreciated!

Even with version 2.1.0, I don't achieve keycloak auth to work :( It gives a never ending refresh on the dashy loading screen. Did someone have a working configuration with keycloak to provide ?

Hello,
I'm encountering a couple of issues with Dashy after deploying it using Docker Compose. Here's a summary of my steps and the problems I'm facing:
Initial Deployment: I deployed Dashy using the command docker compose up -d. After deployment, the login screen did not appear as expected.
Rebuilding Dashy: To troubleshoot, I rebuilt Dashy using two methods:
Through the Dashy UI by selecting "Rebuild Application."
Via command line with sudo docker exec -it  yarn build.
After rebuilding, the login screen became available, resolving the initial issue.
Configuration Update Problem: However, a new problem arose where updates made to the Dashy configuration through the UI are not being saved. Interestingly, the changes appear in the configuration file when viewed with cat or vim, but these updates don't reflect within the application itself when I reload the browser, tried also in incognito mode clear cookis.
Specifically, I'm looking for help with the following:
Why are the configuration changes not persisting in the UI, even though they're visible in the configuration file?
Is there a step I'm missing or a known issue that prevents configuration updates from being saved properly when using Docker?
Any insights, suggestions, or guidance on how to resolve this issue would be greatly appreciated. Thank you!

Configuration changes require a rebuild before they take effect. Just trigger that after making changes to the config and you should be good.

Configuration changes require a rebuild before they take effect. Just trigger that after making changes to the config and you should be good.

Thanks for the fast response. However, the problem I face after rebuild is that I can not change the configuration in UI, so to say interactively. I do the changes, like add section, as can be seen on the screenshots. I added the "test section" clicked on save disk, after refreshing the page "test section" is gone, but is, in fact, in the config.yml file.
It is very inconvenient to rebuild the app after every change.
So long story short, I have only problem that after I run it with docker compose up -d, anyone can see the dashboard after just deleting the /login in the URL IP:Port/login is there a workaround I can do to avoid that??

Essentially the issue is that you must rebuild after making any changes, period. This used to happen automatically, but it was recently broken (as of 2.11 iirc?). I haven't looked into the specifics exactly, but that's the TL;DR

Essentially the issue is that you must rebuild after making any changes, period. This used to happen automatically, but it was recently broken (as of 2.11 iirc?). I haven't looked into the specifics exactly, but that's the TL;DR

Thx for the answer. I revert it to 2.1.0 and it is working fine. I will wait till the bug is fix in the next releases.

> Even with version 2.1.0, I can't get keycloak authentication to work :( It provides a never-ending refresh on the dash loading screen. Does anyone have a working configuration for keycloak?
I also can't use keycloak for authentication.

Hi
This problems seems to be related to dashy not automatically rebuilding on changes, see #1479 and https://github.com/Lissy93/dashy/issues/1290#issuecomment-1884249018
A new release has just been published, which should fix this issue, so please upgrade to the latest version.
If this is not the case just respond back to this ticket and I'll reopen this issue.
Thanks and have a nice day.

Hello @CrazyWolf13 !
I am still having issue with dashy blocked in a never ending refresh. I have the page with auth with keycloak, and when I am login in, I have dashy that is stuck refreshing and not working.
I don't know if its still an issue with dashy or if it is a config problem :(

@Unacoli
Thanks for the feedback, can you confirm you are indeed running the latest version of dashy and can you try to repull and redeploy the container?
Also would you mind sharing your conf.yml ?

I have a sort of working setup in case you want to compare notes.
"Sort of" because when I do a docker compose down --rmi all && docker compose up -d I have to do a separate rebuild via docker exec -it dashboard yarn build
Without the later docker command Dashy will work, but not ask for credentials, which is the opposite of fail-safe I guess :-)

Yes, this is what I am running:
dashboard  | Using Dashy V-2.1.2.  "Sort of" because when I do a docker compose down --rmi all && docker compose up -d I have to do a separate rebuild via docker exec -it dashboard yarn build
Without the later docker command Dashy will work, but not ask for credentials, which is the opposite of fail-safe I guess :-)

The command sadly didn't solved the refresh problem :( I really don't understand if the problem come from me or not since its gave me the right connexion prompt, and after login its locked in the refreshing state (i also see my connexion log on dashy on the keycloak log)

I've investigated a little more browsing tickets, and I find the answer to my problem !
In Keycloak, in my dashy client, I had to turn off this option :

It works perfectly now, thank you all !

I also have this problem, normal login works, keycloak not, even with this feature disabled... No login page and config file open to anyone. Any updates on this?

Keycloak is working for me now on 3.0.0 when I go to dashy.domain.com/login. Is anyone else able to test?

After the authorization window, enter the login and password. Next, the infinite cycle begins. Where can I see detailed logs?

Console output after keycloak authorization:
Error while trying to use the following icon from the Manifest: https://***.domen.com/web-icons/dashy-pwa_144x144.png (Download error or resource isn't a valid image)
Warning : Deprecation warning: The simple-icons entrypoint will be removed in the next major. Please switch to using import * as icons from "simple-icons/icons" if you need an object with all the icons.

Keycloak is working for me now on 3.0.0 when I go to dashy.domain.com/login. Is anyone else able to test?

Keycloak теперь работает у меня в версии 3.0.0, когда я захожу на Dashy.domain.com/login. Кто-нибудь еще может протестировать?

Keycloak is working for me now on 3.0.0 when I go to dashy.domain.com/login. Is anyone else able to test?

Keycloak is working for me now on 3.0.0 when I go to dashy.domain.com/login. Is anyone else able to test?

Can you show conf.yml and a screenshot of the clients setting in keycloak?
Have you set up roles and groups separately in the client?

Keycloak is working for me now on 3.0.0 when I go to dashy.domain.com/login. Is anyone else able to test?

can you show conf.yml and a screenshot of the clients setting in keycloak?
Have you set up roles and groups separately in the client?

Keycloak is working for me now on 3.0.0 when I go to dashy.domain.com/login. Is anyone else able to test?

can you show conf.yml and a screenshot of the clients setting in keycloak? Have you set up roles and groups separately in the client?

Only one user so no roles or groups.
  auth:
    enableGuestAccess: false
    users: []
    enableKeycloak: true
    keycloak:
      serverUrl: https://keycloak.example.com
      realm: example-realm
      clientId: example-clientid
      legacySupport: false

I hadn't realized that the infinite refresh loop was client-side, sorry misunderstood and thought you were talking about a Docker issue.
This should be fixed by db9d7e362dcd5d08688a6eb32521b0499f9ce809  in #1542 and released in 3.0.1

I hadn't realized that the infinite refresh loop was client-side, sorry misunderstood and thought you were talking about a Docker issue.
This should be fixed by db9d7e3 in #1542 and released in 3.0.1

Updated to version 3.0.1 and getting an error

Moreover, keycloak authorization is successful and the session is active for the user.
My conf.yml
`pageInfo:
title: Home
description: ***
navLinks:
- title: Gitlab
path: https://gitlab..com
- title: Books
path: https://books..com
appConfig:
theme: colorful
auth:
enableGuestAccess: false
enableKeycloak: true
keycloak:
serverUrl: https://keycloak.***.com
realm: KC1
clientId: Home
layout: auto
iconSize: medium
language: ru
sections:

name: Example Section
icon: far fa-rocket
displayData:
showForKeycloakUsers:
roles: ['admin']
items:

title: GitHub
description: Dashy source code and docs
icon: fab fa-github
url: https://github.com/Lissy93/dashy
id: 0_1473_github
title: Issues
description: View open issues, or raise a new one
icon: fas fa-bug
url: https://github.com/Lissy93/dashy/issues
id: 1_1473_issues`

Great! It works with version 3.0.1
THANKS!!!!!


[Bug report] On limited photo Access on IOS, the pop up triggers without having any way to handle it.

Version
3.19.6
Platforms
iOS
Device Model
iPhone 15 pro
flutter info
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64, locale en-PK)
    • Flutter version 3.19.6 on channel stable at /Users/asimjawad/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (3 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/asimjawad/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/asimjawad/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] Connected device (4 available)
    • Asim’s iPhone (mobile) • 00008110-001C5D210CB8801E            • ios            • iOS 17.4.1 21E236
    • iPhone 15 Pro (mobile) • 1B35439F-3532-474E-9DB2-BB0C1A2A7EF8 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 124.0.6367.158

[✓] Network resources
    • All expected network resources are available.

How to reproduce?
=> Select the Limited Access Permission.
=> Select some photos
=> run the app again by reinstalling it on IOS and give permission again.
Logs
No response
Example code (optional)
No response
Contact
<EMAIL_ADDRESS>

Not sure what exactly the problem is. Could you explain more?


Is this not compatible with Vite?

I had no issues using this in my vanilla React projects. Tried to use it with vite and nothing works.. clicking a link doesn't scroll. I'm using the exact same code and the exact same version i'm using in vanilla React too. Anyone else got this to work with Vite?

Hi, I am using it with vite without any problem.

I'm getting the following breaking error in Vite:
GET http://localhost:5173/node_modules/.vite/deps/react-scroll.js?t=1684163175571&v=7f14b061 net::ERR_ABORTED 504 (Outdated Optimize Dep)
Here's the repo: https://github.com/ToneeEnguix/el_sorrall
To install run:

npm i
npm run dev

Error should appear. Help appreciated!

ok I think my issue was very simple:
I just deleted package-lock.json and node_modules and ran npm i again.
Worked successfully.


can't send email:  use_smtp always set to false

Hi,  wondering if anyone has come across this problem with sending email.   I installed the controller on my Rasp Pi 3 and everything except email seems to be working.  For some reason, the use_smtp flag is always set to false, and thus prevents email from being sent.  I am somewhat tech savvy, but know very little about python.  I did manage to learn enough pdb to debug a little and found that in the clause that compares set(smtp_params) with set(config['alerts']['smtp']) seems to be the problem.  From what i can tell, the smtp_params variable contains 'time_to_wait', but this is not present in config['alerts']['smtp'] and thus it always sets self.use_smtp = false.
Any help would be appreciated.
The clause in question is listed below:
if self.alert_type == 'smtp':
self.use_smtp = False
smtp_params = ("smtphost", "smtpport", "smtp_tls", "username",
"password", "to_email", "time_to_wait")
self.use_smtp = ('smtp' in config['alerts']) and set(smtp_params) == set(config['alerts']['smtp'])
My config.json file:
{
"config":
{
"use_auth":true,
"use_alerts":true,
"use_openhab":false
},
"alerts":
{
"time_to_wait" : 10,
"alert_type" : "smtp",
"smtp":
{
"smtphost" : "smtp.gmail.com",
"smtpport" : 587,
"smtp_tls" : "True",
"username"<EMAIL_ADDRESS>"password" : "xxxx",
"to_email"<EMAIL_ADDRESS>},

I am having the same issue an have tried it on the Pi 2 and 3. The sylog says logs that the garage software is using SMTP when you start the Pi but nothing else logs besides the reed switch states and the door button pressing. Any help would be  appreciated.
Thank
Ken

I am seeing the same issue also.  messages shows:
raspberrypi garage_controller: we are using SMTP
but it never emails when garage door is left open.  There are no further messages in the log.  Can anyone give any direction on where to start looking as to why this is happening?

i never figured out why it is happening, but i implemented a workaround.  not sure if it is related, but I've found that i have to reboot the pi ~ every 2 weeks because it stops sending mail.
changed
self.use_smtp = ('smtp' in config['alerts']) and set(smtp_params) == set(config['alerts']['smtp'])
to ...
self.use_smtp = ('smtp' in config['alerts']) and set(smtp_params) != set(config['alerts']['smtp'])

I had the same problem.  I was able to fix this.  Here's how:
On line 96/97 = remove "time_to_wait" as one of the parameters.  It is not a parameter in the smtp function and is not being passed to it, thus the function on the next line was always false. once you remove this, then if the parameters are passed correctly, then you it will work.

I had the same problem. I was able to fix this. Here's how:
On line 96/97 = remove "time_to_wait" as one of the parameters. It is not a parameter in the smtp function and is not being passed to it, thus the function on the next line was always false. once you remove this, then if the parameters are passed correctly, then you it will work.
in sum:
Change:
smtp_params = ("smtphost", "smtpport", "smtp_tls", "username", "password", "to_email", "time_to_wait")
TO:
smtp_params = ("smtphost", "smtpport", "smtp_tls", "username", "password", "to_email")

Good catch.  The time to wait variable was pushed into the common Alert infrastructure.  I'll fix the code.


[SPARK-28896][K8S] Support defining HADOOP_CONF_DIR and config map at the same time

What changes were proposed in this pull request?

Changes in this pull request will support users to define HADOOP_CONF_DIR and spark.kubernetes.hadoop.configMapName at the same time. When both of them are defined, Spark will take precedence over the config map to be mounted on the driver pod. This enables the spark client process to communicate any Hadoop cluster if it needs.
Why are the changes needed?

The BasicDriverFeatureStep for Spark on Kubernetes will upload the files/jars specified by --files/–jars to a Hadoop compatible file system configured by spark.kubernetes.file.upload.path. While using HADOOP_CONF_DIR, the spark-submit process can recognize the file system, but when using spark.kubernetes.hadoop.configMapName which only will be mount on the Pods not applied back to our client process.
 Kent@KentsMacBookPro  ~/Documents/spark-on-k8s/spark-3.0.0-SNAPSHOT-bin-2.7.3  bin/spark-submit --conf spark.kubernetes.file.upload.path=hdfs://hz-cluster10/user/kyuubi/udf --jars /Users/Kent/Documents/spark-on-k8s/spark-3.0.0-SNAPSHOT-bin-2.7.3/hadoop-lzo-0.4.20-SNAPSHOT.jar --conf spark.kerberos.keytab=/Users/Kent/Downloads/kyuubi.keytab --conf<EMAIL_ADDRESS>--conf  spark.kubernetes.kerberos.krb5.path=/etc/krb5.conf  --name hehe --deploy-mode cluster --class org.apache.spark.examples.HdfsTest   local:///opt/spark/examples/jars/spark-examples_2.12-3.0.0-SNAPSHOT.jar hdfs://hz-cluster10/user/kyuubi/hive_db/kyuubi.db/hive_tbl
Listening for transport dt_socket at address: 50014
# spark.master=k8s://https://<IP_ADDRESS>:7443
19/08/27 17:21:06 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
19/08/27 17:21:07 INFO SparkKubernetesClientFactory: Auto-configuring K8S client using current context from users K8S config file
Listening for transport dt_socket at address: 50014
Exception in thread "main" org.apache.spark.SparkException: Uploading file /Users/Kent/Documents/spark-on-k8s/spark-3.0.0-SNAPSHOT-bin-2.7.3/hadoop-lzo-0.4.20-SNAPSHOT.jar failed...
	at org.apache.spark.deploy.k8s.KubernetesUtils$.uploadFileUri(KubernetesUtils.scala:287)
	at org.apache.spark.deploy.k8s.KubernetesUtils$.$anonfun$uploadAndTransformFileUris$1(KubernetesUtils.scala:246)
	at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:237)
	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)
	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)
	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)
	at scala.collection.TraversableLike.map(TraversableLike.scala:237)
	at scala.collection.TraversableLike.map$(TraversableLike.scala:230)
	at scala.collection.AbstractTraversable.map(Traversable.scala:108)
	at org.apache.spark.deploy.k8s.KubernetesUtils$.uploadAndTransformFileUris(KubernetesUtils.scala:245)
	at org.apache.spark.deploy.k8s.features.BasicDriverFeatureStep.$anonfun$getAdditionalPodSystemProperties$1(BasicDriverFeatur# spark.master=k8s://https://<IP_ADDRESS>:7443
eStep.scala:165)
	at scala.collection.immutable.List.foreach(List.scala:392)
	at org.apache.spark.deploy.k8s.features.BasicDriverFeatureStep.getAdditionalPodSystemProperties(BasicDriverFeatureStep.scala:163)
	at org.apache.spark.deploy.k8s.submit.KubernetesDriverBuilder.$anonfun$buildFromFeatures$3(KubernetesDriverBuilder.scala:60)
	at scala.collection.LinearSeqOptimized.foldLeft(LinearSeqOptimized.scala:126)
	at scala.collection.LinearSeqOptimized.foldLeft$(LinearSeqOptimized.scala:122)
	at scala.collection.immutable.List.foldLeft(List.scala:89)
	at org.apache.spark.deploy.k8s.submit.KubernetesDriverBuilder.buildFromFeatures(KubernetesDriverBuilder.scala:58)
	at org.apache.spark.deploy.k8s.submit.Client.run(KubernetesClientApplication.scala:101)
	at org.apache.spark.deploy.k8s.submit.KubernetesClientApplication.$anonfun$run$10(KubernetesClientApplication.scala:236)
	at org.apache.spark.deploy.k8s.submit.KubernetesClientApplication.$anonfun$run$10$adapted(KubernetesClientApplication.scala:229)
	at org.apache.spark.util.Utils$.tryWithResource(Utils.scala:2567)
	at org.apache.spark.deploy.k8s.submit.KubernetesClientApplication.run(KubernetesClientApplication.scala:229)
	at org.apache.spark.deploy.k8s.submit.KubernetesClientApplication.start(KubernetesClientApplication.scala:198)
	at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:920)
	at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:179)
	at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:202)
	at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:89)
	at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:999)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1008)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: hz-cluster10
	at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:378)
	at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:310)
	at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:176)
	at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:678)
	at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:619)
	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:149)
	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2669)
	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:94)
	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2703)
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2685)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:373)
	at org.apache.spark.util.Utils$.getHadoopFileSystem(Utils.scala:1881)
	at org.apache.spark.deploy.k8s.KubernetesUtils$.uploadFileUri(KubernetesUtils.scala:278)
	... 30 more
Caused by: java.net.UnknownHostException: hz-cluster10
	... 43 more

Other related spark configurations
spark.master=k8s://https://<IP_ADDRESS>:7443
# spark.master=k8s://https://<IP_ADDRESS>:7443
spark.kubernetes.container.image=harbor-inner.sparkonk8s.netease.com/tenant1-project1/spark:v3.0.0-20190813
# spark.kubernetes.driver.container.image=harbor-inner.sparkonk8s.netease.com/tenant1-project1/spark:v3.0.0-20190813
# spark.kubernetes.executor.container.image=harbor-inner.sparkonk8s.netease.com/tenant1-project1/spark:v3.0.0-20190813
spark.executor.instanses=5
spark.kubernetes.namespace=ns1
spark.kubernetes.container.image.pullSecrets=mysecret
spark.kubernetes.hadoop.configMapName=hz10-hadoop-dir
spark.kubernetes.kerberos.krb5.path=/etc/krb5.conf
<EMAIL_ADDRESS>spark.kerberos.keytab=/Users/Kent/Downloads/kyuubi.keytab

Does this PR introduce any user-facing change?

I guess this pr will now use config map of Hadoop from k8s cluster to the local client process if there are files to upload to Hadoop.
How was this patch tested?

manually tested with spark + k8s cluster + standalone kerberized hdfs cluster
add an unit test

Test build #110165 has started for PR 25609 at commit 04a6aab.

Test build #110165 has finished for PR 25609 at commit 04a6aab.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110165/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/15171/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/15173/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/15171/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15171/
Test FAILed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/testing-k8s-prb-make-spark-distribution-unified/15173/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15173/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/15644/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/15644/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/15644/
Test PASSed.

gentle ping @skonto

@yaooqinn will review thanks

@erikerlandson LGTM, we need an integration test for this @ifilonenko gentle ping.

Test build #111938 has started for PR 25609 at commit 7f2c957.

Test build #111938 has finished for PR 25609 at commit 7f2c957.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/111938/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/16953/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/16953/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/16953/
Test PASSed.

anything blocks this？ @skonto

retest this please

retest this please

cc @cloud-fan @vanzin, could any active committers help review this? thanks in advance.

Test build #115066 has started for PR 25609 at commit 7f2c957.

Test build #115066 has finished for PR 25609 at commit 7f2c957.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115066/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/19884/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/19884/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19884/
Test FAILed.

retest this please

Test build #115069 has started for PR 25609 at commit 7f2c957.

Test build #115069 has finished for PR 25609 at commit 7f2c957.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115069/
Test PASSed.

Test build #115072 has started for PR 25609 at commit 7f2c957.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/19886/

Test build #115072 has finished for PR 25609 at commit 7f2c957.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115072/
Test PASSed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/19886/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/19886/
Test PASSed.

Does this have an integration test now?
cc @ifilonenko @skonto

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21297/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21297/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21297/
Test FAILed.

Test build #122767 has started for PR 25609 at commit 7f2c957.

Test build #122767 has finished for PR 25609 at commit 7f2c957.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122767/
Test PASSed.

retest this please

Test build #127901 has started for PR 25609 at commit 7f2c957.

Test build #127901 has finished for PR 25609 at commit 7f2c957.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/127901/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/32527/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/32527/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/32527/
Test PASSed.


PR for new security article, artwork, and new TOC node

@alkohli @dansisson

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

NOTE: because this PR contains a new article and content, the commits will need to be moved to the private repo. Let us know if you'd like assistance.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@LouisBerner, @alkohli: I've provided my review comments. However, I am still unconvinced with the article title and intro content.


PyPI Release

I noticed that there hasn't been a release of this package on PyPI since 2015, and that it is a pre-release version number. Since this package is certainly used in production, it would be nice to get it to version 1.0 and make a new release on PyPI. Why hasn't there been a more recent release? Has the original maintainer abandoned the project?

I noticed this fork https://github.com/jinzhu/inflection does have a 1.0, which is linked here:
https://release-monitoring.org/project/20876/
It would be nice to have just one source of numbered releases.

@hojalot What? That doesn't look like a fork of this repo; it's written in Go rather than Python. It also has less commits.

@gregschmit ... Oops, wrong language.  My mistake!

I just released v0.4.0, so I think we can close this :)


HMR and manual refresh 404s admin page

Describe the bug
This is similar to #155 but not quite. When you open /admin, it suffixes the current page with /structure, so you are in /admin/structure. I presume this is using CSR because no such page exists. When you refresh the page, since /structure only exists "virtually" within the /admin page, it 404s. This happens very often if you're doing HMR.
To Reproduce
Steps to reproduce the behavior:

Setup studioBasePath and sanity.config.ts with structureTool
Navigate to /admin and refresh the page or change a file that would trigger hmr
See error

Expected behavior
/structure should also be a static route.
Logs
21:20:04 [WARN] [router] A `getStaticPaths()` route pattern was matched, but no matching static path was found for requested path `/admin/structure`.

Possible dynamic routes being matched: node_modules/.pnpm/@sanity+astro@3.1.3_@sanity+client@6.19.1_@sanity+visual-editing@2.1.3_@sanity+client<EMAIL_ADDRESS>
Which versions of Sanity are you using?
@sanity/cli (global)    3.44.0 (up to date)
@sanity/astro            3.1.3 (up to date)
@sanity/visual-editing   2.1.3 (up to date)
sanity                  3.44.0 (up to date)

What operating system are you using?
Bluefin 40
Which versions of Node.js / npm are you running?
pnpm -v && node -v
9.1.4
v20.14.0

It's probably useful here to note that this problem doesn't seem to occur on an SSR app -- only on a static/SSG app.
You can demonstrate this by setting an accessible projectId, dataset, and matching schemas, within the two example apps provided.

It's probably useful here to note that this problem doesn't seem to occur on an SSR app -- only on a static/SSG app.
You can demonstrate this by setting an accessible projectId, dataset, and matching schemas, within the two example apps provided.

I think you're quite right. On my Cloudflare Pages deployment, I can just setup a _redirects file that points all routes to that one (btw, Cloudflare Page's redirects are borked and this took some fidaddling to get to work properly) but I'd also like a way to have those routes set up on my local dev server. I wonder if there's a way I can override the Vite dev server to always serve the studio from those subroutes?

Running into this, this is especially bad when developing locally. Would love for the Sanity team to deliver a fix

So... is Sanity supposed to be able to run on a static site at /admin route, or does it need a server like Vercel to host it. I wanted to use GitHub Pages to host a static Astro site with Sanity backend. I thought this was the whole point of these tools. I'm confused why the admin area has these pathing issues when running astro dev locally in a brand new sanity-astro project.

Dylan @dylanfisher , it seems this is getting confused here on your post, and possibly one or more before it.
As I recall, the original bug did exist, but was rapidly fixed. Not sure why this issue trail still exists, in fact. You'll want to be sure you're running the most recent version of @sanity/astro.
But what you seem to be running into is a misunderstanding of the @sanity/astro architecture.

Running SSG, there's no opportunity to update the website except by a rebuild. Thus using the Studio (admin) in close participation with it has no reason, and the integration doesn't support that.

When you run a site SSR, then refreshing the page can show updates, and here the integration gives full support, once you've set the configuration. It works very well.

You can run an SSR site overall, if it's light duty and can give the performance preferred.

If not, then having your public site SSG, then using a second editing site SSR from the same codebase and dataset, with the embedded Studio configured, is a sensible and common way to proceed.

@narration-sd what about the astro dev command locally? I'm still having the same problem as described in this issue on a new install. I am following this guide https://www.sanity.io/plugins/sanity-astro. The /admin area loads initially, but on refresh I get the Astro 404 page.
{
  "name": "my-project",
  "type": "module",
  "version": "0.0.1",
  "scripts": {
    "dev": "astro dev",
    "start": "astro dev",
    "build": "astro build",
    "preview": "astro preview",
    "astro": "astro"
  },
  "dependencies": {
    "@astrojs/react": "^3.6.2",
    "@sanity/astro": "^3.1.4",
    "@sanity/client": "^6.21.3",
    "@sanity/visual-editing": "^2.1.9",
    "@types/react": "^18.3.3",
    "@types/react-dom": "^18.3.0",
    "astro": "^4.14.2",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "sanity": "^3.54.0"
  },
  "devDependencies": {
    "autoprefixer": "^10.4.20",
    "bootstrap": "^5.3.3",
    "sass-embedded": "^1.77.8"
  }
}

// astro.config.mjs
import { defineConfig } from 'astro/config';

import sanity from '@sanity/astro';
import react from '@astrojs/react';

// https://astro.build/config
export default defineConfig({
  integrations: [
    sanity({
      projectId: '123456',
      dataset: 'dev',
      useCdn: false,
      studioBasePath: '/admin',
    }),
    react()
  ]
});

// sanity.config.js
import {defineConfig} from 'sanity'
import {structureTool} from 'sanity/structure'

export default defineConfig({
  name: 'myProject',
  title: 'My Project',
  projectId: '123456',
  dataset: 'dev',
  plugins: [structureTool()],
})

Ok, Dylan, actually you're right  -- I just switched over a site to run static in dev, and it replicates the 404 on refresh problem for the Studio (on /admin).  It was fine as I thought in SSR, leading to a suggestion as follows.

I'd forgotten that you can operate static local dev, in recent versions, because they don't require hybrid mode on an adaptor.

Also, it looks like the fix has not been done. I probably remembered the good response from the workaround I put above. But Sanity development hasn't actually fixed the problem yet, which explains that the issue is still here.

Actually, there are other more significant problems not addressed over the European summer break

so, practically speaking, I'd suggest you just don't do refreshes on the Studio for now

or, you could run SSR as a workaround, which is easy to do:

install @astrojs/netlify
then towards the top of your astro.config file, add
    import netlify from '@astrojs/netlify';
add a comma after your integrations[] array closing bracket, then two more line below it, within the config object:

     output: 'hybrid',
     adapter: netlify()

now when you run dev, you should be in SSR, and the problem on refreshes should go away

Hopefully the persons in Sanity development will be doing a review before long, and pick up the problems like this which are still hanging around -- I've got a PR coming for at least one of those outstanding, though not for this one.

Giving up on the embedded approach and using Turborepo to manage Astro / Sanity within the same repo.

hmm - Dylan, that could work, unless you plan on using Presentation/Visual Editing. In that case, there's another bug. I haven't put up the PR for it, but could give you a patch.
What's the problem with using SSR etc. as proposed, I wonder. I'll send you an email so we can take this conversation off the GitHub trail, se if something easy can't be satisfactory for what you need, arrived at on a Friday.
Clive

Not planning on doing presentation or visual editing at the moment. I want to try to do it without SSR using webhooks from Sanity into GitHub to save costs for small client projects.

This happens to me even in SSR, the original hit at the basePath (which is /admin for me) isn't even kept in the browser history, but it keeps just the /admin/structure.
This seems to be because I have trailingSlash: "always" in the config. That causes the Sanity Studio and Astro to fail between them, not showing anything unless I add a trailing slash.


init crashing when calling decode

using the latest code from the repo (will be testing with release 10)
while initialising the Pushbullet class with my api key decode crashes trying to decode the response from the device list
this is the traceback from the console
File "/Users/oranshuster/PyCharmProjects/naipi/naipi/runner.py", line 150, in main
pb = Pushbullet(API_KEY)
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 29, in init
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 298, in refresh
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 42, in _load_devices
File "build/bdist.macosx-10.11-x86_64/egg/pushbullet/pushbullet.py", line 37, in _get_data
File "/Library/Python/2.7/site-packages/requests/models.py", line 819, in json
return json.loads(self.text, **kwargs)
File "/Library/Python/2.7/site-packages/simplejson/init.py", line 516, in loads
return _default_decoder.decode(s)
File "/Library/Python/2.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/Library/Python/2.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.scanner.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

That's strange. I won't ask you for API_KEY since it's secret, but are you sure that it's a string containing the proper API key without any redundant spaces?

no spaces. i also checked the response and im getting response 200 (or 201?)
On Tue, May 10, 2016 at 6:22 PM, Roey Darwish Dror<EMAIL_ADDRESS>
wrote:

That's strange. I won't ask you for API_KEY since it's secret, but are you
sure that it's a string containing the proper API key without any redundant
spaces?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/randomchars/pushbullet.py/issues/77#issuecomment-218192071


add Josephus problem in java

hey @ravikr126  please assign me for this issue
I'll add
thanks :)

start work on it @Ayan-thecodeking

start work on it @Ayan-thecodeking

Thanks :)


Explain how to use it

The README.md (displayed in the Nova preference panel) doesn't say anything about how to use this extension.
How do I format the JSON? Nothing happens on Save.

Ah I'll add a note to the README.md. If you open up the command palette (⇧⌘P) and type Format JSON, you should see an option titled the same. Hitting that option should format the JSON


send reminder emails from frontend

requires https://github.com/orgs/cph-cachet/projects/9/views/1?pane=issue&itemId=82576732&issue=cph-cachet|carp-webservices-spring|157
includes https://github.com/cph-cachet/carp.webservices.dashboard/issues/189


New JS tests for data panel

Motivation and Context
JS tests need populating, have written some for data-panel.
What has changed
Added tests for data panel
How to test?
Ensure that  js tests pass.

 FAIL  response_operations_ui/assets/tests/data-panel.test.js
  ● Data panel tests › Behaviour without panels initialised › Content visible after clicking panel toggle

    ReferenceError: clickElement is not defined

      37 |
      38 |         test('Content visible after clicking panel toggle', () => {
    > 39 |             clickElement(dataPanelHeader);
         |             ^
      40 |             expect(dataPanelBody.style.display).toBe('');
      41 |         });
      42 |     });```

Also, now that we've got a real test, it should be added to the Makefile as nobody will run it otherwise


Multivariate Hawkes Process implementation

Thank you for this excellent foundation work. I would like to use your library as a toolkit for baseline benchmark. But I could not find the implementation of the Multivariate Hawkes Process mentioned in your paper, thank you very much for looking into this problem.

I think multivariate hawkes process isn't considered state-of-the-art so it's not implemented here. I suggest using tick for it.

It is not implemented here because it is not neural model. You can just use the tick library.


keras.ops.average_pool API inconsistent across all backends.

I see that the keras.ops.average_pool API is not consistent with all the backends.
I have tested the following code with TF, JAX, and Torch backends and reported in this attached Colab Notebook
inputs = keras.ops.ones(shape=(32000, 14, 14, 256))
outputs = keras.ops.average_pool(inputs, pool_size=(1, 2, 2, 1), strides=(1, 2, 2, 1), padding='VALID')

print(inputs.shape)
print(outputs.shape)

Hi @ariG23498,
Thanks for the issue!
According to the documentation I attached below, pool_size and strides for a input of shape (32000, 14, 14, 256) should be tuples of two ints, like pool_size=(1, 2), strides=(1, 2).
The inputs_spatial_shape for your inputs is (14, 14).
The inputs should be of shape  (batch_size,) + inputs_spatial_shape + (num_channels,).
    """Average pooling operation.

    Args:
        inputs: Tensor of rank N+2. `inputs` has shape
            `(batch_size,) + inputs_spatial_shape + (num_channels,)` if
            `data_format="channels_last"`, or
            `(batch_size, num_channels) + inputs_spatial_shape` if
            `data_format="channels_first"`. Pooling happens over the spatial
            dimensions only.
        pool_size: int or tuple/list of integers of size
            `len(inputs_spatial_shape)`, specifying the size of the pooling
            window for each spatial dimension of the input tensor. If
            `pool_size` is int, then every spatial dimension shares the same
            `pool_size`.


Using socket.io with passport

Hi Jared et al
Is there a good and official example on how to use Passport with Socket.io? Among the few questions I have -  how do I utilize/invoke the req.logIn() and req.logout() functions of Passport when using sockets?

Please ask questions such as these on Stack Overflow. Use GitHub Issues for reporting issues within the implementation of this module. Thanks.


A more informative example

A more informative example for parseDateTime, which might have helped at https://forum.mendix.com/link/questions/117461

Updated and verified with Runtime via slack, merging PR.

@TimvanSteenbergen Thank you for your PR and continued collaboration, much appreciated.


Unable to Register Devices

What App Center service does this affect?
Distribution
Describe the bug
When releasing our app it shows 9 Unregistered devices. After clicking Register Devices AND Resign the app it just gets stuck and has been stuck for ~30 minutes. If choosing just Register Devices it says it is successful but never shows those devices as having been registered and when attempting to install them on the unregistered devices it doesn't work.
Screenshots

Desktop (please complete the following information):

OS: iOS
Browser: Chrome

This did eventually finish, it took about 30 minutes though.

Same here. The device is added to the devices list in developer.apple.com, but stays "unprovisioned" on App Center.

We've been seeing some issues with our machines running the service. But it should have been mitigated by now.
If you still experience delays, please re-open this bug.

I'm still having this bug @Oddj0b
Do I need to change anything on my configs?

Hey @rodrigofeijao,
Can you create a support ticket under the ? in the upper-right of the App Center portal, I think they can help you.


Android app icon remains unchanged

As already mentioned in the comments here when generating icons for android, some icon files remain unchanged.
For me that is all the ic_launcher_foreground.png files (hdpi, mdpi, etc.)
Therefore, the default capacitor icon remains and the app icon on my android devices now is the capacitor icon.
Ionic info:
Ionic:

   Ionic CLI                     : 6.11.10 (/Users/tmuecksch/.npm-global/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.3.4
   @angular-devkit/build-angular : 0.803.29
   @angular-devkit/schematics    : 8.3.29
   @angular/cli                  : 8.3.29
   @ionic/angular-toolkit        : 2.3.3

Capacitor:

   Capacitor CLI   : 2.4.2
   @capacitor/core : 2.4.2

Utility:

   cordova-res                          : 0.15.1
   native-run (update available: 1.2.1) : 0.3.0

System:

   NodeJS : v14.13.0 (/usr/local/bin/node)
   npm    : 6.14.8
   OS     : macOS Catalina

Having the same issue

Same problem.
Adaptive Icons
Android Adaptive Icons are also supported. If you choose to use them, create the following additional file(s):
resources/android/icon-foreground.png must be at least 432×432px
resources/android/icon-background.png must be at least 432×432px
just create the above files in their location and run again

I don't like adaptive Icon. And in my case the icon is not displayed correctly.
Anyone have a solution for the regular icon?

Well, doesn't work for me. Created those icons (in the same directory as icon.png and splash.png) and the error messages are still the same:

cordova-res android --skip-config --copy

Generated 18 resources for Android
WARN:   Error occurred while copying resources\android\icon\mdpi-foreground.png
WARN:   Error occurred while copying resources\android\icon\mdpi-background.png
WARN:   Error occurred while copying resources\android\icon\hdpi-foreground.png
WARN:   Error occurred while copying resources\android\icon\hdpi-background.png
WARN:   Error occurred while copying resources\android\icon\xhdpi-foreground.png
WARN:   Error occurred while copying resources\android\icon\xhdpi-background.png
WARN:   Error occurred while copying resources\android\icon\xxhdpi-foreground.png
WARN:   Error occurred while copying resources\android\icon\xxhdpi-background.png
WARN:   Error occurred while copying resources\android\icon\xxxhdpi-foreground.png
WARN:   Error occurred while copying resources\android\icon\xxxhdpi-background.png
Copied 31 resource items to Android

Tha is no wonder because the files are not created at all (as you can see in the screenshot above as well).

Update: using version 0.15.3. Even forcing adaptive icons does nothing - and is not even showing any error:
cordova-res android --skip-config --copy --type adaptive-icon

Generated 0 resources for Android
Copied 0 resource items to Android

Any updates?

I have the same issue. I added my files in the resources directory and executed cordova-res android rebuild via inonic build and compiled the app via android studio. Nothing changed

For me rebuilding the android folder worked:
rm -rf android
npx cap add android
# Repeat all changes you did to the Android folder & add Ionic Deploy again if you use it
npx cordova-res android --skip-config --copy
npx cap sync

This is true, I ended up doing it through Android Studio.

This seems like the same issue as #173 and #165, not sure yet. Will put it on the list to review for 1.0

Can't reproduce in @capacitor/assets


Fetch images from project dir via REST endpoint

Images from project directory can now be fetched via REST endpoint. The images folder can be mounted as a docker volume, so restarting the container should not be a problem

 Images must be saved in the Default Profile so that they can be displayed.


regenerate_bindings

Codecov Report
Attention: 3939 lines in your changes are missing coverage. Please review.

Comparison is base (d239921) 41.04% compared to head (1444953) 0.19%.
Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #44       +/-   ##
==========================================
- Coverage   41.04%   0.19%   -40.86%
==========================================
  Files           6     107      +101
  Lines         614   26140    +25526
==========================================
- Hits          252      50      -202
- Misses        362   26090    +25728

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@mofeing I did have the Manifest.toml for bindings here xD
This PR is run with the newest binding generator but it created not fully functional bindings x-ref https://github.com/JuliaLabs/MLIR.jl/pull/55


iwrr: a wrr with always O(1) time and O(n) memory

An IWRR implementation likes lua-resty-balancer, but uses the double queue as same as the O(1) scheduler to avoid many rounds of pointless traversals to ensure always be O(1).
IWRR abandons smoothness on the premise of ensuring the correctness of the weighted load balancing algorithm. The memory overhead is only a queue with two sentinels, no matter how big the total weight is, only n + 2 elements of memory space will be allocated in the process, is more suitable for very large size clusters with different weights.

Hello, @chobits and @wangfakang . PLAT thanks :)
And happy Chinese New Year!

abandons smoothness？
Can you give a specific example of this shortcoming?

Hello, @lhanjian .
There is no clear proof that the smoothness and stability of load balancing are positively correlated in large traffic scenarios.
In my opinion, in a large traffic scenario, no matter what algorithm, a complete load balancing cycle will be completed quickly, as long as the load balancing does not continuously select the same instance (eg, A:1, B:1 appear continuously likes AAAAABBBBB in 10 selections).
iwrr ensures that duplicate instances are avoided as much as possible within a continuous time window. For example, for the instance list A:1, B:2, C:3, D:4, E:5, then the sequence selected by iwrr is ABCDEBCDECDEDEE.
So I think this may not be a shortcoming, just a little difference from iwrr.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.14 out of 15 committers have signed the CLA.:white_check_mark: jiuzhoucui:white_check_mark: jizhuozhi:white_check_mark: dongbeiouba:white_check_mark: chobits:white_check_mark: drawing:white_check_mark: oyaya:white_check_mark: zhsnew:white_check_mark: foxriver1025:white_check_mark: lianglli:white_check_mark: fuchencong:white_check_mark: lurker-Chen:white_check_mark: lhanjian:white_check_mark: hongxiaolong:white_check_mark: morf:x: dreamwind.lldreamwind.ll seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello, @chobits . All issues are fixed, PTAL

LGTM


MM-20627: Create SECURITY.md

Before submitting, please confirm you've

[x] read and understood our Contributing Guidelines
[x] completed Mattermost Contributor Agreement
[ ] executed npm run lint:js for proper code formatting

Please provide the following information:
Summary
Create a security policy document for GitHub.
Issue link
https://mattermost.atlassian.net/browse/MM-20627
Test Cases
Additional Notes

you can find the templates here: https://github.com/mattermost/desktop/tree/master/.github/ISSUE_TEMPLATE

Copied over some minor changes from the server repo.

seems you don't have access to the signing contexts, I'll rerun the tests (although not really neccessary)


Add structured editing API to insert snipperts

Some of our assists don't place cursor correctly:
https://user-images.githubusercontent.com/1711539/156933477-4b7b6e48-4184-473d-8d0a-c0666162e24f.mp4
Here, I'd really want the cursor to end up on A, such that I can rename it. I've looked into quickly fixing this, and it seems we simply don't have an API for that!
What I'd love the API to look like is either this:
diff --git a/crates/ide_assists/src/handlers/introduce_named_generic.rs b/crates/ide_assists/src/handlers/introduce_named_generic.rs
index 636b05dca..8eb9a462e 100644
--- a/crates/ide_assists/src/handlers/introduce_named_generic.rs
+++ b/crates/ide_assists/src/handlers/introduce_named_generic.rs
@@ -1,5 +1,5 @@
 use syntax::{
-    ast::{self, edit_in_place::GenericParamsOwnerEdit, make, AstNode},
+    ast::{self, edit_in_place::GenericParamsOwnerEdit, make, AstNode, HasGenericParams},
     ted,
 };

@@ -39,7 +39,10 @@ pub(crate) fn introduce_named_generic(acc: &mut Assists, ctx: &AssistContext) ->
             let new_ty = make::ty(&type_param_name).clone_for_update();

             ted::replace(impl_trait_type.syntax(), new_ty.syntax());
-            fn_.get_or_create_generic_param_list().add_generic_param(type_param.into())
+            fn_.get_or_create_generic_param_list().add_generic_param(type_param.into());
+            if let Some(generic_param) = fn_.generic_param_list().and_then(|it| it.generic_params().last()) {
+                edit.move_cursor_to(generic_param)
+            }
         },
     )
 }

or this
diff --git a/crates/ide_assists/src/handlers/introduce_named_generic.rs b/crates/ide_assists/src/handlers/introduce_named_generic.rs
index 636b05dca..f361148cb 100644
--- a/crates/ide_assists/src/handlers/introduce_named_generic.rs
+++ b/crates/ide_assists/src/handlers/introduce_named_generic.rs
@@ -34,7 +34,9 @@ pub(crate) fn introduce_named_generic(acc: &mut Assists, ctx: &AssistContext) ->

             let type_param_name = suggest_name::for_generic_parameter(&impl_trait_type);

-            let type_param = make::type_param(make::name(&type_param_name), Some(type_bound_list))
+            let name: ast::Name = make::name(&type_param_name); // A
+            let name: ast::Name = add_snippert(name); // /*$0*/A
+            let type_param = make::type_param(name, Some(type_bound_list))
                 .clone_for_update();
             let new_ty = make::ty(&type_param_name).clone_for_update();

After we have this API, we should

check that it is used by all "introduce/generate" assits
audit the usages of string-based render_snippet API and see if we can replace that with structured editing.

cc @Veykril this is an API design exercise, you might be interested in that!


About spacer sequences

I use the the software to construct the CRISPRCas database from the bacterial genome in the Refseq database.
But I found that some spacer sequences are not in the genome，for example（spacers/NC_015711.1_1.fa）：>NC_015711.1_1:1
>NC_015711.1_1:1
TCAACCAGCATTAGCACCGTCCGCGTGGCGCCCGTGT
>NC_015711.1_1:2
CTGGAGTTGTCCCCCGAGGCTGAGCCGGTGTCCCGCGT
>NC_015711.1_1:3
TCTTCCATCTGCGTCTGCGTCTGACCCTTGAACTTCG
>NC_015711.1_1:4
ATGCAGAACAGCGGCAAGGAGGCGATTATCGACCT
>NC_015711.1_1:5
GGGCAGTGAAACCCTTGGGTGGGGAAGGAGTTCTGGGGGC
>NC_015711.1_1:6
AGGAGCGCCCGCCGGCCAGACGCATAGACGACGCA

Am i missing something？
Thanks！
GCF_000219105.zip

Dear wfgui,
Not sure what the problem is here. When I blast these 6 spacer sequences against NC_015711.1 I find perfect matches for all, as expected.
See attached BLASTn table:
BLASTn-Alignment.txt
Cheers,
Jakob


integration with react-native-video, missing React headers

Hi, I'd like to implement video playback in my TVOS app. I used react-native-tvos to init a project then runs in the apple TV simulator. I npm installed react-native-video which requires manually linking RCTVideo.a in Xcode. However, after adding it, the build fails with missing React headers. For example React/RCTViewManager.h file not found in RCTVideoManager.m.
I don't think it's necessarily an issue with this repo, just wondering if anybody has had similar issues or knows how to fix. Maybe this repo needs to be synced with newest react-native?
I have added custom header search paths, unchecked paralellize build and added React in custom build order, tried editing podfile, different versions ,etc.
Any help or even another good video playback solution appreciated.

I would not try to manually link the binary.... apps using current and recent versions of React Native should use Cocoapods to bring in dependencies like react-native-video.
See this example project: https://github.com/dlowder-salesforce/RNAppleTVTalk
In particular, look at package.json and iOS/Podfile.

Thanks for the quick reply. You have a tvOS project using react-native-video... awesome!!
I think I was just missing the line that adds react-native-video as a pod in the Podfile? I've added and reinstalled pods.
I'm getting black screen for the  component, but idk if it's a build issue, my environment, my code or a bug at this point. I'll keep digging. If nothing else I should be able to reference your Apple TV talk project to figure it out.
Thanks for this repo, I've almost got a fully functional video streaming app!

Great to hear -- good luck with the app :)


[Engine] Initial version of cda support

The changes for CDA support includes:
Engine:

Add CdaProcessor, CdaDataParser, etc.
Add some filters for CDA
Add unit tests and functional tests

Tool:

Support CDA conversion

Templates (compared with Handlebars):

All templates in DataType, Extension, Reference and ValueSet
Most templates in Resource and some templates in Section and Entry

This PR contains the changes of engine. The changes of sample data and templates could be found in PR #196.

can you help to split it into 2 PR, code and templates ? so we can go through code first.

can you help to split it into 2 PR, code and templates ? so we can go through code first.

can you help to split it into 2 PR, code and templates ? so we can go through code first.

Sure. The changes of engine could be found in this PR. The changes of templates could be found in PR #196. Thanks!

can you help to split it into 2 PR, code and templates ? so we can go through code first.

Sure. The changes of engine could be found in this PR. The changes of templates could be found in PR #196. Thanks!


[Feature Request] Windows OS Version

Hello, thanks for the CLI Tool.
How to run it on Windows?
Do we only need to install Ruby first ?

@tatoosh Sorry for my late reply. Yes, you do. You have to install Ruby first.

@asmsuechan ok no problem, thanks!


Rework for Promises. Fixes #7

I also removed some obsolete packages, like request, async and lodash.isarray, and made it all work with Promises.
The output right now is equal.

@cilice that is awesome thanks!
I actually think we should go all the way and actually use async await, sure we'll need more polyfills for that but it is not criticial for fido to be super lean and mean. This is a great opportunity to learn new features of JavaScript.
I will go ahead and merge this and then we can upgrade it with async await in another branch!


Sequencer gets Gelato errors when calling get relays endpoint

Problem
What problem are we solving and why does it matter, ser?
I'm seeing this error showing up randomly in logs:
Error sending axios request to url https://relay.gelato.digital/relays/

However the CURL works when I try it. I can presume this call is getting rate limited.
Proposed Solution
Thoughts on solution design. We should do  to solve this problem.

[ ] Add retries to the calls. If they fail, wait a second and retry up to 5 times.

Acceptance Criteria
From an end tester and/or user perspective, the below criteria must be met to consider this done:

[ ] Call is retried.

Removed this call.

anyway retry feature is done for conversionRate endpoint of gelato

anyway retry feature is done for conversionRate endpoint of gelato

Yes, let's make a new issue or reuse this one.

anyway retry feature is done for conversionRate endpoint of gelato

Yes, let's make a new issue or reuse this one.

already pushed the changes after load testing.


[HOLD for payment 2023-11-30] [$500] Web - Attachment - Console error shows up when closing the PDF view while it is loading

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Navigate to staging.new.expensify.com
Go to chat.
Click + > Add attachment.
Upload a PDF.
After upload is done, click on the PDF.
While the PDF is still loading, close the PDF view with ESC key.

Expected Result:
No console error will show up.
Actual Result:
Console error 'Uncaught (in promise) Error: Worker was terminated' shows up.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/78da9ca5-270a-4db1-9261-7884341096b9
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01cba1c5a184872fe2
Upwork Job ID:<PHONE_NUMBER>611794432
Last Price Increase: 2023-11-10
Automatic offers:

shubham1206agra | Contributor | 27707739

This error is emitted by react-pdf library. I found it's already been reported in their repository: https://github.com/wojtekmaj/react-pdf/issues/1062 I guess the best solution is to patch it there

Proposal
Please re-state the problem that we are trying to solve in this issue
Web - Attachment - Console error shows up when closing the PDF view while it is loading
What is the root cause of that problem?
This is because loadingTask.destroy() is not working correctly which is explained in detail in https://github.com/mozilla/pdf.js/issues/11595.
What changes do you think we should make in order to solve the problem?
We can patch the unmounting method in the Document by adding
if (this.loadingTask) {
    this.loadingTask._worker.destroy();
    this.loadingTask.destroy();
}

in the react-pdf library.
What alternative solutions did you explore? (Optional)

Proposal from @shubham1206agra looks good to me https://github.com/Expensify/App/issues/31209#issuecomment-1806776560
Based on the comments in react-pdf - issue still reproduced in v7 - my concern will be to make a patch and apply changes to  fix error in console.
🎀 👀 🎀 C+ reviewed

Over to you Franc for the secondary proposal review!

LGTM

👋 Checklist time please! :).

Thanks, agreed. @shubham1206agra paid!

I'm still getting this exact issue on v9. I am not loading the workerSrc locally as shown below due to some annoying project requirements. Is it possible that this fix only works if you use the local script method?
pdfjs.GlobalWorkerOptions.workerSrc =<EMAIL_ADDRESS>


Generate compatible data

Hi, may I know if there is a user friendly way to generate data compatible with arctic-viewer? Is it possible to use ParaView to do this?
I understand that the formats are described in the docs and perhaps a designated tool (like, through js or python) would make things way easier for new users.
Thanks for attention.

Check out the /scripts/ directory in the repo. You can run some with VTK others with ParaView.


refresh from parent

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


Feature/add pandar 64

Add initial support to Hesai Pandar 64.

@wep21 @0x126, can I ask for your review?
Successfully tested on both Pandar 64 and Pandar Mind64.


Add README

Add README to suppress warnings about not having a README

Yup ... it is unfinished work in progress. Will do it ASAP.

Will add working example later.


Get-Credential not Get-Credentials

On the sample code provided there is a typo
$credential = Get-Credentials.
It should be Get-Credential (without s)
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cd283f6e-3865-ed70-d663-cc461ee8ba57
Version Independent ID: 2450d311-fc04-d8b6-b4a2-b1890ec6fc3e
Content: Install Microsoft Teams PowerShell - Microsoft Teams
Content Source: Teams/teams-powershell-install.md
Service: msteams
GitHub Login: @brandber
Microsoft Alias: brandber

@sohailmerchant Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@brandber please can you check and merge when you get a chance.

@brandber Hi Brandon, could you please merge the PR if correct. Thanks.

@brandber

@sohailmerchant Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

@sohailmerchant Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


[Fix-14546] seatunnel unable submit spark job to spark

Purpose of the pull request
Fix #14546
Brief change log
modified code of generating master args in org.apache.dolphinscheduler.plugin.task.seatunnel.spark.SeatunnelSparkTask: buildOptions()
Verify this pull request
This pull request is code cleanup without any test coverage.

@SbloodyS @EricGao888 @Radeity Does anyone have time to run CI for our future contributors?

@SbloodyS @EricGao888 @Radeity Does anyone have time to run CI for our future contributors?

Done.

@caishunfeng  @zhuangchong Please check this pr

Codecov Report

Merging #14617 (9318c43) into dev (150d9e0) will decrease coverage by 0.02%.
The diff coverage is n/a.

:exclamation: Current head 9318c43 differs from pull request most recent head 3d2f728. Consider uploading reports for the commit 3d2f728 to get more accurate results

@@             Coverage Diff              @@
##                dev   #14617      +/-   ##
============================================
- Coverage     38.66%   38.65%   -0.02%
+ Complexity     4623     4617       -6
============================================
  Files          1284     1284
  Lines         43877    43831      -46
  Branches       4846     4816      -30
============================================
- Hits          16967    16942      -25
+ Misses        25033    25014      -19
+ Partials       1877     1875       -2

see 35 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Yhr-N
Thank you for your valuable contribution. Your PR is excellent! I would like to establish a deeper communication with you. You can reach me via email or add me on WeChat (KerwinZhuang). When contacting me, please provide your identity for reference. If you encounter any difficulties with DolphinScheduler, I am more than happy to assist you and help you become familiar with the platform.


deleted keybase account for air drop

Some people try to creating a lot account to keybase and try to take down all keybase xlm air drop ... The people who register more than day 9 September will be automatically can't join this airdrop ... To same for real people who have registered at day 10 and they real person too and not a bot and they cry now 😅
Very fair do from keybase from doing that 👊👊
Before

Now

See: https://twitter.com/malgorithms/status/1173785764544569345

And just had to turn off new GitHub Space Drop registrations also, due to bad actors. Even after all these years, the Internet can find a way to let ya down. http://keybase.io/airdrop

I found out about this drop on 10th and asked 2 my friends to join too.
As a result, both of them are still in but I got kicked out of the airdrop xD
It's clear for me that I should not "get mad at us if something goes wrong here", but just imagine how many people were not trying to cheat and still are now kicked out. Not fair. :-1:

Some people try to creating a lot account to keybase and try to take down all keybase xlm air drop ... The people who register more than day 9 September will be automatically can't join this airdrop ... To same for real people who have registered at day 10 and they real person too and not a bot and they cry now
Very fair do from keybase from doing that

See: https://twitter.com/malgorithms/status/1173785764544569345

And just had to turn off new GitHub Space Drop registrations also, due to bad actors. Even after all these years, the Internet can find a way to let ya down. http://keybase.io/airdrop

And public announcement at https://keybase.io/airdrop:

UPDATE #2 September 16: HackerNews and GitHub were both under attack by bad actors who hoped to game this by stealing other users' accounts. In cooperation with both of those sites, we've halted Space Drop registration for anyone who wasn't a Keybase user before Sept. 9. SDF and Keybase will discuss, while whining and moaning, how this giveaway can continue. (COME ON PEOPLE OF THE INTERNET, STOP SUCKING SO MUCH!)

So sad that i was eleminated from the airdrop ... Thats the proof thats me was deleted from air drop

And need you know i was open keybase adn web everyday for see whats happen at it .... But if you kick me out its okay just i feel this only not fair and i disappointed with keybase
Thank you sir 🙏

https://keybase.io/a/i/r/d/r/o/p/spacedrop2019

We reserve the right to blacklist users, even after registering. If you appear to use a bot or multiple accounts to sign up for Keybase, we'll blacklist you. Similarly, if you appear to use bot accounts on HN or Github, we'll blacklist you.

This not very clear!
I also recommend a few friends to join in if they had a github account registered before 9 September.
I think all of them are still in.
But I got kicked out.
I sent a email to keybase and I got this reply

Solved: keybase/client/issues/19718

This is not a solution!
Looks like keybase can blacklist who they want without any criteria.

And now this!
So this kick out almost any new user.
The airdrop is not supposed to bring people to keybase?
You guys need a better solution!
And saying that because it's a gift anything goes is not fair.
The original terms should be thought better.
If someone broke them and was kicked out at least has the right to complain.
I use keybase because is useful for find PGP keys and I have, PGP pub key, my twitter and github account on them.
Keybase needs a better solution to find bad actors abusing the airdrop.

whats

I've still got this problem (see #19818) - This issue is referenced as the solution to similar problems reported by other people, but what steps do I need to take to resolve the problem?

I've still got this problem (see #19818) - This issue is referenced as the solution to similar problems reported by other people, but what steps do I need to take to resolve the problem?

would like to know that too, since i just ran into the same problem

Error CODE 4206- Sorry ,you do not qualify.in method stellar.1.local.airdropRegisterLocal


config(travis.yaml): move test and build to script section

Minor edits to .travis.yaml as suggested here.
Should have no effect on operation.

@gihrig, have you seen #1453? or you don't want to bring back install section of the config as I did in that PR?

@Dattaya Sorry, I had not seen #1453 - comment there...

@Dattaya Thanks for the review 🎉
As I commented in #1453, this is not the reason for #1322 Travis build failure.  I'm looking into that, but running out of time for RBP today... See #1322 for updates.

As I commented in #1453, this is not the reason for #1322 Travis build failure.

I think it is, all builds are passing now 😃


incorrect SHA for harvest

#23715 updated harvest to 2.0.0  Looks like the SHA changed between then and now?
9cdd7353a0a66efb796483fd458d7e413335e4525df04977a74f935dba2a9b3d =>
57c806069dc3cc42522b07b65261a553e5ec725542ea803fedbba3512810b25d
L-156089667:twig andrewochsner$ brew cask install harvest
==> Downloading https://www.getharvest.com/harvest/mac/Harvest.2.0.0.zip
######################################################################## 100.0%
==> Verifying checksum for Cask harvest
==> Note: running "brew update" may fix sha256 checksum errors
Error: sha256 mismatch
Expected: 9cdd7353a0a66efb796483fd458d7e413335e4525df04977a74f935dba2a9b3d
Actual: 57c806069dc3cc42522b07b65261a553e5ec725542ea803fedbba3512810b25d
File: /Users/andrewochsner/Library/Caches/Homebrew/Cask/harvest--2.0.0.zip
To retry an incomplete download, remove the file above.

Mind retrying, I see no issues.
 [.../homebrew-cask/Casks] > cask audit harvest.rb --download
==> Downloading https://www.getharvest.com/harvest/mac/Harvest.2.0.0.zip
######################################################################## 100.0%
==> Verifying checksum for Cask harvest
audit for harvest: passed

Also working for me.

Yep seems to work now.  Odd.  Apologies for taking up your time!


Prevent nested run loops when using run.throttle.

The existing implementation would create a nested run loop if run.throttle were called while in an existing run loop, this updates to use run.join which will join the existing loop if present.

@rwjblue 👍 , this looks like an omission. Mind writing a test though

Ya, will add the test.  Wanted to make sure that it was conceptually sound first (actually submitted this as a inline edit to get some thoughts on it).


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
12 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
18 seconds
deprecated-base-image-check

✅ Succeeded
19 seconds
sanity-inspect-image

✅ Succeeded
11 seconds
sbom-json-check

✅ Succeeded
17 seconds
clair-scan

✅ Succeeded
55 seconds
clamav-scan

✅ Succeeded
15 seconds
sanity-label-check

✅ Succeeded
15 seconds
sanity-optional-label-check

✅ Succeeded
6 seconds
show-summary


Closing window leaves behind swap files

Whenever I close the Oni window all files that were being actively edited leave behind swap files. Whenever I go to edit the files again I'm greeted with a message like this:

When I exit using :q as any vim veteran would do habitually, no swap file is left behind.
I'm on Windows 10

Thanks for logging the issue, @MasonAsh !
Yes, unfortunately Oni isn't a good citizen when closing via the 'x' - we basically let all the processes die, instead of gracefully shutting down Neovim. (This would be a great place to add a message prompting the user to save, too, if they haven't saved yet!) This definitely needs to be fixed.
I also have considered using noswapfile as a default (for perf), but that's orthogonal to closing Neovim more gracefully.


Add @coversDefaultClass and @covers to test classes and methods

We use @coversDefaultClass and @covers in our tests but not consistently. We need to add these where they are missing

Taking a look at this. Taking a bit longer then expected because I'm having to dig a bit to add the correct covers. But I wanted an issue to get familiar with the code base so apparently I chose the right one :-D

@neclimdul sounds good!
Let me know if have any questions. Also we can 1 PR for coversDefaultClass and then a next for @covers if you want. Of do this by directory if you want. For instance could do 1 pr for tests/Metadata because all the tests cover classes in src/Metadata.


Completer and lexer based on a context-free grammar?

It is a good idea to generate a completer and a lexer based on a single grammar. I see you have a grammar-based completer and lexer for regular languages in prompt_toolkit/contrib/regular_languages/. But what if I expect my user input is a context-free language? I'm not an expert in this area, so I don't even know if this is doable. Can you provide some guidance if I'm going to implement this?

That's a good question.
The short answer is that it's probably not a good idea.
It would be complex to generate a completer from the grammar of a context-free grammar. A completer has to deal with incomplete inputs. Parsing that while being tolerant for syntax errors and still making enough sense of it in order to provide a meaningful completion is hard. On the other hand, just looking what is right before the cursor and trying to make sense of that is easy, but one has to write the logic manually.
It is true that contrib.regular_languages contains an effort to automatically generate a lexer/completer from a regular grammar. This seems to work for simple examples. We take a grammar, and turn it into another grammar that matches incomplete inputs. However, as the first grammar grows, the second one grows exponentially, and it becomes heavy to deal with. I'm still using it in ptpython for something simple, but I consider moving away from it.
There are probably better approaches. For Python, we have Jedi now that does most of the auto completion work. It's incredibly good, but Jedi is not easy to understand, and not something you will simply apply to another language.
For the lexing, it is easier. Actually, I believe that a lexer will always use a regular language. Even if you have a lexer for a context-free language, the lexer still uses regex. (This is why there are two steps while interpreting a language: lexing & parsing.) Further, a lexer can cope remarkably well with an incomplete input. So, because of that, we can use the Pygments lexers for everything.
Does that makes sense?

Thank you for your detailed explanation.
So are you suggesting, instead of unify lexer and completer with a grammar, it would be more efficient if I just write the lexer and completer specific for the language of my user input?

Exactly, most of the time, that's going to be the most practical.

Then I'll do that. Thanks a lot!


Clean unused node packages

Also removed the packages-lock.json of BikeSharingWeb, as this was likely an artifact from a previous local install checked-in by mistake.

{

Should we have a .gitignore to prevent this being checked in again?

Refers to: BikeSharingWeb/package-lock.json:1 in db1fd4c. [](commit_id = db1fd4cf696f2f13cf0e7867be48fc49ce5f3cd1, deletion_comment = True)

{

Sure! I added the rule in the main .gitignore.

In reply to: 482269938 [](ancestors = 482269938)

Refers to: BikeSharingWeb/package-lock.json:1 in cc789ef. [](commit_id = cc789ef0fb6806b2f28bafc2d9b200722ecd9058, deletion_comment = True)


[Bug] last version of qtile-extra introduce new bug with status notifer..

On a triple monitor configured with monitor 0 as the central monitor -> Screens: [1,0,2]
The status notifier widget is placed on screen 0.
Menus are now displayed on screen 2 instead of screen 0 !!!!

Sorry about that - I'll try to sort asap.

You can edit the PKGBUILD and append  #commit=<commit-hash> to the end of the source.

#171 should fix this.

Yes it did.
Thanks you !

Great. I'll try to merge both of these this morning.


Added kube-image-prefetch app

Signed-off-by: Marcus Noble<EMAIL_ADDRESS>
Description

Adds the kube-image-prefetch app.
Motivation and Context

[ ] I have raised an issue to propose this change (required)

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

[x] I have tested this on arm, or have added code to prevent deployment

How Has This Been Tested?

🙃


[bug] npm run tauri dev causes 'Rebuilding application...' loop

Describe the bug
While working on my app and developing on ios (simulator) everything was working pretty well. Then I tried to start the desktop app again with npm run tauri dev. Sadly this is when it started going into an infinite rebuild loop.
In the output you can see it is watching src-tauri (twice) and the root folder. This is not happening when running the ios build and when I disable watching npm run tauri dev -- --no-watch it is also actually disabled.
the .gitignore files correctly list target etc. Where is the blocklist for watching coming from ? Why is it triggered here ? And why is it not triggered for iOS builds ?
❯ npm run tauri dev

><EMAIL_ADDRESS>tauri
> tauri dev

    Running BeforeDevCommand (`npm run dev`)

><EMAIL_ADDRESS>dev
> vite

  VITE v5.4.8  ready in 380 ms

  ➜  Local:   http://<IP_ADDRESS>:1420/
    Info Watching /Users/mgt/Development/curasystems/dicom-import/src-tauri for changes...
    Info Watching /Users/mgt/Development/curasystems/dicom-import for changes...
    Info Watching /Users/mgt/Development/curasystems/dicom-import/src-tauri for changes...
   Compiling dicom-importer v0.1.0 (/Users/mgt/Development/curasystems/dicom-import/src-tauri)
    Info File src-tauri/target/debug/.fingerprint/dicom-importer-a66883c78ed9624f/bin-dicom-importer changed. Rebuilding application...
    Info File src-tauri/target/debug/build/anyhow-bbd73ddf9f9b27bc/build-script-build changed. Rebuilding application...
    Info File src-tauri/target/debug/incremental/importer-1xwld1j3t4iu2/s-h0aq01knp2-1xb1egf-working/2i3byrrmel7eyfp5szsrgnfv0.o changed. Rebuilding application...
    Info File src-tauri/target/debug/build/unicase-04918ecfa4e43a43/build-script-build changed. Rebuilding application...

Reproduction
This is pretty hard to do (right now I would just like to know how to debug this. RUST_LOG=trace is not working
Expected behavior
To compile without going in a basically infinite change loop
Full tauri info output
[✔] Environment
    - OS: Mac OS 15.0.0 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 16.20.2
    - npm: 8.19.4

[-] Packages
    - tauri 🦀: 2.0.0-rc.15
    - tauri-build 🦀: 2.0.0-rc.12
    - wry 🦀: 0.43.1
    - tao 🦀: 0.30.2
    - tauri-cli 🦀: 1.6.2
    - @tauri-apps/api : 2.0.0-rc.5
    - @tauri-apps/cli : 2.0.0-rc.16

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.0-rc.3
    - @tauri-apps/plugin-shell : 2.0.0-rc.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite

[-] iOS
    - Developer Teams: xxx

Stack trace
No response
Additional context
No response

hmm, that's weird, afaik ios dev and macos dev use the same watcher impl here 🤔
Does this happen with a fresh create-tauri-app project too?

This is pretty hard to do (right now I would just like to know how to debug this. RUST_LOG=trace is not working

What about npm run tauri dev -- --verbose ?

I found the mistake, in case someone has the same issue.
The project is part of a workspace and the members in the root Cargo.toml where incorrectly set to [".", ".src-tauri"]

The reason it was configured as a workspace,was the fact that the rust-analyzer plugin in vscode/cursor would not find the cargo.toml if it was nested and that caused friction when trying to develop both.

Event with the correction tauri watches "src-tauri" twice, but this does not end in a loop.

is there any way that in the tauri-src/src directory if change a file say name example.csv then the tauri application rebuild as the content in the tauri-src/src directory changed but i want to exclude it so that tauri does not rebuild when the file like .csv, .sqlite, .db changes


Error while training the model - java.lang.NoClassDefFoundError: Lcom/microsoft/ml/lightgbm/SWIGTYPE_p_void

i am using the latest release and i get the following error when i execute
model = lgbm.fit(train):
java.lang.NoClassDefFoundError: Lcom/microsoft/ml/lightgbm/SWIGTYPE_p_void
I am running this on AWS Databricks. I use the jar to load in databricks library.
"""
com.microsoft.ml.spark
mmlspark_2.11
1.0.0-rc1
"""

Got it to work after loading lightgbmlib-2.3.100.jar


SPIKE: Create 2.0 PoC App (sandbox)

Put together the following RCLs to discover how well they would work together and find any holes or changes we should make.
Resource Workspace RCL (Jay)
Bible Reference RCL (McLean)
translationHelps RCL (Manny)
Preferences/settings RCL (BCS)

Notes:
URLs:

sandbox is here: https://codesandbox.io/s/tc-create-200-prototype-3lu74?file=/src/components/THelps/THelps.js
repo is here: https://github.com/unfoldingWord/tc-create-2-poc/tree/develop

Need to resolve:

how do we determine which tA article to display?  Seems will need to get alerted when a card gets focus (such as tW or tN), and will need to know what article is shown on the current card.  Also the main app would need to be alerted when user clicks on an article
need a way to show spinner on cards when verse has changed.
need a way to remove the markdown toggle for cards that don't have markdown (e.g. tN)

Blocked waiting for Preferences/settings RCL (BCS)


Use vals.NumType constants rather than zero

While working on my implementation of unix:ulimit I realized I needed
to use vals.UnifyNums(). Looking at the existing uses I was dismayed to
find several instances that pass a literal zero (a magic value) rather
than the symbolic vals.Int constant. This replaces those literal zeros
with Vals.Int and modifies the implementation to make using a literal
int where a const symbol is expected more difficult.

The use of 0 is intentional to signify that no minimal NumType is needed.
Int happens to be the lowest in the order of implicit conversion now, but suppose another type is introduced and takes the value of 0. In that case the places that don't need a minimal NumType should continue to use 0 instead of Int.

The use of 0 is intentional to signify that no minimal NumType is needed.
Int happens to be the lowest in the order of implicit conversion now, but suppose another type is introduced and takes the value of 0. In that case the places that don't need a minimal NumType should continue to use 0 instead of Int.

Okay, but magic values like zero are still problematic in this type of context where a reader would expect a   constant identifier. It seems to me to be preferable to introduce a distinct symbol to be used in those contexts where the caller doesn't care what minimal type is returned. Perhaps vals.AnyType for the zero value. The problem is that a magic integer literal, rather than an identifier, makes understanding the code harder. For example, someone using an IDE or editor that supports the Go LSP (language specific processor) protocol can't simply double-click on the function call argument to understand the meaning of the argument. You certainly wouldn't allow passing a literal one (1) where the caller meant vals.BigInt. I don't see how a placeholder for the minimal type (currently Int) is any different.
Also, while orthogonal to my above argument the only numeric type I'm familiar with more minimal than the set of integers is the set of natural numbers (i.e., unsigned integers). Which we might want to support explicitly since it has obvious applications. Such as the unix:ulimit command I'm working on. 😄

046e02869d935fdf6c4df23020f2cf97ce6f97f4 documented the use of 0 as the argument to UnifyNums.


Place custom sections for resource detail to be placed at top

We have created plugin to set up customized sections in detail page. The plugin can read monitoring data for current resource and is important for user. So we want to put these plugin at the top of all the others sections.

#1309